]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Adjust AT_EXECFN when using explicit loader invocation.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
699df45b
JM
12013-11-18 Joseph Myers <joseph@codesourcery.com>
2
3 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
4 (hidden_proto): Caller changed.
5 (hidden_tls_proto): New macro.
6 (libc_hidden_tls_proto): Likewise.
7 (rtld_hidden_tls_proto): Likewise.
8 (libm_hidden_tls_proto): Likewise.
9 (libresolv_hidden_tls_proto): Likewise.
10 (librt_hidden_tls_proto): Likewise.
11 (libdl_hidden_tls_proto): Likewise.
12 (libnss_files_hidden_tls_proto): Likewise.
13 (libnsl_hidden_tls_proto): Likewise.
14 (libnss_nisplus_hidden_tls_proto): Likewise.
15 (libutil_hidden_tls_proto): Likewise.
16
b7589107
OB
172013-11-18 Ondřej Bílka <neleai@seznam.cz>
18
19 [BZ #10253]
20 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
21 (decompose_rpath): Defer expansion to fillin_rpath.
22 (_dl_init_paths): Pass linkmap to fillin_rpath.
23
250c23bd
RS
242013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25
26 * benchtests/Makefile: Add strsep.
27 * benchtests/bench-strsep.c: New file: strsep benchtest.
28 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
29
a7931fcf
AS
302013-11-18 Andreas Schwab <schwab@suse.de>
31
32 * locale/programs/locale.c (show_info) [case byte]: Check for
33 '\377' instead of '\177'.
34 * locale/C-monetary.c (not_available): Always use "\377".
35 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
36 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
37 detect unavailable sign_posn locale elements.
38 * locale/localeconv.c (__localeconv): For grouping and
39 mon_grouping handle "\177" and "\377" like no grouping.
40 (INT_ELEM): New macro. Use it to set all numeric members.
41 * locale/programs/ld-monetary.c (monetary_read)
42 <tok_mon_grouping>: Normalize single -1 to the empty string.
43 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
44 Likewise.
45
728dab0e
OB
462013-11-07 Ondřej Bílka <neleai@seznam.cz>
47
48 [BZ #16055]
49 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
50 when we match (nil).
51 * stdio-common/tst-sscanf.c (struct test): Add testcase.
52
66294491
JM
532013-11-16 Joseph Myers <joseph@codesourcery.com>
54
ce665817
JM
55 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
56 (NO_TEST_INLINE): Update value.
57 (ERRNO_UNCHANGED): Likewise.
58 (ERRNO_EDOM): Likewise.
59 (ERRNO_ERANGE): Likewise.
60 (IGNORE_RESULT): Likewise.
61 (check_float_internal): Check signs of NaN results if
62 TEST_NAN_SIGN used.
63 (check_complex): Pass TEST_NAN_SIGN flag through to second
64 check_float_internal call.
65 (copysign_test_data): Add tests with quiet NaNs as second
66 argument. Use TEST_NAN_SIGN.
67 (fabs_test_data): Add test of negative quiet NaN argument. Use
68 TEST_NAN_SIGN.
69 (signbit_test_data): Add tests of quiet NaN argument.
70 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
71
ee1466a9
JM
72 * math/gen-libm-test.pl (show_exceptions): Take extra argument
73 $ignore_result.
74 (parse_args): Handle function results specified as IGNORE.
75 * math/libm-test.inc (IGNORE_RESULT): New macro.
76 (check_float_internal): Do not check numerical result if flag
77 IGNORE_RESULT set.
78 (check_complex): Pass through IGNORE_RESULT to second
79 check_float_internal call.
80 (check_int): Do not check numerical result if flag IGNORE_RESULT
81 set.
82 (check_long): Likewise.
83 (check_bool): Likewise.
84 (check_longlong): Likewise.
85 (lrint_test_data): Add tests of infinite and NaN arguments.
86 (lrint_tonearest_test_data): Likewise.
87 (lrint_towardzero_test_data): Likewise.
88 (lrint_downward_test_data): Likewise.
89 (lrint_upward_test_data): Likewise.
90 (llrint_test_data): Likewise.
91 (llrint_tonearest_test_data): Likewise.
92 (llrint_towardzero_test_data): Likewise.
93 (llrint_downward_test_data): Likewise.
94 (llrint_upward_test_data): Likewise.
95 (lround_test_data): Likewise.
96 (llround_test_data): Likewise.
97
14407b7e
JM
98 * math/libm-test.inc (NO_TEST_INLINE): New macro.
99 (ERRNO_UNCHANGED): Update value.
100 (ERRNO_EDOM): Likewise.
101 (ERRNO_ERANGE): Likewise.
102 (NO_TEST_INLINE_FLOAT): New macro.
103 (NO_TEST_INLINE_DOUBLE): Likewise.
104 (enable_test): New function.
105 (RUN_TEST_f_f): Check enable_test before running test.
106 (RUN_TEST_2_f): Likewise.
107 (RUN_TEST_fff_f): Likewise.
108 (RUN_TEST_c_f): Likewise.
109 (RUN_TEST_f_f1): Likewise.
110 (RUN_TEST_fF_f1): Likewise.
111 (RUN_TEST_fI_f1): Likewise.
112 (RUN_TEST_ffI_f1): Likewise.
113 (RUN_TEST_c_c): Likewise.
114 (RUN_TEST_cc_c): Likewise.
115 (RUN_TEST_f_i): Likewise.
116 (RUN_TEST_f_i_tg): Likewise.
117 (RUN_TEST_ff_i_tg): Likewise.
118 (RUN_TEST_f_b): Likewise.
119 (RUN_TEST_f_b_tg): Likewise.
120 (RUN_TEST_f_l): Likewise.
121 (RUN_TEST_f_L): Likewise.
122 (RUN_TEST_fFF_11): Likewise.
123 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
124 conditionals.
125 (cosh_test_data): Likewise.
126 (exp_test_data): Likewise.
127 (expm1_test_data): Likewise.
128 (hypot_test_data): Likewise.
129 (pow_test_data): Likewise.
130 (sinh_test_data): Likewise.
131 (tanh_test_data): Likewise.
132 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
133 flags argument.
134
ca07f197
JM
135 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
136 tests with quiet NaN input and output.
137 (acosh_test_data): Likewise.
138 (asin_test_data): Likewise.
139 (asinh_test_data): Likewise.
140 (atan_test_data): Likewise.
141 (atanh_test_data): Likewise.
142 (atan2_test_data): Likewise.
143 (cbrt_test_data): Likewise.
144 (cos_test_data): Likewise.
145 (cosh_test_data): Likewise.
146 (erf_test_data): Likewise.
147 (erfc_test_data): Likewise.
148 (exp_test_data): Likewise.
149 (exp10_test_data): Likewise.
150 (exp2_test_data): Likewise.
151 (expm1_test_data): Likewise.
152 (hypot_test_data): Likewise.
153 (j0_test_data): Likewise.
154 (j1_test_data): Likewise.
155 (jn_test_data): Likewise.
156 (lgamma_test_data): Likewise.
157 (log_test_data): Likewise.
158 (log10_test_data): Likewise.
159 (log1p_test_data): Likewise.
160 (log2_test_data): Likewise.
161 (pow_test_data): Likewise.
162 (scalb_test_data): Likewise.
163 (sin_test_data): Likewise.
164 (sincos_test_data): Likewise.
165 (sinh_test_data): Likewise.
166 (tan_test_data): Likewise.
167 (tanh_test_data): Likewise.
168 (tgamma_test_data): Likewise.
169 (y0_test_data): Likewise.
170 (y1_test_data): Likewise.
171 (yn_test_data): Likewise.
172
66294491
JM
173 [BZ #16167]
174 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
175 argument being NaN and avoid computations with second argument in
176 that case.
177 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
178 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
179 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
180
1820b143
CL
1812013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
182
183 * locale/iso-639.def: Add Chitwani Tharu (the).
184
714bd261
AS
1852013-11-14 Andreas Schwab <schwab@suse.de>
186
187 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
188 word instead of empty string.
189
7ab44563
AZ
1902013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
191
192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
193 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
195 (__fe_nomask_env): Likewise.
196
e8470ea2
SE
1972013-11-13 Steve Ellcey <sellcey@mips.com>
198
199 * benchtests/bench-timing.h: Include time.h.
200
17c1d9f0
L
2012013-11-13 H.J. Lu <hongjiu.lu@intel.com>
202
203 [BZ #15997]
204 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
205 to 3.4.0 for x32.
206 * sysdeps/unix/sysv/linux/configure: Regenerated.
207
9310c284
JM
2082013-11-13 Joseph Myers <joseph@codesourcery.com>
209
210 [BZ #16151]
211 * stdlib/strtod_l.c (round_and_return): Do not consider
212 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
213 exponent one less than half the least subnormal exponent.
214 * stdlib/test-strtod-round-data: Add more tests.
215 * stdlib/tst-strtod-round.c (tests): Regenerated.
216
7a2ad8cf
AZ
2172013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
218
219 [BZ #14143]
220 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
221 (__fe_mask_env): Likewise.
222 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
223 libm_hidden_proto and add function prototype.
224 (__fe_mask_env): Add function prototype.
225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
226 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
228 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
230 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
231
50727aa7
MS
2322013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
233
234 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
235 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
236
a615be46
MS
2372013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
238
239 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
240 of htab_find_slot().
241
7ddace62
DM
2422013-11-11 David S. Miller <davem@davemloft.net>
243
244 [BZ #16150]
245 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
246 symbol in the non-vis3 case in static builds.
247 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
248 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
249 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
250 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
251
9182aa67
JK
2522013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
253
254 [BZ #387]
255 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
256 it is empty.
257
450a2e2d
AZ
2582013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
259
260 * benchtests/Makefile: Add bench-strtod.
261 * benchtests/bench-strtod.c: New file: strtod benchtest
262
8ec3f656
AS
2632013-11-11 Andreas Schwab <schwab@suse.de>
264
265 [BZ #16153]
266 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
267 terminating NUL in key length.
268
76a9b998
AZ
2692013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
270
271 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
272 Add artificial ODP entry for vDSO symbol for PPC64.
273 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
274 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
275
e4368156
OB
2762013-11-07 Ondřej Bílka <neleai@seznam.cz>
277
278 [BZ #15374]
279 * nss/getent.c (services_keys): Recognize services starting with digit.
280
8d6bb57c
DM
2812013-11-06 David S. Miller <davem@davemloft.net>
282
283 [BZ #15985]
284 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
285 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
286
e256c421
WN
2872013-11-06 Will Newton <will.newton@linaro.org>
288
289 * manual/memory.texi (Malloc Examples): Remove register
290 keyword from examples.
291
f6e12daa 2922013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 293
f6e12daa 294 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 295
9d880655
AS
2962013-11-04 Joseph Myers <joseph@codesourcery.com>
297
298 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
299 depending on [__GCC_IEC_559 > 0].
300 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
301 depending on [__GCC_IEC_559_COMPLEX > 0].
302
ae129d3c
CL
3032013-11-03 Chris Leonard <cjl@sugarlabs.org>
304
305 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
306 to iso-639.def.
307
4a15c2a4 3082013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
309
310 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
311
8b35e35d
OB
3122013-11-01 Ondřej Bílka <neleai@seznam.cz>
313
314 [BZ #16112]
315 * malloc/malloc (malloc_info): Do not handle first bin as
316 special case.
317
1d70fd6c
CL
3182013-11-01 Chris Leonard <cjl@sugarlabs.org>
319
320 * locale/iso-639.def: Add Central Nahuatl (nhn).
321
8c5c2600
BH
3222013-11-01 Bruno Haible <bruno@clisp.org>
323
324 [BZ #7003]
325 * manual/math.texi (BSD Random): Specify range upper bound as
326 in POSIX.
327
da5579c2
CL
3282013-10-31 Chris Leonard <cjl@sugarlabs.org>
329
330 * locale/iso-639.def: Add Meadow Mari (mhr).
331
5d30d853
OB
3322013-10-31 Ondřej Bílka <neleai@seznam.cz>
333
334 [BZ #14752], [BZ #15763]
335 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
336 Validate name.
337 * rt/tst_shm.c: Add test for escaping directory.
338
a4966c61
AS
3392013-10-31 Andreas Schwab <schwab@suse.de>
340
8a43e768 341 [BZ #15917]
a4966c61
AS
342 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
343 followed by 'x' as part of digit sequence.
344 * stdio-common/tst-sscanf.c (double_tests2): New tests.
345
28d708c4
MAP
3462013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
347
348 [BZ #16037]
349 * configure.ac: allow GNU Make 4.0 and greater.
350 * configure: Regenerated.
351
a56ee40b
WN
3522013-10-30 Will Newton <will.newton@linaro.org>
353
354 [BZ #16038]
355 * malloc/hooks.c (memalign_check): Limit alignment to the
356 maximum representable power of two.
357 * malloc/malloc.c (__libc_memalign): Likewise.
358 * malloc/tst-memalign.c (do_test): Add test for very
359 large alignment values.
360 * malloc/tst-posix_memalign.c (do_test): Likewise.
361
c6e4925d
OB
3622013-10-30 Ondřej Bílka <neleai@seznam.cz>
363
364 [BZ #11087]
365 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
366 (munmap_chunk): Likewise.
367 (mremap_chunk): Likewise.
368
3692013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 370
8a43e768 371 [BZ #15799]
bbea82f7
OB
372 * stdlib/div.c (div): Remove obsolete code.
373 * stdlib/ldiv.c (ldiv): Likewise.
374 * stdlib/lldiv.c (lldiv): Likewise.
375
977f4b31
SP
3762013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
377
378 [BZ #16071]
379 * nss/nss_files/files-XXX.c (get_contents_ret): New
380 enumerator.
381 (get_contents): New function.
382 (internal_getent): Use it. Expand size of LINEBUFLEN.
383
cb8a6dbd
MF
3842013-10-30 Mike Frysinger <vapier@gentoo.org>
385
386 * configure.in: Moved to ...
387 * configure.ac: ... here. Change reference to configure.in
388 to configure.ac.
389 * sysdeps/arm/preconfigure.ac: ... here.
390 configure.in to configure.ac.
391 * sysdeps/gnu/configure.in: Moved to ...
392 * sysdeps/gnu/configure.ac: ... here.
393 * sysdeps/i386/configure.in: Moved to ...
394 * sysdeps/i386/configure.ac: ... here.
395 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
396 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
397 * sysdeps/mach/configure.in: Moved to ...
398 * sysdeps/mach/configure.ac: ... here.
399 * sysdeps/mach/hurd/configure.in: Moved to ...
400 * sysdeps/mach/hurd/configure.ac: ... here.
401 * sysdeps/powerpc/configure.in: Moved to ...
402 * sysdeps/powerpc/configure.ac: ... here.
403 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
404 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
405 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
406 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
407 * sysdeps/s390/s390-32/configure.in: Moved to ...
408 * sysdeps/s390/s390-32/configure.ac: ... here.
409 * sysdeps/s390/s390-64/configure.in: Moved to ...
410 * sysdeps/s390/s390-64/configure.ac: ... here.
411 * sysdeps/sh/configure.in: Moved to ...
412 * sysdeps/sh/configure.ac: ... here.
413 * sysdeps/sparc/configure.in: Moved to ...
414 * sysdeps/sparc/configure.ac: ... here.
415 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
416 * sysdeps/unix/sysv/linux/configure.ac: ... here.
417 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
418 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
419 * sysdeps/x86_64/configure.in: Moved to ...
420 * sysdeps/x86_64/configure.ac: ... here.
421 * sysdeps/x86_64/preconfigure.in: Moved to ...
422 * sysdeps/x86_64/preconfigure.ac: ... here.
423 * aclocal.m4: Change reference to configure.in to configure.ac.
424 * config.h.in: Likewise.
425 * manual/install.texi: Likewise.
426 * manual/maint.texi: Likewise.
427 * Makefile: Likewise.
428 * malloc/Makefile: Likewise.
429 * nscd/Makefile: Likewise.
430 * Makeconfig: Change reference to configure.in and
431 preconfigure.in to configure.ac and preconfigure.ac
432 respectively.
433 * INSTALL: Regenerated.
434 * configure: Likewise.
435 * sysdeps/gnu/configure: Likewise.
436 * sysdeps/i386/configure: Likewise.
437 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
438 * sysdeps/mach/configure: Likewise.
439 * sysdeps/mach/hurd/configure: Likewise.
440 * sysdeps/powerpc/configure: Likewise.
441 * sysdeps/powerpc/powerpc32/configure: Likewise.
442 * sysdeps/powerpc/powerpc64/configure: Likewise.
443 * sysdeps/s390/s390-32/configure: Likewise.
444 * sysdeps/s390/s390-64/configure: Likewise.
445 * sysdeps/sh/configure: Likewise.
446 * sysdeps/sparc/configure: Likewise.
447 * sysdeps/unix/sysv/linux/configure: Likewise.
448 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
449 * sysdeps/x86_64/configure: Likewise.
450 * sysdeps/x86_64/preconfigure: Likewise.
451
36a4953a
AS
4522013-10-29 Andreas Schwab <schwab@suse.de>
453
454 * stdio-common/Makefile (tst-swscanf-ENV): Define.
455
c79a1204
SP
4562013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
457
dfa1b402
SP
458 * benchtests/pow-inputs: Add new inputs.
459
54f73d9c
SP
460 * benchtests/exp-inputs: Add new inputs.
461
c79a1204
SP
462 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
463 conditional check for return value.
464 (__cos32): Likewise.
465
67beb545 4662013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
467
468 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
469 to provide a boost for large inputs with word alignment.
470 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
471 implementation based on optimized PPC64 strcpy.
472 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
473 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
474 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
475 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
476
151659f6
OB
4772013-10-25 Ondřej Bílka <neleai@seznam.cz>
478
482a077e 479 [BZ #2801]
151659f6
OB
480 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
481
10b0f26b
OB
4822013-10-25 Ondřej Bílka <neleai@seznam.cz>
483
484 [BZ #14876]
485 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
486 * time/tst-strptime.c (day_tests): Add testcase.
487
ca42d35e
OB
4882013-10-25 Ondřej Bílka <neleai@seznam.cz>
489
482a077e 490 [BZ #14029]
ca42d35e
OB
491 * manual/pattern.texi: Acknowledge that fnmatch can fail.
492
52e6d801
FB
4932013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
494
495 [BZ #16074]
496 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
497 MAP_FAILED on error.
498
7cbcdb36
SP
4992013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
500
501 [BZ #16072]
502 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
503 heap for large requests.
504
894f3f10
AM
5052013-10-25 Aurelien Jarno <aurelien@aurel32.net>
506
507 [BZ #9954]
508 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
509 result if the result has no associated interface.
510 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
511 interface for all 127.X.Y.Z addresses.
512
b85545a6
CL
5132013-10-24 Chris Leonard <cjl@sugarlabs.org>
514
515 * locale/iso-639.def: Add Ligurian (lij)
516
d1f23d46
OB
5172013-10-21 Ondřej Bílka <neleai@seznam.cz>
518
519 [BZ #15825]
520 * sunrpc/rpc_main.c: Document rpcgen -5.
521
4db5b08f
MS
5222013-10-19 Michael Stahl <mstahl@redhat.com>
523
524 * elf/rtld.c (do_preload): Print the reason why preloading failed.
525
a471e96a
OB
5262013-10-19 Ondřej Bílka <neleai@seznam.cz>
527
d1f23d46 528 [BZ #10278]
a471e96a
OB
529 * posix/glob.c: Match only directories when trailing slash is present.
530 * posix/tst-gnuglob.c (my_opendir): Do not open files.
531 (main): Add testcase.
532
45c30c61
OB
5332013-10-19 Ondřej Bílka <neleai@seznam.cz>
534
535 [BZ #15670]
536 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
537
484c12fb
CD
5382013-10-18 Carlos O'Donell <carlos@redhat.com>
539
3d7dc513
CD
540 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
541 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
542 AUTH_DES and cindex for FIPS 140-2.
543 (DES Encryption): Add cindex FIPS 46-3.
544
484c12fb
CD
545 * locale/locarchive.h (struct locarhandle): Add fname.
546 * locale/programs/localedef.c (main): Pass ARGV[remaining]
547 if an optional argument was specified to --list-archive,
548 otherwise NULL.
549 * locale/programs/locarchive.c (show_archive_content): Take new
550 argument fname and pass it via ah.fname to open_archive.
551 * locale/programs/localedef.h: Update decl.
552 (open_archive): If AH->fname is non-null, open that file
553 rather than the default file name, and don't ignore ENOENT.
554 (create_archive): Set AH.fname to NULL.
555 (delete_locales_from_archive): Likewise.
556 (add_locales_to_archive): Likewise.
557 * locale/programs/locfile.c (write_all_categories): Likewise.
558
3c8325fb
JM
5592013-10-18 Joseph Myers <joseph@codesourcery.com>
560 Aldy Hernandez <aldyh@redhat.com>
561
562 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
563 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
564 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
565 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
566 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
567 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
568 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
569 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
570 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
571 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
572 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
573 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
574 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
575 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
576 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
577 Likewise.
578 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
579 Likewise.
580 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
581 Likewise.
582 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
583 Likewise.
584 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
585 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
586 Likewise.
587 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
588 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
589 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
590 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
591 Likewise.
592 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
593 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
594 * sysdeps/powerpc/preconfigure: Likewise.
595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
596 Likewise.
597 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
598 Replace contents of file by #include of <fenv_libc.h>.
599 * sysdeps/powerpc/soft-fp/sfp-machine.h
600 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
601 and <sys/prctl.h>.
602 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
603 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
604 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
605 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
606 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
607 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
608 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
609 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
610 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
611 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
612 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
613 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
615 Allow copysignl PLT reference to be missing.
616
5abe0682
RS
6172013-10-18 Richard Sandiford <richard@codesourcery.com>
618 Joseph Myers <joseph@codesourcery.com
619
620 [BZ #15948]
621 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
622 single character.
623 (add_to_tablewc): Assert sequence of wide characters is nonempty.
624
c7738d08
SP
6252013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
626
627 * elf/tst-tls-dlinfo.c: Don't include tls.h.
628 * elf/tst-tls1.c: Likewise.
629 * elf/tst-tls10.h: Likewise.
630 * elf/tst-tls14.c: Likewise.
631 * elf/tst-tls2.c: Likewise.
632 * elf/tst-tls3.c: Likewise.
633 * elf/tst-tls4.c: Likewise.
634 * elf/tst-tls5.c: Likewise.
635 * elf/tst-tls6.c: Likewise.
636 * elf/tst-tls7.c: Likewise.
637 * elf/tst-tls8.c: Likewise.
638 * elf/tst-tls9.c: Likewise.
639 * elf/tst-tlsmod1.c: Likewise.
640 * elf/tst-tlsmod13.c: Likewise.
641 * elf/tst-tlsmod13a.c: Likewise.
642 * elf/tst-tlsmod14a.c: Likewise.
643 * elf/tst-tlsmod16a.c: Likewise.
644 * elf/tst-tlsmod16b.c: Likewise.
645 * elf/tst-tlsmod2.c: Likewise.
646 * elf/tst-tlsmod3.c: Likewise.
647 * elf/tst-tlsmod4.c: Likewise.
648 * elf/tst-tlsmod5.c: Likewise.
649 * elf/tst-tlsmod6.c: Likewise.
650
0bfcf2c7
OB
6512013-10-18 Ondřej Bílka <neleai@seznam.cz>
652
653 [BZ #12486]
654 * malloc/malloc.c: remove checks for statistics.
655
264aad1e
OB
6562013-10-17 Ondřej Bílka <neleai@seznam.cz>
657
658 [BZ #15277]
659 * inet/inet_net.c (inet_network): Detect additional invalid strings.
660 * inet/tst-network.c: Add testcase.
661
b957ced8
AS
6622013-10-17 Andreas Schwab <schwab@suse.de>
663
664 [BZ #15218]
665 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
666 to determine canonical name.
667
c5d5d574
OB
6682013-10-17 Ondřej Bílka <neleai@seznam.cz>
669
670 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
671 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
672 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
673 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
674 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
675 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
676 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
677 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
678 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
679 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
680 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
681 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
682 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
683 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
684 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
685 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
686 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
687 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
688 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
689 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
690 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
691 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
692 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
693 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
694 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
695 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
696 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
697 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
698 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
699 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
700 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
701 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
702 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
703 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
704 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
705 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
706 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
707 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
708 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
709 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
710 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
711 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
712 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
713 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
714 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
715 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
716 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
717 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
718 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
719 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
720 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
721 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
722 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
723 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
724 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
725 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
726 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
727 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
728
e5c2c2d0
JM
7292013-10-17 Joseph Myers <joseph@codesourcery.com>
730
731 [BZ #16041]
732 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
733 make result into a quiet NaN.
734
51ca9e29
JM
7352013-10-16 Joseph Myers <joseph@codesourcery.com>
736
737 * soft-fp/adddf3.c: Fix horizontal whitespace.
738 * soft-fp/addsf3.c: Likewise.
739 * soft-fp/addtf3.c: Likewise.
740 * soft-fp/divdf3.c: Likewise.
741 * soft-fp/divsf3.c: Likewise.
742 * soft-fp/divtf3.c: Likewise.
743 * soft-fp/double.h: Likewise.
744 * soft-fp/eqdf2.c: Likewise.
745 * soft-fp/eqsf2.c: Likewise.
746 * soft-fp/eqtf2.c: Likewise.
747 * soft-fp/extenddftf2.c: Likewise.
748 * soft-fp/extended.h: Likewise.
749 * soft-fp/extendsfdf2.c: Likewise.
750 * soft-fp/extendsftf2.c: Likewise.
751 * soft-fp/extendxftf2.c: Likewise.
752 * soft-fp/fixdfdi.c: Likewise.
753 * soft-fp/fixdfsi.c: Likewise.
754 * soft-fp/fixdfti.c: Likewise.
755 * soft-fp/fixsfdi.c: Likewise.
756 * soft-fp/fixsfsi.c: Likewise.
757 * soft-fp/fixsfti.c: Likewise.
758 * soft-fp/fixtfdi.c: Likewise.
759 * soft-fp/fixtfsi.c: Likewise.
760 * soft-fp/fixtfti.c: Likewise.
761 * soft-fp/fixunsdfdi.c: Likewise.
762 * soft-fp/fixunsdfsi.c: Likewise.
763 * soft-fp/fixunsdfti.c: Likewise.
764 * soft-fp/fixunssfdi.c: Likewise.
765 * soft-fp/fixunssfsi.c: Likewise.
766 * soft-fp/fixunssfti.c: Likewise.
767 * soft-fp/fixunstfdi.c: Likewise.
768 * soft-fp/fixunstfsi.c: Likewise.
769 * soft-fp/fixunstfti.c: Likewise.
770 * soft-fp/floatdidf.c: Likewise.
771 * soft-fp/floatdisf.c: Likewise.
772 * soft-fp/floatditf.c: Likewise.
773 * soft-fp/floatsidf.c: Likewise.
774 * soft-fp/floatsisf.c: Likewise.
775 * soft-fp/floatsitf.c: Likewise.
776 * soft-fp/floattidf.c: Likewise.
777 * soft-fp/floattisf.c: Likewise.
778 * soft-fp/floattitf.c: Likewise.
779 * soft-fp/floatundidf.c: Likewise.
780 * soft-fp/floatundisf.c: Likewise.
781 * soft-fp/floatunditf.c: Likewise.
782 * soft-fp/floatunsidf.c: Likewise.
783 * soft-fp/floatunsisf.c: Likewise.
784 * soft-fp/floatunsitf.c: Likewise.
785 * soft-fp/floatuntidf.c: Likewise.
786 * soft-fp/floatuntisf.c: Likewise.
787 * soft-fp/floatuntitf.c: Likewise.
788 * soft-fp/fmadf4.c: Likewise.
789 * soft-fp/fmasf4.c: Likewise.
790 * soft-fp/fmatf4.c: Likewise.
791 * soft-fp/gedf2.c: Likewise.
792 * soft-fp/gesf2.c: Likewise.
793 * soft-fp/getf2.c: Likewise.
794 * soft-fp/ledf2.c: Likewise.
795 * soft-fp/lesf2.c: Likewise.
796 * soft-fp/letf2.c: Likewise.
797 * soft-fp/muldf3.c: Likewise.
798 * soft-fp/mulsf3.c: Likewise.
799 * soft-fp/multf3.c: Likewise.
800 * soft-fp/negdf2.c: Likewise.
801 * soft-fp/negsf2.c: Likewise.
802 * soft-fp/negtf2.c: Likewise.
803 * soft-fp/op-1.h: Likewise.
804 * soft-fp/op-2.h: Likewise.
805 * soft-fp/op-4.h: Likewise.
806 * soft-fp/op-8.h: Likewise.
807 * soft-fp/op-common.h: Likewise.
808 * soft-fp/quad.h: Likewise.
809 * soft-fp/single.h: Likewise.
810 * soft-fp/soft-fp.h: Likewise.
811 * soft-fp/sqrtdf2.c: Likewise.
812 * soft-fp/sqrtsf2.c: Likewise.
813 * soft-fp/sqrttf2.c: Likewise.
814 * soft-fp/subdf3.c: Likewise.
815 * soft-fp/subsf3.c: Likewise.
816 * soft-fp/subtf3.c: Likewise.
817 * soft-fp/truncdfsf2.c: Likewise.
818 * soft-fp/trunctfdf2.c: Likewise.
819 * soft-fp/trunctfsf2.c: Likewise.
820 * soft-fp/trunctfxf2.c: Likewise.
821 * soft-fp/unorddf2.c: Likewise.
822 * soft-fp/unordsf2.c: Likewise.
823 * soft-fp/unordtf2.c: Likewise.
824
9ebb0332
JM
8252013-10-15 Joseph Myers <joseph@codesourcery.com>
826
827 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
828 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
829
4b1a6d8b
OB
8302013-10-15 Ondřej Bílka <neleai@seznam.cz>
831
832 * elf/dl-libc.c: Clear initfini list after freeing.
833
1e145589
JM
8342013-10-14 Joseph Myers <joseph@codesourcery.com>
835
836 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
837 * soft-fp/addsf3.c: Likewise.
838 * soft-fp/addtf3.c: Likewise.
839 * soft-fp/divdf3.c: Likewise.
840 * soft-fp/divsf3.c: Likewise.
841 * soft-fp/divtf3.c: Likewise.
842 * soft-fp/double.h: Likewise.
843 * soft-fp/eqdf2.c: Likewise.
844 * soft-fp/eqsf2.c: Likewise.
845 * soft-fp/eqtf2.c: Likewise.
846 * soft-fp/extenddftf2.c: Likewise.
847 * soft-fp/extended.h: Likewise.
848 * soft-fp/extendsfdf2.c: Likewise.
849 * soft-fp/extendsftf2.c: Likewise.
850 * soft-fp/extendxftf2.c: Likewise.
851 * soft-fp/fixdfdi.c: Likewise.
852 * soft-fp/fixdfsi.c: Likewise.
853 * soft-fp/fixdfti.c: Likewise.
854 * soft-fp/fixsfdi.c: Likewise.
855 * soft-fp/fixsfsi.c: Likewise.
856 * soft-fp/fixsfti.c: Likewise.
857 * soft-fp/fixtfdi.c: Likewise.
858 * soft-fp/fixtfsi.c: Likewise.
859 * soft-fp/fixtfti.c: Likewise.
860 * soft-fp/fixunsdfdi.c: Likewise.
861 * soft-fp/fixunsdfsi.c: Likewise.
862 * soft-fp/fixunsdfti.c: Likewise.
863 * soft-fp/fixunssfdi.c: Likewise.
864 * soft-fp/fixunssfsi.c: Likewise.
865 * soft-fp/fixunssfti.c: Likewise.
866 * soft-fp/fixunstfdi.c: Likewise.
867 * soft-fp/fixunstfsi.c: Likewise.
868 * soft-fp/fixunstfti.c: Likewise.
869 * soft-fp/floatdidf.c: Likewise.
870 * soft-fp/floatdisf.c: Likewise.
871 * soft-fp/floatditf.c: Likewise.
872 * soft-fp/floatsidf.c: Likewise.
873 * soft-fp/floatsisf.c: Likewise.
874 * soft-fp/floatsitf.c: Likewise.
875 * soft-fp/floattidf.c: Likewise.
876 * soft-fp/floattisf.c: Likewise.
877 * soft-fp/floattitf.c: Likewise.
878 * soft-fp/floatundidf.c: Likewise.
879 * soft-fp/floatundisf.c: Likewise.
880 * soft-fp/floatunsidf.c: Likewise.
881 * soft-fp/floatunsisf.c: Likewise.
882 * soft-fp/floatuntidf.c: Likewise.
883 * soft-fp/floatuntisf.c: Likewise.
884 * soft-fp/floatuntitf.c: Likewise.
885 * soft-fp/fmadf4.c: Likewise.
886 * soft-fp/fmasf4.c: Likewise.
887 * soft-fp/fmatf4.c: Likewise.
888 * soft-fp/gedf2.c: Likewise.
889 * soft-fp/gesf2.c: Likewise.
890 * soft-fp/getf2.c: Likewise.
891 * soft-fp/ledf2.c: Likewise.
892 * soft-fp/lesf2.c: Likewise.
893 * soft-fp/letf2.c: Likewise.
894 * soft-fp/muldf3.c: Likewise.
895 * soft-fp/mulsf3.c: Likewise.
896 * soft-fp/multf3.c: Likewise.
897 * soft-fp/negdf2.c: Likewise.
898 * soft-fp/negsf2.c: Likewise.
899 * soft-fp/negtf2.c: Likewise.
900 * soft-fp/op-1.h: Likewise.
901 * soft-fp/op-2.h: Likewise.
902 * soft-fp/op-4.h: Likewise.
903 * soft-fp/op-8.h: Likewise.
904 * soft-fp/op-common.h: Likewise.
905 * soft-fp/quad.h: Likewise.
906 * soft-fp/single.h: Likewise.
907 * soft-fp/soft-fp.h: Likewise.
908 * soft-fp/sqrtdf2.c: Likewise.
909 * soft-fp/sqrtsf2.c: Likewise.
910 * soft-fp/sqrttf2.c: Likewise.
911 * soft-fp/subdf3.c: Likewise.
912 * soft-fp/subsf3.c: Likewise.
913 * soft-fp/subtf3.c: Likewise.
914 * soft-fp/truncdfsf2.c: Likewise.
915 * soft-fp/trunctfdf2.c: Likewise.
916 * soft-fp/trunctfsf2.c: Likewise.
917 * soft-fp/trunctfxf2.c: Likewise.
918 * soft-fp/unorddf2.c: Likewise.
919 * soft-fp/unordsf2.c: Likewise.
920 * soft-fp/unordtf2.c: Likewise.
921
17c48a60
OB
9222013-10-14 Ondřej Bílka <neleai@seznam.cz>
923
924 [BZ #15672]
925 * misc/error.c (error_tail): Fix possible buffer overflow.
926
cabba934
OB
9272013-10-14 Aurelien Jarno <aurelien@aurel32.net>
928
929 [BZ #13028]
930 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
931 address.
932
94bf958a
PM
9332013-10-14 P. J. McDermott <pj@pehjota.net>
934
935 [BZ #832]
936 * elf/ldd.bash.in (try_trace): New function. Delete previous code
937 testing pipefail option.
938
71b4dea7
JM
9392013-10-12 Joseph Myers <joseph@codesourcery.com>
940
941 * soft-fp/double.h: Indent preprocessor directives inside #if.
942 * soft-fp/extended.h: Likewise.
943 * soft-fp/op-2.h: Likewise.
944 * soft-fp/op-4.h: Likewise.
945 * soft-fp/op-common.h: Likewise.
946 * soft-fp/quad.h: Likewise.
947 * soft-fp/single.h: Likewise.
948 * soft-fp/soft-fp.h: Likewise.
949
55602758
YC
9502013-10-12 Yuri Chornoivan <yurchor@ukr.net>
951
952 * iconv/iconv_prog.c: Fix typos.
953 * stdio-common/psiginfo-data.h: Likewise.
954
9cd83302
RT
9552013-10-12 Reuben Thomas <rrt@sc3d.org>
956
957 [BZ #15764]
958 * locale/setlocale.c: Fix typo.
959
99fd9f47
JM
9602013-10-12 Joseph Myers <joseph@codesourcery.com>
961
b7ea74f0
JM
962 [BZ #16036]
963 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
964 signaling NaN arguments.
965 * soft-fp/unordsf2.c (__unordsf2): Likewise.
966 * soft-fp/unordtf2.c (__unordtf2): Likewise.
967
8a509447
JM
968 [BZ #14910]
969 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
970 unordered operands.
971 * soft-fp/gesf2.c (__gesf2): Likewise.
972 * soft-fp/getf2.c (__getf2): Likewise.
973 * soft-fp/ledf2.c (__ledf2): Likewise.
974 * soft-fp/lesf2.c (__lesf2): Likewise.
975 * soft-fp/letf2.c (__letf2): Likewise.
976
98998e9f
JM
977 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
978 * soft-fp/eqsf2.c (__eqsf2): Likewise.
979 * soft-fp/eqtf2.c (__eqtf2): Likewise.
980 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
981 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
982 * soft-fp/fixdfti.c (__fixdfti): Likewise.
983 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
984 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
985 * soft-fp/fixsfti.c (__fixsfti): Likewise.
986 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
987 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
988 * soft-fp/fixtfti.c (__fixtfti): Likewise.
989 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
990 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
991 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
992 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
993 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
994 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
995 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
996 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
997 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
998 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
999 * soft-fp/floatdisf.c (__floatdisf): Likewise.
1000 * soft-fp/floatsisf.c (__floatsisf): Likewise.
1001 * soft-fp/floattidf.c (__floattidf): Likewise.
1002 * soft-fp/floattisf.c (__floattisf): Likewise.
1003 * soft-fp/floattitf.c (__floattitf): Likewise.
1004 * soft-fp/floatundidf.c (__floatundidf): Likewise.
1005 * soft-fp/floatundisf.c (__floatundisf): Likewise.
1006 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
1007 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
1008 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
1009 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
1010 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
1011 * soft-fp/gesf2.c (__gesf2): Likewise.
1012 * soft-fp/getf2.c (__getf2): Likewise.
1013 * soft-fp/ledf2.c (__ledf2): Likewise.
1014 * soft-fp/lesf2.c (__lesf2): Likewise.
1015 * soft-fp/letf2.c (__letf2): Likewise.
1016
8edc4a11
JM
1017 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
1018 Undefine and redefine.
1019 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
1020 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
1021 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
1022 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
1023 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1024 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
1025 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1026 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
1027 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1028 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
1029 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1030 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
1031 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1032 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
1033 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1034
8399acaf
JM
1035 [BZ #16032]
1036 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
1037 without decrementing exponent if mantissa >= that for the
1038 denominator, not >.
1039 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
1040 denominator, not >. Decrement exponent in < case instead of
1041 incrementing in >= case.
1042 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
1043 without decrementing exponent if mantissa >= that for the
1044 denominator, not >.
1045
99fd9f47
JM
1046 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
1047 computing saturated result for unsigned overflow.
1048
10e1cf6b
SP
10492013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1050 Jeff Law <law@redhat.com>
1051
1052 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
1053 (atan2Mp): Add systemtap probe marker.
1054 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
1055 (__ieee754_log): Add systemtap probe marker.
1056 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
1057 (atanMp): Add systemtap probe marker.
1058 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
1059 (tanMp): Add systemtap probe marker.
1060 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
1061 (__slowexp): Add systemtap probe marker.
1062 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
1063 (__slowpow): Add systemtap probe marker.
1064 * manual/probes.texi: Document probes.
1065
3d110c7c
EB
10662013-10-11 Eric Biggers <ebiggers3@gmail.com>
1067
1068 [BZ #15362]
1069 * libio/fileops.c (_IO_new_file_write): Return count of bytes
1070 written.
1071 (_IO_new_file_xsputn): Don't return EOF if nothing has been
1072 written.
1073 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
1074 written to buffer but not flushed.
1075 * libio/iofwrite_u.c: Likewise.
1076 * libio/iopadn.c: Return bytes returned even if EOF was
1077 encountered.
1078 * libio/iowpadn.c: Likewise.
1079 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
1080 if _IO_padn does not write the whole buffer.
1081 [!COMPILE_WPRINTF] (PAD): Likewise.
1082
75b4202a
DM
10832013-10-10 David S. Miller <davem@davemloft.net>
1084
1085 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
1086 directory block.
1087
6c6352e6
JM
10882013-10-10 Joseph Myers <joseph@codesourcery.com>
1089
33b853c3
JM
1090 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
1091 instead of FSF address.
1092 * soft-fp/fixdfti.c: Likewise.
1093 * soft-fp/fixsfti.c: Likewise.
1094 * soft-fp/fixtfti.c: Likewise.
1095 * soft-fp/fixunsdfti.c: Likewise.
1096 * soft-fp/fixunssfti.c: Likewise.
1097 * soft-fp/fixunstfti.c: Likewise.
1098 * soft-fp/floattidf.c: Likewise.
1099 * soft-fp/floattisf.c: Likewise.
1100 * soft-fp/floattitf.c: Likewise.
1101 * soft-fp/floatuntidf.c: Likewise.
1102 * soft-fp/floatuntisf.c: Likewise.
1103 * soft-fp/floatuntitf.c: Likewise.
1104 * soft-fp/trunctfxf2.c: Likewise.
1105
6c6352e6
JM
1106 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
1107 * soft-fp/fixdfti.c: Likewise.
1108 * soft-fp/fixsfti.c: Likewise.
1109 * soft-fp/fixtfti.c: Likewise.
1110 * soft-fp/fixunsdfti.c: Likewise.
1111 * soft-fp/fixunssfti.c: Likewise.
1112 * soft-fp/fixunstfti.c: Likewise.
1113 * soft-fp/floattidf.c: Likewise.
1114 * soft-fp/floattisf.c: Likewise.
1115 * soft-fp/floattitf.c: Likewise.
1116 * soft-fp/floatuntidf.c: Likewise.
1117 * soft-fp/floatuntisf.c: Likewise.
1118 * soft-fp/floatuntitf.c: Likewise.
1119 * soft-fp/trunctfxf2.c: Likewise.
1120
3bf78b71
DM
11212013-10-10 David S. Miller <davem@davemloft.net>
1122
1123 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1124
6f10289e
JM
11252013-10-10 Joseph Myers <joseph@codsourcery.com>
1126
bd878fc0
JM
1127 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1128 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
1129 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
1130 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
1131 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
1132 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
1133 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
1134
6f10289e
JM
1135 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
1136 for NaNs before doing comparisons on argument.
1137 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
1138 Likewise.
1139
321e2684
WN
11402013-10-10 Will Newton <will.newton@linaro.org>
1141
1142 * malloc/hooks.c (memalign_check): Ensure the value of bytes
1143 passed to _int_memalign does not overflow.
1144
40fefba1
TR
11452013-10-10 Torvald Riegel <triegel@redhat.com>
1146
1147 * scripts/bench.pl: Add include-sources directive.
1148 * benchtests/README: Update documentation.
1149
2ae21ed2
JM
11502013-10-10 Joseph Myers <joseph@codesourcery.com>
1151
dcc2dd3f
JM
1152 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
1153 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
1154 instead of FP_INIT_ROUNDMODE.
1155 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
1156 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
1157
2ae21ed2
JM
1158 [BZ #16034]
1159 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
1160 copy class of input value.
1161 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
1162 not handle exceptions.
1163 * soft-fp/negsf2.c (__negsf2): Likewise.
1164 * soft-fp/negtf2.c (__negtf2): Likewise.
1165 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
1166
cb8f9562
JM
11672013-10-09 Joseph Myers <joseph@codesourcery.com>
1168
1169 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
1170 semicolon. From Linux kernel.
1171
5b60c59d
AB
11722013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
1173
1174 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
1175
b86835ca
YC
11762013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
1177
1178 [BZ #156]
1179 * manual/socket.texi: Added statement about buffer
1180 for gethostbyname2_r.
1181
e7044ea7
OB
11822013-10-08 Ondřej Bílka <neleai@seznam.cz>
1183
1184 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
1185 Use .p2align directive instead, throughout.
1186 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1187 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1188 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
1189 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1190 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1191 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
1192 * sysdeps/x86_64/strchr.S: Likewise.
1193 * sysdeps/x86_64/strrchr.S: Likewise.
1194
09544cbc
SP
11952013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1196
88576635
SP
1197 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
1198
e7b2d1dd
SP
1199 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
1200
09544cbc
SP
1201 * sysdeps/generic/math_private.h (__mpsin1): Remove
1202 declaration.
1203 (__mpcos1): Likewise.
1204 (__mpsin): New argument __range_reduce.
1205 (__mpcos): Likewise.
1206 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1207 (slow): Use __mpsin and __mpcos.
1208 (slow1): Likewise.
1209 (slow2): Likewise.
1210 (sloww): Likewise.
1211 (sloww1): Likewise.
1212 (sloww2): Likewise.
1213 (bsloww): Likewise.
1214 (bsloww1): Likewise.
1215 (bsloww2): Likewise.
1216 (cslow2): Likewise.
1217 (csloww): Likewise.
1218 (csloww1): Likewise.
1219 (csloww2): Likewise.
1220 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
1221 range_reduce. Merge in __mpsin1.
1222 (__mpcos): Likewise.
1223 (__mpsin1): Remove.
1224 (__mpcos1): Likewise.
1225
7602d070
JM
12262013-10-07 Joseph Myers <joseph@codesourcery.com>
1227
1228 * locale/loadlocale.c (_nl_intern_locale_data): Use
1229 LOCFILE_ALIGNED_P.
1230 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
1231 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
1232 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
1233 obstack data is appropriately aligned.
1234 (obstack_int32_grow_fast): Likewise.
1235 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
1236 * locale/programs/locfile.c (add_locale_uint32): Likewise.
1237 (add_locale_uint32_array): Likewise.
1238
a357259b
SP
12392013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1240
1241 * benchtests/Makefile: Remove ARGLIST and RET variables.
1242 ($(objpfx)bench-%.c): Pass only function name to the script.
1243 * benchtests/README: Update documentation.
1244 * benchtests/acos-inputs: Add new directives.
1245 * benchtests/acosh-inputs: Likewise.
1246 * benchtests/asin-inputs: Likewise.
1247 * benchtests/asinh-inputs: Likewise.
1248 * benchtests/atan-inputs: Likewise.
1249 * benchtests/atanh-inputs: Likewise.
1250 * benchtests/cos-inputs: Likewise.
1251 * benchtests/cosh-inputs: Likewise.
1252 * benchtests/exp-inputs: Likewise.
1253 * benchtests/log-inputs: Likewise.
1254 * benchtests/pow-inputs: Likewise.
1255 * benchtests/rint-inputs: Likewise.
1256 * benchtests/sin-inputs: Likewise.
1257 * benchtests/sinh-inputs: Likewise.
1258 * benchtests/tan-inputs: Likewise.
1259 * benchtests/tanh-inputs: Likewise.
1260 * scripts/bench.pl: Add support for new directives.
1261
9ec1b13d
AM
12622013-10-07 Alan Modra <amodra@gmail.com>
1263
1264 * README: Fix careless merge.
1265
8b7d57cd
AM
12662013-10-05 Alan Modra <amodra@gmail.com>
1267
1268 * NEWS: Mention powerpc64le support and bugs fixed.
1269 * README: Both big-endian and little-endian powerpc64 supported.
1270
7b7bab13
ST
12712013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1272
1273 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
1274 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
1275 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
1276 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
1277
d39baad1
RA
12782013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
1279
1280 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
1281 match prototype.
1282
cd78f7e7
JM
12832013-10-04 Joseph Myers <joseph@codesourcery.com>
1284
29d73d86
JM
1285 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
1286 Move -mhard-float appending from
1287 ports/sysdeps/powerpc/powerpc32/Makefile.
1288 [$(with-fp) = yes] (ASFLAGS): Likewise.
1289 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
1290 * sysdeps/powerpc/nofpu: Move directory from
1291 ports/sysdeps/powerpc/nofpu.
1292 * sysdeps/powerpc/soft-fp: Move directory from
1293 ports/sysdeps/powerpc/soft-fp.
1294 * sysdeps/powerpc/powerpc32/405: Move directory from
1295 ports/sysdeps/powerpc/powerpc32/405.
1296 * sysdeps/powerpc/powerpc32/440: Move directory from
1297 ports/sysdeps/powerpc/powerpc32/440.
1298 * sysdeps/powerpc/powerpc32/464: Move directory from
1299 ports/sysdeps/powerpc/powerpc32/464.
1300 * sysdeps/powerpc/powerpc32/476: Move directory from
1301 ports/sysdeps/powerpc/powerpc32/476.
1302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
1303 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
1304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
1305 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
1306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
1307 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
1308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
1309 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
1310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
1311 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
1312 * README: Update for powerpc-*-linux-gnu software floating point
1313 support in libc.
1314
e246b347
JM
1315 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
1316 case to powerpc/powerpc32*.
1317 * sysdeps/unix/sysv/linux/configure: Regenerated.
1318
89c2003e
JM
1319 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
1320 (_FPU_MASK_OM): Define as 0x04.
1321 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
1322 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
1323 0x00c10080.
1324 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
1325 0x0000003c.
1326 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
1327
cd78f7e7
JM
1328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
1329 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1330 getcontext_e500.
1331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
1332 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1333 setcontext_e500.
1334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1335 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
1336 and setcontext_e500.
1337
c755294d
CL
13382013-10-04 Chris Leonard <cjl@sugarlabs,.org>
1339
1340 * locale/iso-3166.def: Update iso-1366.def and related occurrences
1341
e16d221c
SP
13422013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1343
1344 * manual/threads.texi (Default Thread Attributes): Fix typo.
1345
215c7d43
WN
13462013-10-04 Will Newton <will.newton@linaro.org>
1347
1348 * malloc/Makefile: Add tst-memalign.
1349 * malloc/tst-memalign.c: New file.
1350
27d0461b
WN
1351 * malloc/tst-posix_memalign.c: Add comments.
1352 (do_test): Add comments and call free on all potentially
1353 allocated pointers. Add space after cast.
1354
1bc92709
WN
1355 * malloc/tst-pvalloc.c: Add comments.
1356 (do_test): Add comments and call free on all potentially
1357 allocated pointers. Remove duplicate check for NULL pointer.
1358 Add space after cast.
1359
66a9be9d
WN
1360 * malloc/tst-valloc.c: Add comments.
1361 (do_test): Add comments and call free on all potentially
1362 allocated pointers. Remove duplicate check for NULL pointer.
1363 Add space after cast.
1364
4cb81307
AM
13652013-10-04 Alan Modra <amodra@gmail.com>
1366
1367 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1368 Use stdint types in rather than __attribute__((mode())).
1369 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1370
f8e3e9f3
AM
13712013-10-04 Alan Modra <amodra@gmail.com>
1372
1373 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1374 Correct handling of unaligned relocs for little-endian.
1375 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1376
8f9ebb08
AM
13772013-10-04 Alan Modra <amodra@gmail.com>
1378
1379 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
1380 * configure: Regenerate.
1381 * nptl/shlib-versions: Powerpc*le starts at 2.18.
1382 * shlib-versions: Likewise.
1383
0edf96c2
AM
13842013-10-04 Alan Modra <amodra@gmail.com>
1385
1386 * string/tester.c (test_memrchr): Increment reported test cycle.
1387
e0f7a380
AM
13882013-10-04 Alan Modra <amodra@gmail.com>
1389
1390 * string/test-memcpy.c (do_one_test): When reporting errors, print
1391 string address and don't overrun end of string.
1392
466b0393
AM
13932013-10-04 Alan Modra <amodra@gmail.com>
1394
1395 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
1396 insrdi. Make better use of reg selection to speed exit slightly.
1397 Schedule entry path a little better. Remove useless "are we done"
1398 checks on entry to main loop. Handle wrapping around zero address.
1399 Correct main loop count. Handle single left-over word from main
1400 loop inline rather than by using loop_small. Remove extra word
1401 case in loop_small caused by wrong loop count. Add little-endian
1402 support.
1403 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1404 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
1405 cache hint.
1406 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1407 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
1408 support. Avoid rlwimi.
1409 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
1410
3be87c77
AM
14112013-10-04 Alan Modra <amodra@gmail.com>
1412
1413 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 1414 insrdi. Formatting.
3be87c77
AM
1415 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
1416 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1417 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1418 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1419 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1420 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
1421
759cfef3
AM
14222013-10-04 Alan Modra <amodra@gmail.com>
1423
1424 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
1425 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1426 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1427 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
1428 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1429 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1430 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1431 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
1432 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
1433 use of regs. Use power7 mtocrf. Tidy function tails.
1434
fe6e95d7
AM
14352013-10-04 Alan Modra <amodra@gmail.com>
1436
1437 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
1438 Formatting. Consistently use rXXX register defines or rN defines.
1439 Use early exit labels that avoid restoring unused non-volatile regs.
1440 Make cr field use more consistent with rWORDn compares. Rename
1441 regs used as shift registers for unaligned loop, using rN defines
1442 for short lifetime/multiple use regs.
1443 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1444 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
1445 addi 1,1,64 to pop stack frame. Simplify return value code.
1446 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1447
664318c3
AM
14482013-10-04 Alan Modra <amodra@gmail.com>
1449
1450 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
1451 support. Correct typos, formatting. Optimize tail. Use insrdi
1452 rather than rlwimi.
1453 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
1454 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
1455 little-endian support. Correct typos.
1456 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
1457 rather than rlwimi.
1458 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
1459 in loop and entry code to keep "and." results.
1460 (strchr): Add little-endian support. Comment. Move cntlzd
1461 earlier in tail.
1462 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
1463
43b84013
AM
14642013-10-04 Alan Modra <amodra@gmail.com>
1465
1466 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
1467 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
1468 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
1469 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
1470
8a7413f9
AM
14712013-10-04 Alan Modra <amodra@gmail.com>
1472
1473 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
1474 (rTMP): Define as r11.
1475 (strcmp): Add little-endian support. Optimise tail.
1476 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
1477 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1478 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1479 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1480 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1481 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1482 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1483
33ee81de
AM
14842013-10-04 Alan Modra <amodra@gmail.com>
1485
1486 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
1487 little-endian support. Remove unnecessary "are we done" tests.
1488 Handle "s" wrapping around zero and extremely large "size".
1489 Correct main loop count. Handle single left-over word from main
1490 loop inline rather than by using small_loop. Correct comments.
1491 Delete "zero" tail, use "end_max" instead.
1492 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
1493
db9b4570
AM
14942013-10-04 Alan Modra <amodra@gmail.com>
1495
1496 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
1497 support. Don't branch over align.
1498 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
1499 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
1500 support. Rearrange tmp reg use to suit. Comment.
1501 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
1502
f7c399cf
AM
15032013-10-04 Alan Modra <amodra@gmail.com>
1504
1505 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
1506
0b2c2ace
AM
15072013-10-04 Alan Modra <amodra@gmail.com>
1508
1509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
1510 conditional form of branch and link when obtaining pc.
1511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1512
02f04a6c
AM
15132013-10-04 Alan Modra <amodra@gmail.com>
1514
1515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
1516 HIWORD/LOWORD.
1517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
1518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
1519
9b874b2f
AM
15202013-10-04 Alan Modra <amodra@gmail.com>
1521
1522 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
1523 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
1524 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1525 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
1526 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1527 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1528 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
1529 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1530 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1531 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
1532
be1e5d31
AB
15332013-10-04 Anton Blanchard <anton@au1.ibm.com>
1534 Alistair Popple <alistair@ozlabs.au.ibm.com>
1535 Alan Modra <amodra@gmail.com>
1536
1537 [BZ #15723]
1538 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
1539 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
1540 _dl_hwcap access for little-endian.
1541 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
1542 destroy vmx regs when saving unaligned.
1543 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
1544 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
1545 destroy vmx regs when saving unaligned.
1546
fef13a78
AM
15472013-10-04 Alan Modra <amodra@gmail.com>
1548
1549 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
1550 Don't use a union to pack hi/low value.
1551
76a66d51
AB
15522013-10-04 Anton Blanchard <anton@au1.ibm.com>
1553
1554 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
1555 for little-endian.
1556 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1557 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1558 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1559 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1560 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1561
6a31fe7f
AM
15622013-10-04 Alan Modra <amodra@gmail.com>
1563
1564 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
1565 constants to usual value for .cst8 section, and remove redundant
1566 high address load.
1567 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
1568 constant for 0x1p52. Load little-endian words of double from
1569 correct stack offsets.
1570
7b88401f
AM
15712013-10-04 Alan Modra <amodra@gmail.com>
1572
1573 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
1574 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
1575 words of double from correct stack offsets.
1576 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1577 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
1578 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1579 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1580 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1581 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1582 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1583 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1584 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1585 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1586 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1587 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1588 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1589 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1590 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1591 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
1592 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1593
9c008155
AM
15942013-10-04 Alan Modra <amodra@gmail.com>
1595
1596 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
1597 64-bit int/double union.
1598 (_FPU_SETCW): Likewise.
1599 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1600 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
1601
da13146d
AM
16022013-10-04 Alan Modra <amodra@gmail.com>
1603
1604 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
1605 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
1606
603e8410
AM
16072013-10-04 Alan Modra <amodra@gmail.com>
1608
1609 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
1610 use vector int constants.
1611 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
1612
4a28b3ca
AB
16132013-10-04 Anton Blanchard <anton@au1.ibm.com>
1614
1615 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
1616 array with long long.
1617 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
1618 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
1619 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
1620 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
1621 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
1622 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
1623 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
1624 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
1625 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
1626 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
1627 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
1628 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
1629 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
1630
2ca85d2b
AB
16312013-10-04 Anton Blanchard <anton@au1.ibm.com>
1632
1633 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
1634 (__signbit): Likewise. Correct for little-endian.
1635 (__signbitl): Call __signbit.
1636 (lrint): Correct for little-endian.
1637 (lrintf): Call lrint.
1638
62a728ae
AM
16392013-10-04 Alan Modra <amodra@gmail.com>
1640
1641 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
1642 union 32-bit int array member with 64-bit int array.
1643 (t515, tm256): Double rather than long double.
1644 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
1645
32c301df
AM
16462013-10-04 Alan Modra <amodra@gmail.com>
1647
1648 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
1649 Delete.
1650 (IEEE854_LONG_DOUBLE_BIAS): Delete.
1651 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
1652 version of math_ldbl.h.
1653
650ef4bd
AM
16542013-10-04 Alan Modra <amodra@gmail.com>
1655
1656 [BZ #15734], [BZ #15735]
1657 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
1658 all uses of ieee875 long double macros and unions. Simplify test
1659 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
1660 ldbl_extract_mantissa value for ix,iy exponents. Properly
1661 normalize after ldbl_extract_mantissa, and don't add hidden bit
1662 already handled. Don't treat low word of ieee854 mantissa like
1663 low word of IBM long double and mask off bit when testing for
1664 zero.
1665 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
1666 all uses of ieee875 long double macros and unions. Simplify tests
1667 for 0.0L and inf. Correct double adjustment of k. Delete dead code
1668 adjusting ha,hb. Simplify code setting kld. Delete two600 and
1669 two1022, instead use their values. Recognise that tests for large
1670 "a" and small "b" are mutually exclusive. Rename vars. Comment.
1671 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
1672 Rewrite all uses of ieee875 long double macros and unions. Simplify
1673 test for 0.0L and nan. Correct negation.
1674 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
1675 ieee875 long double macros and unions. Correct output for large
1676 magnitude x. Correct absolute value calculation.
1677 (__erfcl): Likewise.
1678 * math/libm-test.inc: Add tests for errors discovered in IBM long
1679 double versions of fmodl, remainderl, erfl and erfcl.
1680
765714ca
AM
16812013-10-04 Alan Modra <amodra@gmail.com>
1682
1683 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
1684 all uses of ieee854 long double macros and unions. Simplify tests
1685 for long doubles that are fully specified by the high double.
1686 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1687 Likewise.
1688 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
1689 Remove dead code too.
1690 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1691 (__ieee754_ynl): Likewise.
1692 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
1693 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
1694 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
1695 Remove dead code too.
1696 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
1697 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
1698 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
1699 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
1700 Simplify.
1701 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
1702 Simplify.
1703 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
1704 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
1705 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
1706 Comment on variable precision.
1707 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
1708 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1709 Likewise.
1710 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1711 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1712 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1713 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
1714 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
1715
4ebd120c
AM
17162013-10-04 Alan Modra <amodra@gmail.com>
1717
1718 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
1719 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
1720 all uses of ieee854 long double macros and unions.
1721 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
1722 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1723 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
1724 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
1725 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
1726 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1727 Likewise.
1728 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
1729 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1730 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
1731 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1732 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
1733 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
1734 Simplify sign and nan test too.
1735 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
1736 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
1737 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
1738 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
1739 Likewise.
1740 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1741 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
1742 Likewise.
1743 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1744 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
1745 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
1746 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
1747 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
1748 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
1749
1b6adf88
AM
17502013-10-04 Alan Modra <amodra@gmail.com>
1751
1752 * stdio-common/printf_size.c (__printf_size): Don't use
1753 union ieee854_long_double in fpnum union.
1754 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
1755 signbit macro to retrieve sign from long double.
1756 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
1757 retrieve sign from long double.
1758 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
1759 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
1760 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
1761 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1762 * math/test-misc.c (main): Don't use union ieee854_long_double.
1763
4cf69995
AM
17642013-10-04 Alan Modra <amodra@gmail.com>
1765
1766 [BZ #15680]
1767 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
1768 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
1769 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
1770 calculation. Remove unnecessary test for denormal exponent.
1771 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
1772 Correct handling of denormals. Avoid undefined shift behaviour.
1773 Correct normalisation of low mantissa when low double is denormal.
1774 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
1775 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
1776 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
1777 Correct normalisation of low mantissa. Test for overflow of high
1778 mantissa and normalise.
1779 (ldbl_nearbyint): Use more readable constant for two52.
1780 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
1781 (__mpn_construct_long_double): Fix test for overflow of high
1782 mantissa and correct normalisation. Avoid undefined shift.
1783
9605ca6c
AM
17842013-10-04 Alan Modra <amodra@gmail.com>
1785
1786 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1787 (union ibm_extended_long_double): Define as an array of ieee754_double.
1788 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
1789 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
1790 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
1791 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1792 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1793 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
1794 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1795 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1796 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1797 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
1798 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1799
975569d0
JM
18002013-10-03 Joseph Myers <joseph@codesourcery.com>
1801
d3d23756
JM
1802 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
1803 page size instead of calling getpagesize.
1804
975569d0
JM
1805 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
1806 (LOCFILE_ALIGN_MASK): Likewise.
1807 (LOCFILE_ALIGN_UP): Likewise.
1808 (LOCFILE_ALIGNED_P): Likewise.
1809 * locale/programs/ld-collate.c (collate_output): Use the new
1810 macros instead of __alignof__ (int32_t).
1811 * locale/weight.h (findidx): Likewise.
1812
b1fe1f2b
OB
18132013-10-03 Ondřej Bílka <neleai@seznam.cz>
1814
1815 [BZ #431]
1816 * manual/string.texi: Fix strncat and wcsncat.
1817
5f855e35
BM
18182013-10-03 Brooks Moses <bmoses@google.com>
1819
1820 [BZ #15915]
1821 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
1822 * Makerules: ...here, and adjust associated comments.
1823
3cef6009
WN
18242013-10-02 Will Newton <will.newton@linaro.org>
1825
1826 * malloc/Makefile: Add tst-pvalloc.
1827 * malloc/tst-pvalloc.c: New file.
1828
7815420b
WN
18292013-10-02 Will Newton <will.newton@linaro.org>
1830
1831 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
1832 improve test coverage.
1833
4868b204
WN
18342013-10-02 Will Newton <will.newton@linaro.org>
1835
1836 * malloc/Makefile: Add tst-posix_memalign.
1837 * malloc/tst-posix_memalign.c: New file.
1838
29c793b3
EB
18392013-10-01 Eric Blake <eblake@redhat.com>
1840
1841 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
1842 Use __THROWNL rather than __THROW on static functions.
1843
fd967522
PM
18442013-09-30 Petr Machata <pmachata@redhat.com>
1845
1846 * elf/elf.h (R_AARCH64_ABS16): New macro.
1847 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
1848 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
1849 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
1850 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
1851 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
1852 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
1853 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
1854 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
1855 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
1856 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
1857 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
1858 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
1859 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
1860 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
1861 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
1862 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
1863 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
1864 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
1865 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
1866 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
1867 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
1868 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
1869 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
1870 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
1871 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
1872 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
1873 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
1874 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
1875 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
1876 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
1877 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
1878 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
1879 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
1880 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
1881 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
1882 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
1883 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
1884 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
1885 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
1886 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
1887 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
1888 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
1889 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
1890 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
1891 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
1892 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
1893 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
1894 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
1895 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
1896 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
1897 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
1898 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
1899 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
1900 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
1901 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
1902 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
1903 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
1904 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
1905 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
1906 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
1907 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
1908 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
1909 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
1910 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
1911 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
1912 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
1913 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
1914 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
1915 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
1916 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
1917 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
1918 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
1919 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
1920 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
1921 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
1922 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
1923 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
1924 (R_AARCH64_TLSDESC_LDR): Likewise.
1925 (R_AARCH64_TLSDESC_ADD): Likewise.
1926 (R_AARCH64_TLSDESC_CALL): Likewise.
1927
b2179107
AS
19282013-09-30 Andreas Schwab <schwab@suse.de>
1929
1930 [BZ #15048]
1931 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
1932 the nss database lookup.
1933 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1934 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1935
47f28d0a
MF
19362013-09-28 Mike Frysinger <vapier@gentoo.org>
1937
1938 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
1939
19402013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
1941
1942 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
1943 ${Bash-specific parameter/pattern/string} parameter expansion.
1944 * sysdeps/unix/make-syscalls.sh: Likewise.
1945
f4518a17
KK
19462013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1947
1948 * sysdeps/sh/stackguard-macros.h: New file.
1949
dc1a95c7
OB
19502013-09-26 Ondřej Bílka <neleai@seznam.cz>
1951
1952 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1953 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
1954 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
1955 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
1956 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1957 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
1958
5ebbff8f
AZ
19592013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1960
1961 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
1962 Fix thread ID register.
1963
4fd2cf9f
JM
19642013-09-25 Joseph Myers <joseph@codesourcery.com>
1965
1966 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
1967 [POSIX || UNIX98]: Require rather than permitting all symbols from
1968 <time.h>.
1969 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
1970 element of struct sched_param.
1971 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
1972 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
1973 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
1974 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
1975 constant.
1976
12c22bc4
OL
19772013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
1978
1979 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
1980 argument calculation.
1981
a03d8ea7
JM
19822013-09-24 Joseph Myers <joseph@codesourcery.com>
1983
1984 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
1985 Expect macro.
1986 [POSIX] (pthread_attr_t): Do not require type.
1987 [POSIX] (pthread_cond_t): Likewise.
1988 [POSIX] (pthread_condattr_t): Likewise.
1989 [POSIX] (pthread_key_t): Likewise.
1990 [POSIX] (pthread_mutex_t): Likewise.
1991 [POSIX] (pthread_mutexattr_t): Likewise.
1992 [POSIX] (pthread_once_t): Likewise.
1993 [POSIX] (pthread_t): Likewise.
1994 [POSIX-based standards] (pthread_atfork): Expect function.
1995
6055173a
JM
19962013-09-24 Joseph Myers <joseph@codesourcery.com>
1997 Richard Sandiford <richard@codesourcery.com>
1998
1999 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
2000 (swap_endianness_p): New extern variable.
2001 (set_big_endian): New inline function.
2002 (maybe_swap_uint32): Likewise.
2003 (maybe_swap_uint32_array): Likewise.
2004 (maybe_swap_uint32_obstack): Likewise.
2005 * locale/programs/locfile.c: Include <stdbool.h>.
2006 (swap_endianness_p): New variable.
2007 (add_locale_uint32): Call maybe_swap_uint32.
2008 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
2009 (write_locale_data): Call maybe_swap_uint32_array.
2010 * locale/programs/ld-collate.c (obstack_int32_grow): Call
2011 maybe_swap_uint32.
2012 (obstack_int32_grow_fast): Likewise.
2013 (output_weightwc): Call maybe_swap_uint32_obstack.
2014 (collate_output): Likewise.
2015 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
2016 (OPT_LITTLE_ENDIAN): Likewise.
2017 (options): Add --little-endian and --big-endian options.
2018 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
2019 * locale/programs/locarchive.c: Include "locfile.h".
2020 (GET): New macro.
2021 (SET): Likewise.
2022 (INC): Likewise.
2023 (create_archive): Use the new macros to access fields of
2024 structures directly mapped from or written to locale archives.
2025 (oldlocrecentcmp): Likewise.
2026 (enlarge_archive): Likewise.
2027 (insert_name): Likewise.
2028 (add_alias): Likewise.
2029 (add_locale): Likewise.
2030 (delete_locales_from_archive): Likewise.
2031 (show_archive_content): Likewise.
2032 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
2033 locale data.
2034
39bf0bb4
RM
20352013-09-24 Roland McGrath <roland@hack.frob.com>
2036
2037 * manual/freemanuals.texi: Updated from (newly) canonical copy at
2038 http://www.gnu.org/doc/freemanuals.texi.
2039 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
2040
f02eed10
WN
20412013-09-24 Will Newton <will.newton@linaro.org>
2042
2043 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
2044 macro.
2045
a3a6c312
JM
20462013-09-23 Joseph Myers <joseph@codesourcery.com>
2047
2048 * locale/hashval.h (compute_hashval): Interpret bytes of key as
2049 unsigned char.
2050
107375ac
MR
20512013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
2052
2053 * manual/threads.texi (POSIX Threads): Fix a typo.
2054
141f3a77
SP
20552013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2056
303e567a
SP
2057 [BZ #14547]
2058 * string/tst-strcoll-overflow.c: New test case.
2059 * string/Makefile (xtests): Add tst-strcoll-overflow.
2060 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
2061 cache if string sizes may cause integer overflow.
2062
141f3a77
SP
2063 [BZ #14547]
2064 * string/strcoll_l.c (coll_seq): New members rule, idx,
2065 save_idx and back_us.
2066 (get_next_seq_nocache): New function.
2067 (do_compare_nocache): New function.
2068 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
2069 when malloc fails.
2070
c61b4d41
CD
20712013-09-23 Carlos O'Donell <carlos@redhat.com>
2072
0b1f8e35
CD
2073 [BZ #15754]
2074 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
2075 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
2076 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
2077
c61b4d41
CD
2078 [BZ #15754]
2079 * elf/Makefile (tests): Add tst-ptrguard1.
2080 (tests-static): Add tst-ptrguard1-static.
2081 (tst-ptrguard1-ARGS): Define.
2082 (tst-ptrguard1-static-ARGS): Define.
2083 * elf/tst-ptrguard1.c: New file.
2084 * elf/tst-ptrguard1-static.c: New file.
2085 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
2086 * sysdeps/i386/stackguard-macros.h: Likewise.
2087 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2088 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2089 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2090 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2091 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2092 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2093
20942013-09-23 Hector Marco <hecmargi@upv.es>
2095 Ismael Ripoll <iripoll@disca.upv.es>
2096 Carlos O'Donell <carlos@redhat.com>
2097
2098 [BZ #15754]
2099 * sysdeps/generic/stackguard-macros.h: Define
2100 __pointer_chk_guard_local and POINTER_CHK_GUARD.
2101 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
2102 Define __pointer_chk_guard_local.
2103 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
2104 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
2105
f5f4e7b4
VV
21062013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
2107
2108 [BZ #15859]
2109 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
2110
5bb43a43
AS
21112013-09-20 Andreas Schwab <schwab@linux-m68k.org>
2112
2113 * include/string.h (__ffs): Declare as hidden.
2114 * string/ffs.c (__ffs): Define as hidden.
2115 * sysdeps/i386/ffs.c (__ffs): Likewise.
2116 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
2117 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
2118 * sysdeps/s390/ffs.c (__ffs): Likewise.
2119 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
2120
3ea5be54
AO
21212013-09-20 Alexandre Oliva <aoliva@redhat.com>
2122
ffb89e53
AO
2123 * NEWS: Mention malloc probes.
2124
322dea08
AO
2125 * malloc/arena.c (new_heap): New memory_heap_new probe.
2126 (grow_heap): New memory_heap_more probe.
2127 (shrink_heap): New memory_heap_less probe.
2128 (heap_trim): New memory_heap_free probe.
2129 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
2130 (systrim): New memory_sbrk_less probe.
2131 * manual/probes.texi: Document them.
2132
655673f3
AO
2133 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
2134 * manual/probes.texi: Document it.
2135
35fed6f1
AO
2136 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
2137 (__libc_realloc): Add memory_realloc_retry probe.
2138 (__libc_memalign): Add memory_memalign_retry probe.
2139 (__libc_valloc): Add memory_valloc_retry probe.
2140 (__libc_pvalloc): Add memory_pvalloc_retry probe.
2141 (__libc_calloc): Add memory_calloc_retry probe.
2142 * manual/probes.texi: Document them.
2143
6999d38c
AO
2144 * malloc/arena.c (get_free_list): Add probe
2145 memory_arena_reuse_free_list.
2146 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
2147 and memory_arena_reuse.
2148 (arena_get2) [!PER_THREAD]: Likewise.
2149 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
2150 memory_arena_reuse_realloc.
2151 * manual/probes.texi: Document them.
2152
0653427f
AO
2153 * malloc/malloc.c (__libc_free): Add
2154 memory_mallopt_free_dyn_thresholds probe.
2155 (__libc_mallopt): Add multiple memory_mallopt probes.
2156 * manual/probes.texi: Document them.
2157
3ea5be54
AO
2158 * malloc/malloc.c: Include stap-probe.h.
2159 (__libc_mallopt): Add memory_mallopt probe.
2160 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
2161 * manual/probes.texi: New.
2162 * manual/Makefile (chapters): Add probes.
2163 * manual/threads.texi: Set next node.
2164
e35696c3 21652013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 2166
e35696c3
CL
2167 [BZ #15963, #13985]
2168 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
2169 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
2170 Add `Chinese' to `nan' entry name.
2171
4aafb73c
SP
21722013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2173
2174 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
2175 (POLYNOMIAL): Likewise.
2176 (TAYLOR_SINCOS): Likewise.
2177 (TAYLOR_SLOW): Likewise.
2178 (__sin): Use TAYLOR_SINCOS.
2179 (__cos): Likewise.
2180 (slow): Use TAYLOR_SLOW.
2181 (sloww): Likewise.
2182 (bsloww): Likewise.
2183 (csloww): Likewise.
2184
d84f25c7
LD
21852013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2186
2187 * stdlib/strtod_l.c: Fix buffer overrun.
2188
5eea0404
SP
21892013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2190
7849ff93
SP
2191 * benchtests/Makefile (bench): Add sincos.
2192 * benchtests/bench-sincos.c: New file.
2193
cfa3c886
SP
2194 * math/libm-test.inc (cos_test_data): New test inputs.
2195 (sin_test_data): Likewise.
2196
b348e1e3
SP
2197 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
2198 macro.
2199 (__sin): Use it.
2200 (__cos): Likewise.
2201 (slow1): Likewise.
2202 (slow2): Likewise.
2203 (sloww1): Likewise.
2204 (sloww2): Likewise.
2205 (bsloww1): Likewise.
2206 (bsloww2): Likewise.
2207 (cslow2): Likewise.
2208 (csloww1): Likewise.
2209 (csloww2): Likewise.
2210
6cce25f8
SP
2211 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
2212 function.
2213 (__sin): Use it.
2214 (__cos): Likewise.
2215
5eea0404
SP
2216 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
2217 gotos.
2218 (__cos): Likewise.
2219
9c21573c
MR
22202013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
2221
2222 * config.h.in (HAVE_MIPS_NAN2008): New macro.
2223 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
2224 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
2225 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
2226 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
2227 * elf/cache.c (print_entry): Handle the new cache flags.
2228
24d22e65
JM
22292013-09-18 Joseph Myers <joseph@codesourcery.com>
2230 Aldy Hernandez <aldyh@redhat.com>
2231
2232 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
2233 Change condition to [_SOFT_FLOAT].
2234 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
2235 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
2236 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
2237 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
2238 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
2239 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
2240 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
2241 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
2242 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
2243 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
2244 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
2245 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
2246 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
2247 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
2248 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
2249 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
2250 declaration.
2251
d13ef066
JM
22522013-09-18 Joseph Myers <joseph@codesourcery.com>
2253
2e071de0
JM
2254 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
2255 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2256 (__longjmp): Use LOAD_GP to load saved GPRs.
2257 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
2258 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2259 (__sigsetjmp): Use SAVE_GP to save GPRs.
2260
d13ef066
JM
2261 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
2262 Do not append -msoft-float.
2263 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
2264
97a0650b
SP
22652013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2266
2267 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
2268
11ca09e9
JM
22692013-09-17 Joseph Myers <joseph@codesourcery.com>
2270
2271 [BZ #15966]
2272 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
2273 (_FPU_GETCW): Use initial "__" on variable and field names but not
2274 on macro parameter name.
2275 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
2276 parentheses around reference to macro parameter.
2277
08ffcf34
RS
22782013-09-13 Richard Sandiford <richard@codesourcery.com>
2279
2280 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
2281 prototype.
2282 (ctype_startup): Use uint32_t in cast and sizeof for
2283 ctype->charnames.
2284
ae7080d3
JL
22852013-09-11 Jia Liu <proljc@gmail.com>
2286
2287 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
2288 __daddr_t_defined.
2289 [__FreeBSD__]: Likewise.
2290
5905e7b3
OB
22912013-09-11 Ondřej Bílka <neleai@seznam.cz>
2292
2293 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2294 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
2295 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
2296 (strchr): Remove __strchr_sse42 ifunc selection.
2297 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
2298 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
2299
b987c776
WN
23002013-09-11 Will Newton <will.newton@linaro.org>
2301
2302 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
2303 parameter to RES. Remove hardcoded 1000 value.
2304 * benchtests/bench-skeleton.c (main): Pass RES parameter
2305 to TIMING_INIT and multiply result by 1000.
2306
ddf985af
AZ
23072013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2308
2309 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2310
ffdd3181
AS
23112013-09-11 Andreas Schwab <schwab@suse.de>
2312
2313 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
2314 if not defined.
2315 (O_TMPFILE) [__USE_GNU]: Define.
2316 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
2317 Define.
2318
b73ed247
WN
23192013-09-11 Will Newton <will.newton@linaro.org>
2320
2321 [BZ #15857]
2322 * malloc/malloc.c (__libc_memalign): Check the value of bytes
2323 does not overflow.
2324
55e17aad
WN
23252013-09-11 Will Newton <will.newton@linaro.org>
2326
2327 [BZ #15856]
2328 * malloc/malloc.c (__libc_valloc): Check the value of bytes
2329 does not overflow.
2330
1159a193
WN
23312013-09-11 Will Newton <will.newton@linaro.org>
2332
2333 [BZ #15855]
2334 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
2335 does not overflow.
2336
5905e7b3 23372013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
2338
2339 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
2340 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2341 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2342 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2343 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2344
cdfc721b
AM
23452013-09-10 Allan McRae <allan@archlinux.org>
2346
aa04af00
AM
2347 [BZ #15748]
2348 * manual/arith.texi (Parsing of Floats): Clarify
2349 cross-reference.
2350
cdfc721b
AM
2351 [BZ #15849]
2352 * manual/install.texi (Running make install): Mention
2353 --enable-pt-chown.
2354 * INSTALL: Regenerated.
2355
95e7cf29
MR
23562013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2357
2358 * csu/init-first.c (_init): Remove the !SHARED condition around
2359 FPU control word initialization.
2360 * elf/dl-support.c (_dl_fpu_control): New variable.
2361 (_dl_aux_init) <AT_FPUCW>: Initialize it.
2362 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
2363 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
2364 * math/test-fpucw-static.c: New file.
2365 * math/test-fpucw-ieee.c: New file.
2366 * math/test-fpucw-ieee-static.c: New file.
2367 * math/Makefile (tests): Add `test-fpucw-ieee' and
2368 `$(tests-static)'.
2369 (tests-static): New variable.
2370 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
2371 dependency to...
2372 [($(build-shared),yes)]
2373 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2374 ... this.
2375 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
2376 New dependency.
2377
83e43bf0
AM
23782013-09-09 Allan McRae <allan@archlinux.org>
2379
a9f5ce09
AM
2380 [BZ #15939]
2381 * manual/string.texi (Collation Functions): Fix typo in
2382 strcoll example.
2383 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
2384
34829bc2
AM
2385 [BZ #15893]
2386 * stdlib/isomac.c (get_null_defines): Fix memory leak.
2387
3932737d
AM
2388 [BZ #15892]
2389 * libio/memstream.c (open_memstream): Fix memory leak.
2390 * libio/wmemstream.c (open_wmemstream): Likewise.
2391
83e43bf0
AM
2392 [BZ #15895]
2393 * nscd/netgroupcache.c: Fix nesting of ifdefs.
2394
0c66b8e9
WN
23952013-09-09 Will Newton <will.newton@linaro.org>
2396
2397 * malloc/Makefile: Add tst-realloc to tests.
2398 * malloc/tst-realloc.c: New file.
2399
f6b00fd1
AM
24002013-09-09 Allan McRae <allan@archlinux.org>
2401
2402 [BZ #15844]
2403 * COPYING: Update from GNU website to fix FSF address.
2404 * COPYING.LIB: Likewise.
2405
eec55e16
DM
24062013-09-06 David S. Miller <davem@davemloft.net>
2407
2408 * po/zh_TW.po: Update Chinese (traditional) translation from
2409 translation project.
2410
1ecbb381
RS
24112013-09-06 Richard Sandiford <richard@codesourcery.com>
2412 Joseph Myers <joseph@codesourcery.com>
2413
2414 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
2415 "localeinfo.h".
2416 (obstack_chunk_alloc): New macro.
2417 (obstack_chunk_free): Likewise.
2418 (record_offset): New function.
2419 (init_locale_data): Likewise.
2420 (align_locale_data): Likewise.
2421 (add_locale_empty): Likewise.
2422 (add_locale_raw_data): Likewise.
2423 (add_locale_raw_obstack): Likewise.
2424 (add_locale_string): Likewise.
2425 (add_locale_wstring): Likewise.
2426 (add_locale_uint32): Likewise.
2427 (add_locale_uint32_array): Likewise.
2428 (add_locale_char): Likewise.
2429 (start_locale_structure): Likewise.
2430 (end_locale_structure): Likewise.
2431 (start_locale_prelude): Likewise.
2432 (end_locale_prelude): Likewise.
2433 (write_locale_data): Take locale_file structure rather than an
2434 iovec.
2435 * locale/programs/locfile.h: Include "obstack.h".
2436 (struct locale_file): Change to store locale file contents instead
2437 of header.
2438 (init_locale_data): New prototype.
2439 (align_locale_data): Likewise.
2440 (add_locale_empty): Likewise.
2441 (add_locale_raw_data): Likewise.
2442 (add_locale_raw_obstack): Likewise.
2443 (add_locale_string): Likewise.
2444 (add_locale_wstring): Likewise.
2445 (add_locale_uint32): Likewise.
2446 (add_locale_uint32_array): Likewise.
2447 (add_locale_char): Likewise.
2448 (start_locale_structure): Likewise.
2449 (end_locale_structure): Likewise.
2450 (start_locale_prelude): Likewise.
2451 (end_locale_prelude): Likewise.
2452 (write_locale_data): Update prototype.
2453 * locale/programs/3level.h (struct TABLE): Remove result field.
2454 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
2455 Use new locale_file interface.
2456 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
2457 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
2458 * locale/programs/ld-address.c (address_output): Use new
2459 locale_file interface.
2460 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
2461 NO_ADD_LOCALE.
2462 (collate_finish): Don't call collseq_table_finalize.
2463 (collate_output): Use new locale_file interface.
2464 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
2465 in file.
2466 (NO_FINALIZE): Change to NO_ADD_LOCALE.
2467 (TABLE): Move defines earlier in file.
2468 (ELEMENT): Likewise.
2469 (DEFAULT): Likewise.
2470 (wctrans_table_add): Move macro and inline function earlier in
2471 file.
2472 (struct wctype_table): Move type earlier in file.
2473 (add_locale_wctype_table): New static prototype.
2474 (struct locale_ctype_t): Use logical types instead of struct iovec
2475 pointers for members.
2476 (ctype_output): Use new locale_file interface.
2477 (wctype_table_finalize): Change to add_locale_wctype_table. Use
2478 new locale_file interface.
2479 (allocate_arrays): Update for use of new locale_file interface.
2480 * locale/programs/ld-identification.c (identification_output): Use
2481 new locale_file interface.
2482 * locale/programs/ld-measurement.c (measurement_output): Likewise.
2483 * locale/programs/ld-messages.c (messages_output): Likewise.
2484 * locale/programs/ld-monetary.c (monetary_output): Likewise.
2485 * locale/programs/ld-name.c (name_output): Likewise.
2486 * locale/programs/ld-numeric.c (numeric_output): Likewise.
2487 * locale/programs/ld-paper.c (paper_output): Likewise.
2488 * locale/programs/ld-telephone.c (telephone_output): Likewise.
2489 * locale/programs/ld-time.c (time_output): Likewise.
2490
e029e2e5
AZ
24912013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2492
2493 * benchtests/Makefile: Add memrchr benchmark.
2494 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
2495 benchmark as memrchr.
2496 * benchtests/bench-memrchr-ifunc.c: New file.
2497 * benchtests/bench-memrchr.c: New file.
2498
bbf6e8e4
WN
24992013-09-06 Will Newton <will.newton@linaro.org>
2500
2501 * benchtests/Makefile (string-bench): Add memcpy.
2502
6c82a2f8
CD
25032013-09-05 Carlos O'Donell <carlos@redhat.com>
2504 Cong Wang <amwang@redhat.com>
2505
2506 * sysdeps/unix/sysv/linux/bits/in.h
2507 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
2508 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
2509 before __USE_KERNEL_IPV6_DEFS uses.
2510 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
2511 IPPROTO_BEETPH.
2512 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
2513 sockaddr_in6, or ipv6_mreq.
2514
5430fc65
AZ
25152013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2516
2517 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
2518 memory access for final bytes in some large inputs.
2519 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
2520
4660856c
AZ
25212013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2522
2523 * string/test-memrchr.c: New file.
2524 * string/test-memrchr-ifunc.c: New file.
2525 * string/Makefile: Add new memrchr testcase.
2526
bb8ea713
MF
25272013-09-05 Mike Frysinger <vapier@gentoo.org>
2528
2529 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
2530 fanotify_init returns EPERM.
2531
b92a20b5
JM
25322013-09-04 Joseph Myers <joseph@codesourcery.com>
2533
2534 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
2535 errors.
2536 (top level): Treat second token from macro or constant entries for
2537 allowed headers as allowed.
2538 * include/complex.h: Condition internal declarations on
2539 [!_ISOMAC].
2540 * include/fenv.h: Condition include of <stdbool.h> and internal
2541 declarations on [!_ISOMAC].
7447ccd9
CL
2542
25432013-09-04 Chris Leonard <cjl@sugarlabs,.org>
2544
3e181dda 2545 [BZ #15923]
7447ccd9
CL
2546 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
2547
3f2e46a4
JM
25482013-09-04 Joseph Myers <joseph@codesourcery.com>
2549
2550 * configure.in (--enable-versioning): Remove configure option.
2551 (libc_cv_asm_symver_directive): Remove configure test.
2552 (libc_cv_ld_version_script_option): Likewise.
2553 (VERSIONING): Remove variable and AC_SUBST.
2554 (DO_VERSIONING): Remove AC_DEFINE.
2555 * configure: Regenerated.
2556 * config.h.in (DO_VERSIONING): Remove macro.
2557 * Makerules [$(versioning) = yes]: Change conditionals to
2558 [$(build-shared) = yes].
2559 * config.make.in (versioning): Remove variable.
2560 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
2561 [$(build-shared) = yes].
2562 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
2563 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
2564 * elf/Makefile [$(versioning) = yes]: Change conditionals to
2565 [$(build-shared) = yes].
2566 * extra-lib.mk [$(versioning) = yes]: Likewise.
2567 * hurd/Makefile [$(versioning) = yes]: Likewise.
2568 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
2569 [SHARED].
2570 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
2571 [SHARED].
2572 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2573 [SHARED && !NO_HIDDEN].
2574 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
2575 [SHARED].
2576 [SHARED && DO_VERSIONING]: Likewise..
2577 * libio/Makefile [$(versioning) = yes]: Change conditionals to
2578 [$(build-shared) = yes].
2579 * manual/install.texi (--disable-versioning): Remove
2580 documentation.
2581 * INSTALL: Regenerated.
2582 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
2583 to [SHARED].
2584 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
2585 [$(build-shared) = yes].
2586 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
2587 * sysdeps/i386/i686/multiarch/strstr-c.c
2588 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2589 [SHARED && !NO_HIDDEN].
2590 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
2591 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
2592 * sysdeps/powerpc/powerpc32/dl-machine.c
2593 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
2594 * sysdeps/powerpc/powerpc32/sysdep.h
2595 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
2596 to [SHARED && PIC && !NO_HIDDEN].
2597 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
2598 conditional to [SHARED].
2599
44558701
WN
26002013-09-04 Will Newton <will.newton@linaro.org>
2601
2602 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
2603 * benchtests/bench-string.h: Include bench-timing.h instead
2604 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
2605 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
2606 call to HP_TIMING_DIFF_INIT.
2607 * benchtests/bench-memccpy.c: Use bench-timing.h macros
2608 instead of hp-timing.h macros.
2609 * benchtests/bench-memchr.c: Likewise.
2610 * benchtests/bench-memcmp.c: Likewise.
2611 * benchtests/bench-memcpy.c: Likewise.
2612 * benchtests/bench-memmem.c: Likewise.
2613 * benchtests/bench-memmove.c: Likewise.
2614 * benchtests/bench-memset.c: Likewise.
2615 * benchtests/bench-rawmemchr.c: Likewise.
2616 * benchtests/bench-strcasecmp.c: Likewise.
2617 * benchtests/bench-strcasestr.c: Likewise.
2618 * benchtests/bench-strcat.c: Likewise.
2619 * benchtests/bench-strchr.c: Likewise.
2620 * benchtests/bench-strcmp.c: Likewise.
2621 * benchtests/bench-strcpy.c: Likewise.
2622 * benchtests/bench-strcpy_chk.c: Likewise.
2623 * benchtests/bench-strlen.c: Likewise.
2624 * benchtests/bench-strncasecmp.c: Likewise.
2625 * benchtests/bench-strncat.c: Likewise.
2626 * benchtests/bench-strncmp.c: Likewise.
2627 * benchtests/bench-strncpy.c: Likewise.
2628 * benchtests/bench-strnlen.c: Likewise.
2629 * benchtests/bench-strpbrk.c: Likewise.
2630 * benchtests/bench-strrchr.c: Likewise.
2631 * benchtests/bench-strspn.c: Likewise.
2632 * benchtests/bench-strstr.c: Likewise.
2633
cae16d66
WN
26342013-09-04 Will Newton <will.newton@linaro.org>
2635
2636 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
2637
ffa3cd7f
JM
26382013-09-03 Joseph Myers <joseph@codesourcery.com>
2639
2640 [BZ #15427]
2641 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2642 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
2643 * math/libm-test.inc (lgamma_test_data): Add more tests.
2644 * sysdeps/i386/fpu/libm-test-ulps: Update.
2645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2646
8f02859f
OB
26472013-09-03 Ondřej Bílka <neleai@seznam.cz>
2648
2649 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
2650 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2651 Add ifunc.
2652 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2653 Add strcmp-sse2-unaligned
2654 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
2655
18d43716
MF
26562013-09-02 Mike Frysinger <vapier@gentoo.org>
2657
2658 * Versions.def (libc): Add GLIBC_2.19.
2659
ac444012
MF
26602013-09-02 Mike Frysinger <vapier@gentoo.org>
2661
2662 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
2663 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
2664
b7835e32
JM
26652013-09-02 Joseph Myers <joseph@codesourcery.com>
2666
2667 [BZ #14155]
2668 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
2669 intermediate calculations in recurrence.
2670 (__ieee754_ynf): Likewise.
2671 * math/libm-test.inc (jn_test_data): Do not allow spurious
2672 underflow exception. Add more tests.
2673 (yn_test_data): Add more tests.
2674 * sysdeps/i386/fpu/libm-test-ulps: Update.
2675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2676
8220f4f0
OB
26772013-09-02 Ondřej Bílka <neleai@seznam.cz>
2678
2679 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
2680
f24a6d08
OB
26812013-08-30 Ondřej Bílka <neleai@seznam.cz>
2682
2683 * csu/init-first.c: Fix then/than typos.
2684 * locale/programs/ld-collate.c: Likewise.
2685 * locale/programs/linereader.h: Likewise.
2686 * manual/charset.texi: Likewise.
2687 * manual/filesys.texi: Likewise.
2688 * manual/stdio.texi: Likewise.
2689 * manual/string.texi: Likewise.
2690 * stdlib/fmtmsg.c: Likewise.
2691 * sysdeps/i386/stpncpy.S: Likewise.
2692 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2693 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2694 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2695 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2696
382466e0
OB
26972013-08-30 Ondřej Bílka <neleai@seznam.cz>
2698
2699 * elf/dl-open.c: Fix typos.
2700 * iconvdata/gbbig5.c: Likewise.
2701 * iconvdata/iso-2022-jp.c: Likewise.
2702 * iconv/gconv_int.h: Likewise.
2703 * iconv/loop.c: Likewise.
2704 * nis/rpcsvc/nis.h: Likewise.
2705 * resolv/ns_name.c: Likewise.
2706 * stdio-common/vfscanf.c: Likewise.
2707 * streams/stropts.h: Likewise.
2708 * sunrpc/rpc_thread.c: Likewise.
2709 * sysdeps/i386/strpbrk.S: Likewise.
2710 * sysdeps/ieee754/k_standard.c: Likewise.
2711 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2712 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2713 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2714 * sysdeps/mach/hurd/profil.c: Likewise.
2715 * sysdeps/s390/dl-procinfo.h: Likewise.
2716 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2717 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2718 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
2719 * sysdeps/x86_64/dl-trampoline.S: Likewise.
2720 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2721
0186c6e9
OB
27222013-08-30 Ondřej Bílka <neleai@seznam.cz>
2723
2724 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
2725 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
2726
d4e16af1
OB
27272013-08-29 Ondřej Bílka <neleai@seznam.cz>
2728
2729 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
2730 aix specific files.
2731 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
2732 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
2733 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
2734 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
2735 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
2736 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
2737 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
2738 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
2739
88335980
TS
27402013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2741 Roland McGrath <roland@hack.frob.com>
2742
2743 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
2744 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2745
ed479b02
ST
27462013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
2747
2748 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
2749 __executable_start symbol instead of _start.
2750
f1cc4c86
TS
27512013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2752
d821f07c
TS
2753 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
2754 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
2755 Move macros to...
2756 * sysdeps/gnu/ldsodefs.h: ... this new file.
2757
c54290cf
TS
2758 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
2759 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
2760 instead of ELFOSABI_LINUX.
2761
0007fc9b 2762 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
2763 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
2764 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
2765 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
2766 Likewise.
2767 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
2768 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
2769 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
2770 Likewise.
2771 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2772 (ibm_extended_long_double): Add ieee_nan member.
2773 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
2774 (do_test): New function.
2775
f1cc4c86
TS
2776 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
2777 TEST_TRUNC.
2778 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
2779 functions, renamed from truncdfsf_test, trunctfsf_test,
2780 trunctfdf_test.
2781 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
2782 functions.
2783 (do_test): Run all these.
2784
6f65e668
OB
27852013-08-29 Ondřej Bílka <neleai@seznam.cz>
2786
2787 * argp/argp-help.c: Fix typos.
2788 * argp/argp-parse.c: Likewise.
2789 * debug/backtracesyms.c: Likewise.
2790 * elf/elf.h: Likewise.
2791 * malloc/malloc.c: Likewise.
2792 * nis/nis_print.c: Likewise.
2793 * resolv/res_comp.c: Likewise.
2794 * stdlib/stdlib.h: Likewise.
2795 * sunrpc/clnt_tcp.c: Likewise.
2796 * sunrpc/clnt_udp.c: Likewise.
2797 * sunrpc/clnt_unix.c: Likewise.
2798 * sysdeps/unix/bsd/ptsname.c: Likewise.
2799 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2800 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
2801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
2802 Likewise.
2803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2804 Likewise.
2805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2806 Likewise.
6f65e668
OB
2807 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2808
3a309239
SP
28092013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2810
2811 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
2812 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2813
3b813b29
MF
28142013-08-27 Mike Frysinger <vapier@gentoo.org>
2815
2816 [BZ #15897]
2817 * dlfcn/Makefile (tests): Add bug-dl-leaf.
2818 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
2819 ($(objpfx)bug-dl-leaf): New rule.
2820 ($(objpfx)bug-dl-leaf.so): Likewise.
2821 ($(objpfx)bug-dl-leaf.out): Likewise.
2822 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
2823 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
2824 * dlfcn/bug-dl-leaf.c: New test.
2825 * dlfcn/bug-dl-leaf-lib.c: Likewise.
2826 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
2827 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
2828 (dlclose): Likewise.
2829 (dlmopen): Likewise.
2830
8cc3269f
RM
28312013-08-27 Roland McGrath <roland@hack.frob.com>
2832
7f9d0034
RM
2833 * include/netdb.h [!_ISOMAC]:
2834 Don't include <tls.h>.
2835 (h_errno, __libc_h_errno): Move declaration and macros out of
2836 [_LIBC_REENTRANT].
2837
fb431262
RM
2838 * include/resolv.h [_RESOLV_H_]:
2839 Don't include <tls.h>.
2840 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
2841 * resolv/res_libc.c: Don't include <tls.h>.
2842 (_res): Use __attribute__ ((nocommon)) in place of
2843 __attribute__ ((section (".bss"))).
2844
bd81123a
RM
2845 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
2846 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
2847
c4e42566
RM
2848 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
2849
f890a59b
RM
2850 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
2851 only under [SIOCGIFCONF && SIOCGIFNETMASK].
2852
2853 * resolv/res_mkquery.c: Include <sys/time.h>.
2854
5d1f0a09
RM
2855 * inet/ifreq.c: Moved to ...
2856 * sysdeps/unix/ifreq.c: ... here.
2857 * inet/ifreq.c: New file, true stub version.
2858
6fcf28b3
RM
2859 * socket/sa_len.c: New file.
2860 * socket/Makefile (aux): Add it.
2861 * sysdeps/unix/sysv/linux/Makefile
2862 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
2863 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
2864 and #include <socket/sa_len.c>.
2865 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
2866 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
2867
e041fb8b
RM
2868 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
2869 * bits/socket.h: ... here.
2870
8cc3269f
RM
2871 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
2872 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
2873 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
2874
5d228a43
AS
28752013-08-27 Andreas Schwab <schwab@suse.de>
2876
45b8accc
AS
2877 [BZ #15736]
2878 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
2879 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
2880 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
2881 * string/test-strcasecmp.c (test_main): Run tests in several
2882 locales.
2883 * string/test-strncasecmp.c (test_main): Likewise.
2884
5d228a43
AS
2885 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
2886 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
2887 to __strcasecmp_nonascii and __strncasecmp_nonascii.
2888 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
2889 (__strncasecmp_ssse3) [PIC]: Likewise.
2890
59d112a4
RM
28912013-08-26 Roland McGrath <roland@hack.frob.com>
2892
53234cc3
RM
2893 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
2894
59d112a4
RM
2895 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
2896 instead of explicitly declaring xdecrypt.
2897 * nis/nss_nis/nis-publickey.c: Likewise.
2898
595aba70
SP
28992013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2900
2901 [BZ #15890]
2902 * nscd/aicache.c: Include res_hconf.h.
2903 (addhstaiX): Initialize res_hconf.
2904
ffabd393
AS
29052013-08-26 Andreas Schwab <schwab@suse.de>
2906
2907 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
2908 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
2909
e0a69f5c
SP
29102013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2911
2912 * nscd/aicache.c (addhstaiX): Fix indentation.
2913
8c12f01d
MF
29142013-08-25 Mike Frysinger <vapier@gentoo.org>
2915
2916 * configure.ac: Quote $build_pt_chown test.
2917 * configure: Regenerated.
2918
8fe89494
JM
29192013-08-23 Joseph Myers <joseph@codesourcery.com>
2920
2921 [BZ #15532]
2922 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
2923 * math/s_cexpf.c (__cexpf): Likewise.
2924 * math/s_cexpl.c (__cexpl): Likewise.
2925 * math/libm-test.inc (cexp_test_data): Correct expected return
2926 value for NaN + i0. Add another test.
2927
75b181d6
DM
29282013-08-22 David S. Miller <davem@davemloft.net>
2929
2930 * po/ca.po: Update Catalan translation from translation project.
936241e4 2931 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 2932
acd06bb1
JM
29332013-08-21 Joseph Myers <joseph@codesourcery.com>
2934
2935 [BZ #15797]
2936 * math/s_fdim.c (__fdim): Check for infinite arguments if result
2937 is infinite, not alongside NaN test.
2938 * math/s_fdimf.c (__fdimf): Likewise.
2939 * math/s_fdiml.c (__fdiml): Likewise.
2940 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
2941 errno is unchanged.
2942
c0c3f78a
OB
29432013-08-21 Ondřej Bílka <neleai@seznam.cz>
2944
2945 * argp/argp-help.c: Fix typos.
2946 * crypt/speeds.c: Likewise.
2947 * csu/check_fds.c: Likewise.
2948 * elf/dl-load.c: Likewise.
2949 * elf/dl-open.c: Likewise.
2950 * elf/reldep3.c: Likewise.
2951 * elf/reldep.c: Likewise.
2952 * elf/sprof.c: Likewise.
2953 * iconv/iconv_charmap.c: Likewise.
2954 * iconv/skeleton.c: Likewise.
2955 * iconv/strtab.c: Likewise.
2956 * io/lockf64.c: Likewise.
2957 * libio/libioP.h: Likewise.
2958 * resolv/gai_notify.c: Likewise.
2959 * resolv/ns_name.c: Likewise.
2960 * resolv/ns_samedomain.c: Likewise.
2961 * resolv/res_send.c: Likewise.
2962 * stdlib/random.c: Likewise.
2963 * sunrpc/rpc/xdr.h: Likewise.
2964 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
2965 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2966 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2967 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2968 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2969 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2970 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2971 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2972 * sysdeps/mach/hurd/check_fds.c: Likewise.
2973 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2974 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2975 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2976 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2977 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2978 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2979 * sysdeps/pthread/aio_notify.c: Likewise.
2980 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
2981 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
2982 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
2983 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2984 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2985
46ed1038
LD
29862013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2987
2988 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
2989 version if bit_Slow_SSE4_2 is set.
2990 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2991 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2992
d400dcac
AZ
29932013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2994
2995 [BZ #15867]
2996 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
2997 trampoline stack frame information.
2998 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
2999 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
3000 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
3001 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
3002 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
3003 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3004 (_libc_vdso_platform_setup): Initialize the signal trampolines.
3005 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
3006 sa_flags value.
3007 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
3008 interrupting a syscall and set with option SA_SIGINFO.
3009
42c8fdd8
JM
30102013-08-20 Joseph Myers <joseph@codesourcery.com>
3011
c980f2f4
JM
3012 [BZ #15531]
3013 * math/s_cproj.c (__cproj): Only return an infinity if one part of
3014 argument is infinite.
3015 * math/s_cprojf.c (__cprojf): Likewise.
3016 * math/s_cprojl.c (__cprojl): Likewise.
3017 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
3018 * math/libm-test.inc (cproj_test_data): Add more tests.
3019
0716c4fc
JM
3020 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
3021
42c8fdd8
JM
3022 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
3023 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
3024 size. Use __ffs to determine corresponding shift.
3025
b31469d0
JM
30262013-08-20 Joseph Myers <joseph@codesourcery.com>
3027 Roland McGrath <roland@hack.frob.com>
3028
3029 * Makefile (INSTALL): Remove trailing blank lines from output of
3030 makeinfo.
3031
4e39af6e
AK
30322013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3033
3034 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
3035 Align 32 bit compat elf_greg to 8 bytes.
3036
f315524e
AA
30372013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
3038
3039 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
3040
1326ba1a
SP
30412013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3042
3043 * string/strcoll_l.c (coll_seq): New structure.
3044 (get_next_seq_cached): New function.
3045 (get_next_seq): New function.
3046 (do_compare): New function.
3047 (STRCOLL): Use GNU style definition. Simplify implementation
3048 by using get_next_seq, get_next_seq_cached and do_compare.
3049
91ce4085
FW
30502013-08-16 Florian Weimer <fweimer@redhat.com>
3051
3052 [BZ #14699]
3053 CVE-2013-4237
3054 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
3055 member.
3056 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
3057 member.
3058 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
3059 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
3060 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
3061 conditional.
3062 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
3063 GETDENTS_64BIT_ALIGNED.
3064 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
3065 * manual/filesys.texi (Reading/Closing Directory): Document
3066 ENAMETOOLONG return value of readdir_r. Recommend readdir more
3067 strongly.
3068 * manual/conf.texi (Limits for Files): Add portability note to
3069 NAME_MAX, PATH_MAX.
3070 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
3071
ca0a6bc4
AS
30722013-08-13 Andreas Schwab <schwab@suse.de>
3073
3074 [BZ #15749]
3075 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
3076 of fabs.
3077 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
3078 LDBL_MAX_EXP >= 16384]: Add tests for it.
3079
6c1fd795
DM
30802013-08-12 David S. Miller <davem@davemloft.net>
3081
3082 * version.h (RELEASE): Set to "development".
3083 (VERSION): Set to "2.18.90".
3084 * NEWS: Add 2.19 section.
3085
31ad488d
DM
30862013-08-03 David S. Miller <davem@davemloft.net>
3087
3088 * po/ko.po: Update Korean translation from translation project.
3089
db24e684
DM
30902013-08-01 David S. Miller <davem@davemloft.net>
3091
3092 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
3093 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
3094 Bilka.
3095
f723285b
DM
30962013-07-30 David S. Miller <davem@davemloft.net>
3097
3098 * po/fr.po: Update French translation from translation project.
3099
3cbc52db
DM
31002013-07-28 David S. Miller <davem@davemloft.net>
3101
30bbc0cc
DM
3102 * po/cs.po: Update Czech translation from translation project.
3103
3cbc52db
DM
3104 * po/sv.po: Update Swedish translation from translation project.
3105
d492e6d0
DM
31062013-07-27 David S. Miller <davem@davemloft.net>
3107
f1a7f492
DM
3108 * po/eo.po: Update Esperanto translation from translation project.
3109
90e62a4a
DM
3110 * po/vi.po: Update Vietnamese translation from translation project.
3111
d492e6d0
DM
3112 * po/de.po: Update German translation from translation project.
3113
d4baa62d
DM
31142013-07-26 David S. Miller <davem@davemloft.net>
3115
641aa7b4
DM
3116 * po/bg.po: Update Bulgarian translation from translation project.
3117
d4baa62d
DM
3118 * po/nl.po: Update Dutch translation from translation project.
3119 * po/pl.po: Update Polish translation from translation project.
3120 * po/ru.po: Update Russian translation from translation project.
3121
61a9dcb9
DM
31222013-07-24 David S. Miller <davem@davemloft.net>
3123
3124 * po/libc.pot: Update.
3125
7b1f8b58
AZ
31262013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3127
3128 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
3129 variable page size.
3130 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
3131 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
3132 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
3133
a8fc7a03
AK
31342013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3135
3136 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
3137
e4608715
CD
31382013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3139 Andreas Schwab <schwab@suse.de>
3140 Roland McGrath <roland@hack.frob.com>
3141 Joseph Myers <joseph@codesourcery.com>
3142 Carlos O'Donell <carlos@redhat.com>
3143
3144 [BZ #15755]
3145 * config.h.in: Define HAVE_PT_CHOWN.
3146 * config.make.in (build-pt-chown): New variable.
3147 * configure.in (--enable-pt_chown): New configure option.
3148 * configure: Regenerate.
3149 * login/Makefile: Include Makeconfig. Build pt_chown only if
3150 build-pt-chown is enabled.
3151 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
3152 pt_chown to fix pty ownership.
3153 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
3154 CLOSE_ALL_FDS.
3155 * manual/install.texi (Configuring and compiling): Mention
3156 --enable-pt_chown. Add @findex for grantpt.
3157 * INSTALL: Regenerate.
3158
da2d62df
DM
31592013-07-20 David S. Miller <davem@davemloft.net>
3160
3161 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
3162 difference between 32-bit and 64-bit.
3163
d7e06450
CD
31642013-07-15 Carlos O'Donell <carlos@redhat.com>
3165
3166 [BZ #15711]
3167 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
3168 Avoid system header dependency with -ffreestanding.
3169 ($(objpfx)bits/syscall%d): Likewise.
3170
f959cfd7
DM
31712013-07-13 David S. Miller <davem@davemloft.net>
3172
3173 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
3174 underflows from atanl/atan2l due to bug 15319.
3175 (casinh_test_data): Likewise.
3176
c61f8513
DM
31772013-07-07 David S. Miller <davem@davemloft.net>
3178
3179 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3180
72c90ed0
JA
31812013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
3182
3183 * sysdeps/i386/fpu/libm-test-ulps: Update.
3184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3185
52dfbe13
SP
31862013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3187
3188 * configure.in (--enable-lock-elision): Fix message text.
3189 * INSTALL: Regenerate.
3190 * configure: Regenerate.
3191
3f169543
AZ
31922013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3193
3194 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3195
521c6785
AJ
31962013-07-03 Andreas Jaeger <aj@suse.de>
3197
3198 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
3199 define.
3200 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
3201 (ptrace_peeksiginfo_args): Add.
3202 (__ptrace_peeksiginfo_flags): Add.
3203 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3204 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3205 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3206
d2cc15cb
AM
32072013-07-03 Allan McRae <allan@archlinux.org>
3208
3209 * sysdeps/i386/fpu/libm-test-ulps: Update.
3210
3aaeeca7
DM
32112013-07-02 David S. Miller <davem@davemloft.net>
3212
3213 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3214
5314ed1a
MT
32152013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
3216
3217 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3218
67338156
JM
32192013-07-02 Joseph Myers <joseph@codesourcery.com>
3220
3221 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3223
1717da59
AK
32242013-07-02 Andi Kleen <ak@linux.intel.com>
3225
3226 * config.h.in (ENABLE_LOCK_ELISION): Add.
3227 * configure.in (--enable-lock-elision): Add option.
3228 * manual/install.texi: Document --enable lock elision.
3229 * configure: Regenerate
3230 * INSTALL: Regenerate.
3231
1c81621c
L
32322013-07-02 H.J. Lu <hongjiu.lu@intel.com>
3233
3234 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
3235 SSE4.2 strcasecmp for libc.a.
3236 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3237
77f01ab5
JM
32382013-07-02 Joseph Myers <joseph@codesourcery.com>
3239
3240 [BZ #13304]
3241 * soft-fp/op-common.h (_FP_FMA): New macro.
3242 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
3243 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
3244 (_FP_MUL_MEAT_1_imm): ... here.
3245 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
3246 (_FP_MUL_MEAT_1_wide): ... here.
3247 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
3248 (_FP_MUL_MEAT_1_hard): ... here.
3249 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
3250 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
3251 (_FP_MUL_MEAT_2_wide): ... here.
3252 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
3253 (_FP_MUL_MEAT_2_wide_3mul): ... here.
3254 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
3255 (_FP_MUL_MEAT_2_gmp): ... here.
3256 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
3257 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
3258 (_FP_MUL_MEAT_4_wide): ... here.
3259 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
3260 (_FP_MUL_MEAT_4_gmp): ... here.
3261 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
3262 (_FP_WFRACBITS_DW_S): Likewise.
3263 (_FP_WFRACXBITS_DW_S): Likewise.
3264 (_FP_HIGHBIT_DW_S): Likewise.
3265 (FP_FMA_S): Likewise.
3266 (_FP_FRAC_HIGH_DW_S): Likewise.
3267 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
3268 (_FP_WFRACBITS_DW_D): Likewise.
3269 (_FP_WFRACXBITS_DW_D): Likewise.
3270 (_FP_HIGHBIT_DW_D): Likewise.
3271 (FP_FMA_D): Likewise.
3272 (_FP_FRAC_HIGH_DW_D): Likewise.
3273 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
3274 (_FP_WFRACBITS_DW_E): Likewise.
3275 (_FP_WFRACXBITS_DW_E): Likewise.
3276 (_FP_HIGHBIT_DW_E): Likewise.
3277 (FP_FMA_E): Likewise.
3278 (_FP_FRAC_HIGH_DW_E): Likewise.
3279 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
3280 (_FP_WFRACBITS_DW_Q): Likewise.
3281 (_FP_WFRACXBITS_DW_Q): Likewise.
3282 (_FP_HIGHBIT_DW_Q): Likewise.
3283 (FP_FMA_Q): Likewise.
3284 (_FP_FRAC_HIGH_DW_Q): Likewise.
3285 * soft-fp/fmasf4.c: New file.
3286 * soft-fp/fmadf4.c: Likewise.
3287 * soft-fp/fmatf4.c: Likewise.
3288
6308fd9a
LD
32892013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3290
3291 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
3292 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
3293 Silvermont.
3294 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
3295 macro.
3296 (index_Slow_SSE4_2): Likewise.
3297 (index_Prefer_PMINUB_for_stringop): Likewise.
3298 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
3299 bit_Slow_SSE4_2 is set.
3300 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3301 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3302
89cd9569
RA
33032013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3304
3305 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
3306 rtld_global._dl_hwcap2.
3307 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
3308 POWER8.
3309 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
3310 POWER8 feature descriptions defined in _dl_hwcap2.
3311 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
3312 string handling for POWER8 feature bits.
3313 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
3314 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
3315 _dl_powerpc_cap_flags.
3316 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
3317 * sysdeps/powerpc/rtld-global-offsets.sym
3318 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
3319 _dl_hwcap2 in the rtld_global_ro structure.
3320
1ae8bfe0
RA
33212013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3322
3323 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
3324 hardware capabilities in support of AT_HWCAP2.
3325 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
3326 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
3327 GLRO(dl_hwcap2).
3328 (_dl_show_auxv): Add support for calling _dl_procinfo to display
3329 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
3330 explicitly the unknown a_type display mechanism is used.
3331 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
3332 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
3333 struct member.
3334 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
3335 to macro prototype for AT_HWCAP2 support.
3336 * sysdeps/i386/dl-procinfo.h: Likewise.
3337 * sysdeps/s390/dl-procinfo.h: Likewise.
3338 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
3339 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
3340 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
3341 return -1 for unknown a_type display fallback.
3342 * sysdeps/sparc/dl-procinfo.h: Likewise.
3343 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
3344 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3345
8fbec010
JM
33462013-06-28 Joseph Myers <joseph@codesourcery.com>
3347
3348 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
3349 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
3350
0432680e
PY
33512013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
3352
3353 [BZ #12492]
3354 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
3355 mprotect making __stack_prot writable.
3356
ce61a2ad
NF
33572013-06-28 Nathan Froyd <froydnj@codesourcery.com>
3358 Joseph Myers <joseph@codesourcery.com>
3359
3360 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
3361 as being properly aligned.
3362
f91f1c0f
MR
33632013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
3364
3d0f5d0c
MR
3365 * dlfcn/modstatic5.c: New file.
3366 * dlfcn/tststatic5.c: New file.
3367 * dlfcn/Makefile (tests): Add tststatic5.
3368 (tests-static): Likewise.
3369 (modules-names): Add modstatic5.
3370 (tststatic5-ENV): New variable.
3371 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
3372
f91f1c0f
MR
3373 [BZ #15022]
3374 * elf/dl-support.c (_dl_main_map): New variable.
3375 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
3376 (_dl_nns, _dl_load_adds): Set to 1.
3377 (_dl_initial_searchlist): Refer to _dl_main_map.
3378 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
3379 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
3380 call to _dl_get_origin.
3381 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
3382 around call_map.
3383 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
3384 * dlfcn/modstatic3.c: New file.
3385 * dlfcn/tststatic3.c: New file.
3386 * dlfcn/tststatic4.c: New file.
3387 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
3388 (tests-static): Likewise.
3389 (modules-names): Add modstatic3.
3390 (tststatic3-ENV, tststatic4-ENV): New variables.
3391 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
3392 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
3393
cbe7d24b
JM
33942013-06-26 Joseph Myers <joseph@codesourcery.com>
3395
3396 * configure.in (CC): Require GCC version 4.4 or later.
3397 * configure: Regenerated.
3398 * manual/install.texi (Tools for Compilation): Update GCC version
3399 requirement.
3400 * INSTALL: Regenerated.
3401
11b8a0e1
LD
34022013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3403
3404 [BZ #15674]
bb5bb87c
L
3405 * string/test-memcmp.c (check2): New.
3406 (main): Call check2.
3407
11b8a0e1
LD
3408 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
3409
b0037103
MR
34102013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
3411
3412 [BZ #15022]
3413 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
3414 over to...
3415 (dl_open_worker) [!SHARED]: ... here.
3416
c18c701d
RA
34172013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3418
3419 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
3420
1d17fa5f
RH
34212013-06-25 Richard Henderson <rth@redhat.com>
3422
3423 * locale/programs/locarchive.c: Include <libc-internal.h>
3424
8fcb833a
JM
34252013-06-25 Joseph Myers <joseph@codesourcery.com>
3426
3427 * manual/texinfo.tex: Update to version 2013-06-21.17, with
3428 trailing whitespace removed.
3429
17db6e8d
MF
34302013-06-24 Mike Frysinger <vapier@gentoo.org>
3431
3432 [BZ #10283]
17db6e8d
MF
3433 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
3434 * locale/programs/locarchive.c: Include libc-mmap.h.
3435 (prepare_address_space): Take two new outputs (the mmap base and len).
3436 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
3437 values.
3438 (create_archive): Declare new mmap base and len values for
3439 prepare_address_space, and store the result in ah.
3440 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
3441 (enlarge_archive): If ah->mmap_base is not NULL, use that and
3442 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3443 Declare new mmap base and len values for
3444 prepare_address_space, and store the result in new_ah.
3445 (open_archive): Declare new mmap base and len values for
3446 prepare_address_space, and store the result in ah.
3447 (close_archive): If ah->mmap_base is not NULL, use that and
3448 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3449 * sysdeps/generic/libc-mmap.h: New file.
3450
d605071e
MF
34512013-06-24 Mike Frysinger <vapier@gentoo.org>
3452
3453 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
3454 (ALIGN_UP): Likewise.
3455 (PTR_ALIGN_DOWN): Likewise.
3456 (PTR_ALIGN_UP): Likewise.
3457
2f063a6e
RA
34582013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3459
3460 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
3461 entry mapped to PPC_PLATFORM_POWER8.
3462 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
3463 POWER8.
3464 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
3465 (_dl_string_platform): Add case for exporting platform position for
3466 POWER8.
3467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
3468 search path to sysdeps/powerpc/powerpc32/power8 directory.
3469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
3470 search path to sysdeps/powerpc/powerpc64/power8 directory.
3471 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
3472 power7 directories.
3473 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
3474 power7 directories.
3475
a31ee4b3
SP
34762013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3477
a74ca98f
SP
3478 * INSTALL: Regenerate.
3479
a31ee4b3
SP
3480 * nscd/connections.c (nscd_init): Fix comment.
3481
695c378f
JM
34822013-06-22 Joseph Myers <joseph@codesourcery.com>
3483
d8412221
JM
3484 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
3485
695c378f
JM
3486 [BZ #15667]
3487 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
3488 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
3489
d1d54715
MR
34902013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
3491
3492 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
3493 DL_DST_REQ_STATIC.
3494 (DL_DST_REQ_STATIC): Remove macro.
3495
8fdda7af
JM
34962013-06-21 Joseph Myers <joseph@codesourcery.com>
3497
3498 [BZ #7006]
3499 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
3500 with a shift of 0 bits.
3501
f3bc5e5a
MR
35022013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
3503
3504 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
3505 $(tststatic-ENV).
3506
be09e8c9
KK
35072013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3508
3509 [BZ #15655]
3510 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
3511
85c2e611
AZ
35122013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3513
3514 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
3515 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
3516 accepts -fno-tree-loop-distribute-patterns.
3517 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
3518 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
3519 recursive call.
3520 * string/memset.c (memset): Likewise.
3521 * string/test-memmove.c (simple_memmove): Disable loop transformation
3522 to library calls.
3523 * string/test-memset.c (simple_memset): Likewise.
3524 * benchtests/bench-memmove.c (simple_memmove): Likewise.
3525 * benchtests/bench-memset.c (simple_memset): Likewise.
3526 * configure: Regenerated.
3527
c91e0825
JM
35282013-06-20 Joseph Myers <joseph@codesourcery.com>
3529
b8c792af
JM
3530 * math/test-misc.c (main): Ignore fesetround failure when failures
3531 of subsequent rounding tests would be ignored.
3532
c91e0825
JM
3533 [BZ #15654]
3534 * math/fedisblxcpt.c (fedisableexcept): Return 0.
3535 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
3536 * math/fegetenv.c (__fegetenv): Return 0.
3537 * math/fegetexcept.c (fegetexcept): Return 0.
3538 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
3539 FE_TONEAREST.
3540 * math/feholdexcpt.c (feholdexcept): Return 0.
3541 * math/fesetenv.c (__fesetenv): Return 0.
3542 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
3543 argument FE_TONEAREST.
3544 * math/feupdateenv.c (__feupdateenv): Return 0.
3545 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
3546
bfcacbde
RM
35472013-06-18 Roland McGrath <roland@hack.frob.com>
3548
3549 * elf/rtld-Rules (rtld-compile-command.S): New variable.
3550 (rtld-compile-command.s, rtld-compile-command.c): New variables.
3551 ($(objpfx)rtld-%.os rules): Use them.
3552
e55a9b25
AZ
35532013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3554
3555 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
3556 fields.
3557
346d65b3
RM
35582013-06-17 Roland McGrath <roland@hack.frob.com>
3559
12086fb4
RM
3560 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
3561 length of target pattern, then descending length of dependency pattern.
3562 * configure.in (AWK): Require gawk 3.1.2 or newer.
3563 * manual/install.texi (Tools for Compilation): Say that we do.
3564 * configure: Regenerated.
3565
346d65b3
RM
3566 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
3567 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
3568 * scripts/sysd-rules.awk: ... this new script.
3569 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
3570 than a glob-style pattern.
3571
1a846317
JM
35722013-06-17 Joseph Myers <joseph@codesourcery.com>
3573
3574 * math/test-misc.c (main): Do not treat incorrectly rounded
3575 conversions as failure unless ROUNDING_TESTS passes.
3576
8fc75e6f
JM
35772013-06-15 Joseph Myers <joseph@codesourcery.com>
3578
3711a167
JM
3579 [BZ #15631]
3580 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
3581 restore exception state around main square root computation, then
3582 check for inexactness explicitly.
3583
8fc75e6f
JM
3584 * math/libm-test.inc (fma_test_data): Add another test.
3585
61dd6208
SP
35862013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3587
adf23d2c
SP
3588 * manual/threads.texi (Non-POSIX Extensions): New document
3589 node. Document pthread_getattr_default_np and
3590 pthread_setattr_default_np.
3591
61dd6208
SP
3592 * Versions.def (libpthread): Add GLIBC_2.18.
3593 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
3594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3595 Likewise.
3596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3597 Likewise.
3598 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3599 Likewise.
3600 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3601 Likewise.
3602 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
3603 Likewise.
3604 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3605 Likewise.
3606 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3607 Likewise.
3608 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3609 Likewise.
3610 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3611 Likewise.
3612
d086fc7b
LD
36132013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3614
3615 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3616 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
3617
747ef469
SP
36182013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3619 H.J. Lu <hjl.tools@gmail.com>
3620
3621 [BZ #15627]
3622 * sysdeps/x86_64/rtld-memset.c: Remove file.
3623 * sysdeps/x86_64/rtld-memset.S: New file.
3624
1b2feed2
JM
36252013-06-14 Joseph Myers <joseph@codesourcery.com>
3626
3627 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
3628 (test_in_one_mode): Take arguments for whether the rounding mode
3629 is supported for each floating-point type.
3630 (do_test): Pass new arguments to test_in_one_mode using
3631 ROUNDING_TESTS.
3632
a58ad3f8
RM
36332013-06-13 Roland McGrath <roland@hack.frob.com>
3634
3635 * posix/tst-waitid.c (do_test): Distinguish different instances of
3636 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
3637 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
3638 before entering the kernel for waitpid.
3639
c204ab28
SP
36402013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3641
3642 * NEWS: Fix note on clock function precision. Text by Roland
3643 McGrath.
3644
f4a29fba
RM
36452013-06-13 Roland McGrath <roland@hack.frob.com>
3646
3647 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
3648 it into place only when and if the sanity check passes.
3649
1f24b9ad
JM
36502013-06-13 Joseph Myers <joseph@codesourcery.com>
3651
3652 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
3653 output for whether conversion result is exact. Take argument
3654 indicating whether type is IBM long double.
3655 (round_for_all): Change need_exact field to ibm_ld.
3656 * stdlib/tst-strtod-round.c (struct exactness): New type.
3657 (struct test): Change bool ld_ok field to struct exactness exact.
3658 (TEST): Update all definitions for change to field.
3659 (tests): Regenerate array contents.
3660 (test_in_one_mode): Take pointer to new field instead of old ld_ok
3661 field value. Check for IBM long double here.
3662 (do_test): Update calls to test_in_one_mode.
3663
58206c68
SP
36642013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3665
3666 [BZ #12515]
3667 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
3668 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
3669
2d6f4c5b 36702013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
3671
3672 [BZ #15605]
3673 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
3674 generated by the compiler on loop optimizations.
3675 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
3676 general definitions.
3677
94f2c076
JM
36782013-06-12 Joseph Myers <joseph@codesourcery.com>
3679
3680 * math/bug-nextafter.c: Include <math-tests.h>.
3681 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3682 the relevant type.
3683 * math/bug-nexttoward.c: Include <math-tests.h>.
3684 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3685 the relevant type.
3686 * math/test-misc.c: Include <math-tests.h>.
3687 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3688 the relevant type.
3689
e0e50a0a
AJ
36902013-06-12 Andreas Jaeger <aj@suse.de>
3691
3692 * po/ia.po: Update Interlingua translation from translation
3693 project.
3694
25061094
SP
36952013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3696
3697 * include/fenv.h: Include stdbool.h.
3698 (struct rm_ctx): New structure.
3699 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
3700 Define macro.
3701 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
3702 (SET_RESTORE_ROUNDF): Likewise.
3703 (SET_RESTORE_ROUNDL): Likewise.
3704 (SET_RESTORE_ROUND_NOEX): Likewise.
3705 (SET_RESTORE_ROUND_NOEXF): Likewise.
3706 (SET_RESTORE_ROUND_NOEXL): Likewise.
3707 (SET_RESTORE_ROUND_53BIT): Likewise.
3708 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
3709 (libc_feresetround_noexf_ctx): Likewise.
3710 (libc_feresetround_noexl_ctx): Likewise.
3711 (libc_feholdsetround_53bit_ctx): Likewise.
3712 (libc_feresetround_53bit_ctx): Likewise.
3713 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
3714 (libc_feholdexcept_setround_sse_ctx): New function.
3715 (libc_fesetenv_sse_ctx): Likewise.
3716 (libc_feupdateenv_sse_ctx): Likewise.
3717 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
3718 (libc_feholdexcept_setround_387_ctx): Likewise.
3719 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
3720 (libc_feholdsetround_387_prec_ctx): Likewise.
3721 (libc_feholdsetround_387_ctx): Likewise.
3722 (libc_feholdsetround_387_53bit_ctx): Likewise.
3723 (libc_feholdsetround_sse_ctx): Likewise.
3724 (libc_feresetround_sse_ctx): Likewise.
3725 (libc_feresetround_387_ctx): Likewise.
3726 (libc_feupdateenv_387_ctx): Likewise.
3727 (libc_feholdexcept_setroundf_ctx): Define macro.
3728 (libc_fesetenvf_ctx): Likewise.
3729 (libc_feupdateenvf_ctx): Likewise.
3730 (libc_feholdsetroundf_ctx): Likewise.
3731 (libc_feresetroundf_ctx): Likewise.
3732 (libc_feholdexcept_setround_ctx): Likewise.
3733 (libc_fesetenv_ctx): Likewise.
3734 (libc_feupdateenv_ctx): Likewise.
3735 (libc_feholdsetround_ctx): Likewise.
3736 (libc_feresetround_ctx): Likewise.
3737 (libc_feholdexcept_setroundl_ctx): Likewise.
3738 (libc_feupdateenvl_ctx): Likewise.
3739 (libc_feholdsetroundl_ctx): Likewise.
3740 (libc_feresetroundl_ctx): Likewise.
3741 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
3742 (libc_feresetround_53bit_ctx): Likewise.
3743
59b30555
SP
37442013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3745
3746 * locale/iso-639.def: Convert to UTF-8.
3747
f1d73d30
JM
37482013-06-11 Joseph Myers <joseph@codesourcery.com>
3749
3750 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
3751 (EXCEPTION_TESTS_double): Likewise.
3752 (EXCEPTION_TESTS_long_double): Likewise.
3753 (EXCEPTION_TESTS): Likewise.
3754 * math/libm-test.inc (test_exceptions): Only test exceptions if
3755 EXCEPTION_TESTS (FLOAT).
3756
94aca5e7
SP
37572013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3758
3759 * benchtests/Makefile (string-bench): Add strcpy_chk and
3760 stpcpy_chk.
3761 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
3762 * benchtests/bench-stpcpy_chk.c: New file.
3763 * benchtests/bench-strcpy_chk-ifunc.c: New file.
3764 * benchtests/bench-strcpy_chk.c: New file.
3765 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
3766 code.
3767 (do_test): Likewise.
3768
fac0c5f2
RA
37692013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3770
3771 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
3772 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
3773 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
3774 with tabs where appropriate.
3775 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
3776 dl-procinfo.h.
3777 [PPC_PLATFORM_PPC440]: Likewise.
3778 [PPC_PLATFORM_PPC464]: Likewise.
3779 [PPC_PLATFORM_PPC476]: Likewise.
3780 (_dl_string_platform): Add support for detecting ppc405, ppc440,
3781 ppc464, and ppc476 platform strings merging from ports/
3782 dl-procinfo.h.
3783
f22bc486
AS
37842013-06-11 Andreas Schwab <schwab@suse.de>
3785
3786 [BZ #14991]
3787 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
3788 (from_ucs4_idx): Regenerate.
3789 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
3790 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
3791 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
3792 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
3793 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
3794 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
3795 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
3796 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
3797 from FROM_LOOP and TO_LOOP specific macros.
3798 (BODY): Handle combining characters.
3799 * iconvdata/BIG5HKSCS.irreversible: Update.
3800 * iconvdata/BIG5HKSCS.precomposed: New file.
3801 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
3802 characters.
3803 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
3804
c1f75dc3
SP
38052013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3806
4eacded2
SP
3807 * include/sys/time.h: Fix indentation and add copyright header.
3808
fec799f8
SP
3809 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
3810 (do_test): Likewise.
3811 * string/test-memchr.c (do_one_test): Likewise.
3812 (do_test): Likewise.
3813 * string/test-memcmp.c (do_one_test): Likewise.
3814 (do_test): Likewise.
3815 * string/test-memcpy.c (do_one_test): Likewise.
3816 (do_test): Likewise.
3817 * string/test-memmem.c (do_one_test): Likewise.
3818 (do_test): Likewise.
3819 (do_random_tests): Likewise.
3820 * string/test-memmove.c (do_one_test): Likewise.
3821 (do_test): Likewise.
3822 * string/test-memset.c (do_one_test): Likewise.
3823 (do_test): Likewise.
3824 * string/test-rawmemchr.c (do_one_test): Likewise.
3825 (do_test): Likewise.
3826 * string/test-strcasecmp.c (do_one_test): Likewise.
3827 (do_test): Likewise.
3828 * string/test-strcasestr.c (do_one_test): Likewise.
3829 (do_test): Likewise.
3830 * string/test-strcat.c (do_one_test): Likewise.
3831 (do_test): Likewise.
3832 * string/test-strchr.c (do_one_test): Likewise.
3833 (do_test): Likewise.
3834 * string/test-strcmp.c (do_one_test): Likewise.
3835 (do_test): Likewise.
3836 * string/test-strcpy.c (do_one_test): Likewise.
3837 (do_test): Likewise.
3838 * string/test-string.h: Likewise.
3839 (test_init): Likewise.
3840 * string/test-strlen.c (do_one_test): Likewise.
3841 (do_test): Likewise.
3842 * string/test-strncasecmp.c (do_one_test): Likewise.
3843 (do_test): Likewise.
3844 * string/test-strncat.c (do_one_test): Likewise.
3845 (do_test): Likewise.
3846 * string/test-strncmp.c (do_one_test): Likewise.
3847 (do_test_limit): Likewise.
3848 (do_test): Likewise.
3849 * string/test-strncpy.c (do_one_test): Likewise.
3850 (do_test): Likewise.
3851 * string/test-strnlen.c (do_one_test): Likewise.
3852 (do_test): Likewise.
3853 * string/test-strpbrk.c (do_one_test): Likewise.
3854 (do_test): Likewise.
3855 * string/test-strrchr.c (do_one_test): Likewise.
3856 (do_test): Likewise.
3857 * string/test-strspn.c (do_one_test): Likewise.
3858 (do_test): Likewise.
3859 * string/test-strstr.c (do_one_test): Likewise.
3860 (do_test): Likewise.
3861
97020474
SP
3862 * benchtests/Makefile (string-bench): Add string benchmarks.
3863 * benchtests/bench-bcopy-ifunc.c: New file.
3864 * benchtests/bench-bcopy.c: New file.
3865 * benchtests/bench-bzero-ifunc.c: New file.
3866 * benchtests/bench-bzero.c: New file.
3867 * benchtests/bench-memccpy-ifunc.c: New file.
3868 * benchtests/bench-memccpy.c: New file.
3869 * benchtests/bench-memchr-ifunc.c: New file.
3870 * benchtests/bench-memchr.c: New file.
3871 * benchtests/bench-memcmp-ifunc.c: New file.
3872 * benchtests/bench-memcmp.c: New file.
3873 * benchtests/bench-memmem-ifunc.c: New file.
3874 * benchtests/bench-memmem.c: New file.
3875 * benchtests/bench-memmove-ifunc.c: New file.
3876 * benchtests/bench-memmove.c: New file.
3877 * benchtests/bench-mempcpy-ifunc.c: New file.
3878 * benchtests/bench-mempcpy.c: New file.
3879 * benchtests/bench-memset-ifunc.c: New file.
3880 * benchtests/bench-memset.c: New file.
3881 * benchtests/bench-rawmemchr-ifunc.c: New file.
3882 * benchtests/bench-rawmemchr.c: New file.
3883 * benchtests/bench-stpcpy-ifunc.c: New file.
3884 * benchtests/bench-stpcpy.c: New file.
3885 * benchtests/bench-stpncpy-ifunc.c: New file.
3886 * benchtests/bench-stpncpy.c: New file.
3887 * benchtests/bench-strcasecmp-ifunc.c: New file.
3888 * benchtests/bench-strcasecmp.c: New file.
3889 * benchtests/bench-strcasestr-ifunc.c: New file.
3890 * benchtests/bench-strcasestr.c: New file.
3891 * benchtests/bench-strcat-ifunc.c: New file.
3892 * benchtests/bench-strcat.c: New file.
3893 * benchtests/bench-strchr-ifunc.c: New file.
3894 * benchtests/bench-strchr.c: New file.
3895 * benchtests/bench-strchrnul-ifunc.c: New file.
3896 * benchtests/bench-strchrnul.c: New file.
3897 * benchtests/bench-strcmp-ifunc.c: New file.
3898 * benchtests/bench-strcmp.c: New file.
3899 * benchtests/bench-strcpy-ifunc.c: New file.
3900 * benchtests/bench-strcpy.c: New file.
3901 * benchtests/bench-strcspn-ifunc.c: New file.
3902 * benchtests/bench-strcspn.c: New file.
3903 * benchtests/bench-strlen-ifunc.c: New file.
3904 * benchtests/bench-strlen.c: New file.
3905 * benchtests/bench-strncasecmp-ifunc.c: New file.
3906 * benchtests/bench-strncasecmp.c: New file.
3907 * benchtests/bench-strncat-ifunc.c: New file.
3908 * benchtests/bench-strncat.c: New file.
3909 * benchtests/bench-strncmp-ifunc.c: New file.
3910 * benchtests/bench-strncmp.c: New file.
3911 * benchtests/bench-strncpy-ifunc.c: New file.
3912 * benchtests/bench-strncpy.c: New file.
3913 * benchtests/bench-strnlen-ifunc.c: New file.
3914 * benchtests/bench-strnlen.c: New file.
3915 * benchtests/bench-strpbrk-ifunc.c: New file.
3916 * benchtests/bench-strpbrk.c: New file.
3917 * benchtests/bench-strrchr-ifunc.c: New file.
3918 * benchtests/bench-strrchr.c: New file.
3919 * benchtests/bench-strspn-ifunc.c: New file.
3920 * benchtests/bench-strspn.c: New file.
3921 * benchtests/bench-strstr-ifunc.c: New file.
3922 * benchtests/bench-strstr.c: New file.
3923
c1f75dc3
SP
3924 * benchtests/Makefile: Disable parallel execution of targets.
3925 (string-bench): Add memcpy.
3926 (benchset): New variable to store a list of benchmark sets.
3927 (bench-func): Renamed from bench.
3928 (bench-set): New target.
3929 (bench): Depend on bench-func and bench-set.
3930 * benchtests/README: Add section on benchmark sets.
3931 * benchtests/bench-memcpy-ifunc.c: New file.
3932 * benchtests/bench-memcpy.c: New file.
3933 * benchtests/bench-string.h: New file.
3934
50fd745b
AS
39352013-06-11 Andreas Schwab <schwab@suse.de>
3936
3937 [BZ #15577]
3938 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
3939 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
3940 values in the triple.
3941 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
3942 terminator in the group key.
3943
3ee7e9fe
AJ
39442013-06-11 Andreas Jaeger <aj@suse.de>
3945
3946 * po/zh_TW.po: Update Chinese (traditional) translation from
3947 translation project.
3948
89fb6835
SP
39492013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3950
3951 * include/time.h (__clock_gettime): Add libc_hidden_proto.
3952 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
3953 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
3954 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3955 (clock_getcpuclockid): Likewise.
3956 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
3957 Add weak_alias and libc_hidden_def.
3958 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
3959 * rt/clock_gettime.c (clock_gettime): Rename to
3960 __clock_gettime. Add weak_alias and libc_hidden_def.
3961 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
3962 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
3963 __clock_nanosleep. Add weak_alias and libc_hidden_def.
3964 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
3965 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
3966 Likewise.
3967 * rt/clock_settime.c (clock_settime): Rename to
3968 __clock_settime. Add weak_alias and libc_hidden_def.
3969 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
3970
0efa6f8b
JM
39712013-06-10 Joseph Myers <joseph@codesourcery.com>
3972
b8c61b4b
JM
3973 * mach/err_boot.sub: Remove trailing whitespace.
3974 * mach/err_ipc.sub: Likewise.
3975 * mach/err_mach.sub: Likewise.
3976
0efa6f8b
JM
3977 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
3978 (ROUNDING_TESTS_double): Likewise.
3979 (ROUNDING_TESTS_long_double): Likewise.
3980 (ROUNDING_TESTS): Likewise.
3981 * math/libm-test.inc: Include <math-tests.h>.
3982 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
3983 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3984 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3985 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3986
50b818bf
SP
39872013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3988
3989 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
3990 of assigning.
3991
60d2f8f3
JM
39922013-06-08 Joseph Myers <joseph@codesourcery.com>
3993
4902d2c3
JM
3994 * sysdeps/gnu/errlist.awk: Do not generate space at end of
3995 otherwise empty TRANS lines.
3996 * sysdeps/gnu/errlist.c: Regenerated.
3997
60d2f8f3
JM
3998 * catgets/gencat.c (error_print): Use (void) in function
3999 definition.
4000 * crypt/crypt_util.c (__init_des): Likewise.
4001 * crypt/speeds.c (Stop): Likewise.
4002 (main): Likewise.
4003 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
4004 * inet/ruserpass.c (token): Likewise.
4005 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
4006 * intl/localealias.c (extend_alias_table): Likewise.
4007 * intl/plural-exp.c (init_germanic_plural): Likewise.
4008 * libio/fcloseall.c (__fcloseall): Likewise.
4009 * libio/genops.c (_IO_flush_all): Likewise.
4010 (_IO_flush_all_linebuffered): Likewise.
4011 (_IO_cleanup): Likewise.
4012 (_IO_iter_begin): Likewise.
4013 (_IO_iter_end): Likewise.
4014 (_IO_list_lock): Likewise.
4015 (_IO_list_unlock): Likewise.
4016 (_IO_list_resetlock): Likewise.
4017 * libio/getchar.c (getchar): Likewise.
4018 * libio/getchar_u.c (getchar_unlocked): Likewise.
4019 * libio/getwchar.c (getwchar): Likewise.
4020 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
4021 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
4022 * login/getpt.c (__getpt): Likewise.
4023 * login/tst-utmp.c (main): Likewise.
4024 * malloc/hooks.c (__malloc_check_init): Likewise.
4025 * malloc/malloc.c (__malloc_stats): Likewise.
4026 * malloc/mtrace.c (tr_break): Likewise.
4027 (mtrace): Likewise.
4028 (muntrace): Likewise.
4029 * misc/fstab.c (endfsent): Likewise.
4030 * misc/getclktck.c (__getclktck): Likewise.
4031 * misc/getdtsz.c (__getdtablesize): Likewise.
4032 * misc/gethostid.c (gethostid): Likewise.
4033 * misc/getpagesize.c (__getpagesize): Likewise.
4034 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
4035 (__get_nprocs): Likewise.
4036 (__get_phys_pages): Likewise.
4037 (__get_avphys_pages): Likewise.
4038 * misc/getttyent.c (getttyent): Likewise.
4039 (setttyent): Likewise.
4040 (endttyent): Likewise.
4041 * misc/getusershell.c (getusershell): Likewise.
4042 (endusershell): Likewise.
4043 (setusershell): Likewise.
4044 (initshells): Likewise.
4045 * misc/hsearch.c (__hdestroy): Likewise.
4046 * misc/sync.c (sync): Likewise.
4047 * misc/syslog.c (closelog_internal): Likewise.
4048 (closelog): Likewise.
4049 * misc/ttyslot.c (ttyslot): Likewise.
4050 * misc/vhangup.c (vhangup): Likewise.
4051 * posix/fork.c (__fork): Likewise.
4052 * posix/getegid.c (__getegid): Likewise.
4053 * posix/geteuid.c (__geteuid): Likewise.
4054 * posix/getgid.c (__getgid): Likewise.
4055 * posix/getpid.c (__getpid): Likewise.
4056 * posix/getppid.c (__getppid): Likewise.
4057 * posix/getuid.c (__getuid): Likewise.
4058 * posix/pause.c (pause): Likewise.
4059 * posix/setpgrp.c (setpgrp): Likewise.
4060 * posix/setsid.c (__setsid): Likewise.
4061 * posix/test-vfork.c (noop): Likewise.
4062 * resolv/gethnamaddr.c (_endhtent): Likewise.
4063 (_gethtent): Likewise.
4064 (ht_endhostent): Likewise.
4065 (gethostent): Likewise.
4066 (dns_service): Likewise.
4067 * stdlib/drand48.c (drand48): Likewise.
4068 * stdlib/lrand48.c (lrand48): Likewise.
4069 * stdlib/mrand48.c (mrand48): Likewise.
4070 * stdlib/rand.c (rand): Likewise.
4071 * stdlib/random.c (__random): Likewise.
4072 * stdlib/setenv.c (clearenv): Likewise.
4073 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
4074 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
4075 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
4076 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
4077 (__get_nprocs): Likewise.
4078 (__get_phys_pages): Likewise.
4079 (__get_avphys_pages): Likewise.
4080 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
4081 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
4082 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
4083 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
4084 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
4085 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
4086 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
4087 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
4088 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
4089 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
4090 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
4091 * sysdeps/mach/hurd/sync.c (sync): Likewise.
4092 * sysdeps/posix/clock.c (clock): Likewise.
4093 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
4094 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
4095 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
4096 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
4097 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
4098 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
4099 (__get_nprocs_conf): Likewise.
4100 (__get_phys_pages): Likewise.
4101 (__get_avphys_pages): Likewise.
4102 * time/clock.c (clock): Likewise.
4103 * time/tzset.c (__tzname_max): Likewise.
4104
2e09a79a
JM
41052013-06-07 Joseph Myers <joseph@codesourcery.com>
4106
4107 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
4108 (__bswap_32): Do not use "register".
4109 * crypt/crypt.c (_ufc_doit_r): Likewise.
4110 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4111 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4112 * gmon/gmon.c (__monstartup): Likewise.
4113 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
4114 * hurd/hurdmalloc.c (more_memory): Likewise.
4115 (malloc): Likewise.
4116 (free): Likewise.
4117 (realloc): Likewise.
4118 (malloc_fork_prepare): Likewise.
4119 (malloc_fork_parent): Likewise.
4120 (malloc_fork_child): Likewise.
4121 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
4122 (_svcauth_des): Likewise.
4123 * inet/inet_lnaof.c (inet_lnaof): Likewise.
4124 * inet/inet_net.c (inet_network): Likewise.
4125 * inet/inet_netof.c (inet_netof): Likewise.
4126 * inet/rcmd.c (__validuser2_sa): Likewise.
4127 * io/fts.c (fts_open): Likewise.
4128 (fts_load): Likewise.
4129 (fts_close): Likewise.
4130 (fts_read): Likewise.
4131 (fts_children): Likewise.
4132 (fts_build): Likewise.
4133 (fts_stat): Likewise.
4134 (fts_sort): Likewise.
4135 (fts_alloc): Likewise.
4136 (fts_lfree): Likewise.
4137 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
4138 (_IO_file_xsgetn): Likewise.
4139 (_IO_file_xsgetn_mmap): Likewise.
4140 * libio/iofopncook.c (_IO_cookie_read): Likewise.
4141 (_IO_cookie_write): Likewise.
4142 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
4143 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
4144 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
4145 * malloc/obstack.c (_obstack_begin): Likewise.
4146 (_obstack_begin_1): Likewise.
4147 (_obstack_newchunk): Likewise.
4148 (_obstack_allocated_p): Likewise.
4149 (obstack_free): Likewise.
4150 (_obstack_memory_used): Likewise.
4151 * misc/getttyent.c (getttynam): Likewise.
4152 (getttyent): Likewise.
4153 (skip): Likewise.
4154 (value): Likewise.
4155 * misc/getusershell.c (initshells): Likewise.
4156 * misc/syslog.c (__vsyslog_chk): Likewise.
4157 * misc/ttyslot.c (ttyslot): Likewise.
4158 * nis/nis_hash.c (__nis_hash): Likewise.
4159 * posix/fnmatch_loop.c (FCT): Likewise.
4160 * posix/getconf.c (print_all): Likewise.
4161 (main): Likewise.
4162 * posix/getopt.c (exchange): Likewise.
4163 * posix/glob.c (globfree): Likewise.
4164 (prefix_array): Likewise.
4165 (__glob_pattern_type): Likewise.
4166 * resolv/arpa/nameser.h (NS_GET16): Likewise.
4167 (NS_GET32): Likewise.
4168 (NS_PUT16): Likewise.
4169 (NS_PUT32): Likewise.
4170 * resolv/gethnamaddr.c (getanswer): Likewise.
4171 (gethostbyname2): Likewise.
4172 (gethostbyaddr): Likewise.
4173 (_gethtent): Likewise.
4174 (_gethtbyname2): Likewise.
4175 (_gethtbyaddr): Likewise.
4176 * resolv/ns_print.c (dst_s_get_int16): Likewise.
4177 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4178 * resolv/res_init.c (__res_vinit): Likewise.
4179 (net_mask): Likewise.
4180 * resolv/res_mkquery.c (outchar): Likewise.
4181 (PRINT): Likewise.
4182 * stdio-common/printf_fp.c (outchar): Likewise.
4183 (PRINT): Likewise.
4184 * stdio-common/printf_fphex.c (outchar): Likewise.
4185 (PRINT): Likewise.
4186 * stdio-common/printf_size.c (outchar): Likewise.
4187 (PRINT): Likewise.
4188 * stdio-common/test_rdwr.c (main): Likewise.
4189 * stdio-common/tfformat.c (matches): Likewise.
4190 * stdio-common/vfprintf.c (outchar): Likewise.
4191 (printf_unknown): Likewise.
4192 (buffered_vfprintf): Likewise.
4193 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4194 * stdio-common/xbug.c (AppendToBuffer): Likewise.
4195 (ReadFile): Likewise.
4196 * stdlib/qsort.c (SWAP): Likewise.
4197 (_quicksort): Likewise.
4198 * stdlib/setenv.c (__add_to_environ): Likewise.
4199 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4200 * stdlib/strtol_l.c (__strtol_l): Likewise.
4201 * stdlib/tst-strtod.c (main): Likewise.
4202 * stdlib/tst-strtol.c (main): Likewise.
4203 * stdlib/tst-strtoll.c (main): Likewise.
4204 * string/bits/string2.h (__strcmp_cc): Likewise.
4205 (__strcmp_cg): Likewise.
4206 (__strcspn_c1): Likewise.
4207 (__strcspn_c2): Likewise.
4208 (__strcspn_c3): Likewise.
4209 (__strspn_c1): Likewise.
4210 (__strspn_c2): Likewise.
4211 (__strspn_c3): Likewise.
4212 (__strsep_1c): Likewise.
4213 (__strsep_2c): Likewise.
4214 (__strsep_3c): Likewise.
4215 * string/memccpy.c (__memccpy): Likewise.
4216 * string/stpcpy.c (__stpcpy): Likewise.
4217 * string/strcmp.c (strcmp): Likewise.
4218 * string/strrchr.c (strrchr): Likewise.
4219 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
4220 Likewise.
4221 * sysdeps/mach/hurd/getcwd.c
4222 (_hurd_canonicalize_directory_name_internal): Likewise.
4223 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
4224 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
4225 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
4226 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
4227 Likewise, in both definitions.
4228 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
4229 definitions.
4230 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
4231 64] (__bswap_64): Likewise.
4232 * time/test_time.c (main): Likewise.
4233 * time/tzfile.c (__tzfile_read): Likewise.
4234 (__tzfile_compute): Likewise.
4235 * time/tzset.c (__tzset_parse_tz): Likewise.
4236 (tzset_internal): Likewise.
4237 (compute_change): Likewise.
4238 * wcsmbs/wcscat.c (__wcscat): Likewise.
4239 * wcsmbs/wcschr.c (wcschr): Likewise.
4240 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
4241 * wcsmbs/wcscspn.c (wcscspn): Likewise.
4242 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
4243 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
4244 * wcsmbs/wcsspn.c (wcsspn): Likewise.
4245 * wcsmbs/wcsstr.c (wcsstr): Likewise.
4246 * wcsmbs/wmemchr.c (wmemchr): Likewise.
4247 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4248 * wcsmbs/wmemset.c (wmemset): Likewise.
4249
9e54314b
JM
42502013-06-06 Joseph Myers <joseph@codesourcery.com>
4251
4252 * scripts/config.guess: Update to version 2013-05-16.
4253 * scripts/config.sub: Update to version 2013-04-24.
4254 * scripts/install-sh: Update to version 2011-11-20.07.
4255 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
4256 * scripts/move-if-change: Update to version 2012-01-06 07:23.
4257
350635a5
OB
42582013-06-06 Ondřej Bílka <neleai@seznam.cz>
4259
4260 * debug/fgetws_u_chk.c: Fix leading whitespaces.
4261 * elf/sln.c: Likewise.
4262 * hurd/hurd/ioctl.h: Likewise.
4263 * hurd/hurdmalloc.c: Likewise.
4264 * hurd/xattr.c: Likewise.
4265 * include/shlib-compat.h: Likewise.
4266 * inet/ruserpass.c: Likewise.
4267 * libio/iofgets_u.c: Likewise.
4268 * libio/iofgetws_u.c: Likewise.
4269 * locale/programs/ld-identification.c: Likewise.
4270 * locale/programs/ld-time.c: Likewise.
4271 * mach/msg-destroy.c: Likewise.
4272 * nss/nss_files/files-netgrp.c: Likewise.
4273 * resolv/res_data.c: Likewise.
4274 * soft-fp/op-1.h: Likewise.
4275 * soft-fp/op-2.h: Likewise.
4276 * soft-fp/op-4.h: Likewise.
4277 * soft-fp/op-common.h: Likewise.
4278 * stdio-common/printf_fphex.c: Likewise.
4279 * stdlib/strtod_l.c: Likewise.
4280 * sunrpc/rpc/clnt.h: Likewise.
4281 * sysdeps/generic/framestate.c: Likewise.
4282 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4283 * sysdeps/i386/bsd-setjmp.S: Likewise.
4284 * sysdeps/i386/__longjmp.S: Likewise.
4285 * sysdeps/i386/setjmp.S: Likewise.
4286 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4287 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4288 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4289 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4290 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4291 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4292 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4293 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4294 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4295 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4296 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4297 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4298 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4299 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4300 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4301 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4302 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4303 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
4304 * sysdeps/ieee754/support.c: Likewise.
4305 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4306 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
4307 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
4308 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
4309 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
4310 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
4311 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
4312 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
4313 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
4314 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
4315 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
4316 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
4317 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
4318 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
4319 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
4320 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
4321 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4323
44a988af
OB
43242013-06-05 Ondřej Bílka <neleai@seznam.cz>
4325
25506f09 4326 * posix/transbug.c: Remove executable mode.
44a988af 4327
9c84384c
JM
43282013-06-05 Joseph Myers <joseph@codesourcery.com>
4329
4330 * crypt/speeds.c: Remove trailing whitespace.
4331 * dlfcn/default.c: Likewise.
4332 * elf/ifuncdep2.c: Likewise.
4333 * elf/ifuncmain1.c: Likewise.
4334 * elf/ifuncmain1vis.c: Likewise.
4335 * elf/testobj.h: Likewise.
4336 * elf/tst-stackguard1.c: Likewise.
4337 * gmon/sys/gmon.h: Likewise.
4338 * hurd/hurdmsg.c: Likewise.
4339 * hurd/new-fd.c: Likewise.
4340 * hurd/ports-get.c: Likewise.
4341 * iconvdata/ibm1008_420.c: Likewise.
4342 * inet/tst-getni1.c: Likewise.
4343 * inet/tst-getni2.c: Likewise.
4344 * libio/ioungetc.c: Likewise.
4345 * libio/wfiledoalloc.c: Likewise.
4346 * manual/libm-err-tab.pl: Likewise.
4347 * math/w_dremf.c: Likewise.
4348 * misc/ftruncate.c: Likewise.
4349 * posix/bug-glob2.c: Likewise.
4350 * posix/tst-pcre.c: Likewise.
4351 * posix/wait4.c: Likewise.
4352 * resolv/README: Likewise.
4353 * resolv/res_debug.h: Likewise.
4354 * resolv/tst-inet_ntop.c: Likewise.
4355 * setjmp/bug269-setjmp.c: Likewise.
4356 * soft-fp/extended.h: Likewise.
4357 * soft-fp/op-1.h: Likewise.
4358 * soft-fp/op-2.h: Likewise.
4359 * soft-fp/op-4.h: Likewise.
4360 * soft-fp/op-8.h: Likewise.
4361 * soft-fp/testit.c: Likewise.
4362 * stdio-common/bug16.c: Likewise.
4363 * stdlib/random.c: Likewise.
4364 * sunrpc/rpcsvc/rquota.x: Likewise.
4365 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
4366 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4367 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4368 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4369 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4370 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4371 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4372 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4373 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4374 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4375 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4376 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4377 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4378 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4379 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4380 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4381 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4382 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4383 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4384 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4385 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4386 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4387 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4388 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4389 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4390 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4391 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4392 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4393 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4394 * sysdeps/ieee754/s_lib_version.c: Likewise.
4395 * sysdeps/mach/hurd/check_fds.c: Likewise.
4396 * sysdeps/mach/hurd/getsockname.c: Likewise.
4397 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
4398 * sysdeps/mach/hurd/recvfrom.c: Likewise.
4399 * sysdeps/powerpc/bits/link.h: Likewise.
4400 * sysdeps/powerpc/dl-procinfo.c: Likewise.
4401 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
4402 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
4403 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
4404 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4405 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4406 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
4407 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4408 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
4409 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4410 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4411 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4412 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
4413 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4414 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4415 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4416 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4417 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4418 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4419 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4420 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4421 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
4422 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4423 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4424 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
4425 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4426 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4427 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4428 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4429 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4430 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4431 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4432 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4433 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4434 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
4435 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4436 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
4437 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4438 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4439 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
4440 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
4441 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
4442 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
4443 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
4444 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4445 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
4446 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
4447 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4448 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
4449 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
4450 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4451 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4452 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4453 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4454 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
4455 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4456 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4457 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4458 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
4459 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4460 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
4461 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
4462 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
4463 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4464 * sysdeps/powerpc/sysdep.h: Likewise.
4465 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4466 * sysdeps/s390/s390-64/sub_n.S: Likewise.
4467 * sysdeps/sh/dl-trampoline.S: Likewise.
4468 * sysdeps/sh/memset.S: Likewise.
4469 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
4470 * sysdeps/sh/strlen.S: Likewise.
4471 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
4472 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
4473 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
4474 * sysdeps/sparc/sparc32/rem.S: Likewise.
4475 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
4476 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
4477 * sysdeps/sparc/sparc32/strchr.S: Likewise.
4478 * sysdeps/sparc/sparc32/udiv.S: Likewise.
4479 * sysdeps/sparc/sparc32/urem.S: Likewise.
4480 * sysdeps/sparc/sparc64/add_n.S: Likewise.
4481 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4482 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
4483 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
4484 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
4485 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
4486 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4487 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
4488 * sysdeps/unix/bsd/times.c: Likewise.
4489 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
4490 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
4491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4494 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
4495 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4496 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
4497 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
4498 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
4499 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
4500 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
4501 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
4502 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4503 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
4504 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4505 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
4506 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
4507 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
4508 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
4509 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
4510 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
4511 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4512 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
4513 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
4514 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4515 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
4516 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4517 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
4518 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
4519 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
4520 * sysdeps/x86_64/strcspn.S: Likewise.
4521
869378a5
RA
45222013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4523
4524 * locale/C-translit.h: Revert #include <stdint.h> because this is a
4525 generated file. Regenerate properly from gen-translit.pl.
4526 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
4527 locale/C-translit.h.
4528
840e2943
AS
45292013-06-05 Andreas Schwab <schwab@suse.de>
4530
4531 [BZ #15100]
4532 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
4533 week as 6 instead of -1.
4534 * time/tst-strptime.c (day_tests): Add test case.
4535
4c60cb0c
SP
45362013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4537
4538 * sysdeps/generic/math_private.h
4539 (libc_feholdexcept_setround_53bit): Replace with
4540 libc_feholdsetround_53bit.
4541 (libc_feupdateenv_53bit): Replace with
4542 libc_feresetround_53bit.
4543 (SET_RESTORE_ROUND_53BIT): Adjust.
4544
d180203e
SP
45452013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4546
96df079a
SP
4547 * string/test-strchrnul.c: Add copyright header.
4548
d180203e
SP
4549 * posix/tst-getaddrinfo4.c: Increase test timeout.
4550
8b0ccb2d
CD
45512013-06-03 Carlos O'Donell <carlos@redhat.com>
4552
4553 [BZ #15536]
4554 * math/libm-test.inc (MAX_EXP): Remove
4555 (MIN_EXP): Define.
4556 (ulp): Use MIN_EXP - MANT_DIG.
4557 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
4558
3b3c4d40
CD
45592013-05-31 Carlos O'Donell <carlos@redhat.com>
4560
4561 * po/be.po: Revert last change.
4562 * po/zh_CN.po: Likewise.
4563 * po/header.pot: Likewise.
4564
fab7ce3f
JM
45652013-05-31 Joseph Myers <joseph@codesourcery.com>
4566
4567 * Makefile ($(common-objpfx)linkobj/libc.so): Define
4568 link-libc-deps to empty as target-specific variable.
4569 * Makerules (link-libc-args): New variable.
4570 (libc-for-link): Likewise.
4571 (link-libc-deps): Likewise.
4572 (lib%.so): Depend on $(link-libc-deps). Link with
4573 $(link-libc-args).
4574 (build-module): Link with $(link-libc-args).
4575 (build-module-asneeded): Likewise.
4576 (build-module-helper-objlist): Filter out $(link-libc-deps) from
4577 list of objects.
4578 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
4579 target-specific variable.
4580 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
4581 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
4582 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
4583 libc.
4584 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
4585 libc and ld.so.
4586 ($(objpfx)libpcprofile.so): Likewise.
4587 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
4588 libc_nonshared.a.
4589 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
4590 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
4591 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
4592 $(link-libc-deps).
4593 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
4594 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
4595 * login/Makefile ($(objpfx)libutil.so): Likewise.
4596 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
4597 * math/Makefile ($(objpfx)libm.so): Likewise.
4598 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
4599 $(objpfx)libnsl.so): Define libc-for-link as target-specific
4600 variable instead of depending directly on libc.
4601 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
4602 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
4603 $(link-libc-deps).
4604 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
4605 libc.
4606 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
4607 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
4608 ($(objpfx)libanl.so): Likewise.
4609 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
4610 ld.so.
4611 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
4612 $(link-libc-deps).
4613 * sysdeps/i386/fpu/Makefile: Remove file.
4614 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
4615 ($(objpfx)libm.so): Remove dependency on ld.so.
4616
eca5920c
PF
46172013-05-30 Patsy Franklin <pfrankli@redhat.com>
4618
4619 [BZ # 15553]
4620 * nis/yp_xdr.c (XDRMAXNAME): Define.
4621 (XDRMAXRECORD): Define.
4622 (xdr_domainname): Use XDRMAXNAME.
4623 (xdr_mapname): Likewise.
4624 (xdr_peername): Likewise.
4625 (xdr_keydat): Use XDRMAXRECORD.
4626 (xdr_valdat): Likewise.
4627
46282013-05-30 Jeff Law <law@redhat.com>
96945714
JL
4629
4630 [BZ #14256]
4631 * manual/errno.texi (ESTALE): Update to account for more than
4632 just NFS file systems.
4633 * sysdeps/gnu/errlist.c: Regenerated.
4634
b9375348
SP
46352013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4636
4637 [BZ #15465]
4638 * elf/Makefile (tests): Add tst-null-argv.
4639 (modules-names): Add tst-null-argv-lib.
4640 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
4641 (tst-null-argv-ENV): Set environment for tst-null-argv.
4642 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
4643 (RTLD_PROGNAME): New macro.
4644 * elf/tst-null-argv.c: New test case.
4645 * elf/tst-null-argv-lib.c: Library for test case.
4646 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
4647 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4648 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
4649 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
4650 * elf/dl-init.c (call_init): Likewise.
4651 (_dl_init): Likewise.
4652 * elf/dl-load.c (print_search_path): Likewise.
4653 (_dl_map_object): Likewise.
4654 * elf/dl-lookup.c (do_lookup_x): Likewise.
4655 (add_dependency): Likewise.
4656 (_dl_lookup_symbol_x): Likewise.
4657 (_dl_debug_bindings): Likewise.
4658 * elf/dl-open.c (_dl_show_scope): Likewise.
4659 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4660 * elf/dl-version.c (match_symbol): Likewise.
4661 (_dl_check_map_versions): Likewise.
4662 * elf/rtld.c (dl_main): Likewise.
4663 (print_unresolved): Use RTLD_PROGNAME.
4664 (print_missing_version): Likewise.
4665 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
4666 (elf_machine_rela): Likewise.
4667 * sysdeps/powerpc/powerpc32/dl-machine.c
4668 (__process_machine_rela): Likewise.
4669 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4670 Likewise.
4671 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
4672 Likewise.
4673 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4674 Likewise.
4675 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4676 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
4677 Likewise.
4678 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
4679 Likewise.
4680 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4681
8a9f20c8
CD
46822013-05-28 Carlos O'Donell <carlos@redhat.com>
4683
4684 * po/be.po: Add descriptive title.
4685 * po/zh_CN.po: Likewise.
4686 * po/header.pot: Likewise.
4687
0e60d68e
MF
46882013-05-28 Mike Frysinger <vapier@gentoo.org>
4689
4690 * locale/programs/locarchive.c (create_archive): Inlucde fname in
4691 error message.
4692 (enlarge_archive): Likewise.
4693
56b672e9
BN
46942013-05-28 Ben North <ben@redfrontdoor.org>
4695
4696 * manual/arith.texi (frexp): It is the magnitude of the return
4697 value which lies in [0.5, 1), not the return value itself.
4698
5e056687
AZ
46992013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4700
4701 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4702
2b66ef5d
TS
47032013-05-26 Thomas Schwinge <thomas@codesourcery.com>
4704
528c2405
TS
4705 * stdio-common/bug26.c (main): Correct fscanf template.
4706
07b4c13d
TS
4707 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
4708 declare _dl_skip_args.
4709
ec9dd97c
TS
4710 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
4711 Don't declare.
4712
2b66ef5d
TS
4713 * manual/platform.texi: Add missing @end deftypefun.
4714
4f8dfe27
JM
47152013-05-24 Joseph Myers <joseph@codesourcery.com>
4716
0323d086
JM
4717 [BZ #15529]
4718 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
4719 bit of mantissa of 2^16382.
4720 * math/libm-test.inc (hypot_test_data): Add more tests.
4721
dd4259b9
JM
4722 * math/libm-test.inc: Add drem and pow10 to list of tested
4723 functions.
4724 (pow10_test): New function.
4725 (drem_test): Likewise.
4726 (drem_test_tonearest): Likewise.
4727 (drem_test_towardzero): Likewise.
4728 (drem_test_downward): Likewise.
4729 (drem_test_upward): Likewise.
4730 (main): Call the new functions.
4731
4f8dfe27
JM
4732 * math/libm-test.inc (finite_test_data): Remove.
4733 (finite_test): Run tests from isfinite_test_data.
4734 (gamma_test_data): Remove.
4735 (gamma_test): Run tests from lgamma_test_data.
4736 * sysdeps/i386/fpu/libm-test-ulps: Update.
4737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4738
d116b7c4
AZ
47392013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4740
4741 * manual/platform.texi: Add PowerPC PPR function set documentation.
4742 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
4743 implementation.
4744
e96e3767
CD
47452013-05-24 Carlos O'Donell <carlos@redhat.com>
4746
4747 * math/libm-test.inc (MAX_EXP): Define.
4748 (ULPDIFF): Define.
4749 (ulp): New function.
4750 (check_float_internal): Use ULPDIFF.
4751 (cpow_test): Disable failing test.
4752 (check_ulp): Test ulp() implemetnation.
4753 (main): Call check_ulp before starting tests.
4754
b679a606
JM
47552013-05-24 Joseph Myers <joseph@codesourcery.com>
4756
e8bdba36
JM
4757 * math/gen-libm-test.pl (generate_testfile): Do not handle
4758 START_DATA and END_DATA.
4759 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
4760 END_DATA.
4761 (acos_tonearest_test_data): Likewise.
4762 (acos_towardzero_test_data): Likewise.
4763 (acos_downward_test_data): Likewise.
4764 (acos_upward_test_data): Likewise.
4765 (acosh_test_data): Likewise.
4766 (asin_test_data): Likewise.
4767 (asin_tonearest_test_data): Likewise.
4768 (asin_towardzero_test_data): Likewise.
4769 (asin_downward_test_data): Likewise.
4770 (asin_upward_test_data): Likewise.
4771 (asinh_test_data): Likewise.
4772 (atan_test_data): Likewise.
4773 (atanh_test_data): Likewise.
4774 (atan2_test_data): Likewise.
4775 (cabs_test_data): Likewise.
4776 (cacos_test_data): Likewise.
4777 (cacosh_test_data): Likewise.
4778 (carg_test_data): Likewise.
4779 (casin_test_data): Likewise.
4780 (casinh_test_data): Likewise.
4781 (catan_test_data): Likewise.
4782 (catanh_test_data): Likewise.
4783 (cbrt_test_data): Likewise.
4784 (ccos_test_data): Likewise.
4785 (ccosh_test_data): Likewise.
4786 (ceil_test_data): Likewise.
4787 (cexp_test_data): Likewise.
4788 (cimag_test_data): Likewise.
4789 (clog_test_data): Likewise.
4790 (clog10_test_data): Likewise.
4791 (conj_test_data): Likewise.
4792 (copysign_test_data): Likewise.
4793 (cos_test_data): Likewise.
4794 (cos_tonearest_test_data): Likewise.
4795 (cos_towardzero_test_data): Likewise.
4796 (cos_downward_test_data): Likewise.
4797 (cos_upward_test_data): Likewise.
4798 (cosh_test_data): Likewise.
4799 (cosh_tonearest_test_data): Likewise.
4800 (cosh_towardzero_test_data): Likewise.
4801 (cosh_downward_test_data): Likewise.
4802 (cosh_upward_test_data): Likewise.
4803 (cpow_test_data): Likewise.
4804 (cproj_test_data): Likewise.
4805 (creal_test_data): Likewise.
4806 (csin_test_data): Likewise.
4807 (csinh_test_data): Likewise.
4808 (csqrt_test_data): Likewise.
4809 (ctan_test_data): Likewise.
4810 (ctan_tonearest_test_data): Likewise.
4811 (ctan_towardzero_test_data): Likewise.
4812 (ctan_downward_test_data): Likewise.
4813 (ctan_upward_test_data): Likewise.
4814 (ctanh_test_data): Likewise.
4815 (ctanh_tonearest_test_data): Likewise.
4816 (ctanh_towardzero_test_data): Likewise.
4817 (ctanh_downward_test_data): Likewise.
4818 (ctanh_upward_test_data): Likewise.
4819 (erf_test_data): Likewise.
4820 (erfc_test_data): Likewise.
4821 (exp_test_data): Likewise.
4822 (exp_tonearest_test_data): Likewise.
4823 (exp_towardzero_test_data): Likewise.
4824 (exp_downward_test_data): Likewise.
4825 (exp_upward_test_data): Likewise.
4826 (exp10_test_data): Likewise.
4827 (exp2_test_data): Likewise.
4828 (expm1_test_data): Likewise.
4829 (fabs_test_data): Likewise.
4830 (fdim_test_data): Likewise.
4831 (finite_test_data): Likewise.
4832 (floor_test_data): Likewise.
4833 (fma_test_data): Likewise.
4834 (fma_towardzero_test_data): Likewise.
4835 (fma_downward_test_data): Likewise.
4836 (fma_upward_test_data): Likewise.
4837 (fmax_test_data): Likewise.
4838 (fmin_test_data): Likewise.
4839 (fmod_test_data): Likewise.
4840 (fpclassify_test_data): Likewise.
4841 (frexp_test_data): Likewise.
4842 (gamma_test_data): Likewise.
4843 (hypot_test_data): Likewise.
4844 (ilogb_test_data): Likewise.
4845 (isfinite_test_data): Likewise.
4846 (isgreater_test_data): Likewise.
4847 (isgreaterequal_test_data): Likewise.
4848 (isinf_test_data): Likewise.
4849 (isless_test_data): Likewise.
4850 (islessequal_test_data): Likewise.
4851 (islessgreater_test_data): Likewise.
4852 (isnan_test_data): Likewise.
4853 (isnormal_test_data): Likewise.
4854 (issignaling_test_data): Likewise.
4855 (isunordered_test_data): Likewise.
4856 (j0_test_data): Likewise.
4857 (j1_test_data): Likewise.
4858 (jn_test_data): Likewise.
4859 (ldexp_test_data): Likewise.
4860 (lgamma_test_data): Likewise.
4861 (lrint_test_data): Likewise.
4862 (lrint_tonearest_test_data): Likewise.
4863 (lrint_towardzero_test_data): Likewise.
4864 (lrint_downward_test_data): Likewise.
4865 (lrint_upward_test_data): Likewise.
4866 (llrint_test_data): Likewise.
4867 (llrint_tonearest_test_data): Likewise.
4868 (llrint_towardzero_test_data): Likewise.
4869 (llrint_downward_test_data): Likewise.
4870 (llrint_upward_test_data): Likewise.
4871 (log_test_data): Likewise.
4872 (log10_test_data): Likewise.
4873 (log1p_test_data): Likewise.
4874 (log2_test_data): Likewise.
4875 (logb_test_data): Likewise.
4876 (logb_downward_test_data): Likewise.
4877 (lround_test_data): Likewise.
4878 (llround_test_data): Likewise.
4879 (modf_test_data): Likewise.
4880 (nearbyint_test_data): Likewise.
4881 (nextafter_test_data): Likewise.
4882 (nexttoward_test_data): Likewise.
4883 (pow_test_data): Likewise.
4884 (pow_tonearest_test_data): Likewise.
4885 (pow_towardzero_test_data): Likewise.
4886 (pow_downward_test_data): Likewise.
4887 (pow_upward_test_data): Likewise.
4888 (remainder_test_data): Likewise.
4889 (remainder_tonearest_test_data): Likewise.
4890 (remainder_towardzero_test_data): Likewise.
4891 (remainder_downward_test_data): Likewise.
4892 (remainder_upward_test_data): Likewise.
4893 (remquo_test_data): Likewise.
4894 (rint_test_data): Likewise.
4895 (rint_tonearest_test_data): Likewise.
4896 (rint_towardzero_test_data): Likewise.
4897 (rint_downward_test_data): Likewise.
4898 (rint_upward_test_data): Likewise.
4899 (round_test_data): Likewise.
4900 (scalb_test_data): Likewise.
4901 (scalbn_test_data): Likewise.
4902 (scalbln_test_data): Likewise.
4903 (signbit_test_data): Likewise.
4904 (sin_test_data): Likewise.
4905 (sin_tonearest_test_data): Likewise.
4906 (sin_towardzero_test_data): Likewise.
4907 (sin_downward_test_data): Likewise.
4908 (sin_upward_test_data): Likewise.
4909 (sincos_test_data): Likewise.
4910 (sinh_test_data): Likewise.
4911 (sinh_tonearest_test_data): Likewise.
4912 (sinh_towardzero_test_data): Likewise.
4913 (sinh_downward_test_data): Likewise.
4914 (sinh_upward_test_data): Likewise.
4915 (sqrt_test_data): Likewise.
4916 (tan_test_data): Likewise.
4917 (tan_tonearest_test_data): Likewise.
4918 (tan_towardzero_test_data): Likewise.
4919 (tan_downward_test_data): Likewise.
4920 (tan_upward_test_data): Likewise.
4921 (tanh_test_data): Likewise.
4922 (tgamma_test_data): Likewise.
4923 (trunc_test_data): Likewise.
4924 (y0_test_data): Likewise.
4925 (y1_test_data): Likewise.
4926 (yn_test_data): Likewise.
4927 (significand_test_data): Likewise.
4928
b679a606
JM
4929 * math/gen-libm-test.pl (@functions): Remove variable.
4930 (generate_testfile): Don't handle START and END lines.
4931 * math/libm-test.inc (START): New macro.
4932 (END): Likewise.
4933 (END_COMPLEX): Likewise.
4934 (acos_test): Use END macro without arguments.
4935 (acos_test_tonearest): Likewise.
4936 (acos_test_towardzero): Likewise.
4937 (acos_test_downward): Likewise.
4938 (acos_test_upward): Likewise.
4939 (acosh_test): Likewise.
4940 (asin_test): Likewise.
4941 (asin_test_tonearest): Likewise.
4942 (asin_test_towardzero): Likewise.
4943 (asin_test_downward): Likewise.
4944 (asin_test_upward): Likewise.
4945 (asinh_test): Likewise.
4946 (atan_test): Likewise.
4947 (atanh_test): Likewise.
4948 (atan2_test): Likewise.
4949 (cabs_test): Likewise.
4950 (cacos_test): Use END_COMPLEX macro without arguments.
4951 (cacosh_test): Likewise.
4952 (carg_test): Use END macro without arguments.
4953 (casin_test): Use END_COMPLEX macro without arguments.
4954 (casinh_test): Likewise.
4955 (catan_test): Likewise.
4956 (catanh_test): Likewise.
4957 (cbrt_test): Use END macro without arguments.
4958 (ccos_test): Use END_COMPLEX macro without arguments.
4959 (ccosh_test): Likewise.
4960 (ceil_test): Use END macro without arguments.
4961 (cexp_test): Use END_COMPLEX macro without arguments.
4962 (cimag_test): Use END macro without arguments.
4963 (clog_test): Use END_COMPLEX macro without arguments.
4964 (clog10_test): Likewise.
4965 (conj_test): Likewise.
4966 (copysign_test): Use END macro without arguments.
4967 (cos_test): Likewise.
4968 (cos_test_tonearest): Likewise.
4969 (cos_test_towardzero): Likewise.
4970 (cos_test_downward): Likewise.
4971 (cos_test_upward): Likewise.
4972 (cosh_test): Likewise.
4973 (cosh_test_tonearest): Likewise.
4974 (cosh_test_towardzero): Likewise.
4975 (cosh_test_downward): Likewise.
4976 (cosh_test_upward): Likewise.
4977 (cpow_test): Use END_COMPLEX macro without arguments.
4978 (cproj_test): Likewise.
4979 (creal_test): Use END macro without arguments.
4980 (csin_test): Use END_COMPLEX macro without arguments.
4981 (csinh_test): Likewise.
4982 (csqrt_test): Likewise.
4983 (ctan_test): Likewise.
4984 (ctan_test_tonearest): Likewise.
4985 (ctan_test_towardzero): Likewise.
4986 (ctan_test_downward): Likewise.
4987 (ctan_test_upward): Likewise.
4988 (ctanh_test): Likewise.
4989 (ctanh_test_tonearest): Likewise.
4990 (ctanh_test_towardzero): Likewise.
4991 (ctanh_test_downward): Likewise.
4992 (ctanh_test_upward): Likewise.
4993 (erf_test): Use END macro without arguments.
4994 (erfc_test): Likewise.
4995 (exp_test): Likewise.
4996 (exp_test_tonearest): Likewise.
4997 (exp_test_towardzero): Likewise.
4998 (exp_test_downward): Likewise.
4999 (exp_test_upward): Likewise.
5000 (exp10_test): Likewise.
5001 (exp2_test): Likewise.
5002 (expm1_test): Likewise.
5003 (fabs_test): Likewise.
5004 (fdim_test): Likewise.
5005 (finite_test): Likewise.
5006 (floor_test): Likewise.
5007 (fma_test): Likewise.
5008 (fma_test_towardzero): Likewise.
5009 (fma_test_downward): Likewise.
5010 (fma_test_upward): Likewise.
5011 (fmax_test): Likewise.
5012 (fmin_test): Likewise.
5013 (fmod_test): Likewise.
5014 (fpclassify_test): Likewise.
5015 (frexp_test): Likewise.
5016 (gamma_test): Likewise.
5017 (hypot_test): Likewise.
5018 (ilogb_test): Likewise.
5019 (isfinite_test): Likewise.
5020 (isgreater_test): Likewise.
5021 (isgreaterequal_test): Likewise.
5022 (isinf_test): Likewise.
5023 (isless_test): Likewise.
5024 (islessequal_test): Likewise.
5025 (islessgreater_test): Likewise.
5026 (isnan_test): Likewise.
5027 (isnormal_test): Likewise.
5028 (issignaling_test): Likewise.
5029 (isunordered_test): Likewise.
5030 (j0_test): Likewise.
5031 (j1_test): Likewise.
5032 (jn_test): Likewise.
5033 (ldexp_test): Likewise.
5034 (lgamma_test): Likewise.
5035 (lrint_test): Likewise.
5036 (lrint_test_tonearest): Likewise.
5037 (lrint_test_towardzero): Likewise.
5038 (lrint_test_downward): Likewise.
5039 (lrint_test_upward): Likewise.
5040 (llrint_test): Likewise.
5041 (llrint_test_tonearest): Likewise.
5042 (llrint_test_towardzero): Likewise.
5043 (llrint_test_downward): Likewise.
5044 (llrint_test_upward): Likewise.
5045 (log_test): Likewise.
5046 (log10_test): Likewise.
5047 (log1p_test): Likewise.
5048 (log2_test): Likewise.
5049 (logb_test): Likewise.
5050 (logb_test_downward): Likewise.
5051 (lround_test): Likewise.
5052 (llround_test): Likewise.
5053 (modf_test): Likewise.
5054 (nearbyint_test): Likewise.
5055 (nextafter_test): Likewise.
5056 (nexttoward_test): Likewise.
5057 (pow_test): Likewise.
5058 (pow_test_tonearest): Likewise.
5059 (pow_test_towardzero): Likewise.
5060 (pow_test_downward): Likewise.
5061 (pow_test_upward): Likewise.
5062 (remainder_test): Likewise.
5063 (remainder_test_tonearest): Likewise.
5064 (remainder_test_towardzero): Likewise.
5065 (remainder_test_downward): Likewise.
5066 (remainder_test_upward): Likewise.
5067 (remquo_test): Likewise.
5068 (rint_test): Likewise.
5069 (rint_test_tonearest): Likewise.
5070 (rint_test_towardzero): Likewise.
5071 (rint_test_downward): Likewise.
5072 (rint_test_upward): Likewise.
5073 (round_test): Likewise.
5074 (scalb_test): Likewise.
5075 (scalbn_test): Likewise.
5076 (scalbln_test): Likewise.
5077 (signbit_test): Likewise.
5078 (sin_test): Likewise.
5079 (sin_test_tonearest): Likewise.
5080 (sin_test_towardzero): Likewise.
5081 (sin_test_downward): Likewise.
5082 (sin_test_upward): Likewise.
5083 (sincos_test): Likewise.
5084 (sinh_test): Likewise.
5085 (sinh_test_tonearest): Likewise.
5086 (sinh_test_towardzero): Likewise.
5087 (sinh_test_downward): Likewise.
5088 (sinh_test_upward): Likewise.
5089 (sqrt_test): Likewise.
5090 (tan_test): Likewise.
5091 (tan_test_tonearest): Likewise.
5092 (tan_test_towardzero): Likewise.
5093 (tan_test_downward): Likewise.
5094 (tan_test_upward): Likewise.
5095 (tanh_test): Likewise.
5096 (tgamma_test): Likewise.
5097 (trunc_test): Likewise.
5098 (y0_test): Likewise.
5099 (y1_test): Likewise.
5100 (yn_test): Likewise.
5101 (significand_test): Likewise.
5102
bae143d2
OB
51032013-05-24 Ondřej Bílka <neleai@seznam.cz>
5104
5105 [BZ #15381]
5106 * libio/genops.c (_IO_no_init): Initialize wide struct info.
5107
9323d39b
EM
51082013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
5109
d4ea44a0 5110 [BZ #14894]
9323d39b
EM
5111 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
5112 __ppc_mdoio and __ppc_mdoom.
5113 * manual/platform.texi: Document new functions __ppc_yield,
5114 __ppc_mdoio and __ppc_mdoom.
5115
13e23af7
CD
51162013-05-22 Carlos O'Donell <carlos@redhat.com>
5117
5118 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
5119 (main): Mention "tls" pseudo-hwcap is legacy.
5120 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
5121
351fe550
JM
51222013-05-22 Joseph Myers <joseph@codesourcery.com>
5123
5124 * math/gen-libm-test.pl (parse_args): Output only string of
5125 arguments as text for test name, not full call or descriptions of
5126 tests for extra outputs.
5127 (generate_testfile): Do not pass function name to parse_args.
5128 Generate this_func variable from START.
5129 * math/libm-test.inc (struct test_f_f_data): Rename test_name
5130 field to arg_str.
5131 (struct test_ff_f_data): Likewise.
5132 (test_ff_f_data_nexttoward): Likewise.
5133 (struct test_fi_f_data): Likewise.
5134 (struct test_fl_f_data): Likewise.
5135 (struct test_if_f_data): Likewise.
5136 (struct test_fff_f_data): Likewise.
5137 (struct test_c_f_data): Likewise.
5138 (struct test_f_f1_data): Likewise. Remove field extra_name.
5139 (struct test_fF_f1_data): Likewise.
5140 (struct test_ffI_f1_data): Likewise.
5141 (struct test_c_c_data): Rename test_name field to arg_str.
5142 (struct test_cc_c_data): Likewise.
5143 (struct test_f_i_data): Likewise.
5144 (struct test_ff_i_data): Likewise.
5145 (struct test_f_l_data): Likewise.
5146 (struct test_f_L_data): Likewise.
5147 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
5148 and extra2_name.
5149 (COMMON_TEST_SETUP): New macro.
5150 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
5151 (COMMON_TEST_CLEANUP): Likewise.
5152 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
5153 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
5154 macros.
5155 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
5156 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
5157 macros.
5158 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
5159 (RUN_TEST_fff_f): Take argument string. Call new setup and
5160 cleanup macros.
5161 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
5162 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
5163 macros.
5164 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
5165 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
5166 macros.
5167 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5168 (RUN_TEST_fF_f1): Take argument string. Call new setup and
5169 cleanup macros.
5170 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5171 (RUN_TEST_fI_f1): Take argument string. Call new setup and
5172 cleanup macros.
5173 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5174 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
5175 cleanup macros.
5176 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5177 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
5178 macros.
5179 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
5180 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
5181 macros.
5182 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
5183 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
5184 macros.
5185 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
5186 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
5187 cleanup macros.
5188 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
5189 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
5190 cleanup macros.
5191 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
5192 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
5193 macros.
5194 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
5195 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
5196 cleanup macros.
5197 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
5198 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
5199 macros.
5200 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
5201 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
5202 macros.
5203 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
5204 (RUN_TEST_fFF_11): Take argument string. Call new setup and
5205 cleanup macros.
5206 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
5207
85118d4d
EBM
52082013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5209
5210 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
5211 to _sifields.sigfault.
5212 (si_addr_lsb): Define new macro.
5213 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5214 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5215 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
5216
7a44c18f
CD
52172013-05-03 Carlos O'Donell <carlos at redhat.com>
5218
5219 [BZ #15441]
5220 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
5221 returns -1.
5222 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
5223 null return -1.
5224 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
5225 loading the domain.
5226
b50a7181
JM
52272013-05-22 Joseph Myers <joseph@codesourcery.com>
5228
5229 * math/gen-libm-test.pl (parse_args): Do not include expected
5230 result in test name.
5231 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
5232 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5233 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5234 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5235 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5236 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5237
051063c8
SP
52382013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5239
3ce9e010
SP
5240 * benchtests/Makefile: Sort function entries.
5241
051063c8
SP
5242 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
5243 tanh, asinh, acosh, atanh.
5244 * benchtests/acos-inputs: New file.
5245 * benchtests/acosh-inputs: New file.
5246 * benchtests/asin-inputs: New file.
5247 * benchtests/asinh-inputs: New file.
5248 * benchtests/atanh-inputs: New file.
5249 * benchtests/cosh-inputs: New file.
5250 * benchtests/log-inputs: New file.
5251 * benchtests/sinh-inputs: New file.
5252 * benchtests/tanh-inputs: New file.
5253
47c22455
DL
52542013-05-21 Dmitry V. Levin <ldv@altlinux.org>
5255
5256 [BZ #15339]
5257 * posix/tst-getaddrinfo4.c: New test.
5258 * posix/Makefile (tests): Add it.
5259
3d04f5db
SP
52602013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5261
5262 [BZ #15339]
5263 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
5264 when no services were used.
5265 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
5266 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
5267
d5dd6189
AS
52682013-05-21 Andreas Schwab <schwab@suse.de>
5269
5270 [BZ #15014]
5271 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
5272 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
5273 successful.
5274 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
5275 redundant variable declarations and reallocation of buffer when
5276 parsing as IPv6 address. Always set NSS status when called from
5277 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
5278 buffer too small. Correct computation of needed size.
5279 * nss/Makefile (tests): Add test-digits-dots.
5280 * nss/test-digits-dots.c: New test.
5281
fef94eab
SP
52822013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5283
5284 * benchtests/Makefile: Remove instructions for adding
5285 benchmark tests.
5286 * benchtests/README: New file to explain how to execute and
5287 enhance the benchmark tests.
5288
e39adf43
AS
52892013-05-21 Andreas Schwab <schwab@suse.de>
5290
5291 [BZ #15493]
5292 * setjmp/Makefile (tests): Add tst-sigsetjmp.
5293 * setjmp/tst-sigsetjmp.c: New test.
5294
b2b671b6
OB
52952013-05-20 Ondřej Bílka <neleai@seznam.cz>
5296
5297 * sysdeps/x86_64/memset.S (memset): New implementation.
5298 (__bzero): Likewise.
5299 (__memset_tail): New function.
5300
2d48b41c
OB
53012013-05-20 Ondřej Bílka <neleai@seznam.cz>
5302
5303 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
5304 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
5305 __memcpy_sse2_unaligned ifunc selection.
5306 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5307 Add memcpy-sse2-unaligned.S.
5308 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5309 Add: __memcpy_sse2_unaligned.
5310
f16cc3eb
JM
53112013-05-19 Joseph Myers <joseph@codesourcery.com>
5312
3e694268
JM
5313 [BZ #15490]
5314 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
5315 math_force_eval before restoring floating-point envrionment.
5316 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
5317 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
5318 Likewise.
5319 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
5320 <math_private.h>.
5321 (__nearbyintl): Use math_force_eval before restoring
5322 floating-point environment.
5323 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
5324
db62a907
JM
5325 * math/gen-libm-test.pl (special_functions): Remove.
5326 (parse_args): Don't handle TEST_extra. Handle functions with no
5327 return value.
5328 * math/libm-test.inc (struct test_sincos_data): Replace with
5329 struct test_fFF_11_data.
5330 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
5331 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
5332 (sincos_test_data): Change element type to struct
5333 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
5334 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
5335 RUN_TEST_LOOP_sincos.
5336 * math/README.libm-test: Don't mention special handling of
5337 individual functions.
5338 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
5339 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5340 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5341 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5342 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5344
f16cc3eb
JM
5345 * math/gen-libm-test.pl (get_variable): Remove function.
5346 (parse_args): Don't show pointer parameters to call in test
5347 names. Use "extra output N" in test names for extra outputs
5348 rather than naming variables.
5349
3779b5b6
JM
53502013-05-18 Joseph Myers <joseph@codesourcery.com>
5351
2ee094ff
JM
5352 [BZ #15488]
5353 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
5354 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
5355 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
5356 double tests.
5357 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
5358 disable.
5359 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
5360 check_long_double.
5361
3779b5b6
JM
5362 * math/gen-libm-test.pl (@tests): Remove variable.
5363 ($count): Likewise.
5364 (new_test): Remove function.
5365 (show_exceptions): New function.
5366 (special_functions): Use show_exceptions instead of new_test.
5367 (parse_args): Likewise.
5368 (generate_testfile): Pass only function name in generated call to
5369 print_max_error or print_complex_max_error.
5370 (get_ulps): Do not handle complex tests specially.
5371 (output_test): Rename to ...
5372 (get_all_ulps_for_test): ... this. Return a string rather than
5373 printing to a file. Require ulps to be present.
5374 (output_ulps): Generate arrays rather than #defines.
5375 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
5376 (struct ulp_data): New type.
5377 (BUILD_COMPLEX_ULP): Remove macro.
5378 (compare_ulp_data): New function.
5379 (find_ulps): Likewise.
5380 (find_test_ulps): Likewise.
5381 (find_function_ulps): Likewise.
5382 (find_complex_function_ulps): Likewise.
5383 (print_max_error): Determine allowed ulps using
5384 find_function_ulps.
5385 (print_complex_max_error): Determine allowed ulps using
5386 find_complex_function_ulps.
5387 (check_float_internal): Determine max ulps using find_test_ulps.
5388 (check_float): Do not take max_ulp parameter. Update call to
5389 check_float_internal.
5390 (check_complex): Likewise.
5391 (check_int): Do not take max_ulp parameter.
5392 (check_long): Likewise.
5393 (check_bool): Likewise.
5394 (check_longlong): Likewise.
5395 (struct test_f_f_data): Remove max_ulp field.
5396 (struct test_ff_f_data): Likewise.
5397 (struct test_ff_f_data_nexttoward): Likewise.
5398 (struct test_fi_f_data): Likewise.
5399 (struct test_fl_f_data): Likewise.
5400 (struct test_if_f_data): Likewise.
5401 (struct test_fff_f_data): Likewise.
5402 (struct test_c_f_data): Likewise.
5403 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
5404 (struct test_fF_f1_data): Likewise.
5405 (struct test_ffI_f1_data): Likewise.
5406 (struct test_c_c_data): Remove max_ulp field.
5407 (struct test_cc_c_data): Likewise.
5408 (struct test_f_i_data): Likewise.
5409 (struct test_ff_i_data): Likewise.
5410 (struct test_f_l_data): Likewise.
5411 (struct test_f_L_data): Likewise.
5412 (struct test_sincos_data): Likewise.
5413 (RUN_TEST_f_f): Do not handle ulps.
5414 (RUN_TEST_LOOP_f_f): Likewise.
5415 (RUN_TEST_2_f): Likewise.
5416 (RUN_TEST_LOOP_2_f): Likewise.
5417 (RUN_TEST_fff_f): Likewise.
5418 (RUN_TEST_LOOP_fff_f): Likewise.
5419 (RUN_TEST_c_f): Likewise.
5420 (RUN_TEST_LOOP_c_f): Likewise.
5421 (RUN_TEST_f_f1): Likewise.
5422 (RUN_TEST_LOOP_f_f1): Likewise.
5423 (RUN_TEST_fF_f1): Likewise.
5424 (RUN_TEST_LOOP_fF_f1): Likewise.
5425 (RUN_TEST_fI_f1): Likewise.
5426 (RUN_TEST_LOOP_fI_f1): Likewise.
5427 (RUN_TEST_ffI_f1): Likewise.
5428 (RUN_TEST_LOOP_ffI_f1): Likewise.
5429 (RUN_TEST_c_c): Likewise.
5430 (RUN_TEST_LOOP_c_c): Likewise.
5431 (RUN_TEST_cc_c): Likewise.
5432 (RUN_TEST_LOOP_cc_c): Likewise.
5433 (RUN_TEST_f_i): Likewise.
5434 (RUN_TEST_LOOP_f_i): Likewise.
5435 (RUN_TEST_f_i_tg): Likewise.
5436 (RUN_TEST_LOOP_f_i_tg): Likewise.
5437 (RUN_TEST_ff_i_tg): Likewise.
5438 (RUN_TEST_LOOP_ff_i_tg): Likewise.
5439 (RUN_TEST_f_b): Likewise.
5440 (RUN_TEST_LOOP_f_b): Likewise.
5441 (RUN_TEST_f_b_tg): Likewise.
5442 (RUN_TEST_LOOP_f_b_tg): Likewise.
5443 (RUN_TEST_f_l): Likewise.
5444 (RUN_TEST_LOOP_f_l): Likewise.
5445 (RUN_TEST_f_L): Likewise.
5446 (RUN_TEST_LOOP_f_L): Likewise.
5447 (RUN_TEST_sincos): Likewise.
5448 (RUN_TEST_LOOP_sincos): Likewise.
5449
8269107f
JM
54502013-05-17 Joseph Myers <joseph@codesourcery.com>
5451
bb38759d
JM
5452 [BZ #15480]
5453 [BZ #15485]
5454 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
5455 main case of finite arguments, set rounding mode to FE_TONEAREST
5456 and discard exceptions.
5457 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
5458 exceptions.
5459 (remainder_tonearest_test_data): New variable.
5460 (remainder_test_tonearest): New function.
5461 (remainder_towardzero_test_data): New variable.
5462 (remainder_test_towardzero): New function.
5463 (remainder_downward_test_data): New variable.
5464 (remainder_test_downward): New function.
5465 (remainder_upward_test_data): New variable.
5466 (remainder_test_upward): New function.
5467 (main): Call the new test functions.
5468
a00bdcf0
JM
5469 * math/libm-test.inc (struct test_f_f1_data): Remove field
5470 extra_init.
5471 (struct test_fF_f1_data): Likewise.
5472 (struct test_ffI_f1_data): Likewise.
5473 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
5474 based on value of EXTRA_EXPECTED.
5475 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5476 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
5477 EXTRA_VAR based on value of EXTRA_EXPECTED.
5478 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5479 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
5480 EXTRA_VAR based on value of EXTRA_EXPECTED.
5481 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5482 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
5483 EXTRA_VAR based on value of EXTRA_EXPECTED.
5484 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5485 * math/gen-libm-test.pl (parse_args): Don't output initializers
5486 for extra output values.
5487
de407f79
JM
5488 * math/libm-test.inc (check_int): Expect result to be exactly
5489 equal to expected value and do not handle ulps.
5490 (check_long): Likewise.
5491 (check_longlong): Likewise.
5492
8269107f
JM
5493 * math/libm-test.inc (ceil_test_data): Test for "inexact"
5494 exceptions.
5495 (cimag_test_data): Likewise.
5496 (conj_test_data): Likewise.
5497 (copysign_test_data): Likewise.
5498 (cproj_test_data): Likewise.
5499 (creal_test_data): Likewise.
5500 (fabs_test_data): Likewise.
5501 (fdim_test_data): Likewise.
5502 (finite_test_data): Likewise.
5503 (floor_test_data): Likewise.
5504 (fmax_test_data): Likewise.
5505 (fmin_test_data): Likewise.
5506 (fmod_test_data): Likewise.
5507 (fpclassify_test_data): Likewise.
5508 (frexp_test_data): Likewise.
5509 (ilogb_test_data): Likewise.
5510 (isfinite_test_data): Likewise.
5511 (isgreater_test_data): Likewise.
5512 (isgreaterequal_test_data): Likewise.
5513 (isinf_test_data): Likewise.
5514 (isless_test_data): Likewise.
5515 (islessequal_test_data): Likewise.
5516 (islessgreater_test_data): Likewise.
5517 (isnan_test_data): Likewise.
5518 (isnormal_test_data): Likewise.
5519 (issignaling_test_data): Likewise.
5520 (isunordered_test_data): Likewise.
5521 (ldexp_test_data): Likewise.
5522 (lrint_test_data): Likewise.
5523 (lrint_test_data) [TEST_FLOAT]: Disable one test.
5524 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
5525 (lrint_tonearest_test_data): Test for "inexact" exceptions.
5526 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5527 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
5528 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5529 test input.
5530 (lrint_towardzero_test_data): Test for "inexact" exceptions.
5531 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5532 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
5533 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
5534 that test input.
5535 (lrint_downward_test_data): Test for "inexact" exceptions.
5536 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5537 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
5538 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5539 test input.
5540 (lrint_upward_test_data): Test for "inexact" exceptions.
5541 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
5542 test input.
5543 (llrint_test_data): Test for "inexact" exceptions.
5544 (llrint_test_data) [TEST_FLOAT]: Disable one test.
5545 (llrint_tonearest_test_data): Test for "inexact" exceptions.
5546 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5547 (llrint_towardzero_test_data): Test for "inexact" exceptions.
5548 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5549 (llrint_downward_test_data): Test for "inexact" exceptions.
5550 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5551 (llrint_upward_test_data): Test for "inexact" exceptions.
5552 (logb_test_data): Likewise.
5553 (logb_downward_test_data): Likewise.
5554 (nextafter_test_data): Likewise.
5555 (nexttoward_test_data): Likewise.
5556 (remainder_test_data): Likewise.
5557 (remquo_test_data): Likewise.
5558 (scalbn_test_data): Likewise.
5559 (scalbln_test_data): Likewise.
5560 (signbit_test_data): Likewise.
5561 (sqrt_test_data): Likewise.
5562 (significand_test_data): Likewise.
5563
48a18de1
SP
55642013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5565
5566 [BZ #15424]
5567 * benchtests/bench-modf.c (struct args): Mark arg0 as
5568 volatile.
5569 * scripts/bench.pl: Mark members of struct args as volatile.
5570
13d3b41a
AZ
55712013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5572
68191c1d 5573 [BZ # 15497]
13d3b41a
AZ
5574 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
5575 negative infinity on POWER6 or lower.
5576 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
5577
2848b105
MR
55782013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5579
5580 [BZ #15442]
5581 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
5582 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
5583 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
5584 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
5585 (_FP_SETQNAN): New macro.
5586 (_FP_SETQNAN_SEMIRAW): Likewise.
5587 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
5588 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
5589 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
5590 (FP_EXTEND): Use _FP_FRAC_SNANP.
5591 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
5592 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
5593 into account.
5594 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5595 New macro.
5596 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5597 Likewise.
5598
323e5cb7
JM
55992013-05-16 Joseph Myers <joseph@codesourcery.com>
5600
c58b274f
JM
5601 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
5602 with DIVIDE_BY_ZERO_EXCEPTION.
5603 (gamma_test_data): Likewise.
5604 (lgamma_test_data): Likewise.
5605 (log_test_data): Likewise.
5606 (log10_test_data): Likewise.
5607 (log2_test_data): Likewise.
5608 (tgamma_test_data): Likewise.
5609
0ab34904
JM
5610 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
5611 (acos_test_tonearest): Likewise.
5612 (acos_test_towardzero): Likewise.
5613 (acos_test_downward): Likewise.
5614 (acos_test_upward): Likewise.
5615 (acosh_test): Likewise.
5616 (asin_test): Likewise.
5617 (asin_test_tonearest): Likewise.
5618 (asin_test_towardzero): Likewise.
5619 (asin_test_downward): Likewise.
5620 (asin_test_upward): Likewise.
5621 (asinh_test): Likewise.
5622 (atan_test): Likewise.
5623 (atanh_test): Likewise.
5624 (atan2_test): Likewise.
5625 (cabs_test): Likewise.
5626 (cacos_test): Likewise.
5627 (cacosh_test): Likewise.
5628 (casin_test): Likewise.
5629 (casinh_test): Likewise.
5630 (catan_test): Likewise.
5631 (catanh_test): Likewise.
5632 (cbrt_test): Likewise.
5633 (ccos_test): Likewise.
5634 (ccosh_test): Likewise.
5635 (cexp_test): Likewise.
5636 (clog_test): Likewise.
5637 (clog10_test): Likewise.
5638 (cos_test): Likewise.
5639 (cos_test_tonearest): Likewise.
5640 (cos_test_towardzero): Likewise.
5641 (cos_test_downward): Likewise.
5642 (cos_test_upward): Likewise.
5643 (cosh_test): Likewise.
5644 (cosh_test_tonearest): Likewise.
5645 (cosh_test_towardzero): Likewise.
5646 (cosh_test_downward): Likewise.
5647 (cosh_test_upward): Likewise.
5648 (cpow_test): Likewise.
5649 (csin_test): Likewise.
5650 (csinh_test): Likewise.
5651 (csqrt_test): Likewise.
5652 (ctan_test): Likewise.
5653 (ctan_test_tonearest): Likewise.
5654 (ctan_test_towardzero): Likewise.
5655 (ctan_test_downward): Likewise.
5656 (ctan_test_upward): Likewise.
5657 (ctanh_test): Likewise.
5658 (ctanh_test_tonearest): Likewise.
5659 (ctanh_test_towardzero): Likewise.
5660 (ctanh_test_downward): Likewise.
5661 (ctanh_test_upward): Likewise.
5662 (erf_test): Likewise.
5663 (erfc_test): Likewise.
5664 (exp_test): Likewise.
5665 (exp_test_tonearest): Likewise.
5666 (exp_test_towardzero): Likewise.
5667 (exp_test_downward): Likewise.
5668 (exp_test_upward): Likewise.
5669 (exp10_test): Likewise.
5670 (exp2_test): Likewise.
5671 (expm1_test): Likewise.
5672 (fmod_test): Likewise.
5673 (gamma_test): Likewise.
5674 (hypot_test): Likewise.
5675 (j0_test): Likewise.
5676 (j1_test): Likewise.
5677 (jn_test): Likewise.
5678 (lgamma_test): Likewise.
5679 (log_test): Likewise.
5680 (log10_test): Likewise.
5681 (log1p_test): Likewise.
5682 (log2_test): Likewise.
5683 (logb_test_downward): Likewise.
5684 (pow_test): Likewise.
5685 (pow_test_tonearest): Likewise.
5686 (pow_test_towardzero): Likewise.
5687 (pow_test_downward): Likewise.
5688 (pow_test_upward): Likewise.
5689 (remainder_test): Likewise.
5690 (remquo_test): Likewise.
5691 (sin_test): Likewise.
5692 (sin_test_tonearest): Likewise.
5693 (sin_test_towardzero): Likewise.
5694 (sin_test_downward): Likewise.
5695 (sin_test_upward): Likewise.
5696 (sincos_test): Likewise.
5697 (sinh_test): Likewise.
5698 (sinh_test_tonearest): Likewise.
5699 (sinh_test_towardzero): Likewise.
5700 (sinh_test_downward): Likewise.
5701 (sinh_test_upward): Likewise.
5702 (sqrt_test): Likewise.
5703 (tan_test): Likewise.
5704 (tan_test_tonearest): Likewise.
5705 (tan_test_towardzero): Likewise.
5706 (tan_test_downward): Likewise.
5707 (tan_test_upward): Likewise.
5708 (tanh_test): Likewise.
5709 (tgamma_test): Likewise.
5710 (y0_test): Likewise.
5711 (y1_test): Likewise.
5712 (yn_test): Likewise.
5713
323e5cb7
JM
5714 * math/gen-libm-test.pl (adjust_arg): Remove function.
5715 (special_function): Remove argument $in_func. Only handle
5716 generating output for tables of tests, not inside functions.
5717 (parse_args): Likewise.
5718 (generate_testfile): Remove variable $in_func. Update call to
5719 parse_args.
5720 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
5721 (MINUS_ZERO_INIT): Rename macro to minus_zero.
5722 (PLUS_INFTY_INIT): Rename macro to plus_infty.
5723 (MINUS_INFTY_INIT): Rename macro to minus_infty.
5724 (QNAN_VALUE_INIT): Rename macro to qnan_value.
5725 (MAX_VALUE_INIT): Rename macro to max_value.
5726 (MIN_VALUE_INIT): Rename macro to min_value.
5727 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
5728 (plus_zero): Remove variable.
5729 (minus_zero): Likewise.
5730 (plus_infty): Likewise.
5731 (minus_infty): Likewise.
5732 (qnan_value): Likewise.
5733 (max_value): Likewise.
5734 (min_value): Likewise.
5735 (min_subnorm_value): Likewise.
5736
e054f494
RA
57372013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5738
5739 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
5740 uint64_t or uint32_t usage.
5741 * crypt/sha256-block.c: Likewise.
5742 * crypt/sha256-crypt.c: Likewise.
5743 * crypt/sha256.c: Likewise.
5744 * crypt/sha512-block.c: Likewise.
5745 * crypt/sha512-crypt.c: Likewise.
5746 * crypt/sha512.c: Likewise.
5747 * debug/backtrace-tst.c: Likewise.
5748 * debug/pcprofiledump.c: Likewise.
5749 * elf/cache.c: Likewise.
5750 * elf/dl-cache.c: Likewise.
5751 * elf/dl-misc.c: Likewise.
5752 * elf/dl-profile.c: Likewise.
5753 * elf/dl-support.c: Likewise.
5754 * elf/ldconfig.c: Likewise.
5755 * elf/sprof.c: Likewise.
5756 * iconv/dummy-repertoire.c: Likewise.
5757 * iconv/iconv_charmap.c: Likewise.
5758 * iconv/skeleton.c: Likewise.
5759 * iconvdata/8bit-generic.c: Likewise.
5760 * iconvdata/cp737.h: Likewise.
5761 * iconvdata/cp775.h: Likewise.
5762 * iconvdata/ibm1008.h: Likewise.
5763 * iconvdata/ibm1025.h: Likewise.
5764 * iconvdata/ibm1046.h: Likewise.
5765 * iconvdata/ibm1097.h: Likewise.
5766 * iconvdata/ibm1112.h: Likewise.
5767 * iconvdata/ibm1122.h: Likewise.
5768 * iconvdata/ibm1123.h: Likewise.
5769 * iconvdata/ibm1124.h: Likewise.
5770 * iconvdata/ibm1129.h: Likewise.
5771 * iconvdata/ibm1130.h: Likewise.
5772 * iconvdata/ibm1132.h: Likewise.
5773 * iconvdata/ibm1133.h: Likewise.
5774 * iconvdata/ibm1137.h: Likewise.
5775 * iconvdata/ibm1140.h: Likewise.
5776 * iconvdata/ibm1141.h: Likewise.
5777 * iconvdata/ibm1142.h: Likewise.
5778 * iconvdata/ibm1143.h: Likewise.
5779 * iconvdata/ibm1144.h: Likewise.
5780 * iconvdata/ibm1145.h: Likewise.
5781 * iconvdata/ibm1146.h: Likewise.
5782 * iconvdata/ibm1147.h: Likewise.
5783 * iconvdata/ibm1148.h: Likewise.
5784 * iconvdata/ibm1149.h: Likewise.
5785 * iconvdata/ibm1153.h: Likewise.
5786 * iconvdata/ibm1154.h: Likewise.
5787 * iconvdata/ibm1155.h: Likewise.
5788 * iconvdata/ibm1156.h: Likewise.
5789 * iconvdata/ibm1157.h: Likewise.
5790 * iconvdata/ibm1158.h: Likewise.
5791 * iconvdata/ibm1160.h: Likewise.
5792 * iconvdata/ibm1161.h: Likewise.
5793 * iconvdata/ibm1162.h: Likewise.
5794 * iconvdata/ibm1163.h: Likewise.
5795 * iconvdata/ibm1164.h: Likewise.
5796 * iconvdata/ibm1166.h: Likewise.
5797 * iconvdata/ibm1167.h: Likewise.
5798 * iconvdata/ibm12712.h: Likewise.
5799 * iconvdata/ibm1390.h: Likewise.
5800 * iconvdata/ibm1399.h: Likewise.
5801 * iconvdata/ibm16804.h: Likewise.
5802 * iconvdata/ibm4517.h: Likewise.
5803 * iconvdata/ibm4899.h: Likewise.
5804 * iconvdata/ibm4909.h: Likewise.
5805 * iconvdata/ibm4971.h: Likewise.
5806 * iconvdata/ibm5347.h: Likewise.
5807 * iconvdata/ibm803.h: Likewise.
5808 * iconvdata/ibm856.h: Likewise.
5809 * iconvdata/ibm901.h: Likewise.
5810 * iconvdata/ibm902.h: Likewise.
5811 * iconvdata/ibm9030.h: Likewise.
5812 * iconvdata/ibm9066.h: Likewise.
5813 * iconvdata/ibm921.h: Likewise.
5814 * iconvdata/ibm922.h: Likewise.
5815 * iconvdata/ibm9448.h: Likewise.
5816 * iconvdata/isiri-3342.h: Likewise.
5817 * iconvdata/jis0201.h: Likewise.
5818 * include/link.h: Likewise.
5819 * include/netdb.h: Likewise.
5820 * inet/check_native.c: Likewise.
5821 * inet/check_pf.c: Likewise.
5822 * inet/getipv4sourcefilter.c: Likewise.
5823 * inet/getnameinfo.c: Likewise.
5824 * inet/getsourcefilter.c: Likewise.
5825 * inet/htonl.c: Likewise.
5826 * inet/setipv4sourcefilter.c: Likewise.
5827 * inet/setsourcefilter.c: Likewise.
5828 * inet/test-inet6_opt.c: Likewise.
5829 * inet/tst-network.c: Likewise.
5830 * locale/C-collate.c: Likewise.
5831 * locale/C-ctype.c: Likewise.
5832 * locale/C-time.c: Likewise.
5833 * locale/C-translit.h: Likewise.
5834 * locale/loadarchive.c: Likewise.
5835 * locale/programs/3level.h: Likewise.
5836 * locale/programs/charmap.c: Likewise.
5837 * locale/programs/charmap.h: Likewise.
5838 * locale/programs/ld-address.c: Likewise.
5839 * locale/programs/ld-collate.c: Likewise.
5840 * locale/programs/ld-ctype.c: Likewise.
5841 * locale/programs/ld-identification.c: Likewise.
5842 * locale/programs/ld-measurement.c: Likewise.
5843 * locale/programs/ld-messages.c: Likewise.
5844 * locale/programs/ld-monetary.c: Likewise.
5845 * locale/programs/ld-name.c: Likewise.
5846 * locale/programs/ld-numeric.c: Likewise.
5847 * locale/programs/ld-paper.c: Likewise.
5848 * locale/programs/ld-telephone.c: Likewise.
5849 * locale/programs/ld-time.c: Likewise.
5850 * locale/programs/linereader.c: Likewise.
5851 * locale/programs/locale.c: Likewise.
5852 * locale/programs/locarchive.c: Likewise.
5853 * locale/programs/locfile.h: Likewise.
5854 * locale/programs/repertoire.c: Likewise.
5855 * locale/programs/simple-hash.c: Likewise.
5856 * locale/programs/simple-hash.h: Likewise.
5857 * malloc/memusage.c: Likewise.
5858 * malloc/memusagestat.c: Likewise.
5859 * nis/nis_defaults.c: Likewise.
5860 * nis/nis_hash.c: Likewise.
5861 * nis/nis_print.c: Likewise.
5862 * nis/nis_xdr.c: Likewise.
5863 * nscd/connections.c: Likewise.
5864 * nscd/hstcache.c: Likewise.
5865 * nscd/nscd_gethst_r.c: Likewise.
5866 * nscd/nscd_getserv_r.c: Likewise.
5867 * nscd/nscd_helper.c: Likewise.
5868 * nscd/servicescache.c: Likewise.
5869 * nss/makedb.c: Likewise.
5870 * nss/nss_db/db-XXX.c: Likewise.
5871 * nss/nss_db/db-initgroups.c: Likewise.
5872 * nss/nss_db/db-netgrp.c: Likewise.
5873 * nss/nss_files/files-network.c: Likewise.
5874 * nss/nss_files/files-parse.c: Likewise.
5875 * posix/bug-regex5.c: Likewise.
5876 * posix/fnmatch_loop.c: Likewise.
5877 * posix/regcomp.c: Likewise.
5878 * posix/regexec.c: Likewise.
5879 * posix/tst-rfc3484-2.c: Likewise.
5880 * posix/tst-rfc3484-3.c: Likewise.
5881 * posix/tst-rfc3484.c: Likewise.
5882 * resolv/nss_dns/dns-canon.c: Likewise.
5883 * resolv/nss_dns/dns-network.c: Likewise.
5884 * resolv/res_init.c: Likewise.
5885 * resolv/res_mkquery.c: Likewise.
5886 * resolv/tst-aton.c: Likewise.
5887 * stdlib/cxa_atexit.c: Likewise.
5888 * stdlib/cxa_finalize.c: Likewise.
5889 * stdlib/gen-fpioconst.c: Likewise.
5890 * stdlib/strtol_l.c: Likewise.
5891 * string/tst-endian.c: Likewise.
5892 * sunrpc/auth_des.c: Likewise.
5893 * sunrpc/clnt_udp.c: Likewise.
5894 * sunrpc/rtime.c: Likewise.
5895 * sunrpc/svcauth_des.c: Likewise.
5896 * sunrpc/xdr.c: Likewise.
5897 * sunrpc/xdr_intXX_t.c: Likewise.
5898 * sunrpc/xdr_rec.c: Likewise.
5899 * sysdeps/generic/ldconfig.h: Likewise.
5900 * sysdeps/generic/ldsodefs.h: Likewise.
5901 * sysdeps/generic/memusage.h: Likewise.
5902 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5903 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
5904 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
5905 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5906 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5907 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5908 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5909 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5910 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5911 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5912 * sysdeps/posix/getaddrinfo.c: Likewise.
5913 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5914 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5915 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5916 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5917 * sysdeps/powerpc/test-gettimebase.c: Likewise.
5918 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5919 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
5920 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
5921 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
5922 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
5923 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5924 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5925 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
5926 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
5927 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
5928 * sysdeps/x86_64/dl-tls.h: Likewise.
5929 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
5930 * time/alt_digit.c: Likewise.
5931 * time/era.c: Likewise.
5932 * wcsmbs/tst-c16c32-1.c: Likewise.
5933
8c75f674
JM
59342013-05-16 Joseph Myers <joseph@codesourcery.com>
5935
5936 * math/libm-test.inc (struct test_sincos_data): New type.
5937 (RUN_TEST_LOOP_sincos): New macro.
5938 (sincos_test_data): New variable.
5939 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
5940
e6e49e59
RH
59412013-05-16 Richard Henderson <rth@redhat.com>
5942
5943 * math/atest-exp2.c (LIMB64): New macro.
5944 (CONSTSZ): New macro.
5945 (mp_exp1, mp_exp_m1, mp_log2): New variables.
5946 (hexdig): Move ...
5947 (print_mpn_fp): ... to function scope.
5948 (read_mpn_hex): Remove.
5949 (get_log2): Remove.
5950 (exp2_mpn): Use mp_log2.
5951 (main): Use mp_exp1.
5952
15c7c18d
JM
59532013-05-16 Joseph Myers <joseph@codesourcery.com>
5954
105a07df
JM
5955 * math/libm-test.inc: Remove comment about not testing "inexact"
5956 exceptions.
5957 (INEXACT_EXCEPTION): New macro.
5958 (NO_INEXACT_EXCEPTION): Likewise.
5959 (INVALID_EXCEPTION_OK): Update value.
5960 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5961 (OVERFLOW_EXCEPTION_OK): Likewise.
5962 (UNDERFLOW_EXCEPTION_OK): Likewise.
5963 (IGNORE_ZERO_INF_SIGN): Likewise.
5964 (ERRNO_UNCHANGED): Likewise.
5965 (ERRNO_EDOM): Likewise.
5966 (ERRNO_ERANGE): Likewise.
5967 (test_exceptions): Handle testing "inexact" exceptions.
5968 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
5969 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
5970 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
5971 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
5972 INEXACT_EXCEPTION.
5973 (rint_towardzero_test_data): Likewise.
5974 (rint_downward_test_data): Likewise.
5975 (rint_upward_test_data): Likewise.
5976
e9eee333
JM
5977 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
5978 with OVERFLOW_EXCEPTION.
5979 (exp10_test_data): Likewise.
5980 (exp2_test_data): Likewise.
5981 (expm1_test_data): Likewise.
5982 (lgamma_test_data): Likewise.
5983 (pow_test_data): Likewise.
5984 (tgamma_test_data): Likewise.
5985 (yn_test_data): Remove duplicate test of overflow.
5986
1c38ff73
JM
5987 * math/libm-test.inc (struct test_cc_c_data): New type.
5988 (RUN_TEST_LOOP_cc_c): New macro.
5989 (cpow_test_data): New variable.
5990 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
5991
15c7c18d
JM
5992 * math/libm-test.inc (struct test_f_L_data): New type.
5993 (RUN_TEST_LOOP_f_L): New macro.
5994 (llrint_test_data): New variable.
5995 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
5996 (llrint_tonearest_test_data): New variable.
5997 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
5998 (llrint_towardzero_test_data): New variable.
5999 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
6000 (llrint_downward_test_data): New variable.
6001 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
6002 (llrint_upward_test_data): New variable.
6003 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
6004 (llround_test_data): New variable.
6005 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
6006
f137ff13
PC
60072013-05-13 Peter Collingbourne <pcc@google.com>
6008
6009 * math/atest-exp2.c (get_log2): Remove const attribute.
6010
3608cb24
JM
60112013-05-15 Joseph Myers <joseph@codesourcery.com>
6012
6013 * math/libm-test.inc (struct test_f_l_data): New type.
6014 (RUN_TEST_LOOP_f_l): New macro.
6015 (lrint_test_data): New variable.
6016 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
6017 (lrint_tonearest_test_data): New variable.
6018 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
6019 (lrint_towardzero_test_data): New variable.
6020 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
6021 (lrint_downward_test_data): New variable.
6022 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
6023 (lrint_upward_test_data): New variable.
6024 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
6025 (lround_test_data): New variable.
6026 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
6027
39b1f617
PC
60282013-05-15 Peter Collingbourne <pcc@google.com>
6029
1deff3dc
PC
6030 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
6031 (EXTRACT_WORDS64) Use where appropriate.
6032 (INSERT_WORDS64) Likewise.
6033
791f3ba0
PC
6034 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
6035 constraints with x constraints.
6036 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
6037
39b1f617
PC
6038 * malloc/obstack.c (_obstack_compat): Add initializer.
6039
12fba011
EM
60402013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
6041
6042 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
6043 si_trapno and add si_addr_lsb to _sifields.sigfault.
6044 (si_trapno): Remove macro.
6045 (si_addr_lsb): Define new macro.
6046 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6047
d369f531
JM
60482013-05-15 Joseph Myers <joseph@codesourcery.com>
6049
b861c6c4
JM
6050 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
6051 instead of TEST_f_l.
6052 (llrint_test_tonearest): Likewise.
6053 (llrint_test_towardzero): Likewise.
6054 (llrint_test_downward): Likewise.
6055 (llrint_test_upward): Likewise.
6056 (llround_test): Likewise.
6057
7abeee12
JM
6058 * math/libm-test.inc (struct test_f_i_data): Add comment.
6059 (RUN_TEST_LOOP_f_b): New macro.
6060 (RUN_TEST_LOOP_f_b_tg): Likewise.
6061 (finite_test_data): New variable.
6062 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
6063 (isfinite_test_data): New variable.
6064 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6065 (isinf_test_data): New variable.
6066 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6067 (isnan_test_data): New variable.
6068 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6069 (isnormal_test_data): New variable.
6070 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6071 (issignaling_test_data): New variable.
6072 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6073 (signbit_test_data): New variable.
6074 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6075
cbe8c4d3
JM
6076 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
6077 with INVALID_EXCEPTION.
6078 (acosh_test_data): Likewise.
6079 (asin_test_data): Likewise.
6080 (atanh_test_data): Likewise.
6081 (fmod_test_data): Likewise.
6082 (log_test_data): Likewise.
6083 (log10_test_data): Likewise.
6084 (log2_test_data): Likewise.
6085 (pow_test_data): Likewise.
6086 (sqrt_test_data): Likewise.
6087 (y0_test_data): Likewise.
6088 (y1_test_data): Likewise.
6089 (yn_test_data): Likewise.
6090
5575c0e5
JM
6091 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
6092 function contents.
6093
d369f531
JM
6094 * math/libm-test.inc (struct test_ff_i_data): New type.
6095 (RUN_TEST_LOOP_ff_i_tg): New macro.
6096 (isgreater_test_data): New variable.
6097 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6098 (isgreaterequal_test_data): New variable.
6099 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6100 (isless_test_data): New variable.
6101 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6102 (islessequal_test_data): New variable.
6103 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6104 (islessgreater_test_data): New variable.
6105 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6106 (isunordered_test_data): New variable.
6107 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6108
781fd748
DM
61092013-05-14 David S. Miller <davem@davemloft.net>
6110
6111 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6112
87aa21df
JM
61132013-05-14 Joseph Myers <joseph@codesourcery.com>
6114
5e908270
JM
6115 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
6116
f71172e5
JM
6117 * math/libm-test.inc (struct test_fF_f1_data): Change type of
6118 extra_test to int.
6119 (struct test_f_i_data): Change type of max_ulp to int.
6120
8cfa635a
JM
6121 * math/libm-test.inc (test_ffI_f1_data): New type.
6122 (RUN_TEST_LOOP_ffI_f1): New macro.
6123 (remquo_test_data): New variable.
6124 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
6125
2bcb36b2
JM
6126 * setjmp/tst-setjmp-fp.c: New file.
6127 * setjmp/Makefile (tests): Add tst-setjmp-fp.
6128 (link-libm): New variable.
6129 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
6130
acbd839a
JM
6131 * math/libm-test.inc (struct test_f_i_data): New type.
6132 (RUN_TEST_LOOP_f_i): New macro.
6133 (RUN_TEST_LOOP_f_i_tg): Likewise.
6134 (fpclassify_test_data): New variable.
6135 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
6136 (ilogb_test_data): New variable.
6137 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
6138
e414d745
JM
6139 * math/libm-test.inc (scalbln_test): Correct function name in END
6140 call.
6141
d9c2a0fd
JM
6142 * math/libm-test.inc (struct test_f_f1_data): Add comment.
6143 (RUN_TEST_LOOP_fI_f1): New macro.
6144 (frexp_test_data): New variable.
6145 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
6146
9dc9095d
JM
6147 * math/libm-test.inc (struct test_fF_f1_data): New type.
6148 (RUN_TEST_LOOP_fF_f1): New macro.
6149 (modf_test_data): New variable.
6150 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
6151
87aa21df
JM
6152 * math/libm-test.inc (struct test_f_f1_data): New type.
6153 (RUN_TEST_LOOP_f_f1): New macro.
6154 (gamma_test_data): New variable.
6155 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6156 (lgamma_test_data): New variable.
6157 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6158
141af660
CD
61592013-05-13 Carlos O'Donell <carlos@redhat.com>
6160
6161 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
6162 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
6163 (main): Comment "tls" pseudo-hwcap.
6164
6d33265c
JM
61652013-05-13 Joseph Myers <joseph@codesourcery.com>
6166
68fc074c
JM
6167 * math/libm-test.inc (struct test_fl_f_data): New type.
6168 (RUN_TEST_LOOP_fl_f): New variable.
6169 (scalbln_test_data): New variable.
6170 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
6171
243216e1
JM
6172 * math/libm-test.inc (struct test_fi_f_data): New type.
6173 (RUN_TEST_LOOP_fi_f): New macro.
6174 (ldexp_test_data): New variable.
6175 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
6176 (scalbn_test_data): New variable.
6177 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
6178
6a1992e2
JM
6179 * math/libm-test.inc (struct test_c_f_data): New type.
6180 (RUN_TEST_LOOP_c_f): New macro.
6181 (cabs_test_data): New variable.
6182 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
6183 (carg_test_data): New variable.
6184 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
6185 (cimag_test_data): New variable.
6186 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
6187 (creal_test_data): New variable.
6188 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
6189
0e400df5
JM
6190 * math/libm-test.inc (struct test_if_f_data): New type.
6191 (RUN_TEST_LOOP_if_f): New macro.
6192 (jn_test_data): New variable.
6193 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
6194 (yn_test_data): New variable.
6195 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
6196
6d33265c
JM
6197 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
6198
f98ece5f
AZ
61992013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6200
6201 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
6202 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
6203
0f7d347b
SP
62042013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6205
43fe811b
SP
6206 * benchtests/Makefile (CPPFLAGS-nonlib): Add
6207 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
6208 (bench-deps): Add bench-timing.h.
6209 * benchtests-bench-skeleton.c: Include bench-timing.h.
6210 (main): Use TIMING_* macros instead of clock_gettime.
6211 * benchtests/bench-timing.h: New file.
6212
0f7d347b
SP
6213 [BZ #14582]
6214 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
6215 Renamed from _LIB_VERSION.
6216 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
6217
601a3a5f
JM
62182013-05-12 Joseph Myers <joseph@codesourcery.com>
6219
4f184d30
JM
6220 * math/libm-test.inc (struct test_fff_f_data): New type.
6221 (RUN_TEST_LOOP_fff_f): New macro.
6222 (fma_test_data): New variable.
6223 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
6224 (fma_towardzero_test_data): New variable.
6225 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
6226 (fma_downward_test_data): New variable.
6227 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
6228 (fma_upward_test_data): New variable.
6229 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
6230
08198877
JM
6231 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
6232 (struct test_c_c_data): New type.
6233 (RUN_TEST_LOOP_c_c): New macro.
6234 (cacos_test_data): New variable.
6235 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
6236 (cacosh_test_data): New variable.
6237 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
6238 (casin_test_data): New variable.
6239 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
6240 (casinh_test_data): New variable.
6241 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
6242 (catan_test_data): New variable.
6243 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
6244 (catanh_test_data): New variable.
6245 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
6246 (ccos_test_data): New variable.
6247 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
6248 (ccosh_test_data): New variable.
6249 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
6250 (cexp_test_data): New variable.
6251 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
6252 (clog_test_data): New variable.
6253 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
6254 (clog10_test_data): New variable.
6255 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
6256 (conj_test_data): New variable.
6257 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
6258 (cproj_test_data): New variable.
6259 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
6260 (csin_test_data): New variable.
6261 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
6262 (csinh_test_data): New variable.
6263 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
6264 (csqrt_test_data): New variable.
6265 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
6266 (ctan_test_data): New variable.
6267 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
6268 (ctan_tonearest_test_data): New variable.
6269 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6270 (ctan_towardzero_test_data): New variable.
6271 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6272 (ctan_downward_test_data): New variable.
6273 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6274 (ctan_upward_test_data): New variable.
6275 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6276 (ctanh_test_data): New variable.
6277 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
6278 (ctanh_tonearest_test_data): New variable.
6279 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6280 (ctanh_towardzero_test_data): New variable.
6281 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6282 (ctanh_downward_test_data): New variable.
6283 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6284 (ctanh_upward_test_data): New variable.
6285 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6286 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
6287 of BUILD_COMPLEX.
6288
601a3a5f
JM
6289 * math/libm-test.inc (struct test_ff_f_data): New type.
6290 (struct test_ff_f_data_nexttoward): Likewise.
6291 (RUN_TEST_LOOP_2_f): New macro.
6292 (RUN_TEST_LOOP_ff_f): Likewise.
6293 (atan2_test_data): New variable.
6294 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
6295 (copysign_test_data): New variable.
6296 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
6297 (fdim_test_data): New variable.
6298 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
6299 (fmax_test_data): New variable.
6300 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
6301 (fmin_test_data): New variable.
6302 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
6303 (fmod_test_data): New variable.
6304 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
6305 (hypot_test_data): New variable.
6306 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
6307 (nextafter_test_data): New variable.
6308 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
6309 (nexttoward_test_data): New variable.
6310 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
6311 (pow_test_data): New variable.
6312 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
6313 (pow_tonearest_test_data): New variable.
6314 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
6315 (pow_towardzero_test_data): New variable.
6316 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
6317 (pow_downward_test_data): New variable.
6318 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
6319 (pow_upward_test_data): New variable.
6320 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
6321 (remainder_test_data): New variable.
6322 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
6323 (scalb_test_data): New variable.
6324 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
6325 * sysdeps/i386/fpu/libm-test-ulps: Update.
6326
74c57478
JM
63272013-05-11 Joseph Myers <joseph@codesourcery.com>
6328
8329e4da
JM
6329 * math/libm-test.inc (fma_test): Use max_value instead of local
6330 variable fltmax.
6331 (nextafter_test): Likewise.
6332
74c57478
JM
6333 * math/libm-test.inc (acos_towardzero_test_data): New variable.
6334 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6335 (acos_downward_test_data): New variable.
6336 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6337 (acos_upward_test_data): New variable.
6338 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6339 (acosh_test_data): New variable.
6340 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
6341 (asin_test_data): New variable.
6342 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
6343 (asin_tonearest_test_data): New variable.
6344 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6345 (asin_towardzero_test_data): New variable.
6346 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6347 (asin_downward_test_data): New variable.
6348 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6349 (asin_upward_test_data): New variable.
6350 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6351 (asinh_test_data): New variable.
6352 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
6353 (atan_test_data): New variable.
6354 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
6355 (atanh_test_data): New variable.
6356 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
6357 (cbrt_test_data): New variable.
6358 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
6359 (ceil_test_data): New variable.
6360 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
6361 (cos_test_data): New variable.
6362 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
6363 (cos_tonearest_test_data): New variable.
6364 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6365 (cos_towardzero_test_data): New variable.
6366 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6367 (cos_downward_test_data): New variable.
6368 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6369 (cos_upward_test_data): New variable.
6370 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6371 (cosh_test_data): New variable.
6372 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
6373 (cosh_tonearest_test_data): New variable.
6374 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6375 (cosh_towardzero_test_data): New variable.
6376 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6377 (cosh_downward_test_data): New variable.
6378 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6379 (cosh_upward_test_data): New variable.
6380 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6381 (erf_test_data): New variable.
6382 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
6383 (erfc_test_data): New variable.
6384 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
6385 (exp_test_data): New variable.
6386 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
6387 (exp_tonearest_test_data): New variable.
6388 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6389 (exp_towardzero_test_data): New variable.
6390 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6391 (exp_downward_test_data): New variable.
6392 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6393 (exp_upward_test_data): New variable.
6394 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6395 (exp10_test_data): New variable.
6396 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
6397 (exp2_test_data): New variable.
6398 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
6399 (expm1_test_data): New variable.
6400 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
6401 (fabs_test_data): New variable.
6402 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
6403 (floor_test_data): New variable.
6404 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
6405 (j0_test_data): New variable.
6406 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
6407 (j1_test_data): New variable.
6408 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
6409 (log_test_data): New variable.
6410 (log_test): Run tests with RUN_TEST_LOOP_f_f.
6411 (log10_test_data): New variable.
6412 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
6413 (log1p_test_data): New variable.
6414 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
6415 (log2_test_data): New variable.
6416 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
6417 (logb_test_data): New variable.
6418 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
6419 (logb_downward_test_data): New variable.
6420 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6421 (nearbyint_test_data): New variable.
6422 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
6423 (rint_test_data): New variable.
6424 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
6425 (rint_tonearest_test_data): New variable.
6426 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6427 (rint_towardzero_test_data): New variable.
6428 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6429 (rint_downward_test_data): New variable.
6430 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6431 (rint_upward_test_data): New variable.
6432 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6433 (round_test_data): New variable.
6434 (round_test): Run tests with RUN_TEST_LOOP_f_f.
6435 (sin_test_data): New variable.
6436 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
6437 (sin_tonearest_test_data): New variable.
6438 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6439 (sin_towardzero_test_data): New variable.
6440 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6441 (sin_downward_test_data): New variable.
6442 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6443 (sin_upward_test_data): New variable.
6444 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6445 (sinh_test_data): New variable.
6446 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
6447 (sinh_tonearest_test_data): New variable.
6448 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6449 (sinh_towardzero_test_data): New variable.
6450 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6451 (sinh_downward_test_data): New variable.
6452 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6453 (sinh_upward_test_data): New variable.
6454 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6455 (sqrt_test_data): New variable.
6456 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
6457 (tan_test_data): New variable.
6458 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
6459 (tan_tonearest_test_data): New variable.
6460 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6461 (tan_towardzero_test_data): New variable.
6462 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6463 (tan_downward_test_data): New variable.
6464 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6465 (tan_upward_test_data): New variable.
6466 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6467 (tanh_test_data): New variable.
6468 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
6469 (tgamma_test_data): New variable.
6470 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
6471 (trunc_test_data): New variable.
6472 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
6473 (y0_test_data): New variable.
6474 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
6475 (y1_test_data): New variable.
6476 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
6477 (significand_test_data): New variable.
6478 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
6479
7187d844
CG
64802013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
6481
6482 [BZ #12387]
6483 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
6484
f63fae73
PT
64852013-05-10 Pino Toscano <toscano.pino@tiscali.it>
6486
6487 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
6488
8a67a4b3
AJ
64892013-05-10 Andreas Jaeger <aj@suse.de>
6490
6491 [BZ #15448]
6492 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
6493 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
6494
51df539d
JM
64952013-05-10 Joseph Myers <joseph@codesourcery.com>
6496
6497 * math/gen-libm-test.pl (adjust_arg): New function.
6498 (special_functions): Handle generating output in both functions
6499 and arrays.
6500 (parse_args): Likewise.
6501 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
6502 $in_func argument to parse_args.
6503 * math/libm-test.inc (struct test_f_f_data): New type.
6504 (IF_ROUND_INIT_): New macro.
6505 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
6506 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6507 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6508 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6509 (ROUND_RESTORE_): Likewise.
6510 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
6511 (ROUND_RESTORE_FE_TONEAREST): Likewise.
6512 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
6513 (ROUND_RESTORE_FE_UPWARD): Likewise.
6514 (RUN_TEST_LOOP_f_f): New macro.
6515 (acos_test_data): New variable.
6516 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
6517 (acos_tonearest_test_data): New variable.
6518 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6519
5c637fe5
SP
65202013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6521
6522 * benchtests/bench-skeleton.c (startup): Fix coding style.
6523
ab2b9461
JM
65242013-05-10 Joseph Myers <joseph@codesourcery.com>
6525
6526 [BZ #6809]
6527 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
6528 negative infinity argument.
6529 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
6530 negative infinity argument.
6531 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
6532 negative infinity argument.
6533 * math/libm-test.inc (tgamma_test): Expect errno to be set for
6534 domain errors.
6535
4c0fe6fe
FW
65362013-05-10 Florian Weimer <fweimer@redhat.com>
6537
6538 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
6539 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
6540 * iconv/iconv_prog.c (main): Likewise.
6541 * locale/programs/charmap-dir.c (charmap_readdir)
6542 (fopen_uncompressed): Likewise.
6543 * locale/programs/locfile.c (siblings_uncached)
6544 (write_locale_data): Use lstat64 instead of lstat.
6545 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
6546 stat.
6547
a3375d29
AJ
65482013-05-10 Andreas Jaeger <aj@suse.de>
6549
6550 [BZ #15395]
6551 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
6552 localization.
6553 Include <locale.h>.
6554
36129722
CD
65552013-05-09 Carlos O'Donell <carlos@redhat.com>
6556
6557 * elf/dl-close.c (_dl_close_worker): Add comments.
6558
faa7f811
JM
65592013-05-09 Joseph Myers <joseph@codesourcery.com>
6560
ed41ffef
JM
6561 [BZ #15359]
6562 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
6563 high part of pi/2.
6564 (__ieee754_rem_pio2l): Update comments.
6565
d0213cd0
JM
6566 [BZ #15429]
6567 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
6568 high part of pi/2.
6569 (__ieee754_rem_pio2l): Update comments.
6570
0d3e777a
JM
6571 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
6572 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
6573
24f56066
JM
6574 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
6575 M_PI_4l.
6576
faa7f811
JM
6577 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
6578 (M_PI_34_LOG10El): Likewise.
6579 (M_PI2_LOG10El): Likewise.
6580 (M_PI4_LOG10El): Likewise.
6581 (M_PI_LOG10El): Likewise.
6582
e9a5e0fd
AZ
65832013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6584
6585 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6586
d8cd06db
JM
65872013-05-08 Joseph Myers <joseph@codesourcery.com>
6588
a0d9f9d7
JM
6589 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
6590 (MINUS_ZERO_INIT): Likewise.
6591 (PLUS_INFTY_INIT): Likewise.
6592 (MINUS_INFTY_INIT): Likewise.
6593 (QNAN_VALUE_INIT): Likewise.
6594 (MAX_VALUE_INIT): Likewise.
6595 (MIN_VALUE_INIT): Likewise.
6596 (MIN_SUBNORM_VALUE_INIT): Likewise.
6597 (plus_zero): Initialize with PLUS_ZERO_INIT.
6598 (minus_zero): Initialize with MINUS_ZERO_INIT.
6599 (plus_infty): Initialize with PLUS_INFTY_INIT.
6600 (minus_infty): Initialize with MINUS_INFTY_INIT.
6601 (qnan_value): Initialize with QNAN_VALUE_INIT.
6602 (max_value): Initialize with MAX_VALUE_INIT.
6603 (min_value): Initialize with MIN_VALUE_INIT.
6604 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
6605
ae08db3b
JM
6606 * math/libm-test.inc (RUN_TEST_if_f): New macro.
6607 (jn_test): Use TEST_if_f instead of TEST_ff_f.
6608 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
6609 (yn_test): Use TEST_if_f instead of TEST_ff_f.
6610
f44bf14a
JM
6611 * math/libm-test.inc (RUN_TEST_f_f): New macro.
6612 (RUN_TEST_2_f): Likewise.
6613 (RUN_TEST_ff_f): Likewise.
6614 (RUN_TEST_fi_f): Likewise.
6615 (RUN_TEST_fl_f): Likewise.
6616 (RUN_TEST_fff_f): Likewise.
6617 (RUN_TEST_c_f): Likewise.
6618 (RUN_TEST_f_f1): Likewise.
6619 (RUN_TEST_fF_f1): Likewise.
6620 (RUN_TEST_fI_f1): Likewise.
6621 (RUN_TEST_ffI_f1): Likewise.
6622 (RUN_TEST_c_c): Likewise.
6623 (RUN_TEST_cc_c): Likewise.
6624 (RUN_TEST_f_i): Likewise.
6625 (RUN_TEST_f_i_tg): Likewise.
6626 (RUN_TEST_ff_i_tg): Likewise.
6627 (RUN_TEST_f_b): Likewise.
6628 (RUN_TEST_f_b_tg): Likewise.
6629 (RUN_TEST_f_l): Likewise.
6630 (RUN_TEST_f_L): Likewise.
6631 (RUN_TEST_sincos): Likewise.
6632 * math/gen-libm-test.pl (new_test): Take new argument to indicate
6633 whether to show exceptions. Do not include ");\n" in return
6634 value.
6635 (special_functions): Output call to RUN_TEST_sincos instead of
6636 check_float calls. Update calls to new_test.
6637 (parse_args): Output call to single RUN_TEST_* macro instead of
6638 check_* calls and other assignments. Update calls to new_test.
6639
d8cd06db
JM
6640 [BZ #2546]
6641 [BZ #2560]
6642 [BZ #5159]
6643 [BZ #15426]
6644 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
6645 input to result for tgamma overflow.
6646 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
6647 (gamma_coeff): New variable.
6648 (NCOEFF): New macro.
6649 (gamma_positive): New function.
6650 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
6651 underflow here. Use gamma_positive instead of exp (lgamma) for
6652 other arguments.
6653 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
6654 (gamma_coeff): New variable.
6655 (NCOEFF): New macro.
6656 (gammaf_positive): New function.
6657 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
6658 underflow here. Use gamma_positive instead of exp (lgamma) for
6659 other arguments.
6660 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
6661 (gamma_coeff): New variable.
6662 (NCOEFF): New macro.
6663 (gammal_positive): New function.
6664 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
6665 underflow here. Use gamma_positive instead of exp (lgamma) for
6666 other arguments.
6667 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
6668 (gamma_coeff): New variable.
6669 (NCOEFF): New macro.
6670 (gammal_positive): New function.
6671 (__ieee754_gammal_r): Handle positive infinity, overflow and
6672 underflow here. Handle NaN the same as positive infinity. Remove
6673 check x < 0xffffffff for negative integers. Use gamma_positive
6674 instead of exp (lgamma) for other arguments.
6675 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
6676 (gamma_coeff): New variable.
6677 (NCOEFF): New macro.
6678 (gammal_positive): New function.
6679 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
6680 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
6681 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6682 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
6683 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
6684 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6685 * sysdeps/generic/math_private.h (__gamma_productf): New
6686 prototype.
6687 (__gamma_product): Likewise.
6688 (__gamma_productl): Likewise.
6689 * math/Makefile (libm-calls): Add gamma_product.
6690 * math/libm-test.inc (tgamma_test): Add more tests.
6691 * sysdeps/i386/fpu/libm-test-ulps: Update.
6692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6693
bb7cf681
OB
66942013-05-08 Ondřej Bílka <neleai@seznam.cz>
6695
6696 * benchtests/bench-skeleton.c (main): Preheat CPU.
6697
ba853947
AJ
66982013-05-07 Aurelien Jarno <aurelien@aurel32.net>
6699
6700 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
6701
8347c74c
RM
67022013-05-07 Roland McGrath <roland@hack.frob.com>
6703
6704 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
6705 and _dl_skip_args_internal.
6706
e8dd4791
CD
67072013-05-07 Carlos O'Donell <carlos@redhat.com>
6708
6709 * manual/message.texi (Message Translation): Talk about users.
6710 Message to key mapping impacts design.
6711
c7405830
RM
67122013-05-06 Roland McGrath <roland@hack.frob.com>
6713
a9173057
RM
6714 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
6715
976e2f03
RM
6716 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
6717
9723ffc5
RM
6718 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
6719 * sysdeps/wordsize-64/glob64.c: ... here.
6720
962e6658
RM
6721 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
6722 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
6723 New macros.
6724
ee586a6d
RM
6725 * debug/getlogin_r_chk.c: Moved to ...
6726 * login/getlogin_r_chk.c: ... here.
6727 * debug/Makefile (routines): Move getlogin_r_chk to ...
6728 * login/Makefile (routines): ... here.
6729 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
6730 * login/Versions (libc: GLIBC_2.4): ... here.
6731
355f9165
RM
6732 * io/poll.c (__poll): Renamed from poll.
6733 Add libc_hidden_def.
6734 (poll): Define as weak alias.
6735
bd9ffde6
RM
6736 * debug/ptsname_r_chk.c: Moved to ...
6737 * login/ptsname_r_chk.c: ... here.
6738 * debug/Makefile (routines): Move ptsname_r_chk to ...
6739 * login/Makefile (routines): ... here.
6740 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
6741 * login/Versions (libc: GLIBC_2.4): ... here.
6742
8fb16a04
RM
6743 * posix/getlogin.c: Moved to ...
6744 * login/getlogin.c: ... here.
6745 * posix/getlogin_r.c: Moved to ...
6746 * login/getlogin_r.c: ... here.
6747 * posix/getlogin_r.c: Moved to ...
6748 * login/getlogin_r.c: ... here.
6749 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
6750 * login/Makefile (routines): ... here.
6751 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
6752 * login/Versions (libc: GLIBC_2.0): ... here.
6753
b99b892f
RM
6754 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
6755 (setrlimit): Define as weak alias.
6756
c7405830
RM
6757 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
6758 Call __ names for open, ftruncate, and close.
6759 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
6760 (truncate): Define as weak alias.
6761
5bf96de5
JM
67622013-05-06 Joseph Myers <joseph@codesourcery.com>
6763
9ea3513c
JM
6764 * math/gen-libm-test.pl (parse_args): Initialize x before each
6765 test of frexp, modf and remquo.
6766
5bf96de5
JM
6767 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
6768 test signgam value.
6769
16e616a7
AZ
67702013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6771
6772 [BZ #15418]
6773 [BZ #15419]
6774 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
6775 internal tests.
6776 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6777
d5e82754
RM
67782013-05-06 Roland McGrath <roland@hack.frob.com>
6779
6780 * elf/dl-writev.h: New file.
6781 * elf/dl-misc.c: Include it.
6782 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
6783 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
6784
a7548d41
JM
67852013-05-04 Joseph Myers <joseph@codesourcery.com>
6786
b7dab1e4
JM
6787 * math/libm-test.inc (noXFails): Remove variable.
6788 (noXPasses): Likewise.
6789 (BUILD_COMPLEX_INT): Remove macro.
6790 (print_screen): Remove xfail argument.
6791 (print_screen_max_error): Likewise.
6792 (update_stats): Likewise.
6793 (print_max_error): Likewise. Update calls to other affected
6794 functions.
6795 (print_complex_max_error): Likewise.
6796 (test_single_exception): Update calls to print_screen.
6797 (test_single_errno): Likewise.
6798 (check_float_internal): Remove xfail argument. Update calls to
6799 other affected functions.
6800 (check_float): Likewise.
6801 (check_complex): Likewise.
6802 (check_int): Likewise.
6803 (check_long): Likewise.
6804 (check_bool): Likewise.
6805 (check_longlong): Likewise.
6806 (main): Don't print noXFails and noXPasses.
6807 * math/gen-libm-test.pl (top level): Don't mention expected
6808 failure handling in comment.
6809 (new_test): Don't handle expected failures.
6810 (parse_args): Don't mention expected failure handling in comment.
6811 (generate_testfile): Don't handle expected failures.
6812 (parse_ulps): Likewise.
6813 (print_ulps_file): Likewise.
6814 (get_failure): Remove function.
6815 (output_test): Don't handle expected failures.
6816 * make/README.libm-test: Don't mention expected failure handling.
6817
a7548d41
JM
6818 * math/libm-test.inc (plus_zero): Make const. Add initializer.
6819 (minus_zero): Likewise.
6820 (plus_infty): Likewise.
6821 (minus_infty): Likewise.
6822 (qnan_value): Likewise.
6823 (max_value): Likewise.
6824 (min_value): Likewise.
6825 (min_subnorm_value): Likewise.
6826 (initialize): Do not initialize those variables dynamically.
6827
60bfd54c
RM
68282013-05-03 Roland McGrath <roland@hack.frob.com>
6829
cc0e6ed8
RM
6830 * io/open.c (__open_2): Moved to ...
6831 * io/open_2.c: ... this new file.
6832 * io/open64.c (__open64_2): Moved to ...
6833 * io/open64_2.c: ... this new file.
6834 * io/openat.c (__openat_2): Moved to ...
6835 * io/openat_2.c: ... this new file.
6836 * io/openat64.c (__openat64_2): Moved to ...
6837 * io/openat64_2.c: ... this new file.
6838 * io/Makefile (routines): Add them.
6839 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
6840 * sysdeps/unix/sysv/linux/open_2.c: File removed.
6841 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
6842 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
6843 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
6844 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
6845 (__openat64): Add hidden_ver.
6846 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
6847 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
6848
60bfd54c
RM
6849 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
6850 Separately conditionalize setting of GLRO(dl_sysinfo) so
6851 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
6852 as well, but the actual setting is only under [NEED_DL_SYSINFO].
6853
83e7640f
AZ
68542013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6855
6856 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
6857 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
6858 definition.
6859 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
6860 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6861 (_libc_vdso_platform_setup): Add __vdso_time initialization.
6862 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
6863 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
6864
d5dc2af3
JM
68652013-05-03 Joseph Myers <joseph@codesourcery.com>
6866
c31a5b1e
JM
6867 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
6868 test signgam value.
6869
d5dc2af3
JM
6870 * math/libm-test.inc (hypot_test): Do not use
6871 IGNORE_ZERO_INF_SIGN.
6872
164fd39d
AJ
68732013-05-03 Andreas Jaeger <aj@suse.de>
6874
6875 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
6876 Linux 3.9.
6877 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
6878 (PF_MAX): Adjust for VSOCK change.
6879
8237f48c
AZ
68802013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6881
6882 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6883
9df02941
CD
68842013-05-02 Carlos O'Donell <carlos@redhat.com>
6885
6886 [BZ #15264]
6887 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
6888 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
6889 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
6890
d422395e
DM
68912013-05-02 David S. Miller <davem@davemloft.net>
6892
6893 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6894
a07c5731
OB
68952013-05-01 Ondřej Bílka <neleai@seznam.cz>
6896
6897 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
6898
1324e37f
RM
68992013-05-01 Roland McGrath <roland@hack.frob.com>
6900
6901 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
6902
0695940b
RS
69032013-05-01 Richard Smith <richard@metafoo.co.uk>
6904
bb5f27ad 6905 [BZ #14952]
0695940b
RS
6906 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
6907 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6908 Use __attribute__ ((__gnu_inline__)).
6909 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6910 Don't use __attribute__ ((__gnu_inline__)).
6911
10de07f5
JM
69122013-05-01 Joseph Myers <joseph@codesourcery.com>
6913
6914 [BZ #15423]
6915 * math/s_catan.c (__catan): Handle small real or imaginary part of
6916 input specially to avoid spurious underflow.
6917 * math/s_catanf.c (__catanf): Likewise.
6918 * math/s_catanh.c (__catanh): Likewise.
6919 * math/s_catanhf.c (__catanhf): Likewise.
6920 * math/s_catanhl.c (__catanhl): Likewise.
6921 * math/s_catanl.c (__catanl): Likewise.
6922 * math/libm-test.inc (catan_test): Add more tests.
6923 (catanh_test): Likewise.
6924 * sysdeps/i386/fpu/libm-test-ulps: Update.
6925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6926
cb4d5414
AZ
69272013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6928
6929 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6930
caf84319
JM
69312013-04-30 Joseph Myers <joseph@codesourcery.com>
6932
6933 [BZ #15416]
6934 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
6935 accurately for denominator in atan2.
6936 * math/s_catanf.c (__catanf): Likewise.
6937 * math/s_catanh.c (__catanh): Likewise.
6938 * math/s_catanhf.c (__catanhf): Likewise.
6939 * math/s_catanhl.c (__catanhl): Likewise.
6940 * math/s_catanl.c (__catanl): Likewise.
6941 * math/libm-test.inc (catan_test): Add more tests.
6942 (catanh_test): Likewise.
6943 * sysdeps/i386/fpu/libm-test-ulps: Update.
6944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6945
d569c6ee
SP
69462013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6947
6dbe713d
SP
6948 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
6949
f0ee064b
SP
6950 * benchtests/Makefile (bench): Remove slow benchmarks.
6951 * benchtests/atan-inputs: Add slow benchmark inputs.
6952 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
6953 (BENCH_FUNC): Accept variant offset.
6954 (VARIANT): Define.
6955 * benchtests/bench-skeleton.c (main): Run benchmark for each
6956 variant.
6957 * benchtests/cos-inputs: Add slow benchmark inputs.
6958 * benchtests/exp-inputs: Likewise.
6959 * benchtests/pow-inputs: Likewise.
6960 * benchtests/sin-inputs: Likewise.
6961 * benchtests/slowatan-inputs: Remove.
6962 * benchtests/slowatan.c: Remove.
6963 * benchtests/slowcos-inputs: Remove.
6964 * benchtests/slowcos.c: Remove.
6965 * benchtests/slowexp-inputs: Remove.
6966 * benchtests/slowexp.c: Remove.
6967 * benchtests/slowpow-inputs: Remove.
6968 * benchtests/slowpow.c: Remove.
6969 * benchtests/slowsin-inputs: Remove.
6970 * benchtests/slowsin.c: Remove.
6971 * benchtests/slowtan-inputs: Remove.
6972 * benchtests/slowtan.c: Remove.
6973 * benchtests/tan-inputs: Add slow benchmark inputs.
6974 * scripts/bench.pl: Parse comments and directives.
6975
d569c6ee
SP
6976 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
6977 in CPPFLAGS.
6978 ($(objpfx)bench-%.c): Remove *-ITER.
6979 * benchtests/bench-modf.c: Remove definition of ITER.
6980 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
6981 (main): Loop for DURATION seconds instead of fixed number of
6982 iterations.
6983 * scripts/bench.pl: Don't expect iterations in parameters.
6984
a6a242fe
RM
69852013-04-29 Roland McGrath <roland@hack.frob.com>
6986
6987 * io/fchdir.c (__fchdir): Renamed from fchdir.
6988 (fchdir): Define as weak alias.
6989
f2da7793
JM
69902013-04-29 Joseph Myers <joseph@codesourcery.com>
6991
6992 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
6993 (ERRNO_EDOM): Likewise.
6994 (ERRNO_ERANGE): Likewise.
6995 (noErrnoTests): New variable.
6996 (init_max_error): Set errno to 0.
6997 (test_single_errno): New function.
6998 (test_errno): Likewise.
6999 (check_float_internal): Call test_errno. Set errno to 0.
7000 (check_complex): Refer to errno tests in comment.
7001 (check_int): Call test_errno. Set errno to 0.
7002 (check_long): Likewise.
7003 (check_bool): Likewise.
7004 (check_longlong): Likewise.
7005 (cos_test): Use ERRNO_* flags for errno tests instead of
7006 check_int.
7007 (expm1_test): Likewise.
7008 (fmod_test): Likewise.
7009 (ilogb_test): Likewise.
7010 (lgamma_test): Likewise.
7011 (pow_test): Likewise.
7012 (remainder_test): Likewise.
7013 (sin_test): Likewise.
7014 (tan_test): Likewise.
7015 (yn_test): Likewise.
7016 (initialize): Set errno to 0.
7017 (main): Print number of errno tests.
7018 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
7019
b1a36ceb
AJ
70202013-04-29 Andreas Jaeger <aj@suse.de>
7021
c3ed8088
AJ
7022 [BZ #15084]
7023 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
7024 and RES_USEVC.
7025
f1a24198
AJ
7026 [BZ #15085]
7027 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
7028 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
7029 unimplemented.
7030
9ce3b2cb
AJ
7031 [BZ #15380]
7032 * stdlib/random.c (__initstate): Return NULL if
7033 __initstate fails.
7034
f1a24198 7035 [BZ #15086]
b1a36ceb
AJ
7036 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
7037 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
7038 RES_SNGLKUPREOP.
7039
7e7b6f36
AZ
70402013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7041
7042 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7043
4d14f449
JM
70442013-04-29 Joseph Myers <joseph@codesourcery.com>
7045
7046 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
7047 of individual tests.
7048 (casin_test): Likewise.
7049 (casinh_test): Likewise.
7050
5b4217d7
JM
70512013-04-27 Joseph Myers <joseph@codesourcery.com>
7052
7053 [BZ #15409]
7054 * math/s_catan.c (__catan): Handle arguments with large real or
7055 imaginary part separately without squaring.
7056 * math/s_catanf.c (__catanf): Likewise.
7057 * math/s_catanh.c (__catanh): Likewise.
7058 * math/s_catanhf.c (__catanhf): Likewise.
7059 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7060 and redefine.
7061 (__catanhl): Handle arguments with large real or imaginary part
7062 separately without squaring.
7063 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7064 and redefine.
7065 (__catanl): Handle arguments with large real or imaginary part
7066 separately without squaring.
7067 * math/libm-test.inc (catan_test): Add more tests.
7068 (catanh_test): Likewise.
7069 * sysdeps/i386/fpu/libm-test-ulps: Update.
7070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7071
4220c3ef
AJ
70722013-04-27 Andreas Jaeger <aj@suse.de>
7073
7074 [BZ #15007]
7075 * stdlib/stdlib.h: Update guards for qecvt.
7076 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
7077 <stdlib.h>.
7078
4721b2d1
AM
70792013-04-27 Allan McRae <allan@archlinux.org>
7080
7081 * sysdeps/i386/fpu/libm-test-ulps: Update.
7082
f0302940
JM
70832013-04-26 Joseph Myers <joseph@codesourcery.com>
7084
9457fd95
JM
7085 [BZ #15406]
7086 * math/s_catan.c: Include <float.h>.
7087 (__catan): Ensure underflow exception occurs for underflowed
7088 result.
7089 * math/s_catanf.c: Include <float.h>.
7090 (__catanf): Ensure underflow exception occurs for underflowed
7091 result.
7092 * math/s_catanh.c: Include <float.h>.
7093 (__catanh): Ensure underflow exception occurs for underflowed
7094 result.
7095 * math/s_catanhf.c: Include <float.h>.
7096 (__catanhf): Ensure underflow exception occurs for underflowed
7097 result.
7098 * math/s_catanhl.c: Include <float.h>.
7099 (__catanhl): Ensure underflow exception occurs for underflowed
7100 result.
7101 * math/s_catanl.c: Include <float.h>.
7102 (__catanl): Ensure underflow exception occurs for underflowed
7103 result.
7104 * math/libm-test.inc (catan_test): Add more tests.
7105 (catanh_test): Likewise.
7106
f0302940
JM
7107 [BZ #15405]
7108 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
7109 underflowed result.
7110 * math/s_ccoshf.c (__ccoshf): Likewise.
7111 * math/s_ccoshl.c (__ccoshl): Likewise.
7112 * math/s_csin.c (__csin): Likewise.
7113 * math/s_csinf.c (__csinf): Likewise.
7114 * math/s_csinh.c (__csinh): Likewise.
7115 * math/s_csinhf.c (__csinhf): Likewise.
7116 * math/s_csinhl.c (__csinhl): Likewise.
7117 * math/s_csinl.c (__csinl): Likewise.
7118 * math/libm-test.inc (ccos_test): Add more tests.
7119 (ccosh_test): Likewise.
7120 (csin_test): Likewise.
7121 (csinh_test): Likewise.
7122
aa630f59
AZ
71232013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7124
7125 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
7126 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
7127 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
7128 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
7129 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
7130 powerpc/power5+/fpu folders.
7131 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
7132
7133
1b835983
MT
71342013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
7135
7136 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7137
73709b26
JM
71382013-04-25 Joseph Myers <joseph@codesourcery.com>
7139
7140 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
7141 additions to variable.
7142 [$(config-machine) = x86_64] (modules-names): Likewise.
7143 ($(objpfx)tst-audit3): Remove dependency.
7144 ($(objpfx)tst-audit3.out): Likewise.
7145 ($(objpfx)tst-audit4): Likewise.
7146 ($(objpfx)tst-audit4.out): Likewise.
7147 ($(objpfx)tst-audit5): Likewise.
7148 ($(objpfx)tst-audit5.out): Likewise.
7149 ($(objpfx)tst-audit6): Likewise.
7150 ($(objpfx)tst-audit6.out): Likewise.
7151 ($(objpfx)tst-audit7): Likewise.
7152 ($(objpfx)tst-audit7.out): Likewise.
7153 (tst-audit3-ENV): Remove variable.
7154 (tst-audit4-ENV): Likewise.
7155 (tst-audit5-ENV): Likewise.
7156 (tst-audit6-ENV): Likewise.
7157 (tst-audit7-ENV): Likewise.
7158 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
7159 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
7160 addition to variable.
7161 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
7162 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
7163 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
7164 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
7165 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
7166 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
7167 tst-audit3, tst-audit4 and tst-audit5.
7168 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
7169 tst-audit6 and tst-audit7.
7170 [$(subdir) = elf] (modules-names): Add audit modules for those
7171 tests.
7172 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
7173 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
7174 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
7175 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
7176 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
7177 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
7178 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
7179 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
7180 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
7181 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
7182 [$(subdir) = elf] (tst-audit3-ENV): New variable.
7183 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
7184 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
7185 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
7186 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
7187 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
7188 Likewise.
7189 [$(subdir) = elf && $(config-cflags-avx) = yes]
7190 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
7191 [$(subdir) = elf && $(config-cflags-avx) = yes]
7192 (CFLAGS-tst-auditmod4a.c): Likewise.
7193 [$(subdir) = elf && $(config-cflags-avx) = yes]
7194 (CFLAGS-tst-auditmod4b.c): Likewise.
7195 [$(subdir) = elf && $(config-cflags-avx) = yes]
7196 (CFLAGS-tst-auditmod6b.c): Likewise.
7197 [$(subdir) = elf && $(config-cflags-avx) = yes]
7198 (CFLAGS-tst-auditmod6c.c): Likewise.
7199 [$(subdir) = elf && $(config-cflags-avx) = yes]
7200 (CFLAGS-tst-auditmod7b.c): Likewise.
7201 * elf/tst-audit3.c: Move to ...
7202 * sysdeps/x86_64/tst-audit3.c: ... here.
7203 * elf/tst-audit4.c: Move to ...
7204 * sysdeps/x86_64/tst-audit4.c: ... here.
7205 * elf/tst-audit5.c: Move to ...
7206 * sysdeps/x86_64/tst-audit5.c: ... here.
7207 * elf/tst-audit6.c: Move to ...
7208 * sysdeps/x86_64/tst-audit6.c: ... here.
7209 * elf/tst-audit7.c: Move to ...
7210 * sysdeps/x86_64/tst-audit7.c: ... here.
7211 * elf/tst-auditmod3a.c: Move to ...
7212 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
7213 * elf/tst-auditmod3b.c: Move to ...
7214 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
7215 * elf/tst-auditmod4a.c: Move to ...
7216 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
7217 * elf/tst-auditmod4b.c: Move to ...
7218 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
7219 * elf/tst-auditmod5a.c: Move to ...
7220 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
7221 * elf/tst-auditmod5b.c: Move to ...
7222 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
7223 * elf/tst-auditmod6a.c: Move to ...
7224 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
7225 * elf/tst-auditmod6b.c: Move to ...
7226 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
7227 * elf/tst-auditmod6c.c: Move to ...
7228 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
7229 * elf/tst-auditmod7a.c: Move to ...
7230 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
7231 * elf/tst-auditmod7b.c: Move to ...
7232 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
7233
1ef74943
PP
72342013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
7235
7236 [BZ #15366]
7237 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
7238 define unconditionally.
7239 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
7240 define unconditionally.
7241 (INT8_C, INT16_C, etc.): Likewise.
7242
93fd48c5
MR
72432013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
7244
ae9552cf
MR
7245 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
7246 __ehdr_start with hidden visibility.
7247
93fd48c5
MR
7248 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
7249
418601aa
CD
72502013-04-24 Carlos O'Donell <carlos@redhat.com>
7251
7252 * math/libm-test.inc (cos_test): Use accurate hex constants.
7253 (sincost_test): Likewise.
7254
2f38fbfe
JM
72552013-04-24 Joseph Myers <joseph@codesourcery.com>
7256
5e221800
JM
7257 * math/libm-test.inc (catan_test): Add more tests.
7258 (catanh_test): Likewise.
7259
77f143fd
JM
7260 * math/s_catanf.c (__catanf): Use suffixed floating-point
7261 constants.
7262 * math/s_catanhf.c (__catanhf): Likewise.
7263 * math/s_catanhl.c (__catanhl): Likewise.
7264 * math/s_catanl.c (__catanl): Likewise.
7265
2f38fbfe
JM
7266 [BZ #15394]
7267 * math/s_catan.c (__catan): Calculate imaginary part of result
7268 with log1p not log unless computing log of number close to 0.
7269 * math/s_catanf.c (__catanf): Likewise.
7270 * math/s_catanl.c (__catanl): Likewise.
7271 * math/s_catanh.c (__catanh): Calculate real part of result with
7272 log1p not log unless computing log of number close to 0.
7273 * math/s_catanhf.c (__catanhf): Likewise.
7274 * math/s_catanhl.c (__catanhl): Likewise.
7275 * math/libm-test.inc (catan_test): Add more tests.
7276 (catanh_test): Likewise.
7277 * sysdeps/i386/fpu/libm-test-ulps: Update.
7278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7279
45d69176
SP
72802013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7281
7282 * benchtests/Makefile: Mention files in which fast and slow
7283 paths of math functions are implemented.
7284
87f51853
RM
72852013-04-23 Roland McGrath <roland@hack.frob.com>
7286
7287 * sysdeps/posix/timespec_get.c: New file.
7288
3c026539
AZ
72892013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7290
7291 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
7292 POWER.
7293 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
7294 for POWER.
7295 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
7296 powerpc/power5/fpu folders.
7297 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
7298 * benchtests/Makefile: Add modf testcase.
7299 * benchtests/bench-modf.c: New file: Benchmark test for mo
7300
ff491d14
SP
73012013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7302
7303 [BZ #14888]
7304 * time/Makefile (tests): Add tst-strptime-whitespace.
7305 * time/strptime_l.c (get_number): Use ISSPACE.
7306 (__strptime_internal): Likewise.
7307 * time/tst-strptime-whitespace.c: New test case.
7308
7ed3f4e8
AS
73092013-04-23 Andreas Schwab <schwab@linux-m68k.org>
7310
7311 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
7312 member.
7313 (_nss_files_init): Set it here.
7314
5c95f7b6
HC
73152013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
7316
7317 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
7318 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
7319 unsigned.
7320
d34c9158
JBG
73212013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
7322
7323 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
7324
2169712d
SP
73252013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7326
7327 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
7328 size just once.
7329
29c5de99
DM
73302013-04-21 David S. Miller <davem@davemloft.net>
7331
7332 * po/ru.po: Update Russion translation from translation project.
7333
ccdad15d
AC
73342013-04-17 Adam Conrad <adconrad@0c3.net>
7335
7336 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
7337 and setfsgid.
7338
0f122b8d
CD
73392013-04-17 Carlos O'Donell <carlos@redhat.com>
7340
5c5b07da 7341 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 7342 * configure: Regenerate.
5c5b07da 7343 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
7344 Add example to error message.
7345 * sysdeps/i386/configure: Regenerate.
7346
037714dd
SP
73472013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7348
7349 * benchtests/Makefile (bench): Add cos, tan, slowcos and
7350 slowtan.
7351 * benchtests/cos-inputs: New file.
7352 * benchtests/slowcos-inputs: New file.
7353 * benchtests/slowcos.c: New file.
7354 * benchtests/slowtan-inputs: New file.
7355 * benchtests/slowtan.c: New file.
7356 * benchtests/tan-inputs: New file.
7357
e913141d
RM
73582013-04-16 Roland McGrath <roland@hack.frob.com>
7359
7360 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
7361 considered kosher.
7362
a2964074
SP
73632013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7364
4856bcd2
SP
7365 * benchtests/Makefile: Include cppflags-iterator.mk to add
7366 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
7367
a2964074
SP
7368 * Makefile.in (bench-clean): New target.
7369 * benchtests/Makefile (bench-clean): Likewise.
7370
9fbf9aca
DH
73712013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
7372
7373 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
7374
207d1e2a
TS
73752013-04-15 Thomas Schwinge <thomas@codesourcery.com>
7376
7377 * stdio-common/tstdiomisc.c: Fix coding-style violation.
7378
306dfba9
AS
73792013-04-15 Andreas Schwab <schwab@suse.de>
7380
7381 * nscd/grpcache.c (cache_addgr): Properly check for short write.
7382 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7383 * nscd/pwdcache.c (cache_addpw): Likewise.
7384 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
7385 more than recsize.
7386
206a6699
SP
73872013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7388
7389 * benchtests/Makefile (bench): Write all output to
7390 bench-out.tmp together.
7391
0582f6b3
AS
73922013-04-15 Andreas Schwab <schwab@suse.de>
7393
7394 * nscd/nscd.c (main): Don't fork again after closing files.
7395
acb4325f
SP
73962013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7397
5cb26d0a
SP
7398 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
7399
acb4325f
SP
7400 * benchtests/Rules (bench-deps): Collect dependencies into a
7401 single variable. Add Makefile to dependencies.
7402 ($(objpfx)bench-%.c): Depend on bench-deps.
7403
47792506
RM
74042013-04-12 Roland McGrath <roland@hack.frob.com>
7405 Xavier Roche <roche+kml2@exalead.com>
7406
7407 [BZ #15361]
7408 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
7409 just that it's a file descriptor.
7410 * manual/llio.texi (Synchronizing AIO Operations): Update description
7411 for EBADF error from aio_fsync.
7412
8fc1bee5
SP
74132013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7414
7415 * Rules (bench): Move target definition...
7416 * benchtests/Makefile: ... here.
7417
aba5e333
CD
74182013-04-11 Carlos O'Donell <carlos@redhat.com>
7419
7420 * math/libm-test.inc (cos_test): Fix PI/2 test.
7421 (sincos_test): Likewise.
7422 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7423 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
7424
273cdee8
AS
74252013-04-11 Andreas Schwab <schwab@suse.de>
7426
6ecec3b6
AS
7427 [BZ #13988]
7428 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
7429 accept exponent character only when digits were seen.
7430 * stdio-common/Makefile (tests): Add bug26.
7431 * stdio-common/bug26.c: New file.
7432
273cdee8
AS
7433 [BZ #14293]
7434 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
7435 non-freeable.
7436
8da491f5
SP
74372013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7438
01dc6df9
SP
7439 * Makeconfig (rtld-prefix): Define built linker prefix.
7440 * Rules (run-bench): Use it.
7441 * math/Makefile (run-regen-ulps): Likewise.
7442
8da491f5
SP
7443 * Rules (bench): Remove eval.
7444
abe7f530
SP
74452013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7446 Roland McGrath <roland@hack.frob.com>
7447 Ondrej Bilka <neleai@seznam.cz>
7448
7449 [BZ #15346]
7450 * time/getdate.c: Include ctype.h and alloca.h.
7451 (__getdate_r): Trim leading and trailing spaces of input.
7452 * time/tst-getdate.c (tests): Add tests with leading and
7453 trailing spaces.
7454
61c23e62
RM
74552013-04-08 Roland McGrath <roland@hack.frob.com>
7456
7457 [BZ #14280]
7458 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
7459 when computing value.
7460
7208a313
CD
74612013-04-06 Carlos O'Donell <carlos@redhat.com>
7462
085b2d41
CD
7463 * math/README.libm-test (How can I generate "libm-test-ulps"?):
7464 Use testrun.sh to run libm tests.
7465
7208a313
CD
7466 [BZ #15309]
7467 * elf/dl-open.c (dl_open_worker): memset all of seen array.
7468
872c0acd
MM
74692013-04-06 Marko Myllynen <myllynen@redhat.com>
7470
7471 [BZ #15264]
7472 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
7473
26510bdd
CD
74742013-04-06 Carlos O'Donell <carlos@redhat.com>
7475
7476 * Makefile.in (regen-ulps): New target.
7477 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
7478 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
7479 [ifneq (no,$(PERL)] (regen-ulps): New target.
7480 [ifeq (no,$(PERL)] (regen-ulps): New target.
7481 * math/libm-test.inc (ulps_file_name): Define.
7482 (output_dir): New variable.
7483 (options): Add "output-dir" option.
7484 (parse_opt): Handle 'o' case.
7485 (main): If output_dir is non-NULL use it as a prefix
7486 otherwise use "".
7487 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
7488
a01f19c8
CD
74892013-04-06 Carlos O'Donell <carlos@redhat.com>
7490
7491 [BZ #10060, #10062]
7492 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
7493 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
7494 fail configure if __sync_val_compare_and_swap is not inlined.
7495 * sysdeps/i386/configure: Regenerate.
7496 * configure.in: Build for i686 when configured for i386.
7497 * configure: Regenerate.
7498 * README: Remove i386 reference.
7499
b7a329a5
CD
75002013-04-06 Carlos O'Donell <carlos@redhat.com>
7501
7502 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
7503 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7504
bf0f50df
TS
75052013-04-05 Thomas Schwinge <thomas@codesourcery.com>
7506
ee091edf
TS
7507 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
7508 (lmsnanval): New variables.
7509 (F): Add conversion tests.
7510 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
7511 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
7512
a8b792d6
TS
7513 * stdio-common/tstdiomisc.c (F): Properly collect individual
7514 tests' results.
7515
a1cbf437
TS
7516 [BZ #14686, #15336]
7517 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
7518 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
7519 Instead, use input NaN values or generate a qNaN by arithmetic
7520 operation. Also fix bugs to comply with the standard.
7521 * math/libm-test.inc (remainder_test): Add more tests.
7522
8b43a0c9
TS
7523 [BZ #15335, #15342]
7524 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
7525 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
7526 input NaN values or generate a qNaN by arithmetic operation.
7527
d91da4ce
TS
7528 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
7529 unreachable code.
7530
bf0f50df
TS
7531 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
7532 definitions.
7533
05e166c8
JM
75342013-04-03 Joseph Myers <joseph@codesourcery.com>
7535
7536 [BZ #14478]
7537 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
7538 underflowed result.
7539 * math/s_cexpf.c (__cexpf): Likewise.
7540 * math/s_cexpl.c (__cexpl): Likewise.
7541 * math/libm-test.inc (cexp_test): Add more tests.
7542
1cef1b19
AS
75432013-04-03 Andreas Schwab <schwab@suse.de>
7544
7545 [BZ #15330]
7546 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
7547 order arrays from heap if bigger than alloca cutoff.
7548
74d87055
TS
75492013-04-03 Thomas Schwinge <thomas@codesourcery.com>
7550
7551 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
7552 (SNAN_TESTS_double): Refer to GCC PR56831.
7553 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
7554 GCC PR56828.
7555
d755bba4
SP
75562013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7557
90d5d5bb
SP
7558 * Rules (bench): Move bench.out after the run is complete.
7559
73e0cd5d
SP
7560 * Rules (bench): Echo currently running benchmark.
7561
64aabd4b
SP
7562 * benchtests/Makefile (bench): Add atan and slowatan.
7563 * benchtests/atan-inputs: New file.
7564 * benchtests/slowatan-inputs: New file.
7565 * benchtests/slowatan.c: New file.
7566
c871eccd
SP
7567 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
7568 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
7569 its value.
7570
d755bba4
SP
7571 [BZ #15305]
7572 * sysdeps/unix/sysv/linux/kernel-features.h
7573 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
7574 __ASSUME_XFS_RESTRICTED_CHOWN.
7575 * sysdeps/unix/sysv/linux/pathconf.c
7576 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7577 Save and restore errno.
7578
52ce4860
JM
75792013-04-02 Joseph Myers <joseph@codesourcery.com>
7580
7581 [BZ #15327]
7582 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
7583 arguments using __kernel_casinh.
7584 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
7585 arguments using __kernel_casinhf.
7586 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
7587 arguments using __kernel_casinhl.
7588 * math/libm-test.inc (cacosh_test): Add more tests.
7589 * sysdeps/i386/fpu/libm-test-ulps: Update.
7590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7591
81f311c2
SP
75922013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7593
e7906a47
SP
7594 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
7595 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
7596
92e3664b
SP
7597 * bench/Makefile (bench): Add sin and slowsin.
7598 * benchtests/sin-inputs: New file.
7599 * benchtests/slowsin-inputs: New file.
7600 * benchtests/slowsin.c: New file.
7601
81f311c2
SP
7602 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
7603 (bench): Add slowexp and slowpow.
7604 (exp-ITER): Increase iterations.
7605 (pow-ITER): Likewise.
7606 * benchtests/exp-inputs: Change input.
7607 * benchtests/pow-inputs: Likewise.
7608 * benchtests/slowexp-inputs: New file.
7609 * benchtests/slowexp.c: New file.
7610 * benchtests/slowpow-inputs: New file.
7611 * benchtests/slowpow.c: New file.
7612
ab0f1aa9
AZ
76132013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7614
7615 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
7616 instructions.
7617 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7618 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
7619 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
7620 * benchtests/Makefile: Add rint benchtest.
7621 * benchtests/rint-inputs: Input for rint benchtest.
7622
57267616
TS
76232013-04-02 Thomas Schwinge <thomas@codesourcery.com>
7624
7625 * Versions.def (libm): Add GLIBC_2.18.
7626 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
7627 hidden libm prototypes.
7628 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
7629 * math/Makefile (libm-calls): Add s_issignaling.
7630 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
7631 __issignalingf, __issignalingl. Adjust all libm.abilist files.
7632 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
7633 declaration.
7634 * math/math.h [__USE_GNU] (issignaling): New macro.
7635 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
7636 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
7637 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
7638 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
7639 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
7640 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
7641 * manual/arith.texi (issignaling): New section.
7642 * manual/libm-err-tab.pl (@all_functions): Update comment.
7643 * math/gen-libm-test.pl (parse_args): Apply special handling for
7644 issignaling.
7645 * math/libm-test.inc (print_float, issignaling_test): New
7646 functions.
7647 (check_float_internal): Add issignaling checks.
7648 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
7649 default definition.
7650 * sysdeps/powerpc/math-tests.h: New file.
7651 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
7652 tests.
7653 * math/test-snan.c (TEST_FUNC): Likewise.
7654
6142896d
DM
76552013-03-30 David S. Miller <davem@davemloft.net>
7656
7657 * po/de.po: Update from translation team.
7658
ccc8cadf
JM
76592013-03-30 Joseph Myers <joseph@codesourcery.com>
7660
7661 [BZ #10357]
7662 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7663 imaginary part less than 1.0 and real part less than 0.5
7664 specially.
7665 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7666 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7667 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
7668 (cacos_test): Add more tests.
7669 (casin_test): Likewise.
7670 (casinh_test): Likewise.
7671 * sysdeps/i386/fpu/libm-test-ulps: Update.
7672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7673
0f6a8d4b
SP
76742013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7675
0d1029de
SP
7676 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
7677 ONE with its value.
7678
c2d94018
SP
7679 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
7680 (__pow_mp): Replace ONE and MONE with their values.
7681 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7682 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
7683 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7684 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
7685 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7686 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7687
27ec37f1
SP
7688 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
7689
a64d7e0e
SP
7690 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
7691 (__pow_mp): Replace ZERO and MZERO with their values.
7692 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7693 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7694 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7695 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7696 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7697 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
7698 (__sqr): Likewise.
7699
d26dd3eb
SP
7700 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
7701
0f6a8d4b
SP
7702 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
7703
e57b0c61
RM
77042013-03-28 Roland McGrath <roland@hack.frob.com>
7705
7706 * include/stdlib.h [!SHARED] (__call_tls_dtors):
7707 Declare with __attribute__ ((weak)).
7708 * stdlib/exit.c (__libc_atexit) [!SHARED]:
7709 Call __call_tls_dtors only if it's not NULL.
7710
356b3480
RM
77112013-03-28 Roland McGrath <roland@hack.frob.com>
7712
288f7d79
RM
7713 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
7714 didn't do it already, then set _dl_phdr and _dl_phnum based on the
7715 magic __ehdr_start linker symbol if it's defined.
7716 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
7717 them up here if it was already done.
7718
dc0a0263
RM
7719 * elf/dl-support.c (_dl_phdr): Make pointer to const.
7720 (_dl_aux_init): Use const in cast when setting it.
7721 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
7722 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
7723 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
7724
3d3436ae
RM
7725 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
7726 Declare them here.
7727 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
7728 * csu/libc-tls.c: Nor here.
7729 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
7730
356b3480
RM
7731 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
7732 (__libc_message): Never call vsyslog.
7733
b0f1246a
AM
77342013-03-28 Alan Modra <amodra@gmail.com>
7735
7736 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
7737 Define as empty.
7738 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
7739 Likewise.
7740
fbbe2b9a
AZ
77412013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7742
7743 [BZ #15214]
7744 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
7745 underflow.
7746 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7747
1728ab37
SP
77482013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7749
7a86be6e
SP
7750 [BZ #15304]
7751 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7752 Don't add gid passed as argument.
7753
1728ab37
SP
7754 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
7755
3a7182a1
JM
77562013-03-27 Joseph Myers <joseph@codesourcery.com>
7757
7758 [BZ #15307]
7759 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7760 imaginary part between 1.0 and 1.5 and real part less than 0.5
7761 specially.
7762 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7763 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7764 * math/libm-test.inc (cacos_test): Add more tests.
7765 (casin_test): Likewise.
7766 (casinh_test): Likewise.
7767 * sysdeps/i386/fpu/libm-test-ulps: Update.
7768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7769
6f2e90e7
SP
77702013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7771
5739f705
SP
7772 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
7773 constants.
7774 (norm): Likewise.
7775 (denorm): Likewise.
7776 (__dbl_mp): Likewise.
7777 (add_magnitudes): Likewise.
7778 (sub_magnitudes): Likewise.
7779 (__add): Likewise.
7780 (__sub): Likewise.
7781 (__mul): Likewise.
7782 (__sqr): Likewise.
7783 (__inv): Likewise.
7784 (__dvd): Likewise.
7785
e375e83d
SP
7786 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
7787 commented code.
7788 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
7789 (__dubcos): Likewise.
7790 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
7791 (__ieee754_acos): Likewise.
7792 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7793 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
7794 (__exp1): Likewise.
7795 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7796 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7797 (log1): Likewise.
7798 (my_log2): Likewise.
7799 (checkint): Likewise.
7800 * sysdeps/ieee754/dbl-64/e_remainder.c
7801 (__ieee754_remainder): Likewise.
7802 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7803 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
7804 (bsloww): Likewise.
7805 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7806
6f2e90e7
SP
7807 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7808 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
7809 MANTISSA_STORE_T to store computations on mantissa. Use
7810 macros for rounding and division.
7811 (denorm): Likewise.
7812 (__dbl_mp): Likewise.
7813 (add_magnitudes): Likewise.
7814 (sub_magnitudes): Likewise.
7815 (__mul): Likewise.
7816 (__sqr): Likewise.
7817 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
7818 powers of two in terms of TWOPOW macro.
7819 (mp_no): Make type of mantissa as MANTISSA_T.
7820 [!RADIXI]: Define RADIXI.
7821 [!TWO52]: Define TWO52.
7822 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7823
fce14d4e
AZ
78242013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7825
7826 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
7827 llroundl symbol when building for PPC32.
7828
9ad027fb
MW
78292013-03-24 Mark H Weaver <mhw@netris.org>
7830
7831 * manual/arith.texi (Normalization Functions): Fix prototypes for
7832 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
7833
e42a38dd
AZ
78342013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7835
7836 [BZ #13889]
7837 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
7838 high value to check if expl overflow.
7839 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
7840 to check for underflow and overflow.
7841 * math/libm-test.inc: Add exp test.
7842
2e0fb521
DL
78432013-03-21 Dmitry V. Levin <ldv@altlinux.org>
7844
7845 [BZ #11120]
7846 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
7847 with NOT_IN_libc.
7848
b5784d95
AZ
78492013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7850
7851 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
7852 symbol.
7853
5aa4a1a1
TS
78542013-03-21 Thomas Schwinge <thomas@codesourcery.com>
7855
bdef0be7
TS
7856 * math/gen-libm-test.pl (parse_args, special_functions): Properly
7857 wrap blocks consisting of several statements.
7858
5aa4a1a1
TS
7859 * sysdeps/generic/math-tests.h: New file.
7860 * sysdeps/i386/fpu/math-tests.h: Likewise.
7861 * math/test-snan.c: Include it.
7862 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
7863
98c48fe5
JM
78642013-03-21 Joseph Myers <joseph@codesourcery.com>
7865
7866 [BZ #15285]
7867 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
7868 (__ieee754_j0l): Do not improve calculations using cos of twice
7869 input for inputs above LDBL_MAX / 2.0L.
7870 (__ieee754_y0l): Likewise.
7871 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
7872 (__ieee754_j1l): Do not improve calculations using cos of twice
7873 input for inputs above LDBL_MAX / 2.0L.
7874 (__ieee754_y1l): Likewise.
7875 * math/libm-test.inc (j0_test): Add another test.
7876 (j1_test): Likewise.
7877 (y0_test): Likewise.
7878 (y1_test): Likewise.
7879 * sysdeps/i386/fpu/libm-test-ulps: Update.
7880
3775a8bc
SP
78812013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7882
7883 * Rules ($(objpfx)bench-%.c): Include code from a C source
7884 file.
7885
0a1b2ae6
JM
78862013-03-21 Joseph Myers <joseph@codesourcery.com>
7887
7888 [BZ #15287]
7889 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7890 imaginary part 1.0 and real part less than 0.5 specially.
7891 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7892 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7893 * math/libm-test.inc (cacos_test): Add more tests.
7894 (casin_test): Likewise.
7895 (casinh_test): Likewise.
7896 * sysdeps/i386/fpu/libm-test-ulps: Update.
7897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7898
b33d4ce4
SP
78992013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7900
7901 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
7902 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
7903
bef0b507
JM
79042013-03-20 Joseph Myers <joseph@codesourcery.com>
7905
7906 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
7907 * config.make.in (config-cflags-sse4): Remove variable.
7908 (config-cflags-avx): Likewise.
7909 (config-cflags-sse2avx): Likewise.
7910 (config-cflags-novzeroupper): Likewise.
7911 (config-asflags-i686): Likewise.
7912 (have-mfma4): Likewise.
7913 (have-as-vis3): Likewise.
7914 (MIG): Likewise.
7915 * configure.in (MIG): Do not AC_SUBST.
7916 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
7917 (libc_cv_cc_sse4): Do not AC_SUBST.
7918 (libc_cv_cc_avx): Likewise.
7919 (libc_cv_cc_sse2avx): Likewise.
7920 (libc_cv_cc_novzeroupper): Likewise.
7921 (libc_cv_cc_fma4): Likewise.
7922 (libc_cv_as_i686): Likewise.
7923 (libc_cv_sparc_as_vis3): Likewise.
7924 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
7925 LIBC_CONFIG_VAR.
7926 (config-asflags-i686): Likewise.
7927 (config-cflags-avx): Likewise.
7928 (config-cflags-sse2avx): Likewise.
7929 (have-mfma4): Likewise.
7930 (config-cflags-novzeroupper): Likewise.
7931 * sysdeps/mach/configure.in (MIG): Likewise.
7932 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
7933 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
7934 LIBC_CONFIG_VAR.
7935 (config-cflags-avx): Likewise.
7936 (config-cflags-sse2avx): Likewise.
7937 (have-mfma4): Likewise.
7938 (config-cflags-novzeroupper): Likewise.
7939 * configure: Regenerated.
7940 * sysdeps/i386/configure: Likewise.
7941 * sysdeps/mach/configure: Likewise.
7942 * sysdeps/sparc/configure: Likewise.
7943 * sysdeps/x86_64/configure: Likewise.
7944
912cc4b3
RM
79452013-03-20 Roland McGrath <roland@hack.frob.com>
7946
7947 [BZ #14812]
7948 * locale/programs/localedef.c (options): Put N_ translation marker
7949 on argument names, not just descriptions.
7950
04eed2b0
MS
79512013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7952
7953 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
7954
a065ceff
OB
79552013-03-20 Ondřej Bílka <neleai@seznam.cz>
7956
9bb2a810 7957 [BZ #14176]
a065ceff
OB
7958 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
7959
a600e5ce
RM
79602013-03-19 Roland McGrath <roland@hack.frob.com>
7961
7962 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
7963 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
7964 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
7965 [!BEFORE_ABORT] (before_abort): New function.
7966 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
7967 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
7968 (writev_for_fatal): New function.
7969 (WRITEV_FOR_FATAL): New macro; call that.
7970 (backtrace_and_maps): New function.
7971 (BEFORE_ABORT): New macro; call that.
7972 (struct str_list): Type removed.
7973 (__libc_message, __libc_fatal): Functions removed.
7974 Include <sysdeps/posix/libc_fatal.c> instead.
7975
6b18bea6
JM
79762013-03-19 Joseph Myers <joseph@codesourcery.com>
7977
7978 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
7979 constants.
7980 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
7981 double constants.
7982
aaa8cb4b
AS
79832013-03-19 Andreas Schwab <schwab@suse.de>
7984
44673770
AS
7985 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
7986 * sysdeps/gnu/configure: Regenerate.
7987
aaa8cb4b
AS
7988 * configure.in: Substitute libc_cv_rtlddir.
7989 * configure: Regenerate.
7990 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
7991 * Makeconfig (rtlddir, inst_rtlddir): New variables.
7992 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
7993 * elf/Makefile (install-others, CFLAGS-interp.c)
7994 (ldso_install, common-ldd-rewrite): Likewise.
7995 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
7996 $(inst_slibdir)/$(rtld-installed-name).
7997 * scripts/rellns-sh: Add -p option.
7998 * Makerules (make-shlib-link): Use rellns-sh to get relative name
7999 for source.
8000
d3cfc668
SP
80012013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8002
8003 * manual/nptl.texi: Renamed to ...
8004 * manual/threads.texi: ... this.
8005 * manual/Makefile (chapters): Update.
8006
0e2b9cdd
RM
80072013-03-18 Roland McGrath <roland@hack.frob.com>
8008
8009 [BZ #14812]
8010 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
8011 on argument names, not just descriptions.
0e2b9cdd
RM
8012 * malloc/memusagestat.c (options): Likewise.
8013 * nss/getent.c (options): Likewise.
63270c24
RM
8014
80152013-03-18 Benno Schulenberg <bensberg@justemail.net>
8016
8017 [BZ #14812]
8018 * iconv/iconv_prog.c (options): Put N_ translation marker
8019 on argument names, not just descriptions.
8020 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 8021
b2e1393c
OB
80222013-03-18 Ondrej Bilka <neleai@seznam.cz>
8023
8024 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
8025 implementation which is faster on all x86_64 architectures.
8026 Tested on AMD, Intel Nehalem, SNB, IVB.
8027 * sysdeps/x86_64/strnlen.S: Likewise.
8028
8029 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8030 Remove all multiarch strlen and strnlen versions.
8031 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8032 Remove strlen and strnlen related parts.
8033
8034 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
8035 Inline strlen part.
8036 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8037
8038 * sysdeps/x86_64/multiarch/strlen.S: Remove.
8039 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
8040 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
8041 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
8042 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8043 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
8044
ec4ff04d
CD
80452013-03-17 Carlos O'Donell <carlos@redhat.com>
8046
8047 * manual/memory.texi (Malloc Tunable Parameters):
8048 Sort parameters alphabetically. Add comments for missing entries.
8049
cd18e90a
DM
80502013-03-17 David S. Miller <davem@davemloft.net>
8051
8052 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8053
2a185d32
JM
80542013-03-16 Joseph Myers <joseph@codesourcery.com>
8055
d2f9799e
JM
8056 [BZ #15283]
8057 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
8058 for arguments at most half maximum finite value.
8059 * math/libm-test.inc (j0_test): Add more tests.
8060 (j1_test): Likewise.
8061 (y0_test): Likewise.
8062 (y1_test): Likewise.
8063 * sysdeps/i386/fpu/libm-test-ulps: Update.
8064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8065
2a185d32
JM
8066 [BZ #14155]
8067 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
8068 1 / x and functions P and Q for arguments above 0x1p256L.
8069 (__ieee754_y0l): Likewise.
8070 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
8071 (__ieee754_y1l): Likewise.
8072 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
8073 (j1_test): Likewise.
8074 (y0_test): Likewise.
8075 (y1_test): Likewise.
8076
6cbec759
TS
80772013-03-16 Thomas Schwinge <thomas@codesourcery.com>
8078
8079 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
8080 variable.
8081
bc16e260
RM
80822013-03-15 Roland McGrath <roland@hack.frob.com>
8083
aefc9b8c
RM
8084 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
8085 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
8086 zero since it's initialized to EXEC_PAGESIZE.
8087
bc16e260
RM
8088 * sysdeps/unix/sysv/linux/ldsodefs.h
8089 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
8090 * sysdeps/generic/ldsodefs.h: ... here.
8091
a57da955
TS
80922013-03-15 Thomas Schwinge <thomas@codesourcery.com>
8093
af00a34d
TS
8094 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
8095
495ded2c
TS
8096 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
8097 math/test-snan.c.
8098 * math/test-snan.c: Renamed from
8099 sysdeps/powerpc/fpu/test-powerpc-snan.c.
8100 * math/Makefile (tests): Add test-snan.
8101 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
8102 test-powerpc-snan.
8103
777b0332
TS
8104 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
8105 SUFFIX. Initialize qNaN_var with __builtin_nan family of
8106 functions.
8107 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
8108 __builtin_nan family of functions.
8109 * math/libm-test.inc (initialize): Initialize qnan_value with
8110 __builtin_nan family of functions.
8111 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
8112 Remove variables.
8113 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
8114 Remove functions.
8115 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
8116 storage class. Initialize qNaN_var and sNaN_var with
8117 __builtin_nan and __builtin_nans families of functions,
8118 respectively.
8119
64d063b8
TS
8120 * math/libm-test.inc (acosh_test): Also test with qNaN input.
8121 (sqrt_test): Remove duplicate test with qNaN input.
8122 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
8123 (round_test, signbit_test, significand_test): Note missing +/-Inf
8124 as well as qNaN tests.
8125
67e971f1
TS
8126 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
8127 qNaN_var. Fix a few strings, too.
8128 * math/libm-test.inc (nan_value): Rename to qnan_value.
8129 * math/gen-libm-test.pl (%beautify): Adjust to that.
8130 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
8131 * math/test-misc.c (main): Likewise.
8132 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
8133 to __qnan_bytes, and __qnan_union, respectively.
8134 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
8135 Likewise.
8136 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
8137 and lqnanval, respectively.
8138 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
8139 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
8140 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
8141 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
8142
64487e12
TS
8143 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
8144 * math/test-misc.c (main) [__x86_64__]: Enable test for long
8145 doubles.
8146
e015e27b
TS
8147 * math/test-misc.c (main): Fix copy'n'pastos.
8148 * misc/tst-efgcvt.c (special): Likewise.
8149
a57da955
TS
8150 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
8151 Remove declarations.
8152
1e380345
SP
81532013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8154
8155 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
8156 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
8157 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
8158 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
8159
ef26eece
AZ
81602013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8161
8162 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
8163 macro to return vdso values correctly in IFUNC implementations.
8164 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8165 Optimization by using IFUNC.
8166
8cfdb7e0
SP
81672013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8168 Richard Henderson <rth@redhat.com>
8169 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8170
8171 * Makefile.in (bench): New target.
8172 * NEWS: Mention the benchmark framework.
8173 * Rules (bench): Likewise.
8174 (binaries-bench): Generate binaries for functions to
8175 benchmark.
8176 * benchtests/Makefile: New makefile for benchmark tests.
8177 * benchtests/bench-skeleton.c: New skeleton file for benchmark
8178 programs.
8179 * benchtests/exp-inputs: New input file for EXP function.
8180 * benchtests/pow-inputs: New input file for POW function.
8181 * scripts/bench.pl: New script to generate source files for
8182 benchmark programs.
8183
bcda9880
SP
81842013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8185
d22ca8cd
SP
8186 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8187 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
8188 computations on mantissa. Use macros for rounding and
8189 division.
8190 (denorm): Likewise.
8191 (__dbl_mp): Likewise.
8192 (add_magnitudes): Likewise.
8193 (sub_magnitudes): Likewise.
8194 (__mul): Likewise.
8195 (__sqr): Likewise.
8196 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
8197 powers of two in terms of TWOPOW macro.
8198 (mp_no): Make type of mantissa as MANTISSA_T.
8199 [!RADIXI]: Define RADIXI.
8200 [!TWO52]: Define TWO52.
8201 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8202
bcda9880
SP
8203 * manual/nptl.texi (cindex): Modify threads to pthreads.
8204
06d5adfb
JM
82052013-03-15 Joseph Myers <joseph@codesourcery.com>
8206
8207 * sysdeps/x86_64/preconfigure: Regenerated.
8208
41c7328e
JM
82092013-03-14 Joseph Myers <joseph@codesourcery.com>
8210
8211 [BZ #14155]
8212 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
8213 0x1p28 and above.
8214 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
8215 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
8216 0x1p28 and above.
8217 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
8218 * math/libm-test.inc (j0_test): Do not allow one spurious
8219 underflow exception.
8220 (y1_test): Likewise.
8221
e25cfa60
SP
82222013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8223
0409959c
SP
8224 * manual/Makefile (chapters): Add nptl.
8225 * manual/debug.texi (Debugging Support): Add link to Threads
8226 chapter.
8227 * manual/nptl.texi: New file.
8228
e25cfa60
SP
8229 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
8230
58a1335e
PB
82312013-03-14 Petr Baudis <pasky@ucw.cz>
8232
8233 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
8234 for non-NULL pointer before the memory validity test. Pointed
8235 out by Holger Brunck <holger.brunck@keymile.com>.
8236
9dc7c64f
AS
82372013-03-13 Andreas Schwab <schwab@suse.de>
8238
8239 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
8240 instead of .os.
8241
54206aa6
JM
82422013-03-13 Joseph Myers <joseph@codesourcery.com>
8243
8244 * timezone/zic.c: Update from tzcode 2013b.
8245
e98cdb38
CD
82462013-03-12 Carlos O'Donell <carlos@redhat.com>
8247
8248 * manual/install.texi (Configuring and compiling):
8249 Mention i686 and i586.
8250 * INSTALL: Regenerate.
8251
9967e003
RM
82522013-03-12 Roland McGrath <roland@hack.frob.com>
8253
8254 * sysdeps/init_array/elf-init.c: New file.
8255 * csu/elf-init.c
8256 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
8257 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
8258
8259 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
8260 __gmon_start__ as global, but as static with a .preinit_array pointer.
8261 * sysdeps/init_array/gmon-start.c: New file. Use that.
8262 * sysdeps/init_array/crti.S: New file, empty except for comments.
8263 * sysdeps/init_array/crtn.S: Likewise.
8264
e6b5a293 82652013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
8266
8267 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
8268 definining bcopy.
80f844c9
OB
8269 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8270 Remove Prefer_SSE_for_memop.
8271 * sysdeps/x86_64/multiarch/init-arch.h: Remove
8272 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
8273 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
8274 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8275 memset-x86-64.
80f844c9 8276 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 8277 Remove bzero, memset ifunc support.
80f844c9
OB
8278 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
8279 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
8280 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8281 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8282
fb6b0fcb
AS
82832013-03-11 Andreas Schwab <schwab@suse.de>
8284
8285 [BZ #15234]
8286 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
8287 by SHLIB_COMPAT.
8288 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
8289 (GLIBC_2.16): Remove pthread_atfork.
8290
3e6bd4b1
PP
82912013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
8292
8293 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
8294 (ptestcases.h): Likewise.
8295
222d7f00
RM
82962013-03-08 Roland McGrath <roland@hack.frob.com>
8297
8298 * Makeconfig ($(common-objpfx)config.status): Depend on
8299 sysdeps/*/preconfigure{,.in} too.
8300
1ba4f030
JM
83012013-03-08 Joseph Myers <joseph@codesourcery.com>
8302
a222d91a
JM
8303 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
8304 (__free_hook): Use void * instead of __malloc_ptr_t.
8305 (__malloc_hook): Likewise.
8306 (__realloc_hook): Likewise.
8307 (__memalign_hook): Likewise.
8308 (__after_morecore_hook): Likewise.
8309 * malloc/arena.c (save_malloc_hook): Likewise.
8310 (save_free_hook): Likewise.
8311 * malloc/hooks.c (malloc_hook_ini): Likewise.
8312 (realloc_hook_ini): Likewise.
8313 (memalign_hook_ini): Likewise.
8314 * malloc/malloc.c (malloc_hook_ini): Likewise.
8315 (realloc_hook_ini): Likewise.
8316 (memalign_hook_ini): Likewise.
8317 (__free_hook): Likewise.
8318 (__malloc_hook): Likewise.
8319 (__realloc_hook): Likewise.
8320 (__memalign_hook): Likewise.
8321 (__libc_malloc): Likewise.
8322 (__libc_free): Likewise.
8323 (__libc_realloc): Likewise.
8324 (__libc_memalign): Likewise.
8325 (__libc_valloc): Likewise.
8326 (__libc_pvalloc): Likewise.
8327 (__libc_calloc): Likewise.
8328 (__posix_memalign): Likewise.
8329 * malloc/morecore.c (__sbrk): Likewise.
8330 (__default_morecore): Likewise.
8331
5cc45e10
JM
8332 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
8333
dd54b864
JM
8334 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
8335 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
8336 __malloc_ptrdiff_t.
8337
1ba4f030
JM
8338 * malloc/malloc.h (__malloc_size_t): Remove macro.
8339 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
8340 __malloc_size_t.
8341 (old_memalign_hook): Likewise.
8342 (old_realloc_hook): Likewise.
8343 (struct hdr): Likewise.
8344 (flood): Likewise.
8345 (mallochook): Likewise.
8346 (memalignhook): Likewise.
8347 (reallochook): Likewise.
8348 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
8349 (tr_old_realloc_hook): Likewise.
8350 (tr_old_memalign_hook): Likewise.
8351 (tr_mallochook): Likewise.
8352 (tr_reallochook): Likewise.
8353 (tr_memalignhook): Likewise.
8354
edf66e57
AZ
83552013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8356
8357 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
8358 default_ldbl_pack and using as default implementation.
8359 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
8360 implementation.
8361 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
8362 redundant definition.
8363 (ldbl_insert_mantissa): Likewise.
8364 (ldbl_canonicalize): Likewise.
8365 (ldbl_nearbyint): Likewise.
8366 (ldbl_pack): Rename to ldbl_pack_ppc.
8367 (ldbl_unpack): Rename to ldbl_unpack_ppc.
8368 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
8369 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
8370
6d9145d8
SP
83712013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8372
8373 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
8374 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
8375 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
8376 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
8377 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
8378 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
8379 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
8380 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
8381
4dd4e157
AJ
83822013-03-07 Andreas Jaeger <aj@suse.de>
8383
8384 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8385 bits/mman-linux.h.
8386
adbb8027
SP
83872013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8388
ce544b5b
SP
8389 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
8390 Include mpa.h and declare __MPEXP.
8391 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
8392 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8393 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8394 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
8395 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8396 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8397 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
8398
4cc149fd
SP
8399 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
8400 (__slowpow): Use long double EXPL and LOGL functions to
8401 compute POW.
8402 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8403 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8404 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
8405 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8406 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8407 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
8408
e6ebd4a7
SP
8409 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
8410 intermediate variable to calculate exponent.
8411 (__sqr): Likewise.
8412 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8413 Likewise.
8414 (__sqr): Likewise.
8415
82a9811d
SP
8416 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
8417 [!NO__SQR]: Define __sqr.
8418 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
8419 and NO__SQR. Remove all code except __mul and __sqr. Include
8420 sysdeps/ieee754/dbl-64/mpa.c.
8421 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8422
adbb8027
SP
8423 [BZ #12723]
8424 * posix/Makefile (tests): Add tst-pathconf.
8425 * posix/tst-pathconf.c: New test case.
8426 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
8427 _PC_PIPE_BUF.
8428 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
8429
39120df9
PF
84302013-03-06 Patsy Franklin <pfrankli@redhat.com>
8431
8432 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
8433
67525cb8
AJ
84342013-03-06 Andreas Jaeger <aj@suse.de>
8435
664a9ce4
AJ
8436 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
8437 definition via __MAP_ANONYMOUS.
8438
8e39047d
AJ
8439 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
8440 it's not part of Linux headers.
8441
67525cb8
AJ
8442 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
8443 (MAP_HUGE_MASK): Define.
8444
8445 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8446 Define.
8447 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8448 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8449 Define.
8450 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8451 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8452 Define.
8453 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8454 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
8455 Define.
8456 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8457
8458 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
8459 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
8460 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
8461 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
8462 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
8463 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
8464
8465 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
8466 Handle f2fs.
8467
8468 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8469 Handle f2fs and efivarfs.
8470
8471 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
8472 f2fs.
8473
8474 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
8475 (EFIVARFS_MAGIC): Add.
8476 (F2FS_LINK_MAX): Add.
8477
e1b42695
PP
84782013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8479
8480 * stdio-common/vfprintf.c: Replace __builtin_expect with
8481 __glibc_unlikely.
8482
2d67d91a
JM
84832013-03-06 Joseph Myers <joseph@codesourcery.com>
8484
8485 [BZ #13550]
8486 * sysdeps/generic/bp-sym.h: Remove file.
8487 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
8488 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
8489 <bp-sym.h> and <bp-asm.h>.
8490 (__longjmp): Don't use BP_SYM.
8491 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
8492 and <bp-asm.h>.
8493 (memcpy): Don't use BP_SYM.
8494 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
8495 <bp-sym.h> and <bp-asm.h>.
8496 (memcpy): Don't use BP_SYM.
8497 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
8498 <bp-asm.h>.
8499 (memcpy): Don't use BP_SYM.
8500 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
8501 <bp-asm.h>.
8502 (memset): Don't use BP_SYM.
8503 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8504 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8505 (__bzero): Don't use BP_SYM.
8506 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8507 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8508 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
8509 <bp-sym.h> and <bp-asm.h>.
8510 (memcmp): Don't use BP_SYM. Remove comment about bounded
8511 pointers.
8512 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
8513 <bp-sym.h> and <bp-asm.h>.
8514 (memcpy): Don't use BP_SYM.
8515 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
8516 <bp-sym.h> and <bp-asm.h>.
8517 (memset): Don't use BP_SYM.
8518 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8519 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8520 (__bzero): Don't use BP_SYM.
8521 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8522 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8523 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
8524 <bp-sym.h> and <bp-asm.h>.
8525 (strncmp): Don't use BP_SYM. Remove comment about bounded
8526 pointers.
8527 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
8528 <bp-sym.h> and <bp-asm.h>.
8529 (memcpy): Don't use BP_SYM.
8530 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
8531 <bp-sym.h> and <bp-asm.h>.
8532 (memset): Don't use BP_SYM.
8533 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8534 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8535 (__bzero): Don't use BP_SYM.
8536 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8537 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8538 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
8539 <bp-sym.h> and <bp-asm.h>.
8540 (__memchr): Don't use BP_SYM.
8541 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
8542 <bp-sym.h> and <bp-asm.h>.
8543 (memcmp): Don't use BP_SYM. Remove comment about bounded
8544 pointers.
8545 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
8546 <bp-sym.h> and <bp-asm.h>.
8547 (memcpy): Don't use BP_SYM.
8548 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
8549 <bp-sym.h> and <bp-asm.h>.
8550 (__mempcpy): Don't use BP_SYM.
8551 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
8552 <bp-sym.h> and <bp-asm.h>.
8553 (__memrchr): Don't use BP_SYM.
8554 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
8555 <bp-sym.h> and <bp-asm.h>.
8556 (memset): Don't use BP_SYM.
8557 (__bzero): Likewise.
8558 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
8559 <bp-sym.h> and <bp-asm.h>.
8560 (__rawmemchr): Don't use BP_SYM.
8561 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
8562 <bp-sym.h> and <bp-asm.h>.
8563 (__STRCMP): Don't use BP_SYM.
8564 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
8565 <bp-sym.h> and <bp-asm.h>.
8566 (strchr): Don't use BP_SYM.
8567 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
8568 <bp-sym.h> and <bp-asm.h>.
8569 (__strchrnul): Don't use BP_SYM.
8570 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
8571 <bp-sym.h> and <bp-asm.h>.
8572 (strlen): Don't use BP_SYM.
8573 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
8574 <bp-sym.h> and <bp-asm.h>.
8575 (strncmp): Don't use BP_SYM. Remove comment about bounded
8576 pointers.
8577 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
8578 <bp-sym.h> and <bp-asm.h>.
8579 (__strnlen): Don't use BP_SYM.
8580 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
8581 <bp-sym.h> and <bp-asm.h>.
8582 (__GI__setjmp): Don't use BP_SYM.
8583 (_setjmp): Likewise.
8584 (__sigsetjmp): Likewise.
8585 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
8586 (L(start_addresses)): Don't use BP_SYM.
8587 (_start): Likewise.
8588 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
8589 <bp-asm.h>.
8590 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
8591 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
8592 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8593 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8594 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
8595 <bp-asm.h>.
8596 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
8597 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
8598 about bounded pointers.
8599 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8600 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8601 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
8602 <bp-asm.h>.
8603 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
8604 about bounded pointers. Remove GKM FIXME comments.
8605 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8606 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
8607 <bp-asm.h>.
8608 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
8609 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
8610 Remove GKM FIXME comments.
8611 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8612 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8613 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
8614 <bp-asm.h>.
8615 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
8616 about bounded pointers. Remove GKM FIXME comment.
8617 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
8618 and <bp-asm.h>.
8619 (strncmp): Don't use BP_SYM. Remove comment about bounded
8620 pointers.
8621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
8622 <bp-sym.h> and <bp-asm.h>.
8623 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
8625 <bp-sym.h> and <bp-asm.h>.
8626 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
8627 comment.
8628
cdcf361f
PP
86292013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8630
8631 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
8632 call free(NULL).
8633
3c4a2b15
DM
86342013-03-05 David S. Miller <davem@davemloft.net>
8635
8636 * po/es.po: Update from translation team.
8637
cdcf361f 86382013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
8639
8640 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
8641 <bits/mman-linux.h>.
8642 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8643 is fine.
8644 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
8645 <bits/mman-linux.h> to end of file.
8646 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8647 is fine.
8648 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
8649 <bits/mman-linux.h> to end of file.
8650 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8651 is fine.
8652 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
8653 <bits/mman-linux.h> to end of file.
8654
8655 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
8656 (MCL_CURRENT, MCL_FUTURE): Define here.
8657
5f67c04f
AK
86582013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8659
8a4473cc 8660 [BZ #15232]
5f67c04f
AK
8661 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
8662 attribute_hidden.
8663 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8664
c3e94a95
AK
86652013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8666
8667 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
8668 fourth parameter needed for rt_sigprocmask syscall.
8669 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8670 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8671 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
8672 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8673 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8674 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
8675
cfb6382a
JM
86762013-03-04 Joseph Myers <joseph@codesourcery.com>
8677
8678 [BZ #13550]
8679 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
8680 comment about bounded pointers.
8681 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
8682 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
8683
539d8e01
AJ
86842013-03-04 Andreas Jaeger <aj@suse.de>
8685
8686 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
8687 common definitions.
8688
8689 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
8690 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
8691 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
8692 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8693 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
8694 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8695
2e167a70 86962013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
8697
8698 [BZ #15055]
8699 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8700 __ieee754_sqrl instead of __sqrl.
8701
68508633
JM
87022013-03-01 Joseph Myers <joseph@codesourcery.com>
8703
8704 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
8705 * sysdeps/powerpc/fpu_control.h: ... here.
8706 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
8707 * sysdeps/powerpc/bits/fenvinline.h: ... here.
8708 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
8709 * sysdeps/powerpc/bits/mathinline.h: ... here.
8710
7775448e
RM
87112013-03-01 Roland McGrath <roland@hack.frob.com>
8712
8713 * elf/dl-hwcaps.c (_dl_important_hwcaps):
8714 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
8715 to just [NEED_DL_SYSINFO_DSO].
8716 * elf/dl-support.c: Likewise.
8717 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8718 * elf/rtld.c (dl_main): Likewise.
8719 * elf/setup-vdso.h (setup_vdso): Likewise.
8720 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
8721 * sysdeps/unix/sysv/linux/dl-sysdep.c
8722 (_dl_discover_osversion): Likewise.
8723
4e9b5995
CD
87242013-03-01 Carlos O'Donell <carlos@redhat.com>
8725
8726 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
8727 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8728
e23872c8
SP
87292013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8730
e5c74c63
SP
8731 * NEWS: Mention libm performance improvements and non-x86 PI
8732 futex support.
8733
e23872c8
SP
8734 * csu/libc-start.c (__pthread_initialize_minimal): Change
8735 function arguments.
8736 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8737
b5510883
JM
87382013-02-28 Joseph Myers <joseph@codesourcery.com>
8739
8740 [BZ #13550]
8741 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
8742 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
8743 <bp-sym.h> and <bp-asm.h>.
8744 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8745 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
8746 and <bp-asm.h>.
8747 (memcpy): Don't use BP_SYM.
8748 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
8749 <bp-asm.h>.
8750 (__mpn_add_n): Don't use BP_SYM.
8751 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
8752 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
8753 and <bp-asm.h>.
8754 (__mpn_addmul_1): Don't use BP_SYM.
8755 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8756 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
8757 <bp-sym.h>.
8758 (_setjmp): Don't use BP_SYM.
8759 (__novmx_setjmp): Likewise.
8760 (__GI__setjmp): Likewise.
8761 (__vmx_setjmp): Likewise.
8762 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
8763 <bp-sym.h>.
8764 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
8765 (__bzero): Don't use BP_SYM.
8766 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8767 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8768 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
8769 <bp-sym.h> and <bp-asm.h>.
8770 (memcpy): Don't use BP_SYM.
8771 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
8772 <bp-sym.h> and <bp-asm.h>.
8773 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8774 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
8775 <bp-sym.h> and <bp-asm.h>.
8776 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8777 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
8778 <bp-asm.h>.
8779 (__mpn_lshift): Don't use BP_SYM.
8780 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8781 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
8782 <bp-asm.h>.
8783 (memset): Don't use BP_SYM.
8784 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8785 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8786 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
8787 <bp-asm.h>.
8788 (__mpn_mul_1): Don't use BP_SYM.
8789 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8790 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
8791 <bp-sym.h> and <bp-asm.h>.
8792 (memcmp): Don't use BP_SYM.
8793 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
8794 <bp-sym.h> and <bp-asm.h>.
8795 (memcpy): Don't use BP_SYM.
8796 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
8797 <bp-sym.h> and <bp-asm.h>.
8798 (memset): Don't use BP_SYM.
8799 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
8800 <bp-sym.h> and <bp-asm.h>.
8801 (strncmp): Don't use BP_SYM.
8802 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
8803 <bp-sym.h> and <bp-asm.h>.
8804 (memcpy): Don't use BP_SYM.
8805 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
8806 <bp-sym.h> and <bp-asm.h>.
8807 (memset): Don't use BP_SYM.
8808 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
8809 <bp-sym.h> and <bp-asm.h>.
8810 (__memchr): Don't use BP_SYM.
8811 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
8812 <bp-sym.h> and <bp-asm.h>.
8813 (memcmp): Don't use BP_SYM.
8814 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
8815 <bp-sym.h> and <bp-asm.h>.
8816 (memcpy): Don't use BP_SYM.
8817 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
8818 <bp-sym.h> and <bp-asm.h>.
8819 (__mempcpy): Don't use BP_SYM.
8820 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
8821 <bp-sym.h> and <bp-asm.h>.
8822 (__memrchr): Don't use BP_SYM.
8823 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
8824 <bp-sym.h> and <bp-asm.h>.
8825 (memset): Don't use BP_SYM.
8826 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
8827 <bp-sym.h> and <bp-asm.h>.
8828 (__rawmemchr): Don't use BP_SYM.
8829 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
8830 <bp-sym.h> and <bp-asm.h>.
8831 (__STRCMP): Don't use BP_SYM.
8832 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
8833 <bp-sym.h> and <bp-asm.h>.
8834 (strchr): Don't use BP_SYM.
8835 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
8836 <bp-sym.h> and <bp-asm.h>.
8837 (__strchrnul): Don't use BP_SYM.
8838 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
8839 <bp-sym.h> and <bp-asm.h>.
8840 (strlen): Don't use BP_SYM.
8841 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
8842 <bp-sym.h> and <bp-asm.h>.
8843 (strncmp): Don't use BP_SYM.
8844 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
8845 <bp-sym.h> and <bp-asm.h>.
8846 (__strnlen): Don't use BP_SYM.
8847 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
8848 <bp-asm.h>.
8849 (__mpn_rshift): Don't use BP_SYM.
8850 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8851 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
8852 <bp-sym.h> and <bp-asm.h>.
8853 (__sigsetjmp): Don't use BP_SYM.
8854 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
8855 (L(start_addresses)): Don't use BP_SYM.
8856 (_start): Likewise.
8857 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
8858 <bp-asm.h>.
8859 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
8860 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8861 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8862 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
8863 <bp-asm.h>.
8864 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
8865 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8866 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8867 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
8868 <bp-asm.h>.
8869 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
8870 comments.
8871 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8872 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
8873 <bp-asm.h>.
8874 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
8875 FIXME comments.
8876 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8877 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8878 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
8879 <bp-asm.h>.
8880 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
8881 comment.
8882 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
8883 and <bp-asm.h>.
8884 (strncmp): Don't use BP_SYM,
8885 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
8886 <bp-asm.h>.
8887 (__mpn_sub_n): Don't use BP_SYM.
8888 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8889 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
8890 and <bp-asm.h>.
8891 (__mpn_submul_1): Don't use BP_SYM.
8892 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
8894 <bp-sym.h> and <bp-asm.h>.
8895 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
8897 <bp-sym.h> and <bp-asm.h>.
8898 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
8899 comment.
8900
8d19fe64
SP
89012013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8902
8903 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
8904 Use ZK to minimize writes to Z.
8905 (sub_magnitudes): Simplify code a bit.
8906 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
8907 Use ZK to minimize writes to Z.
8908 (sub_magnitudes): Simplify code a bit.
8909
85bd816a
RM
89102013-02-27 Roland McGrath <roland@hack.frob.com>
8911
8912 * csu/gmon-start.c: Add special exception to license text.
8913
b5977bf2
RH
89142013-02-27 Richard Henderson <rth@redhat.com>
8915
8916 * scripts/config.guess: Update from config.git.
8917 * scripts/config.sub: Likewise.
8918
11d6e2f2
SP
89192013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8920
09c14ed2
SP
8921 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
8922
a688864e
SP
8923 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
8924
6295157a
SP
8925 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
8926
b8de2202
SP
8927 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
8928
11d6e2f2
SP
8929 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
8930
7e80ddb8
RM
89312013-02-26 Roland McGrath <roland@hack.frob.com>
8932
8933 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
8934 [$(build-shared = yes].
7e80ddb8 8935
7da6d9ed
SP
89362013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8937
45f05884
SP
8938 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
8939 (__mul): Reduce iterations for calculating mantissa.
8940
2236d359
SP
8941 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
8942 MPTWO.
8943 (__mpranred): Likewise.
8944
7da6d9ed
SP
8945 [BZ #15160]
8946 * malloc/memusagestat.c (main): Draw graphs for heap and stack
8947 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
8948
b7688c42
PE
89492013-02-26 Paul Eggert <eggert@cs.ucla.edu>
8950
8951 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
8952 Define __attribute__.
8953
53a5c423
SP
89542013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8955
8956 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
8957 unused.
8958 * posix/regex_internal.h (__attribute): Remove.
8959 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
8960 (re_string_context_at): Likewise.
8961 (bitset_not): Use __attribute__ and mark function as possibly
8962 unused.
8963 (bitset_merge): Likewise.
8964 (bitset_mask): Likewise.
8965 (re_string_char_size_at): Likewise.
8966 (re_string_wchar_at): Likewise.
8967 (re_string_elem_size_at): Likewise.
8968
60f5a8b5
SP
89692013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8970
2a983a2e
SP
8971 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
8972 code.
8973 (cc32): Likewise.
8974
e69804d1
SP
8975 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
8976 (__acr): Likewise.
8977 (__cpy): Likewise.
8978 (norm): Likewise.
8979 (denorm): Likewise.
8980 (__dbl_mp): Likewise.
8981 (add_magnitudes): Likewise.
8982 (sub_magnitudes): Likewise.
8983 (__mul): Likewise.
8984 (__inv): Likewise.
8985
2f22a1e8
SP
8986 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
8987 style.
8988
8930ddc7
SP
8989 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
8990 style.
8991
dc60cb11
SP
8992 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
8993 code.
8994
60f5a8b5
SP
8995 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
8996 up changes with default code.
8997 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
8998 Likewise.
8999
b4d1fd33
AM
90002013-02-24 Allan McRae <allan@archlinux.org>
9001
faf6f8bc
AM
9002 * manual/socket.texi (The Internet Namespace): Order menu items
9003 to match that in the file.
9004
b4d1fd33
AM
9005 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
9006 node listing of the info page menu.
9007
2366713d
JM
90082013-02-21 Joseph Myers <joseph@codesourcery.com>
9009
9010 [BZ #13550]
9011 * sysdeps/i386/bp-asm.h: Remove file.
9012 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9013 (PARMS): Do not use macros from bp-asm.h.
9014 (S1): Likewise.
9015 (S2): Likewise.
9016 (SIZE): Likewise.
9017 (__mpn_add_n): Do not use BP_SYM
9018 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
9019 "bp-asm.h".
9020 (PARMS): Do not use macros from bp-asm.h.
9021 (S1): Likewise.
9022 (SIZE): Likewise.
9023 (__mpn_addmul_1): Do not use BP_SYM
9024 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
9025 "bp-asm.h".
9026 (PARMS): Do not use macros from bp-asm.h.
9027 (SIGMSK): Likewise.
9028 (_setjmp): Likewise. Do not use BP_SYM.
9029 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
9030 "bp-asm.h".
9031 (PARMS): Do not use macros from bp-asm.h.
9032 (SIGMSK): Likewise.
9033 (setjmp): Likewise. Do not use BP_SYM.
9034 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
9035 "bp-asm.h".
9036 (PARMS): Do not use macros from bp-asm.h.
9037 (__frexp): Do not use BP_SYM.
9038 (frexp): Likewise.
9039 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
9040 "bp-asm.h".
9041 (PARMS): Do not use macros from bp-asm.h.
9042 (__frexpf): Do not use BP_SYM.
9043 (frexpf): Likewise.
9044 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
9045 "bp-asm.h".
9046 (PARMS): Do not use macros from bp-asm.h.
9047 (__frexpl): Do not use BP_SYM.
9048 (frexpl): Likewise.
9049 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
9050 "bp-asm.h".
9051 (PARMS): Do not use macros from bp-asm.h.
9052 (__remquo): Do not use BP_SYM.
9053 (remquo): Likewise.
9054 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
9055 "bp-asm.h".
9056 (PARMS): Do not use macros from bp-asm.h.
9057 (__remquof): Do not use BP_SYM.
9058 (remquof): Likewise.
9059 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
9060 "bp-asm.h".
9061 (PARMS): Do not use macros from bp-asm.h.
9062 (__remquol): Do not use BP_SYM.
9063 (remquol): Likewise.
9064 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
9065 "bp-asm.h".
9066 (PARMS): Do not use macros from bp-asm.h.
9067 (DEST): Likewise.
9068 (SRC): Likewise.
9069 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
9070 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
9071 "bp-asm.h".
9072 (PARMS): Do not use macros from bp-asm.h.
9073 (strlen): Do not use BP_SYM.
9074 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
9075 "bp-asm.h".
9076 (PARMS): Do not use macros from bp-asm.h.
9077 (S1): Likewise.
9078 (S2): Likewise.
9079 (SIZE): Likewise.
9080 (__mpn_add_n): Do not use BP_SYM.
9081 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
9082 "bp-asm.h".
9083 (PARMS): Do not use macros from bp-asm.h.
9084 (S1): Likewise.
9085 (SIZE): Likewise.
9086 (__mpn_addmul_1): Do not use BP_SYM.
9087 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
9088 weak_alias.
9089 (bzero): Likewise.
9090 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
9091 "bp-asm.h".
9092 (PARMS): Do not use macros from bp-asm.h.
9093 (S): Likewise.
9094 (SIZE): Likewise.
9095 (__mpn_lshift): Do not use BP_SYM.
9096 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
9097 "bp-asm.h".
9098 (PARMS): Do not use macros from bp-asm.h.
9099 (DEST): Likewise.
9100 (SRC): Likewise.
9101 (LEN): Likewise.
9102 (memcpy): Likewise. Do not use BP_SYM.
9103 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
9104 libc_hidden_def and weak_alias.
9105 (mempcpy): Do not use BP_SYM in weak_alias.
9106 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
9107 "bp-asm.h".
9108 (PARMS): Do not use macros from bp-asm.h.
9109 (DEST): Likewise.
9110 (LEN): Likewise.
9111 [!BZERO_P] (CHR): Likewise.
9112 (memset): Likewise. Do not use BP_SYM.
9113 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
9114 "bp-asm.h".
9115 (PARMS): Do not use macros from bp-asm.h.
9116 (S1): Likewise.
9117 (SIZE): Likewise.
9118 (__mpn_mul_1): Do not use BP_SYM.
9119 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
9120 "bp-asm.h".
9121 (PARMS): Do not use macros from bp-asm.h.
9122 (S): Likewise.
9123 (SIZE): Likewise.
9124 (__mpn_rshift): Do not use BP_SYM.
9125 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
9126 "bp-asm.h".
9127 (PARMS): Do not use macros from bp-asm.h.
9128 (STR): Likewise.
9129 (CHR): Likewise.
9130 (strchr): Likewise. Do not use BP_SYM.
9131 (index): Do not use BP_SYM in weak_alias.
9132 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
9133 "bp-asm.h".
9134 (PARMS): Do not use macros from bp-asm.h.
9135 (DEST): Likewise.
9136 (SRC): Likewise.
9137 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
9138 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
9139 "bp-asm.h".
9140 (PARMS): Do not use macros from bp-asm.h.
9141 (strlen): Do not use BP_SYM.
9142 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
9143 "bp-asm.h".
9144 (PARMS): Do not use macros from bp-asm.h.
9145 (S1): Likewise.
9146 (S2): Likewise.
9147 (SIZE): Likewise.
9148 (__mpn_sub_n): Do not use BP_SYM.
9149 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
9150 "bp-asm.h".
9151 (PARMS): Do not use macros from bp-asm.h.
9152 (S1): Likewise.
9153 (SIZE): Likewise.
9154 (__mpn_submul_1): Do not use BP_SYM.
9155 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
9156 "bp-asm.h".
9157 (PARMS): Do not use macros from bp-asm.h.
9158 (S1): Likewise.
9159 (S2): Likewise.
9160 (SIZE): Likewise.
9161 (__mpn_add_n): Do not use BP_SYM.
9162 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
9163 weak_alias.
9164 (bzero): Likewise.
9165 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
9166 "bp-asm.h".
9167 (PARMS): Do not use macros from bp-asm.h.
9168 (BLK2): Likewise.
9169 (LEN): Likewise.
9170 (memcmp): Do not use BP_SYM.
9171 (bcmp): Do not use BP_SYM in weak_alias.
9172 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
9173 "bp-asm.h".
9174 (PARMS): Do not use macros from bp-asm.h.
9175 (DEST): Likewise.
9176 (SRC): Likewise.
9177 (LEN): Likewise.
9178 (memcpy): Likewise. Do not use BP_SYM.
9179 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
9180 "bp-asm.h".
9181 (PARMS): Do not use macros from bp-asm.h.
9182 (DEST): Likewise.
9183 (SRC): Likewise.
9184 (LEN): Likewise.
9185 (memmove): Likewise. Do not use BP_SYM.
9186 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
9187 "bp-asm.h".
9188 (PARMS): Do not use macros from bp-asm.h.
9189 (DEST): Likewise.
9190 (SRC): Likewise.
9191 (LEN): Likewise.
9192 (__mempcpy): Likewise. Do not use BP_SYM.
9193 (mempcpy): Do not use BP_SYM in weak_alias.
9194 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
9195 "bp-asm.h".
9196 (PARMS): Do not use macros from bp-asm.h.
9197 (DEST): Likewise.
9198 (LEN): Likewise.
9199 [!BZERO_P] (CHR): Likewise.
9200 (memset): Likewise. Do not use BP_SYM.
9201 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
9202 "bp-asm.h".
9203 (PARMS): Do not use macros from bp-asm.h.
9204 (STR2): Likewise.
9205 (strcmp): Do not use BP_SYM.
9206 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
9207 "bp-asm.h".
9208 (PARMS): Do not use macros from bp-asm.h.
9209 (STR): Likewise.
9210 (DELIM): Likewise.
9211 [USE_AS_STRTOK_R] (SAVE): Likewise.
9212 (FUNCTION): Likewise. Do not use BP_SYM.
9213 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
9214 aliases.
9215 (strtok_r): Likewise.
9216 (__GI___strtok_r): Likewise.
9217 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9218 (PARMS): Do not use macros from bp-asm.h.
9219 (S): Likewise.
9220 (SIZE): Likewise.
9221 (__mpn_lshift): Do not use BP_SYM.
9222 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9223 (PARMS): Do not use macros from bp-asm.h.
9224 (STR): Likewise.
9225 (CHR): Likewise.
9226 (__memchr): Do not use BP_SYM.
9227 (memchr): Do not use BP_SYM in weak_alias.
9228 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9229 (PARMS): Do not use macros from bp-asm.h.
9230 (BLK2): Likewise.
9231 (LEN): Likewise.
9232 (memcmp): Do not use BP_SYM.
9233 (bcmp): Do not use BP_SYM in weak_alias.
9234 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
9235 (PARMS): Do not use macros from bp-asm.h.
9236 (S1): Likewise.
9237 (SIZE): Likewise.
9238 (__mpn_mul_1): Do not use BP_SYM.
9239 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
9240 "bp-asm.h".
9241 (PARMS): Do not use macros from bp-asm.h.
9242 (STR): Likewise.
9243 (CHR): Likewise.
9244 (__rawmemchr): Do not use BP_SYM.
9245 (rawmemchr): Do not use BP_SYM in weak_alias.
9246 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9247 (PARMS): Do not use macros from bp-asm.h.
9248 (S): Likewise.
9249 (SIZE): Likewise.
9250 (__mpn_rshift): Do not use BP_SYM.
9251 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9252 (PARMS): Do not use macros from bp-asm.h.
9253 (SIGMSK): Likewise.
9254 (__sigsetjmp): Likewise. Do not use BP_SYM.
9255 * sysdeps/i386/start.S: Do not include "bp-sym.h".
9256 (_start): Do not use BP_SYM.
9257 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
9258 (PARMS): Do not use macros from bp-asm.h.
9259 (DEST): Likewise.
9260 (SRC): Likewise.
9261 (__stpcpy): Likewise. Do not use BP_SYM.
9262 (stpcpy): Do not use BP_SYM in weak_alias.
9263 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
9264 "bp-asm.h".
9265 (PARMS): Do not use macros from bp-asm.h.
9266 (DEST): Likewise.
9267 (SRC): Likewise.
9268 (LEN): Likewise.
9269 (__stpncpy): Likewise. Do not use BP_SYM.
9270 (stpncpy): Do not use BP_SYM in weak_alias.
9271 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9272 (PARMS): Do not use macros from bp-asm.h.
9273 (STR): Likewise.
9274 (CHR): Likewise.
9275 (strchr): Likewise. Do not use BP_SYM.
9276 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
9277 "bp-asm.h".
9278 (PARMS): Do not use macros from bp-asm.h.
9279 (STR): Likewise.
9280 (CHR): Likewise.
9281 (__strchrnul): Likewise. Do not use BP_SYM.
9282 (strchrnul): Do not use BP_SYM in weak_alias.
9283 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
9284 "bp-asm.h".
9285 (PARMS): Do not use macros from bp-asm.h.
9286 (STOP): Likewise.
9287 (strcspn): Do not use BP_SYM.
9288 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
9289 "bp-asm.h".
9290 (PARMS): Do not use macros from bp-asm.h.
9291 (STR): Likewise.
9292 (STOP): Likewise.
9293 (strpbrk): Likewise. Do not use BP_SYM.
9294 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
9295 "bp-asm.h".
9296 (PARMS): Do not use macros from bp-asm.h.
9297 (STR): Likewise.
9298 (CHR): Likewise.
9299 (strrchr): Likewise. Do not use BP_SYM.
9300 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
9301 (PARMS): Do not use macros from bp-asm.h.
9302 (SKIP): Likewise.
9303 (strspn): Do not use BP_SYM.
9304 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
9305 (PARMS): Do not use macros from bp-asm.h.
9306 (STR): Likewise.
9307 (DELIM): Likewise.
9308 (SAVE): Likewise.
9309 (FUNCTION): Likewise. Do not use BP_SYM.
9310 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
9311 aliases.
9312 (strtok_r): Likewise.
9313 (__GI___strtok_r): Likewise.
9314 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9315 (PARMS): Do not use macros from bp-asm.h.
9316 (S1): Likewise.
9317 (S2): Likewise.
9318 (SIZE): Likewise.
9319 (__mpn_sub_n): Do not use BP_SYM.
9320 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
9321 "bp-asm.h".
9322 (PARMS): Do not use macros from bp-asm.h.
9323 (S1): Likewise.
9324 (SIZE): Likewise.
9325 (__mpn_submul_1): Do not use BP_SYM.
9326 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
9327 <bp-sym.h>.
9328 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
9329 and <bp-asm.h>.
9330 (PARMS): Do not use macros from bp-asm.h.
9331 (FLAGS): Likewise.
9332 (PTID): Likewise.
9333 (TLS): Likewise.
9334 (CTID): Likewise.
9335 (__clone): Do not use BP_SYM.
9336 (clone): Do not use BP_SYM in weak_alias.
9337 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
9338 and <bp-asm.h>.
9339 (PARMS): Do not use macros from bp-asm.h.
9340 (LEN): Likewise.
9341 (__mmap64): Do not use BP_SYM.
9342 (mmap64): Do not use BP_SYM in weak_alias.
9343 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9344 <bp-sym.h> and <bp-asm.h>.
9345 (PARMS): Do not use macros from bp-asm.h.
9346 (__posix_fadvise64_l64): Do not use BP_SYM.
9347 * sysdeps/unix/sysv/linux/i386/semtimedop.S
9348 (PARMS): Do not use macros from bp-asm.h.
9349 (NSOPS): Likewise.
9350 (semtimedop): Do not use BP_SYM.
9351 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
9352 and <bp-asm.h>.
9353
582a3cff
AM
93542013-02-21 Allan McRae <allan@archlinux.org>
9355
9356 * manual/message.texi (Charset conversion in gettext):
9357 Move @end statement to beginning of line.
9358
bab8a695
SP
93592013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9360
80945231
SP
9361 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
9362 static.
9363 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9364 Likewise.
9365
bab8a695
SP
9366 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
9367 (denorm): Likewise.
9368 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
9369 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
9370
e21d7aa7
AK
93712013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9372
9373 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
9374 tail-call to the resolved function if pltexit isn't needed.
9375
4c7a4263
SP
93762013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9377
9378 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
9379 or Y being zero as being unlikely.
9380 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9381 Likewise.
9382
41f49342
CD
93832013-02-20 Carlos O'Donell <carlos@redhat.com>
9384
9385 * manual/nss.texi (System Databases and Name Service Switch):
9386 Remove frobnicate @pxref.
9387
50022a93
TS
93882013-02-20 Thomas Schwinge <thomas@codesourcery.com>
9389
9390 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9391 __attribute__ ((unused)) to __attribute__ ((__unused__)).
9392
08cbd996
PM
93932013-02-20 Petr Machata <pmachata@redhat.com>
9394
9395 * elf/elf.h (R_ARM_TARGET1): New macro.
9396 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
9397 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
9398 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
9399 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
9400 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
9401 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
9402 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
9403 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
9404 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
9405 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
9406 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
9407 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
9408 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
9409 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
9410 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
9411 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
9412 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
9413 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
9414 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
9415 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
9416 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
9417 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
9418 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
9419 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
9420 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
9421 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
9422 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
9423 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
9424 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
9425 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
9426 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
9427 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
9428 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
9429 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
9430 (R_ARM_THM_GOT_BREL12): Likewise.
9431 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
9432 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
9433 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
9434 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
9435 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
9436 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
9437 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
9438 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
9439 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
9440
c7b275d6
TS
94412013-02-20 Thomas Schwinge <thomas@codesourcery.com>
9442
9443 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9444 __attribute_used__ to __attribute__ ((unused)).
9445
20cd7fb3
SP
94462013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9447
9448 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
9449 powerpc mpa.c.
9450 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
9451 comment formatting.
9452 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
9453
92945b52
JM
94542013-02-19 Joseph Myers <joseph@codesourcery.com>
9455
9456 [BZ #13550]
9457 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
9458 Remove macro.
9459 (ENTER): Remove both macro definitions.
9460 (LEAVE): Likewise.
9461 (CHECK_BOUNDS_LOW): Likewise.
9462 (CHECK_BOUNDS_HIGH): Likewise.
9463 (CHECK_BOUNDS_BOTH): Likewise.
9464 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
9465 (RETURN_BOUNDED_POINTER): Likewise.
9466 (RETURN_NULL_BOUNDED_POINTER): Likewise.
9467 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
9468 (POP_ERRNO_LOCATION_RETURN): Likewise.
9469 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
9470 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9471 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
9472 macros.
9473 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9474 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
9475 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
9476 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
9477 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
9478 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
9479 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
9480 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
9481 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
9482 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
9483 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
9484 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
9485 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9486 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
9487 removed macros.
9488 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9489 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
9490 macros.
9491 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9492 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
9493 * sysdeps/i386/i586/memset.S (memset): Likewise.
9494 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
9495 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9496 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
9497 macros.
9498 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9499 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
9500 Change uses of L(2) to L(out).
9501 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
9502 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
9503 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
9504 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9505 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
9506 removed macros.
9507 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9508 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
9509 macros.
9510 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9511 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
9512 (RETURN): Do not use macro LEAVE.
9513 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
9514 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
9515 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
9516 * sysdeps/i386/i686/memset.S (memset): Likewise.
9517 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
9518 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
9519 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9520 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
9521 Likewise.
9522 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9523 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
9524 L(1_2) and L(1_3) into L(1).
9525 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9526 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
9527 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9528 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
9529 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9530 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
9531 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
9532 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9533 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
9534 macros.
9535 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
9536 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9537 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
9538 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
9539 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
9540 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9541 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
9542 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
9543 * sysdeps/i386/strcspn.S (strcspn): Likewise.
9544 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
9545 * sysdeps/i386/strrchr.S (strrchr): Likewise.
9546 * sysdeps/i386/strspn.S (strspn): Likewise.
9547 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
9548 conditional code.
9549 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9550 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
9551 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9552 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
9553 L(1_3) into L(1_1).
9554 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
9555 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9556 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
9557 macros.
9558 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9559
2389741a
JJ
95602013-02-19 Jakub Jelinek <jakub@redhat.com>
9561
9562 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
9563 macro.
9564
2016b3cd
SP
95652013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9566
e4f22324
SP
9567 * math/atest-exp.c (exp_mpn): Remove ROUND.
9568 * math/atest-exp2.c (exp_mpn): Likewise.
9569 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
9570
2016b3cd
SP
9571 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
9572 * stdlib/tst-tls-atexit-lib.c: Likewise.
9573 * stdlib/tst-tls-atexit.c: Likewise.
9574
4be9b544
MF
95752013-02-18 Mike Frysinger <vapier@gentoo.org>
9576
9577 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
9578 and __attribute_alloc_size__.
9579
2f62b9ee
MF
95802013-02-18 Mike Frysinger <vapier@gentoo.org>
9581
9582 * include/programs/xmalloc.h: Change __attribute_alloc_size to
9583 __attribute_alloc_size__.
9584 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
9585 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
9586
6ff444c4
MF
95872013-02-18 Mike Frysinger <vapier@gentoo.org>
9588
9589 * include/programs/xmalloc.h: New file.
9590 * catgets/gencat.c: Include it.
9591 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
9592 * elf/pldd.c: Likewise.
9593 * iconv/iconv_charmap.c: Likewise.
9594 * iconv/iconvconfig.c: Likewise.
9595 * iconv/strtab.c: Likewise.
9596 * locale/programs/locale.c: Likewise.
9597 * locale/programs/localedef.h: Likewise.
9598 * locale/programs/simple-hash.c: Likewise.
9599 * nscd/nscd.h: Likewise.
9600 * nss/makedb.c: Likewise.
9601 * sysdeps/generic/ldconfig.h: Likewise.
9602
be179c8a
SP
96032013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9604
ba384f6e
SP
9605 * Versions.def: Add GLIBC_2.18.
9606 * include/link.h (struct link_map): New member l_tls_dtor_count.
9607 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
9608 (__call_tls_dtors): Likewise.
9609 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
9610 __cxa_thread_atexit_impl.
9611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9612 Likewise.
9613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9614 Likewise.
9615 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9616 Likewise.
9617 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9618 Likewise.
9619 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9620 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
9621 Likewise.
9622 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
9623 Likewise.
9624 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9625 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9626 Likewise.
9627 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
9628 (tests): Add test case tst-tls-atexit.
9629 (modules-names): Add shared library for tst-tls-atexit.
85891aca 9630 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
9631 (GLIBC_PRIVATE): Add __call_tls_dtors.
9632 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
9633 for libstdc++.
9634 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
9635 * stdlib/tst-tls-atexit.c: New test case.
9636 * stdlib/tst-tls-atexit-lib.c: New test case.
9637
ffaa74cf 9638 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 9639
be179c8a
SP
9640 * elf/Versions (ld): Add _dl_find_dso_for_object.
9641 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
9642 * elf/dl-open.c (_dl_find_dso_for_object): New function.
9643 (dl_open_worker): Use _dl_find_dso_for_object.
9644 * elf/dl-sym.c (do_sym): Likewise.
9645 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
9646
f78b5caa
AK
96472013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9648
9649 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
9650 Syntactic changes only.
9651 (_dl_runtime_profile): Do a tail-call to the resolved function.
9652
29691210
JM
96532013-02-17 Joseph Myers <joseph@codesourcery.com>
9654
9655 [BZ #13550]
9656 * sysdeps/x86_64/bp-asm.h: Remove file.
9657 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
9658 <bp-sym.h> and <bp-asm.h>.
9659 (__clone): Do not use BP_SYM.
9660 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
9661 <bp-sym.h> and <bp-asm.h>.
9662 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9663 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
9664 "bp-asm.h".
9665 (_setjmp): Do not use BP_SYM.
9666 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
9667 "bp-asm.h".
9668 (setjmp): Do not use BP_SYM.
9669 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
9670 libc_hidden_def.
9671 (mempcpy): Do not use BP_SYM in weak_alias.
9672 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
9673 "bp-asm.h".
9674 (strchr): Do not use BP_SYM.
9675 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
9676 "bp-asm.h".
9677 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
9678 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
9679 (_start): Do not use BP_SYM.
9680 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
9681 "bp-asm.h".
9682 (strcat): Do not use BP_SYM.
9683 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
9684 "bp-asm.h".
9685 (STRCMP): Do not use BP_SYM.
9686 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
9687 "bp-asm.h".
9688 (STRCPY): Do not use BP_SYM.
9689 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
9690 "bp-asm.h".
9691 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
9692 "bp-asm.h".
9693 (FUNCTION): Do not use BP_SYM.
9694 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
9695 weak_alias.
9696 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
9697
f238fd19
AJ
96982013-02-17 Andreas Jaeger <aj@suse.de>
9699
9700 * time/Versions: Sort entries.
9701 * string/Versions: Likewise.
9702 * resolv/Versions: Likewise.
9703 * posix/Versions: Likewise.
9704 * iconv/Versions: Likewise.
9705 * elf/Versions: Likewise.
9706 * wcsmbs/Versions: Likewise.
9707
bd07f23c 97082013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 9709
22af19f9
SP
9710 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
9711 loop termination condition.
9712
4709fe76
SP
9713 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
9714 variable to calculate EZ.
9715 (__sqr): Likewise.
2d0e0f29
SP
9716
9717 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
9718 the lower precision input.
9719
daaa7713
JM
97202013-02-15 Joseph Myers <joseph@codesourcery.com>
9721
9722 [BZ #13550]
9723 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
9724 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
9725 (run-via-rtld-prefix): Do not handle %-bp tests.
9726 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
9727 (all-object-suffixes): Remove .ob.
9728 (bppfx): Remove variable.
9729 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
9730 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
9731 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
9732 [$(build-bounded) = yes] (libtype.ob): Likewise.
9733 * Makerules (elide-routines.ob): Remove variable.
9734 (do-tests-clean): Do not handle *-bp.out.
9735 (common-mostlyclean): Do not handle *-bp and *-bp.out.
9736 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
9737 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
9738 (tests): Do not include $(tests-bp.out).
9739 (xtests): Do not include $(xtests-bp.out).
9740 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
9741 [$(build-bounded) = yes] ($(addprefix
9742 $(objpfx),$(binaries-bounded))): Remove rule.
9743 ($(objpfx)%-bp.out): Remove rule.
9744 * config.make.in (build-bounded): Remove variable.
9745 * crypt/Makefile [$(build-bounded) = yes]
9746 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
9747 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
9748 append to variable.
9749 [$(build-bounded) = yes] (install-lib): Likewise.
9750 [$(build-bounded) = yes] (generated): Likewise.
9751 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
9752 Remove rule.
9753 * intl/Makefile [$(build-bounded) = yes]
9754 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
9755 * math/Makefile [$(build-bounded) = yes]
9756 ($(tests:%=$(objpfx)%-bp): Likewise.
9757 * misc/Makefile [$(build-bounded) = yes]
9758 ($(objpfx)tst-tsearch-bp): Likewise.
9759 * nptl/Makeconfig (bounded-thread-library): Remove variable.
9760 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
9761 Remove dependency.
9762 * string/Makefile (o-objects.ob): Remove variable.
9763 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
9764 (CFLAGS-.ob): Remove variable.
9765 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
9766 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
9767 both definitions of variable.
9768 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
9769 (ASFLAGS-.ob): Remove variable.
9770
e97ed6dd
JM
97712013-02-14 Joseph Myers <joseph@codesourcery.com>
9772
2bdd4ca6
JM
9773 [BZ #13550]
9774 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
9775 Remove __BOUNDED_POINTERS__ from condition.
9776 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
9777 * string/bits/string2.h [!__NO_STRING_INLINES &&
9778 !__BOUNDED_POINTERS__]: Likewise.
9779 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
9780 Likewise.
9781 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
9782 Remove conditional code.
9783 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
9784 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
9785 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
9786 condition.
9787
e97ed6dd
JM
9788 [BZ #13550]
9789 * csu/libc-start.c: Do not include <bp-sym.h>.
9790 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
9791 * elf/dl-open.c: Do not include <bp-sym.h>.
9792 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
9793 * math/fegetenv.c: Do not include <bp-sym.h>.
9794 (fegetenv): Do not use BP_SYM in versioned symbols.
9795 * nptl/sysdeps/pthread/bits/libc-lockP.h
9796 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
9797 <bp-sym.h>.
9798 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9799 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
9800 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9801 (__pthread_mutex_destroy): Likewise.
9802 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9803 (__pthread_mutex_lock): Likewise.
9804 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9805 (__pthread_mutex_trylock): Likewise.
9806 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9807 (__pthread_mutex_unlock): Likewise.
9808 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9809 (__pthread_mutexattr_init): Likewise.
9810 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9811 (__pthread_mutexattr_destroy): Likewise.
9812 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9813 (__pthread_mutexattr_settype): Likewise.
9814 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9815 (__pthread_rwlock_init): Likewise.
9816 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9817 (__pthread_rwlock_destroy): Likewise.
9818 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9819 (__pthread_rwlock_rdlock): Likewise.
9820 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9821 (__pthread_rwlock_tryrdlock): Likewise.
9822 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9823 (__pthread_rwlock_wrlock): Likewise.
9824 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9825 (__pthread_rwlock_trywrlock): Likewise.
9826 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9827 (__pthread_rwlock_unlock): Likewise.
9828 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9829 (__pthread_key_create): Likewise.
9830 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9831 (__pthread_setspecific): Likewise.
9832 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9833 (__pthread_getspecific): Likewise.
9834 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
9835 Likewise.
9836 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9837 (_pthread_cleanup_push_defer): Likewise.
9838 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9839 (_pthread_cleanup_pop_restore): Likewise.
9840 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9841 (pthread_setcancelstate): Likewise.
9842 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
9843 <bp-sym.h>.
9844 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
9845 (memchr): Do not use BP_SYM in weak_alias.
9846 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
9847 (fegetenv): Do not use BP_SYM in versioned symbols.
9848 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
9849 (fesetenv): Do not use BP_SYM in versioned symbols.
9850 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9851 (feupdateenv): Do not use BP_SYM in versioned symbols.
9852 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9853 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9854 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
9855 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
9856 (open64): Do not use BP_SYM in weak_alias.
9857 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
9858 (fegetenv): Do not use BP_SYM in versioned symbols.
9859 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
9860 (fesetenv): Do not use BP_SYM in versioned symbols.
9861 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9862 (feupdateenv): Do not use BP_SYM in versioned symbols.
9863 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
9864 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
9865 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
9866 (feraiseexcept): Do not use BP_SYM in versioned symbols.
9867 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9868 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9869 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
9870 <bp-sym.h>.
9871 (__libc_start_main): Do not use BP_SYM.
9872
d6752ccd
SP
98732013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9874
cb57ce60
SP
9875 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
9876 redundant return line.
9877 (norm): Likewise.
9878 (denorm): Likewise.
9879 (dbl_mp): Likewise.
9880 (sub_magnitudes): Likewise.
9881 (__add): Likewise.
9882 (__sub): Likewise.
9883 (__mul): Likewise.
9884 (__inv): Likewise.
9885 (__dvd): Likewise.
9886 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
9887 (norm): Likewise.
9888 (denorm): Likewise.
9889 (dbl_mp): Likewise.
9890 (sub_magnitudes): Likewise.
9891 (__add): Likewise.
9892 (__sub): Likewise.
9893 (__mul): Likewise.
9894 (__inv): Likewise.
9895 (__dvd): Likewise.
9896
f414520d
SP
9897 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
9898 instead of __mul.
9899 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9900 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
9901 (cc32): Likewise.
9902
d6752ccd
SP
9903 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
9904 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
9905 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
9906 of __mul for squares.
9907 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
9908 function
9909 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
9910 Likewise.
9911 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
9912 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9913
70d9946a
JM
99142013-02-13 Joseph Myers <joseph@codesourcery.com>
9915
9916 [BZ #13550]
9917 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
9918 code.
9919 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
9920 prototype or function definition. Rename ubp_* variables and
9921 parameters. Remove argv definitions conditional on
9922 [__BOUNDED_POINTERS__].
9923 * debug/backtrace.c (__backtrace): Do not use __unbounded.
9924 * elf/dl-runtime.c (_dl_fixup): Likewise.
9925 * include/set-hooks.h (RUN_HOOK): Likewise.
9926 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
9927 definition.
9928 * string/strcpy.c (strcpy): Do not use __unbounded.
9929 * sysdeps/generic/frame.h (struct layout): Likewise.
9930 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
9931 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
9932 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
9933 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
9934 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
9935 (__backtrace): Likewise.
9936 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
9937 use __ptrvalue.
9938 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
9939 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9940 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
9941 Likewise.
9942 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
9943 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
9944 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9945 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9946 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
9947 Do not use __unbounded.
9948 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
9949 Rename __unboundedrlimits parameter to rlimits in prototype.
9950 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
9951 Do not use __unbounded.
9952 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
9953 not use __ptrvalue.
9954 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9955 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
9956 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9957 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
9958 __ptrvalue or __unbounded.
9959 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
9960 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
9961 use __unbounded.
9962 (__new_msgctl): Do not use __ptrvalue.
9963 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
9964 __unbounded.
9965 (__libc_msgrcv): Do not use __ptrvalue.
9966 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
9967 startup_info): Do not use __unbounded.
9968 (__libc_start_main): Likewise. Rename ubp_* variables and
9969 parameters. Remove argv definitions conditional on
9970 [__BOUNDED_POINTERS__].
9971 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
9972 __ptrvalue.
9973 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
9974 use __unbounded.
9975 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
9976 or __ptrvalue.
9977 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
9978 use __unbounded.
9979 (__new_shmctl): Do not use __ptrvalue.
9980 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
9981 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
9982 Likewise.
9983 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
9984 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
9985 (__libc_sigaction): Likewise.
9986 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
9987 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
9988 Likewise.
9989 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9990
cc7834d6
OB
99912013-02-13 Ondřej Bílka <neleai@seznam.cz>
9992
ffb1ec7b 9993 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
9994
9995 * string/mempcpy.c: Implement by calling memcpy.
9996
bdf02814
SP
99972013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9998
c2af38aa
SP
9999 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
10000
4e92d59e
SP
10001 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
10002 evaluation.
10003
909279a5
SP
10004 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
10005 values in the mantissa.
10006
bdf02814
SP
10007 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
10008 minimize writes to Z.
10009 (sub_magnitudes): Simplify code a bit.
10010
cd525923
RM
100112013-02-12 Roland McGrath <roland@hack.frob.com>
10012
10013 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
10014 from the message. The linker prefixes all warnings with that already.
10015
7e2f0d2d
AS
100162013-02-12 Andreas Schwab <schwab@suse.de>
10017
a445af0b
AS
10018 [BZ #15078]
10019 * posix/regexec.c (extend_buffers): Add parameter min_len.
10020 (check_matching): Pass minimum needed length.
10021 (clean_state_log_if_needed): Likewise.
10022 (get_subexp): Likewise.
10023 * posix/Makefile (tests): Add bug-regex34.
10024 (bug-regex34-ENV): Define.
10025 * posix/bug-regex34.c: New file.
10026
7e2f0d2d
AS
10027 [BZ #11561]
10028 * posix/regcomp.c (parse_bracket_exp): When looking up collating
10029 elements compare against the byte sequence of it, not its name.
10030 * posix/Makefile (tests): Add bug-regex35.
10031 (bug-regex35-ENV): Define.
10032 * posix/bug-regex35.c: New file.
10033
a175b684
TV
100342013-02-11 Tom de Vries <tom@codesourcery.com>
10035
10036 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
10037 comment.
10038 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
10039 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
10040 (CHECK_EOL): Add undef.
10041
310998fe 100422013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
10043
10044 * bits/stdlib-bsearch.h: New file.
10045 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 10046 * stdlib/stdlib.h: Likewise.
41eda41d 10047
8ded91fb
RM
100482013-02-11 Roland McGrath <roland@hack.frob.com>
10049
10050 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
10051 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
10052 declaration.
10053 * manual/search.texi (Array Search Function): Add missing const in
10054 lfind prototype.
10055 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
10056 declaration to use rlim_t.
10057 (Basic Scheduling Functions): Remove erroneous const from
10058 sched_getparam prototype. Remove erroneous * from
10059 sched_get_priority_max and sched_get_priority_min prototypes.
10060 (Resource Usage): Fix summary @comment on vtimes to refer to
10061 sys/vtimes.h rather than vtimes.h.
10062 Add missing *s in vtimes prototype.
10063 (Limits on Resources): Fix ulimit prototype to return long int.
10064 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
10065 prototypes to use long int rather than double.
10066 (BSD Random): Fix initstate and setstate to use char *, not void *.
10067 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
10068 prototype to make second argument 'struct aiocb64 *const[]'.
10069 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
10070 (Status of AIO Operations): Remove erroneous const in aio_return and
10071 aio_return64 prototypes.
10072 (Synchronizing I/O): Fix sync prototype to return void.
10073 * manual/startup.texi (Suboptions): Remove an erroneous const in
10074 getsubopt prototype.
10075 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
10076 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
10077 use size_t rather than int.
10078 (Scanning All Users): Likewise for getpwent_r.
10079 (Setting Groups): Add missing const to setgroups prototype.
10080 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
10081 * manual/socket.texi (Host Names): Fix gethostbyaddr and
10082 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
10083 'const void *' rather than 'const char *'.
10084 (Host Address Functions): Likewise for inet_ntop.
10085 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
10086 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
10087 ssize_t for return value.
10088 (Sending Data): Likewise for send, sendto, sendmsg.
10089 (Socket Option Functions): Add a missing const in setsockopt prototype.
10090 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
10091 use wchar_t for the argument.
10092 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
10093 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
10094 take no arguments.
10095 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
10096 double/float/long double for second argument.
10097 Fix return types of significand, significandf, significandl.
10098 * manual/filesys.texi (Setting Permissions): Use mode_t for second
10099 argument in fchmod prototype.
10100 (File Owner): Use uid_t and gid_t in fchown prototype.
10101 (File Times): Add const to utimes, futimes, and lutimes prototypes.
10102 (Making Special Files): Use mode_t and dev_t in mknod prototype.
10103 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
10104 use 'const struct dirent **' as argument types to CMP function pointer
10105 argument.
10106 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
10107 (File Times): Fix summary magic @comment for struct utimbuf and utime
10108 to refer to utime.h, not time.h.
10109 * manual/string.texi (Argz Functions): Add missing const in
10110 argz_extract and argz_next prototypes.
10111 (Finding Tokens in a String): Likewise for basename.
10112 (String/Array Comparison): Fix typo in wcscasecmp prototype.
10113 (Copying and Concatenation): Fix typo in wmemmove prototype.
10114 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
10115 (Signal Stack): Remove erroneous const in sigstack prototype.
10116 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
10117 prototype.
10118 (Simple Calendar Time): Likewise for stime.
10119 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
10120 prototype.
10121 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
10122 say sys/sysctl.h instead.
10123 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
10124 and vsyslog prototypes.
10125
fe77fe6d
TV
101262013-02-11 Tom de Vries <tom@codesourcery.com>
10127
10128 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
10129 Remove.
10130
3a09b620
RM
101312013-02-11 Roland McGrath <roland@hack.frob.com>
10132
10133 * misc/sys/mman.h: Fix typo in mremap comment.
10134
550a0b89
RM
101352013-02-08 Roland McGrath <roland@hack.frob.com>
10136
10137 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
10138 the '\0' terminator.
10139
a2da1673
JM
101402013-02-08 Joseph Myers <joseph@codesourcery.com>
10141
10142 [BZ #13550]
10143 * debug/segfault.c: Don't include <bp-checks.h>.
10144 * sysdeps/generic/bp-checks.h: Remove file.
10145 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
10146 (__GETDENTS): Don't use CHECK_N.
10147 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
10148 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10149 (__getgroups): Don't use CHECK_N.
10150 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
10151 (setgroups): Don't use CHECK_N.
10152 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
10153 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
10154 (__libc_msgrcv): Don't use CHECK_N.
10155 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
10156 (__libc_msgsnd): Don't use CHECK_N.
10157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
10158 <bp-checks.h>.
10159 (__libc_pread): Don't use CHECK_N.
10160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
10161 include <bp-checks.h>.
10162 (__libc_pread64): Don't use CHECK_N.
10163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
10164 include <bp-checks.h>.
10165 (__libc_pwrite): Don't use CHECK_N.
10166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
10167 include <bp-checks.h>.
10168 (__libc_pwrite64): Don't use CHECK_N.
10169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
10170 <bp-checks.h>.
10171 (__libc_pread): Don't use CHECK_N.
10172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
10173 include <bp-checks.h>.
10174 (__libc_pread64): Don't use CHECK_N.
10175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
10176 include <bp-checks.h>.
10177 (__libc_pwrite): Don't use CHECK_N.
10178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
10179 include <bp-checks.h>.
10180 (__libc_pwrite64): Don't use CHECK_N.
10181 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
10182 (do_pread): Don't use CHECK_N.
10183 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
10184 (do_pread64): Don't use CHECK_N.
10185 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
10186 (do_pwrite): Don't use CHECK_N.
10187 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
10188 (do_pwrite64): Don't use CHECK_N.
10189 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
10190 (__libc_readv): Don't use CHECK_N.
10191 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
10192 (semop): Don't use CHECK_N.
10193 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
10194 <bp-checks.h>.
10195 (semtimedop): Don't use CHECK_N.
10196 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
10197 (__libc_pread): Don't use CHECK_N.
10198 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
10199 <bp-checks.h>.
10200 (__libc_pread64): Don't use CHECK_N.
10201 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
10202 <bp-checks.h>.
10203 (__libc_pwrite): Don't use CHECK_N.
10204 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
10205 <bp-checks.h>.
10206 (__libc_pwrite64): Don't use CHECK_N.
10207 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
10208 <bp-checks.h>.
10209 (__libc_msgrcv): Don't use CHECK_N.
10210 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
10211 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
10212 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
10213 (__libc_writev): Don't use CHECK_N.
10214
b84660a8
RM
102152013-02-08 Roland McGrath <roland@hack.frob.com>
10216
7f3e75f8
RM
10217 * string/strcpy.c: Removed unused variable.
10218
b84660a8
RM
10219 * Makeconfig (+sysdep-includes): Define with := rather than =.
10220 Use an existing include/ subdir of each sysdeps dir before it.
10221
471514d3
CD
102222013-02-08 Carlos O'Donell <carlos@redhat.com>
10223
10224 * nscd/connection.c (register_traced_file): Comment function.
10225 [HAVE_INOTIFY] (union __inev): Define.
10226 [HAVE_INOTIFY] (inotify_check_files): New function.
10227 [HAVE_INOTIFY] (clear_db_cache): Likewise.
10228 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
10229 clear_db_cache.
10230 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
10231
b2d3c3be
CD
102322013-02-08 Carlos O'Donell <carlos@redhat.com>
10233
10234 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
10235 loaded if not already and that a failure is permanent.
10236
b39949d2
CD
102372013-02-08 Carlos O'Donell <carlos@redhat.com>
10238
ddacd1db 10239 [BZ #15006]
b39949d2
CD
10240 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
10241 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
10242
b2c9eff4
JM
102432013-02-08 Joseph Myers <joseph@codesourcery.com>
10244
f3aae3f3
JM
10245 [BZ #13550]
10246 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
10247 (CHECK_1_NULL_OK): Likewise.
10248 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
10249 (__fxstat): Do not use CHECK_1.
10250 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
10251 <bp-checks.h>.
10252 (___fxstat64): Do not use CHECK_1.
10253 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10254 <bp-checks.h>.
10255 (__fxstatat): Do not use CHECK_1.
10256 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10257 <bp-checks.h>.
10258 (__fxstatat64): Do not use CHECK_1.
10259 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
10260 <bp-checks.h>.
10261 (__fxstat): Do not use CHECK_1.
10262 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10263 <bp-checks.h>.
10264 (__fxstatat): Do not use CHECK_1.
10265 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10266 <bp-checks.h>.
10267 (__getresgid): Do not use CHECK_1.
10268 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10269 <bp-checks.h>.
10270 (__getresuid): Do not use CHECK_1.
10271 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
10272 <bp-checks.h>.
10273 (__lxstat): Do not use CHECK_1.
10274 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10275 <bp-checks.h>.
10276 (__old_msgctl): Do not use CHECK_1.
10277 (__new_msgctl): Likewise.
10278 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
10279 <bp-checks.h>.
10280 (__new_setrlimit): Do not use CHECK_1.
10281 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10282 <bp-checks.h>.
10283 (__old_shmctl): Do not use CHECK_1.
10284 (__new_shmctl): Likewise.
10285 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
10286 <bp-checks.h>.
10287 (__xstat): Do not use CHECK_1.
10288 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
10289 (__lxstat): Do not use CHECK_1.
10290 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
10291 <bp-checks.h>.
10292 (___lxstat64): Do not use CHECK_1.
10293 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
10294 (__old_msgctl): Do not use CHECK_1.
10295 (__new_msgctl): Likewise.
10296 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
10297 <bp-checks.h>.
10298 (__gettimeofday): Do not use CHECK_1.
10299 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
10300 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
10301 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
10302 <bp-checks.h>.
10303 (__gettimeofday): Do not use CHECK_1.
10304 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
10305 (__old_shmctl): Do not use CHECK_1_NULL_OK.
10306 (__new_shmctl): Do not use CHECK_1.
10307 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
10308 <bp-checks.h>.
10309 (do_sigtimedwait): Do not use CHECK_1.
10310 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
10311 <bp-checks.h>.
10312 (do_sigwaitinfo): Do not use CHECK_1.
10313 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
10314 <bp-checks.h>.
10315 (msgctl): Do not use CHECK_1.
10316 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
10317 <bp-checks.h>.
10318 (shmctl): Do not use CHECK_1.
10319 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
10320 (ustat): Do not use CHECK_1.
10321 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
10322 <bp-checks.h>.
10323 (__fxstat): Do not use CHECK_1.
10324 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10325 <bp-checks.h>.
10326 (__fxstatat): Do not use CHECK_1.
10327 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
10328 <bp-checks.h>.
10329 (__lxstat): Do not use CHECK_1.
10330 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
10331 <bp-checks.h>.
10332 (__xstat): Do not use CHECK_1.
10333 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
10334 (__xstat): Do not use CHECK_1.
10335 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
10336 (___xstat64): Do not use CHECK_1.
10337
b2c9eff4
JM
10338 [BZ #13550]
10339 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
10340 definitions.
10341 (CHECK_BOUNDS_HIGH): Likewise.
10342 * string/strcpy.c: Do not include <bp-checks.h>.
10343 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
10344
f1d70dad
RM
103452013-02-07 Roland McGrath <roland@hack.frob.com>
10346
10347 * nscd/nscd-client.h (__nscd_drop_map_ref):
10348 Add __attribute__ ((unused)).
10349 * nis/nss-nisplus.h (niserr2nss): Likewise.
10350
10351 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
10352 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
10353
10354 * csu/libc-tls.c (init_static_tls, init_slotinfo):
10355 Remove inline keyword.
10356 * include/rounding-mode.h (round_away): Likewise.
10357 * libio/wfileops.c (adjust_wide_data): Likewise.
10358 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
10359 (__m128i_strloadu_tolower): Likewise.
10360 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
10361 (__m128i_strloadu_tolower): Likewise.
10362 * time/mktime.c (ydhms_diff): Likewise.
10363 * locale/elem-hash.h (elem_hash): Likewise.
10364 * locale/setlocale.c (setdata): Likewise.
10365 * posix/regex_internal.h (re_string_char_size_at): Likewise.
10366 (re_string_wchar_at): Likewise.
10367 (bitset_not, bitset_merge, bitset_mask): Likewise.
10368 [!(__GNUC__ > 3)] (inline): Remove macro.
10369 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
10370 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
10371 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
10372 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
10373 * string/memcmp.c (memcmp_bytes): Likewise.
10374 * locale/programs/locarchive.c (compute_hashval): Likewise.
10375 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
10376 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
10377 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
10378 * nss/getent.c (print_rpc, print_protocols): Likewise.
10379 (print_passwd, print_group, print_aliases): Likewise.
10380 * nis/nss-nisplus.h (niserr2nss): Likewise.
10381 * nscd/connections.c (restart_p): Likewise.
10382 Change return type to bool.
10383
eab55bfb
RM
103842013-02-05 Roland McGrath <roland@hack.frob.com>
10385
7bd642f5
RM
10386 * Makeconfig (all-Depend-files): Add existing
10387 $(sorted-subdirs:=/Depend) files.
10388 (all-subdirs): Remove nss.
10389 * sysdeps/unix/inet/Subdirs: Add it here instead.
10390 * hesiod/Depend: New file.
10391
573c29b2
RM
10392 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
10393 instead of calling alloca.
10394
b2e25af0
RM
10395 * io/lseek.c (__lseek): Rename to __libc_lseek.
10396 Define __lseek as an alias.
10397
eab55bfb
RM
10398 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
10399
9a0d1941
CD
104002013-02-04 Carlos O'Donell <carlos@redhat.com>
10401
10402 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
10403 else clause and remove check for non-standard endianness.
10404
b83bbec4
DM
104052013-02-04 David S. Miller <davem@davemloft.net>
10406
10407 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10408
6277fdab
JM
104092013-02-04 Joseph Myers <joseph@codesourcery.com>
10410
10411 [BZ #13550]
10412 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
10413 (__ubp_memchr): Remove prototype.
10414 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
10415 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10416 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
10417 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10418 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
10419 Remove alias.
10420 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
10421 (__ubp_memchr): Likewise.
10422 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
10423 (__ubp_memchr): Likewise.
10424 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
10425 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
10426 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
10427 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
10428 CHECK_STRING.
10429 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10430 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
10431 (__getcwd): Do not use CHECK_STRING.
10432 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10433 <bp-checks.h>.
10434 (__real_chown): Do not use CHECK_STRING.
10435 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
10436 <bp-checks.h>.
10437 (fchownat): Do not use CHECK_STRING.
10438 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
10439 CHECK_STRING.
10440 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10441 <bp-checks.h>.
10442 (__lchown): Do not use CHECK_STRING.
10443 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10444 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10445 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10446 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10448 include <bp-checks.h>.
10449 (truncate64): Do not use CHECK_STRING.
10450 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10451 <bp-checks.h>.
10452 (__real_chown): Do not use CHECK_STRING.
10453 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10454 <bp-checks.h>.
10455 (__lchown): Do not use CHECK_STRING.
10456 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10457 <bp-checks.h>.
10458 (__chown): Do not use CHECK_STRING.
10459 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
10460 <bp-checks.h>.
10461 (truncate64): Do not use CHECK_STRING.
10462 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
10463 Likewise.
10464 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
10465 (__xmknod): Do not use CHECK_STRING.
10466 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10467 <bp-checks.h>.
10468 (__xmknodat): Do not use CHECK_STRING.
10469 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10470 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
10471
903ae060
AS
104722013-02-04 Andreas Schwab <schwab@suse.de>
10473
10474 [BZ #14142]
10475 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
10476 * include/netdb.h: Likewise for h_errno.
10477 * elf/tst-stackguard1.c: Include <tls.h>.
10478
542f9466
JK
104792013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10480
10481 * elf/link.h (struct link_map): Extend the l_addr comment.
10482 * include/link.h (struct link_map): Likewise.
10483
e782a927
JM
104842013-02-01 Joseph Myers <joseph@codesourcery.com>
10485
10486 [BZ #13550]
10487 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
10488 (BOUNDED_1): Remove macro.
10489 * debug/backtrace.c: Don't include <bp-checks.h>.
10490 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
10491 (__backtrace): Likewise.
10492 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
10493 <bp-checks.h>.
10494 (__backtrace): Don't use BOUNDED_1.
10495 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
10496 <bp-checks.h>.
10497 (__backtrace): Don't use BOUNDED_1.
10498 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
10499 (__backtrace): Don't use BOUNDED_1.
10500 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
10501 (shmat): Don't use BOUNDED_N.
10502
8cf28c5e
JM
105032013-01-31 Joseph Myers <joseph@codesourcery.com>
10504
3a7ac8a0
JM
10505 [BZ #13550]
10506 * sysdeps/generic/bp-start.h: Remove file.
10507 * csu/libc-start.c: Don't include <bp-start.h>.
10508 (LIBC_START_MAIN): Set up __environ directly instead of using
10509 INIT_ARGV_and_ENVIRON.
10510 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
10511 <bp-start.h>.
10512
f3499f95
JM
10513 [BZ #13550]
10514 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
10515 definitions.
10516 (CHECK_FCNTL): Likewise.
10517 (CHECK_N_PAGES): Likewise.
10518
32a45bea
JM
10519 [BZ #13550]
10520 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
10521 definitions.
10522 (CHECK_SIGSET_NULL_OK): Likewise.
10523 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
10524 <bp-checks.h>.
10525 (sigpending): Don't use CHECK_SIGSET.
10526 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
10527 <bp-checks.h>.
10528 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10529 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
10530 <bp-checks.h>.
10531 (do_sigsuspend): Don't use CHECK_SIGSET.
10532 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
10533 use CHECK_SIGSET.
10534 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
10535 (do_sigwait): Don't use CHECK_SIGSET.
10536 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
10537 use CHECK_SIGSET.
10538 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
10539 include <bp-checks.h>.
10540 (sigpending): Don't use CHECK_SIGSET.
10541 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
10542 include <bp-checks.h>.
10543 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10544 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
10545 <bp-checks.h>.
10546 (sigpending): Don't use CHECK_SIGSET.
10547 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
10548 <bp-checks.h>.
10549 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10550
2e8a5c8c
JM
10551 [BZ #13550]
10552 * sysdeps/generic/bp-semctl.h: Remove file.
10553 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
10554 <bp-checks.h> and <bp-semctl.h>.
10555 (__old_semctl): Don't use CHECK_SEMCTL.
10556 (__new_semctl): Likewise.
10557 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
10558 and <bp-semctl.h>.
10559 (__old_semctl): Don't use CHECK_SEMCTL.
10560 (__new_semctl): Likewise.
10561 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
10562 <bp-checks.h> and <bp-semctl.h>.
10563 (__old_semctl): Don't use CHECK_SEMCTL.
10564 (__new_semctl): Likewise.
10565 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
10566 <bp-checks.h> and <bp-semctl.h>.
10567 (semctl): Don't use CHECK_SEMCTL.
10568
c2d54929
JM
10569 [BZ #13550]
10570 * Makerules (elide-bp-thunks): Remove variable.
10571 (elide-routines.oS): Don't use $(elide-bp-thunks).
10572 (elide-routines.os): Likewise.
10573 (elide-routines.o): Likewise.
10574 (elide-routines.op): Likewise.
10575 (elide-routines.og): Likewise.
10576 (objects): Don't use $(bp-thunks).
10577 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
10578 include.
10579 (common-generated): Do not add s-proto-bp.d.
10580 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
10581 (int): Likewise.
10582 (typ): Likewise.
10583 Do not generate makefile rules for bounded-pointer thunks.
10584 * sysdeps/generic/bp-thunks.h: Remove file.
10585 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
10586 * sysdeps/unix/s-proto-bp.S: Likewise.
10587
8cf28c5e
JM
10588 [BZ #15062]
10589 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
10590 parts of result separately when argument is not close to line from
10591 -i to i and one part of argument is small.
10592 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10593 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10594 * math/libm-test.inc (cacos_test): Add more tests.
10595 (casin_test): Likewise.
10596 (casinh_test): Likewise.
10597 * sysdeps/i386/fpu/libm-test-ulps: Update.
10598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10599
c4e33b8d
DM
106002013-01-31 David S. Miller <davem@davemloft.net>
10601
10602 * po/de.po: Update from translation team.
10603
3b60b421
MK
106042013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
10605
10606 * time/tzfile.c: Include stdint.h for SIZE_MAX.
10607
bb931195
TS
106082013-01-25 Thomas Schwinge <thomas@codesourcery.com>
10609
b5a5da23
TS
10610 * configure.in (_AC_PROG_CC_C89): New definition.
10611 * configure: Regenerate.
10612
bb931195
TS
10613 * configure.in (AC_PROG_CPP): New definition.
10614 * configure: Regenerate.
10615
8c53a12c
JM
106162013-01-23 Joseph Myers <joseph@codesourcery.com>
10617
10618 * debug/tst-backtrace.h: New file.
10619 * debug/tst-backtrace2.c: Include tst-backtrace.h.
10620 (ret): Remove variable.
10621 (x): Likewise.
10622 (FAIL): Remove macro.
10623 (NO_INLINE): Likewise.
10624 (fn1): Use match function instead of strstr.
10625 * debug/tst-backtrace3.c: Include tst-backtrace.h.
10626 (ret): Remove variable.
10627 (x): Likewise.
10628 (FAIL): Remove macro.
10629 (NO_INLINE): Likewise.
10630 (fn): Use match function instead of strstr.
10631 * debug/tst-backtrace4.c: Include tst-backtrace.h.
10632 (ret): Remove variable.
10633 (x): Likewise.
10634 (FAIL): Remove macro.
10635 (NO_INLINE): Likewise.
10636 (handle_signal): Use match function instead of strstr.
10637 * debug/tst-backtrace5.c: Include tst-backtrace.h.
10638 (ret): Remove variable.
10639 (x): Likewise.
10640 (FAIL): Remove macro.
10641 (NO_INLINE): Likewise.
10642 (handle_signal): Use match function instead of strstr.
10643
4858fa2a
RM
106442013-01-23 Roland McGrath <roland@hack.frob.com>
10645
10646 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
10647
bae8e7f5
DM
106482013-01-23 David S. Miller <davem@davemloft.net>
10649
10650 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
10651 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
10652 argument of CAS if possible.
10653 * sysdeps/sparc/sparc64/bits/atomic.h
10654 (__arch_compare_and_exchange_val_32_acq): Likewise.
10655 (__arch_compare_and_exchange_val_64_acq): Likewise.
10656
9cbbc4ae
PT
106572013-01-23 Pino Toscano <toscano.pino@tiscali.it>
10658
10659 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
10660 * sysdeps/posix/ulimit.c: ... this.
92a601b8 10661 Include <limits.h>.
67b3f58c 10662 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 10663
5655a0b5
AC
106642013-01-23 Adam Conrad <adconrad@0c3.net>
10665
10666 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
10667 (LDFLAGS-tst-array5): Likewise.
10668
052aff95
JM
106692013-01-23 Joseph Myers <joseph@codesourcery.com>
10670
10671 [BZ #15036]
10672 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
10673 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
10674 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
10675 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
10676
7c1e01aa
DM
106772013-01-21 David S. Miller <davem@davemloft.net>
10678
10679 * sysdeps/sparc/backtrace.c: New file.
10680 * sysdeps/sparc/sparc32/backtrace.h: New file.
10681 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
10682 * sysdeps/sparc/sparc64/backtrace.h: New file.
10683 * sysdeps/sparc/sparc64/backtrace.c: Delete.
10684 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
10685 -funwind-tables.
10686
ab087e0a
AS
106872013-01-21 Andreas Schwab <schwab@suse.de>
10688
10689 [BZ #15020]
10690 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
10691 closed its stdout.
10692
ed689c2f
AS
106932013-01-20 Andreas Schwab <schwab@linux-m68k.org>
10694
10695 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
10696 "mpa2.h".
10697 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10698
31d470ac
JM
106992013-01-18 Joseph Myers <joseph@codesourcery.com>
10700 Mark Mitchell <mark@codesourcery.com>
10701 Tom de Vries <tom@codesourcery.com>
10702 Paul Pluzhnikov <ppluzhnikov@google.com>
10703
10704 * debug/tst-backtrace2.c: New file.
10705 * debug/tst-backtrace3.c: Likewise.
10706 * debug/tst-backtrace4.c: Likewise.
10707 * debug/tst-backtrace5.c: Likewise.
10708 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
10709 (CFLAGS-tst-backtrace3.c): Likewise.
10710 (CFLAGS-tst-backtrace4.c): Likewise.
10711 (CFLAGS-tst-backtrace5.c): Likewise.
10712 (LDFLAGS-tst-backtrace2): Likewise.
10713 (LDFLAGS-tst-backtrace3): Likewise.
10714 (LDFLAGS-tst-backtrace4): Likewise.
10715 (LDFLAGS-tst-backtrace5): Likewise.
10716 (tests): Add new tests tst-backtrace2, tst-backtrace3,
10717 tst-backtrace4 and tst-backtrace5.
10718
90567f30 107192013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
10720 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10721
10722 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
10723 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
10724 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
10725 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
10726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10727 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
10728 "+r" and remove output regs list as redundant. Add explicit inline
10729 asm to specify register of return val to work around compiler codegen
10730 bug. Remove (int) cast on return value. Add return type parameter to
10731 use in macro so that this macro does not truncate return value for
10732 64-bit values.
10733 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
10734 pass to INTERNAL_VSYSCALL_NCS.
10735 (INLINE_VSYSCALL): Add 'long int' as return type to
10736 INTERNAL_VSYSCALL_NCS macro invocation.
10737 (INTERNAL_VSYSCALL): Add 'long int' as return type to
10738 INTERNAL_VSYSCALL_NCS macro invocation.
10739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10740
d3b9ea61
SP
107412013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10742
0b57daeb
SP
10743 [BZ #14496]
10744 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
10745 Fix application of SIMD FP exception mask.
10746
caa99d06
SP
10747 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
10748 mp_no from a power of two.
10749 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
10750 __mpexp_twomm1. Use __pow_mp.
10751
d3b9ea61
SP
10752 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
10753 multiplication.
10754
1dbaee3c
DM
107552013-01-17 David S. Miller <davem@davemloft.net>
10756
10757 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10758
728d7b43
JM
107592013-01-17 Joseph Myers <joseph@codesourcery.com>
10760
10761 [BZ #15023]
10762 * include/complex.h: Condition contents on [!_COMPLEX_H].
10763 (__kernel_casinhf): New prototype.
10764 (__kernel_casinh): Likewise.
10765 (__kernel_casinhl): Likewise.
10766 * math/Makefile (libm_calls): Add k_casinh.
10767 * math/k_casinh.c: New file.
10768 * math/k_casinhf.c: Likewise.
10769 * math/k_casinhl.c: Likewise.
10770 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
10771 finite nonzero arguments.
10772 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
10773 finite nonzero arguments.
10774 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
10775 finite nonzero arguments.
10776 * math/s_casinh.c: Do not include <float.h>.
10777 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
10778 * math/s_casinhf.c: Do not include <float.h>.
10779 (__casinhf): Move code for finite nonzero arguments to
10780 k_casinhf.c.
10781 * math/s_casinhl.c: Do not include <float.h>.
10782 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
10783 redefine.
10784 (__casinhl): Move code for finite nonzero arguments to
10785 k_casinhl.c.
10786 * math/libm-test.inc (cacos_test): Add more tests.
10787 * sysdeps/i386/fpu/libm-test-ulps: Update.
10788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10789
2a26ef3a
PT
107902013-01-17 Pino Toscano <toscano.pino@tiscali.it>
10791
10792 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
10793 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
10794 [!HAVE_MREMAP]: Remove [defined linux] case.
10795 * malloc/arena.c: Do not include <malloc-sysdep.h>.
10796
a897655d
SP
107972013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10798
10799 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
10800
881ebe89 108012013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
10802
10803 * elf/elf.h (R_386_SIZE32): New relocation.
10804 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
10805 R_386_SIZE32.
10806 (elf_machine_rela): Likewise.
10807 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10808 R_X86_64_SIZE64 and R_X86_64_SIZE32.
10809
59981e9b
JM
108102013-01-17 Joseph Myers <joseph@codesourcery.com>
10811
10812 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
10813 (FP_FAST_FMA): Do not define.
10814 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
10815 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
10816 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
10817 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
10818 !_SOFT_FLOAT]: Likewise.
10819 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
10820 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
10821 value.
10822 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
10823 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
10824 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
10825 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
10826 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
10827 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
10828 file.
10829
cfa8054f
AS
108302013-01-16 Andreas Schwab <schwab@suse.de>
10831
10832 [BZ #14327]
10833 * include/stdlib.h (__mktemp): Add declaration.
10834 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
10835 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
10836
dd930cc5
SP
108372013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10838
881ebe89
SP
10839 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
10840 definitions.
10841 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10842 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
10843 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
10844 definitions here.
10845 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
10846 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
10847 definitions.
10848 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
10849 and ONE.
10850 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
10851 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
10852 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
10853 definitions.
10854 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
10855 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
10856 definitions.
10857 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 10858
dd930cc5
SP
10859 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
10860
c19a9f89
DM
108612013-01-15 David S. Miller <davem@davemloft.net>
10862
1aa61767
DM
10863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10864 trunc{,f} to libm-sysdep_routes.
10865 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
10867 file.
10868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
10869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
10870 file.
10871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
10872 file.
10873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
10874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
10875 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
10876 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
10877 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
10878 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
10879 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
10880 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
10881
c42d5e98
DM
10882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10883 nearbyint{,f} to libm-sysdep_routes.
10884 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
10886 New file.
10887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
10888 file.
10889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
10890 New file.
10891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
10892 file.
10893 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
10894 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
10895 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
10896 file.
10897 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
10898 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
10899 file.
10900 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
10901 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
10902 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
10903
c19a9f89
DM
10904 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10905 libc_feholdexcept and libc_fesetenv.
10906
357679d2
MF
109072013-01-15 Mike Frysinger <vapier@gentoo.org>
10908
10909 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
10910
65a82e3d
DM
109112013-01-14 David S. Miller <davem@davemloft.net>
10912
8b954ab9
DM
10913 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
10914 (SPARC_ASM_VIS2_IFUNC): Likewise.
10915 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
10916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
10917 use of 'siam' instruction.
10918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
10919 Likewise.
10920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
10921 Likewise.
10922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
10923 Likewise.
10924 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
10925 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
10926 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
10927 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
10928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
10929 file.
10930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
10931 file.
10932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
10933 file.
10934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
10935 file.
10936 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
10937 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
10938 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
10939 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
10940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
10941 new VIS2 routines.
10942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10945 Likewise.
10946 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10947 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10948 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10949 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
10951 routines to libm-sysdep_routines.
10952 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10953
65a82e3d
DM
10954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10955 fdim/fdimf to libm-sysdep_routines.
10956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
10957 file.
10958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
10959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
10960 file.
10961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
10962 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
10963 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
10964 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
10965 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
10966 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
10967 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
10968
e34ab705
SP
109692013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10970
2a91b573
SP
10971 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
10972 to optimize copies.
10973
1066a534
SP
10974 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
10975 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10976 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10977
e34ab705
SP
10978 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
10979 local variable MPTWO.
10980 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10981 Likewise.
10982
aba5e596
MF
109832013-01-13 Mike Frysinger <vapier@gentoo.org>
10984
10985 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
10986 GLOB_NOESCAPE.
10987
e557e9e5
MF
109882013-01-13 Mike Frysinger <vapier@gentoo.org>
10989
10990 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
10991
0428cec9
MF
109922013-01-13 Mike Frysinger <vapier@gentoo.org>
10993
10994 * manual/pattern.texi (glob_t): Document gl_flags.
10995 (glob64_t): Likewise.
10996
8794a964
DM
109972013-01-11 David S. Miller <davem@davemloft.net>
10998
66438c3f
RM
10999 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
11000 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
11001 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
11002 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
11003 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
11004 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
11005 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
11006 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
11007 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
11008 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
11009 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
11010 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
11011 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
11012
4ae4244d
DM
11013 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11014 sparc V9 rather than using V8 code.
11015 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11016 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11017
8794a964
DM
11018 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
11019 Move to...
11020 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
11021 Here.
11022
6270516e
RM
110232013-01-11 Roland McGrath <roland@hack.frob.com>
11024
11025 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
11026 not in the main loop.
11027 * configure: Regenerated.
11028
6a57d931
JM
110292013-01-11 Joseph Myers <joseph@codesourcery.com>
11030
11031 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
11032 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
11033 to just #else.
11034 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
11035 [!__GLIBC_HAVE_LONG_LONG] case.
11036 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
11037 condition to just #else.
11038 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
11039 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
11040 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
11041 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
11042 unconditional.
11043 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
11044 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11045 #elif condition to just #else.
11046 * sysdeps/unix/sysv/linux/sys/sysmacros.h
11047 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
11048 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11049 #elif condition to just #else.
11050
0e8529e9
SE
110512013-01-11 Steve Ellcey <sellcey@mips.com>
11052
11053 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
11054 (EF_MIPS_ARCH_64): Fix value.
11055 (EF_MIPS_ARCH_32R2): New.
11056 (EF_MIPS_ARCH_64R2): New.
11057
740b3dbe
L
110582013-01-11 H.J. Lu <hongjiu.lu@intel.com>
11059
11060 * Makeconfig (+link-pie-before-libc): New.
11061 (+link-pie-after-libc): Likewise.
11062 (+link-pie-tests): Likewise.
11063 (+link-pie): Rewritten.
11064 (link-before-libc): Remove $(config-LDFLAGS).
11065 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
11066 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
11067 (config-LDFLAGS): Renamed to ...
11068 (rtld-LDFLAGS): This.
11069 (rtld-tests-LDFLAGS): New macro.
11070 (link-libc-rpath-link): Likewise.
11071 (link-libc-tests-rpath-link): Likewise.
11072 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
11073 (link-libc): Prepand $(link-libc-rpath-link).
11074 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
11075 (test-program-prefix): New macro.
11076 (test-via-rtld-prefix): Likewise.
11077 (test-program-cmd): Likewise.
11078 (host-test-program-cmd): Likewise.
11079 * Makefile ($(common-objpfx)testrun.sh): Replace
11080 $(run-program-prefix) with $(test-program-prefix).
11081 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
11082 $(rtld-LDFLAGS).
11083 ($(common-objpfx)shlib.lds): Likewise.
11084 (build-module-helper): Likewise.
11085 ($(common-objpfx)format.lds): Likewise.
11086 * Rules (binaries-pie-tests): New.
11087 (binaries-pie-notests): Likewise.
11088 (binaries-pie): Rewritten.
11089 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
11090 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
11091 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
11092 (make-test-out): Replace $(host-built-program-cmd) with
11093 $(host-test-program-cmd).
11094 * config.make.in (build-hardcoded-path-in-tests): New variable.
11095 * configure.in (--enable-hardcoded-path-in-tests): New configure
11096 option.
11097 (hardcoded_path_in_tests): New AC_SUBST.
11098 * configure: Regenerated.
11099 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
11100 $(built-program-cmd) with $(test-program-cmd).
11101 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
11102 (test_program_cmd): This.
11103 * elf/Makefile ($(objpfx)order.out): Run test with
11104 $(test-program-prefix).
11105 ($(objpfx)order2.out): Likewise.
11106 ($(objpfx)tst-initorder.out): Likewise.
11107 ($(objpfx)tst-initorder2.out): Likewise.
11108 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
11109 $(test-program-cmd).
11110 ($(objpfx)tst-array1-static.out): Likewise.
11111 ($(objpfx)tst-array2.out): Likewise.
11112 ($(objpfx)tst-array3.out): Likewise.
11113 ($(objpfx)tst-array4.out): Likewise.
11114 ($(objpfx)tst-array5.out): Likewise.
11115 ($(objpfx)tst-array5-static.out): Likewise.
11116 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
11117 $(test-program-cmd).
11118 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
11119 $(run-program-prefix) with $(test-program-prefix).
11120 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
11121 (test_program_prefix): This.
11122 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
11123 $(run-program-prefix) with $(test-program-prefix).
11124 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
11125 (test_program_prefix): This.
11126 * iconvdata/tst-tables.sh: Likewise.
11127 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
11128 $(run-program-prefix) with $(test-program-prefix).
11129 ($(objpfx)tst-translit.out): Likewise.
11130 ($(objpfx)tst-gettext2.out): Likewise.
11131 ($(objpfx)tst-gettext4.out): Likewise.
11132 ($(objpfx)tst-gettext6.out): Likewise.
11133 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
11134 (test_program_prefix): This.
11135 * intl/tst-gettext2.sh: Likewise.
11136 * intl/tst-gettext4.sh Likewise.
11137 * intl/tst-gettext6.sh: Likewise.
11138 * intl/tst-translit.sh: Likewise.
11139 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
11140 with $(test-program-cmd).
11141 * libio/Makefile ($(objpfx)test-freopen.out): Replace
11142 $(run-program-prefix) with $(test-program-prefix).
11143 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
11144 (test_program_prefix): This.
11145 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
11146 $(run-program-prefix) with $(test-program-prefix).
11147 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
11148 (test_program_prefix): This.
11149 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
11150 * posix/Makefile ($(objpfx)globtest.out): Replace
11151 $(run-via-rtld-prefix) and $(test-wrapper) with
11152 $(test-program-prefix) and $(test-via-rtld-prefix).
11153 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
11154 $(test-program-prefix).
11155 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
11156 $(host-test-program-cmd).
11157 (tst-spawn-ARGS): Likewise.
11158 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
11159 $(test-program-prefix).
11160 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
11161 (test_via_rtld_prefix): This.
11162 (test_wrapper): Renamed to ...
11163 (test_program_prefix): This.
11164 (run_program_prefix): Replaced by test_program_prefix.
11165 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
11166 (test_program_prefix): This.
11167 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
11168 with $(host-test-program-cmd).
11169 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
11170 $(run-program-prefix) with $(test-program-prefix).
11171 ($(objpfx)tst-printf.out): Likewise.
11172 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
11173 $(test-program-cmd).
11174 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
11175 (test_program_prefix): This.
11176 * stdio-common/tst-unbputc.sh: Likewise.
11177 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
11178 $(run-program-prefix) with $(test-program-prefix).
11179 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
11180 (test_program_prefix): This.
11181 * string/Makefile ($(objpfx)tst-svc.out): Replace
11182 $(built-program-cmd) with $(test-program-cmd).
11183
c6fe55cf
AJ
111842013-01-11 Andreas Jaeger <aj@suse.de>
11185
11186 [BZ #15003]
11187 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
11188 value. Sync with Linux 3.7.
11189
9e6919c8
DM
111902013-01-10 David S. Miller <davem@davemloft.net>
11191
11192 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
11193 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11194 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11195
1c9f1a02
RM
111962013-01-10 Roland McGrath <roland@hack.frob.com>
11197
11198 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
11199 never set.
11200 * configure: Regenerated.
11201
b9de2dde
DM
112022013-01-10 David S. Miller <davem@davemloft.net>
11203
11204 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11205 sparc V9 rather than using V8 code.
11206 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11207 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11208
e7f68ef4
RM
112092013-01-10 Roland McGrath <roland@hack.frob.com>
11210
11211 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
11212 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
11213 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
11214 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
11215 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
11216 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
11217 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
11218 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
11219 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
11220 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
11221 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
11222 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
11223 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
11224 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
11225 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
11226 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
11227 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
11228 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
11229 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
11230 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
11231 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
11232 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
11233 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
11234 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
11235 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
11236 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
11237 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
11238
5a47cc9c
DM
112392013-01-10 David S. Miller <davem@davemloft.net>
11240
11241 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11242
4cf8f209
L
112432013-01-10 H.J. Lu <hongjiu.lu@intel.com>
11244
11245 * posix/Makefile (tests-static): New variable.
11246 (tests): Add $(tests-static).
11247 (tst-exec-static-ARGS): New variable.
11248 (tst-spawn-static-ARGS): Likewise.
11249 * posix/tst-exec-static.c: New file.
11250 * posix/tst-spawn-static.c: Likewise.
11251 * posix/tst-exec.c: Support run directly.
11252 * posix/tst-spawn.c: Likewise.
11253
fed0faa1
JM
112542013-01-10 Joseph Myers <joseph@codesourcery.com>
11255
828beb13
JM
11256 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
11257 long.
11258 * math/bits/mathcalls.h (llrint): Likewise.
11259 (llround): Likewise.
11260 * stdlib/stdlib.h (struct drand48_data): Likewise.
11261 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
11262 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
11263 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
11264 Likewise.
11265 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
11266 Likewise.
11267 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
11268 (elf_greg_t): Likewise.
11269 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
11270 (__jmp_buf): Likewise.
11271 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
11272 definitions.
11273 (llrint): Likewise, for all definitions.
11274 (llrintl): Likewise.
11275
fed0faa1
JM
11276 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
11277 Remove [__GNUC__] condition.
11278 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
11279 condition to just [__USE_ISOC99].
11280 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
11281
1a20cb20
L
112822013-01-10 H.J. Lu <hongjiu.lu@intel.com>
11283
11284 [BZ #14200]
11285 * sysdeps/unix/sysv/linux/x86/bits/environments.h
11286 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
11287 defined.
11288 (_POSIX_V6_ILP32_OFF32): Likewise.
11289 (_XBS5_ILP32_OFF32): Likewise.
11290 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
11291 (__ILP32_OFFBIG_LDFLAGS): Likewise.
11292
751b85f7
SP
112932013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11294
7490eb81
SP
11295 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
11296
751b85f7
SP
11297 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
11298 doubles __mpexp_twomm1. Adjust usage.
11299 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
11300 Remove.
11301
988197f0
AS
113022013-01-10 Andreas Schwab <schwab@suse.de>
11303
11304 [BZ #14964]
11305 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
11306 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
11307
e83d7298
DM
113082013-01-09 David S. Miller <davem@davemloft.net>
11309
034ed64b 11310 [BZ #15003]
e83d7298
DM
11311 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
11312 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
11313 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
11314 TCP_FASTOPEN): Define.
11315 (tcp_repair_opt): New structure.
11316 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
11317 enum values.
11318 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
11319 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
11320 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
11321 (tcp_cookie_transactions): New structure.
11322
d5e0b9bd
AB
113232013-01-09 Anton Blanchard <anton@samba.org>
11324
11325 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
11326 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
11327 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
11328 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
11329
0c07e3ea
JM
113302013-01-09 Joseph Myers <joseph@codesourcery.com>
11331
11332 * include/features.h (__USE_ANSI): Remove.
11333
232f7002
RM
113342013-01-09 Roland McGrath <roland@hack.frob.com>
11335
ad98e30c
RM
11336 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
11337
232f7002
RM
11338 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
11339
950c99ca
SP
113402013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
11341
b5792741
SP
11342 * sysdeps/s390/fpu/libm-test-ulps: Update.
11343
47cf2278
SP
11344 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11345
950c99ca
SP
11346 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
11347 (__acr): Likewise.
11348 (__cpy): Likewise.
11349 (norm): Likewise.
11350 (denorm): Likewise.
11351 (__mp_dbl): Likewise.
11352 (__dbl_mp): Likewise.
11353 (add_magnitudes): Likewise.
11354 (sub_magnitudes): Likewise.
11355 (__add): Likewise.
11356 (__sub): Likewise.
11357 (__mul): Likewise.
11358 (__inv): Likewise.
11359 (__dvd): Likewise.
11360 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
11361 (__acr): Likewise.
11362 (__cpy): Likewise.
11363 (norm): Likewise.
11364 (denorm): Likewise.
11365 (__mp_dbl): Likewise.
11366 (__dbl_mp): Likewise.
11367 (add_magnitudes): Likewise.
11368 (sub_magnitudes): Likewise.
11369 (__add): Likewise.
11370 (__sub): Likewise.
11371 (__mul): Likewise.
11372 (__inv): Likewise.
11373 (__dvd): Likewise.
11374 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
11375 (__acr): Likewise.
11376 (__cpy): Likewise.
11377 (norm): Likewise.
11378 (denorm): Likewise.
11379 (__mp_dbl): Likewise.
11380 (__dbl_mp): Likewise.
11381 (add_magnitudes): Likewise.
11382 (sub_magnitudes): Likewise.
11383 (__add): Likewise.
11384 (__sub): Likewise.
11385 (__mul): Likewise.
11386 (__inv): Likewise.
11387 (__dvd): Likewise.
11388
eede9df9
JM
113892013-01-08 Joseph Myers <joseph@codesourcery.com>
11390
11391 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
11392 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
11393 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
11394 2 && __USE_EXTERN_INLINES]: Likewise.
11395
c40ea3d9
AJ
113962013-01-08 Andreas Jaeger <aj@suse.de>
11397
11398 [BZ# 14985]
11399 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
11400 Remove.
11401 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11402 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11403
2ccdea26
AB
114042013-01-07 Anton Blanchard <anton@samba.org>
11405
11406 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
11407 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11408 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
11409 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11410 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11411 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11412 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
11413 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11414 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11415 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11416 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11417 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11418 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11419 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11420 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11421 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11422 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11423 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11424 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11425 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11426 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11427 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
11428 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11429 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11430 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
11431 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11432 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11433 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11434 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
11435 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11436 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11437 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11438 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11439 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11440 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11441 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11442 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11443 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
11444 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
11445 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11446 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
11447 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11448 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11449
a9708fed
JM
114502013-01-07 Joseph Myers <joseph@codesourcery.com>
11451
375607b9
JM
11452 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
11453 (__MALLOC_PMT): Likewise.
11454 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
11455 [__GNUC__], only on [_LIBC].
11456 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11457 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
11458 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11459 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
11460 forward declaration.
11461 (realloc_hook_ini): Likewise.
11462 (memalign_hook_ini): Likewise.
11463 (__libc_memalign): Do not use __MALLOC_PMT in variable
11464 declaration.
11465 (__libc_valloc): Likewise.
11466 (__libc_pvalloc): Likewise.
11467 (__libc_calloc): Likewise.
11468 (__posix_memalign): Likewise.
11469
a9708fed
JM
11470 [BZ #14996]
11471 * math/s_casinh.c: Include <float.h>.
11472 (__casinh): Do not do computation with squaring and square root
11473 for large arguments.
11474 * math/s_casinhf.c: Include <float.h>.
11475 (__casinhf): Do not do computation with squaring and square root
11476 for large arguments.
11477 * math/s_casinhl.c: Include <float.h>.
11478 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
11479 (__casinhl): Do not do computation with squaring and square root
11480 for large arguments.
11481 * math/libm-test.inc (casin_test): Add more tests.
11482 (casinh_test): Likewise.
11483 * sysdeps/i386/fpu/libm-test-ulps: Update.
11484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11485
afec409a
L
114862013-01-04 H.J. Lu <hongjiu.lu@intel.com>
11487
11488 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
11489 (__x86_64_raw_data_cache_size): Likewise.
11490 (__x86_64_data_cache_size_half): Likewise.
11491 (__x86_64_raw_data_cache_size_half): Likewise.
11492 (__x86_64_shared_cache_size): Likewise.
11493 (__x86_64_raw_shared_cache_size): Likewise.
11494 (__x86_64_shared_cache_size_half): Likewise.
11495 (__x86_64_raw_shared_cache_size_half): Likewise.
11496 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
11497 to ...
11498 (__x86_data_cache_size): This.
11499 (__x86_64_raw_data_cache_size): Renamed to ...
11500 (__x86_raw_data_cache_size): This.
11501 (__x86_64_data_cache_size_half): Renamed to ...
11502 (__x86_data_cache_size_half): This.
11503 (__x86_64_raw_data_cache_size_half): Renamed to ...
11504 (__x86_raw_data_cache_size_half): This.
11505 (__x86_64_shared_cache_size): Renamed to ...
11506 (__x86_shared_cache_size): This.
11507 (__x86_64_raw_shared_cache_size): Renamed to ...
11508 (__x86_raw_shared_cache_size): This.
11509 (__x86_64_shared_cache_size_half): Renamed to ...
11510 (__x86_shared_cache_size_half): This.
11511 (__x86_64_raw_shared_cache_size_half): Renamed to ...
11512 (__x86_raw_shared_cache_size_half): This.
11513 * sysdeps/x86_64/memcpy.S: Updated.
11514 * sysdeps/x86_64/memset.S: Likewise.
11515 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11516 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11517 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11518
0b3986d0
DM
115192013-01-04 David S. Miller <davem@davemloft.net>
11520
11521 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11522
e47686e9
AS
115232013-01-04 Andreas Schwab <schwab@linux-m68k.org>
11524
d643bac1
AS
11525 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
11526 1 to avoid redefinition warning.
11527 (__USE_GNU): Don't define.
11528 (init_signaling_nan): Protoize.
11529
e47686e9
AS
11530 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11531
b18decba
SP
115322013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11533
fffb407f
SP
11534 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
11535 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
11536 (__cpymn): Likewise.
11537 (norm): Remove commented code.
11538 (denorm): Likewise.
11539 (__mp_dbl): Likewise.
11540 (__inv): Likewise.
11541 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
11542 (__cpymn): Likewise.
11543 (norm): Remove commented code.
11544 (denorm): Likewise.
11545 (__mp_dbl): Likewise.
11546 (__inv): Likewise.
11547
b18decba
SP
11548 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
11549 mp_no value for 1.0 and 2.0.
11550 (norm): Use RADIXI instead of radixi.d.
11551 (denorm): Likewise.
11552 (__mul): Use 0.0 instead of zero.d.
11553 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
11554 mp_no value for 1.0 and 2.0.
11555 (norm): Use RADIXI instead of radixi.d.
11556 (denorm): Likewise.
11557 (__mul): Use 0.0 instead of zero.d.
11558
cdc1c96f
JM
115592013-01-04 Joseph Myers <joseph@codesourcery.com>
11560
11561 [BZ #14994]
11562 * math/s_casinh.c (__casinh): Reduce finite argument to first
11563 quadrant then set signs of results at the end.
11564 * math/s_casinhf.c (__casinhf): Likewise.
11565 * math/s_casinhl.c (__casinhl): Likewise.
11566 * math/libm-test.inc (casin_test): Add more tests.
11567 (casinh_test): Likewise.
11568 * sysdeps/i386/fpu/libm-test-ulps: Update.
11569 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11570
302913e1
SP
115712013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11572
6420d207
SP
11573 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
11574
a9e48ab4
SP
11575 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
11576
b7837264
SP
11577 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
11578 declarations.
11579 (denorm): Likewise.
11580 (__mp_dbl): Likewise.
11581 (__inv): Likewise.
11582
f8af25d2
SP
11583 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
11584 and adjust the header comment.
11585
302913e1
SP
11586 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
11587 variable name from declaration.
11588
5d7dd1ca
L
115892013-01-03 H.J. Lu <hongjiu.lu@intel.com>
11590
11591 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11592 Initialize COMMON_CPUID_INDEX_7 element.
11593 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
11594 (CPUID_RTM): Likewise.
11595 (HAS_RTM): Likewise.
11596 (COMMON_CPUID_INDEX_7): New enum.
11597
2f5f40f4
AS
115982013-01-03 Andreas Schwab <schwab@linux-m68k.org>
11599
11600 [BZ #14981]
11601 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
11602 size is zero, record memory as freed.
11603
4056f4a0
AJ
116042013-01-03 Andreas Jaeger <aj@suse.de>
11605
11606 * po/ia.po: Add new Interlingua translation.
11607
ab15736f 116082012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
11609
11610 * locale/programs/localedef.c: Fix description of '--posix' flag.
11611
568035b7
JM
116122013-01-02 Joseph Myers <joseph@codesourcery.com>
11613
e6898b8d
JM
11614 * NEWS: Update dates in second copyright notice.
11615 * README: Update copyright dates in example.
11616 * manual/libc.texinfo: Update copyright dates.
11617 * scripts/test-installation.pl: Update copyright date in --version
11618 output.
11619
0e2f9562
JM
11620 * hurd/ctty-input.c: Fix copyright notice formatting.
11621 * hurd/ctty-output.c: Likewise.
11622 * hurd/dtable.c: Likewise.
11623 * hurd/hurd-raise.c: Likewise.
11624 * hurd/hurdprio.c: Likewise.
11625 * hurd/msgportdemux.c: Likewise.
11626 * misc/sys/file.h: Likewise.
11627 * misc/sys/ioctl.h: Likewise.
11628 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11629 * sysdeps/mach/hurd/chdir.c: Likewise.
11630 * sysdeps/mach/hurd/fchdir.c: Likewise.
11631 * sysdeps/mach/hurd/rename.c: Likewise.
11632 * sysdeps/mach/hurd/rmdir.c: Likewise.
11633 * sysdeps/mach/hurd/seekdir.c: Likewise.
11634 * sysdeps/mach/hurd/setsid.c: Likewise.
11635 * sysdeps/posix/wait3.c: Likewise.
11636
568035b7
JM
11637 * All files with FSF copyright notices: Update copyright dates
11638 using scripts/update-copyrights.
11639 * intl/plural.c: Regenerated.
11640 * locale/programs/charmap-kw.h: Likewise.
11641 * locale/programs/locfile-kw.h: Likewise.
11642
da08f647
SP
116432013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11644
0f5477af
SP
11645 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
11646 four values.
11647
44e0d4c2
SP
11648 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
11649 calculation loop and add branch prediction.
11650
4d55b4e5
SP
11651 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
11652 check access beyond bounds of m1np.
11653
da08f647
SP
11654 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11655 MPTWO.
11656 (__inv): Remove local variable MPTWO to use the global
11657 constant.
11658 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
11659 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11660 variable MPTWO.
11661 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
11662 MP3HALFS static const.
11663
8e051029
DM
116642013-01-01 David S. Miller <davem@davemloft.net>
11665
11666 * po/ca.po: Update from translation team.
11667
f4cf5f2d
JM
116682013-01-01 Joseph Myers <joseph@codesourcery.com>
11669
11670 * scripts/update-copyrights: New file.
11671 * Makeconfig: Reformat copyright notice.
11672 * ctype/ctype.h: Likewise.
11673 * debug/swprintf_chk.c: Likewise.
11674 * elf/dl-cache.c: Likewise.
11675 * elf/dl-debug.c: Likewise.
11676 * elf/dl-object.c: Likewise.
11677 * grp/initgroups.c: Likewise.
11678 * hurd/Makefile: Likewise.
11679 * hurd/hurd/signal.h: Likewise.
11680 * hurd/hurdfault.c: Likewise.
11681 * hurd/hurdioctl.c: Likewise.
11682 * hurd/hurdlookup.c: Likewise.
11683 * hurd/intr-msg.c: Likewise.
11684 * iconv/gconv_open.c: Likewise.
11685 * libio/swprintf.c: Likewise.
11686 * locale/lc-ctype.c: Likewise.
11687 * locale/nl_langinfo.c: Likewise.
11688 * mach/Machrules: Likewise.
11689 * mach/Makefile: Likewise.
11690 * malloc/obstack.h: Likewise.
11691 * manual/Makefile: Likewise.
11692 * manual/tsort.awk: Likewise.
11693 * misc/bits/stab.def: Likewise.
11694 * nis/nis_print_group_entry.c: Likewise.
11695 * nis/nis_table.c: Likewise.
11696 * nis/nss_compat/compat-pwd.c: Likewise.
11697 * nis/nss_compat/compat-spwd.c: Likewise.
11698 * po/Makefile: Likewise.
11699 * posix/fnmatch.c: Likewise.
11700 * posix/regex.h: Likewise.
11701 * resolv/Makefile: Likewise.
11702 * resolv/nss_dns/dns-network.c: Likewise.
11703 * resolv/res_hconf.c: Likewise.
11704 * scripts/gen-sorted.awk: Likewise.
11705 * soft-fp/soft-fp.h: Likewise.
11706 * stdio-common/printf.h: Likewise.
11707 * stdlib/monetary.h: Likewise.
11708 * stdlib/random.c: Likewise.
11709 * stdlib/random_r.c: Likewise.
11710 * sysdeps/generic/Makefile: Likewise.
11711 * sysdeps/gnu/Makefile: Likewise.
11712 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11713 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11714 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11715 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11716 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11717 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11718 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11719 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11720 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11721 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11722 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11723 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11724 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11725 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11726 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
11727 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11728 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11729 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11730 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11731 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11732 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11733 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11734 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11735 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11736 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
11737 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11738 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11739 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
11740 * sysdeps/mach/hurd/errnos.awk: Likewise.
11741 * sysdeps/mach/hurd/fork.c: Likewise.
11742 * sysdeps/mach/hurd/getcwd.c: Likewise.
11743 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
11744 * sysdeps/mach/hurd/mmap.c: Likewise.
11745 * sysdeps/mach/hurd/utimes.c: Likewise.
11746 * sysdeps/mach/hurd/xmknod.c: Likewise.
11747 * sysdeps/posix/profil.c: Likewise.
11748 * sysdeps/posix/readdir_r.c: Likewise.
11749 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11750 * sysdeps/powerpc/bits/setjmp.h: Likewise.
11751 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
11752 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11753 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11754 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11755 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11756 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11757 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11758 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11759 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11760 * sysdeps/pthread/lio_listio.c: Likewise.
11761 * sysdeps/sparc/dl-procinfo.h: Likewise.
11762 * sysdeps/unix/i386/sysdep.S: Likewise.
11763 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
11764 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
11765 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
11766 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
11767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11768 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11769 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11770 * sysdeps/unix/sysv/linux/speed.c: Likewise.
11771 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
11772 * sysdeps/wordsize-32/divdi3.c: Likewise.
11773 * time/sys/time.h: Likewise.
11774 * wcsmbs/Makefile: Likewise.
11775
0549fbba
DM
117762013-01-01 David S. Miller <davem@davemloft.net>
11777
a141f1a7
DM
11778 * po/fr.po: Update from translation team.
11779
0549fbba
DM
11780 * catgets/gencat.c: Update copyright year.
11781 * csu/version.c: Likewise.
11782 * debug/catchsegv.sh: Likewise.
11783 * debug/pcprofiledump.c: Likewise.
11784 * debug/xtrace.sh: Likewise.
11785 * elf/ldconfig.c: Likewise.
11786 * elf/ldd.bash.in: Likewise.
11787 * elf/pldd.c: Likewise.
11788 * elf/sotruss.ksh: Likewise.
11789 * elf/sprof.c: Likewise.
11790 * iconv/iconv_prog.c: Likewise.
11791 * iconv/iconvconfig.c: Likewise.
11792 * locale/programs/locale.c: Likewise.
11793 * locale/programs/localedef.c: Likewise.
11794 * login/programs/pt_chown.c: Likewise.
11795 * malloc/memusage.sh: Likewise.
11796 * malloc/memusagestat.c: Likewise.
11797 * malloc/mtrace.pl: Likewise.
11798 * nscd/nscd.c: Likewise.
11799 * nss/getent.c: Likewise.
11800 * nss/makedb.c: Likewise.
11801 * posix/getconf.c: Likewise.
11802
18ea052c
SP
118032012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11804
11805 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
11806 numbers.
11807
9c89fca6
MF
118082012-12-30 Mike Frysinger <vapier@gentoo.org>
11809
11810 * math/bits/mathcalls.h (modf): Use __nonnull.
11811
085ec079
SP
118122012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11813
11814 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
11815 (split): Use macro CN instead of the bare value.
11816 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
11817 could be used.
11818 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
11819 instead of the bare value.
11820 (power1): Likewise.
11821
6d9f97e1
SP
118222012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11823
d63f73be
SP
11824 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
11825 __ATAN_TWOM.
11826 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11827
6d9f97e1
SP
11828 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
11829 their values.
11830 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11831 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11832 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
11833 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
11834
4c4febf5
AJ
118352012-12-28 Andreas Jaeger <aj@suse.de>
11836
af5843ef
AJ
11837 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
11838 values are from Linux 3.7.
11839
4c4febf5
AJ
11840 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
11841 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
11842
99136f82
SP
118432012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11844
2f216c3c 11845 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
11846 TRUE case.
11847
99136f82
SP
11848 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
11849 (norm): Likewise.
11850 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
11851 variables with preprocessor constants.
11852 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11853 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11854 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11855
7fffbdff
BH
118562012-12-27 Bruno Haible <bruno@clisp.org>
11857
11858 [BZ #14317]
11859 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
11860 only if needed.
11861
b76eb5f0
SP
118622012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11863
31a7fe5c
SP
11864 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
11865 and use variable directly.
11866 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
11867
b76eb5f0
SP
11868 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11869 MPONE.
11870 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
11871 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11872 variable MPONE.
11873 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11874 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11875 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
11876 include directive. Remove local variable MPONE.
11877 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
11878 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
11879 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11880
2c8bfe7d
DM
118812012-12-25 David S. Miller <davem@davemloft.net>
11882
11883 * version.h (RELEASE): Set to "development".
11884 (VERSION): Set to "2.17.90".
11885 * NEWS: Add 2.18 section.
11886
147d03b0
DM
118872012-12-21 David S. Miller <davem@davemloft.net>
11888
11889 * po/hr.po: Update from translation team.
11890
a8ebb2b9
AK
118912012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11892
11893 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
11894
95b4f1b6
SE
118952012-12-19 Steve Ellcey <sellcey@mips.com>
11896
b2d94007 11897 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 11898
cedb2a90
MS
118992012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11900
11901 * manual/contrib.texi (Contributors): Spelling correction.
11902
bbf527d6
DM
119032012-12-15 David S. Miller <davem@davemloft.net>
11904
11905 * po/ru.po: Update from translation team.
11906
bc38c906
DM
119072012-12-13 David S. Miller <davem@davemloft.net>
11908
85429b1a
DM
11909 * NEWS: Mention IFUNC testsuite enhancements.
11910
d283e353
DM
11911 * po/pl.po: Update from translation team.
11912 * po/bg.po: Likewise.
11913
bc38c906
DM
11914 * manual/contrib.texi (Contributors): Update entries for Hongjiu
11915 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
11916
a181b0d7
DM
119172012-12-11 David S. Miller <davem@davemloft.net>
11918
4641d57e
DM
11919 * po/sv.po: Update from translation team.
11920
f7bc6495
DM
11921 * po/vi.po: Update from translation team.
11922
6fc9048f
DM
11923 * po/cs.po: Update from translation team.
11924
a181b0d7
DM
11925 * po/de.po: Update from translation team.
11926 * po/eo.po: Likewise.
11927 * po/nl.po: Likewise.
11928
f70bfe80
SP
119292012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11930
3c8b4190
SP
11931 [BZ #14246]
11932 * manual/argp.texi (Argp Helper Functions): Move node to follow
11933 Argp Parsing State.
11934
f70bfe80
SP
11935 [BZ #14872]
11936 * manual/conf.texi (Limits on File System Capacity): Mention if
11937 terminating null is included in the max size.
11938
188f0adf
AJ
119392012-12-10 Andreas Jaeger <aj@suse.de>
11940
11941 * po/cs.po: Update from translation team.
11942
56e7d3ad
SP
119432012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11944
11945 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
11946 void pointer and cast to uintptr_t.
11947 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
11948 path.
11949 * sysdeps/s390/s390-64/memcpy.S: Likewise.
11950 * sysdeps/s390/s390-64/memset.S: Likewise.
11951
76f2d2ea 119522012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
11953
11954 [BZ #14833]
11955 * menual/message.texi (Message Translation): Fix typos.
11956 (Helper programs for gettext): Likewise.
11957
67cbf9a2
AS
119582012-12-07 Andreas Schwab <schwab@linux-m68k.org>
11959
11960 [BZ #14898]
11961 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
11962 Change to -1.
11963
682d0e9a
DM
119642012-12-07 David S. Miller <davem@davemloft.net>
11965
11966 * po/libc.pot: Update.
11967
573cd484
RH
119682012-12-07 Richard Henderson <rth@redhat.com>
11969
7e9da188 11970 [BZ #10114]
573cd484
RH
11971 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
11972 normal/normal case to before the switch.
11973 (_FP_DIV): Likewise.
11974
e933a943
MF
119752012-12-06 Carlos O'Donell <carlos@systemhalted.org>
11976 Mike Frysinger <vapier@gentoo.org>
11977
11978 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
11979 check for __NR_fadvise64_64.
11980
82123268
CM
119812012-12-06 Chris Metcalf <cmetcalf@tilera.com>
11982
11983 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
11984 0, not just to plain "0" as a statement.
11985 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
11986 with cw.
11987
d9814526
JM
119882012-12-06 Joseph Myers <joseph@codesourcery.com>
11989
11990 * NEWS: Use sourceware.org in Bugzilla URL.
11991
7728c574
SP
119922012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11993
f16946dd
SP
11994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11995 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11996
5704bbcb
SP
11997 * stdio-common/tst-put-error.c (do_test): Add newline to the
11998 padded test to ensure flush.
11999
17aa0516
JL
120002012-12-05 Jeff Law <law@redhat.com>
12001
12002 * sunrpc/etc.rpc (fedfs_admin): Add entry.
12003
363313b5
JM
120042012-12-05 Joseph Myers <joseph@codesourcery.com>
12005
effbd42a
JM
12006 * README: Don't refer to ports add-on as distributed separately.
12007 Mention AArch64 in list of systems supported in the ports add-on.
12008
87600365
JM
12009 * LICENSES: Add more non-FSF copyright and license notices.
12010
a0d7066a
JM
12011 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
12012 ((unused)).
12013
66ca5a5b
JM
12014 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
12015
363313b5
JM
12016 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
12017 10000 as width of padded output.
12018
b37984ad
JM
120192012-12-04 Joseph Myers <joseph@codesourcery.com>
12020
9003570a
JM
12021 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
12022
b37984ad
JM
12023 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
12024 variable LX with __attribute__ ((unused)).
12025 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12026 Likewise.
12027 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12028 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12029 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
12030 with __attribute__ ((unused)).
12031
c8df52ec
DM
120322012-12-04 David S. Miller <davem@abraco.davemloft.net>
12033
12034 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
12035
b3b099af
JM
120362012-12-04 Joseph Myers <joseph@codesourcery.com>
12037
c33aa6e3
JM
12038 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
12039 (CFLAGS-nldbl-acos.c): New variable.
12040 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
12041 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
12042 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
12043 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
12044 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
12045 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
12046 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
12047 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
12048 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
12049 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
12050 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
12051 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
12052 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
12053 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
12054 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
12055 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
12056 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
12057 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
12058 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
12059 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
12060 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
12061 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
12062 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
12063 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
12064 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
12065 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
12066 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
12067 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
12068 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
12069 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
12070 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
12071 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
12072 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
12073 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
12074 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
12075 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
12076 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
12077 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
12078 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
12079 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
12080 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
12081 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
12082 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
12083 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
12084 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
12085 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
12086 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
12087 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
12088 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
12089 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
12090 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
12091 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
12092 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
12093 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
12094 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
12095 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
12096 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
12097 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
12098 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
12099 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
12100 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
12101 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
12102 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
12103 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
12104 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
12105 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
12106 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
12107 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
12108 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
12109 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
12110 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
12111 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
12112 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
12113 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
12114 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
12115 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
12116 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
12117 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
12118 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
12119 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
12120 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
12121 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
12122 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
12123 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
12124 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
12125 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
12126 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
12127 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
12128 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
12129 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
12130 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
12131 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
12132 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
12133 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
12134 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
12135 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
12136 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
12137
20f0018d
JM
12138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12139 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12140
b3b099af
JM
12141 [BZ #14914]
12142 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
12143 whole low double instead of just low 47 bits when splitting values
12144 into two parts.
12145
029264d1
AM
121462012-12-03 Allan McRae <allan@archlinux.org>
12147
12148 * manual/stdio.texi (Predefined Printf Handlers): Remove
12149 @hsep and @vsep usage.
12150
c9d6789e
MF
121512012-12-03 Mike Frysinger <vapier@gentoo.org>
12152
12153 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
12154 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
12155
4b7634a5
JL
121562012-12-03 Jeff Law <law@redhat.com>
12157
12158 * time/sys/time.h (settimeofday): Do not mark TV argument
12159 as __nonnull.
12160
eb6cbd24
MF
121612012-12-01 Mike Frysinger <vapier@gentoo.org>
12162
12163 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
12164 when currently writing and seek to current position when not.
12165 * libio/Makefile (tests): Remove bug-fclose1.
12166 * libio/bug-fclose1.c: Delete.
12167
f638872a
JM
121682012-12-01 Joseph Myers <joseph@codesourcery.com>
12169
12170 * manual/arith.texi (feenableexcept): Fix typo.
12171 (fedisableexcept): Likewise.
12172
48085d14
RM
121732012-11-30 Roland McGrath <roland@hack.frob.com>
12174
12175 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
12176 second, differently-typed declaration, rather than a cast.
12177
1a538b9f
SP
121782012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12179
12180 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
12181 * include/rpc/svc.h: ... here.
12182
d07f2ff1 121832012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
12184
12185 [BZ #13013]
12186 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
12187 depending n and resplen2 to catch cases where answer
12188 equals answerp2.
12189
c93ec1f0
CD
121902012-11-29 Carlos O'Donell <carlos@systemhalted.org>
12191
12192 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
12193 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
12194
37db69de
MF
121952012-11-29 Mike Frysinger <vapier@gentoo.org>
12196
12197 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
12198
e10c4e4f
RM
121992012-11-29 Roland McGrath <roland@hack.frob.com>
12200
12201 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
12202
2af1b328
JL
122032012-11-28 Jeff Law <law@redhat.com>
12204
12205 [BZ #13761]
12206 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
12207 dataset_temporary. Track alloca usage into alloca_used.
12208 If dataset is large allocate and release it via malloc/free.
12209
111db5b1
FW
122102012-06-04 Florian Weimer <fweimer@redhat.com>
12211
f06cc227 12212 [BZ #14197]
111db5b1
FW
12213 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
12214
dd694abd
DM
122152012-11-28 David S. Miller <davem@davemloft.net>
12216
12217 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12218
9984dd01
JM
122192012-11-28 Joseph Myers <joseph@codesourcery.com>
12220
12221 [BZ #14803]
12222 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
12223 of pi/2 rounded to nearest to 64 bits.
12224 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
12225 nearest to 64 bits.
12226 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
12227 bits.
12228
14bc93a9
JL
122292012-11-28 Jeff Law <law@redhat.com>
12230 Martin Osvald <mosvald@redhat.com>
12231
12232 [BZ #14889]
12233 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
12234 * sunrpc/svc.c: Include time.h.
12235 (__svc_accept_failed): New function.
12236 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
12237 any reason other than EINTR, call __svc_accept_failed.
12238 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
12239 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
12240
e3c6aa3a
AS
122412012-11-28 Andreas Schwab <schwab@suse.de>
12242
12243 * scripts/abilist.awk: Also handle indirect functions in .opd
12244 section.
12245
1bead169
JM
122462012-11-28 Joseph Myers <joseph@codesourcery.com>
12247
12248 [BZ #13881]
12249 * sysdeps/x86/fpu/powl_helper.c: New file.
12250 * sysdeps/x86/fpu/Makefile: Likewise.
12251 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
12252 (p3): New object.
12253 (__ieee754_powl): Use __powl_helper for finite arguments except
12254 integer exponents below 8.
12255 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
12256 (p3): New object.
12257 (__ieee754_powl): Use __powl_helper for finite arguments except
12258 integer exponents below 8.
12259 * math/libm-test.inc (pow_test): Add more tests and enable some
12260 previously disabled tests.
12261 * sysdeps/i386/fpu/libm-test-ulps: Update.
12262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12263
0817d63d
SP
122642012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12265 Carlos O'Donell <carlos_odonell@mentor.com>
12266
12267 * nss/makedb.c (is_prime): Assert that input is odd and greater
12268 than 4. Note that fact in a comment too.
12269 (next_prime): Add 4 to input.
12270
de2fd463
SP
122712012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12272
12273 [BZ #11741]
12274 * libio/Makefile (tests): Add test case tst-fwrite-error.
12275 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
12276 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
12277 * libio/tst-fwrite-error.c: New test case.
12278
c515fb51
L
122792012-11-26 H.J. Lu <hongjiu.lu@intel.com>
12280
12281 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
12282 before casting to void *.
12283 * include/libc-internal.h (__pointer_type): New macro.
12284 (__integer_if_pointer_type_sub): Likewise.
12285 (__integer_if_pointer_type): Likewise.
12286 (cast_to_integer): Likewise.
12287 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
12288 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
12289 before casting to atomic64_t.
12290 (atomic_exchange_acq): Likewise.
12291 (__arch_exchange_and_add_body): Likewise.
12292 (__arch_add_body): Likewise.
12293 (atomic_add_negative): Likewise.
12294 (atomic_add_zero): Likewise.
12295
4cf77aa9
JM
122962012-11-26 Joseph Myers <joseph@codesourcery.com>
12297
12298 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
12299 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
12300 (add_fdes): Likewise.
12301 (linear_search_fdes): Likewise.
12302 (binary_search_unencoded_fdes): Likewise.
12303
d260b3b4
AS
123042012-11-26 Andreas Schwab <schwab@linux-m68k.org>
12305
12306 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
12307
67060746
AC
123082012-11-24 Adam Conrad <adconrad@0c3.net>
12309
12310 * configure.in: Autodetect C++ header directories.
12311 * configure: Regenerated.
12312
800938a1
MF
123132012-11-23 Mike Frysinger <vapier@gentoo.org>
12314
12315 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
12316
4e6e34e6
AS
123172012-11-23 Andreas Schwab <schwab@linux-m68k.org>
12318
12319 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12320
7c7feb47
JM
123212012-11-22 Joseph Myers <joseph@codesourcery.com>
12322
7184dcdf
JM
12323 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
12324 LDBL_MANT_DIG == 106]: Disable some tests.
12325 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12326 Likewise.
12327 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12328 Likewise.
12329
0a42601f
JM
12330 [BZ #14871]
12331 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
12332 input for small inputs. Return +/- pi/2 for large inputs.
12333 * math/libm-test.inc (atan_test): Add more tests.
12334
79c9b9fe
JM
12335 * sysdeps/generic/unwind-dw2-fde-glibc.c
12336 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
12337 __attribute__ ((unused)).
12338
c60d3bf2
JM
12339 [BZ #14645]
12340 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
12341 x * y if x and y are nonzero and z is zero.
12342
ef1e0867
JM
12343 [BZ #14811]
12344 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
12345 nonzero exponents with absolute value below 0x1p-117 to +/-
12346 0x1p-117.
12347
1468ded3
JM
12348 [BZ #14869]
12349 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
12350 up arguments below 2**-450, not just those below 2**-500.
12351 * math/libm-test.inc (hypot_test): Add another test.
12352
8e27e3cc
JM
12353 [BZ #14868]
12354 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12355 Return a+b for ratio over 2**120, not 2**60.
12356 * math/libm-test.inc (hypot_test): Add another test.
12357
c9c0279b
JM
12358 * math/libm-test.inc (clog_test): Use
12359 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
12360 (clog10_test): Likewise.
12361
7c7feb47
JM
12362 [BZ #6778]
12363 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
12364
fff1530e
AS
123652012-11-22 Andreas Schwab <schwab@suse.de>
12366
12367 * sysdeps/i386/fpu/libm-test-ulps: Update.
12368
94558d30
PT
123692012-11-22 Pino Toscano <toscano.pino@tiscali.it>
12370
12371 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
12372 printf output with newline.
12373
7e1be741
L
123742012-11-21 H.J. Lu <hongjiu.lu@intel.com>
12375
6bfea974
L
12376 [BZ #14865]
12377 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
12378 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
12379 -z nodlopen, -z initfirst and -z execstack support.
12380 * configure: Regenerated.
12381
7e1be741
L
12382 * elf/elf.h (DF_1_NODIRECT): New macro.
12383 (DF_1_IGNMULDEF): Likewise.
12384 (DF_1_NOKSYMS): Likewise.
12385 (DF_1_NOHDR): Likewise.
12386 (DF_1_EDITED): Likewise.
12387 (DF_1_NORELOC): Likewise.
12388 (DF_1_SYMINTPOSE): Likewise.
12389 (DF_1_GLOBAUDIT): Likewise.
12390 (DF_1_SINGLETON): Likewise.
12391 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
12392 DT_1_SUPPORTED_MASK bits.
12393 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
12394
105ce2ce
CD
123952012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
12396
12397 * sysdeps/unix/make-syscalls.sh: Document prefixes.
12398
123be9de
TS
123992012-11-20 Thomas Schwinge <thomas@codesourcery.com>
12400
d072f3f7
TS
12401 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
12402 macro.
12403
123be9de
TS
12404 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
12405 (sendmmsg): Move declarations...
12406 * socket/sys/socket.h: ... here.
12407 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
12408 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
12409 include it from...
12410 * socket/recvmmsg.c: ... this new file.
12411 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
12412 (sendmmsg): Rename to __sendmmsg, create weak alias and make
12413 definition of __sendmmsg hidden.
12414 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
12415 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
12416 Move ENOSYS stub into and include it from...
12417 * socket/sendmmsg.c: ... this new file.
12418 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
12419 (sysdep_routines): Move recvmmsg and sendmmsg...
12420 * socket/Makefile (routines): ... here.
12421 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
12422 (GLIBC_PRIVATE): Add __sendmmsg.
12423 * include/sys/socket.h (__sendmmsg): Add declarations.
12424 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
12425 sendmmsg.
12426
cf9a5d18
JM
124272012-11-20 Joseph Myers <joseph@codesourcery.com>
12428
12429 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
12430 variable I1 with __attribute__ ((unused)).
12431 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12432
ecd4caf9
JM
124332012-11-19 Joseph Myers <joseph@codesourcery.com>
12434
be14d48f
JM
12435 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
12436 DUMMY variables with __attribute__ ((unused)).
12437
ecd4caf9
JM
12438 * bits/byteswap.h: Include <bits/types.h>.
12439 (__bswap_64): Use __uint64_t instead of unsigned long long int.
12440
986cab95
PT
124412012-11-19 Pino Toscano <toscano.pino@tiscali.it>
12442
12443 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
12444 string_t. Do not manually set errno.
12445 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
12446 length with __strnlen. Make sure to both set errno and return it on
12447 failure.
12448
6d33cc9d
DM
124492012-11-19 David S. Miller <davem@davemloft.net>
12450
12451 With help from Joseph Myers.
12452 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
12453 very large arguments properly.
12454 * math/libm-test.inc (atan_test): New tests.
12455 (atan2_test): New tests.
12456 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12457 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12458
ee663277
JM
124592012-11-19 Joseph Myers <joseph@codesourcery.com>
12460
877f2d8e
JM
12461 [BZ #14856]
12462 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
12463 Define to 3.
12464
116fc08a
JM
12465 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
12466 [POSIX] (EADDRNOTAVAIL): Likewise.
12467 [POSIX] (EAFNOSUPPORT): Likewise.
12468 [POSIX] (EALREADY): Likewise.
12469 [POSIX] (ECONNABORTED): Likewise.
12470 [POSIX] (ECONNREFUSED): Likewise.
12471 [POSIX] (ECONNRESET): Likewise.
12472 [POSIX] (EDESTADDRREQ): Likewise.
12473 [POSIX] (EDQUOT): Likewise.
12474 [POSIX] (EHOSTUNREACH): Likewise.
12475 [POSIX] (EIDRM): Likewise.
12476 [POSIX] (EISCONN): Likewise.
12477 [POSIX] (ELOOP): Likewise.
12478 [POSIX] (EMULTIHOP): Likewise.
12479 [POSIX] (ENETDOWN): Likewise.
12480 [POSIX] (ENETUNREACH): Likewise.
12481 [POSIX] (ENOBUFS): Likewise.
12482 [POSIX] (ENODATA): Likewise.
12483 [POSIX] (ENOLINK): Likewise.
12484 [POSIX] (ENOMSG): Likewise.
12485 [POSIX] (ENOPROTOOPT): Likewise.
12486 [POSIX] (ENOSR): Likewise.
12487 [POSIX] (ENOSTR): Likewise.
12488 [POSIX] (ENOTCONN): Likewise.
12489 [POSIX] (ENOTSOCK): Likewise.
12490 [POSIX] (EOPNOTSUPP): Likewise.
12491 [POSIX] (EOVERFLOW): Likewise.
12492 [POSIX] (EPROTO): Likewise.
12493 [POSIX] (EPROTONOSUPPORT): Likewise.
12494 [POSIX] (EPROTOTYPE): Likewise.
12495 [POSIX] (ESTALE): Likewise.
12496 [POSIX] (ETIME): Likewise.
12497 [POSIX] (ETXTBSY): Likewise.
12498 [POSIX] (EWOULDBLOCK): Likewise.
12499 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
12500 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
12501 [POSIX] (SEEK_CUR): Likewise.
12502 [POSIX] (SEEK_END): Likewise.
12503 [POSIX || UNIX98] (mode_t): Do not require.
12504 [POSIX] (off_t): Likewise.
12505 [POSIX] (pid_t): Likewise.
12506 [POSIX] (sys/stat.h): Do not allow header.
12507 [POSIX] (unistd.h): Likewise.
12508 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
12509 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
12510 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
12511 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
12512 require.
12513 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
12514 sigevent): Specify elements.
12515 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
12516 entry.
12517 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
12518 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
12519
a483863f
JM
12520 * conform/data/cpio.h-data [POSIX]: Disable whole file.
12521 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
12522 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
12523 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
12524 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
12525 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
12526 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
12527 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
12528 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
12529 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
12530 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
12531 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
12532 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
12533 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
12534 Likewise.
12535 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
12536 Likewise.
12537 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
12538 Likewise.
12539 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
12540 Likewise.
12541 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
12542 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
12543 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
12544 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
12545 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
12546 Specify lower bound on value.
12547 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
12548 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
12549 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
12550 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
12551 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
12552 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
12553 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
12554 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
12555 value.
12556 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
12557 as optional.
12558 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
12559 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
12560 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
12561 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
12562 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
12563 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
12564 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
12565 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
12566 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
12567 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
12568 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
12569 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
12570 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
12571 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
12572 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
12573 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
12574 entry.
12575 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
12576 optional.
12577 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
12578 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
12579 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
12580 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
12581 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
12582 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
12583 Likewise.
12584 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
12585 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
12586 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
12587 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
12588 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
12589 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
12590 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
12591 as optional.
12592 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
12593 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
12594 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
12595 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
12596 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
12597 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
12598 specify as optional.
12599 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
12600 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
12601 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
12602 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
12603 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
12604 [XPG3] (NL_LANGMAX): Likewise.
12605 [POSIX || XPG3] (NL_MSGMAX): Likewise.
12606 [POSIX || XPG3] (NL_NMAX): Likewise.
12607 [POSIX || XPG3] (NL_SETMAX): Likewise.
12608 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
12609 [XPG3] (NZERO): Likewise.
12610 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
12611 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
12612 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
12613 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
12614 (REG_ERANGE): Expect.
12615 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
12616 optional-constant.
12617 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
12618 Use (void) in prototype.
12619 [POSIX] (*_t): Allow.
12620 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
12621 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
12622 (WRDE_BADVAL): Expect.
12623
5ba924e3
JM
12624 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
12625 expect.
12626 [XPG3 || XPG4] (O_RSYNC): Likewise.
12627 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
12628 Likewise.
12629 [XPG3 || XPG4] (pthread_sigmask): Likewise.
12630 [XPG3 || XPG4] (sigqueue): Likewise.
12631 [XPG3 || XPG4] (sigtimedwait): Likewise.
12632 [XPG3 || XPG4] (sigwaitinfo): Likewise.
12633 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
12634 [XPG3 || XPG4] (vsnprintf): Likewise.
12635 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
12636 Likewise.
12637 [XPG3 || XPG4] (blksize_t): Likewise.
12638 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
12639 Likewise.
12640 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
12641 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12642 [XPG3 || XPG4] (struct itimerspec): Likewise.
12643 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
12644 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
12645 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
12646 [XPG3 || XPG4] (clockid_t): Likewise.
12647 [XPG3 || XPG4] (timer_t): Likewise.
12648 [XPG3 || XPG4] (clock_getres): Likewise.
12649 [XPG3 || XPG4] (clock_gettime): Likewise.
12650 [XPG3 || XPG4] (clock_settime): Likewise.
12651 [XPG3 || XPG4] (nanosleep): Likewise.
12652 [XPG3 || XPG4] (timer_create): Likewise.
12653 [XPG3 || XPG4] (timer_delete): Likewise.
12654 [XPG3 || XPG4] (timer_gettime): Likewise.
12655 [XPG3 || XPG4] (timer_getoverrun): Likewise.
12656 [XPG3 || XPG4] (timer_settime): Likewise.
12657 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
12658 [XPG3 || XPG4] (getlogin_r): Likewise.
12659 [XPG3 || XPG4] (pread): Likewise.
12660 [XPG3 || XPG4] (pthread_atfork): Likewise.
12661 [XPG3 || XPG4] (pwrite): Likewise.
12662
ee663277
JM
12663 [BZ #14835]
12664 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
12665 <bits/siginfo.h>.
12666
942caa16
PT
126672012-11-19 Pino Toscano <toscano.pino@tiscali.it>
12668
e19af380
PT
12669 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
12670 finalizing MALLSTREAM.
12671
942caa16
PT
12672 * sysdeps/mach/hurd/syncfs.c: New file.
12673
cfde9b46
SP
126742012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12675
12676 [BZ #14719]
12677 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
12678 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
12679 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
12680 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
12681 (_nss_dns_gethostbyname4_r): Likewise.
12682 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
12683 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
12684
f6da27e5
PH
126852012-11-19 Peng Haitao <penght@cn.fujitsu.com>
12686
12687 [BZ #13763]
12688 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
12689
6665d4a2
SM
126902012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
12691
1f51ee92
SM
12692 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
12693 * elf/cache.c (print_entry): Print ",AArch64" for
12694 FLAG_AARCH64_LIB64
12695
6665d4a2
SM
12696 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
12697 * elf/cache.c (print_entry): Print ",hard-float" for
12698 FLAG_ARM_LIBHF.
12699
05b227bd
DM
127002012-11-18 David S. Miller <davem@davemloft.net>
12701
12702 With help from Joseph Myers.
12703 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
12704 cutoff to 2**-13.
12705 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
12706 cutoff to 2**-25.
12707 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
12708 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
12709 small.
12710 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
12711 * math/libm-test.inc (y0_test): New tests.
12712 (y1_test): New tests.
12713 * sysdeps/i386/fpu/libm-test-ulps: Update.
12714 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12715 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12716
786b0b67
AS
127172012-11-18 Andreas Schwab <schwab@linux-m68k.org>
12718
12719 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
12720 64-bit targets.
12721 * configure: Regenerated.
12722
8e18b86d
DM
127232012-11-17 David S. Miller <davem@davemloft.net>
12724
12725 [BZ #14811]
12726 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
12727 nonzero exponents with absolute value below 0x1p-128 to +/-
12728 0x1p-128.
12729
531f1ae0
JM
127302012-11-17 Joseph Myers <joseph@codesourcery.com>
12731
12df29e2
JM
12732 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
12733
150dc1a0
JM
12734 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
12735
531f1ae0
JM
12736 * posix/getconf-speclist.c: New file.
12737 * posix/posix-envs.def: Likewise.
12738 * posix/confstr.c (START_ENV_GROUP): New macro.
12739 (END_ENV_GROUP): Likewise.
12740 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12741 (KNOWN_PRESENT_ENV_STRING): Likewise.
12742 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12743 (UNKNOWN_ENVIRONMENT): Likewise.
12744 (confstr): Include posix-envs.def instead of handling
12745 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
12746 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
12747 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
12748 (END_ENV_GROUP): Likewise.
12749 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12750 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12751 (UNKNOWN_ENVIRONMENT): Likewise.
12752 (__sysconf): Include posix-envs.def instead of handling associated
12753 cases directly here.
12754 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
12755 preprocessing getconf-speclist.c rather than running getconf or
12756 generating empty file.
12757
a93f9cbc
PT
127582012-11-16 Pino Toscano <toscano.pino@tiscali.it>
12759
12760 * scripts/check-local-headers.sh: Ignore 'mach' headers.
12761
d64d9f87
AL
127622012-11-16 Andrej Lajovic <natrij@gmail.com>
12763
12764 [BZ #14672]
12765 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
12766
447885eb
DM
127672012-11-16 David S. Miller <davem@davemloft.net>
12768
12769 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
12770 smaller than LDBL_EPSILON/2.0L, just return xm1.
12771
bcbf9830
L
127722012-11-16 H.J. Lu <hongjiu.lu@intel.com>
12773
12774 * elf/tst-array1.c (init): Set constructor priority to 1000.
12775 (fini): Set destructor priority to 1000.
12776 * elf/tst-array2dep.c: Likewise.
12777
2b766585
SP
127782012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12779
12780 [BZ #11741]
12781 * libio/fileops.c (_IO_new_file_write): Correctly return error.
12782 (_IO_new_file_xsputn): Also return EOF if none of the input
12783 data was written when overflow failed.
12784 * libio/iopadn.c (_IO_padn): Likewise.
12785 * libio/iowpadn.c (_IO_wpadn): Likewise.
12786 * stdio-common/tst-put-error.c: Add copyright notice.
12787 (do_test): Add case for printing padded string.
12788 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
12789 _IO_padn returned error.
12790 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
12791 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
12792 return EOF.
12793
b1848fde
SP
127942012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12795
12796 * libio/libioP.h: Add comment note that the references to C++
12797 bits are now obsolete.
12798
2fd89785
MS
127992012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12800
12801 * math/libm-test.inc (check_complex): Use asprintf.
12802
e3ea5409
JM
128032012-11-14 Joseph Myers <joseph@codesourcery.com>
12804
12805 * debug/pcprofiledump.c (print_version): Update copyright year.
12806 * malloc/memusagestat.c (print_version): Likewise.
12807
2e64d265
L
128082012-11-14 H.J. Lu <hongjiu.lu@intel.com>
12809
12810 [BZ #14831]
12811 * elf/Makefile (tests): Add tst-audit8.
12812 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
12813 ($(objpfx)tst-audit8.out): New target.
12814 (tst-audit8-ENV): New variable.
12815 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
12816 audit if l_reloc_result is NULL.
12817 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
12818 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
12819 * elf/tst-audit8.c: New file.
12820
c485e4d2
MS
128212012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12822
12823 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
12824 * misc/Makefile (CFLAGS-select.c): Define.
12825 * posix/Makefile (CFLAGS-pause.c): Define.
12826
3a0d900a
DM
128272012-11-13 David S. Miller <davem@davemloft.net>
12828
12829 * crypt/Makefile: Move test targets after toplevel Rules
12830 inclusion. Grab any necessary sysdep routines when linking.
12831 * crypt/md5.c (md5_process_block): Remove define, we will always
12832 name it __md5_process_block.
12833 (md5_finish_ctx): Update md5_process_block call.
12834 (md5_stream): Likewise.
12835 (md5_process_bytes): Likewise.
12836 (md5_process_block): Rename to __md5_process_block and move to ...
12837 * crypt/md5-block.c: ... here.
12838 * crypt/sha256.c (sha256_process_block): Move to ...
12839 * crypt/sha256-block.c: ... here.
12840 * crypt/sha512.c (sha512_process_block): Move to ...
12841 * crypt/sha512-block.c: ... here.
12842 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
12843 path.
12844 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
12845 * sysdeps/sparc/sparc64/multiarch/Makefile
12846 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
12847 crypt subdir.
12848 (localedef-aux): Add md5 crypto assembler when in locale subdir.
12849 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
12850 multiarch changes.
12851 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
12852 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
12853 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
12854 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
12855 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
12856 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
12857 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
12858 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
12859 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
12860 file.
12861 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
12862 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
12863 file.
12864 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
12865
8ca89318
JM
128662012-11-13 Joseph Myers <joseph@codesourcery.com>
12867
e27d476a
JM
12868 * timezone/tzselect.ksh: Update from tzcode git revision
12869 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
12870 * timezone/zdump.c: Likewise.
12871 * timezone/zic.c: Likewise.
12872 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
12873 in TZVERSION setting, not $(PKGVERSION).
12874 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
12875 REPORT_BUGS_TO settings.
12876
8ca89318
JM
12877 [BZ #14838]
12878 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
12879 macro.
12880
47594329
MS
128812012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12882
12883 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
12884 detection to immediately after _FP_ROUND().
12885 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
12886 bits are 0.
12887
640ac3f1
DM
128882012-11-11 David S. Miller <davem@davemloft.net>
12889
12890 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
12891 inttypes.h
12892 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
12893 __close rather than their public counterparts.
12894
3d2577bb
JM
128952012-11-10 Joseph Myers <joseph@codesourcery.com>
12896
12897 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
12898 file.
12899 [UNIX98] (sem_timedwait): Do not expect.
12900 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
12901 [XPG4 || UNIX98] (sockatmark): Do not expect.
12902 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
12903 (clock_getcpuclockid): Do not expect.
12904 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
12905 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
12906 Do not expect.
12907 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
12908 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
12909 [UNIX98] (vwscanf): Likewise.
12910 [UNIX98] (vswscanf): Likewise.
12911
fb1ae1ee
JM
129122012-11-09 Joseph Myers <joseph@codesourcery.com>
12913
9ec6f8bd
JM
12914 * timezone/version.h: Remove file.
12915 * timezone/README: Do not refer to version.h.
12916 * timezone/Makefile ($(objpfx)zic.o): New dependency on
12917 $(objpfx)version.h.
12918 ($(objpfx)zdump.o): Likewise.
c3f81911 12919 ($(objpfx)version.h): New target.
9ec6f8bd 12920
0aa8f8a1
JM
12921 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
12922 2012i.
12923 * timezone/README: Don't mention modification to tzselect.ksh.
12924 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
12925 work on unmodified tzselect.ksh. Substitute version numbers in
12926 tzselect.ksh.
12927
4e87147f
JM
12928 * Makefile (format-me): Remove.
12929 (INSTALL): Adjust indentation. Use commands directly instead of
12930 using $(format-me).
12931
8b748aed
JM
12932 * aclocal.m4 (ACX_PKGVERSION): New macro.
12933 (ACX_BUGURL): Likewise.
12934 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
12935 (PKGVERSION): New AC_DEFINE_UNQUOTED.
12936 (REPORT_BUGS_TO): Likewise.
12937 * configure: Regenerated.
12938 * config.h.in (PKGVERSION): New macro.
12939 (REPORT_BUGS_TO): Likewise.
12940 * config.make.in (PKGVERSION): New variable.
12941 (PKGVERSION_TEXI): Likewise.
12942 (REPORT_BUGS_TO): Likewise.
12943 (REPORT_BUGS_TEXI): Likewise.
12944 * Makefile (format-me): Use -I$(common-objpfx)manual.
12945 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
12946 ($(common-objpfx)manual/%): New target.
12947 (manual/%): Remove target.
12948 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
12949 (print_version): Use PKGVERSION.
12950 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
12951 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
12952 and REPORT_BUGS_TO.
12953 ($(objpfx)xtrace): Likewise.
12954 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
12955 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
12956 (print_version): Use PKGVERSION.
12957 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
12958 (do_version): Use PKGVERSION.
12959 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
12960 REPORT_BUGS_TO.
12961 (common-ldd-rewrite): Likewise.
12962 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
12963 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
12964 (print_version): Use PKGVERSION.
12965 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
12966 * elf/pldd.c (argp_program_bug_address): Remove variable.
12967 (more_help): New function.
12968 (argp): Use more_help.
12969 (print_version): Use PKGVERSION.
12970 * elf/sln.c (main): Use PKGVERSION.
12971 (usage): Use REPORT_BUGS_TO.
12972 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
12973 (top level): Use PKGVERSION.
12974 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
12975 (print_version): Use PKGVERSION.
12976 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
12977 (print_version): Use PKGVERSION.
12978 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
12979 (print_version): Use PKGVERSION.
12980 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
12981 (print_version): Use PKGVERSION.
12982 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
12983 (print_version): Use PKGVERSION.
12984 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
12985 (print_version): Use PKGVERSION.
12986 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
12987 and BUGURL.
12988 ($(objpfx)memusage): Likewise.
12989 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
12990 (do_version): Use PKGVERSION.
12991 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
12992 (print_version): Use PKGVERSION.
12993 * malloc/mtrace.pl ($PACKAGE): Remove variable.
12994 ($PKGVERSION): New variable.
12995 ($REPORT_BUGS_TO): Likewise.
12996 (usage): Use $REPORT_BUGS_TO.
12997 (top level): Use $PKGVERSION.
12998 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
12999 ($(objpfx)pkgvers.texi): New rule.
13000 ($(objpfx)stamp-pkgvers): Likewise.
13001 * manual/install.texi: Include pkgvers.texi.
13002 (--with-pkgversion): Document new configure option.
13003 (--with-bugurl): Likewise.
13004 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
13005 than necessarily for this particular distribution. Use
13006 REPORT_BUGS_TO for where to report bugs.
13007 * INSTALL: Regenerated.
13008 * manual/libc.texinfo: Include pkgvers.texi.
13009 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
13010 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
13011 (print_version): Use PKGVERSION.
13012 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
13013 (print_version): Use PKGVERSION.
13014 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
13015 (print_version): Use PKGVERSION.
13016 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
13017 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
13018 macro.
13019 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
13020 (print_version): Use PKGVERSION.
13021 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
13022 (print_version): Use PKGVERSION.
13023 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
13024 and PKGVERSION.
13025
92e4b6a9
JM
13026 * timezone/checktab.awk: Update from tzcode 2012i.
13027 * timezone/ialloc.c: Likewise.
13028 * timezone/private.h: Likewise.
13029 * timezone/scheck.c: Likewise.
13030 * timezone/tzfile.h: Likewise.
13031 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
13032 (TZVERSION): Hardcode tzcode version number.
13033 * timezone/zdump.c: Update from tzcode 2012i.
13034 * timezone/zic.c: Likewise.
13035 * timezone/version.h: New file.
13036 * timezone/README: Describe version.h. Update upstream location.
13037
9bde902c
JM
13038 [BZ #14824]
13039 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
13040 (mktemp): Enable declaration.
13041 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
13042 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
13043 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
13044 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
13045 Likewise.
13046 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
13047 Likewise.
13048 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
13049 Likewise.
13050 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
13051 Likewise.
13052 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
13053 Likewise.
13054 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
13055 Likewise.
13056
fb1ae1ee
JM
13057 [BZ #14821]
13058 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
13059 offset in buffer as u_int32_t not u_long. Consistently use memcpy
13060 for copies of such integer values.
13061 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13062 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13063
2c1adbcb
AJ
130642012-11-09 Andreas Jaeger <aj@suse.de>
13065
13066 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
13067 definitions and declarations that are provided by
13068 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13069
d0f8457e
AK
130702012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13071
3a235abb 13072 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
13073 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
13074 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
13075 definition.
13076
57241e26
MS
130772012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13078
13079 * elf/elf.h: Update comment before AArch64 relocations.
13080
60e8270d
DM
130812012-11-07 David S. Miller <davem@davemloft.net>
13082
13083 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
13084 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13085 (__start_context): Declare.
13086 (__makecontext_ret): Delete.
13087 (__makecontext): Hook up __start_context instead of
13088 __makecontext_ret.
13089 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
13090 (sysdep_routines): Add __start_context when in stdlib.
13091
0fbb0fbc
JM
130922012-11-07 Joseph Myers <joseph@codesourcery.com>
13093
13094 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
13095 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
13096 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
13097 hardcoded "nm".
13098 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
13099 (READELF): New variable. Use it instead of hardcoded "readelf".
13100
eb48db7e
L
131012012-11-07 H.J. Lu <hongjiu.lu@intel.com>
13102
13103 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
13104 * sysdeps/x86/Makefile: Here.
13105 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
13106 * sysdeps/x86/tst-xmmymm.sh: This.
13107
05bcf62a
JM
131082012-11-07 Joseph Myers <joseph@codesourcery.com>
13109
c4b6cf53
JM
13110 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
13111 expectations.
13112 [UNIX98] (pthread_barrier_t): Do not expect.
13113 [UNIX98] (pthread_barrierattr_t): Likewise.
13114 [UNIX98] (pthread_spinlock_t): Likewise.
13115 [UNIX98] (pthread_barrier_destroy): Likewise.
13116 [UNIX98] (pthread_barrier_init): Likewise.
13117 [UNIX98] (pthread_barrier_wait): Likewise.
13118 [UNIX98] (pthread_barrierattr_destroy): Likewise.
13119 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
13120 [UNIX98] (pthread_barrierattr_init): Likewise.
13121 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
13122 [UNIX98] (pthread_getcpuclockid): Likewise.
13123 [UNIX98] (pthread_mutex_timedlock): Likewise.
13124 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
13125 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
13126 [UNIX98] (pthread_sigmask): Likewise.
13127 [UNIX98] (pthread_spin_destroy): Likewise.
13128 [UNIX98] (pthread_spin_init): Likewise.
13129 [UNIX98] (pthread_spin_lock): Likewise.
13130 [UNIX98] (pthread_spin_trylock): Likewise.
13131 [UNIX98] (pthread_spin_unlock): Likewise.
13132 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
13133 Do not expect.
13134 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
13135 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
13136 [XPG3 || XPG4] (pthread_cond_t): Likewise.
13137 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
13138 [XPG3 || XPG4] (pthread_key_t): Likewise.
13139 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
13140 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
13141 [XPG3 || XPG4] (pthread_once_t): Likewise.
13142 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
13143 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
13144 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
13145 [XPG3 || XPG4] (pthread_t): Likewise.
13146
cbe6e120
JM
13147 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
13148 not expect.
13149 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
13150
1b126443
JM
13151 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
13152 Change function return type to int.
13153
b961a573
JM
13154 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
13155 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
13156 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
13157 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
13158 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
13159 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
13160 [!POSIX] (posix_madvise): Likewise.
13161 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
13162 && !UNIX98].
13163 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
13164 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
13165 (mode_t): Likewise.
13166 (posix_mem_offset): Likewise.
13167 (posix_typed_mem_get_info): Likewise.
13168 (posix_typed_mem_open): Likewise.
13169
9e188909
JM
13170 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
13171 Change condition to [XOPEN2K8].
13172
05bcf62a
JM
13173 * conform/conformtest.pl: Preprocess allow-header data with -x c
13174 instead of from stdin.
13175 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
13176 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
13177 [C99-based standards] (cerfc): Likewise.
13178 [C99-based standards] (cexp2): Likewise.
13179 [C99-based standards] (cexpm1): Likewise.
13180 [C99-based standards] (clog10): Likewise.
13181 [C99-based standards] (clog1p): Likewise.
13182 [C99-based standards] (clog2): Likewise.
13183 [C99-based standards] (clgamma): Likewise.
13184 [C99-based standards] (ctgamma): Likewise.
13185 [C99-based standards] (cerff): Likewise.
13186 [C99-based standards] (cerfcf): Likewise.
13187 [C99-based standards] (cexp2f): Likewise.
13188 [C99-based standards] (cexpm1f): Likewise.
13189 [C99-based standards] (clog10f): Likewise.
13190 [C99-based standards] (clog1pf): Likewise.
13191 [C99-based standards] (clog2f): Likewise.
13192 [C99-based standards] (clgammaf): Likewise.
13193 [C99-based standards] (ctgammaf): Likewise.
13194 [C99-based standards] (cerfl): Likewise.
13195 [C99-based standards] (cerfcl): Likewise.
13196 [C99-based standards] (cexp2l): Likewise.
13197 [C99-based standards] (cexpm1l): Likewise.
13198 [C99-based standards] (clog10l): Likewise.
13199 [C99-based standards] (clog1pl): Likewise.
13200 [C99-based standards] (clog2l): Likewise.
13201 [C99-based standards] (clgammal): Likewise.
13202 [C99-based standards] (ctgammal): Likewise.
13203 * conform/data/inttypes.h-data [C99-based standards]: Include
13204 stdint.h-data. Remove all expectations for stdint.h contents.
13205 [C99-based standards] (PRI*): Do not allow.
13206 [C99-based standards] (SCN*): Likewise.
13207 [C99-based standards] (*_t): Likewise.
13208 [C99-based-standards] (PRId8): Expect macro.
13209 [C99-based-standards] (PRIi8): Likewise.
13210 [C99-based-standards] (PRIo8): Likewise.
13211 [C99-based-standards] (PRIu8): Likewise.
13212 [C99-based-standards] (PRIx8): Likewise.
13213 [C99-based-standards] (PRIX8): Likewise.
13214 [C99-based-standards] (SCNd8): Likewise.
13215 [C99-based-standards] (SCNi8): Likewise.
13216 [C99-based-standards] (SCNo8): Likewise.
13217 [C99-based-standards] (SCNu8): Likewise.
13218 [C99-based-standards] (SCNx8): Likewise.
13219 [C99-based-standards] (PRIdLEAST8): Likewise.
13220 [C99-based-standards] (PRIiLEAST8): Likewise.
13221 [C99-based-standards] (PRIoLEAST8): Likewise.
13222 [C99-based-standards] (PRIuLEAST8): Likewise.
13223 [C99-based-standards] (PRIxLEAST8): Likewise.
13224 [C99-based-standards] (PRIXLEAST8): Likewise.
13225 [C99-based-standards] (SCNdLEAST8): Likewise.
13226 [C99-based-standards] (SCNiLEAST8): Likewise.
13227 [C99-based-standards] (SCNoLEAST8): Likewise.
13228 [C99-based-standards] (SCNuLEAST8): Likewise.
13229 [C99-based-standards] (SCNxLEAST8): Likewise.
13230 [C99-based-standards] (PRIdFAST8): Likewise.
13231 [C99-based-standards] (PRIiFAST8): Likewise.
13232 [C99-based-standards] (PRIoFAST8): Likewise.
13233 [C99-based-standards] (PRIuFAST8): Likewise.
13234 [C99-based-standards] (PRIxFAST8): Likewise.
13235 [C99-based-standards] (PRIXFAST8): Likewise.
13236 [C99-based-standards] (SCNdFAST8): Likewise.
13237 [C99-based-standards] (SCNiFAST8): Likewise.
13238 [C99-based-standards] (SCNoFAST8): Likewise.
13239 [C99-based-standards] (SCNuFAST8): Likewise.
13240 [C99-based-standards] (SCNxFAST8): Likewise.
13241 [C99-based-standards] (PRId16): Likewise.
13242 [C99-based-standards] (PRIi16): Likewise.
13243 [C99-based-standards] (PRIo16): Likewise.
13244 [C99-based-standards] (PRIu16): Likewise.
13245 [C99-based-standards] (PRIx16): Likewise.
13246 [C99-based-standards] (PRIX16): Likewise.
13247 [C99-based-standards] (SCNd16): Likewise.
13248 [C99-based-standards] (SCNi16): Likewise.
13249 [C99-based-standards] (SCNo16): Likewise.
13250 [C99-based-standards] (SCNu16): Likewise.
13251 [C99-based-standards] (SCNx16): Likewise.
13252 [C99-based-standards] (PRIdLEAST16): Likewise.
13253 [C99-based-standards] (PRIiLEAST16): Likewise.
13254 [C99-based-standards] (PRIoLEAST16): Likewise.
13255 [C99-based-standards] (PRIuLEAST16): Likewise.
13256 [C99-based-standards] (PRIxLEAST16): Likewise.
13257 [C99-based-standards] (PRIXLEAST16): Likewise.
13258 [C99-based-standards] (SCNdLEAST16): Likewise.
13259 [C99-based-standards] (SCNiLEAST16): Likewise.
13260 [C99-based-standards] (SCNoLEAST16): Likewise.
13261 [C99-based-standards] (SCNuLEAST16): Likewise.
13262 [C99-based-standards] (SCNxLEAST16): Likewise.
13263 [C99-based-standards] (PRIdFAST16): Likewise.
13264 [C99-based-standards] (PRIiFAST16): Likewise.
13265 [C99-based-standards] (PRIoFAST16): Likewise.
13266 [C99-based-standards] (PRIuFAST16): Likewise.
13267 [C99-based-standards] (PRIxFAST16): Likewise.
13268 [C99-based-standards] (PRIXFAST16): Likewise.
13269 [C99-based-standards] (SCNdFAST16): Likewise.
13270 [C99-based-standards] (SCNiFAST16): Likewise.
13271 [C99-based-standards] (SCNoFAST16): Likewise.
13272 [C99-based-standards] (SCNuFAST16): Likewise.
13273 [C99-based-standards] (SCNxFAST16): Likewise.
13274 [C99-based-standards] (PRId32): Likewise.
13275 [C99-based-standards] (PRIi32): Likewise.
13276 [C99-based-standards] (PRIo32): Likewise.
13277 [C99-based-standards] (PRIu32): Likewise.
13278 [C99-based-standards] (PRIx32): Likewise.
13279 [C99-based-standards] (PRIX32): Likewise.
13280 [C99-based-standards] (SCNd32): Likewise.
13281 [C99-based-standards] (SCNi32): Likewise.
13282 [C99-based-standards] (SCNo32): Likewise.
13283 [C99-based-standards] (SCNu32): Likewise.
13284 [C99-based-standards] (SCNx32): Likewise.
13285 [C99-based-standards] (PRIdLEAST32): Likewise.
13286 [C99-based-standards] (PRIiLEAST32): Likewise.
13287 [C99-based-standards] (PRIoLEAST32): Likewise.
13288 [C99-based-standards] (PRIuLEAST32): Likewise.
13289 [C99-based-standards] (PRIxLEAST32): Likewise.
13290 [C99-based-standards] (PRIXLEAST32): Likewise.
13291 [C99-based-standards] (SCNdLEAST32): Likewise.
13292 [C99-based-standards] (SCNiLEAST32): Likewise.
13293 [C99-based-standards] (SCNoLEAST32): Likewise.
13294 [C99-based-standards] (SCNuLEAST32): Likewise.
13295 [C99-based-standards] (SCNxLEAST32): Likewise.
13296 [C99-based-standards] (PRIdFAST32): Likewise.
13297 [C99-based-standards] (PRIiFAST32): Likewise.
13298 [C99-based-standards] (PRIoFAST32): Likewise.
13299 [C99-based-standards] (PRIuFAST32): Likewise.
13300 [C99-based-standards] (PRIxFAST32): Likewise.
13301 [C99-based-standards] (PRIXFAST32): Likewise.
13302 [C99-based-standards] (SCNdFAST32): Likewise.
13303 [C99-based-standards] (SCNiFAST32): Likewise.
13304 [C99-based-standards] (SCNoFAST32): Likewise.
13305 [C99-based-standards] (SCNuFAST32): Likewise.
13306 [C99-based-standards] (SCNxFAST32): Likewise.
13307 [C99-based-standards] (PRId64): Likewise.
13308 [C99-based-standards] (PRIi64): Likewise.
13309 [C99-based-standards] (PRIo64): Likewise.
13310 [C99-based-standards] (PRIu64): Likewise.
13311 [C99-based-standards] (PRIx64): Likewise.
13312 [C99-based-standards] (PRIX64): Likewise.
13313 [C99-based-standards] (SCNd64): Likewise.
13314 [C99-based-standards] (SCNi64): Likewise.
13315 [C99-based-standards] (SCNo64): Likewise.
13316 [C99-based-standards] (SCNu64): Likewise.
13317 [C99-based-standards] (SCNx64): Likewise.
13318 [C99-based-standards] (PRIdLEAST64): Likewise.
13319 [C99-based-standards] (PRIiLEAST64): Likewise.
13320 [C99-based-standards] (PRIoLEAST64): Likewise.
13321 [C99-based-standards] (PRIuLEAST64): Likewise.
13322 [C99-based-standards] (PRIxLEAST64): Likewise.
13323 [C99-based-standards] (PRIXLEAST64): Likewise.
13324 [C99-based-standards] (SCNdLEAST64): Likewise.
13325 [C99-based-standards] (SCNiLEAST64): Likewise.
13326 [C99-based-standards] (SCNoLEAST64): Likewise.
13327 [C99-based-standards] (SCNuLEAST64): Likewise.
13328 [C99-based-standards] (SCNxLEAST64): Likewise.
13329 [C99-based-standards] (PRIdFAST64): Likewise.
13330 [C99-based-standards] (PRIiFAST64): Likewise.
13331 [C99-based-standards] (PRIoFAST64): Likewise.
13332 [C99-based-standards] (PRIuFAST64): Likewise.
13333 [C99-based-standards] (PRIxFAST64): Likewise.
13334 [C99-based-standards] (PRIXFAST64): Likewise.
13335 [C99-based-standards] (SCNdFAST64): Likewise.
13336 [C99-based-standards] (SCNiFAST64): Likewise.
13337 [C99-based-standards] (SCNoFAST64): Likewise.
13338 [C99-based-standards] (SCNuFAST64): Likewise.
13339 [C99-based-standards] (SCNxFAST64): Likewise.
13340 [C99-based-standards] (PRIdMAX): Likewise.
13341 [C99-based-standards] (PRIiMAX): Likewise.
13342 [C99-based-standards] (PRIoMAX): Likewise.
13343 [C99-based-standards] (PRIuMAX): Likewise.
13344 [C99-based-standards] (PRIxMAX): Likewise.
13345 [C99-based-standards] (PRIXMAX): Likewise.
13346 [C99-based-standards] (SCNdMAX): Likewise.
13347 [C99-based-standards] (SCNiMAX): Likewise.
13348 [C99-based-standards] (SCNoMAX): Likewise.
13349 [C99-based-standards] (SCNuMAX): Likewise.
13350 [C99-based-standards] (SCNxMAX): Likewise.
13351 [C99-based-standards] (PRIdPTR): Likewise.
13352 [C99-based-standards] (PRIiPTR): Likewise.
13353 [C99-based-standards] (PRIoPTR): Likewise.
13354 [C99-based-standards] (PRIuPTR): Likewise.
13355 [C99-based-standards] (PRIxPTR): Likewise.
13356 [C99-based-standards] (PRIXPTR): Likewise.
13357 [C99-based-standards] (SCNdPTR): Likewise.
13358 [C99-based-standards] (SCNiPTR): Likewise.
13359 [C99-based-standards] (SCNoPTR): Likewise.
13360 [C99-based-standards] (SCNuPTR): Likewise.
13361 [C99-based-standards] (SCNxPTR): Likewise.
13362 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
13363 allow.
13364 * conform/data/stdint.h-data: Update comments to clarify
13365 requirements.
13366 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
13367 type.
13368 [C99-based standards] (INT8_MAX): Likewise.
13369 [C99-based standards] (INT16_MIN): Likewise.
13370 [C99-based standards] (INT16_MAX): Likewise.
13371 [C99-based standards] (INT32_MIN): Likewise.
13372 [C99-based standards] (INT32_MAX): Likewise.
13373 [C99-based standards] (INT64_MIN): Likewise.
13374 [C99-based standards] (INT64_MAX): Likewise.
13375 [C99-based standards] (UINT8_MAX): Likewise.
13376 [C99-based standards] (UINT16_MAX): Likewise.
13377 [C99-based standards] (UINT32_MAX): Likewise.
13378 [C99-based standards] (UINT64_MAX): Likewise.
13379 [C99-based standards] (INT_LEAST8_MIN): Likewise.
13380 [C99-based standards] (INT_LEAST8_MAX): Likewise.
13381 [C99-based standards] (INT_LEAST16_MIN): Likewise.
13382 [C99-based standards] (INT_LEAST16_MAX): Likewise.
13383 [C99-based standards] (INT_LEAST32_MIN): Likewise.
13384 [C99-based standards] (INT_LEAST32_MAX): Likewise.
13385 [C99-based standards] (INT_LEAST64_MIN): Likewise.
13386 [C99-based standards] (INT_LEAST64_MAX): Likewise.
13387 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
13388 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
13389 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
13390 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
13391 [C99-based standards] (INT_FAST8_MIN): Likewise.
13392 [C99-based standards] (INT_FAST8_MAX): Likewise.
13393 [C99-based standards] (INT_FAST16_MIN): Likewise.
13394 [C99-based standards] (INT_FAST16_MAX): Likewise.
13395 [C99-based standards] (INT_FAST32_MIN): Likewise.
13396 [C99-based standards] (INT_FAST32_MAX): Likewise.
13397 [C99-based standards] (INT_FAST64_MIN): Likewise.
13398 [C99-based standards] (INT_FAST64_MAX): Likewise.
13399 [C99-based standards] (UINT_FAST8_MAX): Likewise.
13400 [C99-based standards] (UINT_FAST16_MAX): Likewise.
13401 [C99-based standards] (UINT_FAST32_MAX): Likewise.
13402 [C99-based standards] (UINT_FAST64_MAX): Likewise.
13403 [C99-based standards] (INTPTR_MIN): Likewise.
13404 [C99-based standards] (INTPTR_MAX): Likewise.
13405 [C99-based standards] (UINTPTR_MAX): Likewise.
13406 [C99-based standards] (INTMAX_MIN): Likewise.
13407 [C99-based standards] (INTMAX_MAX): Likewise.
13408 [C99-based standards] (UINTMAX_MAX): Likewise.
13409 [C99-based standards] (PTRDIFF_MIN): Likewise.
13410 [C99-based standards] (PTRDIFF_MAX): Likewise.
13411 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
13412 [C99-based standards] (SIZE_MAX): Likewise.
13413 [C99-based standards] (WCHAR_MAX): Likewise.
13414 [C99-based standards] (WINT_MAX): Likewise.
13415 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
13416 constraint on value.
13417 [C99-based standards] (WCHAR_MIN): Likewise.
13418 [C99-based standards] (WINT_MIN): Likewise.
13419 [C99-based standards] (*_t): Allow.
13420 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
13421 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
13422 Include math.h-data and complex.h-data. Remove all expectations
13423 of math.h and complex.h contents.
13424 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
13425 at end of line.
13426 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
13427 (struct tm): Expect tag.
13428 [C99-based-standards] (wcstof): Expect function.
13429 [C99-based-standards] (wcstold): Likewise.
13430 [C99-based-standards] (wcstoll): Likewise.
13431 [C99-based-standards] (wcstoull): Likewise.
13432 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
13433 macro-int-constant. Specify type.
13434 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
13435 constraint on value.
13436 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13437 Specify type.
13438 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
13439 Specify value.
13440 [ISO C standards]: Do not allow headers.
13441 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
13442 wcs[abcdefghijklmnopqrstuvwxyz]*.
13443 [ISO C standards] (*_t): Do not allow.
13444 * conform/data/wctype.h-data [C99-based standards] (iswblank):
13445 Expect function.
13446 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
13447 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13448 Specify type.
13449 [ISO C standards]: Do not allow headers.
13450 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
13451 is[abcdefghijklmnopqrstuvwxyz]*.
13452 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
13453 to[abcdefghijklmnopqrstuvwxyz]*.
13454 [ISO C standards] (*_t): Do not allow.
13455 * conform/data/stdalign.h-data: New file.
13456 * conform/data/stdbool.h-data: Likewise.
13457 * conform/data/stdnoreturn.h-data: Likewise.
13458
7514feb8
RM
134592012-11-07 Roland McGrath <roland@hack.frob.com>
13460
13461 [BZ #14815]
13462 * manual/filesys.texi (Directory Entries): Typo fix.
13463 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
13464
19b2ecfc
MS
134652012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13466
13467 * elf/elf.h (EM_AARCH64): New macro.
13468 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
13469 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
13470 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
13471 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
13472 (R_AARCH64_TLSDESC): Likewise.
13473 (NT_ARM_TLS): Likewise.
13474 (NT_ARM_HW_BREAK): Likewise.
13475 (NT_ARM_HW_WATCH): Likewise.
13476
60e235ee
JM
134772012-11-07 Joseph Myers <joseph@codesourcery.com>
13478
13479 [BZ #14811]
13480 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
13481 (__ieee754_powl): Saturate nonzero exponents with absolute value
13482 below 0x1p-79 to +/- 0x1p-79.
13483 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
13484 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
13485 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
13486 nonzero exponents with absolute value below 0x1p-32 to +/-
13487 0x1p-32.
13488 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
13489 (__ieee754_powl): Saturate nonzero exponents with absolute value
13490 below 0x1p-79 to +/- 0x1p-79.
13491 * math/libm-test.inc (pow_test): Add more tests.
13492
0ab234b7
AK
134932012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13494
13495 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
13496 _dl_s390_cap_flags with kernel. Increase string length.
13497 (_dl_s390_platforms): Add z196 and zEC12.
13498
45832f74
JM
134992012-11-07 Joseph Myers <joseph@codesourcery.com>
13500
13501 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
13502 Change XOPEN21K to XOPEN2K.
13503
19218757
MK
135042012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
13505
13506 * string/memmove.c: Use memcpy when possible.
13507
c5f45721
AJ
135082012-11-06 Andreas Jaeger <aj@suse.de>
13509
13510 * po/eo.po: Update from translation team.
13511
82477c28
JM
135122012-11-06 Joseph Myers <joseph@codesourcery.com>
13513
13514 [BZ #14793]
13515 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
13516 exponent and small x and y exponents, scale x or y up. Increase
13517 by 2 the exponent used in scaling up.
13518 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13519 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13520 * math/libm-test.inc (fma_test): Add more tests.
13521 (fma_test_towardzero): Likewise.
13522 (fma_test_downward): Likewise.
13523 (fma_test_upward): Likewise.
13524
99252c8c
JM
135252012-11-05 Joseph Myers <joseph@codesourcery.com>
13526
acfa885f
JM
13527 [BZ #14805]
13528 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
13529 fenv_t *.
13530
99252c8c
JM
13531 [BZ #14801]
13532 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
13533 namespace for names of struct fields.
13534 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
13535 fenv_t fields.
13536 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
13537 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
13538
d6d98dea
ST
135392012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13540
13541 [BZ #3665]
13542 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
13543
e10bb107
TS
135442012-11-04 Thomas Schwinge <thomas@codesourcery.com>
13545
13546 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
13547 PTR_DEMANGLE.
13548
13549 [BZ #5246]
13550 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
13551 PTR_DEMANGLE.
13552
a0c2940d
JM
135532012-11-04 Joseph Myers <joseph@codesourcery.com>
13554
13555 [BZ #14797]
13556 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
13557 definitely overflow as x * y not x * y + z.
13558 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13559 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13560 * math/libm-test.inc (fma_test): Add more tests.
13561 (fma_test_towardzero): Likewise.
13562 (fma_test_downward): Likewise.
13563 (fma_test_upward): Likewise.
13564
b830319d
TS
135652012-11-04 Thomas Schwinge <thomas@codesourcery.com>
13566
13567 [BZ #157]
13568
13569 * include/stub-tag.h: Remove file.
13570 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
13571 '#include' of it.
13572 * manual/maint.texi (Porting): Don't reference it.
13573 * Makerules ($(objpfx)stubs): Likewise.
13574 * dirent/closedir.c: Don't include <stub-tag.h>.
13575 * dirent/dirfd.c: Likewise.
13576 * dirent/fdopendir.c: Likewise.
13577 * dirent/getdents.c: Likewise.
13578 * dirent/getdents64.c: Likewise.
13579 * dirent/opendir.c: Likewise.
13580 * dirent/readdir.c: Likewise.
13581 * dirent/readdir64.c: Likewise.
13582 * dirent/readdir64_r.c: Likewise.
13583 * dirent/readdir_r.c: Likewise.
13584 * dirent/rewinddir.c: Likewise.
13585 * dirent/seekdir.c: Likewise.
13586 * dirent/telldir.c: Likewise.
13587 * gmon/profil.c: Likewise.
13588 * grp/setgroups.c: Likewise.
13589 * inet/if_index.c: Likewise.
13590 * io/access.c: Likewise.
13591 * io/chdir.c: Likewise.
13592 * io/chmod.c: Likewise.
13593 * io/chown.c: Likewise.
13594 * io/close.c: Likewise.
13595 * io/dup.c: Likewise.
13596 * io/dup2.c: Likewise.
13597 * io/dup3.c: Likewise.
13598 * io/euidaccess.c: Likewise.
13599 * io/faccessat.c: Likewise.
13600 * io/fchdir.c: Likewise.
13601 * io/fchmod.c: Likewise.
13602 * io/fchmodat.c: Likewise.
13603 * io/fchown.c: Likewise.
13604 * io/fchownat.c: Likewise.
13605 * io/fcntl.c: Likewise.
13606 * io/flock.c: Likewise.
13607 * io/fstatfs.c: Likewise.
13608 * io/fstatfs64.c: Likewise.
13609 * io/fstatvfs.c: Likewise.
13610 * io/fstatvfs64.c: Likewise.
13611 * io/futimens.c: Likewise.
13612 * io/fxstat.c: Likewise.
13613 * io/fxstat64.c: Likewise.
13614 * io/fxstatat.c: Likewise.
13615 * io/fxstatat64.c: Likewise.
13616 * io/getcwd.c: Likewise.
13617 * io/isatty.c: Likewise.
13618 * io/lchmod.c: Likewise.
13619 * io/lchown.c: Likewise.
13620 * io/link.c: Likewise.
13621 * io/linkat.c: Likewise.
13622 * io/lseek.c: Likewise.
13623 * io/lseek64.c: Likewise.
13624 * io/lxstat64.c: Likewise.
13625 * io/mkdir.c: Likewise.
13626 * io/mkdirat.c: Likewise.
13627 * io/mkfifo.c: Likewise.
13628 * io/mkfifoat.c: Likewise.
13629 * io/open.c: Likewise.
13630 * io/open64.c: Likewise.
13631 * io/openat.c: Likewise.
13632 * io/openat64.c: Likewise.
13633 * io/pipe.c: Likewise.
13634 * io/pipe2.c: Likewise.
13635 * io/poll.c: Likewise.
13636 * io/posix_fadvise.c: Likewise.
13637 * io/posix_fadvise64.c: Likewise.
13638 * io/posix_fallocate.c: Likewise.
13639 * io/posix_fallocate64.c: Likewise.
13640 * io/read.c: Likewise.
13641 * io/readlink.c: Likewise.
13642 * io/readlinkat.c: Likewise.
13643 * io/rmdir.c: Likewise.
13644 * io/sendfile.c: Likewise.
13645 * io/sendfile64.c: Likewise.
13646 * io/statfs.c: Likewise.
13647 * io/statfs64.c: Likewise.
13648 * io/statvfs.c: Likewise.
13649 * io/statvfs64.c: Likewise.
13650 * io/symlink.c: Likewise.
13651 * io/symlinkat.c: Likewise.
13652 * io/ttyname.c: Likewise.
13653 * io/ttyname_r.c: Likewise.
13654 * io/umask.c: Likewise.
13655 * io/unlink.c: Likewise.
13656 * io/unlinkat.c: Likewise.
13657 * io/utime.c: Likewise.
13658 * io/utimensat.c: Likewise.
13659 * io/write.c: Likewise.
13660 * io/xmknod.c: Likewise.
13661 * io/xmknodat.c: Likewise.
13662 * io/xstat.c: Likewise.
13663 * io/xstat64.c: Likewise.
13664 * login/getpt.c: Likewise.
13665 * login/grantpt.c: Likewise.
13666 * login/unlockpt.c: Likewise.
13667 * math/e_acoshl.c: Likewise.
13668 * math/e_acosl.c: Likewise.
13669 * math/e_asinl.c: Likewise.
13670 * math/e_atan2l.c: Likewise.
13671 * math/e_atanhl.c: Likewise.
13672 * math/e_coshl.c: Likewise.
13673 * math/e_expl.c: Likewise.
13674 * math/e_fmodl.c: Likewise.
13675 * math/e_gammal_r.c: Likewise.
13676 * math/e_hypotl.c: Likewise.
13677 * math/e_j0l.c: Likewise.
13678 * math/e_j1l.c: Likewise.
13679 * math/e_jnl.c: Likewise.
13680 * math/e_lgammal_r.c: Likewise.
13681 * math/e_log10l.c: Likewise.
13682 * math/e_log2l.c: Likewise.
13683 * math/e_logl.c: Likewise.
13684 * math/e_powl.c: Likewise.
13685 * math/e_rem_pio2l.c: Likewise.
13686 * math/e_sinhl.c: Likewise.
13687 * math/e_sqrtl.c: Likewise.
13688 * math/fclrexcpt.c: Likewise.
13689 * math/fedisblxcpt.c: Likewise.
13690 * math/feenablxcpt.c: Likewise.
13691 * math/fegetenv.c: Likewise.
13692 * math/fegetexcept.c: Likewise.
13693 * math/fegetround.c: Likewise.
13694 * math/feholdexcpt.c: Likewise.
13695 * math/fesetenv.c: Likewise.
13696 * math/fesetround.c: Likewise.
13697 * math/feupdateenv.c: Likewise.
13698 * math/fgetexcptflg.c: Likewise.
13699 * math/fraiseexcpt.c: Likewise.
13700 * math/fsetexcptflg.c: Likewise.
13701 * math/ftestexcept.c: Likewise.
13702 * math/k_cosl.c: Likewise.
13703 * math/k_rem_pio2l.c: Likewise.
13704 * math/k_sinl.c: Likewise.
13705 * math/k_tanl.c: Likewise.
13706 * math/s_asinhl.c: Likewise.
13707 * math/s_atanl.c: Likewise.
13708 * math/s_cbrtl.c: Likewise.
13709 * math/s_erfl.c: Likewise.
13710 * math/s_expm1l.c: Likewise.
13711 * math/s_log1pl.c: Likewise.
13712 * math/s_tanhl.c: Likewise.
13713 * misc/acct.c: Likewise.
13714 * misc/brk.c: Likewise.
13715 * misc/chflags.c: Likewise.
13716 * misc/chroot.c: Likewise.
13717 * misc/fchflags.c: Likewise.
13718 * misc/fgetxattr.c: Likewise.
13719 * misc/flistxattr.c: Likewise.
13720 * misc/fremovexattr.c: Likewise.
13721 * misc/fsetxattr.c: Likewise.
13722 * misc/fsync.c: Likewise.
13723 * misc/ftruncate.c: Likewise.
13724 * misc/futimes.c: Likewise.
13725 * misc/futimesat.c: Likewise.
13726 * misc/getdomain.c: Likewise.
13727 * misc/getdtsz.c: Likewise.
13728 * misc/gethostid.c: Likewise.
13729 * misc/gethostname.c: Likewise.
13730 * misc/getloadavg.c: Likewise.
13731 * misc/getpagesize.c: Likewise.
13732 * misc/getsysstats.c: Likewise.
13733 * misc/getxattr.c: Likewise.
13734 * misc/gtty.c: Likewise.
13735 * misc/ioctl.c: Likewise.
13736 * misc/lgetxattr.c: Likewise.
13737 * misc/listxattr.c: Likewise.
13738 * misc/llistxattr.c: Likewise.
13739 * misc/lremovexattr.c: Likewise.
13740 * misc/lsetxattr.c: Likewise.
13741 * misc/lutimes.c: Likewise.
13742 * misc/madvise.c: Likewise.
13743 * misc/mincore.c: Likewise.
13744 * misc/mlock.c: Likewise.
13745 * misc/mlockall.c: Likewise.
13746 * misc/mmap.c: Likewise.
13747 * misc/mprotect.c: Likewise.
13748 * misc/msync.c: Likewise.
13749 * misc/munlock.c: Likewise.
13750 * misc/munlockall.c: Likewise.
13751 * misc/munmap.c: Likewise.
13752 * misc/preadv.c: Likewise.
13753 * misc/preadv64.c: Likewise.
13754 * misc/ptrace.c: Likewise.
13755 * misc/pwritev.c: Likewise.
13756 * misc/pwritev64.c: Likewise.
13757 * misc/readv.c: Likewise.
13758 * misc/reboot.c: Likewise.
13759 * misc/remap_file_pages.c: Likewise.
13760 * misc/removexattr.c: Likewise.
13761 * misc/revoke.c: Likewise.
13762 * misc/select.c: Likewise.
13763 * misc/setdomain.c: Likewise.
13764 * misc/setegid.c: Likewise.
13765 * misc/seteuid.c: Likewise.
13766 * misc/sethostid.c: Likewise.
13767 * misc/sethostname.c: Likewise.
13768 * misc/setregid.c: Likewise.
13769 * misc/setreuid.c: Likewise.
13770 * misc/setxattr.c: Likewise.
13771 * misc/sstk.c: Likewise.
13772 * misc/stty.c: Likewise.
13773 * misc/swapoff.c: Likewise.
13774 * misc/swapon.c: Likewise.
13775 * misc/sync.c: Likewise.
13776 * misc/syncfs.c: Likewise.
13777 * misc/syscall.c: Likewise.
13778 * misc/truncate.c: Likewise.
13779 * misc/ualarm.c: Likewise.
13780 * misc/usleep.c: Likewise.
13781 * misc/ustat.c: Likewise.
13782 * misc/utimes.c: Likewise.
13783 * misc/vhangup.c: Likewise.
13784 * misc/writev.c: Likewise.
13785 * posix/_exit.c: Likewise.
13786 * posix/alarm.c: Likewise.
13787 * posix/execve.c: Likewise.
13788 * posix/fexecve.c: Likewise.
13789 * posix/fork.c: Likewise.
13790 * posix/fpathconf.c: Likewise.
13791 * posix/getaddrinfo.c: Likewise.
13792 * posix/getegid.c: Likewise.
13793 * posix/geteuid.c: Likewise.
13794 * posix/getgid.c: Likewise.
13795 * posix/getgroups.c: Likewise.
13796 * posix/getlogin.c: Likewise.
13797 * posix/getlogin_r.c: Likewise.
13798 * posix/getpgid.c: Likewise.
13799 * posix/getpid.c: Likewise.
13800 * posix/getppid.c: Likewise.
13801 * posix/getresgid.c: Likewise.
13802 * posix/getresuid.c: Likewise.
13803 * posix/getsid.c: Likewise.
13804 * posix/getuid.c: Likewise.
13805 * posix/glob64.c: Likewise.
13806 * posix/nanosleep.c: Likewise.
13807 * posix/pathconf.c: Likewise.
13808 * posix/pause.c: Likewise.
13809 * posix/posix_madvise.c: Likewise.
13810 * posix/pread.c: Likewise.
13811 * posix/pread64.c: Likewise.
13812 * posix/pwrite.c: Likewise.
13813 * posix/pwrite64.c: Likewise.
13814 * posix/sched_getaffinity.c: Likewise.
13815 * posix/sched_getp.c: Likewise.
13816 * posix/sched_gets.c: Likewise.
13817 * posix/sched_primax.c: Likewise.
13818 * posix/sched_primin.c: Likewise.
13819 * posix/sched_rr_gi.c: Likewise.
13820 * posix/sched_setaffinity.c: Likewise.
13821 * posix/sched_setp.c: Likewise.
13822 * posix/sched_sets.c: Likewise.
13823 * posix/sched_yield.c: Likewise.
13824 * posix/setgid.c: Likewise.
13825 * posix/setlogin.c: Likewise.
13826 * posix/setpgid.c: Likewise.
13827 * posix/setresgid.c: Likewise.
13828 * posix/setresuid.c: Likewise.
13829 * posix/setsid.c: Likewise.
13830 * posix/setuid.c: Likewise.
13831 * posix/sleep.c: Likewise.
13832 * posix/spawni.c: Likewise.
13833 * posix/sysconf.c: Likewise.
13834 * posix/times.c: Likewise.
13835 * posix/wait.c: Likewise.
13836 * posix/wait3.c: Likewise.
13837 * posix/wait4.c: Likewise.
13838 * posix/waitpid.c: Likewise.
13839 * resolv/gai_sigqueue.c: Likewise.
13840 * resource/getpriority.c: Likewise.
13841 * resource/getrlimit.c: Likewise.
13842 * resource/getrusage.c: Likewise.
13843 * resource/nice.c: Likewise.
13844 * resource/setpriority.c: Likewise.
13845 * resource/setrlimit.c: Likewise.
13846 * resource/ulimit.c: Likewise.
13847 * rt/aio_cancel.c: Likewise.
13848 * rt/aio_fsync.c: Likewise.
13849 * rt/aio_read.c: Likewise.
13850 * rt/aio_sigqueue.c: Likewise.
13851 * rt/aio_suspend.c: Likewise.
13852 * rt/aio_write.c: Likewise.
13853 * rt/clock_getres.c: Likewise.
13854 * rt/clock_gettime.c: Likewise.
13855 * rt/clock_nanosleep.c: Likewise.
13856 * rt/clock_settime.c: Likewise.
13857 * rt/lio_listio.c: Likewise.
13858 * rt/mq_close.c: Likewise.
13859 * rt/mq_getattr.c: Likewise.
13860 * rt/mq_notify.c: Likewise.
13861 * rt/mq_open.c: Likewise.
13862 * rt/mq_receive.c: Likewise.
13863 * rt/mq_send.c: Likewise.
13864 * rt/mq_setattr.c: Likewise.
13865 * rt/mq_timedreceive.c: Likewise.
13866 * rt/mq_timedsend.c: Likewise.
13867 * rt/mq_unlink.c: Likewise.
13868 * rt/shm_open.c: Likewise.
13869 * rt/shm_unlink.c: Likewise.
13870 * rt/timer_create.c: Likewise.
13871 * rt/timer_delete.c: Likewise.
13872 * rt/timer_getoverr.c: Likewise.
13873 * rt/timer_gettime.c: Likewise.
13874 * rt/timer_settime.c: Likewise.
13875 * setjmp/__longjmp.c: Likewise.
13876 * setjmp/setjmp.c: Likewise.
13877 * signal/kill.c: Likewise.
13878 * signal/killpg.c: Likewise.
13879 * signal/raise.c: Likewise.
13880 * signal/sigaction.c: Likewise.
13881 * signal/sigaltstack.c: Likewise.
13882 * signal/sigblock.c: Likewise.
13883 * signal/sigignore.c: Likewise.
13884 * signal/sigintr.c: Likewise.
13885 * signal/signal.c: Likewise.
13886 * signal/sigpause.c: Likewise.
13887 * signal/sigpending.c: Likewise.
13888 * signal/sigqueue.c: Likewise.
13889 * signal/sigreturn.c: Likewise.
13890 * signal/sigset.c: Likewise.
13891 * signal/sigsetmask.c: Likewise.
13892 * signal/sigstack.c: Likewise.
13893 * signal/sigsuspend.c: Likewise.
13894 * signal/sigtimedwait.c: Likewise.
13895 * signal/sigvec.c: Likewise.
13896 * signal/sigwait.c: Likewise.
13897 * signal/sigwaitinfo.c: Likewise.
13898 * signal/sysv_signal.c: Likewise.
13899 * socket/accept.c: Likewise.
13900 * socket/accept4.c: Likewise.
13901 * socket/bind.c: Likewise.
13902 * socket/connect.c: Likewise.
13903 * socket/getpeername.c: Likewise.
13904 * socket/getsockname.c: Likewise.
13905 * socket/getsockopt.c: Likewise.
13906 * socket/isfdtype.c: Likewise.
13907 * socket/listen.c: Likewise.
13908 * socket/recv.c: Likewise.
13909 * socket/recvfrom.c: Likewise.
13910 * socket/recvmsg.c: Likewise.
13911 * socket/send.c: Likewise.
13912 * socket/sendmsg.c: Likewise.
13913 * socket/sendto.c: Likewise.
13914 * socket/setsockopt.c: Likewise.
13915 * socket/shutdown.c: Likewise.
13916 * socket/sockatmark.c: Likewise.
13917 * socket/socket.c: Likewise.
13918 * socket/socketpair.c: Likewise.
13919 * stdio-common/ctermid.c: Likewise.
13920 * stdio-common/cuserid.c: Likewise.
13921 * stdio-common/remove.c: Likewise.
13922 * stdio-common/rename.c: Likewise.
13923 * stdio-common/renameat.c: Likewise.
13924 * stdio-common/tempname.c: Likewise.
13925 * stdlib/getcontext.c: Likewise.
13926 * stdlib/makecontext.c: Likewise.
13927 * stdlib/setcontext.c: Likewise.
13928 * stdlib/swapcontext.c: Likewise.
13929 * stdlib/system.c: Likewise.
13930 * streams/fattach.c: Likewise.
13931 * streams/fdetach.c: Likewise.
13932 * streams/getmsg.c: Likewise.
13933 * streams/getpmsg.c: Likewise.
13934 * streams/putmsg.c: Likewise.
13935 * streams/putpmsg.c: Likewise.
13936 * sysdeps/unix/bsd/getpt.c: Likewise.
13937 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
13938 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
13939 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13941 Likewise.
13942 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
13943 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13944 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
13945 * sysvipc/msgctl.c: Likewise.
13946 * sysvipc/msgget.c: Likewise.
13947 * sysvipc/msgrcv.c: Likewise.
13948 * sysvipc/msgsnd.c: Likewise.
13949 * sysvipc/semctl.c: Likewise.
13950 * sysvipc/semget.c: Likewise.
13951 * sysvipc/semop.c: Likewise.
13952 * sysvipc/semtimedop.c: Likewise.
13953 * sysvipc/shmat.c: Likewise.
13954 * sysvipc/shmctl.c: Likewise.
13955 * sysvipc/shmdt.c: Likewise.
13956 * sysvipc/shmget.c: Likewise.
13957 * termios/tcdrain.c: Likewise.
13958 * termios/tcflow.c: Likewise.
13959 * termios/tcflush.c: Likewise.
13960 * termios/tcgetattr.c: Likewise.
13961 * termios/tcgetpgrp.c: Likewise.
13962 * termios/tcsendbrk.c: Likewise.
13963 * termios/tcsetattr.c: Likewise.
13964 * termios/tcsetpgrp.c: Likewise.
13965 * time/adjtime.c: Likewise.
13966 * time/clock.c: Likewise.
13967 * time/getitimer.c: Likewise.
13968 * time/gettimeofday.c: Likewise.
13969 * time/setitimer.c: Likewise.
13970 * time/settimeofday.c: Likewise.
13971 * time/stime.c: Likewise.
13972 * time/time.c: Likewise.
13973
139742012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 13975
a20492cf
PT
13976 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
13977 /usr/old/bin.
13978
72e182e3
PT
13979 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
13980 instead of spaces.
13981 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
13982
fbeafede
JM
139832012-11-03 Joseph Myers <joseph@codesourcery.com>
13984
5b5b04d6
JM
13985 [BZ #14796]
13986 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
13987 FE_TONEAREST before applying Dekker multiplication and Knuth
13988 addition. Clear inexact exceptions and check for exact zero
13989 results afterwards.
13990 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13991 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13992 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13993 * math/libm-test.inc (fma_test): Add more tests.
13994 (fma_test_towardzero): Likewise.
13995 (fma_test_downward): Likewise.
13996 (fma_test_upward): Likewise.
13997 * sysdeps/generic/math_private.h (default_libc_fesetround): New
13998 function.
13999 (libc_fesetround): New macro.
14000 (libc_fesetroundf): Likewise.
14001 (libc_fesetroundl): Likewise.
14002 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
14003 function.
14004 (libc_fesetround_387): Likewise.
14005 (libc_fesetroundf): New macro.
14006 (libc_fesetround): Likewise.
14007 (libc_fesetroundl): Likewise.
14008 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
14009 function.
14010 (libc_fesetroundf): New macro.
14011 (libc_fesetround): Likewise.
14012 (libc_fesetroundl): Likewise.
14013 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
14014 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
14015 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
14016 libm_hidden_ver.
14017 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
14018 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
14019 libm_hidden_def.
14020 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
14021 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
14022 libm_hidden_ver.
14023 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
14024 libm_hidden_def.
14025
fbeafede
JM
14026 [BZ #3439]
14027 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
14028 integer constant usable in #if and use that to give value to enum
14029 constant.
14030 (FE_DIVBYZERO): Likewise.
14031 (FE_UNDERFLOW): Likewise.
14032 (FE_OVERFLOW): Likewise.
14033 (FE_INVALID): Likewise.
14034 (FE_INVALID_SNAN): Likewise.
14035 (FE_INVALID_ISI): Likewise.
14036 (FE_INVALID_IDI): Likewise.
14037 (FE_INVALID_ZDZ): Likewise.
14038 (FE_INVALID_IMZ): Likewise.
14039 (FE_INVALID_COMPARE): Likewise.
14040 (FE_INVALID_SOFTWARE): Likewise.
14041 (FE_INVALID_SQRT): Likewise.
14042 (FE_INVALID_INTEGER_CONVERSION): Likewise.
14043 (FE_TONEAREST): Likewise.
14044 (FE_TOWARDZERO): Likewise.
14045 (FE_UPWARD): Likewise.
14046 (FE_DOWNWARD): Likewise.
14047 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
14048 (FE_DIVBYZERO): Likewise.
14049 (FE_OVERFLOW): Likewise.
14050 (FE_UNDERFLOW): Likewise.
14051 (FE_INEXACT): Likewise.
14052 (FE_TONEAREST): Likewise.
14053 (FE_DOWNWARD): Likewise.
14054 (FE_UPWARD): Likewise.
14055 (FE_TOWARDZERO): Likewise.
14056 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
14057 (FE_UNDERFLOW): Likewise.
14058 (FE_OVERFLOW): Likewise.
14059 (FE_DIVBYZERO): Likewise.
14060 (FE_INVALID): Likewise.
14061 (FE_TONEAREST): Likewise.
14062 (FE_TOWARDZERO): Likewise.
14063 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
14064 (FE_OVERFLOW): Likewise.
14065 (FE_UNDERFLOW): Likewise.
14066 (FE_DIVBYZERO): Likewise.
14067 (FE_INEXACT): Likewise.
14068 (FE_TONEAREST): Likewise.
14069 (FE_TOWARDZERO): Likewise.
14070 (FE_UPWARD): Likewise.
14071 (FE_DOWNWARD): Likewise.
14072 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
14073 (FE_DIVBYZERO): Likewise.
14074 (FE_OVERFLOW): Likewise.
14075 (FE_UNDERFLOW): Likewise.
14076 (FE_INEXACT): Likewise.
14077 (FE_TONEAREST): Likewise.
14078 (FE_DOWNWARD): Likewise.
14079 (FE_UPWARD): Likewise.
14080 (FE_TOWARDZERO): Likewise.
14081
105ca950
CM
140822012-11-02 Chris Metcalf <cmetcalf@tilera.com>
14083
14084 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
14085
a542b389
AS
140862012-11-03 Andreas Schwab <schwab@linux-m68k.org>
14087
14088 * scripts/cross-test-ssh.sh (command): Use newlines to separate
14089 commands. Quote $PWD.
14090 (blacklist_exports): Don't use remove_newlines. Replace "declare
14091 -x" by "export".
14092 (remove_newlines): Remove.
14093
f62c8abc
L
140942012-11-02 H.J. Lu <hongjiu.lu@intel.com>
14095
14096 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
14097 * stdlib/stdlib.h (atof): Moved to ...
14098 * include/bits/stdlib-float.h: Here. New file.
14099 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
14100 * stdlib/bits/stdlib-float.h: New file.
14101 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
14102 -mno-sse -mno-mmx.
14103 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
14104 <xmmintrin.h>.
14105
0155d5b2
JM
141062012-11-02 Joseph Myers <joseph@codesourcery.com>
14107
a68d0680
JM
14108 * conform/conformtest.pl (@headers): Add fenv.h.
14109 * conform/data/fenv.h-data: New file.
14110 * include/fenv.h [_ISOMAC]: Disable all contents of file except
14111 include of <math/fenv.h>.
14112
caf7f573
JM
14113 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
14114 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
14115 && !UNIX98]. Enables tests for XOPEN2K8.
14116 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
14117 POSIX2008]: Likewise.
14118
6c073ad6
JM
14119 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
14120 (struct rusage): Do not expect type or its members.
14121
0155d5b2
JM
14122 [BZ #3439]
14123 * math/math.h (FP_NAN): Define macro to integer constant usable in
14124 #if and use that to give value to enum constant.
14125 (FP_INFINITE): Likewise.
14126 (FP_ZERO): Likewise.
14127 (FP_SUBNORMAL): Likewise.
14128 (FP_NORMAL): Likewise.
14129
b5dcacb4
AS
141302012-11-02 Andreas Schwab <schwab@linux-m68k.org>
14131
14132 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
14133 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
14134 arguments.
14135
f7934be8
RM
141362012-11-02 Roland McGrath <roland@hack.frob.com>
14137
14138 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
14139 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
14140 autoconf-time if not.
14141 * configure.in: Remove AC_PREREQ.
14142
d7d08bde
TMQMF
141432012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14144
14145 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
14146 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
14147 of the internal implementation.
14148
dcdae19a
JM
141492012-11-02 Joseph Myers <joseph@codesourcery.com>
14150
14151 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
14152 except include of <misc/sys/syslog.h>.
14153
d6cffd3e
AS
141542012-11-01 Andreas Schwab <schwab@linux-m68k.org>
14155
14156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
14157 function returns with a NULL context exit with zero.
14158
b3563932
TMQMF
141592012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14160
14161 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
14162
b288a93d
L
141632012-11-01 H.J. Lu <hongjiu.lu@intel.com>
14164
14165 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
14166 (run_program_cmd): This.
14167 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
14168 (tst_langinfo): New variable. Use it.
14169
a2421a68
SAS
141702012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
14171
14172 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
14173 floating point opcodes.
14174
6f796e1b
TS
141752012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14176
7402596b
TS
14177 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
14178 variable.
14179
d0d4f868
TS
14180 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
14181
6f796e1b
TS
14182 * sysdeps/mach/hurd/powerpc: Remove directory.
14183 * sysdeps/mach/powerpc: Likewise.
14184
4da224a2
AS
141852012-11-01 Andreas Schwab <schwab@linux-m68k.org>
14186
14187 * scripts/check-local-headers.sh: Ignore c++ headers.
14188
341dd673
TS
141892012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14190
14191 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
14192 __libc_cleanup_region_start argument.
14193
473611b2
JM
141942012-11-01 Joseph Myers <joseph@codesourcery.com>
14195
14196 [BZ #14784]
14197 [BZ #14785]
14198 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
14199 x * y using scaling, not as x * y + z.
14200 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14201 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14202 * math/libm-test.inc (fma_test): Add more tests.
14203 (fma_test_towardzero): Likewise.
14204 (fma_test_downward): Likewise.
14205 (fma_test_upward): Likewise.
14206
4078da3d
TS
142072012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14208
14209 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
14210
903252aa
JM
142112012-10-31 Joseph Myers <joseph@codesourcery.com>
14212
14213 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
14214 New variable.
14215
cbc818d0
TS
142162012-10-31 Thomas Schwinge <thomas@codesourcery.com>
14217
14218 * rt/tst-shm.c (worker): Correct checking for mmap failure.
14219
5a03cb1e
AS
142202012-10-31 Andreas Schwab <schwab@linux-m68k.org>
14221
14222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14223 Fix sort order.
14224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14225 Likewise.
14226
90aff2ff
TMQMF
142272012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14228
14229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14230 Fix the order of the list for glibc 2.17.
14231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14232 Likewise.
14233
1818fcb7
AS
142342012-10-31 Andreas Schwab <schwab@linux-m68k.org>
14235
14236 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14237
ef82f4da
JM
142382012-10-31 Joseph Myers <joseph@codesourcery.com>
14239
16a0e2ec
JM
14240 [BZ #14610]
14241 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
14242 for low part of x being zero before using __atanl (y).
14243 * math/libm-test.inc (atan2_test): Add another test.
14244
0eb69512
JM
14245 * manual/install.texi (Configuring and compiling): Document
14246 general use of test-wrapper and test-wrapper-env.
14247 * INSTALL: Regenerated.
14248
ef82f4da
JM
14249 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
14250 (__fma): Do not extract and scale down low bits on after-rounding
14251 systems when result rounded to normal precision would have normal
14252 exponent.
14253 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
14254 (__fmal): Do not extract and scale down low bits on after-rounding
14255 systems when result rounded to normal precision would have normal
14256 exponent.
14257 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
14258 (__fmal): Do not extract and scale down low bits on after-rounding
14259 systems when result rounded to normal precision would have normal
14260 exponent.
14261 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
14262 macro.
14263 (fma_test): Add more tests.
14264 (fma_test_towardzero): Likewise.
14265 (fma_test_downward): Likewise.
14266 (fma_test_upward): Likewise.
14267
954ef0d9
L
142682012-10-30 H.J. Lu <hongjiu.lu@intel.com>
14269
14270 * sysdeps/i386/tininess.h: Renamed to ...
14271 * sysdeps/x86/tininess.h: This.
14272 * sysdeps/x86_64/tininess.h: Removed.
14273
df61ffb2
JM
142742012-10-30 Joseph Myers <joseph@codesourcery.com>
14275
14276 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
14277 input. Use $(build-program-cmd).
14278 ($(objpfx)tst-array1-static.out): Likewise.
14279 ($(objpfx)tst-array2.out): Likewise.
14280 ($(objpfx)tst-array3.out): Likewise.
14281 ($(objpfx)tst-array4.out): Likewise.
14282 ($(objpfx)tst-array5.out): Likewise.
14283 ($(objpfx)tst-array5-static.out): Likewise.
14284
01767843
CM
142852012-10-30 Chris Metcalf <cmetcalf@tilera.com>
14286
47cc1490
CM
14287 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
14288 if defined.
14289
01767843
CM
14290 * nss/nsswitch.h (nss_interface_function): Provide new
14291 macro for use with NSS functions.
14292 * grp/initgroups.c: Use new macro.
14293 * nss/getXXbyYY.c: Likewise.
14294 * nss/getXXbyYY_r.c: Likewise.
14295 * nss/getXXent.c: Likewise.
14296 * nss/getXXent_r.c: Likewise.
14297 * sysdeps/posix/getaddrinfo.c: Likewise.
14298
8321aa97
AJ
142992012-10-30 Andreas Jaeger <aj@suse.de>
14300
14301 * po/ru.po: Update Russion translation from translation project.
14302
2a27fd6d
JM
143032012-10-30 Joseph Myers <joseph@codesourcery.com>
14304
8627a232
JM
14305 [BZ #14152]
14306 [BZ #14783]
14307 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
14308 result and shift together with sticky bit instead of replicating
14309 round-to-nearest rounding.
14310 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14311 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14312 * math/libm-test.inc (fma_test): Add more tests. Do not permit
14313 missing underflow exceptions.
14314 (fma_test_towardzero): Add more tests.
14315 (fma_test_downward): Likewise.
14316 (fma_test_upward): Likewise.
14317
2a27fd6d
JM
14318 [BZ #14047]
14319 * sysdeps/generic/tininess.h: New file.
14320 * sysdeps/i386/tininess.h: Likewise.
14321 * sysdeps/sh/tininess.h: Likewise.
14322 * sysdeps/x86_64/tininess.h: Likewise.
14323 * stdlib/tst-strtod-underflow.c: Likewise.
14324 * stdlib/tst-tininess.c: Likewise.
14325 * stdlib/strtod_l.c: Include <tininess.h>.
14326 (round_and_return): Do not set errno for exact underflow cases.
14327 Force an underflow exception when setting errno for underflow.
14328 Determine underflow based on rounding to normal precision if
14329 TININESS_AFTER_ROUNDING.
14330 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
14331 ERANGE for exact underflow cases.
14332 * stdlib/Makefile (tests): Add tst-tininess and
14333 tst-strtod-underflow.
14334 ($(objpfx)tst-tininess): Use $(link-libm).
14335 ($(objpfx)tst-strtod-underflow): Likewise.
14336
e7170363
AJ
143372012-10-30 Andreas Jaeger <aj@suse.de>
14338
e5088dc6
AJ
14339 [BZ#14767]
14340 * elf/Makefile (tests): Remove conditional for have-initfini-array
14341 since this is now always required and the variable does not exist
14342 anymore.
14343 (tests-static): Likewise.
14344 (modules-names): Likewise.
14345
e7170363 14346 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
14347
14348 * elf/tst-array1.c (fini_array): Make writeable so that it can be
14349 merged with constructor/destructor.
14350 (init_array): Likewise.
14351 * elf/tst-array2dep.c (fini_array): Likewise.
14352 (init_array): Likewise.
14353
60457d8a
MF
143542012-10-29 Mike Frysinger <vapier@gentoo.org>
14355
14356 * manual/message.texi: Delete @cartouche tags.
14357
8bece752
PT
143582012-10-29 Pino Toscano <toscano.pino@tiscali.it>
14359
94ce799f
PT
14360 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
14361 EOPNOTSUPP.
14362 * sysdeps/mach/hurd/fsync.c: Likewise.
14363
8bece752
PT
14364 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
14365 [_POSIX_REALTIME_SIGNALS]: Change condition to
14366 [_POSIX_REALTIME_SIGNALS > 0].
14367
86ebe6b1
AJ
143682012-10-27 Andreas Jaeger <aj@suse.de>
14369
14370 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
14371 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
14372 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
14373 [__WORDSIZE != 64]: Likewise.
14374
54399c08
L
143752012-10-26 H.J. Lu <hongjiu.lu@intel.com>
14376
14377 * iconvdata/tst-table.sh: Remove ${SHELL}.
14378 * iconvdata/tst-tables.sh: Likewise.
14379
e2211bed
DM
143802012-10-25 David S. Miller <davem@davemloft.net>
14381
14382 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14383 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
14384 of strtoull.
14385
f303f97c
DM
14386 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
14387 ifunc-impl-list.c
14388 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14389 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
14390 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
14391 file.
14392
1e9d84cd
RM
143932012-10-25 Roland McGrath <roland@hack.frob.com>
14394
14395 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14396 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
14397 __getdirentries.
14398
df381762
JM
143992012-10-25 Joseph Myers <joseph@codesourcery.com>
14400 Jim Blandy <jimb@codesourcery.com>
14401
14402 * scripts/cross-test-ssh.sh: New file.
14403 * manual/install.texi (Configuring and compiling): Document use of
14404 cross-test-ssh.sh.
14405 * INSTALL: Regenerated.
14406
bff64913
PT
144072012-10-25 Pino Toscano <toscano.pino@tiscali.it>
14408
14409 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
14410 EOPNOTSUPP.
14411
25fe8932
JM
144122012-10-25 Joseph Myers <joseph@codesourcery.com>
14413
14414 * Makeconfig (run-program-prefix): Fix comment.
14415
cc1290d0
JM
144162012-10-24 Joseph Myers <joseph@codesourcery.com>
14417 Jim Blandy <jimb@codesourcery.com>
14418
14419 * Makeconfig (test-wrapper): New variable,
14420 (test-wrapper-env): Likewise.
14421 [$(cross-compiling) = yes && $(test-wrapper) != ""]
14422 (run-built-tests): Define to yes.
14423 (run-program-prefix): Use $(test-wrapper).
14424 (built-program-cmd): Likewise.
14425 * Rules (make-test-out): Use $(test-wrapper-env) and
14426 $(host-built-program-cmd).
14427 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
14428 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
14429 tst-pathopt.sh.
14430 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
14431 $(test-wrapper-env) to tst-rtld-load-self.sh.
14432 ($(objpfx)order2.out): Use $(test-wrapper).
14433 ($(objpfx)tst-initorder.out): Likewise.
14434 ($(objpfx)tst-initorder2.out): Likewise.
14435 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
14436 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
14437 (test_wrapper_env): New variable. Use it to run ld.so.
14438 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
14439 Use it to run ld.so.
14440 (test_wrapper_env): Likewise.
14441 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
14442 $(test-wrapper) to run-iconv-test.sh.
14443 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
14444 (ICONV): Use $test_wrapper.
14445 * posix/Makefile ($(objpfx)globtest.out): Pass
14446 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
14447 globtest.sh, not $(run-program-prefix).
14448 * posix/globtest.sh (run_via_rtld_prefix): New variable.
14449 (test_wrapper): Likewise.
14450 (test_wrapper_env): Likewise. Use it to run globtest with HOME
14451 set together with run_via_rtld_prefix.
14452 (run_program_prefix): Define in terms of test_wrapper and
14453 run_via_rtld_prefix.
14454
6e6249d0
RM
144552012-10-24 Roland McGrath <roland@hack.frob.com>
14456
14457 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
14458 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
14459 Targets removed.
14460
14461 [BZ #14743]
14462 * include/time.h: Remove librt_hidden_proto (clock_gettime).
14463 Declare __clock_getres, __clock_gettime, __clock_settime,
14464 __clock_nanosleep, and __clock_getcpuclockid.
14465 * rt/clock_gettime.c: Define __clock_gettime as an alias.
14466 Remove librt_hidden_def (clock_gettime).
14467 * sysdeps/unix/clock_gettime.c: Likewise.
14468 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
14469 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14470 * rt/clock_getres.c: Define __clock_getres as an alias.
14471 * sysdeps/posix/clock_getres.c: Likewise.
14472 * rt/clock_settime.c: Define __clock_settime as an alias.
14473 * sysdeps/unix/clock_settime.c: Likewise.
14474 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
14475 * sysdeps/unix/clock_nanosleep.c: Likewise.
14476 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14477 * rt/clock-compat.c: New file.
14478 * rt/Makefile (librt-routines): Add clock-compat and move
14479 $(clock-routines) to ...
14480 (routines): ... here, new variable.
14481 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
14482 Don't add get_clockfreq here.
14483 * rt/Versions (libc: GLIBC_2.17): New version set.
14484 Add clock_* symbols here.
14485 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
14486 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
14487 (GLIBC_2.17): Add clock_* symbols.
14488 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14489 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14490 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14492 Likewise.
14493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14494 Likewise.
14495 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14496 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
14497 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14498 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14499 * NEWS: Mention the move.
14500
14501 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
14502 Use __open, __read, __close rather than their public counterparts.
14503 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14504 (__get_clockfreq_via_cpuinfo): Likewise.
14505 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
14506 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
14507
14508 * config.h.in (HAVE_IFUNC): New #undef.
14509 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
14510 was successful.
14511 * configure: Regenerated.
14512
0cae3f4b
MF
145132012-10-24 Mike Frysinger <vapier@gentoo.org>
14514
14515 * configure.in: Move READELF check to start of file.
14516 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
14517 libc_cv_asm_gnu_indirect_function in the process.
14518 * configure: Regenerated.
14519
8175a253
MF
145202012-10-24 Mike Frysinger <vapier@gentoo.org>
14521
14522 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
14523 send the output to /dev/null.
14524 (libc_cv_cc_with_libunwind): Likewise.
14525 (libc_cv_as_noexecstack): Likewise.
14526 * configure: Regenerate.
14527
0708a7d1
JM
145282012-10-24 Joseph Myers <joseph@codesourcery.com>
14529
10b40d85
JM
14530 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
14531
0708a7d1
JM
14532 * posix/globtest.sh (TMPDIR): Do not set.
14533 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
14534 (testout): Likewise.
14535
9fddec1a
AJ
145362012-10-24 Andreas Jaeger <aj@suse.de>
14537
3a8db22f
AJ
14538 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
14539 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
14540 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
14541 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
14542 posix_fadvise64, posix_fallocate64.
14543
9fddec1a
AJ
14544 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
14545 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
14546 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
14547 Likewise.
14548 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
14549 Likewise.
14550 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
14551
14552 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
14553 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
14554 <bits/fcntl-linux.h>.
14555 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
14556
14557 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
14558 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
14559 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
14560 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
14561 [__WORDSIZE != 64]: Likewise.
14562
ebfd1bbd
JM
145632012-10-23 Joseph Myers <joseph@codesourcery.com>
14564
03ac099f
JM
14565 * Makeconfig (run-built-tests): New variable.
14566 * Rules [$(cross-compiling) = yes]: Change condition to
14567 [$(run-built-tests) = no].
14568 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
14569 to [$(run-built-tests) = yes].
14570 * elf/Makefile [$(cross-compiling) = no]: Likewise
14571 * grp/Makefile [$(cross-compiling) = no]: Likewise.
14572 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
14573 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
14574 * intl/Makefile [$(cross-compiling) = no]: Likewise.
14575 * io/Makefile [$(cross-compiling) = no]: Likewise.
14576 * libio/Makefile [$(cross-compiling) = no]: Likewise.
14577 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
14578 * misc/Makefile [$(cross-compiling) = no]: Likewise.
14579 * posix/Makefile [$(cross-compiling) = no]: Likewise.
14580 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
14581 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
14582 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
14583 * string/Makefile [$(cross-compiling) = no]: Likewise.
14584
ebfd1bbd
JM
14585 * posix/Makefile ($(objpfx)globtest.out): Pass
14586 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
14587 $(rtld-installed-name).
14588 * posix/globtest.sh (elf_objpfx): Remove variable.
14589 (rtld_installed_name): Likewise.
14590 (library_path): Likewise.
14591 (run_program_prefix): New variable. Use for running globtest
14592 binary.
14593
166bca24
JB
145942012-10-23 Jim Blandy <jimb@codesourcery.com>
14595 Joseph Myers <joseph@codesourcery.com>
14596
14597 * Makeconfig (host-built-program-cmd): New variable.
14598 * elf/Makefile (tst-stackguard1-ARGS): Use
14599 $(host-built-program-cmd).
14600 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
14601 (tst-spawn-ARGS): Likewise.
14602 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
14603
88866099
JM
146042012-10-23 Joseph Myers <joseph@codesourcery.com>
14605 Jim Blandy <jimb@codesourcery.com>
14606
14607 * Makeconfig (run-via-rtld-prefix): New variable.
14608 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
14609 (built-program-cmd): Likewise.
14610
b4b4c296
AJ
146112012-10-22 Andreas Jaeger <aj@suse.de>
14612
14613 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
14614 __O_RSYNC if it exists, otherwise to O_SYNC.
14615
6fb54a22
JB
146162012-10-22 Jim Blandy <jimb@codesourcery.com>
14617 Joseph Myers <joseph@codesourcery.com>
14618
14619 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
14620 /dev/null.
14621 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
14622 from /dev/null
14623 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
14624 /dev/null.
14625
481b90b9
AJ
146262012-10-22 Andreas Jaeger <aj@suse.de>
14627
2a0e2669
AJ
14628 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
14629 Define always.
14630 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
14631
76e38f9a
AJ
14632 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14633 bits/fcntl-linux.h.
14634
7cd37b43
AJ
14635 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
14636 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
14637
481b90b9
AJ
14638 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
14639 to __O_LARGEFILE.
14640 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
14641 to __O_LARGEFILE.
14642
aba75984
JB
146432012-10-21 Jim Blandy <jimb@codesourcery.com>
14644 Joseph Myers <joseph@codesourcery.com>
14645
14646 * config.make.in (NM): New variable.
14647
88d4247f
AJ
146482012-10-21 Andreas Jaeger <aj@suse.de>
14649
14650 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
14651 definitions and declarations that are provided by
14652 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14653
f2eed205
L
146542012-10-20 H.J. Lu <hongjiu.lu@intel.com>
14655
14656 [BZ #14683]
14657 * elf/Makefile (tests-static): Add tst-leaks1-static.
14658 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
14659 ($(objpfx)tst-leaks1-static): New rule.
14660 ($(objpfx)tst-leaks1-static-mem): Likewise.
14661 (tst-leaks1-static-ENV): New macro.
14662 * elf/dl-open.c (dl_open_worker): Check the main application
14663 only if SHARED is defined.
14664 * elf/tst-leaks1-static.c: New file.
14665
335e6931
AJ
146662012-10-20 Andreas Jaeger <aj@suse.de>
14667
14668 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
14669 generic values for Linux.
14670 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
14671 and declarations that are provided by <bits/fcntl-linux.h> and
14672 include <bits/fcntl-linux.h>.
14673 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14674 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14675
ac5c94d3
RM
146762012-10-20 Roland McGrath <roland@hack.frob.com>
14677
14678 * io/fcntl.h: Move include of <bits/types.h> to the top and
14679 include it unconditionally.
14680
de54b33a
L
146812012-10-20 H.J. Lu <hongjiu.lu@intel.com>
14682
228cfb01
L
14683 * wcsmbs/Makefile (tests-ifunc): New variable.
14684 (tests): Add $(tests-ifunc).
14685 * wcsmbs/test-wcschr-ifunc.c: New file.
14686 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
14687 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
14688 * wcsmbs/test-wcslen-ifunc.c: Likewise.
14689 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
14690 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
14691
69f07e5f
L
14692 * string/Makefile (tests-ifunc): New variable.
14693 (tests): Add $(tests-ifunc).
14694 * string/test-memccpy.c (TEST_NAME): New macro.
14695 * string/test-memchr.c (TEST_NAME): Likewise.
14696 * string/test-memcmp.c (TEST_NAME): Likewise.
14697 * string/test-memcpy.c (TEST_NAME): Likewise.
14698 * string/test-memmem.c (TEST_NAME): Likewise.
14699 * string/test-memmove.c (TEST_NAME): Likewise.
14700 * string/test-memset.c (TEST_NAME): Likewise.
14701 * string/test-rawmemchr.c (TEST_NAME): Likewise.
14702 * string/test-stpcpy.c (TEST_NAME): Likewise.
14703 * string/test-stpncpy.c (TEST_NAME): Likewise.
14704 * string/test-strcasecmp.c (TEST_NAME): Likewise.
14705 * string/test-strcasestr.c (TEST_NAME): Likewise.
14706 * string/test-strcat.c (TEST_NAME): Likewise.
14707 * string/test-strchr.c (TEST_NAME): Likewise.
14708 * string/test-strcmp.c(TEST_NAME): Likewise.
14709 * string/test-strcpy.c (TEST_NAME): Likewise.
14710 * string/test-strcspn.c (TEST_NAME): Likewise.
14711 * string/test-strlen.c (TEST_NAME): Likewise.
14712 * string/test-strncasecmp.c (TEST_NAME): Likewise.
14713 * string/test-strncmp.c (TEST_NAME): Likewise.
14714 * string/test-strncpy.c (TEST_NAME): Likewise.
14715 * string/test-strnlen.c (TEST_NAME): Likewise.
14716 * string/test-strpbrk.c (TEST_NAME): Likewise.
14717 * string/test-strrchr.c (TEST_NAME): Likewise.
14718 * string/test-strspn.c (TEST_NAME): Likewise.
14719 * string/test-strstr.c (TEST_NAME): Likewise.
14720 * string/test-bcopy-ifunc.c: New file.
14721 * string/test-bzero-ifunc.c: Likewise.
14722 * string/test-memccpy-ifunc.c: Likewise.
14723 * string/test-memchr-ifunc.c: Likewise.
14724 * string/test-memcmp-ifunc.c: Likewise.
14725 * string/test-memcpy-ifunc.c: Likewise.
14726 * string/test-memmem-ifunc.c: Likewise.
14727 * string/test-memmove-ifunc.c: Likewise.
14728 * string/test-mempcpy-ifunc.c: Likewise.
14729 * string/test-memset-ifunc.c: Likewise.
14730 * string/test-rawmemchr-ifunc.c: Likewise.
14731 * string/test-stpcpy-ifunc.c: Likewise.
14732 * string/test-stpncpy-ifunc.c: Likewise.
14733 * string/test-strcasecmp-ifunc.c: Likewise.
14734 * string/test-strcasestr-ifunc.c: Likewise.
14735 * string/test-strcat-ifunc.c: Likewise.
14736 * string/test-strchr-ifunc.c: Likewise.
14737 * string/test-strchrnul-ifunc.c: Likewise.
14738 * string/test-strcmp-ifunc.c: Likewise.
14739 * string/test-strcpy-ifunc.c: Likewise.
14740 * string/test-strcspn-ifunc.c: Likewise.
14741 * string/test-strlen-ifunc.c: Likewise.
14742 * string/test-strncasecmp-ifunc.c: Likewise.
14743 * string/test-strncat-ifunc.c: Likewise.
14744 * string/test-strncmp-ifunc.c: Likewise.
14745 * string/test-strncpy-ifunc.c: Likewise.
14746 * string/test-strnlen-ifunc.c: Likewise.
14747 * string/test-strpbrk-ifunc.c: Likewise.
14748 * string/test-strrchr-ifunc.c: Likewise.
14749 * string/test-strspn-ifunc.c: Likewise.
14750 * string/test-strstr-ifunc.c: Likewise.
14751
de54b33a
L
14752 * debug/Makefile (tests-ifunc): New variable.
14753 (tests): Add $(tests-ifunc).
14754 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
14755 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
14756 * debug/test-stpcpy_chk-ifunc.c: New file.
14757 * debug/test-strcpy_chk-ifunc.c: Likewise.
14758
88481c16
SP
147592012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14760
14761 [BZ #13601]
14762 * elf/dl-load.c (open_verify): Retry read if the entire ELF
14763 header is not read in.
14764
135948bd
JM
147652012-10-19 Joseph Myers <joseph@codesourcery.com>
14766
89f1c388
JM
14767 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
14768 script to $(SHELL) as $<. Pass $(common-objpfx) to script
14769 directly. Pass built executable to script as
14770 $(built-program-cmd).
14771 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
14772 $testprogram without using LD_LIBRARY_PATH and $ldso.
14773
e40a0d21
JM
14774 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
14775 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
14776 $(rtld-installed-name).
14777 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
14778 (rtld_installed_name): Likewise.
14779 (library_path): Likewise.
14780 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
14781 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
14782 $(run-program-prefix) to tst-tables.sh.
14783 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
14784 it to run tst-table-from and tst-table-to.
14785 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
14786 Pass it to tst-table.sh.
14787 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
14788 $(run-program-prefix) to tst-gettext.sh.
14789 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
14790 tst-translit.sh.
14791 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
14792 tst-gettext2.sh.
14793 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
14794 to run tst-gettext.
14795 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
14796 to run tst-gettext2.
14797 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
14798 to run tst-translit.
14799 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
14800 $(run-program-prefix) to tst-mtrace.sh.
14801 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
14802 to run tst-mtrace.
14803 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
14804 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
14805 $(rtld-installed-name).
14806 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
14807 (rtld_installed_name): Likewise.
14808 (run_program_prefix): New variable. Use it to run wordexp-test.
14809
728e272a
JM
14810 * Makeconfig (ARCH): Remove all definitions.
14811 (machine): Likewise.
14812 [ARCH]: Remove conditional code.
14813 [!objdir]: Give error.
14814 [!objdir] (objpfx): Remove.
14815 [!objdir] (common-objpfx): Likewise.
14816 [!objdir] (common-objdir): Likewise.
14817 * configure.in (config_makefile): Remove. Hardcode Makefile in
14818 AC_CONFIG_FILES call.
14819 * configure: Regenerated.
14820
d528cdcf
JM
14821 [BZ #13888]
14822 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
14823 or TMPDIR.
14824 (testout): Likewise.
14825
135948bd
JM
14826 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
14827 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
14828 $(rtld-installed-name).
14829 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
14830 (rtld_installed_name): Likwise.
14831 (runit): Remove function.
14832 (run_getconf): New variable, Use it for running getconf binary.
14833
38c78296
L
148342012-10-18 H.J. Lu <hongjiu.lu@intel.com>
14835
14836 [BZ #14716]
14837 * string/test-memmem.c (check_result): New function.
14838 (do_one_test): Use it.
14839 (check1): New function.
14840 (test_main): Use it.
14841
d077f65f
MT
148422012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
14843
14844 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
14845
ced52c71
JM
148462012-10-18 Joseph Myers <joseph@codesourcery.com>
14847
14848 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
14849 (_G_LSEEK64): Likewise.
14850 (_G_MMAP64): Likewise.
14851 (_G_FSTAT64): Likewise.
14852 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
14853 (_G_LSEEK64): Likewise.
14854 (_G_MMAP64): Likewise.
14855 (_G_FSTAT64): Likewise.
14856 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
14857 unconditional. Call __mmap64 directly.
14858 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
14859 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
14860 __lseek64 directly.
14861 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
14862 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
14863 __mmap64 directly.
14864 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
14865 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
14866 __lseek64 directly.
14867 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
14868 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
14869 __lseek64 directly.
14870 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
14871 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
14872 __lseek64 directly.
14873 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
14874 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
14875 __fxstat64 directly.
14876 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
14877 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
14878 unconditional.
14879 (freopen64) [!_G_OPEN64]: Remove conditional code.
14880 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
14881 unconditional.
14882 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
14883 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
14884 unconditional.
14885 (ftello64) [!_G_LSEEK64]: Remove conditional code.
14886 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
14887 unconditional.
14888 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14889 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
14890 unconditional.
14891 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
14892 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
14893 unconditional.
14894 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14895 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
14896 unconditional.
14897 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14898 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
14899 unconditional.
14900 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14901
b741de23
SP
149022012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14903
14904 [BZ #12140]
14905 * manual/memory.texi (Malloc Tunable Parameters): Add note
14906 about free list pointers overwriting some perturb bytes.
14907 Wording suggested by Roland McGrath.
14908
f9b9d9c9
JM
149092012-10-17 Joseph Myers <joseph@codesourcery.com>
14910
14911 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
14912 (lgamma_test): Likewise.
14913 (tgamma_test): Likewise.
14914
172a631a
FW
149152012-10-16 Florian Weimer <fweimer@redhat.com>
14916
14917 [BZ #14700]
14918 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
14919 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
14920
e9f37252
MK
149212012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
14922
14923 * NEWS: Mention BZ #14716.
14924 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
14925 when removing AVAILABLE1_USES_J macro.
14926
d394eb74
L
149272012-10-12 H.J. Lu <hongjiu.lu@intel.com>
14928
14929 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
14930 (__bswap_64): __uint64_t for unsigned 64-bit int.
14931
ca38dc17
AS
149322012-10-12 Andreas Schwab <schwab@linux-m68k.org>
14933
14934 * include/string.h (memmem): Declare libc hidden alias.
14935 * string/memmem.c (memmem): Define libc hidden alias.
14936 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
14937 __read, __close instead of open, read, close.
14938
9a387d1f
L
149392012-10-11 H.J. Lu <hongjiu.lu@intel.com>
14940
ac49ecaf
L
14941 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
14942 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
14943 global and hidden.
14944 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
14945 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
14946 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
14947 Likewise.
14948 (__rawmemchr_sse2): Likewise.
14949 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
14950 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
14951 (__strchr_sse2): Likewise.
14952 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
14953 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
14954 (__strcasecmp_sse2): Likewise.
14955 (__strncasecmp_sse2): Likewise.
14956 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
14957 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
14958 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
14959 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
14960 (__strrchr_sse2): Likewise.
14961 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
14962 ifunc-impl-list.c.
14963 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14964 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14965 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14966 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14967 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14968 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14969 * sysdeps/x86_64/multiarch/memset.S: Likewise.
14970 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14971 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
14972 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
14973 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
14974 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
14975 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
14976 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14977 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14978 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14979 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14980 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14981 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
14982 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
14983 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
14984 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
14985 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
14986 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
14987 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
14988 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14989 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14990 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14991 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14992 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14993
b090e8ea
L
14994 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
14995 global and hidden.
14996 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
14997 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
14998 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
14999 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
15000 Likewise.
15001 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
15002 Likewise.
15003 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
15004 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
15005 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
15006 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
15007 ifunc-impl-list.c.
15008 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15009 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15010 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15011 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15012 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15013 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15014 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15015 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15016 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15017 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15018 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15019 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15020 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15021 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
15022 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
15023 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15024 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
15025 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
15026 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15027 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15028 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15029 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15030 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15031 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15032 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15033 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
15034 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
15035 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
15036 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
15037 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15038 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
15039 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15040 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15041 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
15042 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15043 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15044 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15045 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15046 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15047 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15048 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
15049
11dd4af6
L
15050 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
15051 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
15052 * include/ifunc-impl-list.h: New file.
15053 * misc/ifunc-impl-list.c: Likewise.
15054 * misc/Makefile (routines): Add ifunc-impl-list.
15055 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
15056 * string/test-string.h: Include <ifunc-impl-list.h>.
15057 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
15058 impl_array): New variables.
15059 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
15060 are defined.
15061 (test_init): Call __libc_ifunc_impl_list to initialize
15062 func_list if TEST_IFUNC and TEST_NAME are defined.
15063
9a387d1f
L
15064 * string/Makefile (strop-tests): Add bcopy and bzero.
15065 * string/test-bcopy.c: New file.
15066 * string/test-bzero.c: Likewise.
15067 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
15068 defined.
15069 * string/test-memset.c: Support bzero test if TEST_BZERO is
15070 defined.
15071 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
15072 __libc_memmove.
15073 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
15074 __libc_memset.
15075 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
15076 of memset.
15077
472371b9
JM
150782012-10-10 Joseph Myers <joseph@codesourcery.com>
15079
1e4a9536
JM
15080 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
15081 * configure: Regenerated.
15082
d173d12e
JM
15083 * Makeconfig (+link-static-before-libc): Don't include
15084 $(link-static-libc).
15085
472371b9
JM
15086 * libio/libio.h (_IO_pos_t): Remove.
15087
89a3ad0b
AO
150882012-10-10 Alexandre Oliva <aoliva@redhat.com>
15089
15090 * NEWS: Add note about FIPS mode. Wording suggested by Roland
15091 McGrath.
15092
e7451425
AO
150932012-10-10 Alexandre Oliva <aoliva@redhat.com>
15094
15095 * crypt/crypt-entry.c: Include fips-private.h.
15096 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
15097 * crypt/md5c-test.c (main): Tolerate disabled MD5.
15098 * sysdeps/unix/sysv/linux/fips-private.h: New file.
15099 * sysdeps/generic/fips-private.h: New file, dummy fallback.
15100
4ba74a35
AO
151012012-10-10 Alexandre Oliva <aoliva@redhat.com>
15102
15103 * crypt/crypt-private.h: Include stdbool.h.
15104 (_ufc_setup_salt_r): Return bool.
15105 * crypt/crypt-entry.c: Include errno.h.
15106 (__crypt_r): Return NULL with EINVAL for bad salt.
15107 * crypt/crypt_util.c (bad_for_salt): New.
15108 (_ufc_setup_salt_r): Check that salt is long enough and within
15109 the specified alphabet.
15110 * crypt/badsalttest.c: New file.
15111 * crypt/Makefile (tests): Add it.
15112 ($(objpfx)badsalttest): New.
15113
f96f1242
MK
151142012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
15115
15116 * NEWS: Add entry for BZ #14602.
15117
0e8e0c1c
JM
151182012-10-09 Joseph Myers <joseph@codesourcery.com>
15119
15120 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
15121 type-generic.
15122 * math/libm-test.inc: Update comment listing what functions and
15123 macros are tested.
15124 (isgreater_test): New function.
15125 (isgreaterequal_test): Likewise.
15126 (isless_test): Likewise.
15127 (islessequal_test): Likewise.
15128 (islessgreater_test): Likewise.
15129 (isunordered_test): Likewise.
15130 (main): Call the new functions.
15131
273edc5e
RM
151322012-10-09 Roland McGrath <roland@hack.frob.com>
15133
b8493de0
RM
15134 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
15135 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
15136 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
15137 * sysdeps/i386/configure: Regenerated.
15138 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
15139 * sysdeps/mach/configure: Regenerated.
15140 * sysdeps/mach/hurd/configure: Regenerated.
15141 * sysdeps/powerpc/configure: Regenerated.
15142 * sysdeps/powerpc/powerpc32/configure: Regenerated.
15143 * sysdeps/powerpc/powerpc64/configure: Regenerated.
15144 * sysdeps/s390/s390-32/configure: Regenerated.
15145 * sysdeps/s390/s390-64/configure: Regenerated.
15146 * sysdeps/sh/configure: Regenerated.
15147 * sysdeps/sparc/configure: Regenerated.
15148 * sysdeps/unix/sysv/linux/configure: Regenerated.
15149 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
15150 * sysdeps/x86_64/configure: Regenerated.
15151
273edc5e
RM
15152 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
15153 defined. Don't check if MAP is NULL.
15154
c8450f70
JM
151552012-10-09 Joseph Myers <joseph@codesourcery.com>
15156
15157 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
15158 (_G_stat64): Likewise.
15159 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
15160 (_G_stat64): Likewise.
15161 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
15162 instead of struct _G_stat64.
15163 * libio/fileops.c (mmap_remap_check): Likewise.
15164 (decide_maybe_mmap): Likewise.
15165 (_IO_new_file_seekoff): Likewise.
15166 (_IO_file_stat): Likewise.
15167 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
15168 _G_off64_t.
15169 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
15170 instead of struct _G_stat64.
15171 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15172
57e605ba
MK
151732012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
15174
15175 [BZ #14602]
15176 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15177 Replace with ...
15178 (CHECK_EOL): New macro.
15179 (two_way_short_needle): Check beginning of haystack for EOL. Use
15180 CHECK_EOL.
15181 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15182 Replace with CHECK_EOL.
15183 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15184 Replace with CHECK_EOL.
15185
ef1bb361
JM
151862012-10-08 Joseph Myers <joseph@codesourcery.com>
15187
15188 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
15189 type-generic.
15190 * math/libm-test.inc: Update comment listing what functions and
15191 macros are tested.
15192 (finite_test): New function.
15193 (isinf_test): Likewise.
15194 (isnan_test): Likewise.
15195 (fpclassify_test): Test subnormal input.
15196 (isfinite_test): Likewise.
15197 (isnormal_test): Likewise.
15198 (main): Call the new functions.
15199
55f11534
JN
152002012-10-08 Jonathan Nieder <jrnieder@gmail.com>
15201
15202 [BZ #14660]
15203 * Makerules (%.dynsym): Force C locale when running
15204 $(OBJDUMP) --dynamic-syms.
15205
1ab29350
AS
152062012-10-08 Andreas Schwab <schwab@linux-m68k.org>
15207
15208 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
15209 <stdint.h>.
15210
f1ecb7ef
DM
152112012-10-06 David S. Miller <davem@davemloft.net>
15212
15213 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
15214 upper 32-bits of the length value in %o2 since we use branch-on-register
15215 tests which consider the entire 64-bit register.
15216
5d41d91a
L
152172012-10-06 H.J. Lu <hongjiu.lu@intel.com>
15218
15219 * string/test-strstr.c (check2): Add a test for page boundary.
15220
3baddb72
DM
152212012-10-05 David S. Miller <davem@davemloft.net>
15222
15223 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
15224 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
15225 file.
15226 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15227 sysdep_routines.
15228 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15229 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
15230 and bzero when HWCAP_SPARC_CRYPTO is present.
15231
9cee5585
L
152322012-10-05 H.J. Lu <hongjiu.lu@intel.com>
15233
d7e0dab9
L
15234 [BZ #14602]
15235 * string/test-strstr.c (check2): New function.
15236 (test_main): Call check2.
15237
03759f47
L
15238 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
15239 and bug-strchr1.
15240 * string/bug-strcasestr1.c (do_test): Moved to ...
15241 * string/test-strcasestr.c (check1): Here. New function.
15242 (do_one_test): Break out result checking code into ...
15243 (check_result): This. New function.
15244 (do_one_test): Call check_result.
15245 (test_main): Call check1.
15246 * string/bug-strchr1.c (do_test): Moved to ...
15247 * string/test-strchr.c (check1): Here. New function.
15248 (do_one_test): Break out result checking code into ...
15249 (check_result): This. New function.
15250 (do_one_test): Call check_result.
15251 (test_main): Call check1.
15252 * string/bug-strstr1.c (main): Moved to ...
046f153e 15253 * string/test-strstr.c (check1): Here. New function.
03759f47
L
15254 (do_one_test): Break out result checking code into ...
15255 (check_result): This. New function.
15256 (do_one_test): Call check_result.
15257 (test_main): Call check1.
15258 * string/bug-strcasestr1.c: Removed.
15259 * string/bug-strchr1.c: Likewise.
15260 * string/bug-strstr1.c: Likewise.
15261
53cea63e
L
15262 * elf/Makefile (dl-routines): Add hwcaps.
15263 * elf/dl-support.c (_dl_important_hwcaps): Removed.
15264 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
15265 (_dl_important_hwcaps): Moved to ...
15266 * elf/dl-hwcaps.c: Here. New file.
15267 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
15268
9cee5585 15269 [BZ #14557]
bb859b06
L
15270 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
15271 if IS_IN_rtld isn't defined.
15272
9cee5585
L
15273 * elf/dl-support.c (_dl_sysinfo_map): New.
15274 Include "get-dynamic-info.h" and "setup-vdso.h".
15275 (_dl_non_dynamic_init): Call setup_vdso.
15276 * elf/dynamic-link.h: Don't include <assert.h>.
15277 (elf_get_dynamic_info): Moved to ...
15278 * elf/get-dynamic-info.h: Here. New file.
15279 * elf/dynamic-link.h: Include "get-dynamic-info.h".
15280 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
15281 * elf/setup-vdso.h: Here. New file.
15282 * elf/rtld.c: Include "setup-vdso.h".
15283 (dl_main): Call setup_vdso.
15284
23c31b76
JM
152852012-10-05 Joseph Myers <joseph@codesourcery.com>
15286
28234b07
JM
15287 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
15288 creal in comment listing functions tested. List finite, isinf,
15289 isnan, isless, islessequal, isgreater, isgreaterequal,
15290 islessgreater, isunordered, lgamma_r and pow10 as functions and
15291 macros not tested. Mention which functions not tested are aliases
15292 for other functions. Fix typo. Note that signs of NaNs are not
15293 tested.
15294
23c31b76
JM
15295 * scripts/config.guess: Update from config.git.
15296 * scripts/config.sub: Likewise.
15297
9043e228
RM
152982012-10-04 Roland McGrath <roland@hack.frob.com>
15299
15300 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
15301 * misc/madvise.c (madvise): Renamed to __madvise.
15302 Make madvise a weak alias.
15303 * include/sys/mman.h: Declare __madvise.
15304 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
15305 * sysdeps/unix/syscalls.list
15306 (madvise): Make __madvise the strong name, and madvise a weak alias.
15307 * sysdeps/unix/sysv/linux/syscalls.list
15308 (madvise, mmap): Remove redundant entries.
15309 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
15310 * malloc/malloc.c (mtrim): Likewise.
15311 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
15312
f57f8055
RM
153132012-10-03 Roland McGrath <roland@hack.frob.com>
15314
15315 * sysdeps/mach/hurd/dl-cache.c: File removed.
15316 * config.h.in (USE_LDCONFIG): New #undef.
15317 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
15318 * configure: Regenerated.
15319 * elf/Makefile (dl-routines): Add dl-cache only under
15320 [$(use-ldconfig) = yes].
15321 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
15322 cache on [USE_LDCONFIG].
15323 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
15324 [USE_LDCONFIG].
15325 * elf/rtld.c (dl_main): Likewise.
15326
5bb0c10a
PT
153272012-10-03 Pino Toscano <toscano.pino@tiscali.it>
15328
15329 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
15330 _SC_LEVEL4_CACHE_LINESIZE.
15331
010188c6
RM
153322012-10-03 Roland McGrath <roland@hack.frob.com>
15333
15334 * sysdeps/unix/bsd/confstr.h: File removed.
15335
b6c5ec07
AO
153362012-10-02 Alexandre Oliva <aoliva@redhat.com>
15337
15338 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
15339 sys/sdt-config.h.
15340
408223d4
RM
153412012-10-02 Roland McGrath <roland@hack.frob.com>
15342
15343 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
15344 Make 'mapoff' field ElfW(Off) rather than off_t.
15345
bb9510dc
DL
153462012-10-02 Dmitry V. Levin <ldv@altlinux.org>
15347
fc997c6e
DL
15348 * nscd/Makefile: Remove nscd-cflags and all its users.
15349 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
15350 (CFLAGS-nonlib): Add compiler flags for nscd modules.
15351
bb9510dc
DL
15352 [BZ #10631]
15353 * malloc.c (malloc_printerr): Clarify error message.
15354
05699367
L
153552012-10-02 H.J. Lu <hongjiu.lu@intel.com>
15356
15357 [BZ #14648]
15358 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15359 Set bit_FMA_Usable if FMA is supported.
15360 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
15361 macro.
15362 (bit_FMA4_Usable): Updated.
15363 (index_FMA_Usable): New macro.
15364 (CPUID_FMA): Likewise
15365 (HAS_FMA): Defined with bit_FMA_Usable.
15366
51367701
RM
153672012-10-01 Roland McGrath <roland@hack.frob.com>
15368
15369 * bits/types.h (__swblk_t): Type removed.
15370 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
15371 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
15372 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15373 (__SWBLK_T_TYPE): Likewise.
15374 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15375 (__SWBLK_T_TYPE): Likewise.
15376 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15377 (__SWBLK_T_TYPE): Likewise.
15378 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15379 (__SWBLK_T_TYPE): Likewise.
15380
4d57bf63 153812012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 15382 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
15383
15384 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
15385 (xdr_mapname): Use YPMAXMAP as maxsize.
15386 (xdr_peername): Use YPMAXPEER as maxsize.
15387 (xdr_keydat): Use YPAXRECORD as maxsize.
15388 (xdr_valdat): Use YPMAXRECORD as maxsize.
15389
93c65d43
RM
153902012-10-01 Roland McGrath <roland@hack.frob.com>
15391
497a03d6
RM
15392 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
15393
93c65d43
RM
15394 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
15395 * csu/init-first.c: ... here.
15396 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
15397 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
15398 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
15399 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15400 * sysdeps/i386/init-first.c: File removed.
15401 * sysdeps/sh/init-first.c: File removed.
15402
bec749fd
JM
154032012-10-01 Joseph Myers <joseph@codesourcery.com>
15404
15405 [BZ #14645]
15406 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
15407 if x * y might underflow to zero and z is zero.
15408 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15409 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15410 * math/libm-test.inc (min_subnorm_value): New variable.
15411 (fma_test): Add more tests.
15412 (fma_test_towardzero): Likewise.
15413 (fma_test_downward): Likewise
15414 (fma_test_upward): Likewise.
15415 (initialize): Set min_subnorm_value.
15416
8ec5b013
JM
154172012-09-29 Joseph Myers <joseph@codesourcery.com>
15418
15419 [BZ #14638]
15420 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
15421 0 + 0.
15422 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
15423 mode for addition resulting in exact zero.
15424 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
15425 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
15426 exact 0 + 0.
15427 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15428 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15429 * math/libm-test.inc (fma_test): Add more tests.
15430 (fma_test_towardzero): New function.
15431 (fma_test_downward): Likewise.
15432 (fma_test_upward): Likewise.
15433 (main): Call the new functions.
15434
b1fa802e
DM
154352012-09-28 David S. Miller <davem@davemloft.net>
15436
15437 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
15438
d3b9fd9e
RM
154392012-09-28 Roland McGrath <roland@hack.frob.com>
15440
ea4d37b3
RM
15441 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
15442 instead of SIGALRM.
15443
ac51c949
RM
15444 * sysdeps/gnu/_G_config.h: Moved to ...
15445 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
15446 * sysdeps/mach/hurd/_G_config.h: Moved to ...
15447 * sysdeps/generic/_G_config.h: ... here.
15448
28c195f7
RM
15449 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
15450
848917f9
RM
15451 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
15452
6bacf05b
RM
15453 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
15454 Conditionalize target on [libnss_test1.so-version].
15455
91363dbb
RM
15456 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
15457
cc87f7d8
RM
15458 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
15459 (elfobjdir): Move out of conditionals.
15460
b1c608fe
RM
15461 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
15462 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
15463 (__nss_lookup_function): Conditionalize label remove_from_tree on
15464 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 15465
1d9a6d96
DM
154662012-09-28 David S. Miller <davem@davemloft.net>
15467
15468 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
15469 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
15470 file.
15471 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15472 sysdep_routines.
15473 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15474 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
15475 when HWCAP_SPARC_CRYPTO is present.
15476
72581615
PT
154772012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15478
15479 * io/tst-mknodat.c: Create a FIFO instead of a socket.
15480
715a900c
JL
154812012-09-28 Andreas Schwab <schwab@linux-m68k.org>
15482
15483 [BZ #6530]
15484 * stdio-common/vfprintf.c (process_string_arg): Revert
15485 2000-07-22 change.
15486
154872011-09-28 Jonathan Nieder <jrnieder@gmail.com>
15488
15489 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
15490 for testcase.
15491 * stdio-common/tst-sprintf.c: Include <locale.h>
15492 (main): Test sprintf's handling of incomplete multibyte
15493 characters.
15494
9bac1d86
L
154952012-09-28 H.J. Lu <hongjiu.lu@intel.com>
15496
15497 * elf/dl-runtime.c (VERSYMIDX): Removed.
15498 * elf/dl-version.c (VERSYMIDX): Likewise.
15499 * elf/do-rel.h (VERSYMIDX): Likewise.
15500 (VALIDX): Likewise.
15501 * elf/dynamic-link.h (VERSYMIDX): Likewise.
15502 * elf/rtld.c (VALIDX): Likewise.
15503 (ADDRIDX): Likewise.
9bac1d86
L
15504 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
15505 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
15506 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
15507 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
15508 (VALIDX): Likewise.
15509 (ADDRIDX): Likewise.
9bac1d86 15510
b31606c0
PT
155112012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15512
15513 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
15514
11541177
JL
155152012-09-28 Dmitry V. Levin <ldv@altlinux.org>
15516
15517 [BZ #11438]
15518 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
15519 to global scope.
15520 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
15521 addresses are in the same scope as 192.0.2/24.
15522 * posix/gai.conf: Document new scope table defaults.
15523
adb26fae
SP
155242012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15525
15526 [BZ #5298]
15527 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
15528 for ftell. Compute offsets from write pointers instead.
15529 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15530
4573c6b0
SP
155312012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15532
15533 [BZ #14543]
15534 * libio/Makefile (tests): New test case tst-fseek.
15535 * libio/tst-fseek.c: New test case to verify that fseek/ftell
15536 combination works in wide mode.
15537 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
15538 state when the external buffer state changes.
15539
aa9bbfe6
DM
155402012-09-27 David S. Miller <davem@davemloft.net>
15541
15542 [BZ #14376]
15543 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
15544 pass reloc->r_addend in as the 'high' argument to
15545 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
15546
784421e7
DM
15547 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15548
c39bc8b8
PT
155492012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15550
15551 * rt/tst-aio2.c: Include <pthread.h>.
15552 * rt/tst-aio3.c: Likewise.
15553
1ccc2399
SE
155542012-09-27 Steve Ellcey <sellcey@mips.com>
15555
15556 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
15557
31ed4153
L
155582012-09-27 H.J. Lu <hongjiu.lu@intel.com>
15559
25f5f885
L
15560 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
15561 contents on [SHARED].
31ed4153 15562
b7bfe116
MP
155632012-09-26 Marek Polacek <polacek@redhat.com>
15564
15565 [BZ #14530]
15566 [BZ #13741]
15567 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
15568 for C++ and GCC <4.3 as well as for non GCC compilers.
15569
43c4edba
MT
155702012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15571
15572 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15573
6a1bf82f
RM
155742012-09-25 Roland McGrath <roland@hack.frob.com>
15575
15576 * Makefile.in (all, install): Declare with .PHONY.
15577 Reported by Michael Hope <michael.hope@linaro.org>.
15578
8ad11b9a
TMQMF
155792012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15580
15581 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
15582 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
15583 system header.
15584 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
15585 Likewise.
15586 (sydep_routines): Add the new and the internal functions.
15587 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
15588 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
15589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
15590 (GLIBC_2.17): Add the new function.
15591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15592 (GLIBC_2.17): Likewise.
15593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
15594 (GLIBC_2.17): Likewise.
15595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
15596 (GLIBC_2.17): Likewise.
15597 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
15598
7e2fca8d
AM
155992012-09-25 Alan Modra <amodra@gmail.com>
15600
15601 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
15602 Add release barrier before setting once_control to say
15603 initialisation is done. Add hints on lwarx. Use macro in
15604 place of isync.
15605 (clear_once_control): Add release barrier.
15606
b87c4b24
JM
156072012-09-25 Joseph Myers <joseph@codesourcery.com>
15608
d032e0d2
JM
15609 [BZ #13629]
15610 * math/s_clog.c (__clog): Handle more values close to |z| = 1
15611 specially.
15612 * math/s_clog10.c (__clog10): Likewise.
15613 * math/s_clog10f.c (__clog10f): Likewise.
15614 * math/s_clog10l.c (__clog10l): Likewise.
15615 * math/s_clogf.c (__clogf): Likewise.
15616 * math/s_clogl.c (__clogl): Likewise.
15617 * math/Makefile (libm-calls): Add x2y2m1.
15618 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
15619 (__x2y2m1): Likewise.
15620 (__x2y2m1l): Likewise.
15621 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
15622 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
15623 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15624 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15625 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
15626 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
15627 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
15628 * sysdeps/i386/fpu/libm-test-ulps: Update.
15629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15630
b87c4b24
JM
15631 [BZ #14621]
15632 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
15633 int as type of variable DEPTH.
15634 (glob): Use size_t instead of int as type of variables NEWCOUNT
15635 and OLD_PATHC.
15636
6d3bf199
LD
156372012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15638
22bf5c17
LD
15639 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15640 Add s_sincosf-sse2.
15641 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
15642 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
15643 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
15644 macros for using routine as __sincosf_ia32.
15645 Use macro for function declaration and weak_alias.
15646 * sysdeps/i386/fpu/libm-test-ulps: Update.
15647
15648 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
15649 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15650
15651 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
15652 subnormal argument.
15653 * math/s_cexpf.c (__cexpf): Likewise.
15654 * math/s_csinf.c (__csinf): Likewise.
15655 * math/s_csinhf.c (__csinhf): Likewise.
15656 * math/s_ctanf.c (__ctanf): Likewise.
15657 * math/s_ctanhf.c (__ctanhf): Likewise.
15658 * math/s_ccosh.c (__ccoshf): Likewise.
15659 * math/s_cexp.c (__cexpl): Likewise.
15660 * math/s_csin.c (__csin): Likewise.
15661 * math/s_csinh.c (__csinh): Likewise.
15662 * math/s_ctan.c (__ctan): Likewise.
15663 * math/s_ctanh.c (ctanh): Likewise.
15664 * math/s_ccoshl.c (__ccoshl): Likewise.
15665 * math/s_cexpl.c (__cexpl): Likewise.
15666 * math/s_csinl.c (__csinl): Likewise.
15667 * math/s_csinhl.c (__csinhl): Likewise.
15668 * math/s_ctanl.c (__ctanl): Likewise.
15669 * math/s_ctanhl.c (__ctanhl): Likewise.
15670
203e5603
JM
156712012-09-25 Joseph Myers <joseph@codesourcery.com>
15672
15673 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
15674 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
15675 (_IO_off_t): Define to __off_t, not _G_off_t.
15676 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
15677 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
15678 (_IO_wint_t): Define to wint_t, not _G_wint_t.
15679 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
15680 type of __dummy and __dummy2 fields.
15681 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
15682 (_G_ssize_t): Likewise.
15683 (_G_off_t): Likewise.
15684 (_G_pid_t): Likewise.
15685 (_G_uid_t): Likewise.
15686 (_G_wchar_t): Likewise.
15687 (_G_wint_t): Likewise.
15688 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
15689 (_G_ssize_t): Likewise.
15690 (_G_off_t): Likewise.
15691 (_G_pid_t): Likewise.
15692 (_G_uid_t): Likewise.
15693 (_G_wchar_t): Likewise.
15694 (_G_wint_t): Likewise.
15695 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
15696 (_G_ssize_t): Likewise.
15697 (_G_off_t): Likewise.
15698 (_G_pid_t): Likewise.
15699 (_G_uid_t): Likewise.
15700 (_G_wchar_t): Likewise.
15701 (_G_wint_t): Likewise.
15702
9fab36eb
SP
157032012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15704
15705 * malloc/arena.c: Include malloc-sysdep.h.
15706 (shrink_heap): Use check_may_shrink_heap to decide if madvise
15707 is sufficient to shrink the heap or an unmap is needed.
15708 * sysdeps/generic/malloc-sysdep.h: New file. Define
15709 new function check_may_shrink_heap.
15710 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
15711 new function check_may_shrink_heap.
15712
2b4f00d1
SP
157132012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15714
15715 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
15716 comments.
15717
9a9028b1
DL
157182012-09-24 Dmitry V. Levin <ldv@altlinux.org>
15719
57c69bef
DL
15720 * catgets/test-gencat.sh: Add "set -e".
15721 * elf/tst-pathopt.sh: Likewise.
15722 * grp/tst_fgetgrent.sh: Likewise.
15723 * iconvdata/run-iconv-test.sh: Likewise.
15724 * intl/tst-gettext.sh: Likewise.
15725 * intl/tst-gettext2.sh: Likewise.
15726 * intl/tst-gettext4.sh: Likewise.
15727 * intl/tst-gettext6.sh: Likewise.
15728 * intl/tst-translit.sh: Likewise.
15729 * io/ftwtest-sh: Likewise.
15730 * libio/test-freopen.sh: Likewise.
15731 * malloc/tst-mtrace.sh: Likewise.
15732 * posix/globtest.sh: Likewise.
15733 * posix/tst-getconf.sh: Likewise.
15734 * posix/wordexp-tst.sh: Likewise.
15735 * stdio-common/tst-printf.sh: Likewise.
15736 * stdio-common/tst-unbputc.sh: Likewise.
15737 * stdlib/tst-fmtmsg.sh: Likewise.
15738 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15739 * catgets/Makefile: Do not specify -e option when running
15740 testsuite shell scripts.
15741 * elf/Makefile: Likewise.
15742 * grp/Makefile: Likewise.
15743 * iconvdata/Makefile: Likewise.
15744 * intl/Makefile: Likewise.
15745 * io/Makefile: Likewise.
15746 * libio/Makefile: Likewise.
15747 * malloc/Makefile: Likewise.
15748 * posix/Makefile: Likewise.
15749 * stdio-common/Makefile: Likewise.
15750 * stdlib/Makefile: Likewise.
15751 * sysdeps/x86_64/Makefile: Likewise.
15752
9a9028b1
DL
15753 * io/ftwtest-sh: Add copyright header.
15754 * posix/globtest.sh: Likewise.
15755 * posix/tst-getconf.sh: Likewise.
15756 * posix/wordexp-tst.sh: Likewise.
15757 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15758
ced6f16e
L
157592012-09-24 H.J. Lu <hongjiu.lu@intel.com>
15760
94b32c39
L
15761 [BZ #13679]
15762 * Makeconfig (+link): Defined as $(+link-static) if
15763 $(build-shared) isn't yes.
15764 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
15765 isn't yes.
15766 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
15767
189e935b
L
15768 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
15769
ced6f16e
L
15770 [BZ #14562]
15771 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
15772 new chunk size with MALLOC_ALIGN_MASK.
15773
a9f8e53a
JM
157742012-09-24 Joseph Myers <joseph@codesourcery.com>
15775
15776 [BZ #5044]
15777 * stdio-common/printf_fphex.c: Include <stdbool.h> and
15778 <rounding-mode.h>.
15779 (__printf_fphex): Determine rounding using get_rounding_mode and
15780 round_away.
15781 * stdio-common/tst-printf-round.c (struct hex_test): New
15782 structure.
15783 (hex_tests): New variable.
15784 (test_hex_in_one_mode): New function.
15785 (do_test): Also run tests for hex float output.
15786
43153109
JM
157872012-09-21 Joseph Myers <joseph@codesourcery.com>
15788
15789 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15790 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15791 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
15792 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15793 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15794 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
15795 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15796 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15797
8a26625d
JM
157982012-09-20 Joseph Myers <joseph@codesourcery.com>
15799
15800 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
15801 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
15802 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
15803 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
15804
f3fd569c
DL
158052012-09-19 Dmitry V. Levin <ldv@altlinux.org>
15806
15807 [BZ #14579]
15808 * elf/rtld.c (dl_main): Limit the check for self loading to normal
15809 mode only.
15810 * elf/tst-rtld-load-self.sh: New test.
15811 * elf/Makefile: Run it.
15812
63bbedd4
JM
158132012-09-18 Joseph Myers <joseph@codesourcery.com>
15814
15815 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
15816 (tst-writev-ENV): Remove.
15817 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
15818
626f8b6a
CM
158192012-09-17 Chris Metcalf <cmetcalf@tilera.com>
15820
15821 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
15822
b7aaa4d6
JM
158232012-09-17 Joseph Myers <joseph@codesourcery.com>
15824
15825 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
15826 unconditional.
15827 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
15828 Likewise.
15829 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
15830 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
15831 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
15832 Likewise.
15833
65513990
L
158342012-09-14 H.J. Lu <hongjiu.lu@intel.com>
15835
15836 [BZ #14587]
15837 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
15838 * config.make.in (have-cpp-asm-debuginfo): Removed.
15839 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
15840 * configure: Regenerated.
15841
784761be
JM
158422012-09-14 Joseph Myers <joseph@codesourcery.com>
15843
15844 [BZ #5044]
15845 * stdio-common/printf_fp.c: Include <stdbool.h> and
15846 <rounding-mode.h>.
15847 (___printf_fp): Determine rounding using get_rounding_mode and
15848 round_away.
15849 * stdio-common/tst-printf-round.c: New file.
15850 * stdio-common/Makefile (tests): Add tst-printf-round.
15851 (link-libm): New variable.
15852 ($(objpfx)tst-printf-round): Depend in $(link-libm).
15853
9503345f
L
158542012-09-13 H.J. Lu <hongjiu.lu@intel.com>
15855
15856 [BZ #14576]
15857 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
15858 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
15859 Likewise.
15860 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
15861 Likewise.
15862
ad35fc00
JM
158632012-09-13 Joseph Myers <joseph@codesourcery.com>
15864
15865 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
15866 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15867 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15868 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15869
6c9b0f68
JM
158702012-09-12 Joseph Myers <joseph@codesourcery.com>
15871
15872 [BZ #14518]
15873 * include/rounding-mode.h: New file.
15874 * sysdeps/generic/get-rounding-mode.h: Likewise.
15875 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
15876 * stdlib/strtod_l.c: Include <rounding-mode.h>.
15877 (MAX_VALUE): New macro.
15878 (MIN_VALUE): Likewise.
15879 (overflow_value): New function.
15880 (underflow_value): Likewise.
15881 (round_and_return): Use overflow_value and underflow_value to
15882 determine return values in overflow and underflow cases. Use
15883 round_away to determine rounding depending on rounding mode.
15884 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
15885 determine return values in overflow and underflow cases.
15886 * stdlib/tst-strtod-round.c: Include <fenv.h>.
15887 (struct test_results): New structure.
15888 (struct test): Use struct test_results to store expected results
15889 for all rounding modes.
15890 (TEST): Include expected results for all rounding modes.
15891 (test_in_one_mode): New function.
15892 (do_test): Use test_in_one_mode to compute and check results.
15893 Check results for all rounding modes.
15894 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
15895 $(link-libm).
15896
19fcedd5
AM
158972012-12-09 Allan McRae <allan@archlinux.org>
15898
1e9d84cd 15899 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 15900
8bbfd2f1
JM
159012012-09-11 Joseph Myers <joseph@codesourcery.com>
15902
15903 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
15904 (_G_int32_t): Likewise.
15905 (_G_uint16_t): Likewise.
15906 (_G_uint32_t): Likewise.
15907 (_G_HAVE_BOOL): Likewise.
15908 (_G_HAVE_ATEXIT): Likewise.
15909 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15910 (_G_HAVE_IO_FILE_OPEN): Likewise.
15911 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
15912 (_G_int32_t): Likewise.
15913 (_G_uint16_t): Likewise.
15914 (_G_uint32_t): Likewise.
15915 (_G_HAVE_BOOL): Likewise.
15916 (_G_HAVE_ATEXIT): Likewise.
15917 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15918 (_G_HAVE_IO_FILE_OPEN): Likewise.
15919 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
15920 (_G_int32_t): Likewise.
15921 (_G_uint16_t): Likewise.
15922 (_G_uint32_t): Likewise.
15923 (_G_HAVE_BOOL): Likewise.
15924 (_G_HAVE_ATEXIT): Likewise.
15925 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15926 (_G_HAVE_IO_FILE_OPEN): Likewise.
15927
b1dc5912
L
159282012-09-11 H.J. Lu <hongjiu.lu@intel.com>
15929
15930 * csu/libc-tls.c: Update copyright years.
15931
0e886ef9
JM
159322012-09-10 Joseph Myers <joseph@codesourcery.com>
15933
28361c5e
JM
15934 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
15935 [!_G_USING_THUNKS]: Remove conditional code.
15936 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
15937 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
15938
0e886ef9
JM
15939 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
15940 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
15941 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15942 (_G_VTABLE_LABEL_PREFIX): Likewise.
15943 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15944 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15945 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15946 (_G_VTABLE_LABEL_PREFIX): Likewise.
15947 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15948 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15949 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15950 (_G_VTABLE_LABEL_PREFIX): Likewise.
15951 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15952
bcba7aa2
L
159532012-09-10 H.J. Lu <hongjiu.lu@intel.com>
15954
15955 * libio/Makefile: Include ../Makeconfig before tests.
15956 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
15957 only if $(build-shared) is yes.
15958
06585ee8
L
15959 * iconv/gconv_db.c: Update copyright years.
15960
80ccd52c
LD
159612012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15962
15963 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
15964 unwind info if defined PIC. Fix special cases description.
15965 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
15966
15967 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
15968 DP_HI_MASK entry.
15969 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
15970
691bc9c1
L
159712012-09-07 H.J. Lu <hongjiu.lu@intel.com>
15972
3d9b46b3
L
15973 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
15974
de2139a9
L
15975 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
15976 is NULL.
15977
5ca78dd0
L
15978 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
15979 (LDLIBS-tst-chk4): This.
15980 (LDFLAGS-tst-chk5): Renamed to ...
15981 (LDLIBS-tst-chk5): This.
15982 (LDFLAGS-tst-chk6): Renamed to ...
15983 (LDLIBS-tst-chk6): This.
15984 (LDFLAGS-tst-lfschk4): Renamed to ...
15985 (LDLIBS-tst-lfschk4): This.
15986 (LDFLAGS-tst-lfschk5): Renamed to ...
15987 (LDLIBS-tst-lfschk5): This.
15988 (LDFLAGS-tst-lfschk6): Renamed to ...
15989 (LDLIBS-tst-lfschk6): This.
15990
691bc9c1
L
15991 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
15992 on $(common-objpfx)soversions.mk.
15993
65cafb1c
JM
159942012-09-07 Joseph Myers <joseph@codesourcery.com>
15995
15996 [BZ #10014]
15997 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
15998 example host name.
15999
c78ab094
SP
160002012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16001
16002 * malloc/arena.c (arena_get_retry): New function that gets
16003 another arena for the caller to try its request on.
16004 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
16005 current arena cannot fulfill the request.
16006 (__libc_memalign): Likewise.
16007 (__libc_memalign): Likewise.
16008 (__libc_pvalloc): Likewise.
16009 (__libc_calloc): Likewise.
16010
01f49f59
JT
160112012-09-05 John Tobey <john.tobey@gmail.com>
16012
16013 [BZ #13542]
16014 * manual/arith.texi (Operations on Complex): Fix description
16015 of carg branch cut.
16016
4c23fed5
JM
160172012-09-06 Joseph Myers <joseph@codesourcery.com>
16018
1d3c8572
JM
16019 [BZ #10014]
16020 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
16021 host name.
16022
4c23fed5
JM
16023 [BZ #10038]
16024 * manual/memory.texi (Memory): Make order of menu items match
16025 order of sections.
16026
04570aaa
L
160272012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16028
16029 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
16030 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
16031 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
16032
b80af2f4
L
160332012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16034
16035 * csu/libc-tls.c (static_dtv): Renamed to ...
16036 (_dl_static_dtv): This. Make it global.
16037 (_dl_initial_dtv): Removed.
16038 (__libc_setup_tls): Updated.
16039 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
16040 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
16041 DL_INITIAL_DTV.
16042
2abe9f15
PM
160432012-09-06 Petr Machata <pmachata@redhat.com>
16044
16045 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
16046 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
16047 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
16048 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
16049
0948c3af
L
160502012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16051
16052 [BZ #14545]
16053 * csu/libc-tls.c (_dl_initial_dtv): New variable.
16054 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
16055 freeing dtv[-1].
16056
a5055ad1
L
160572012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16058
16059 [BZ #14544]
16060 * Makeconfig (link-static-before-libc): Replace $(+prector)
16061 with $(+prectorT).
16062 (link-static-after-libc): Replace $(+postctor) with
16063 $(+postctorT).
16064 (link-bounded): Replace $(+prector)/$(+postctor) with
16065 $(+prectorT)/$(+postctorT).
16066 (+prectorT): New macro.
16067 (+postctorT): Likewise.
16068
ed8c2ecd
JM
160692012-09-06 Joseph Myers <joseph@codesourcery.com>
16070
16071 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
16072 (round_str): Handle values above the maximum for IBM long double
16073 as inexact.
16074 * stdlib/tst-strtod-round.c (tests): Regenerated.
16075
14c996c8
AK
160762012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16077
16078 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
16079 assembler flag.
16080 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
16081 zarch_nohighgprs around the zarch optimized routines.
16082 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
16083 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
16084 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
16085 for zarch.
16086
430d6ce6
DM
160872012-09-05 David S. Miller <davem@davemloft.net>
16088
16089 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16090
ff04dda4
DM
16091 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
16092 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
16093 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
16094 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16095 entries.
16096
24d4e01b
AO
160972012-09-05 Alexandre Oliva <aoliva@redhat.com>
16098
16099 * malloc/arena.c: Fold copyright years.
16100 * malloc/mcheck.c, malloc/memusage.c: Likewise.
16101
61d58174
AO
161022012-09-05 Alexandre Oliva <aoliva@redhat.com>
16103
16104 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
16105
20196a5e
AO
161062012-09-05 Alexandre Oliva <aoliva@redhat.com>
16107
16108 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
16109
5c447383
AO
161102012-09-05 Alexandre Oliva <aoliva@redhat.com>
16111
16112 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
16113 change internal state upon failure.
16114
fad64255
AO
161152012-09-05 Alexandre Oliva <aoliva@redhat.com>
16116
16117 * malloc/mcheck.c (mcheck_check_all): Fix typo.
16118 * malloc/memusage.c (mmap): Likewise.
16119 (mmap64, mremap): Likewise. Adjust name in comment.
16120
1ffb8c90
SP
161212012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16122
16123 * libio/fileops.c: Fix typos in comments.
16124 * libio/oldfileops.c: Likewise.
16125 * libio/wfileops.c: Likewise.
16126
6ef9cc37
SP
161272012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16128
16129 [BZ #1349]
16130 * malloc/Makefile (tests): Add tst-malloc-usable test case.
16131 (tst-malloc-usable-ENV): Set environment for test case.
16132 * malloc/hooks.c (malloc_check_get_size): New function to get
16133 requested size.
16134 * malloc/malloc.c (musable): Use malloc_check_get_size.
16135 * malloc/tst-malloc-usable.c: New test case.
16136
4d038ae3
AS
161372012-09-05 Andreas Schwab <schwab@linux-m68k.org>
16138
16139 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
16140
c4e85184
AM
161412012-09-05 Allan McRae <allan@archlinux.org>
16142
b9dafc56 16143 [BZ #13966]
c4e85184
AM
16144 * configure.in (CXX_SYSINCLUDES): Use compiler output to
16145 determine header location.
16146 * configure: Regenerated.
16147
e1343020
AS
161482012-09-05 Andreas Schwab <schwab@linux-m68k.org>
16149
16150 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
16151 float format.
16152 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
16153 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
16154 format.
e1343020
AS
16155 (test): Regenerate.
16156
0a9f1987
DM
161572012-09-04 David S. Miller <davem@davemloft.net>
16158
16159 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
16160 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
16161 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
16162
29237804
FW
161632012-09-04 Florian Weimer <fweimer@redhat.com>
16164
16165 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
16166 failures.
16167
edb3cb88
FW
16168 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
16169
60160d83
JM
161702012-09-04 Joseph Myers <joseph@codesourcery.com>
16171
16172 [BZ #9914]
16173 * libio/iogetdelim.c: Include <limits.h>.
16174 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
16175 + len + 1 would overflow.
16176
bcd6c8dc
AJ
161772012-09-03 Andreas Jaeger <aj@suse.de>
16178
16179 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16180 * sysdeps/i386/fpu/libm-test-ulps: Update.
16181
4ffffbd2
LD
161822012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16183
16184 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16185 Add s_sinf-sse2, s_conf-sse2.
16186
16187 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
16188 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
16189 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
16190 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
16191
16192 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
16193 for using routine as __sinf_ia32.
16194 Use macro for function declaration and weak_alias.
16195 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
16196 for using routine as __cosf_ia32.
16197 Use macro for function declaration and weak_alias.
16198
16199 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
16200 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
16201
16202 * sysdeps/x86_64/fpu/s_sinf.S: New file.
16203 * sysdeps/x86_64/fpu/s_cosf.S: New file.
16204 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16205
16206 * math/libm-test.inc (cos_test): Add more test cases.
16207 (sin_test): Likewise.
16208 (sincos_test): Likewise.
16209
511fa286
AK
162102012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16211
16212 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
16213 (IFUNC_RESOLVE): Make pointers to the specialized implementations
16214 hidden.
16215 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16216
5f30cfec
L
162172012-09-02 H.J. Lu <hongjiu.lu@intel.com>
16218
16219 [BZ #14538]
16220 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
16221 first element of the GOT.
16222 (elf_machine_load_address): Return the difference between
16223 the runtime address of _DYNAMIC and elf_machine_dynamic ().
16224
0786794f
AM
162252012-09-01 Allan McRae <allan@archlinux.org>
16226
5f30cfec
L
16227 [BZ #13412]
16228 * configure.in (AWK): Require gawk version 3.0 or later.
16229 * configure: Regenerated.
0786794f 16230
26889eac
JM
162312012-09-01 Joseph Myers <joseph@codesourcery.com>
16232
16233 * sysdeps/unix/sysv/linux/kernel-features.h
16234 (__ASSUME_POSIX_CPU_TIMERS): Remove.
16235 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16236 [__NR_clock_getres]: Make code unconditional.
16237 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
16238 (clock_getcpuclockid): Remove code left unreachable by removal of
16239 conditionals.
16240 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
16241 code unconditional.
16242 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16243 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16244 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
16245 Make code unconditional.
16246 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16247 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16248 * sysdeps/unix/sysv/linux/clock_settime.c
16249 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
16250 conditional code.
16251 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
16252 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16253
d22e28b0
L
162542012-08-29 H.J. Lu <hongjiu.lu@intel.com>
16255
16256 [BZ #14476]
16257 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
16258 scripts/test-installation.pl.
16259
16260 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
16261 and $ld_so_version if it is set.
16262
050af9c4
SP
162632012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16264
16265 [BZ #14516]
16266 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
16267 failure if reading from procfs failed.
16268 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
16269
ad845c0b
JM
162702012-08-27 Joseph Myers <joseph@codesourcery.com>
16271
16272 * sysdeps/unix/sysv/linux/kernel-features.h
16273 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
16274 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16275 Remove conditional code.
16276 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16277 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
16278 Remove conditional code.
16279 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16280 * sysdeps/unix/sysv/linux/i386/fxstat.c
16281 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16282 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16283 * sysdeps/unix/sysv/linux/i386/fxstatat.c
16284 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16285 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16286 * sysdeps/unix/sysv/linux/i386/lxstat.c
16287 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16288 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16289 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
16290 Remove conditional code.
16291 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16292 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16293 Remove conditional code.
16294 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16295 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
16296 <kernel-features.h>.
16297 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
16298 Remove.
16299 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
16300 Remove conditional code.
16301 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16302 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
16303 Remove conditional.
16304
5dbf56af
MF
163052012-08-27 Mike Frysinger <vapier@gentoo.org>
16306
16307 [BZ #5400]
16308 * NEWS: Add fixed bug number.
16309
d6e70f43
JM
163102012-08-27 Joseph Myers <joseph@codesourcery.com>
16311
7efb4737
JM
16312 [BZ #14519]
16313 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
16314 underflowing exponent in case of negative sign.
16315 * stdlib/tst-strtod-round-data: Add more tests.
16316 * stdlib/tst-strtod-round.c (tests): Regenerated.
16317
af92131a
JM
16318 [BZ #3479]
16319 * stdlib/strtod_l.c (NDIG): Remove.
16320 (HEXNDIG): Likewise.
16321 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
16322 smallest representable value.
16323 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
16324 lie within an exact representation of 1/2 ulp of the result.
16325 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
16326 unconditionally.
16327 (TENS_P9_IDX): Define unconditionally.
16328 (TENS_P9_SIZE): Likewise.
16329 (TENS_P10_IDX): Likewise.
16330 (TENS_P10_SIZE): Likewise.
16331 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
16332 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
16333 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
16334 entries for 10^2^13 and 10^2^14.
16335 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
16336 (TENS_P13_IDX): Define.
16337 (TENS_P13_SIZE): Likewise.
16338 (TENS_P14_IDX): Likewise.
16339 (TENS_P14_SIZE): Likewise.
16340 (_fpioconst_pow10): Change array size to
16341 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
16342 unconditional.
16343 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
16344 1024]: Add entries for 10^2^13 and 10^2^14.
16345 [LAST_POW10 > _LAST_POW10]: Remove #error.
16346 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
16347 (_fpioconst_pow10): Change array size to
16348 FPIOCONST_POW10_ARRAY_SIZE.
16349 * stdlib/gen-fpioconst.c: New file.
16350 * stdlib/gen-tst-strtod-round.c: Likewise.
16351 * stdlib/tst-strtod-round-data: Likewise.
16352 * stdlib/tst-strtod-round.c: Likewise.
16353 * stdlib/Makefile (tests): Add tst-strtod-round.
16354
d6e70f43
JM
16355 [BZ #14459]
16356 * stdlib/strtod_l.c: Include <stdint.h>.
16357 (NDEBUG): Do not define.
16358 (round_and_return): Change EXPONENT parameter to type intmax_t.
16359 Rearrange calculations to avoid internal overflow possibilities.
16360 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
16361 Rearrange calculations to avoid internal overflow possibilities.
16362 Assert that number fits inside MPNSIZE limbs.
16363 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
16364 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
16365 calculations and add assertions to avoid internal overflow
16366 possibilities. Add casts to avoid signed/unsigned operations.
16367 * stdlib/tst-strtod-overflow.c: New file.
16368 * stdlib/Makefile (tests): Add tst-strtod-overflow.
16369
1f529f7d
MP
163702012-08-25 Marek Polacek <polacek@redhat.com>
16371
16372 * time/time.h: Fix some typos in comments.
16373
59a629f1
RM
163742012-08-23 Roland McGrath <roland@hack.frob.com>
16375
16376 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
16377 * posix/tst-rfc3484-2.c: Likewise.
16378 * posix/tst-rfc3484-3.c: Likewise.
16379
d3bafbc9
SM
163802012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
16381
16382 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
16383 (EF_ARM_ABI_FLOAT_HARD): Likewise.
16384
4efcc022
JM
163852012-08-23 Joseph Myers <joseph@codesourcery.com>
16386
16387 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
16388 #include of fxstatat64.c.
16389
3cc3ef96
RM
163902012-08-22 Roland McGrath <roland@hack.frob.com>
16391
f04e2132
RM
16392 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
16393 * shadow/getspent_r.c: Likewise.
16394 * shadow/getspnam.c: Likewise.
16395 * shadow/getspnam_r.c: Likewise.
16396 * gshadow/getsgent.c: Likewise.
16397 * gshadow/getsgent_r.c: Likewise.
16398 * gshadow/getsgnam.c: Likewise.
16399 * gshadow/getsgnam_r.c: Likewise.
16400 * inet/getnetbyad.c: Likewise.
16401 * inet/getnetbyad_r.c: Likewise.
16402 * inet/getnetbynm.c: Likewise.
16403 * inet/getnetbynm_r.c: Likewise.
16404 * inet/getnetent.c: Likewise.
16405 * inet/getnetent_r.c: Likewise.
16406 * inet/getproto.c: Likewise.
16407 * inet/getproto_r.c: Likewise.
16408 * inet/getprtent.c: Likewise.
16409 * inet/getprtent_r.c: Likewise.
16410 * inet/getprtname.c: Likewise.
16411 * inet/getprtname_r.c: Likewise.
16412 * inet/getrpcbyname.c: Likewise.
16413 * inet/getrpcbyname_r.c: Likewise.
16414 * inet/getrpcbynumber.c: Likewise.
16415 * inet/getrpcbynumber_r.c: Likewise.
16416 * inet/getrpcent.c: Likewise.
16417 * inet/getrpcent_r.c: Likewise.
16418 * inet/getaliasent.c: Likewise.
16419 * inet/getaliasent_r.c: Likewise.
16420 * inet/getaliasname.c: Likewise.
16421 * inet/getaliasname_r.c: Likewise.
16422 * nscd/getgrgid_r.c: Likewise.
16423 * nscd/getgrnam_r.c: Likewise.
16424 * nscd/gethstbyad_r.c: Likewise.
16425 * nscd/gethstbynm3_r.c: Likewise.
16426 * nscd/getpwnam_r.c: Likewise.
16427 * nscd/getpwuid_r.c: Likewise.
16428 * nscd/getsrvbynm_r.c: Likewise.
16429 * nscd/getsrvbypt_r.c: Likewise.
16430 * nscd/gai.c: Likewise.
16431
c53d909c
RM
16432 * configure.in (build_nscd): New substituted variable, set
16433 by --disable-build-nscd and defaults to $use_nscd.
16434 * configure: Regenerated.
16435 * config.make.in (build-nscd): New substituted variable.
16436 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
16437 Change conditional to require [$(build-nscd) = yes] as well.
16438 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
16439
3cc3ef96
RM
16440 [BZ# 13696]
16441 * configure.in (use_nscd): New substituted variable, set by
16442 --disable-nscd. If enabled, define USE_NSCD.
16443 * configure: Regenerated.
16444 * config.h.in: Add USE_NSCD.
16445 * config.make.in (use-nscd): New substituted variable.
16446 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
16447 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
16448 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
16449 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
16450 (CFLAGS-getgrnam_r.c): Likewise.
16451 (CFLAGS-initgroups.c): Likewise.
16452 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
16453 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
16454 Variables removed.
16455 * inet/getnetgrent_r.c
16456 (nscd_setnetgrent): New function, broken out of ...
16457 (setnetgrent): ... here. Call it.
16458 (innetgr): Conditionalize nscd bits on [USE_NSCD].
16459 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
16460 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
16461 * nscd/Makefile (routines, aux): Move definitions after include of
16462 Makeconfig. Conditionalize on [$(use-nscd) != no].
16463 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
16464 Conditionalize on [USE_NSCD].
16465 (is_nscd, nscd_init_cb): Likewise.
16466 (nss_load_library): Conditionalize init callback on [USE_NSCD].
16467 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
16468 * nss/nss_db/db-init.c: Likewise.
16469 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
16470 [USE_NSCD].
16471 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
16472 (make_request): Use it.
16473 (cache_valid_p): New function.
16474 (__check_pf): Use it.
16475 * NEWS: Add item for --disable-nscd.
16476
07e51550
DL
164772012-08-22 Dmitry V. Levin <ldv@altlinux.org>
16478
16479 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
16480 to support sed >= 4.2.1-20-ga9bf076.
16481 * configure: Regenerated.
16482
35a5b08b
RM
164832012-08-22 Roland McGrath <roland@hack.frob.com>
16484
16485 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
16486 Conditionalize whole body on [IREL].
16487
8479f23a
JL
164882012-08-22 Jeff Law <law@redhat.com>
16489
16490 [BZ #14505]
16491 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
16492 if the family is PF_UNSPEC.
16493
48da0b21
MF
164942012-08-22 Mike Frysinger <vapier@gentoo.org>
16495
16496 * Makerules (lib-version): Rename from V.
16497 (install-lib-nosubdir): Change V to lib-version.
16498
15d0da8c
WS
164992012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
16500
16501 [BZ #14252]
16502 * powerpc32/power6/wcschr.c: New file.
16503 * powerpc32/power6/wcscpy.c: New file.
16504 * powerpc32/power6/wcsrchr.c: New file.
16505 * powerpc64/power6/wcschr.c: New file.
16506 * powerpc64/power6/wcscpy.c: New file.
16507 * powerpc64/power6/wcsrchr.c: New file.
16508
bcca0895
MK
165092012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
16510
16511 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
16512 (two_way_short_needle): Use it.
5a4aaa33
RM
16513 * string/strstr.c (AVAILABLE1_USES_J): Define.
16514 * string/strcasestr.c: Likewise.
99677e57
MK
16515
16516 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
16517 array references.
16518 * string/strcasestr.c (TOLOWER): Make side-effect safe.
16519
400726de
MK
16520 [BZ #11607]
16521 * NEWS: Add an entry.
16522 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
16523 define their defaults.
16524 (two_way_short_needle): Detect end-of-string on-the-fly.
16525 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
16526 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
16527 * string/bug-strcasestr1.c: New test.
16528 * string/Makefile: Run it.
16529
20a71f2c
MK
165302012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
16531
16532 [BZ #11607]
16533 * string/str-two-way.h (two_way_short_needle): Optimize matching of
16534 the first character.
16535
21ad0558
RM
165362012-08-21 Roland McGrath <roland@hack.frob.com>
16537
16538 * csu/elf-init.c (__libc_csu_irel): Function removed.
16539 * csu/libc-start.c (apply_irel): New function.
16540 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
16541
0e1d9911
JM
165422012-08-21 Joseph Myers <joseph@codesourcery.com>
16543
16544 * sysdeps/unix/sysv/linux/kernel-features.h
16545 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
16546 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16547 <kernel-features.h>.
16548 [__NR_fadvise64_64]: Make code unconditional.
16549 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
16550 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16551 !__NR_fadvise64_64)]: Likewise.
16552 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16553 !__NR_fadvise64_64))]: Likewise.
16554 [__NR_fadvise64]: Make code unconditional.
16555 [!__NR_fadvise64]: Remove conditional code.
16556 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
16557 <kernel-features.h>.
16558 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16559 unconditional.
16560 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16561 conditional code.
16562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
16563 not include <kernel-features.h>.
16564 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16565 unconditional.
16566 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16567 conditional code.
16568 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
16569 include <kernel-features.h>.
16570 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16571 unconditional.
16572 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16573 conditional code.
16574
14a50c9d
WS
165752012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16576
16577 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
16578 slight instruction rearrangements per scrollpipe analysis.
16579 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16580
c0f4faf0
RM
165812012-08-20 Roland McGrath <roland@hack.frob.com>
16582
696da859
RM
16583 * manual/syslog.texi (syslog; vsyslog, closelog):
16584 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
16585 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
16586
c0f4faf0
RM
16587 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
16588 DSOCAPS to match condition on defining it.
16589
348363b2
JM
165902012-08-20 Joseph Myers <joseph@codesourcery.com>
16591
a35cbf28
JM
16592 * sysdeps/unix/sysv/linux/kernel-features.h
16593 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
16594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
16595 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16596 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
16598 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16599 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
16601 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16602 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16603
445f7ecd
JM
16604 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
16605 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
16606
348363b2
JM
16607 * sysdeps/unix/sysv/linux/kernel-features.h
16608 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
16609 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
16610 unconditional.
16611 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16612 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
16613 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16614 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16615 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
16616 Make code unconditional.
16617 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16618 (__mmap64) [!__NR_mmap2]: Likewise.
16619 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
16620 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16621 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16622 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
16623 [__NR_mmap2]: Make code unconditional.
16624 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16625 (__mmap64) [!__NR_mmap2]: Likewise.
16626
bc5bc0e5
AK
166272012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16628
16629 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
16630
88d506de
AJ
166312012-08-18 Andreas Jaeger <aj@suse.de>
16632
16633 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
16634
493387d2
MF
166352012-08-18 Mike Frysinger <vapier@gentoo.org>
16636
16637 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
16638 * include/unistd.h (__have_sock_cloexec): Likewise.
16639 (__have_pipe2): Likewise.
16640 (__have_dup3): Likewise.
16641
a277af22
MF
166422012-08-18 Mike Frysinger <vapier@gentoo.org>
16643
16644 [BZ #9685]
16645 * include/unistd.h (__have_pipe2): Change define into an extern int.
16646 (__have_dup3): Likewise.
16647 * socket/have_sock_cloexec.c: Include fcntl.h.
16648 (__have_pipe2): New variable.
16649 (__have_dup3): Likewise.
16650
fdab8fd3
MF
166512012-08-17 Mike Frysinger <vapier@gentoo.org>
16652
16653 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
16654
31035e80
MP
166552012-08-17 Marek Polacek <polacek@redhat.com>
16656
16657 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
16658 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
16659
3bd9e993
RM
166602012-08-17 Roland McGrath <roland@hack.frob.com>
16661
c91c505f
RM
16662 * configure.in: Add AC_SUBST for sysheaders.
16663 * configure: Regenerated.
16664 * config.make.in (sysheaders): New substituted variable.
16665
7c6f9d53
RM
16666 * sysdeps/unix/mkfifo.c: Moved ...
16667 * sysdeps/posix/mkfifo.c: ... here.
16668 * sysdeps/unix/mkfifoat.c: Moved ...
16669 * sysdeps/posix/mkfifoat.c: ... here.
16670
16671 * sysdeps/unix/utime.c: Moved ...
16672 * sysdeps/posix/utime.c: ... here.
16673
16674 * sysdeps/unix/time.c: Moved ...
16675 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
16676 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
16677 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
16678
16679 * sysdeps/unix/nice.c: Moved ...
16680 * sysdeps/posix/nice.c: ... here.
16681
16682 * sysdeps/unix/alarm.c: Moved ...
16683 * sysdeps/posix/alarm.c: ... here.
16684
3bd9e993
RM
16685 * intl/Makefile ($(codeset_mo)): Depend on the input file.
16686
d1f09384
JL
166872012-08-17 Jeff Law <law@redhat.com>
16688
16689 * intl/Makefile (codeset_mo): New variable.
16690 ($(codeset_mo)): New target.
16691 (tst-codeset.out): Depend on that. Remove explicit rule.
16692 (tst-gettext3.out, tst-gettext5.out): Likewise.
16693 (LOCPATH-ENV, tst-codeset-ENV): New variables.
16694 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
16695 * intl/tst-codeset.sh: Remove.
16696 * intl/tst-gettext3.sh: Likewise.
16697 * intl/tst-gettext5.sh: Likewise.
16698
2ae1ae5c
RM
166992012-08-17 Roland McGrath <roland@hack.frob.com>
16700
c31fdb83
RM
16701 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
16702 * sysdeps/unix/syscalls.list: ... here.
16703
a0844057
RM
16704 * sysdeps/posix/getaddrinfo.c
16705 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
16706 (gaiconf_init, gaiconf_reload): Use them.
16707 [!_STATBUF_ST_NSEC]
16708 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
16709 Define using time_t rather than struct timespec.
16710
750c1f2a
RM
16711 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
16712 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
16713 Macros removed.
16714 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
16715 [!NO_THREADS].
16716 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
16717 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
16718 Likewise.
16719
2ae1ae5c
RM
16720 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
16721 __libc_cleanup_push argument.
16722
e66a42f5
RM
16723 * bits/param.h: New file.
16724 * misc/sys/param.h: New file.
16725 * include/sys/param.h: New file.
16726 * misc/Makefile (headers): Add bits/param.h.
16727 * sysdeps/generic/sys/param.h: File removed.
16728 * sysdeps/unix/sysv/linux/bits/param.h: New file.
16729 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
16730 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 16731 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 16732
b7c08a66
RM
16733 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
16734 last change.
16735
b2e1c562
RM
16736 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
16737 [_IO_MTSAFE_IO].
16738 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
16739 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
16740 New macros.
16741
c75ccd4c
RM
16742 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
16743 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
16744 rather than -D_IO_MTSAFE_IO conditionally.
16745 * stdio-common/Makefile (CPPFLAGS): Likewise.
16746 * wcsmbs/Makefile (CPPFLAGS): Likewise.
16747 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
16748 Use $(libio-mtsafe).
16749 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
16750 of -D_IO_MTSAFE_IO.
16751 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
16752 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
16753 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
16754 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
16755 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
16756 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
16757 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
16758 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
16759 (CFLAGS-fread_u_chk.c): Likewise.
16760 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
16761 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
16762 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
16763 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
16764 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
16765 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
16766 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
16767 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
16768 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
16769
16770 * libio/Makefile: Test [$(libc-reentrant) = yes]
16771 instead of [$(filter %REENTRANT, $(defines)) nonempty].
16772
16773 * Makeconfig
16774 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
16775 * sysdeps/pthread/configure: File removed.
16776 * sysdeps/pthread/Makeconfig: New file.
16777 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
16778 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
16779
d9195db8
GB
167802012-08-16 Gary Benson <gbenson@redhat.com>
16781
16782 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
16783 unmapping the first object in a namespace.
16784
86466cd9
RM
167852012-08-16 Roland McGrath <roland@hack.frob.com>
16786
16787 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
16788 (__internal_setnetgrent): ... this. Add internal_function to
16789 definition. Add libc_hidden_def.
16790 (setnetgrent): Update caller.
16791 (internal_endnetgrent): Renamed to ...
16792 (__internal_endnetgrent): ... this. Add internal_function to
16793 definition. Add libc_hidden_def.
16794 (endnetgrent): Update caller.
16795 (internal_getnetgrent_r): Renamed to ...
16796 (__internal_getnetgrent_r): ... this. Add internal_function to
16797 definition. Add libc_hidden_def.
16798 (__getnetgrent_r): Update caller.
16799 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
16800
c3c8283c
JM
168012012-08-16 Joseph Myers <joseph@codesourcery.com>
16802
16803 * stdlib/longlong.h: Update from GCC.
16804
db1ee0a8
RM
168052012-08-16 Roland McGrath <roland@hack.frob.com>
16806
16807 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
16808 on _QL, which is set by umul_ppmm but never used.
16809 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
16810 variables, which are set by GMP macros but never used.
16811 * stdio-common/_itowa.c (_itowa): Likewise.
16812 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
16813 * stdlib/mod_1.c (mpn_mod_1): Likewise.
16814
30f69637
CD
168152012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
16816
16817 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
16818 struct La_sh_regs is not constant.
16819 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
16820 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
16821 and struct La_sparc64_regs are not constant.
16822
93a78ac4
JM
168232012-08-16 Joseph Myers <joseph@codesourcery.com>
16824
16825 * sysdeps/unix/sysv/linux/kernel-features.h
16826 (__ASSUME_POSIX_TIMERS): Remove.
16827 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16828 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16829 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
16830 Make code unconditional.
16831 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16832 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
16833 Make code unconditional.
16834 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16835 * sysdeps/unix/sysv/linux/clock_nanosleep.c
16836 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
16837 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16838 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
16839 Make code unconditional.
16840 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16841 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
16842 (__libc_missing_posix_timers): Remove.
16843
dd924cd7
RM
168442012-08-15 Roland McGrath <roland@hack.frob.com>
16845
4b4f2771
RM
16846 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
16847 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
16848
601c888b
RM
16849 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
16850
176790a7
RM
16851 * elf/dl-sym.c: Include <stdlib.h>.
16852
329bc018
RM
16853 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
16854 constants, which avoids warnings in 32-bit builds.
16855
e04e272d
RM
16856 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
16857 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
16858
952bf94a
RM
16859 * misc/lseek.c: File moved to ...
16860 * io/lseek.c: ... here.
16861
7c99b50a
RM
16862 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
16863
dd924cd7
RM
16864 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
16865 shifting LEN more than 31 bits at once.
16866
b3f479a8
LD
168672012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16868
16869 [BZ #14195]
8c4ae0d4
RM
16870 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
16871 segmentation fault for a case of two empty input strings.
b3f479a8
LD
16872 * string/test-strncasecmp.c (check1): Renamed to...
16873 (bz12205): ...this.
16874 (bz14195): Add new testcase for two empty input strings and N > 0.
16875 (test_main): Call new testcase, adapt for renamed function.
16876
9c55864e
AJ
168772012-08-15 Andreas Jaeger <aj@suse.de>
16878
16879 [BZ #14090]
16880 * crypt/md5test2.c: New test, based on test supplied by Serge
16881 Belyshev <belyshev@depni.sinp.msu.ru>.
16882 * crypt/Makefile (xtests): Add md5test-giant..
16883 * crypt/Makefile ($(objpfx)md5test-giant): Add.
16884
02dcb6c5
PE
168852012-08-15 Paul Eggert <eggert@cs.ucla.edu>
16886
16887 [BZ #14090]
16888 * crypt/md5.c (md5_process_block): Don't assume the buffer
16889 length is less than 2**32.
16890 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
16891 length is less than 2**64.
16892
a3f95dcc
RM
168932012-08-15 Roland McGrath <roland@hack.frob.com>
16894
be75d758
RM
16895 * string/str-two-way.h: Include <sys/param.h>.
16896 (MAX): Macro removed.
16897
7312ca90
RM
16898 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
16899 Move #define and #undef of memmove to just before and after
16900 including <string.h>.
16901
9a0a5486
RM
16902 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
16903 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
16904 and after including <string.h>. Move declarations of
16905 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
16906 to before #include "string/memmove.c".
16907
67cc348d
RM
16908 * include/dirent.h: Declare __getdirentries.
16909
a3f95dcc
RM
16910 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
16911 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
16912
ca98e171
MF
169132012-08-14 Mike Frysinger <vapier@gentoo.org>
16914
16915 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
16916 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
16917 * sysdeps/i386/configure: Regenerated.
16918 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
16919 STABS_CURRENT_FILE, and STABS_FUN.
16920 (END): Remove call to STABS_FUN_END.
16921 (STABS_CURRENT_FILE1): Delete.
16922 (STABS_CURRENT_FILE): Likewise.
16923 (STABS_FUN): Likewise.
16924 (STABS_FUN_END): Likewise.
16925 (STABS_FUN2): Likewise.
16926 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
16927 * sysdeps/x86_64/configure: Regenerated.
16928
5908bf46
RM
169292012-08-14 Roland McGrath <roland@hack.frob.com>
16930
16931 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 16932 * elf/dl-lookup.c: Likewise.
5908bf46 16933
f2c05b9e
JM
169342012-08-14 Joseph Myers <joseph@codesourcery.com>
16935
16936 * sysdeps/unix/sysv/linux/kernel-features.h
16937 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
16938 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
16939 unconditionally.
16940 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
16941 unconditionally.
16942 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
16943 condition on __ASSUME_CLONE_THREAD_FLAGS.
16944
e11f5155
AJ
169452012-08-14 Andreas Jaeger <aj@suse.de>
16946
16947 * sysdeps/i386/fpu/libm-test-ulps: Update.
16948
51a9ba86
MK
169492012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
16950
2fdd4f78
AJ
16951 * include/atomic.h (atomic_exchange_and_add): Split into ...
16952 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
16953 New atomic macros.
51a9ba86 16954
ba6cba9e
MT
169552012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
16956
16957 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16958
42443a47
JL
169592012-08-13 Jeff Law <law@redhat.com>
16960
16961 * manual/stdio.texi (snprintf): Clarify handling of the trailing
16962 null byte in the output string.
16963
121dce05
JM
169642012-08-10 Joseph Myers <joseph@codesourcery.com>
16965
16966 * sysdeps/unix/sysv/linux/kernel-features.h
16967 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
16968 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
16969 (__ASSUME_ARG_MAX_STACK_BASED): Define.
16970 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
16971 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
16972 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
16973 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
16974
bf51f568
JL
169752012-08-09 Jeff Law <law@redhat.com>
16976
16977 [BZ #13939]
16978 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
16979 When avoid_arena is set, don't retry in the that arena. Pick the
16980 next one, whatever it might be.
16981 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
16982 (arena_lock): Pass in new parameter to arena_get2.
16983 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
16984 arena_get2.
16985 (__libc_malloc): Unify retrying after main arena failure with
16986 __libc_memalign version.
16987 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
16988
f85fa270
L
169892012-08-09 H.J. Lu <hongjiu.lu@intel.com>
16990
16991 [BZ #14166]
16992 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
16993 to __redirect_strstr.
16994 (__strstr_sse42): Use typeof __redirect_strstr.
16995 (__strstr_ia32): Likewise.
16996 (__libc_strstr): New prototype.
16997 (strstr): Renamed to ...
16998 (__libc_strstr): This.
16999 (strstr): New strong alias of __libc_strstr.
17000 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17001 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
17002 __redirect_time.
17003 Include <time.h>.
17004 (__libc_time): New prototype.
17005 (time_ifunc): Replace time with __libc_time.
17006 (time): New strong alias and hidden definition of __libc_time.
17007 (__GI_time): Remove strong alias.
17008 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
17009 Include <stddef.h>.
17010 (memmove): Redefined to __redirect_memmove.
17011 (__memmove_sse2): Use typeof __redirect_memmove.
17012 (__memmove_ssse3): Likewise.
17013 (__memmove_ssse3_back): Likewise.
17014 (__libc_memmove): New prototype.
17015 (memmove): Renamed to ...
17016 (__libc_memmove): This.
17017 (memmove): New strong alias of __libc_memmove.
17018
33b4a91e
MS
170192012-08-08 Mark Salter <msalter@redhat.com>
17020
17021 * elf/elf.h
17022 (R_MN10300_TLS_GD): Define.
17023 (R_MN10300_TLS_LD): Likewise.
17024 (R_MN10300_TLS_LDO): Likewise.
17025 (R_MN10300_TLS_GOTIE): Likewise.
17026 (R_MN10300_TLS_IE): Likewise.
17027 (R_MN10300_TLS_LE): Likewise.
17028 (R_MN10300_TLS_DTPMOD): Likewise.
17029 (R_MN10300_TLS_DTPOFF): Likewise.
17030 (R_MN10300_TLS_TPOFF): Likewise.
17031 (R_MN10300_SYM_DIFF): Likewise.
17032 (R_MN10300_ALIGN): Likewise.
17033 (R_MN10300_NUM): Update.
17034
b36137f1
JM
170352012-08-08 Joseph Myers <joseph@codesourcery.com>
17036
17037 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
17038 Remove.
17039
cdd915fd
RM
170402012-08-08 Roland McGrath <roland@hack.frob.com>
17041
a2433aac
RM
17042 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
17043
cdd915fd
RM
17044 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
17045 sysdeps/unix -> sysdeps/posix move.
17046 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17047
bf9b740a
AM
170482012-08-07 Allan McRae <allan@archlinux.org>
17049
17050 [BZ #14303]
17051 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
17052 (SUNOS_CPP): Likewise.
17053 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
17054 not found.
17055 (open_input): Call CPP using execvp.
17056
93df14ee
JM
170572012-08-07 Joseph Myers <joseph@codesourcery.com>
17058
17059 * sysdeps/unix/sysv/linux/kernel-features.h
17060 (__ASSUME_PROT_GROWSUPDOWN): Remove.
17061 (__ASSUME_NO_CLONE_DETACHED): Likewise.
17062 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17063 (__ASSUME_WAITID_SYSCALL): Likewise.
17064 * sysdeps/unix/sysv/linux/dl-execstack.c
17065 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
17066 code unconditional.
17067 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
17068 conditional code.
17069 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
17070 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
17071 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
17072 code.
17073 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
17074 unconditional.
17075 [__ASSUME_WAITID_SYSCALL]: Likewise.
17076 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
17077
d34689de
RM
170782012-08-07 Roland McGrath <roland@hack.frob.com>
17079
a281decc
RM
17080 * sysdeps/unix/closedir.c: Renamed to ...
17081 * sysdeps/posix/closedir.c: ... here.
17082 * sysdeps/unix/dirfd.c: Renamed to ...
17083 * sysdeps/posix/dirfd.c: ... here.
17084 * sysdeps/unix/dirstream.h: Renamed to ...
17085 * sysdeps/posix/dirstream.h: ... here.
17086 * sysdeps/unix/fdopendir.c: Renamed to ...
17087 * sysdeps/posix/fdopendir.c: ... here.
17088 * sysdeps/unix/opendir.c: Renamed to ...
17089 * sysdeps/posix/opendir.c: ... here.
17090 * sysdeps/unix/readdir.c: Renamed to ...
17091 * sysdeps/posix/readdir.c: ... here.
17092 * sysdeps/unix/readdir_r.c: Renamed to ...
17093 * sysdeps/posix/readdir_r.c: ... here.
17094 * sysdeps/unix/rewinddir.c: Renamed to ...
17095 * sysdeps/posix/rewinddir.c: ... here.
17096 * sysdeps/unix/seekdir.c: Renamed to ...
17097 * sysdeps/posix/seekdir.c: ... here.
17098 * sysdeps/unix/telldir.c: Renamed to ...
17099 * sysdeps/posix/telldir.c: ... here.
17100 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
17101 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
17102 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
17103 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
17104
22895b47
RM
17105 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
17106 * bits/fcntl.h: ... here.
17107
707a53b6
RM
17108 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
17109 not 0.
17110 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
17111 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
17112 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
17113 (struct flock): Move l_start, l_len to the beginning.
17114 Use __pid_t for l_pid.
17115 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
17116 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
17117 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
17118 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
17119 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
17120 [__USE_LARGEFILE64] (struct flock64): New type.
17121 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
17122
f0bd3e25
RM
17123 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
17124 * bits/dirent.h: ... here.
17125
d34689de
RM
17126 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
17127 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
17128
6dad2c06
JM
171292012-08-07 Joseph Myers <joseph@codesourcery.com>
17130
17131 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17132 Change from 2.6.0 to 2.6.16.
17133 * sysdeps/unix/sysv/linux/configure: Regenerated.
17134 * sysdeps/unix/sysv/linux/kernel-features.h
17135 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
17136 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
17137 version.
17138 (__ASSUME_UTIMES): Likewise.
17139 (__ASSUME_CLONE_STOPPED): Remove.
17140 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
17141 architectures, not kernel version.
17142 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
17143 (__ASSUME_NO_CLONE_DETACHED): Likewise.
17144 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17145 (__ASSUME_WAITID_SYSCALL): Likewise.
17146 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
17147 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
17148 * README: State 2.6.16 as minimum Linux kernel version. Do not
17149 refer to older versions.
17150
03af9520
RM
171512012-08-06 Roland McGrath <roland@hack.frob.com>
17152
8e49df1d
RM
17153 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
17154 Define alphasort64 as an alias.
17155 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
17156 Define versionsort64 as an alias.
17157 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
17158 Define scandir64 as an alias.
17159 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
17160 Define scandirat64 as an alias.
17161 * dirent/alphasort64.c (alphasort64):
17162 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
17163 * dirent/versionsort64.c: Likewise.
17164 * dirent/scandir64.c: Likewise.
17165 * dirent/scandirat64.c: Likewise.
17166 * sysdeps/wordsize-64/alphasort.c: File removed.
17167 * sysdeps/wordsize-64/alphasort64.c: File removed.
17168 * sysdeps/wordsize-64/scandir.c: File removed.
17169 * sysdeps/wordsize-64/scandir64.c: File removed.
17170 * sysdeps/wordsize-64/scandirat.c: File removed.
17171 * sysdeps/wordsize-64/scandirat64.c: File removed.
17172 * sysdeps/wordsize-64/versionsort.c: File removed.
17173 * sysdeps/wordsize-64/versionsort64.c: File removed.
17174 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
17175 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
17176 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
17177 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
17178 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
17179 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
17180 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
17181 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
17182
17183 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
17184 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17185 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
17186 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17187 [defined __arch64__ || defined __sparcv9]
17188 (__INO_T_MATCHES_INO64_T): New macro.
17189 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17190 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
17191 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
17192 * sysdeps/unix/sysv/linux/bits/dirent.h
17193 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
17194 (_DIRENT_MATCHES_DIRENT64): New macro.
17195
03af9520
RM
17196 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
17197 Define lockf64 as an alias.
17198 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
17199 Define fseeko64 as an alias.
17200 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
17201 Define ftello64 as an alias.
17202 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
17203 Define _IO_fgetpos64 and fgetpos64 as aliases.
17204 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
17205 Define _IO_fsetpos64 and fsetpos64 as aliases.
17206 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
17207 Conditionalize body on this.
17208 * libio/fseeko64.c: Likewise.
17209 * libio/ftello64.c: Likewise.
17210 * libio/iofgetpos64.c: Likewise.
17211 * libio/iofsetpos64.c: Likewise.
17212 * sysdeps/wordsize-64/lockf.c: File removed.
17213 * sysdeps/wordsize-64/lockf64.c: File removed.
17214 * sysdeps/wordsize-64/fseeko.c: File removed.
17215 * sysdeps/wordsize-64/fseeko64.c: File removed.
17216 * sysdeps/wordsize-64/ftello.c: File removed.
17217 * sysdeps/wordsize-64/ftello64.c: File removed.
17218 * sysdeps/wordsize-64/iofgetpos.c: File removed.
17219 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
17220 * sysdeps/wordsize-64/iofsetpos.c: File removed.
17221 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
17222 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
17223 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
17224 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
17225 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
17226 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
17227 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
17228 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
17229 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
17230 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
17231 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
17232
17233 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17234 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17235 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
17236 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17237 [defined __arch64__ || defined __sparcv9]
17238 (__OFF_T_MATCHES_OFF64_T): New macro.
17239 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17240 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17241 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17242 (__OFF_T_MATCHES_OFF64_T): New macro.
17243
c5757acd
L
172442012-08-06 H.J. Lu <hongjiu.lu@intel.com>
17245
17246 * stdlib/secure-getenv.c (__secure_getenv): Replace
17247 GLIBC_2_16 with GLIBC_2_17.
17248
3a31811e
L
172492012-08-06 H.J. Lu <hongjiu.lu@intel.com>
17250
17251 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
17252 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17253
faa2bccb
DM
172542012-08-03 David S. Miller <davem@davemloft.net>
17255
17256 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17257
85fe1997
JM
172582012-08-03 Joseph Myers <joseph@codesourcery.com>
17259
17260 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
17261 Remove.
17262 (__ASSUME_CORRECT_SI_PID): Likewise.
17263 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
17264 (__ASSUME_TMPFS_NAME): Likewise.
17265 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
17266 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
17267 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
17268 (HAVE_AUX_SECURE): Make definition unconditional.
17269 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
17270 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
17271
4f75b7a0
RM
172722012-08-03 Roland McGrath <roland@hack.frob.com>
17273
17274 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
17275 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
17276 * sysdeps/mach/hurd/eloop-threshold.h: New file.
17277 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17278 __eloop_threshold instead of SYMLOOP_MAX.
17279
17280 * sysdeps/generic/eloop-threshold.h: New file.
17281 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
17282 of MAXSYMLINKS.
17283 * elf/chroot_canon.c (chroot_canon): Likewise.
17284
7aab07e4
JM
172852012-08-03 Joseph Myers <joseph@codesourcery.com>
17286
17287 [BZ #13717]
17288 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17289 Change to 2.6.0 everywhere.
17290 * sysdeps/unix/sysv/linux/configure: Regenerated.
17291 * sysdeps/unix/sysv/linux/kernel-features.h
17292 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
17293 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
17294 kernel versions.
17295 (__ASSUME_POSIX_TIMERS): Define unconditionally.
17296 (__ASSUME_FUTEX_REQUEUE): Remove.
17297 (__ASSUME_STATFS64): Define unconditionally.
17298 (__ASSUME_AT_SECURE): Likewise.
17299 (__ASSUME_CORRECT_SI_PID): Likewise.
17300 (__ASSUME_TGKILL): Define without depending on kernel version for
17301 i386.
17302 (__ASSUME_UTIMES): Likewise.
17303 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
17304 kernel version.
17305 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
17306 (__ASSUME_TMPFS_NAME): Likewise.
17307 * README: Update reference to Linux kernel versions.
17308
b67e9372
MP
173092012-08-02 Marek Polacek <polacek@redhat.com>
17310
1f529f7d 17311 [BZ# 14150]
b67e9372
MP
17312 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
17313 libc_cv_asm_type_prefix with %.
17314 * configure: Regenerated.
d2441631
RM
17315 * include/libc-symbols.h: Remove comment about
17316 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
17317 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
17318 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
17319 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
17320 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
17321 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17322 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
17323 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
17324 * elf/tst-unique2mod1.c: Likewise.
17325 * elf/tst-unique1mod2.c: Likewise.
17326 * elf/tst-unique1mod1.c: Likewise.
17327 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
17328 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
17329 Replace ASM_TYPE_DIRECTIVE with .type.
17330 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17331 * sysdeps/i386/sysdep.h: Likewise.
17332 * sysdeps/x86_64/sysdep.h: Likewise.
17333 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
17334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17335 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 17336 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
17337 * sysdeps/powerpc/powerpc32/sysdep.h:
17338 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
17339 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17340 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17341 * sysdeps/i386/fpu/e_powf.S: Likewise.
17342 * sysdeps/i386/fpu/e_expl.S: Likewise.
17343 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17344 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17345 * sysdeps/i386/fpu/e_pow.S: Likewise.
17346 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17347 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17348 * sysdeps/i386/fpu/s_expm1.S: Likewise.
17349 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17350 * sysdeps/i386/fpu/e_log2.S: Likewise.
17351 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17352 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17353 * sysdeps/i386/fpu/e_powl.S: Likewise.
17354 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17355 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17356 * sysdeps/i386/fpu/e_logl.S: Likewise.
17357 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17358 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17359 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17360 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17361 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17362 * sysdeps/i386/fpu/e_log.S: Likewise.
17363 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17364 * sysdeps/i386/fpu/e_logf.S: Likewise.
17365 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17366 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17367 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17368 * sysdeps/i386/fpu/e_log10.S: Likewise.
17369 * sysdeps/i386/fpu/s_frexp.S: Likewise.
17370 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17371 * sysdeps/i386/fpu/s_asinh.S: Likewise.
17372 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17373 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17374 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
17375 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17376 * sysdeps/i386/i686/strtok.S: Likewise.
17377 * sysdeps/i386/i386-mcount.S: Likewise.
17378 * sysdeps/i386/strtok.S: Likewise.
17379 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
17380 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17381 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17382 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17383 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17384 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17385 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17386 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17387 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17388 * sysdeps/x86_64/_mcount.S: Likewise.
17389 * sysdeps/x86_64/strtok.S: Likewise.
17390 * sysdeps/sh/_mcount.S: Likewise.
17391
2747bf9a
RM
173922012-08-01 Roland McGrath <roland@hack.frob.com>
17393
17394 * libio/iofopen.c: Include <fcntl.h>.
17395 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
17396 (_IO_fopen64, fopen64): Define as aliases.
17397 * libio/iofopen64.c: Include <fcntl.h>.
17398 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
17399 Conditionalize body on this.
17400 * sysdeps/wordsize-64/iofopen.c: File removed.
17401 * sysdeps/wordsize-64/iofopen64.c: File removed.
17402
3fb791b8
MP
174032012-08-01 Marek Polacek <polacek@redhat.com>
17404
17405 * libc/Makeconfig: Use elf in place of binfmt-subdir.
17406 Use dlfcn directly instead of a variable.
17407 (binfmt-subdir): Do not define.
17408 (dlfcn): Likewise.
17409
a9f1039f
JM
174102012-08-01 Joseph Myers <joseph@codesourcery.com>
17411
23bddc06
JM
17412 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
17413 Remove all definitions.
17414 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
17415 <kernel-features.h>.
17416 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17417 (miss_F_GETOWN_EX): Remove all definitions.
17418 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
17419 macro definition.
17420 [!__ASSUME_FCNTL64]: Remove conditional code.
17421 [__ASSUME_FCNTL64]: Make code unconditional.
17422 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
17423 <kernel-features.h>.
17424 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17425 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
17426 (lockf64) [__NR_fcntl64]: Make code unconditional.
17427 (lockf64) [__ASSUME_FCNTL64]: Likewise.
17428
a9f1039f
JM
17429 * sysdeps/unix/sysv/linux/kernel-features.h
17430 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
17431 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
17432 Make code unconditional.
17433 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17434 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
17436 [__NR_vfork]: Make code unconditional.
17437 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17438 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
17440 [__NR_vfork]: Make code unconditional.
17441 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17442 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17443
09c0ee5f
RM
174442012-08-01 Roland McGrath <roland@hack.frob.com>
17445
48aec5b9
RM
17446 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
17447 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
17448
cd97c966
RM
17449 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17450 Define mkstemp64 as an alias.
3f55550c
RM
17451 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17452 Define mkstemps64 as an alias.
cd97c966
RM
17453 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17454 Define mkostemp64 as an alias.
b8625cfc
RM
17455 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17456 Define mkostemps64 as an alias.
cd97c966
RM
17457 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
17458 Conditionalize body on this.
17459 * misc/mkostemp64.c: Likewise.
b8625cfc 17460 * misc/mkostemps64.c: Likewise.
3f55550c 17461 * misc/mkstemps64.c: Likewise.
cd97c966
RM
17462 * sysdeps/wordsize-64/mkstemp64.c: File removed.
17463 * sysdeps/wordsize-64/mkostemp64.c: File removed.
17464 * sysdeps/wordsize-64/mkostemp.c: File removed.
17465 * sysdeps/wordsize-64/mkstemp.c: File removed.
17466 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
17467 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
17468 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
17469 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
17470
09c0ee5f
RM
17471 [BZ #14138]
17472 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
17473 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
17474 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
17475 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
17476
17477 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
17478 compat_symbol macros from <shlib-compat.h> rather than the underlying
17479 default_symbol_version and symbol_version macros, so that DEFAULT
17480 lines in shlib-versions are respected.
17481 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
17482
7e66ee51
FW
174832012-08-01 Florian Weimer <fweimer@redhat.com>
17484
17485 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
17486 Declare with warn_unused_result.
17487 (setgid, setregid, setegid, setresgid): Likewise.
17488 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
17489 Likewise.
17490 * WUR-REPORT: Remove set*id functions.
17491
d2a54255
PT
174922012-07-31 Pino Toscano <toscano.pino@tiscali.it>
17493
17494 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
17495
7ecdb005
RM
174962012-07-31 Roland McGrath <roland@hack.frob.com>
17497
b4180a5e 17498 [BZ #10191]
789bd351
RM
17499 * include/sys/socket.h (__libc_accept, __libc_accept4):
17500 Add attribute_hidden.
17501 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
17502
40ce302d
RM
17503 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
17504 use of PTR_MANGLE.
17505 * inet/getnetgrent_r.c (setup): Likewise.
17506
7ecdb005
RM
17507 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
17508
e2eabb2c
DM
175092012-07-31 David S. Miller <davem@davemloft.net>
17510
17511 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17512
d0419dbf
JM
175132012-07-31 Joseph Myers <joseph@codesourcery.com>
17514
17515 [BZ #13629]
17516 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
17517 value between 1.0 and 2.0 and smaller part has absolute value less
17518 than 1.0.
17519 * math/s_clog10.c (__clog10): Likewise.
17520 * math/s_clog10f.c (__clog10f): Likewise.
17521 * math/s_clog10l.c (__clog10l): Likewise.
17522 * math/s_clogf.c (__clogf): Likewise.
17523 * math/s_clogl.c (__clogl): Likewise.
17524 * math/libm-test.inc (clog_test): Add more tests.
17525 (clog10_test): Likewise.
17526 * sysdeps/i386/fpu/libm-test-ulps: Update.
17527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17528
2bc13872
FW
175292012-07-31 Florian Weimer <fweimer@redhat.com>
17530
17531 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
17532 Exit with zero in case no suitable GID is found, and write a
17533 message to standard error.
17534
bea9b193
RM
175352012-07-30 Roland McGrath <roland@hack.frob.com>
17536
17537 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
17538 rather than to 1.
17539 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
17540 (MAXPATHLEN): Removed.
17541 (NOGROUP, NODEV): New macros.
17542 (setbit, clrbit, isset, isclr): New macros.
17543 (howmany, roundup, powerof2): New macros.
17544 (DEV_BSIZE): New macro.
17545
17546 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
17547 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
17548
17549 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
17550 definition on [!__NO_LONG_DOUBLE_MATH].
17551
17552 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
17553 PTR_MANGLE and PTR_DEMANGLE.
17554
17555 * socket/accept4.c (accept4): Rename to __libc_accept4.
17556 Define accept4 as a weak alias.
17557
17558 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
17559 on [_DIRENT_HAVE_D_TYPE].
17560 * io/ftw.c (ftw_dir): Likewise.
17561
17562 * io/xmknod.c (__xmknod): Don't check PATH for being null.
17563
17564 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
17565
17566 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
17567 Use the BSD numbers rather than the arbitrary ones we had.
17568 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
17569 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
17570 (SIGXCPU, SIGXFSZ): New macros.
17571 (_NSIG): Now 32.
17572
17573 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
17574 initializer on [_LIBC_REENTRANT].
17575
17576 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
17577 definitions inside [_POSIX_MAPPED_FILES].
17578
17579 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
17580
17581 * dirent/opendir.c: Include <fcntl.h>.
17582
17583 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
17584 (__libc_getspecific): Likewise.
17585 (__libc_key_create): Likewise.
17586
17587 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
17588 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
17589 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
17590 (tmpfile64): Define as alias.
17591 * sysdeps/wordsize-64/tmpfile.c: File removed.
17592 * sysdeps/wordsize-64/tmpfile64.c: File removed.
17593 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
17594 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
17595
17596 * stdio-common/vfscanf.c: Include <stdbool.h>.
17597 * nss/makedb.c: Likewise.
17598 * stdio-common/_i18n_number.h: Likewise.
17599 * argp/argp-help.c: Likewise.
17600 * posix/wordexp.c: Likewise.
17601 * sysdeps/posix/spawni.c: Likewise.
17602 * nss/nss_files/files-initgroups.c: Likewise.
17603 * stdio-common/reg-modifier.c: Include <stdlib.h>.
17604 * nss/nss_files/files-initgroups.c: Likewise.
17605 * nss/nss_db/db-netgrp.c: Likewise.
17606 * nss/nss_db/db-initgroups.c: Likewise.
17607 * io/fchmodat.c: Include <sys/stat.h>.
17608
17609 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
17610 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
17611
17612 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
17613 [HAVE_MMAP].
17614
17615 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
17616 Add multiple inclusion protection.
17617
e5abc686
DM
176182012-07-27 David S. Miller <davem@davemloft.net>
17619
17620 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17621
815e6fa3
GB
176222012-07-27 Gary Benson <gbenson@redhat.com>
17623
17624 [BZ #14298]
17625 * elf/rtld.c: Include <stap-probe.h>.
17626 (dl_main): Added static probes "init_start" and "init_complete".
17627 * elf/dl-load.c: Include <stap-probe.h>.
17628 (lose): Take new parameter "nsid".
17629 Added static probe "map_failed".
17630 (_dl_map_object_from_fd): Pass namespace id to lose.
17631 Added static probe "map_start".
17632 (open_verify): Pass namespace id to lose.
17633 * elf/dl-open.c: Include <stap-probe.h>.
17634 (dl_open_worker) Added static probes "map_complete", "reloc_start"
17635 and "reloc_complete".
17636 * elf/dl-close.c: Include <stap-probe.h>.
17637 (_dl_close_worker): Added static probes "unmap_start" and
17638 "unmap_complete".
17639 * elf/rtld-debugger-interface.txt: New file documenting the above.
17640
9f98c16c
RM
176412012-07-26 Roland McGrath <roland@hack.frob.com>
17642
17643 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
17644 rather than a string variable.
17645 * sunrpc/rpc_main.c (h_output): Likewise.
17646 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
17647
f3c22df3
PT
176482012-07-26 Pino Toscano <toscano.pino@tiscali.it>
17649
17650 * inet/check_native.c: New file.
17651
3129cfc6
JM
176522012-07-26 Joseph Myers <joseph@codesourcery.com>
17653
da865e95
JM
17654 [BZ #13629]
17655 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
17656 if larger part has absolute value 1.0.
17657 * math/s_clog10.c (__clog10): Likewise.
17658 * math/s_clog10f.c (__clog10f): Likewise.
17659 * math/s_clog10l.c (__clog10l): Likewise.
17660 * math/s_clogf.c (__clogf): Likewise.
17661 * math/s_clogl.c (__clogl): Likewise.
17662 * math/libm-test.inc (clog_test): Add more tests.
17663 (clog10_test): Likewise.
17664 * sysdeps/i386/fpu/libm-test-ulps: Update.
17665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17666
3129cfc6
JM
17667 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
17668 (pltexit): Likewise.
17669 (La_regs): Likewise.
17670 (La_retval): Likewise.
17671 (int_retval): Likewise.
17672 Update #error for removed macros to refer only to definitions in
17673 tst-audit.h.
17674 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
17675 macro.
17676 (pltexit): Likewise.
17677 (La_regs): Likewise.
17678 (La_retval): Likewise.
17679 (int_retval): Likewise.
17680 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
17681 macro.
17682 (pltexit): Likewise.
17683 (La_regs): Likewise.
17684 (La_retval): Likewise.
17685 (int_retval): Likewise.
17686 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
17687 macro.
17688 (pltexit): Likewise.
17689 (La_regs): Likewise.
17690 (La_retval): Likewise.
17691 (int_retval): Likewise.
17692 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
17693 macro.
17694 (pltexit): Likewise.
17695 (La_regs): Likewise.
17696 (La_retval): Likewise.
17697 (int_retval): Likewise.
17698 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
17699 macro.
17700 (pltexit): Likewise.
17701 (La_regs): Likewise.
17702 (La_retval): Likewise.
17703 (int_retval): Likewise.
17704 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
17705 macro.
17706 (pltexit): Likewise.
17707 (La_regs): Likewise.
17708 (La_retval): Likewise.
17709 (int_retval): Likewise.
17710 * sysdeps/generic/tst-audit.h: Update comment to refer only to
17711 macro definitions in tst-audit.h.
17712 * sysdeps/i386/tst-audit.h: New file.
17713 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
17714 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
17715 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
17716 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
17717 * sysdeps/sh/tst-audit.h: Likewise.
17718 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
17719 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
17720 * sysdeps/x86_64/tst-audit.h: Likewise.
17721
bfc07087
AJ
177222012-07-26 Andreas Jaeger <aj@suse.de>
17723
b1b2aaf8
AJ
17724 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
17725 ptrace.
17726
17727 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
17728 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
17729 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
17730 PTRACE_O_MASK.
17731 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
17732 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
17733 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
17734
bfc07087
AJ
17735 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
17736 value.
17737
17738 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
17739 _sigsys.
17740 (si_call_addr, si_syscall, si_arch): Define new macro.
17741 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
17742 _sigsys.
17743 (si_call_addr, si_syscall, si_arch): Define new marcro.
17744 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
17745 _sigsys.
17746 (si_call_addr, si_syscall, si_arch): Define new macro.
17747 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
17748 _sigsys.
17749 (si_call_addr, si_syscall, si_arch): Define new macro.
17750
89b4b02f
JM
177512012-07-25 Joseph Myers <joseph@codesourcery.com>
17752
17753 [BZ #13717]
17754 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17755 Change to 2.4.21 where previously 2.4.1.
17756 * sysdeps/unix/sysv/linux/configure: Regenerated.
17757 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
17758 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
17759 Linux kernel version.
17760 (__ASSUME_STD_AUXV): Remove.
17761 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
17762 kernel version.
17763 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
17764 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
17765 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
17766 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
17767 (__ASSUME_NETLINK_SUPPORT): Likewise.
17768 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
17769 (__no_netlink_support): Remove conditional definition.
17770 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
17771 Remove.
17772 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17773 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
17774 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
17775 (if_nameindex_ioctl): Remove.
17776 (if_nameindex_netlink): Do not handle __no_netlink_support.
17777 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17778 code.
17779 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
17780 Remove conditional code.
17781 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17782 code.
17783 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
17784 unconditional.
17785 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17786 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
17787 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
17788 Remove.
17789 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
17790 [!__ASSUME_STD_AUXV]: Remove conditional code.
17791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
17792 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
17793 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
17794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
17795 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
17796 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17797 code.
17798 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17800 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
17801 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17802 conditional code.
17803 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17805 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17806 code.
17807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17808 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17809 conditional code.
17810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
17811 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17812 code unconditional.
17813 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17814 conditional code.
17815 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17816 unconditional.
17817 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17818 conditional code.
17819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17820 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17821 unconditional.
17822 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17823 conditional code.
17824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
17825 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17826 code unconditional.
17827 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17828 conditional code.
17829 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17830 unconditional.
17831 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17832 conditional code.
17833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
17834 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17835 code unconditional.
17836 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17837 conditional code.
17838 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17839 unconditional.
17840 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17841 conditional code.
17842
842a39cd
AS
178432012-07-25 Andreas Schwab <schwab@linux-m68k.org>
17844
17845 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
17846 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
17847 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17848 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
17849 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
17850 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
17851 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17852 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
17853 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
17854 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
17855 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
17856 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
17857 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
17858 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17859 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
17860 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
17861 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
17862 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
17863 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
17864 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
17865 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
17866 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
17867 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17868
84b3fd84
FW
178692012-07-25 Florian Weimer <fweimer@redhat.com>
17870
17871 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
17872 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
17873 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
17874 Introduce __libc_secure_getenv.
0c7936d5
FW
17875 * stdlib/Versions (2.17): Add secure_getenv
17876 (GLIBC_PRIVATE): Add __libc_secure_getenv.
17877 * stdlib/secure-getenv.c: Rename __secure_getenv to
17878 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
17879 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
17880 * stdlib/tst-secure-getenv.c: New.
17881 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
17882 * manual/startup.texi (Environment Access): Document
17883 secure_getenv.
84b3fd84
FW
17884 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
17885 __libc_secure_getenv.
17886 * inet/ruserpass.c (ruserpass): Likewise.
17887 * malloc/mtrace.c (mtrace): Likewise.
17888 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 17889 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
17890 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
17891 * sysdeps/posix/tempname.c: Likewise. Evaluate
17892 HAVE_SECURE_GETENV.
17893 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 17894 __secure_getenv to __libc_secure_getenv.
84b3fd84 17895 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
17896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17897 Likewise.
17898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17899 Likewise.
17900 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17901 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17902 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17903 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17904 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17905 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17906 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 17907
56e49b71
JM
179082012-07-25 Joseph Myers <joseph@codesourcery.com>
17909
17910 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
17911 (struct La_i86_retval): Likewise.
17912 (struct La_x86_64_regs): Likewise.
17913 (struct La_x86_64_retval): Likewise.
17914 (struct La_x32_regs): Likewise.
17915 (struct La_x32_retval): Likewise.
17916 (struct La_ppc32_regs): Likewise.
17917 (struct La_ppc32_retval): Likewise.
17918 (struct La_ppc64_regs): Likewise.
17919 (struct La_ppc64_retval): Likewise.
17920 (struct La_sh_regs): Likewise.
17921 (struct La_sh_retval): Likewise.
17922 (struct La_s390_32_regs): Likewise.
17923 (struct La_s390_32_retval): Likewise.
17924 (struct La_s390_64_regs): Likewise.
17925 (struct La_s390_64_retval): Likewise.
17926 (struct La_sparc32_regs): Likewise.
17927 (struct La_sparc32_retval): Likewise.
17928 (struct La_sparc64_regs): Likewise.
17929 (struct La_sparc64_retval): Likewise.
17930 (struct audit_ifaces): Remove architecture-specific pltenter and
17931 pltexit members.
17932 * sysdeps/i386/ldsodefs.h: New file.
17933 * sysdeps/powerpc/ldsodefs.h: Likewise.
17934 * sysdeps/s390/ldsodefs.h: Likewise.
17935 * sysdeps/sh/ldsodefs.h: Likewise.
17936 * sysdeps/sparc/ldsodefs.h: Likewise.
17937 * sysdeps/x86_64/ldsodefs.h: Likewise.
17938
354691b7
MP
179392012-07-25 Marek Polacek <polacek@redhat.com>
17940
17941 [BZ #6808]
17942 * math/libm-test.inc (yn_test): Add another test.
17943 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
17944 to ERANGE when the result is +-Inf.
17945 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17946 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
17947 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
17948 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
17949
bf9e2071
JM
179502012-07-24 Joseph Myers <joseph@codesourcery.com>
17951
17952 * conform/data/time.h-data (NULL): Use macro-constant. Require
17953 equal to 0.
17954 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
17955 clock_t.
17956 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
17957
57633811
TS
179582012-07-23 Thomas Schwinge <thomas@codesourcery.com>
17959
17960 * configure.in <sysdeps resolving>: Correct printing
17961 Implies_before.
17962 * configure: Regenerate.
17963
c23c33b0
TS
179642012-07-22 Thomas Schwinge <thomas@codesourcery.com>
17965
17966 * math/w_ilogb.c: Include <limits.h>.
17967 * math/w_ilogbl.c: Likewise.
17968
b5982523
JM
179692012-07-20 Joseph Myers <joseph@codesourcery.com>
17970
17971 * manual/lang.texi (__va_copy): Document primarily as ISO C99
17972 va_copy. Document allowing for unavailable va_copy only as
17973 pre-C99 compatibility.
17974 * manual/string.texi (Copying and Concatenation): Use va_copy
17975 instead of __va_copy in concat example.
17976
ac4ea442
PT
179772012-07-20 Pino Toscano <toscano.pino@tiscali.it>
17978
17979 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
17980 (__sendto): Use create_address_port. Initialize APORT and deallocate
17981 it if not null.
17982
f98eafbd
PT
17983 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
17984 with O_NOLINK passed to __file_name_lookup.
17985
898c7aab
PT
17986 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
17987 with O_NOLINK passed to __file_name_lookup.
17988
0ced335a
PT
17989 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
17990 negative N or less than NGIDS.
17991
b3404dbd
PT
17992 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
17993 type to string_t. Set ERANGE as errno and return it if NAME is not big
17994 enough. Use memcpy instead of strncpy.
17995
0f48659e
JM
179962012-07-20 Joseph Myers <joseph@codesourcery.com>
17997
17998 * elf/Makefile (check-data): Remove.
17999 (localplt.data): New vpath directive.
18000 ($(objpfx)check-localplt.out): Use localplt.data from vpath
18001 instead of $(check-data).
18002 * scripts/data/localplt-generic.data: Move to ...
18003 * sysdeps/generic/localplt.data: ... here.
18004 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
18005 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
18006 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
18007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
18008 ... here.
18009 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
18010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
18011 ... here.
18012 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
18013 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
18014 ... here.
18015 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
18016 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
18017 ... here.
18018 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
18019 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
18020 ... here.
18021 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
18022 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
18023 ... here.
18024
d37cbdaa
AZ
180252012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18026
18027 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
18028 PPC32 and PPC64 files.
18029 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
18030 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
18031
46f85fc2
AK
180322012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18033
18034 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
18035 __makecontext_ret to ...
18036 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
18037 ... here and call exit if uc_link is NULL. New file.
18038 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
18039 __makecontext_ret.S.
18040 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
18041 __makecontext_ret to ...
18042 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
18043 ... here and call exit if uc_link is NULL. New file.
18044 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
18045 __makecontext_ret.S.
18046
08f43f9b
AK
180472012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18048
18049 * elf/elf.h (R_390_IRELATIVE): New definition.
18050 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
18051 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
18052 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
18053 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18054 (elf_machine_lazy_rel): Likewise.
18055 * sysdeps/s390/dl-irel.h: New file.
18056 * sysdeps/s390/s390-64/memcpy.S: New asm code.
18057 * sysdeps/s390/s390-64/memset.S: New asm code.
18058 * sysdeps/s390/s390-64/memcmp.S: New asm code.
18059 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
18060 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
18061 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
18062 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
18063 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
18064 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
18065 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
18066 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
18067 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
18068 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
18069 * sysdeps/s390/s390-32/memcpy.S: New asm code.
18070 * sysdeps/s390/s390-32/memset.S: New asm code.
18071 * sysdeps/s390/s390-32/memcmp.S: New asm code.
18072
3b05db33
MP
180732012-07-17 Marek Polacek <polacek@redhat.com>
18074
18075 [BZ #14349]
18076 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
18077 * sysdeps/s390/s390-64/configure.in: Likewise.
18078 * sysdeps/sparc/configure.in: Likewise.
18079 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
18080 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
18081 * sysdeps/i386/configure.in: Likewise.
18082 * sysdeps/x86_64/configure.in: Likewise.
18083 * sysdeps/sh/configure.in: Likewise.
18084 * sysdeps/s390/s390-32/configure: Regenerated.
18085 * sysdeps/s390/s390-64/configure: Likewise.
18086 * sysdeps/x86_64/configure: Likewise.
18087 * sysdeps/sh/configure: Likewise.
18088 * sysdeps/powerpc/powerpc64/configure: Likewise.
18089 * sysdeps/powerpc/powerpc32/configure: Likewise.
18090 * sysdeps/sparc/configure: Likwise.
18091 * sysdeps/i386/configure: Likewise.
18092
a66877c6
MP
18093 * elf/dl-open.c: Comment fixes.
18094
cfc82fd8
JM
180952012-07-17 Joseph Myers <joseph@codesourcery.com>
18096
bd29910a
JM
18097 * Makefile [CXX] (check-data): Remove.
18098 [CXX] (c++-types.data): New vpath directive.
18099 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
18100 vpath. Do not allow for C++ type data being missing.
18101 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
18102 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
18103 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
18104 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
18105 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
18106 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
18107 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
18108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
18109 ... here.
18110 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
18111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
18112 ... here.
18113 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
18114 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
18115 ... here.
18116 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
18117 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
18118 ... here.
18119 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
18120 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
18121 ... here.
18122 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
18123 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
18124 ... here.
18125 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
18126 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
18127 ... here.
18128 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
18129 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
18130
cfc82fd8
JM
18131 * elf/tls-macros.h (TLS_LE): Move architecture-specific
18132 definitions to architecture-specific files.
18133 (TLS_IE): Likewise.
18134 (TLS_LD): Likewise.
18135 (TLS_GD): Likewise.
18136 * sysdeps/i386/tls-macros.h: New file.
18137 * sysdeps/powerpc/tls-macros.h: Likewise.
18138 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
18139 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
18140 * sysdeps/sh/tls-macros.h: Likewise.
18141 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
18142 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
18143 * sysdeps/x86_64/tls-macros.h: Likewise.
18144
f7db3170
TS
181452012-07-17 Thomas Schwinge <thomas@codesourcery.com>
18146
07cbfc23
TS
18147 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
18148 zero value for regular exit case.
18149
f7db3170
TS
18150 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
18151 (__start_context): Preserve zero value for regular exit case.
18152
dc97c227
TS
181532012-07-17 Thomas Schwinge <thomas@codesourcery.com>
18154 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18155
18156 * manual/setjmp.texi (setcontext): Clarify normal process
18157 termination when uc_link is the null pointer.
18158 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
18159 exit call.
18160
d0cd7d02
AS
181612012-07-16 Andreas Schwab <schwab@linux-m68k.org>
18162
18163 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
18164 preprocessor. Test for each exception mask separately.
18165
dd318934
AJ
181662012-07-16 Andreas Jaeger <aj@suse.de>
18167
18168 * po/ru.po: Update from translation team.
18169
8048311a
JM
181702012-07-15 Joseph Myers <joseph@codesourcery.com>
18171
18172 * conform/data/string.h-data (NULL): Use macro-constant. Require
18173 equal to 0.
18174 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18175 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18176 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
18177 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
18178 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18179
b637d46e
AJ
181802012-07-13 Andreas Jaeger <aj@suse.de>
18181
18182 * po/fr.po: Update from translation team.
18183
541428fe
MP
181842012-07-12 Marek Polacek <polacek@redhat.com>
18185
18186 [BZ #14173]
18187 * math/libm-test.inc (yn_test): Add test for BZ #14173.
18188 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
18189 loop condition.
18190
ec332e94
JM
181912012-07-12 Joseph Myers <joseph@codesourcery.com>
18192
18193 [BZ #13717]
18194 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18195 Change to 2.4.1 where previously 2.4.0.
18196 * sysdeps/unix/sysv/linux/configure: Regenerated.
18197 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
18198 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
18199 version.
18200 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
18201 (__ASSUME_AT_CLKTCK): Remove.
18202 (__ASSUME_AT_PAGESIZE): Likewise.
18203 (__ASSUME_AT_XID): Likewise.
18204 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
18205 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
18206 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
18207 unconditionally.
18208 (HAVE_AUX_PAGESIZE): Likewise.
18209 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
18210 [__ASSUME_AT_CLKTCK]: Make code unconditional.
18211 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
18212
7b6e99be
JB
182132012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
18214
18215 [BZ #14307]
18216 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
18217 the temporary buffer used to invoke __gethostbyname2_r,
18218 __gethostbyaddr_r and gethostbyname4_r to make room for struct
18219 host_data / struct gaih_addrtuple.
18220 * resolv/nss_dns/dns-host.c (global scope): Move definition of
18221 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
18222 header file nss/nsswitch.h.
18223 * nss/nsswitch.h (global scope): Add definition of implementation
18224 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
18225 resolv/nss_dns/dns-host.c).
18226
608404eb
AJ
182272012-07-11 Andreas Jaeger <aj@suse.de>
18228
18229 * po/fr.po: Update from translation team.
18230
71220aca
AJ
18231 * po/sv.po: Update from translation team
18232 * po/fr.po: Another update from translation team.
18233
28cfe843
AZ
182342012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18235
18236 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
18237 for subnormals or multiply small sinh result by itself.
18238 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18239 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18240
6b90f981
DM
182412012-07-11 David S. Miller <davem@davemloft.net>
18242
18243 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18244
c6825772
AS
182452012-07-10 Andreas Schwab <schwab@linux-m68k.org>
18246
18247 [BZ #14347]
18248 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
18249 (INTERNAL_MARK): Shift it here.
18250
7b8e0d49
MP
182512012-07-10 Marek Polacek <polacek@redhat.com>
18252
18253 [BZ #14151]
18254 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
18255 libc_cv_asm_global_directive with .globl.
18256 * configure: Regenerated.
18257 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
18258 with .globl.
18259 * sysdeps/i386/configure: Regenerated.
18260 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
18261 with .globl.
18262 * sysdeps/x86_64/configure: Regenerated.
18263 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
18264 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
18265 * elf/tst-unique2mod2.c: Likewise.
18266 * elf/tst-unique2mod1.c: Likewise.
18267 * elf/tst-unique1mod2.c: Likewise.
18268 * elf/tst-unique1mod1.c: Likewise.
18269 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18270 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18271 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18272 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18273 * sysdeps/mach/sysdep.h: Likewise.
18274 * sysdeps/i386/sysdep.h: Likewise.
18275 * sysdeps/i386/i386-mcount.S: Likewise.
18276 * sysdeps/x86_64/_mcount.S: Likewise.
18277 * sysdeps/x86_64/sysdep.h: Likewise.
18278 * sysdeps/sh/_mcount.S: Likewise.
18279 * sysdeps/sh/sysdep.h: Likewise.
18280 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
18281 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
18282 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
18283 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18284 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
18285 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
18286 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
18287 * locale/localeinfo.h: Likewise.
18288 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
18289 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
18290
6c55cda3
RM
182912012-07-09 Roland McGrath <roland@hack.frob.com>
18292
18293 [BZ #14336]
18294 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
18295 system".
18296 * manual/message.texi (The Uniforum approach): Likewise.
18297 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
18298 (glibc iconv Implementation): Likewise.
18299
638a572e
JM
183002012-07-09 Joseph Myers <joseph@codesourcery.com>
18301
18302 [BZ #14337]
18303 * math/s_clog.c (__clog): Avoid scaling a value down where that
18304 could result in underflow.
18305 * math/s_clog10.c (__clog10): Likewise.
18306 * math/s_clog10f.c (__clog10f): Likewise.
18307 * math/s_clog10l.c (__clog10l): Likewise.
18308 * math/s_clogf.c (__clogf): Likewise.
18309 * math/s_clogl.c (__clogl): Likewise.
18310 * math/libm-test.inc (clog_test): Add more tests.
18311 (clog10_test): Likewise.
18312 * sysdeps/i386/fpu/libm-test-ulps: Update.
18313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18314
261f4859
AS
183152012-07-06 Andreas Schwab <schwab@linux-m68k.org>
18316
0abaf3e4
AS
18317 [BZ #14283]
18318 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
18319 by 7 not 8 to examine high bit of fractional part.
18320
261f4859
AS
18321 [BZ #14042]
18322 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
18323 for call to __mcount_internal.
18324 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
18325 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
18326 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
18327
f17ac40d
JM
183282012-07-06 Joseph Myers <joseph@codesourcery.com>
18329
9ad63c23
JM
18330 [BZ #14154]
18331 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
18332 approximation for values within 0x1p-13f of an odd multiple of
18333 pi/4.
18334 * math/libm-test.inc (tan_test): Do not allow spurious underflow
18335 exception. Add more tests.
18336 * sysdeps/i386/fpu/libm-test-ulps: Update.
18337
f17ac40d
JM
18338 [BZ #6778]
18339 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
18340 inputs and return -1 for them. Do not check for +Inf in case not
18341 reachable for +Inf.
18342 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18343 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
18344 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18345 and return -1 for them. Do not check for +Inf in case not
18346 reachable for +Inf.
18347 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
18348 define.
18349 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18350 and return -1 for them. Do not check for +Inf in case not
18351 reachable for +Inf.
18352 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
18353 spurious underflow.
18354 * sysdeps/i386/fpu/libm-test-ulps: Update.
18355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18356
fb21f89b
MF
183572012-07-06 Mike Frysinger <vapier@gentoo.org>
18358
18359 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
18360
cdfe2c5e
JM
183612012-07-05 Joseph Myers <joseph@codesourcery.com>
18362
18363 [BZ #14157]
18364 [BZ #14331]
18365 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
18366 could result in spurious underflow. Scale down values above
18367 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
18368 * math/s_csqrtf.c (__csqrtf): Likewise.
18369 * math/s_csqrtl.c (__csqrtl): Likewise.
18370 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
18371 spurious underflow.
18372 * sysdeps/i386/fpu/libm-test-ulps: Update.
18373 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18374
70d35b67
AS
183752012-07-04 Andreas Schwab <schwab@linux-m68k.org>
18376
704bc459
AS
18377 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
18378 xopen-msg.sed.
18379 * catgets/xopen-msg.awk: New file.
18380 * catgets/xopen-msg.sed: Removed.
18381
70d35b67
AS
18382 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
18383 po2text.sed.
18384 * intl/po2test.awk: New file.
18385 * intl/po2test.sed: Removed.
18386
ca61cf32
JM
183872012-07-04 Joseph Myers <joseph@codesourcery.com>
18388
18389 [BZ #14328]
18390 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
18391 or multiply small sinh result by itself.
18392 * math/s_ctanf.c (__ctanf): Likewise.
18393 * math/s_ctanh.c (__ctanh): Likewise.
18394 * math/s_ctanhf.c (__ctanhf): Likewise.
18395 * math/s_ctanhl.c (__ctanhl): Likewise.
18396 * math/s_ctanl.c (__ctanl): Likewise.
18397 * math/libm-test.inc (ctan_test_tonearest): New function.
18398 (ctan_test_towardzero): Likewise.
18399 (ctan_test_downward): Likewise.
18400 (ctan_test_upward): Likewise.
18401 (ctanh_test_tonearest): Likewise.
18402 (ctanh_test_towardzero): Likewise.
18403 (ctanh_test_downward): Likewise.
18404 (ctanh_test_upward): Likewise.
18405 (main): Call these new functions.
18406 * sysdeps/i386/fpu/libm-test-ulps: Update.
18407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18408
ca48a46a
MF
184092012-07-03 Mike Frysinger <vapier@gentoo.org>
18410
18411 * .gitignore: Delete /ports entry.
18412
9d63d37d
AJ
184132012-07-03 Andreas Jaeger <aj@suse.de>
18414
18415 * po/bg.po: Update from translation team.
18416 * po/cs.po: Likewise.
18417 * po/de.po: Likewise.
18418 * po/hr.po: Likewise.
18419 * po/nl.pl: Likewise.
18420 * po/pl.po: Likewise.
18421 * po/vi.po: Likewise.
18422
370ca3d2
JM
184232012-07-03 Joseph Myers <joseph@codesourcery.com>
18424
95f5a9a8
JM
18425 * Makeconfig [!+link] (+link-before-libc): New variable.
18426 [!+link] (+link-after-libc): Likewise.
18427 [!+link] (+link-tests): Likewise.
18428 [!+link] (+link): Define in terms of $(+link-before-libc) and
18429 $(+link-after-libc).
18430 [!+link-static] (+link-static-before-libc): New variable.
18431 [!+link-static] (+link-static-after-libc): Likewise.
18432 [!+link-static] (+link-static-tests): Likewise.
18433 [!+link-static] (+link-static): Define in terms of
18434 $(+link-static-before-libc) and $(+link-static-after-libc).
18435 [build-shared] (link-libc-before-gnulib): New variable.
18436 [build-shared] (link-libc-tests): Likewise.
18437 [build-shared] (link-libc): Define in terms of
18438 $(link-libc-before-gnulib).
18439 [!build-shared] (link-libc-tests): New variable.
18440 (link-libc-static-tests): New variable.
18441 [!gnulib] (gnulib-arch): New variable.
18442 [!gnulib] (gnulib-tests): Likewise.
18443 [!gnulib] (static-gnulib-arch): Likewise.
18444 [!gnulib] (static-gnulib-tests): Likewise.
18445 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
18446 Define with "=" instead of ":=".
18447 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
18448 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
18449 * Rules (binaries-all-notests): New variable.
18450 (binaries-all-tests): Likewise.
18451 (binaries-static-notests): Likewise.
18452 (binaries-static-tests): Likewise.
18453 (binaries-all): Define using $(binaries-all-notests) and
18454 $(binaries-all-tests).
18455 (binaries-static): Define using $(binaries-static-notests) and
18456 $(binaries-static-tests).
18457 (binaries-shared-tests): New variable.
18458 (binaries-shared-notests): Likewise.
18459 (binaries-shared): Remove variable.
18460 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
18461 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
18462 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
18463 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
18464 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
18465 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
18466 * elf/Makefile (sln-modules): New variable.
18467 (extra-objs): Add $(sln-modules:=.o).
18468 (ldconfig-modules): Add static-stubs.
18469 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
18470 * elf/static-stubs.c: New file.
18471
7a845b2c
JM
18472 [BZ #14283]
18473 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
18474 by 7 not 8 to examine high bit of fractional part. Use volatile
18475 variables when splitting into final array of floats if
18476 __FLT_EVAL_METHOD__ != 0.
18477 * math/libm-test.inc (cos_test): Add another test.
18478 (sin_test): Likewise.
18479 * sysdeps/i386/fpu/libm-test-ulps: Update.
18480
e2283f38
JM
18481 [BZ #14273]
18482 * math/libm-test.inc (cosh_test): Add more tests.
18483
370ca3d2
JM
18484 * version.h (RELEASE): Set to "development".
18485 (VERSION): Set to "2.16.90".
18486
ee9247c3
CD
184872012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
18488
18489 * NEWS: Update copyright. Remove last-updated date.
18490 Mention math library bug fixes and timezone data changes.
18491 * README: Mention GNU/Hurd, x32, and HPPA support status.
18492
4648c381
TS
184932012-06-28 Thomas Schwinge <thomas@codesourcery.com>
18494
18495 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
18496
aac78a43
AJ
184972012-06-27 Andreas Jaeger <aj@suse.de>
18498
18499 * manual/contrib.texi (Contributors): Add Samuel Thibault.
18500
ed3dbfad
AJ
185012012-06-25 Andreas Jaeger <aj@suse.de>
18502
18503 * sysdeps/s390/fpu/libm-test-ulps: Update.
18504
4d0ee855
AS
185052012-06-23 Andreas Schwab <schwab@linux-m68k.org>
18506 Thomas Schwinge <thomas@codesourcery.com>
18507
18508 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
18509 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
18510 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
18511 fanotify_mark.
18512
af1bce34
TS
185132012-06-23 Thomas Schwinge <thomas@codesourcery.com>
18514
a9fa33ba
TS
18515 * sysdeps/mach/start.c: Remove file.
18516 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
18517 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
18518 * sysdeps/sh/init-first.c: Likewise.
18519
58f902b8
TS
18520 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
18521 registers for frame unwinding purposes, add CFI directives.
18522 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18523 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
18524 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
18525 Likewise.
18526
1518f58b
TS
18527 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
18528 __fortify_fail returning.
18529 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18530
db9b5059
TS
18531 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
18532 sysdeps/sh/____longjmp_chk.S.
18533 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
18534 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
18535 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
18536 (gen-as-const-headers): Append sigaltstack-offsets.sym.
18537
967705fe
TS
18538 * sysdeps/sh/abort-instr.h: New file.
18539 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
18540 process in case exit returns.
18541
a9def8c4
TS
18542 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
18543 initialize the GOT register before use.
18544
2a649725
TS
18545 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
18546 calculation of ARGC > 4.
18547
af1bce34
TS
18548 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
18549 meaningful names to some local labels.
18550
d230f50a
KK
185512012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18552 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18553
18554 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
18555 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
18556 (__arch_compare_and_exchange_val_16_acq): Likewise.
18557 (__arch_compare_and_exchange_val_32_acq): Likewise.
18558 (atomic_exchange_and_add): Fix gUSA sequence.
18559 (atomic_add): Likewise.
18560 (atomic_add_negative): Likewise.
18561 (atomic_add_zero): Likewise.
18562 (atomic_bit_test_set): Likewise.
18563
0479b305
AS
185642012-06-22 Andreas Schwab <schwab@redhat.com>
18565
18566 [BZ #13579]
18567 * include/link.h (struct link_map): Add l_free_initfini.
18568 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
18569 l_initfini.
18570 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
18571 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
18572 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
18573 set.
18574
0e3933b9
CD
185752012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
18576
18577 * configure.in: Use AC_LANG_SOURCE.
18578 * configure: Regenerate.
18579
4248b1b1
RM
185802012-06-22 Roland McGrath <roland@hack.frob.com>
18581
18582 * configure.in (libc_cv_localstatedir): New substituted variable.
18583 * configure: Regenerated.
18584 * config.make.in (localstatedir): New variable, substituted from
18585 libc_cv_localstatedir.
18586 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
18587 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
18588 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
18589 * sysdeps/gnu/configure: Regenerated.
18590
006dd861
JL
185912012-06-21 Jeff Law <law@redhat.com>
18592
18593 [BZ #14277]
18594 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
18595 free. Simplify list management for _LIBC case.
18596
79662d42
JM
185972012-06-21 Joseph Myers <joseph@codesourcery.com>
18598
b7abb4bf
JM
18599 [BZ #14273]
18600 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
18601 Clear sign bit of 64-bit integer value before comparing against
18602 overflow value.
18603
79662d42
JM
18604 * sysdeps/mach/configure: Regenerated.
18605
1f150908
L
186062012-06-21 H.J. Lu <hongjiu.lu@intel.com>
18607
18608 [BZ #14278]
18609 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
18610
28363bbf
JL
186112012-06-21 Jeff Law <law@redhat.com>
18612
18613 [BZ #13882]
18614 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
18615 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 18616 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
18617 * elf/dl-open.c (dl_open_worker): Likewise.
18618
09615db4
CD
186192012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
18620
18621 * scripts/list-sources.sh: Scan PORTS for translations.
18622 * po/libc.pot: Regenerated.
18623
2174c6dd
AJ
186242012-06-21 Andreas Jaeger <aj@suse.de>
18625
18626 [BZ #12194]
18627 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
18628 warning.
18629 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
18630 * bits/byteswap-16.h (__bswap_16): Likewise.
18631 * bits/byteswap.h (__bswap_constant_16): Likewise.
18632
3ee947b1
L
186332012-06-18 H.J. Lu <hongjiu.lu@intel.com>
18634
18635 [BZ #14117]
a2f34833
L
18636 * sysdeps/i386/fpu_control.h: Removed.
18637 * sysdeps/x86_64/fpu_control.h: Moved to ...
18638 * sysdeps/x86/fpu_control.h: Here.
18639
3ee947b1
L
18640 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
18641 (_FPU_SETCW): Likewise.
18642
ed1825f8
L
186432012-06-15 H.J. Lu <hongjiu.lu@intel.com>
18644
25f1282a
L
18645 [BZ #14117]
18646 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
18647 * sysdeps/x86/fpu/bits/mathinline.h: This.
18648 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
18649
ed1825f8
L
18650 [BZ #14050]
18651 [BZ #14117]
18652 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
18653 functions if __x86_64__ is defined.
18654
36d54b74
CLT
186552012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
18656
18657 * string/endian.h: Add !__ASSEMBLER__ condition for including
18658 conversion interfaces.
18659
10285c21
JM
186602012-06-15 Joseph Myers <joseph@codesourcery.com>
18661
18662 [BZ #14241]
18663 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
18664 of ABS(x) in calculating zero to negative powers other than odd
18665 integers.
18666 * math/libm-test.inc (pow_test): Add more tests.
18667
06c5abbd
AJ
186682012-06-15 Andreas Jaeger <aj@suse.de>
18669
18670 * manual/contrib.texi (Contributors): Update entry of Liubov
18671 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
18672 Machado Filho.
18673
a3aeac40
CH
186742012-06-15 Cyril Hrubis <metan@ucw.cz>
18675
18676 * string/string.h: Add __wur to GNU version of strerror_r.
18677
49bdf4c1
L
186782012-06-14 H.J. Lu <hongjiu.lu@intel.com>
18679
18680 [BZ #14229]
18681 * string/Makefile (tests): Add tst-strtok_r.
18682 * string/tst-strtok_r.c: New file.
18683 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
18684 RAX_LP/RDX_LP on SAVE_PTR.
18685
834f9b8d
RM
186862012-06-14 Roland McGrath <roland@hack.frob.com>
18687
18688 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
18689
75fa1921
JM
186902012-06-14 Joseph Myers <joseph@codesourcery.com>
18691
18692 * libm_test.inc (csqrt_test): Allow more spurious underflow
18693 exceptions.
18694 (j0_test): Likewise.
18695 (j1_test): Likewise.
18696 (y0_test): Likewise.
18697 (y1_test): Likewise.
18698
771766df
CD
186992012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
18700
18701 * po/Makefile (libc.pot): Use UTF-8 charset.
18702
ceb9e56b
PP
187032012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
18704
18705 [BZ #14210]
18706 Suppress sign-conversion warning from FD_SET.
18707 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
18708 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
18709 not unsigned long int.
18710 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
18711
ddb28975
L
187122012-06-12 H.J. Lu <hongjiu.lu@intel.com>
18713
18714 [BZ #14050]
18715 [BZ #14117]
18716 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
18717 __extern_always_inline instead of __extern_inline.
18718 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
18719 (__signbit): Likewise.
18720 (__signbitl): Support C++ namespace.
18721 (lrintf): New inline function.
18722 (lrint): Likewise.
18723 (llrintf): Likewise.
18724 (llrint): Likewise.
18725 (fmaxf): Likewise.
18726 (fmax): Likewise.
18727 (fminf): Likewise.
18728 (fmin): Likewise.
18729 (rint): Likewise.
18730 (rintf): Likewise.
18731 (ceil): Likewise.
18732 (ceilf): Likewise.
18733 (floor): Likewise.
18734 (floorf): Likewise.
18735 (nearbyint): Likewise.
18736 (nearbyintf): Likewise.
18737
d7b4fb26
TS
187382012-06-12 Thomas Schwinge <thomas@codesourcery.com>
18739
18740 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
18741 non-default versions.
18742
eb55f5c2
RM
187432012-06-11 Roland McGrath <roland@hack.frob.com>
18744
18745 [BZ #14218]
18746 * manual/argp.texi (Argp): Reword argp_parse description slightly.
18747
366af02c
TS
187482012-06-09 Thomas Schwinge <thomas@codesourcery.com>
18749
99ff6e5c
TS
18750 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
18751 (FE_UPWARD, FE_DOWNWARD): Don't define.
18752 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
18753 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18754
366af02c
TS
18755 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
18756 reading it.
18757 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18758 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18759
793ea851
KK
187602012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18761
18762 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18763 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
18764 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
18765 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
18766
a728a38f
L
187672012-06-06 H.J. Lu <hongjiu.lu@intel.com>
18768
18769 [BZ #14117]
c08010c7
L
18770 * sysdeps/i386/fpu/bits/fenv.h: Removed.
18771 * sysdeps/i386/fpu/Implies: New file.
18772 * sysdeps/x86_64/fpu/Implies: Likewise.
18773 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
18774 * sysdeps/x86/fpu/bits/fenv.h: This.
18775
a728a38f
L
18776 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
18777 __SSE_MATH__.
18778
6e230d11
SP
187792012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18780
18781 [BZ #14134]
18782 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
18783 character 0xffff that matches the last element of the
18784 conversion table.
18785
1b671feb
AZ
187862012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18787
18788 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
18789 fmodl commit.
18790
6043738b
AZ
187912012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18792
18793 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
18794 values higher than 25.6283.
18795
34ae0b32
AZ
187962012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18797
18798 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
18799 subnormal exponent extraction and add some __builtin_expect.
18800 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
18801 Fix for subnormal mantissa calculation.
18802
1214ec8f
MF
188032012-06-04 Mike Frysinger <vapier@gentoo.org>
18804
18805 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
18806 cpu2 is -1 and errno is not ENOSYS.
18807
f3d1f93c
L
188082012-06-04 H.J. Lu <hongjiu.lu@intel.com>
18809
18810 [BZ #14117]
0e4a3cd7
L
18811 * sysdeps/i386/i486/bits/string.h: Renamed to ...
18812 * sysdeps/x86/bits/string.h: This.
18813 * sysdeps/x86_64/bits/string.h: Removed.
18814
6704c645
L
18815 * sysdeps/i386/i486/bits/string.h: Define inline functions only
18816 if not compiling for x86-64, but compiling for >= i486.
18817
48495318
L
18818 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
18819 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
18820
14adcbfc
L
18821 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
18822 New macro from Linux kernel 3.4.0.
18823 (FP_XSTATE_MAGIC2): Likewise.
18824 (FP_XSTATE_MAGIC2_SIZE): Likewise.
18825 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
18826 (struct _fpx_sw_bytes): New struct.
18827 (struct _xsave_hdr): Likewise.
18828 (struct _ymmh_state): Likewise.
18829 (struct _xstate): Likewise.
18830
68e408ab
L
18831 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
18832 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
18833 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
18834 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
18835 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
18836 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
18837
f3d1f93c
L
18838 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
18839 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
18840 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
18841 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
18842 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
18843 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
18844
d9dc34cd
TMQMF
188452012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18846
18847 [BZ #13743]
18848 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
18849 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
18850 (sysdep_headers): Include sys/platform/ppc.h.
18851 * sysdeps/powerpc/test-gettimebase.c: Test for
18852 __ppc_get_timebase() to catch future ISA opcode/insn changes.
18853 * manual/Makefile (appendices): Include platform.texi.
18854 * manual/contrib.texi (Contributors): Update @node pointers.
18855 * manual/maint.texi (Maintenance): Likewise.
18856 (Platform): New node.
18857 * manual/platform.texi: New file. Document the new features.
18858
4af3879c
SP
188592012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18860 Jakub Jelinek <jakub@redhat.com>
18861
18862 [BZ #14188]
18863 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
18864 where __builtin_expect is unavailable.
18865
2fd6ff13
DM
188662012-06-03 David S. Miller <davem@davemloft.net>
18867
18868 * stdlib/longlong.h: Updated from GCC.
18869
173f7220
AS
188702012-06-02 Andreas Schwab <schwab@linux-m68k.org>
18871
18872 [BZ #14042]
18873 * sysdeps/powerpc/powerpc32/mcount.c: New file.
18874 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
18875 __mcount_internal.
18876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18877 (GLIBC_2.16): Likewise.
18878
f34a1c6f
L
188792012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18880
18881 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
18882
88a4576f
JM
188832012-06-01 Joseph Myers <joseph@codesourcery.com>
18884
ea32bcdd
JM
18885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
18886 (default-abi): New variable.
18887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
18888 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
18889 variable.
18890 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
18891 Likewise.
18892 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
18893 Likewise.
18894 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
18895 Likewise.
18896
88a4576f
JM
18897 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
18898 definition. Document in comment.
18899
402fe938
DM
189002012-06-01 David S. Miller <davem@davemloft.net>
18901
18902 * stdlib/longlong.h: Updated from GCC.
18903
3553723f
L
189042012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18905
18906 [BZ #14117]
3bd872c4
L
18907 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
18908 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
18909 sys/debugreg.h sys/io.h here.
18910 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
18911 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
18912 sys/io.h.
18913 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
18914 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
18915 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
18916 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
18917 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
18918 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
18919
3553723f
L
18920 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
18921 Define only if __x86_64__ is defined.
18922
4842e4fe
JM
189232012-06-01 Joseph Myers <joseph@codesourcery.com>
18924
c5bfe3d5
JM
18925 [BZ #14048]
18926 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
18927 Use int64_t for variable i.
18928 * math/libm-test.inc (fmod_test): Add more tests.
18929
4842e4fe
JM
18930 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
18931 z computation is not scheduled after fetestexcept.
18932 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
18933 Use math_force_eval instead of asm to ensure calculation scheduled
18934 before exception test.
18935 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
18936 Ensure a1 + u.d computation is not scheduled after fetestexcept.
18937
efb73488
AJ
189382012-06-01 Aurelien Jarno <aurelien@aurel32.net>
18939
18940 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
18941 computation is not scheduled after fetestexcept.
18942
29bcce7c
L
189432012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18944
18945 [BZ #14117]
18946 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
18947 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
18948
73a68f94
AZ
189492012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18950
18951 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
18952 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18953
67b6df78
L
189542012-05-31 H.J. Lu <hongjiu.lu@intel.com>
18955
edf2933a 18956 [BZ #14117]
ebc64a18
L
18957 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
18958 <bits/wordsize.h>.
18959 (__WCHAR_MIN): Support __WORDSIZE == 64.
18960 (__WCHAR_MAX): Likewise.
18961
edf2933a
L
18962 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
18963 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
18964
57c6cf40
L
18965 [BZ #14183]
18966 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
18967 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
18968
67b6df78 18969 [BZ #14117]
8eb6281e
L
18970 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
18971 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
18972
aac639f4
L
18973 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
18974 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
18975
67b6df78
L
18976 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
18977 Defined to 1 if __x86_64__ isn't defined.
18978 (_STAT_VER_LINUX_OLD): New.
18979 (st_atime): Remove duplicate.
18980 (st_mtime): Likewise.
18981 (st_ctime): Likewise.
18982
1c2cfe81
DM
189832012-05-31 David S. Miller <davem@davemloft.net>
18984
18985 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
18986 entries.
18987
5be8418c
AS
189882012-06-01 Andreas Schwab <schwab@linux-m68k.org>
18989
e7725326
AS
18990 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
18991 gen-libm-test.pl.
18992
5be8418c
AS
18993 [BZ #14132]
18994 * elf/dl-reloc.c: Include <_itoa.h>.
18995 (_dl_reloc_bad_type): Remove use of INTUSE.
18996 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
18997 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
18998 * stdio-common/psiginfo.c (psiginfo): Likewise.
18999 * stdio-common/psignal.c (psignal): Likewise.
19000 * string/strsignal.c (strsignal): Likewise.
19001 * include/signal.h (_sys_siglist): Declare hidden proto.
19002 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
19003 INTVARDEF with libc_hidden_data_def.
19004 * stdio-common/itoa-udigits.c: Likewise.
19005 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
19006 (_itoa_lower_digits_internal): Remove declaration.
19007 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
19008 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
19009 (_sys_sigabbrev_internal): Remove aliases.
19010 (_sys_siglist): Define hidden alias.
19011
507352f1
MT
190122012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
19013
19014 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19015 bits/sysctl.h.
19016
42bbb1c3
L
190172012-05-31 H.J. Lu <hongjiu.lu@intel.com>
19018
19019 [BZ #14117]
6bd784b6
L
19020 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
19021 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
19022
8bca20f0
L
19023 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
19024 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
19025 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
19026 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
19027 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
19028 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
19029
f9e890a9
L
19030 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
19031 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
19032 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
19033
471101a1
L
19034 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
19035 with __addr.
19036 (insw): Likewise.
19037 (insl): Likewise.
19038 (outsb): Likewise.
19039 (outsw): Likewise.
19040 (outsl): Likewise.
19041
6451c862
L
19042 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
19043 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
19044 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
19045
a254b8c9
L
19046 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
19047 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
19048 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
19049 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
19050 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
19051 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
19052
b8dfdd92
L
19053 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
19054 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
19055
578cd270
L
19056 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
19057 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
19058
de662f5f
L
19059 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
19060 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
19061 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
19062
25653439
L
19063 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
19064 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
19065 to ...
19066 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
19067
6bad24a0
L
19068 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
19069 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
19070 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
19071
42bbb1c3
L
19072 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
19073 for x86-64.
19074 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
19075
2d10d547
JM
190762012-05-31 Joseph Myers <joseph@codesourcery.com>
19077
19078 * math/math.h (M_El): Use two more decimal places.
19079 (M_LOG2El): Likewise.
19080 (M_LOG10El): Likewise.
19081 (M_LN2l): Likewise.
19082 (M_LN10l): Likewise.
19083 (M_PIl): Likewise.
19084 (M_PI_2l): Likewise.
19085 (M_PI_4l): Likewise.
19086 (M_1_PIl): Likewise.
19087 (M_2_PIl): Likewise.
19088 (M_2_SQRTPIl): Likewise.
19089 (M_SQRT2l): Likewise.
19090 (M_SQRT1_2l): Likewise.
19091
f230c29b
DM
190922012-05-31 David S. Miller <davem@davemloft.net>
19093
19094 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
19095 values between float registers.
19096 * sysdeps/sparc/sparc64/memset.S: Likewise.
19097 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19098
fed806c3
MF
190992012-05-31 Mike Frysinger <vapier@gentoo.org>
19100
19101 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
19102 -D_FORTIFY_SOURCE=1.
19103 (CPPFLAGS-tst-longjmp_chk.c): Define.
19104 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
19105 (CPPFLAGS-tst-longjmp_chk2.c): Define.
19106 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
19107 CFLAGS-tst-wchar-h.c.
19108
30917259
MP
191092012-05-31 Marek Polacek <polacek@redhat.com>
19110
19111 [BZ #14132]
19112 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
19113 __endmntent_internal): Remove declaration.
19114 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
19115 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
19116 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
19117
1c58d5dc
DM
191182012-05-30 David S. Miller <davem@davemloft.net>
19119
19120 * sysdeps/sparc/sparc32/soft-fp/q_util.c
19121 (___Q_simulate_exceptions): Use real FP ops rather than writing
19122 into the %fsr.
19123 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
19124 Likewise.
19125
7dc00e0d
L
191262012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19127
19128 [BZ #14117]
0bd53985
L
19129 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
19130 * sysdeps/x86/bits/xtitypes.h: This.
19131
3a257e66
L
19132 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
19133 * sysdeps/x86/bits/wordsize.h: This.
19134
62f62904
L
19135 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
19136 * sysdeps/x86/bits/huge_vall.h: This.
19137
404fe9d9
L
19138 * sysdeps/i386/bits/select.h: Removed.
19139 * sysdeps/x86_64/bits/select.h: Renamed to ...
19140 * sysdeps/x86/bits/select.h: This.
19141
d48d0446
L
19142 * sysdeps/i386/bits/setjmp.h: Removed.
19143 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
19144 * sysdeps/x86/bits/setjmp.h: This.
19145
7dc00e0d
L
19146 * sysdeps/i386/bits/mathdef.h: Removed.
19147 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
19148 * sysdeps/x86/bits/mathdef.h: This.
19149
03277f8f
AS
191502012-05-30 Andreas Schwab <schwab@linux-m68k.org>
19151
19152 [BZ #14132]
19153 * include/sys/socket.h (__connect_internal)
19154 (__libc_sa_len_internal): Remove declaration.
19155 (__connect, __libc_sa_len): Declare hidden_proto.
19156 (SA_LEN): Remove use of INTUSE.
19157 * socket/connect.c: Add libc_hidden_def.
19158 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
19159 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
19160 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
19161 alias.
19162 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
19163 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
19164 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
19165 of adding _internal alias.
19166
13764867
L
191672012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19168
19169 [BZ #14117]
6bd97696
L
19170 * sysdeps/i386/bits/link.h: Removed.
19171 * sysdeps/i386/bits/linkmap.h: Likewise.
19172 * sysdeps/x86_64/bits/link.h: Renamed to ...
19173 * sysdeps/x86/bits/link.h: This.
19174 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
19175 * sysdeps/x86/bits/linkmap.h: This.
19176
f726f0bb
L
19177 * sysdeps/i386/bits/endian.h: Removed.
19178 * sysdeps/x86_64/bits/endian.h: Renamed to ...
19179 * sysdeps/x86/bits/endian.h: This.
19180
13764867
L
19181 * sysdeps/i386/bits/byteswap.h: Removed.
19182 * sysdeps/i386/bits/byteswap-16.h: Likewise.
19183 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
19184 * sysdeps/x86/bits/byteswap.h: This.
19185 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
19186 * sysdeps/x86/bits/byteswap-16.h: This.
19187 * sysdeps/i386/Implies: Add x86.
19188 * sysdeps/x86_64/Implies: Likewise.
19189
ae251b0b
DM
191902012-05-30 David S. Miller <davem@davemloft.net>
19191
19192 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
19193 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
19194 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
19195 (FP_TRAPPING_EXCEPTIONS): Define.
19196 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
19197 (FP_TRAPPING_EXCEPTIONS): Define.
19198 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
19199 subnormals only when inexact has been signalled or underflow
19200 exceptions are enabled.
19201 (_FP_PACK_CANONICAL): Likewise.
19202
d5c90867
L
192032012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19204
19205 [BZ #14183]
19206 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
19207 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
19208
63f1549e
RH
192092012-05-30 Richard Henderson <rth@twiddle.net>
19210
8d8f2279
RH
19211 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
19212 with #ifndef NOT_IN_libc.
19213
63f1549e
RH
19214 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
19215 marked to avoid plt entry.
19216
0ab0291b
L
192172012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19218
19219 [BZ #14112]
19220 * Makeconfig (default-abi): New macro.
19221 (abi-includes): Likewise.
19222 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
19223 $(abi-$(default-abi)-lib-soname) for soname if defined.
19224 ($(common-objpfx)gnu/lib-names.stmp): Generate from
19225 abi-variants.
19226 * Makefile (installed-stubs): Likewise.
19227 * include/stubs-biarch.h: Removed.
19228 * scripts/lib-names.awk: Only handle one library at a time.
19229 * scripts/soversions.awk: Remove WORDSIZE support.
19230 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
19231 entries.
19232 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
19233 Removed.
19234 (syscall-list-default-condition): Likewise.
19235 (syscall-list-default-condition): Likewise.
19236 (syscall-list-includes): Likewise.
19237 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
19238 syscall-list-* with abi-*. Handle undefined abi-variants.
19239 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
19240 * sysdeps/unix/sysv/linux/i386/Implies: New file.
19241 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
19242 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
19243 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
19244 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
19245 Removed.
19246 (syscall-list-32-options): Likewise.
19247 (syscall-list-32-condition): Likewise.
19248 (syscall-list-64-options): Likewise.
19249 (syscall-list-64-condition): Likewise.
19250 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
19251 macro.
19252 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
19253 Renamed to ...
19254 (abi-*): This.
19255 (abi-64-ld-soname): New macro.
19256 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
19257 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
19258 Renamed to ...
19259 (abi-*): This.
19260 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
19261 * sysdeps/x86_64/x32/shlib-versions: Likewise.
19262
4da0431d
JM
192632012-05-30 Joseph Myers <joseph@codesourcery.com>
19264
3a85279c
JM
19265 * sysdeps/unix/sysv/linux/kernel-features.h
19266 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
19267 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
19268 include <kernel-features.h>.
19269 [!__NR_ftruncate64]: Remove conditional code.
19270 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19271 [__NR_ftruncate64]: Make code unconditional.
19272 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19273 * sysdeps/unix/sysv/linux/truncate64.c: Do not
19274 include <kernel-features.h>.
19275 [!__NR_ftruncate64]: Remove conditional code.
19276 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19277 [__NR_ftruncate64]: Make code unconditional.
19278 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
19280 include <kernel-features.h>.
19281 [!__NR_ftruncate64]: Remove conditional code.
19282 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19283 [__NR_ftruncate64]: Make code unconditional.
19284 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19286 include <kernel-features.h>.
19287 [!__NR_ftruncate64]: Remove conditional code.
19288 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19289 [__NR_ftruncate64]: Make code unconditional.
19290 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19291
4da0431d
JM
19292 * configure.in (libc_cv_fpie): Weaken to a compile test using
19293 LIBC_TRY_CC_OPTION.
19294 * configure: Regenerated.
19295
11ef492c
AK
192962012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19297
19298 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
19299 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
19300 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
19301 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19302 Refreshed.
19303 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
19304 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
19305 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
19306 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
19307 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
19308 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19309 Refreshed.
19310
d66ef399
DM
193112012-05-27 David S. Miller <davem@davemloft.net>
19312
19313 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
19314 (___Q_zero): New.
19315 (__Q_simulate_exceptions): Return void. Change to simulate
19316 exceptions by writing into the %fsr.
19317 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
19318 (__Qp_handle_exceptions): Likewise.
19319 (numbers): Delete.
19320 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
19321 __Qp_handle_exceptions.
19322 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
19323 __Qp_handle_exceptions.
19324 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19325 as unused and give dummy FP_RND_NEAREST initializer.
19326 (FP_INHIBIT_RESULTS): Define.
19327 (___Q_simulate_exceptions): Update declaration.
19328 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
19329 formatting.
19330 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19331 as unused and give dummy FP_RND_NEAREST initializer.
19332 (__Qp_handle_exceptions): Update declaration.
19333 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
19334 formatting.
19335
04fb54b5
TS
193362012-05-27 Thomas Schwinge <thomas@codesourcery.com>
19337
19338 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
19339 the temporary FPU control word.
19340 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19341 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
19342 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
19343 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19344 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19345 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
19346 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
19347 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19348 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19349 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
19350 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19351
3f99608f
KK
193522012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19353
19354 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
19355 fields.
19356
65a4de4e
CLT
193572012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
19358
19359 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
19360 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
19361 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
19362 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
19363 Likewise.
19364 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
19365 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
19366 Likewise.
19367
15749d40
UD
193682012-05-27 Ulrich Drepper <drepper@gmail.com>
19369
19370 * po/h.po: Update from translation team.
19371
25dbcb27
AS
193722012-05-26 Andreas Schwab <schwab@linux-m68k.org>
19373
3d3f8e55
AS
19374 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
19375
25dbcb27
AS
19376 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
19377 handling of denormals.
19378 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19379 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19380 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19381 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19382 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19383 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
19384 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
19385 Likewise.
19386
7ad47a80 193872012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
19388
19389 [BZ #14152]
19390 * math/libm-test.inc (fma_test): Don't always expect underflow
19391 exception.
19392
9c6ea9fa
SP
193932012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19394
19395 [BZ #12416]
19396 * elf/tst-execstack.c: Include stackinfo.h.
19397 (do_test): Adjust test case to ensure that pthread_getattr_np
19398 behaviour remains the same after marking stack executable.
19399
a8239222
JM
194002012-05-25 Joseph Myers <joseph@codesourcery.com>
19401
19402 * sysdeps/unix/sysv/linux/kernel-features.h
19403 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
19404 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
19405 kernel-features.h.
19406 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19407 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19408 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
19409 kernel-features.h.
19410 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19411 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19412
918b5606
L
194132012-05-25 H.J. Lu <hongjiu.lu@intel.com>
19414
19415 * configure.in: Define the default includes to being none.
19416 * configure: Regenerated.
19417
3a097cc7
RM
194182012-05-25 Roland McGrath <roland@hack.frob.com>
19419
8422c9a5
RM
19420 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
19421 * sysdeps/x86_64/setjmp.S: Likewise.
19422 * sysdeps/i386/bsd-setjmp.S: Likewise.
19423 * sysdeps/i386/bsd-_setjmp.S: Likewise.
19424 * sysdeps/i386/setjmp.S: Likewise.
19425 * sysdeps/i386/__longjmp.S: Likewise.
19426 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19427 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
19428
3a097cc7
RM
19429 * include/stap-probe.h: New file.
19430 * configure.in: Handle --enable-systemtap.
19431 * configure: Regenerated.
19432 * config.h.in (USE_STAP_PROBE): New #undef.
19433 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
19434 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
19435 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19436
21708942
JM
194372012-05-25 Joseph Myers <joseph@codesourcery.com>
19438
19439 [BZ #13717]
19440 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19441 to 2.4.0 where earlier.
19442 * sysdeps/unix/sysv/linux/configure: Regenerated.
19443 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19444 <kernel-features.h>.
19445 [__ASSUME_32BITUIDS]: Make code unconditional.
19446 [!__ASSUME_32BITUIDS]: Remove conditional code.
19447 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
19448 <kernel-features.h>.
19449 [__ASSUME_32BITUIDS]: Make code unconditional.
19450 [!__ASSUME_32BITUIDS]: Remove conditional code.
19451 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
19452 [__ASSUME_32BITUIDS]: Make code unconditional.
19453 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
19454 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
19455 <kernel-features.h>.
19456 [__ASSUME_32BITUIDS]: Make code unconditional.
19457 [!__ASSUME_32BITUIDS]: Remove conditional code.
19458 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
19459 <kernel-features.h>.
19460 [__ASSUME_32BITUIDS]: Make code unconditional.
19461 [!__ASSUME_32BITUIDS]: Remove conditional code.
19462 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
19463 <kernel-features.h>.
19464 [__ASSUME_32BITUIDS]: Make code unconditional.
19465 [!__ASSUME_32BITUIDS]: Remove conditional code.
19466 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
19467 <kernel-features.h>.
19468 [__ASSUME_32BITUIDS]: Make code unconditional.
19469 [!__ASSUME_32BITUIDS]: Remove conditional code.
19470 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19471 <kernel-features.h>.
19472 [__ASSUME_32BITUIDS]: Make code unconditional.
19473 [!__ASSUME_32BITUIDS]: Remove conditional code.
19474 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19475 <kernel-features.h>.
19476 [__ASSUME_32BITUIDS]: Make code unconditional.
19477 [!__ASSUME_32BITUIDS]: Remove conditional code.
19478 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
19479 <kernel-features.h>.
19480 [__ASSUME_32BITUIDS]: Make code unconditional.
19481 [!__ASSUME_32BITUIDS]: Remove conditional code.
19482 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19483 <kernel-features.h>.
19484 [__ASSUME_32BITUIDS]: Make code unconditional.
19485 [!__ASSUME_32BITUIDS]: Remove conditional code.
19486 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19487 <kernel-features.h>.
19488 [__ASSUME_32BITUIDS]: Make code unconditional.
19489 [!__ASSUME_32BITUIDS]: Remove conditional code.
19490 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
19491 <kernel-features.h>.
19492 [__ASSUME_32BITUIDS]: Make code unconditional.
19493 [!__ASSUME_32BITUIDS]: Remove conditional code.
19494 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
19495 <kernel-features.h>.
19496 [__NR_setresgid] (__setresgid): Do not declare.
19497 [__ASSUME_32BITUIDS]: Make code unconditional.
19498 [!__ASSUME_32BITUIDS]: Remove conditional code.
19499 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
19500 <kernel-features.h>.
19501 [__NR_setresuid] (__setresuid): Do not declare.
19502 [__ASSUME_32BITUIDS]: Make code unconditional.
19503 [!__ASSUME_32BITUIDS]: Remove conditional code.
19504 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
19505 <kernel-features.h>.
19506 [__ASSUME_32BITUIDS]: Make code unconditional.
19507 [!__ASSUME_32BITUIDS]: Remove conditional code.
19508 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
19509 <kernel-features.h>.
19510 [__ASSUME_32BITUIDS]: Make code unconditional.
19511 [!__ASSUME_32BITUIDS]: Remove conditional code.
19512 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
19513 <kernel-features.h>.
19514 [__ASSUME_32BITUIDS]: Make code unconditional.
19515 [!__ASSUME_32BITUIDS]: Remove conditional code.
19516 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
19517 <kernel-features.h>.
19518 [__ASSUME_32BITUIDS]: Make code unconditional.
19519 [!__ASSUME_32BITUIDS]: Remove conditional code.
19520 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
19521 <kernel-features.h>.
19522 [__ASSUME_32BITUIDS]: Make code unconditional.
19523 [!__ASSUME_32BITUIDS]: Remove conditional code.
19524 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
19525 <kernel-features.h>.
19526 [__ASSUME_32BITUIDS]: Make code unconditional.
19527 [!__ASSUME_32BITUIDS]: Remove conditional code.
19528 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
19529 <kernel-features.h>.
19530 [__ASSUME_32BITUIDS]: Make code unconditional.
19531 [!__ASSUME_32BITUIDS]: Remove conditional code.
19532 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
19533 <kernel-features.h>.
19534 [__ASSUME_32BITUIDS]: Make code unconditional.
19535 [!__ASSUME_32BITUIDS]: Remove conditional code.
19536 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
19537 <kernel-features.h>.
19538 [__ASSUME_32BITUIDS]: Make code unconditional.
19539 [!__ASSUME_32BITUIDS]: Remove conditional code.
19540 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19541 <kernel-features.h>.
19542 [__ASSUME_32BITUIDS]: Make code unconditional.
19543 [!__ASSUME_32BITUIDS]: Remove conditional code.
19544 * sysdeps/unix/sysv/linux/kernel-features.h
19545 (__ASSUME_SETRESUID_SYSCALL): Remove.
19546 (__ASSUME_SETRESGID_SYSCALL): Likewise.
19547 (__ASSUME_32BITUIDS): Likewise.
19548 (__ASSUME_LDT_WORKS): Likewise.
19549 (__ASSUME_O_DIRECTORY): Likewise.
19550 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
19551 architecture but not kernel version.
19552 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19553 (__ASSUME_MMAP2_SYSCALL): Likewise.
19554 (__ASSUME_STAT64_SYSCALL): Likewise.
19555 (__ASSUME_IPC64): Likewise.
19556 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
19557 <kernel-features.h>.
19558 [__ASSUME_32BITUIDS]: Make code unconditional.
19559 [!__ASSUME_32BITUIDS]: Remove conditional code.
19560 * sysdeps/unix/sysv/linux/opendir.c: Do not include
19561 <kernel-features.h>.
19562 [__ASSUME_O_DIRECTORY]: Make code unconditional.
19563 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
19564 132096]: Remove conditional code.
19565 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
19566 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19567 <kernel-features.h>.
19568 [__ASSUME_32BITUIDS]: Make code unconditional.
19569 [!__ASSUME_32BITUIDS]: Remove conditional code.
19570 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19571 <kernel-features.h>.
19572 [__ASSUME_32BITUIDS]: Make code unconditional.
19573 [!__ASSUME_32BITUIDS]: Remove conditional code.
19574 * sysdeps/unix/sysv/linux/setegid.c: Do not include
19575 <kernel-features.h>.
19576 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
19577 unconditional.
19578 (__setresgid): Do not declare.
19579 [__ASSUME_32BITUIDS]: Make code unconditional.
19580 [!__ASSUME_32BITUIDS]: Remove conditional code.
19581 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
19582 <kernel-features.h>.
19583 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
19584 unconditional.
19585 (__setresuid): Do not declare.
19586 [__ASSUME_32BITUIDS]: Make code unconditional.
19587 [!__ASSUME_32BITUIDS]: Remove conditional code.
19588 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19589 <kernel-features.h>.
19590 [__ASSUME_32BITUIDS]: Make code unconditional.
19591 [!__ASSUME_32BITUIDS]: Remove conditional code.
19592 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
19593 <kernel-features.h>.
19594 [__ASSUME_32BITUIDS]: Make code unconditional.
19595 [!__ASSUME_32BITUIDS]: Remove conditional code.
19596
a386f1cc
RH
195972012-05-25 Richard Henderson <rth@twiddle.net>
19598
19599 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
19600 dl_hwcap to ifunc resolver.
19601 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
19602 elf_ifunc_invoke.
19603 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
19604 dl_hwcap to ifunc resolver.
19605 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
19606
b6550497
JM
196072012-05-24 Joseph Myers <joseph@codesourcery.com>
19608
19609 [BZ #14153]
19610 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
19611 for |x| <= 2**-26, not 2**-57.
19612 * math/libm-test.inc (acos_test): Do not allow spurious underflow
19613 exception.
19614
b0bc23a1
JL
196152012-05-24 Jeff Law <law@redhat.com>
19616
19617 * stdio-common/Makefile (tests): Add bug25.
19618 * stdio-common/bug25.c: New test.
19619
347c92e9
L
196202012-05-24 H.J. Lu <hongjiu.lu@intel.com>
19621
19622 [BZ #13576]
19623 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
19624 multiple of MALLOC_ALIGNMENT in size.
19625 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
19626
6bcc8b3f
JM
196272012-05-24 Joseph Myers <joseph@codesourcery.com>
19628
19629 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
19630 Require >= 256.
19631 (FILENAME_MAX): Use macro-int-constant.
19632 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
19633 (_IOFBF): Use macro-int-constant.
19634 (_IOLBF): Likewise.
19635 (_IONBF): Likewise.
19636 (SEEK_CUR): Likewise.
19637 (SEEK_END): Likewise.
19638 (SEEK_SET): Likewise.
19639 (TMP_MAX): Likewise.
19640 (EOF): Use macro-int-constant. Require < 0.
19641 (NULL): Use macro-constant. Require == 0.
19642 (stdin): Require type to be FILE *.
19643 (stdout): Likewise.
19644 (stderr): Likewise.
19645 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
19646 macro-int-constant.
19647 (EXIT_SUCCESS): Likewise.
19648 (NULL): Use macro-constant. Require == 0.
19649 (RAND_MAX): Use macro-int-constant.
19650 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
19651 [C99-based standards] (strtof): Require function.
19652 [C99-based standards] (strtold): Likewise.
19653 [C99-based standards] (strtoll): Likewise.
19654 [C99-based standards] (strtoull): Likewise.
19655 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19656 [ISO || ISO99 || ISO11] (limits.h): Likewise.
19657 [ISO || ISO99 || ISO11] (math.h): Likewise.
19658 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
19659 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19660 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19661
d18ea0c5
AS
196622012-05-24 Andreas Schwab <schwab@linux-m68k.org>
19663
19664 [BZ #14132]
56d25bb8
AS
19665 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
19666 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
19667 * intl/dgettext.c (DCGETTEXT): Likewise.
19668 * intl/gettext.c (DCGETTEXT): Likewise.
19669 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
19670 * posix/regex_internal.h (gettext): Likewise.
19671 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
19672 Remove declaration.
19673 * include/argz.h (__argz_count_internal)
19674 (__argz_stringify_internal): Remove declaration.
19675 (__argz_count, __argz_stringify): Declare hidden proto.
19676 * intl/dcgettext.c: Remove use of INTDEF.
19677 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
19678 * string/argz-stringify.c: Likewise.
19679 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19680 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19681 Declare hidden proto.
d18ea0c5
AS
19682 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19683 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19684 Declare hidden proto.
19685 * include/stdio.h (__asprintf_internal): Don't declare.
19686 (__asprintf): Don't define as macro. Declare hidden proto.
19687 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
19688 (__fsetlocking): Declare hidden proto.
19689 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
19690 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
19691 hidden proto.
19692 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
19693 (_IO_setlinebuf): Remove use of INTUSE.
19694 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
19695 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
19696 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
19697 Remove declaration.
19698 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
19699 (_IO_do_flush): Remove use of INTUSE.
19700 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
19701 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
19702 (_IO_adjust_column, _IO_least_wmarker)
19703 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
19704 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
19705 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
19706 (_IO_default_doallocate, _IO_wdefault_doallocate)
19707 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
19708 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
19709 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
19710 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
19711 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
19712 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
19713 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
19714 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
19715 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
19716 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
19717 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
19718 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
19719 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
19720 proto.
19721 (_IO_flush_all_internal, _IO_adjust_column_internal)
19722 (_IO_default_uflow_internal, _IO_default_finish_internal)
19723 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
19724 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
19725 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
19726 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
19727 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
19728 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
19729 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
19730 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
19731 (_IO_file_close_internal, _IO_file_close_it_internal)
19732 (_IO_file_underflow_internal, _IO_file_overflow_internal)
19733 (_IO_file_init_internal, _IO_file_attach_internal)
19734 (_IO_file_fopen_internal, _IO_file_read_internal)
19735 (_IO_file_sync_internal, _IO_file_seek_internal)
19736 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
19737 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
19738 (_IO_str_underflow_internal, _IO_str_overflow_internal)
19739 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
19740 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
19741 (_IO_list_all_internal, _IO_link_in_internal)
19742 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
19743 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
19744 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
19745 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
19746 (_IO_do_write_internal, _IO_padn_internal)
19747 (_IO_getline_info_internal, _IO_getline_internal)
19748 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
19749 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
19750 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
19751 (_IO_vfscanf_internal, _IO_vfprintf_internal)
19752 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
19753 (_IO_init_internal, _IO_un_link_internal): Don't declare.
19754 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
19755 with libc_hidden_ver, remove use of INTUSE.
19756 * libio/genops.c: Likewise.
19757 * libio/freopen.c: Likewise.
19758 * libio/freopen64.c: Likewise.
19759 * libio/iofclose.c: Likewise.
19760 * libio/iofdopen.c: Likewise.
19761 * libio/iofflush.c: Likewise.
19762 * libio/iofflush_u.c: Likewise.
19763 * libio/iofgets.c: Likewise.
19764 * libio/iofgets_u.c: Likewise.
19765 * libio/iofopen.c: Likewise.
19766 * libio/iofopncook.c: Likewise.
19767 * libio/iofread.c: Likewise.
19768 * libio/iofread_u.c: Likewise.
19769 * libio/ioftell.c: Likewise.
19770 * libio/iofwrite.c: Likewise.
19771 * libio/iogetline.c: Likewise.
19772 * libio/iogets.c: Likewise.
19773 * libio/iogetwline.c: Likewise.
19774 * libio/iopadn.c: Likewise.
19775 * libio/iopopen.c: Likewise.
19776 * libio/ioseekoff.c: Likewise.
19777 * libio/ioseekpos.c: Likewise.
19778 * libio/iosetbuffer.c: Likewise.
19779 * libio/iosetvbuf.c: Likewise.
19780 * libio/ioungetc.c: Likewise.
19781 * libio/ioungetwc.c: Likewise.
19782 * libio/iovdprintf.c: Likewise.
19783 * libio/iovsprintf.c: Likewise.
19784 * libio/iovsscanf.c: Likewise.
19785 * libio/memstream.c: Likewise.
19786 * libio/obprintf.c: Likewise.
19787 * libio/oldfileops.c: Likewise.
19788 * libio/oldiofclose.c: Likewise.
19789 * libio/oldiofdopen.c: Likewise.
19790 * libio/oldiofopen.c: Likewise.
19791 * libio/oldiopopen.c: Likewise.
19792 * libio/oldstdfiles.c: Likewise.
19793 * libio/putc.c: Likewise.
19794 * libio/setbuf.c: Likewise.
19795 * libio/setlinebuf.c: Likewise.
19796 * libio/stdfiles.c: Likewise.
19797 * libio/strops.c: Likewise.
19798 * libio/vasprintf.c: Likewise.
19799 * libio/vscanf.c: Likewise.
19800 * libio/vsnprintf.c: Likewise.
19801 * libio/vswprintf.c: Likewise.
19802 * libio/wfiledoalloc.c: Likewise.
19803 * libio/wfileops.c: Likewise.
19804 * libio/wgenops.c: Likewise.
19805 * libio/wmemstream.c: Likewise.
19806 * libio/wstrops.c: Likewise.
19807 * libio/__fpurge.c: Likewise.
19808 * libio/__fsetlocking.c: Likewise.
19809 * assert/assert.c: Likewise.
19810 * debug/fgets_chk.c: Likewise.
19811 * debug/fgets_u_chk.c: Likewise.
19812 * debug/fread_chk.c: Likewise.
19813 * debug/fread_u_chk.c: Likewise.
19814 * debug/gets_chk.c: Likewise.
19815 * debug/obprintf_chk.c: Likewise.
19816 * debug/vasprintf_chk.c: Likewise.
19817 * debug/vdprintf_chk.c: Likewise.
19818 * debug/vsnprintf_chk.c: Likewise.
19819 * debug/vsprintf_chk.c: Likewise.
19820 * malloc/mtrace.c: Likewise.
19821 * misc/error.c: Likewise.
19822 * misc/syslog.c: Likewise.
19823 * stdio-common/asprintf.c: Likewise.
19824 * stdio-common/fxprintf.c: Likewise.
19825 * stdio-common/getw.c: Likewise.
19826 * stdio-common/isoc99_fscanf.c: Likewise.
19827 * stdio-common/isoc99_scanf.c: Likewise.
19828 * stdio-common/isoc99_vfscanf.c: Likewise.
19829 * stdio-common/isoc99_vscanf.c: Likewise.
19830 * stdio-common/isoc99_vsscanf.c: Likewise.
19831 * stdio-common/printf-prs.c: Likewise.
19832 * stdio-common/printf_fp.c: Likewise.
19833 * stdio-common/printf_fphex.c: Likewise.
19834 * stdio-common/printf_size.c: Likewise.
19835 * stdio-common/putw.c: Likewise.
19836 * stdio-common/scanf.c: Likewise.
19837 * stdio-common/sprintf.c: Likewise.
19838 * stdio-common/tmpfile.c: Likewise.
19839 * stdio-common/vfprintf.c: Likewise.
19840 * stdio-common/vfscanf.c: Likewise.
19841 * stdlib/strfmon_l.c: Likewise.
19842 * sunrpc/openchild.c: Likewise.
19843 * sunrpc/xdr_stdio.c: Likewise.
19844 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
19845 * sysdeps/mach/hurd/tmpfile.c: Likewise.
19846
d6c33fda
RM
198472012-05-24 Roland McGrath <roland@hack.frob.com>
19848
c1487492
RM
19849 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19850
19851 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
19852 in the third column, to generate for the shared library an IFUNC
19853 that uses _dl_vdso_vsym.
19854 * Makerules (COMPILE.c, compile-stdin.c): New variables.
19855 * Makeconfig (object-suffixes-noshared): New variable.
19856
19857 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
19858 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
19859 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
19860 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
19861
d6c33fda
RM
19862 [BZ #14132]
19863 * include/sys/time.h (__gettimeofday): Remove macro.
19864 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
19865 * time/gettimeofday.c (__gettimeofday): Remove #undef.
19866 Remove INTDEF.
19867 (__gettimeofday): Add libc_hidden_def.
19868 (gettimeofday): Add libc_hidden_weak.
19869 * sysdeps/mach/gettimeofday.c: Likewise.
19870 * sysdeps/posix/gettimeofday.c: Likewise.
19871 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
19872 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
19873 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
19874 (__gettimeofday_internal): Remove strong_alias.
19875 (__gettimeofday): Add libc_hidden_def.
19876 (gettimeofday): Add libc_hidden_weak.
19877 * sysdeps/unix/syscalls.list (gettimeofday):
19878 Remove __gettimeofday_internal alias.
19879
b5a2bbe6
L
198802012-05-24 Daniel Jacobowitz <drow@false.org>
19881 H.J. Lu <hongjiu.lu@intel.com>
19882
19883 [BZ #12495]
19884 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
19885 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
19886 (largebin_index_32_big): New.
19887 (largebin_index): Use it for 16-byte alignment.
19888 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
19889 correction with front_misalign.
19890
cfba4fda
L
198912012-05-24 H.J. Lu <hongjiu.lu@intel.com>
19892
7f907421
L
19893 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
19894 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19895 Likewise.
19896 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
19897 Likewise.
19898 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19899 Likewise.
19900 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
19901 Likewise.
19902 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
19903 Likewise.
19904 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
19905 Likewise.
19906 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
19907 Likewise.
19908 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19909 Likewise.
19910 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
19911 Likewise.
19912 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
19913 Likewise.
19914 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
19915 Likewise.
19916 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
19917 Likewise.
19918
cfba4fda
L
19919 * scripts/data/c++-types-x32-linux-gnu.data: New file.
19920 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
19921
80bad0cc
JM
199222012-05-24 Joseph Myers <joseph@codesourcery.com>
19923
7a25eb06
JM
19924 [BZ #10846]
19925 [BZ #14036]
19926 * math/libm-test.inc (exp_test): Add test from bug 14036.
19927 (pow_test): Add test from bug 10846.
19928
795405f9
JM
19929 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
19930 and other flags.
19931 (special_function): Do not include flags in test name.
19932 (parse_args): Likewise.
19933 * sysdeps/i386/fpu/libm-test-ulps: Update.
19934 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19935 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19936 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19938
80bad0cc
JM
19939 * math/gen-libm-test.pl (%beautify): Add entries for underflow
19940 exceptions.
19941 * math/libm-test.inc ("Philosophy"): Update comment about
19942 exception testing.
19943 (UNDERFLOW_EXCEPTION): New macro.
19944 (UNDERFLOW_EXCEPTION_OK): Likewise.
19945 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
19946 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
19947 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
19948 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
19949 (INVALID_EXCEPTION_OK): Update value.
19950 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19951 (OVERFLOW_EXCEPTION_OK): Likewise.
19952 (IGNORE_ZERO_INF_SIGN): Likewise.
19953 (test_exceptions): Handle underflow exceptions.
19954 (acos_test): Update for underflow exception expectations.
19955 (cexp_test): Likewise.
19956 (clog_test): Likewise.
19957 (clog10_test): Likewise.
19958 (csqrt_test): Likewise.
19959 (ctan_test): Likewise.
19960 (ctanh_test): Likewise.
19961 (exp_test): Likewise.
19962 (exp10_test): Likewise.
19963 (exp2_test): Likewise.
19964 (expm1_test): Likewise.
19965 (fma_test): Likewise.
19966 (j0_test): Likewise.
19967 (jn_test): Likewise.
19968 (nexttoward_test): Likewise.
19969 (pow_test): Likewise.
19970 (scalbn_test): Likewise.
19971 (scalbln_test): Likewise.
19972 (tan_test): Likewise.
19973 (y1_test): Likewise.
19974 * sysdeps/i386/fpu/libm-test-ulps: Update.
19975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19976
9e0e3d0b
DM
199772012-05-23 David S. Miller <davem@davemloft.net>
19978
19979 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19980 (__libc_sigaction): Remove unused local variables.
19981
ccd0a08f
L
199822012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19983
19984 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
19985
62bdf9a6
PE
199862012-05-23 Paul Eggert <eggert@cs.ucla.edu>
19987
f8591f80
PE
19988 mktime: avoid signed integer overflow
19989 * time/mktime.c (__mktime_internal): Do not mishandle the case
19990 where diff == INT_MIN.
19991
94c7d826
PE
19992 mktime: simplify computation of average
19993 * time/mktime.c (ranged_convert): Use new time_t_avg function
19994 instead of rolling our own (probably-slower) code.
19995
ce73d683
PE
19996 mktime: do not assume signed right shift propagates sign bit
19997 * time/mktime.c (isdst_differ): New static function.
19998 (__mktime_internal): No need to normalize tm_isdst now.
19999 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
20000 tm_isdst values.
20001
72a22e59
PE
20002 mktime: merge another wrapv change from gnulib
20003 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
20004 from some compilers.
20005
68605433
PE
20006 mktime: remove incorrect attempt at unusual arithmetics
20007 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
20008 The code didn't really work on such machines anyway.
20009 (TYPE_MINIMUM): Assume two's complement.
20010 (twos_complement_arithmetic): Verify that long_int and time_t
20011 are two's complement (or unsigned, in the latter case).
20012
03cf7fe3
PE
20013 mktime: check signed shifts on long_int and time_t, too
20014 * time/mktime.c (SHR): Check that shifts work as desired
20015 on the types long_int and time_t too, as SHR is used on
20016 such types.
20017
f04dfbc2
PE
20018 mktime: do not assume 'long' is wide enough
20019 * time/mktime.c (verify): Move decl up.
20020 (long_int): New type.
20021 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
20022 to remove assumption in the code that 'long' is wide enough to
20023 store year values. This assumption is not true on x32 and on
20024 some non-glibc platforms.
20025
62bdf9a6
PE
20026 mktime: merge wrapv change from gnulib
20027 * time/mktime.c (WRAPV): New macro.
20028 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
20029 (guess_time_tm, __mktime_internal): Do not assume that signed
20030 integer overflow wraps around; modern compilers generate code
20031 where this assumption is no longer valid.
20032
5e292e4f
L
200332012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20034
20035 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20036 Replace "jmp L(pseudo_end)" with "ret".
20037 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
20038 Likewise.
20039
8caf8c87
AJ
200402012-05-23 Andreas Jaeger <aj@suse.de>
20041
20042 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
20043 * sysdeps/unix/sysv/linux/poll.c: Remove file.
20044
1a09dc56
AJ
200452012-05-23 Andreas Jaeger <aj@suse.de>
20046 Maximilian Attems <max@stro.at>
20047
20048 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
20049 New macros.
20050
1c87aba0
L
200512012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20052
20053 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
20054 code so that pseudo_end is just ret and the stack pointer is
20055 correct also for static library in error case.
20056
40e45bd5
JM
200572012-05-23 Joseph Myers <joseph@codesourcery.com>
20058
c2670533
JM
20059 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
20060 move to syscalls.list.
20061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
20062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
20063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
20064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
20065
40e45bd5
JM
20066 * manual/install.texi (Running make install): Do not mention Linux
20067 kernel version for which pt_chown is not needed.
20068 (Linux): Do not mention problems with nscd with 2.0 kernels.
20069 * INSTALL: Regenerated.
20070
be08eda5
AJ
200712012-05-23 Andreas Jaeger <aj@suse.de>
20072
20073 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
20074 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
20075 macro.
20076 * sysdeps/unix/sysv/linux/s390/bits/mman.h
20077 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20078 * sysdeps/unix/sysv/linux/sh/bits/mman.h
20079 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20080 * sysdeps/unix/sysv/linux/i386/bits/mman.h
20081 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20082 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
20083 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20084 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
20085 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20086 * sysdeps/unix/sysv/linux/bits/in.h
20087 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
20088
a6a056bb
RM
200892012-05-22 Roland McGrath <roland@hack.frob.com>
20090
20091 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
20092 (PREPARE_VERSION): Just use assert instead, it will be elided
20093 under [NDEBUG] anyway.
20094
c9009328
L
200952012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20096
20097 * sysdeps/unix/sysv/linux/Makefile: Include
20098 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 20099 (sysdep_routines): Remove sysctl.
c9009328
L
20100 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
20101 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
20102 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
20103 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
20104 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
20105
73338355
AJ
201062012-05-22 Andreas Jaeger <aj@suse.de>
20107
20108 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
20109 that pseudo_end is just ret and the stack pointer is correct also
20110 for static library in error case.
20111
d44638b0
PP
201122012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
20113
20114 [BZ #14122]
20115 * nss/nsswitch.c (defconfig_entries): New variable.
20116 (__nss_database_lookup): Don't leak defconfig entries.
20117 (nss_parse_service_list): Don't leak on error paths.
20118 (free_database_entries): New function.
20119 (free_defconfig): New function.
20120 (free_mem): Move common code to free_database_entries.
20121
31a39bd8
L
201222012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20123
da0331a8
L
20124 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
20125 Add arch_prctl.
20126 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
20127
31a39bd8
L
20128 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20129 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
20130 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
20131 New macro.
20132 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
20133 (INTERNAL_SYSCALL_TYPES): Likewise.
20134 (LOAD_ARGS_TYPES_[1-6]): Likewise.
20135 (LOAD_REGS_TYPES_[1-6]): Likewise.
20136 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
20137 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
20138
45470df3
AZ
201392012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20140
20141 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
20142 copysignl for GLIBC_2_0.
20143 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
20144 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
20145 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
20146 logbl for GLIBC_2_0.
20147 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
20148 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
20149
98a61bcb
L
201502012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20151
a4f6e481
L
20152 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
20153 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20154
f63d5db6
L
20155 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20156 Use "neg %eax".
20157
98a61bcb
L
20158 * time/mktime.c: Update copyright years.
20159
95770f14
PE
201602012-05-22 Paul Eggert <eggert@cs.ucla.edu>
20161
6226efbd
PE
20162 mktime: merge comment-quoting-style change from gnulib
20163 * time/mktime.c: Quote 'like this' in comments.
20164 The GNU coding standards suggest that we no longer quote `like this',
20165 as "`" and "'" are typically rendered asymmetrically nowadays.
20166 The typical gnulib style is to quote 'like this' when quoting
20167 code, and "like this" when quoting English.
20168
b99e4f78
PE
20169 * time/mktime.c (compile-command): Add "-I.".
20170
643e01e6
PE
20171 mktime: merge mktime-internal.h change from gnulib
20172 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
20173
2554247d
PE
20174 mktime: merge time_r change from gnulib
20175 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
20176
826dd0ab
PE
20177 mktime: merge DEBUG change from gnulib
20178 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
20179 case system <time.h> has a #define.
20180
bd83aabe
PE
20181 mktime: merge <sys/types.h> change from gnulib
20182 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
20183 since <time.t> is now guaranteed to define time_t.
20184
95770f14
PE
20185 mktime: merge HAVE_CONFIG_H change from gnulib
20186 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
20187
5e1a27a9
L
201882012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20189
0e44a77e
L
20190 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20191 Use "neg %eax".
20192
5e1a27a9
L
20193 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
20194 __rlim_t cast.
20195 (struct rusage): Use anonymous union to pad each field to
20196 __syscall_slong_t.
20197
46259bec
DM
201982012-05-21 David S. Miller <davem@davemloft.net>
20199
20200 * Makefules (o-iterator): Remove .s cases.
20201 (compile-command.s): Delete.
20202 (COMPILE.s): Delete.
20203 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
20204
59f0c22e
JM
202052012-05-21 Joseph Myers <joseph@codesourcery.com>
20206
20207 * configure.in (libc_cv_predef_stack_protector): Only consider
20208 "foobar" and "__stack_chk_fail" lines in libc_undefs.
20209 * configure: Regenerated.
20210
20c07380
L
202112012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20212
bbb3154b
L
20213 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20214 New macro. Use R*LP on int and pointer.
20215 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
20216 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
20217 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
20218 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
20219
20c07380
L
20220 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
20221 [__WORDSIZE_TIME64_COMPAT32] instead of
20222 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
20223 (struct utmp): Likewise.
20224 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
20225 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
20226 Renamed to ...
20227 (__WORDSIZE_TIME64_COMPAT32): This.
20228 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
20229 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
20230 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
20231 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
20232 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
20233 (__WORDSIZE_TIME64_COMPAT32): New macro.
20234
d8d1017e
AJ
202352012-05-21 Andreas Jaeger <aj@suse.de>
20236
20237 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
20238 only if [SHARED]. Add prototype for __wcschr_ia32.
20239
6c7fb145
RM
202402012-05-21 Roland McGrath <roland@hack.frob.com>
20241
20242 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
20243 of %rbp unmolested in the jmp_buf while mangling the low bits.
20244 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
20245 unmolested high bits of %rbp while demangling the low bits.
20246 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20247
66274218
AJ
202482012-05-21 Andreas Jaeger <aj@suse.de>
20249
07c58f8f
AJ
20250 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
20251 * sunrpc/svc_simple.c: Use it for registerrpc.
20252 * sunrpc/xcrypt.c: Use it for passwd2des.
20253
66274218
AJ
20254 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
20255
61f65140
L
202562012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20257
20258 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
20259 Don't define if [__SYSCALL_WORDSIZE != 32].
20260 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
20261 New macro.
20262
5fefb436
AJ
202632012-05-21 Bruno Haible <bruno@clisp.org>
20264 Andreas Jaeger <aj@suse.de>
20265
20266 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
20267 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
20268 inptr and inend for must_buffer_ch.
20269 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
20270 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
20271 * stdio-common/Makefile (tests): Remove bug15.
20272 (bug15-ENV): Remove macro.
20273 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
20274 anymore.
20275
d8e272ab
AJ
202762012-05-19 Andreas Jaeger <aj@suse.de>
20277 Roland McGrath <roland@hack.frob.com>
20278
20279 * manual/contrib.texi: Completely rewritten. It contains now an
20280 alphabetical list of contributors and their contributions.
20281
4a56a162
RH
202822012-05-21 Richard Henderson <rth@twiddle.net>
20283
20284 * misc/getauxval.c (__getauxval): Use unsigned long int.
20285 * misc/sys/auxv.h: Include <sys/cdefs.h>.
20286 (getauxval): Use unsigned long int.
20287
d024d23c
L
202882012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20289
20290 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20291
cbc00a03
RM
202922012-05-21 Roland McGrath <roland@hack.frob.com>
20293
20294 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
20295 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
20296 __alignof__ (long double).
20297
478143fa
AZ
202982012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20299
20300 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20301
c7683a6d
RH
203022012-05-20 Richard Henderson <rth@twiddle.net>
20303
20304 * misc/getauxval.c: New file.
20305 * misc/sys/auxv.h: New file.
20306 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
20307 (routines): Add getauxval.
20308 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
20309 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
20310 * elf/dl-sysdep.c (_dl_auxv): Remove.
20311 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
20312 * elf/dl-support.c (_dl_auxv): New variable.
20313 (_dl_aux_init): Initialize it.
20314 * manual/startup.texi (Auxiliary Vector): New node.
20315 * sysdeps/generic/bits/hwcap.h: New file.
20316 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
20317 * sysdeps/powerpc/sysdep.h: ... here. Include it.
20318 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
20319 * sysdeps/sparc/sysdep.h: ... here. Include it.
20320 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
20321 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
20322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20323 Update.
c7683a6d
RH
20324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
20325 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
20326 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
20327 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
20328 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20329 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20330 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
20331 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
20332
a6f1845d
AZ
203332012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20334
20335 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20336
cbcbe830
DM
203372012-05-19 David S. Miller <davem@davemloft.net>
20338
20339 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20340
e0b16cc2
JM
203412012-05-19 Joseph Myers <joseph@codesourcery.com>
20342
20343 [BZ #14123]
20344 * math/s_ccosh.c: Include <float.h>
20345 (__ccosh): Avoid internal overflow calculating sinh and cosh
20346 values before multiplying by sin and cos values.
20347 * math/s_ccoshf.c: Likewise.
20348 * math/s_ccoshl.c: Likewise.
20349 * math/s_csin.c: Likewise.
20350 * math/s_csinf.c: Likewise.
20351 * math/s_csinl.c: Likewise.
20352 * math/s_csinh.c: Likewise.
20353 * math/s_csinhf.c: Likewise.
20354 * math/s_csinhl.c: Likewise.
20355 * math/libm-test.inc (ccos_test): Add more tests.
20356 (ccosh_test): Likewise.
20357 (csin_test): Likewise.
20358 (csinh_test): Likewise.
20359 * sysdeps/i386/fpu/libm-test-ulps: Update.
20360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20361
6ad13e08
L
203622012-05-19 H.J. Lu <hongjiu.lu@intel.com>
20363
f66f0ce8
L
20364 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
20365 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20366
6ad13e08
L
20367 * sysdeps/x86_64/x32/_itoa.h: Add comment.
20368
b1d072a7
JM
203692012-05-19 Joseph Myers <joseph@codesourcery.com>
20370
20371 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
20372 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
20373 * sysdeps/powerpc/soft-fp/Versions: Likewise.
20374 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
20375 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
20376 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
20377 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
20378 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
20379 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
20380 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
20381 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
20382 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
20383 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
20384 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
20385 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
20386 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
20387 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
20388 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
20389 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
20390 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
20391 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
20392 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
20393 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
20394 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
20395 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
20396 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
20397 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
20398 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
20399 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
20400 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
20401 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
20402
9eae47cb
AJ
204032012-05-18 Andreas Jaeger <aj@suse.de>
20404
20405 * csu/.gitignore: Delete.
20406
bb07f69f
L
204072012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20408
20409 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
20410 (timex): Use __syscall_slong_t.
20411
e6bdb741
AJ
204122012-05-18 Andreas Jaeger <aj@suse.de>
20413 Carlos O'Donell <carlos_odonell@mentor.com>
20414
20415 * manual/install.texi (Configuring and compiling): Update
20416 description about files modified in the source directory.
d6c33fda 20417 * INSTALL: Regenerated.
e6bdb741 20418
1b74487e
L
204192012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20420
20421 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
20422 value. Use "or" to set return value to -1.
20423 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
20424 negate return value.
20425
a88b64b9
TMQMF
204262012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20427
20428 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
20429 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
20430 failure if the compiler has Graphite support disabled.
20431 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
20432 Likewise.
20433 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
20434 CFLAGS-memmove.c): Likewise.
20435 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
20436 Likewise.
20437
3707636e
L
204382012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20439
610b8622
L
20440 * sysdeps/x86_64/x32/_itoa.h: New file.
20441
7cd195df
L
20442 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
20443 getdents system call only if kernel and user dirents have the
20444 same d_ino and d_off.
20445
94b07d20
L
20446 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20447 LLONG_MAX != LONG_MAX.
20448 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20449 (_fitoa_word): Likewise.
20450
18298070
L
20451 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
20452 years.
20453 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
20454 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
20455 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
20456
553c7ea4
L
20457 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
20458 include <bits/wordsize.h>. Check __x86_64__ instead of
20459 __WORDSIZE.
20460 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
20461 if __x86_64__ is defined. Use anonymous union on fpstate.
20462
3707636e
L
20463 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
20464 anonymous union.
20465
b53ef01a
AS
204662012-05-18 Andreas Schwab <schwab@linux-m68k.org>
20467
37fb1dc0
AS
20468 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
20469 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
20470 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
20471 Refer to _rtld_local_ro instead of _rtld_global_ro.
20472 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
20473 Likewise.
20474 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
20475 Likewise.
20476 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
20477 Likewise.
20478 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
20479 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
20480 of _rtld_global, and rtld_progname instead of _dl_argv[0].
20481
b53ef01a
AS
20482 * sysdeps/powerpc/powerpc32/dl-machine.c
20483 (__elf_machine_runtime_setup) [PROF]: Don't reference
20484 _dl_prof_resolve.
20485
7a185db2
AJ
204862012-05-18 Andreas Jaeger <aj@suse.de>
20487
20488 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
20489 function only available for GCCs before 3.4 since GCC 3.4
20490 introduced a builtin.
20491 (lrint): Likewise.
20492 (llrintf): Likewise.
20493 (llrint): Likewise.
20494 (fmaxf): Likewise.
20495 (fmax): Likewise.
20496 (fminf): Likewise.
20497 (fmin): Likewise.
20498 (rint): Likewise.
20499 (rintf): Likewise.
20500 (nearbyint): Likewise.
20501 (nearbyintf): Likewise.
20502 (ceil): Likewise.
20503 (ceilf): Likewise.
20504 (floor): Likewise.
20505 (floorf): Likewise.
20506
3e5aef87
L
205072012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20508
428bd707
L
20509 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
20510 on both fields and cast pointer to __syscall_ulong_t.
20511
3e5aef87
L
20512 * bits/types.h (__fsword_t): New type.
20513 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
20514 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
20515 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20516 (__FSWORD_T_TYPE): Likewise.
20517 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20518 (__FSWORD_T_TYPE): Likewise.
20519 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20520 (__FSWORD_T_TYPE): Likewise.
20521 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
20522 (__FSWORD_T_TYPE): Likewise.
20523 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
20524 __SWORD_TYPE with __fsword_t.
20525 (statfs64): Likewise.
20526
1ba7c3dc
DM
205272012-05-17 David S. Miller <davem@davemloft.net>
20528
20529 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
20530
59910343
AJ
205312012-05-17 Andreas Jaeger <aj@suse.de>
20532
20533 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
20534 warning.
20535
2e4c1e9e
L
205362012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20537
20538 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
20539
de7f5ce7
AJ
205402012-05-17 Andreas Jaeger <aj@suse.de>
20541
20542 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
20543 when it is used.
20544
286abc3d
CM
205452012-05-17 Chris Metcalf <cmetcalf@tilera.com>
20546
20547 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
20548
477cc68e
L
205492012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20550
20551 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
20552 * sysdeps/x86_64/tst-mallocalign1.c: New file.
20553
1a0994f5
CD
205542012-05-17 Andreas Jaeger <aj@suse.de>
20555 Carlos O'Donell <carlos_odonell@mentor.com>
20556
20557 [BZ #14059]
20558 * sysdeps/x86_64/multiarch/init-arch.h
20559 (bit_YMM_Usable): Rename to...
20560 (bit_AVX_Usable): ... this.
20561 (bit_FMA4_Usable): New macro.
20562 (bit_XMM_state): New macro.
20563 (bit_YMM_state): New macro.
20564 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
20565 [__ASSEMBLER__] (index_AVX_Usable): ... this.
20566 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
20567 (CPUID_OSXSAVE): New macro.
20568 (CPUID_AVX): New macro.
20569 (CPUID_FMA4): New macro.
20570 (index_YMM_Usable): Rename to...
20571 (index_AVX_Usable): ... this.
20572 (HAS_AVX): Use HAS_ARCH_FEATURE.
20573 (HAS_FMA4): Likewise.
20574 (HAS_YMM_USABLE): Remove.
20575 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20576 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
20577 are present.
20578 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
20579 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
20580 * sysdeps/x86_64/multiarch/Makefile: Likewise.
20581 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
20582 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
20583
0af797de
CM
205842012-05-17 Chris Metcalf <cmetcalf@tilera.com>
20585
20586 * math/libm-test.c: Support platforms without multiple rounding modes.
20587 * math/bug-nextafter.c: Support platforms without FP exceptions.
20588 * math/bug-nexttoward.c: Likewise.
20589 * math/test-fenv.c: Likewise.
20590 * math/test-misc.c: Likewise.
20591 * stdlib/bug-getcontext.c: Likewise.
20592
e39745ff
AJ
205932012-05-17 Andreas Jaeger <aj@suse.de>
20594
20595 * manual/examples/search.c (critter_cmp): Change signature to
20596 avoid warnings.
20597 * manual/string.texi (Collation Functions): Likewise.
20598
48970aba
L
205992012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20600
20601 * bits/types.h: Fold copyright years.
20602 * bits/typesizes.h: Likewise.
20603 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
20604 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20605 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
20606 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
20607 * time/time.h: Likewise.
20608
bedee953
PP
206092012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
20610
20611 [BZ #208]
20612 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
20613 in instead of returning them. Return void.
20614 (__libc_mallinfo): Accumulate over all arenas.
20615 (__malloc_stats): Adjust for change in int_mallinfo interface.
20616
61653dfb
RM
206172012-05-16 Roland McGrath <roland@hack.frob.com>
20618
30b99d79
RM
20619 [BZ #10375]
20620 * configure.in (NM): Add AC_CHECK_TOOL for it.
20621 (libc_extra_cflags): New substituted variable.
20622 Check for -fstack-protector being used implicitly.
20623 * configure: Regenerated.
20624 * config.make.in (config-extra-cflags): New variable,
20625 gets @libc_extra_cflags@.
20626 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
20627
61653dfb
RM
20628 [BZ #10375]
20629 * configure.in: Check for _FORTIFY_SOURCE being predefined.
20630 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
20631 * configure: Regenerated.
20632 * config.make.in (CPPUNDEFS): New substituted variable.
20633 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
20634 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
20635 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
20636
661768bb
L
206372012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20638
20639 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
20640 (mq_attr): Use __syscall_slong_t.
20641
d4261567
L
206422012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20643
20644 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
20645 Check __x86_64__ instead of __WORDSIZE.
20646 (_STAT_VER_LINUX): Likewise.
20647 (stat): Check __x86_64__ instead of __WORDSIZE. Use
20648 __syscall_ulong_t and __syscall_slong_t.
20649 (stat64): Likewise.
20650
cf3ff365
L
206512012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20652
20653 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
20654
76cf3e4d
L
206552012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20656
20657 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
20658
a637753a
L
206592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20660
20661 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
20662 __syscall_ulong_t.
20663
d5e05119
L
20664 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
20665 include <bits/wordsize.h>. Check __x86_64__ instead of
20666 __WORDSIZE.
20667 (greg_t): Use "__extension__ long long int" if __x86_64__ is
20668 defined.
20669 (mcontext_t): Replace "unsigned long" with "unsigned long long".
20670
f62ee380
L
20671 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
20672 include <bits/wordsize.h>. Check __x86_64__ instead of
20673 __WORDSIZE.
20674 (user_regs_struct): Use "__extension__ unsigned long long"
20675 instead of "unsigned long" if __x86_64__ is defined.
20676 (user): Likewise. Pad after pointer field if __ILP32__ is
20677 defined.
20678
4e124ced
JM
206792012-05-16 Joseph Myers <joseph@codesourcery.com>
20680
6a3951a0
JM
20681 * configure.in (makeinfo): Require version 4.5 or later. Allow
20682 versions 5 to 9.
20683 * configure: Regenerated.
20684 * manual/install.texi (texinfo): Increase version requirement to
20685 4.5 or later.
20686 * INSTALL: Regenerated.
20687
4e124ced
JM
20688 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
20689
953ca31a
L
206902012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20691
20692 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
20693
617aca05
L
20694 * sysdeps/x86_64/x32/ffs.c: New file.
20695
5762f7ae
L
20696 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
20697 __syscall_ulong_t.
20698 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
20699 defined. Use __syscall_ulong_t.
20700 (shminfo): Use __syscall_ulong_t.
20701 (shm_info): Likewise.
20702
a26b6856
L
20703 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
20704 __syscall_ulong_t.
20705
cb2b9ef7
L
20706 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
20707 <bits/wordsize.h>.
20708 (msgqnum_t): Use __syscall_ulong_t.
20709 (msglen_t): Likewise.
20710 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
20711 __syscall_ulong_t.
20712
34683bb0
L
20713 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
20714 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20715
84a68786
L
20716 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
20717
48baa5f1
L
20718 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
20719 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
20720
180be88b
L
20721 * sysvipc/sys/msg.h (msgbuf): Replace long int with
20722 __syscall_slong_t.
20723
5e90c8ad
L
20724 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
20725 include <bits/wordsize.h>. Check __x86_64__ instead of
20726 __WORDSIZE.
20727
23dfb58b
L
20728 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
20729 "unsigned long long int" if __x86_64__ is defined.
20730 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
20731
ce5d54b0
L
20732 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
20733 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20734 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
20735
13dc9eac
L
20736 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
20737 <stdint.h>.
20738 (GET_PC): Cast to uintptr_t first.
20739 (GET_FRAME): Likewise.
20740 (GET_STACK): Likewise.
20741
a7895d15
L
20742 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
20743 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
20744 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
20745 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
20746 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
20747 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
20748 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
20749 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
20750 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
20751 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
20752 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
20753 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
20754 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20755 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
20756 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
20757 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
20758 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
20759 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
20760 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
20761 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
20762 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
20763 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
20764 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
20765 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
20766 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
20767 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
20768 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
20769 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
20770 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
20771
656416c9
AS
207722012-05-16 Andreas Schwab <schwab@linux-m68k.org>
20773
5bd66283
AS
20774 * Makerules (+depfiles): Also collect depfiles from .oS in
20775 $(extra-objs).
20776 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
20777 .oS, $(libnldbl-routines)).
20778
656416c9
AS
20779 * Makerules (native-compile-mkdep-flags): Define.
20780 * sunrpc/Makefile (extra-objs): Add $(addprefix
20781 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
20782 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
20783 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
20784 calling $(make-target-directory).
20785
a46f2169
L
207862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20787
20788 * bits/types.h (__snseconds_t): Removed.
20789 * time/time.h (struct timespec): Replace __snseconds_t with
20790 __syscall_slong_t.
20791 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
20792 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
20793 Likewise.
20794 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20795 (__SNSECONDS_T_TYPE): Likewise.
20796 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20797 (__SNSECONDS_T_TYPE): Likewise.
20798 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20799 (__SNSECONDS_T_TYPE): Likewise.
20800
6af6528b
L
208012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20802
20803 * sysdeps/mach/hurd/bits/typesizes.h
20804 (__SYSCALL_SLONG_TYPE): New macro.
20805 (__SYSCALL_ULONG_TYPE): Likewise.
20806
de986b56
L
208072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20808
20809 * bits/types.h (__syscall_slong_t): New type.
20810 (__syscall_ulong_t): Likewise.
20811
20812 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
20813 (__SYSCALL_ULONG_TYPE): Likewise.
20814 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20815 (__SYSCALL_SLONG_TYPE): Likewise.
20816 (__SYSCALL_ULONG_TYPE): Likewise.
20817 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20818 (__SYSCALL_SLONG_TYPE): Likewise.
20819 (__SYSCALL_ULONG_TYPE): Likewise.
20820 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20821 (__SYSCALL_SLONG_TYPE): Likewise.
20822 (__SYSCALL_ULONG_TYPE): Likewise.
20823
85736dc7
L
208242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20825
20826 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
20827 Add sigaltstack-offsets.sym.
20828 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
20829 <sigaltstack-offsets.h>.
20830 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
20831 longjmp_msg pointer.
20832 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
20833 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
20834 signal stack.
20835 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
20836
cc03b296
JM
208372012-05-15 Joseph Myers <joseph@codesourcery.com>
20838
a9538892
JM
20839 * elf/stackguard-macros.h: Remove file.
20840 * sysdeps/generic/stackguard-macros.h: New file.
20841 * sysdeps/i386/stackguard-macros.h: Likewise.
20842 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20843 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20844 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20845 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20846 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20847 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20848 * sysdeps/x86_64/stackguard-macros.h: Likewise.
20849 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
20850 <elf/stackguard-macros.h>.
20851
cc03b296
JM
20852 [BZ #14109]
20853 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
20854 __aligned__ in attribute.
20855 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
20856 (gregset_t): Likewise.
20857
93171016
L
208582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20859
20860 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
20861 * sysdeps/x86_64/64/Implies-after: Here. New file.
20862 * sysdeps/x86_64/x32/Implies-after: New file.
20863
d86813a0
L
208642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20865
20866 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
20867 and access return value for _dl_profile_fixup. Use R10_LP to
20868 load frame size.
20869
2953ec75
L
208702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20871
20872 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
20873
3b550e9e
L
208742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20875
20876 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
20877 * sysdeps/x86_64/x32/sysdep.h: New file.
20878
eda41706
L
208792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20880
20881 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
20882 * sysdeps/x86_64/setjmp.S: Likewise.
20883
9ea01d93
AZ
208842012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20885
20886 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
20887 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
20888 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
20889 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
20890 remove unused global constant.
20891
02a91938
CM
208922012-05-15 Chris Metcalf <cmetcalf@tilera.com>
20893
20894 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
20895 include of <not-cancel.h>.
20896
6540185f
RM
208972012-05-15 Roland McGrath <roland@hack.frob.com>
20898
20899 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
20900
509072a0
AJ
209012012-05-15 Jeff Law <law@redhat.com>
20902 Andreas Jaeger <aj@suse.de>
20903
20904 [BZ #13594]
20905 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
20906 out from...
20907 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
20908 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
20909 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
20910 code changing __hst_map_handle.map.
20911
ba75122d
RM
209122012-05-15 Roland McGrath <roland@hack.frob.com>
20913
20914 * configure.in (sysnames): Look for Implies-before and Implies-after
20915 files.
20916 * configure: Regenerated.
20917
890d8bd8
L
209182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20919
20920 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
20921 8-byte data alignment with LP_SIZE alignment.
20922
f6ee6623
L
209232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20924
20925 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
20926 into R10_LP.
20927
ea2626f6
L
209282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20929
20930 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
20931
085f715e
L
209322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20933
20934 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
20935 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
20936 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
20937 Likewise.
20938 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20939
be8498fc
L
209402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20941
20942 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
20943 (stackinfo_sub_sp): Likewise.
20944
70bc83b9
L
209452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20946
20947 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
20948 RAX_LP.
20949
9bc0b730
L
209502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20951
20952 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
20953 into R*_LP.
20954
6d2850e7
L
209552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20956
20957 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
20958 sizes into R*_LP.
20959
3cb84561
L
209602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20961
20962 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
20963
54e2ed81
L
209642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20965
20966 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
20967 into R11_LP and load __x86_64_shared_cache_size_half into
20968 R8_LP.
20969
8a17f349
L
209702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20971
20972 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
20973 R8_LP.
20974
777b1eea
AZ
209752012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20976
20977 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
20978 logb for POWER7.
20979 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
20980 logbf for POWER7.
20981 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
20982 logbl for POWER7.
20983 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
20984 powerpc32/power7/fpu/s_logb.c via #include.
20985 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
20986 powerpc32/power7/fpu/s_logbf.c via #include.
20987 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
20988 powerpc32/power7/fpu/s_logbl.c via #include.
20989
d20d4ac2
JM
209902012-05-15 Joseph Myers <joseph@codesourcery.com>
20991
20992 * README.libm: Remove file.
20993
6cdef1ab
L
209942012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20995
20996 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
20997 count for x32. Use R*_LP and omit operand-size suffix.
20998
0b254d8f
L
209992012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21000
21001 * shlib-versions: Move x86_64-.*-linux.* entries to ...
21002 * sysdeps/x86_64/64/shlib-versions: Here. New file.
21003 * sysdeps/x86_64/x32/shlib-versions: New file.
21004
ceb809dc
RM
210052012-05-14 Roland McGrath <roland@hack.frob.com>
21006
21007 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
21008 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
21009 Use _dl_fatal_printf instead.
21010
37f1abd4
JM
210112012-05-14 Joseph Myers <joseph@codesourcery.com>
21012
21013 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
21014 set if not set by the user. Do not allow for being unset.
21015 * sysdeps/unix/sysv/linux/configure: Regenerated.
21016
11de3a33
L
210172012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21018
21019 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
21020 the `q' suffix from lea and replace .quad with ASM_ADDR.
21021
e02f153a
L
210222012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21023
21024 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
21025 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
21026 instead of $17.
21027 (PTR_DEMANGLE): Likewise.
21028
520ae0fd
L
210292012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21030
21031 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
21032 (LP_OP): Likewise.
21033 (ASM_ADDR): Likewise.
21034 (RAX_LP): Likewise.
21035 (RBP_LP): Likewise.
21036 (RBX_LP): Likewise.
21037 (RCX_LP): Likewise.
21038 (RDI_LP): Likewise.
21039 (RSI_LP): Likewise.
21040 (RSP_LP): Likewise.
21041 (R8_LP): Likewise.
21042 (R9_LP): Likewise.
21043 (R10_LP): Likewise.
21044 (R10_LP): Likewise.
21045 (R11_LP): Likewise.
21046 (R12_LP): Likewise.
21047 (R13_LP): Likewise.
21048 (R14_LP): Likewise.
21049 (R15_LP): Likewise.
21050
b985be81
L
210512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21052
21053 * sysdeps/x86_64/x32/dl-machine.h: New file.
21054
6a4888ff
AJ
210552012-05-14 Andreas Jaeger <aj@suse.de>
21056
21057 * manual/Makefile (subdir): Remove export of subdir.
21058 (all): Remove target.
21059 (.PHONY): Remove all from list.
21060 (mkinstalldirs): Remove.
21061 (.PHONY): Remove installdirs from list.
21062 ($(inst_infodir)/libc.info): Use make-target-directory.
21063 (installdirs): Remove.
21064 (subdir_%): Remove.
21065 (glibc-targets): Remove.
21066 (lib): Remove.
21067 (stubs): Remove.
21068 ($(objpfx)stubs ../po/manual.pot): Remove.
21069 ($(objpfx)stamp%): Remove.
21070 (make-target-directory): Remove.
21071 (subdir_install): Remove.
21072 (routines): Remove.
21073 (aux): Remove.
21074 (sources): Remove.
21075 (objects): Remove.
21076 (headers): Remove.
21077
21078 [BZ #13750]
21079 * manual/.gitignore: Remove, it's not needed anymore.
21080 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
21081 all files in it.
21082 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
21083 directory.
21084 (texis): Renamed to $(objpfx)texis.
21085 (texis-path): New, contains path to generated files.
21086 (chapters.%): Use texis-path for complete path, add extra argument
21087 libc-texinfo.sh.
21088 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
21089 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
21090 (summary,texi, stamp-summary): Use complete path of
21091 files. Generate files in build dir.
21092 (dir-add.texi): Build in build dir.
21093 (libm-err.texi,stamp-libm-err): Likewise.
21094 (version.texi, stamp-version): Likewise.
21095 (.%c.texi): Likewise.
21096 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
21097 (mostlyclean): Remove target.
21098 (realclean): Remove target.
21099 (generated): Add new variable with contents from mostlyclean and
21100 realclean, remove entries duplicated in common-mostlyclean, add
21101 stamp-libm-err and stamp-version.
21102 (generated-dirs): Add libc directory.
21103 ($(inst_infodir)/libc.info): Install files from build dir.
21104
21105 * manual/install.texi (Configuring and compiling): Adjust since
21106 the info files are not part of the tar ball anymore.
21107
7ac77294
AJ
211082012-05-14 Andreas Jaeger <aj@suse.de>
21109
21110 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
21111 variable.
21112
ffb7875d
JM
211132012-05-14 Joseph Myers <joseph@codesourcery.com>
21114
21115 [BZ #13717]
21116 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21117 to 2.2.0 where earlier.
21118 * sysdeps/unix/sysv/linux/configure: Regenerated.
21119 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
21120 Remove conditional code.
21121 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
21122 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
21123 Remove conditional code.
21124 [!__NR_lchown]: Likewise.
21125 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21126 [__NR_lchown]: Likewise.
21127 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
21128 comment referencing __ASSUME_LCHOWN_SYSCALL.
21129 * sysdeps/unix/sysv/linux/i386/sigaction.c
21130 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21131 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21132 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
21133 Remove conditional code.
21134 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
21135 (__protocol_available): Remove #if 0 code.
21136 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
21137 conditional code.
21138 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
21139 * sysdeps/unix/sysv/linux/kernel-features.h
21140 (__ASSUME_GETCWD_SYSCALL): Don't define.
21141 (__ASSUME_REALTIME_SIGNALS): Likewise.
21142 (__ASSUME_PREAD_SYSCALL): Likewise.
21143 (__ASSUME_PWRITE_SYSCALL): Likewise.
21144 (__ASSUME_POLL_SYSCALL): Likewise.
21145 (__ASSUME_LCHOWN_SYSCALL): Likewise.
21146 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
21147 non-SPARC.
21148 (__ASSUME_SIOCGIFNAME): Don't define.
21149 (__ASSUME_MSG_NOSIGNAL): Likewise.
21150 (__ASSUME_SENDFILE): Define unconditionally.
21151 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
21152 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
21153 conditional code.
21154 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
21155 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
21156 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21157 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21158 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
21159 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21160 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
21162 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21163 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
21165 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21166 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
21168 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21169 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
21171 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21172 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
21174 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21175 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
21177 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21178 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
21180 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21181 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
21183 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21184 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21185 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
21186 Remove conditional code.
21187 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21188 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21189 Remove conditional code.
21190 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21191 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
21192 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
21193 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21194 Remove conditional code.
21195 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21196 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
21197 Remove conditional code.
21198 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21199 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
21200 Remove conditional code.
21201 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21202 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21203 Remove conditional code.
21204 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21205 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21206 Remove conditional code.
21207 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21208 * sysdeps/unix/sysv/linux/sh/pwrite64.c
21209 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21210 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21211 * sysdeps/unix/sysv/linux/sigaction.c
21212 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21213 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21214 * sysdeps/unix/sysv/linux/sigpending.c
21215 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21216 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21217 * sysdeps/unix/sysv/linux/sigprocmask.c
21218 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21219 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21220 * sysdeps/unix/sysv/linux/sigsuspend.c
21221 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21222 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21223 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21224 (__libc_missing_rt_sigs): Remove.
21225 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
21226 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
21227 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
21228 Remove conditional code.
21229 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
21230 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
21231 return 1.
21232 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
21233 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
21234 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
21235 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
21236
1bfb7291
AJ
212372012-05-14 Andreas Jaeger <aj@suse.de>
21238
caae5a81
AJ
21239 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
21240 it's not used in glibc.
21241 (__coshm1): Likewise.
21242 (__acosh1p): Likewise.
21243 (__sgn): Likewise.
21244
1bfb7291
AJ
21245 * manual/string.texi (Copying and Concatenation): Add missing
21246 variable in concat example.
21247 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
21248
c044d724
L
212492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21250
144c5467 21251 [BZ #14103]
c044d724
L
21252 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
21253 __builtin_clzl with __builtin_clzll.
21254
2523c62b
L
212552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21256
21257 [BZ #14104]
21258 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
21259 libc_freeres_ptr.
21260
d7bb4c42
LD
212612012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21262
21263 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
21264 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
21265 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
21266 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
21267
9dc4e1fb
MF
212682012-05-14 Mike Frysinger <vapier@gentoo.org>
21269
21270 * NEWS: Update ia64 info.
21271
c7df0112
AS
212722012-05-12 Andreas Schwab <schwab@linux-m68k.org>
21273
21274 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
21275 used as bcopy.
21276
dc70356c
TS
212772012-05-12 Thomas Schwinge <thomas@codesourcery.com>
21278
21279 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
21280 * sysdeps/unix/syscalls.list (dup3): Likewise.
21281 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
21282 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
21283
9fb1a21f
L
212842012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21285
21286 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
21287 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
21288
4822a2a5
L
212892012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21290
21291 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
21292 thread pointer.
21293 (TLS_IE): Use mov/add instead of movq/addq to load thread
21294 pointer.
21295 (TLS_GD_PREFIX): New.
21296 (TLS_GD): Use it.
21297
842b81d6
DM
212982012-05-11 David S. Miller <davem@davemloft.net>
21299
21300 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
21301 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
21302 (_FPU_SETCW): Likewise.
21303
1cf463cd
L
213042012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21305
21306 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
21307 is 32-byte aligned.
21308
60cc4a18
AS
213092012-05-11 Andreas Schwab <schwab@linux-m68k.org>
21310
21311 [BZ #11837]
21312 * iconvdata/gb18030.c: Update tables.
21313 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
21314 characters specially.
21315 (BODY for TO_LOOP): Add encoding of missing ranges.
21316
febb44a4
TS
213172012-05-11 Thomas Schwinge <thomas@codesourcery.com>
21318
21319 [BZ #13673]
21320 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
21321 * sysdeps/mach/hurd/dup3.c: Likewise.
21322 * sysdeps/mach/hurd/readlinkat.c: Likewise.
21323 * sysdeps/powerpc/memmove.c:: Likewise.
21324
0a10fb9e
L
213252012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21326
21327 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
21328 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
21329
df8a552f
L
213302012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21331
21332 * elf/elf.h (R_X86_64_RELATIVE64): New.
21333 (R_X86_64_NUM): Updated.
21334 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21335 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
21336 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
21337 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
21338 tst-quad1pie tst-quad2pie
21339 (modules-names): Add tst-quadmod1 tst-quadmod2.
21340 ($(objpfx)tst-quad1): New dependency.
21341 ($(objpfx)tst-quad2): Likewise.
21342 ($(objpfx)tst-quad1pie): Likewise.
21343 ($(objpfx)tst-quad2pie): Likewise.
21344 * sysdeps/x86_64/tst-quad1.c: New file.
21345 * sysdeps/x86_64/tst-quad1pie.c: New file.
21346 * sysdeps/x86_64/tst-quad2.c: Likewise.
21347 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
21348 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
21349 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
21350 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
21351 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
21352
f34d6f84
ST
213532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21354
f42d41d1
ST
21355 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
21356 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
21357 * streams/stropts.h (t_scalar_t): Define type.
21358
3c3571fc
ST
21359 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
21360 (_PATH_PRESERVE): Set to "/var/lib".
21361 (_PATH_RWHODIR): Set to "/var/spool/rwho".
21362
61f06bd3
ST
21363 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
21364 instead of int.
21365
918d4d71
ST
21366 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
21367 if __dir_mkfile succeeded.
21368
f34d6f84
ST
21369 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
21370 checking for _hurd_dtablesize. Unlock it right after having
21371 finished _hurd_dtable allocation.
21372
10589b4a
TS
213732012-05-10 Thomas Schwinge <thomas@schwinge.name>
21374
674cdbc7
TS
21375 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
21376 * sysdeps/mach/hurd/configure: Regenerated.
21377 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
21378 special-casing to...
21379 * sysdeps/gnu/configure.in: ... this new file.
21380 * sysdeps/unix/sysv/linux/configure: Regenerated.
21381 * sysdeps/gnu/configure: New generated file.
21382
8e41b99f
TS
21383 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
21384 for Linux: use nsec instead of usec, as well as:
21385 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
21386 members of type struct timespec.
21387 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
21388 New macros.
21389 (struct stat64): Likewise.
21390 (_STATBUF_ST_NSEC): New macro.
21391 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
21392
10589b4a
TS
21393 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21394 __strtoul_internal rather than strtoul.
21395
63643c85
PT
213962012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21397
21398 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
21399 and reject them.
21400
3faebe6a
ST
214012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21402
21403 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
21404 which preserves existing values.
21405 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
21406
c6474b07
PT
214072012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21408
21409 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
21410 TIMEOUT values. Return EINVAL for NFDS values either negative or
21411 greater than FD_SETSIZE.
21412
1043890b
ST
214132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21414
21415 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
21416 allocated, call __vm_protect to finish enabling the existing space, and
21417 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
21418 allocate the remainder.
21419
37ed8b9b
PT
214202012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21421
21422 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
21423 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
21424
db653660
ST
214252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21426
37ed8b9b
PT
21427 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
21428 sysdeps/mach/hurd/readlink.c.
b29d4053 21429
db653660
ST
21430 * posix/tst-sysconf.c (posix_options): Only use
21431 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
21432 _POSIX_SYNCHRONIZED_IO when they are defined
21433 * sysdeps/mach/hurd/bits/posix_opt.h:
21434 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
21435 (_XOPEN_REALTIME): Undefine macro.
21436 (_XOPEN_REALTIME_THREADS): Undefine macro.
21437 (_XOPEN_SHM): Undefine macro.
21438 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
21439 macro to -1.
21440 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
21441 macro to -1.
21442 (_POSIX_ASYNC_IO): Undefine macro.
21443 (_POSIX_PRIORITIZED_IO): Undefine macro.
21444 (_POSIX_SPIN_LOCKS): Define macro to -1.
21445
ee16e894
ST
21446 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
21447 SA_NODEFER, SA_RESETHAND.
21448 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
21449 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
21450 F_DUPFD_CLOEXEC.
21451
6103ae3b
TS
214522012-05-10 Thomas Schwinge <thomas@schwinge.name>
21453
21454 * elf/Makefile (pldd-modules): Define unconditionally.
21455
80b4e5f3
TS
214562012-05-10 Thomas Schwinge <thomas@schwinge.name>
21457
21458 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
21459
edadcbd6
ST
214602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21461
21462 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
21463 Return ENOENT when name is empty.
21464 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
21465
80694780
TS
214662012-05-10 Thomas Schwinge <thomas@schwinge.name>
21467
1792c087
TS
21468 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
21469
80694780
TS
21470 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
21471
6b645f0d
ST
214722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21473
80694780
TS
21474 Fix mlock in all cases except non-readable pages.
21475 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
21476 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 21477
6b645f0d
ST
21478 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
21479 (__mkdir): When path is `/', just fail with EEXIST.
21480 * sysdeps/mach/hurd/mkdirat.c: Likewise.
21481
e468f8a3
TS
214822012-05-10 Thomas Schwinge <thomas@schwinge.name>
21483
21484 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
21485 <sys/uio.h> (for writev).
21486 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
21487 and <sys/param.h> (for MIN).
21488
a4186cff
PT
214892012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21490
21491 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
21492 REQUESTED_TIME. Properly set the remaining time and return EINTR
21493 if interrupted.
21494
510bbf14
TS
214952012-05-10 Thomas Schwinge <thomas@schwinge.name>
21496
21497 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
21498 Depend on against $(link-rpcuserlibs).
21499
5d5722e8
ST
215002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21501
a4186cff
PT
21502 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
21503 (__libc_stack_end): Do not use attribute_relro.
21504 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
21505 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 21506 to libthread-provided value.
a4186cff
PT
21507 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
21508 attribute_relro.
5d5722e8 21509
37233df9
TS
215102012-05-10 Thomas Schwinge <thomas@schwinge.name>
21511
be971a2b
TS
21512 [BZ #3748]
21513 * bits/libc-lock.h (__libc_once_get): New macro.
21514 * sysdeps/mach/bits/libc-lock.h: Likewise.
21515 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
21516 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
21517 instead of using implementation details.
21518
37233df9
TS
21519 * libio/fileops.c: Unconditionally include <kernel-features.h>.
21520 * libio/freopen.c: Likewise.
21521 * libio/freopen64.c: Likewise.
21522 * misc/syslog.c: Likewise.
21523 * nscd/connections.c: Likewise.
21524 * nscd/netgroupcache.c: Likewise.
21525 * sysdeps/posix/getcwd.c: Likewise.
21526
38de94a5
RM
215272012-05-10 Roland McGrath <roland@hack.frob.com>
21528
21529 * math/w_ilogbf.c: Add #include <limits.h>.
21530
67530489
ST
215312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21532
a4186cff 21533 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
21534 path instead of returning without unlocking.
21535
67530489
ST
21536 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
21537 immediate-write ioctls.
21538 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
21539
5aa3a74a
TS
215402012-05-10 Thomas Schwinge <thomas@schwinge.name>
21541
18bad2ae
TS
21542 * sysdeps/mach/hurd/i386/init-first.c (init): Use
21543 __builtin_frame_address instead of making assumptions about the
21544 location of the return address relative to DATA. Force early load of
21545 the return address.
21546 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
21547 __builtin_frame_address.
21548
5aa3a74a
TS
21549 dup3 for GNU Hurd.
21550 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
21551 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
21552 implement dup3 and do some further code clean-ups.
21553 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
21554 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
21555
ecd0de9a
ST
215562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21557
cd9fa985
ST
21558 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
21559
a4186cff
PT
21560 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
21561 HURD_CRITICAL_END around holding _hurd_dtable_lock.
21562 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
21563 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
21564 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
21565 d->port.lock.
802ca5a5 21566
a4186cff
PT
21567 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
21568 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
21569 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 21570
bcf55240
TS
215712012-05-10 Thomas Schwinge <thomas@schwinge.name>
21572
6960eb42
TS
21573 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
21574 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
21575 definitions.
21576
eb43375f
TS
21577 accept4 for GNU Hurd.
21578 * include/sys/socket.h (__libc_accept4): New prototype.
21579 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
21580 to implement __libc_accept4.
21581 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
21582 __libc_accept4.
21583 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
21584
bcf55240
TS
21585 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
21586 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
21587 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
21588 signal-defines.sym.
21589
6178c55b
ST
215902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21591
a4186cff 21592 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 21593
6f080c2f
TS
215942012-05-10 Thomas Schwinge <thomas@schwinge.name>
21595
21596 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
21597 assertion on O_CLOEXEC flag.
21598 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
21599 * hurd/intern-fd.c: Likewise.
21600 * hurd/port2fd.c: Likewise.
21601
bcfe3a54
ST
216022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21603
21604 [BZ #3906]
21605 * bits/in.h (IPV6_PKTINFO): Define new macro.
21606 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
21607
89c9aa49
AZ
216082012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21609
21610 [BZ #13954]
21611 [BZ #13955]
21612 [BZ #13956]
21613 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
21614 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21615 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
21616 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21617 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21618 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21619 * math/libm-test.inc (logb_test) : Additional logb tests.
21620
021db4be
AJ
216212012-05-09 Andreas Schwab <schwab@linux-m68k.org>
21622 Andreas Jaeger <aj@suse.de>
21623
21624 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
21625 * configure: Regenerated.
21626 * config.h.in (LINK_OBSOLETE_RPC): New macro.
21627 * config.make.in (link-obsolete-rpc): New substituted variable.
21628 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
21629 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
21630 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21631 (shared-only-routines): Don't set it under [link-obsolete-rpc],
21632 so that libc.a contains the symbols.
21633 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21634 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
21635 * sunrpc/auth_none.c: Likewise.
21636 * sunrpc/auth_unix.c: Likewise.
21637 * sunrpc/authdes_prot.c: Likewise.
21638 * sunrpc/authuxprot.c: Likewise.
21639 * sunrpc/clnt_gen.c: Likewise.
21640 * sunrpc/clnt_perr.c: Likewise.
21641 * sunrpc/clnt_raw.c: Likewise.
21642 * sunrpc/clnt_simp.c: Likewise.
21643 * sunrpc/clnt_tcp.c: Likewise.
21644 * sunrpc/clnt_udp.c: Likewise.
21645 * sunrpc/clnt_unix.c: Likewise.
21646 * sunrpc/des_crypt.c: Likewise.
21647 * sunrpc/des_soft.c: Likewise.
21648 * sunrpc/get_myaddr.c: Likewise.
21649 * sunrpc/key_call.c: Likewise.
21650 * sunrpc/key_prot.c: Likewise.
21651 * sunrpc/netname.c: Likewise.
21652 * sunrpc/pm_getmaps.c: Likewise.
21653 * sunrpc/pm_getport.c: Likewise.
21654 * sunrpc/pmap_clnt.c: Likewise.
21655 * sunrpc/pmap_prot.c: Likewise.
21656 * sunrpc/pmap_prot2.c: Likewise.
21657 * sunrpc/pmap_rmt.c: Likewise.
21658 * sunrpc/publickey.c: Likewise.
21659 * sunrpc/rpc_cmsg.c: Likewise.
21660 * sunrpc/rpc_common.c: Likewise.
21661 * sunrpc/rpc_dtable.c: Likewise.
21662 * sunrpc/rpc_prot.c: Likewise.
21663 * sunrpc/rpc_thread.c: Likewise.
21664 * sunrpc/rtime.c: Likewise.
21665 * sunrpc/svc.c: Likewise.
21666 * sunrpc/svc_auth.c: Likewise.
21667 * sunrpc/svc_raw.c: Likewise.
21668 * sunrpc/svc_run.c: Likewise.
21669 * sunrpc/svc_tcp.c: Likewise.
21670 * sunrpc/svc_udp.c: Likewise.
21671 * sunrpc/svc_unix.c: Likewise.
21672 * sunrpc/svcauth_des.c: Likewise.
21673 * sunrpc/xcrypt.c: Likewise.
21674 * sunrpc/xdr.c: Likewise.
21675 * sunrpc/xdr_array.c: Likewise.
21676 * sunrpc/xdr_float.c: Likewise.
21677 * sunrpc/xdr_intXX_t.c: Likewise.
21678 * sunrpc/xdr_mem.c: Likewise.
21679 * sunrpc/xdr_rec.c: Likewise.
21680 * sunrpc/xdr_ref.c: Likewise.
21681 * sunrpc/xdr_sizeof.c: Likewise.
21682 * sunrpc/xdr_stdio.c: Likewise.
21683
b5c086a2
RM
216842012-05-10 Roland McGrath <roland@hack.frob.com>
21685
21686 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
21687 change. Update copyright years.
21688
6d74dd09
JM
216892012-05-10 Joseph Myers <joseph@codesourcery.com>
21690
21691 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
21692
28e72501
MK
216932012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
21694 Joseph Myers <joseph@codesourcery.com>
21695 Paul Pluzhnikov <ppluzhnikov@google.com>
21696
21697 [BZ #14012]
21698 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
21699 requiring rpcgen.
21700 [cross-compiling] (extra-libs): Likewise.
21701 [cross-compiling] (extra-libs-others): Likewise.
21702 [cross-compiling] (librpcsvc-routines): Likewise.
21703 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
21704 [cross-compiling] (omit-deps): Likewise.
21705 (sunrpc-CPPFLAGS): New variable.
21706 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
21707 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
21708 (cross-rpcgen-objs): New variable.
21709 (extra-objs): Append $(cross-rpcgen-objs).
21710 ($(cross-rpcgen-objs)): New rule.
21711 ($(objpfx)cross-rpcgen): Likewise.
21712 (rpcgen-cmd): Define to use $(built-program-file). Expand
21713 comment.
21714 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
21715 ($(objpfx)x%.stmp): Likewise.
21716 * sunrpc/proto.h [IS_IN_build] (_): Define.
21717 [IS_IN_build] (_libc_intl_domainname): Likewise.
21718
c8c59454
L
217192012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21720
21721 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
21722 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
21723 and R_X86_64_TPOFF64.
21724
6f27cd16
JM
217252012-05-10 Joseph Myers <joseph@codesourcery.com>
21726
21727 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
21728 sysdeps/unix/sysv/syscalls.list.
21729 (stime): Likewise.
21730 (utime): Likewise.
21731 * sysdeps/unix/sysv/syscalls.list: Remove file.
21732
02467e1c
PE
217332012-05-10 Paul Eggert <eggert@cs.ucla.edu>
21734
21735 [BZ #3440]
21736 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
21737 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
21738 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
21739 (__LC_IDENTIFICATION): Make these macros useful in #if
21740 expressions, as required by C99.
21741
da392631
AS
217422012-05-10 Andreas Schwab <schwab@linux-m68k.org>
21743
21744 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
21745 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
21746 after this.
21747
8115f29b
L
217482012-05-09 H.J. Lu <hongjiu.lu@intel.com>
21749
21750 * stdlib/longlong.h: Updated from GCC.
21751
bdd74070
AJ
217522012-05-09 Andreas Jaeger <aj@suse.de>
21753
edfe0dbe
AJ
21754 * nscd/nscd.c (run_modes): Make named enum, reorder so that
21755 default is first entry.
21756 (run_mode): Set type.
21757 (main): Remove informal message about syslog.
21758 (options): Fix typo.
21759
bcfe3a54
ST
21760 [BZ #14053]
21761 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 21762 to asm.
bcfe3a54
ST
21763 (lrint): Likewise.
21764 (llrintf): Likewise.
21765 (llrint): Likewise.
21766 (rint): Likewise.
21767 (rintf): Likewise.
21768 (nearbyint): Likewise.
21769 (nearbyintf): Likewise.
bdd74070 21770
91d8d69e
AJ
217712012-05-09 Andreas Jaeger <aj@suse.de>
21772 Pedro Alves <palves@redhat.com>
21773
21774 * nscd/nscd.c (run_mode): Use enum.
21775 (main): Cleanup coding style issue.
21776
bb90b80b
AJ
217772012-05-09 Alexandre Oliva <aoliva@redhat.com>
21778 Andreas Jaeger <aj@suse.de>
21779
bcfe3a54
ST
21780 * nscd/nscd.c (go_background): Replaced with...
21781 (run_mode): ... this.
bb90b80b 21782 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
21783 (options): Add -F --foreground.
21784 (main): Implement it.
21785 (parse_opt): Parse it.
bb90b80b 21786
1a4b75a1
AJ
217872012-05-09 Andreas Jaeger <aj@suse.de>
21788
21789 [BZ #14083]
21790 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
21791 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
21792 -Wconversion warning.
21793 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
21794 Likewise.
21795
b1cc2472
JM
217962012-05-09 Joseph Myers <joseph@codesourcery.com>
21797
21798 * conform/data/locale.h-data (NULL): Use macro-constant. Require
21799 == 0.
21800 (LC_ALL): Use macro-int-constant.
21801 (LC_COLLATE): Likewise.
21802 (LC_CTYPE): Likewise.
21803 (LC_MESSAGES): Likewise.
21804 (LC_MONETARY): Likewise.
21805 (LC_NUMERIC): Likewise.
21806 (LC_TIME): Likewise.
21807 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
21808 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21809 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21810 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
21811 Specify type.
21812 [C99-based standards] (float_t): Expect type.
21813 [C99-based standards] (double_t): Expect type.
21814 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
21815 type.
21816 [C99-based standards] (HUGE_VALL): Likewise.
21817 [C99-based standards] (INFINITY): Likewise.
21818 [C99-based standards] (NAN): Likewise.
21819 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
21820 [C99-based standards] (FP_NAN): Likewise.
21821 [C99-based standards] (FP_NORMAL): Likewise.
21822 [C99-based standards] (FP_SUBNORMAL): Likewise.
21823 [C99-based standards] (FP_ZERO): Likewise.
21824 [C99-based standards] (FP_FAST_FMA): Use
21825 optional-macro-int-constant. Specify type. Require == 1.
21826 [C99-based standards] (FP_FAST_FMAF): Likewise.
21827 [C99-based standards] (FP_FAST_FMAL): Likewise.
21828 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
21829 [C99-based standards] (FP_ILOGBNAN): Likewise.
21830 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
21831 Specify type.
21832 [C99-based standards] (MATH_ERREXCEPT): Likewise.
21833 [C99-based standards] (math_errhandling): Specify type.
21834 [ISO99 || ISO11] (signgam): Do not allow.
21835 [non-C99-based standards] (copysignf): Do not allow.
21836 [non-C99-based standards] (exp2f): Likewise.
21837 [non-C99-based standards] (log2f): Likewise.
21838 [non-C99-based standards] (modff): Allow.
21839 [non-C99-based standards] (erff): Do not allow.
21840 [non-C99-based standards] (erfcf): Likewise.
21841 [non-C99-based standards] (gammaf): Likewise.
21842 [non-C99-based standards] (hypotf): Likewise.
21843 [non-C99-based standards] (j0f): Likewise.
21844 [non-C99-based standards] (j1f): Likewise.
21845 [non-C99-based standards] (jnf): Likewise.
21846 [non-C99-based standards] (lgammaf): Likewise.
21847 [non-C99-based standards] (tgammaf): Likewise.
21848 [non-C99-based standards] (y0f): Likewise.
21849 [non-C99-based standards] (y1f): Likewise.
21850 [non-C99-based standards] (ynf): Likewise.
21851 [non-C99-based standards] (isnanf): Likewise.
21852 [non-C99-based standards] (acoshf): Likewise.
21853 [non-C99-based standards] (asinhf): Likewise.
21854 [non-C99-based standards] (atanhf): Likewise.
21855 [non-C99-based standards] (cbrtf): Likewise.
21856 [non-C99-based standards] (expm1f): Likewise.
21857 [non-C99-based standards] (ilogbf): Likewise.
21858 [non-C99-based standards] (log1pf): Likewise.
21859 [non-C99-based standards] (logbf): Likewise.
21860 [non-C99-based standards] (nextafterf): Likewise.
21861 [non-C99-based standards] (remainderf): Likewise.
21862 [non-C99-based standards] (rintf): Likewise.
21863 [non-C99-based standards] (scalbf): Likewise.
21864 [non-C99-based standards] (copysignl): Likewise.
21865 [non-C99-based standards] (exp2l): Likewise.
21866 [non-C99-based standards] (log2l): Likewise.
21867 [non-C99-based standards] (modfl): Allow.
21868 [non-C99-based standards] (erfl): Do not allow.
21869 [non-C99-based standards] (erfcl): Likewise.
21870 [non-C99-based standards] (gammal): Likewise.
21871 [non-C99-based standards] (hypotl): Likewise.
21872 [non-C99-based standards] (j0l): Likewise.
21873 [non-C99-based standards] (j1l): Likewise.
21874 [non-C99-based standards] (jnl): Likewise.
21875 [non-C99-based standards] (lgammal): Likewise.
21876 [non-C99-based standards] (tgammal): Likewise.
21877 [non-C99-based standards] (y0l): Likewise.
21878 [non-C99-based standards] (y1l): Likewise.
21879 [non-C99-based standards] (ynl): Likewise.
21880 [non-C99-based standards] (isnanl): Likewise.
21881 [non-C99-based standards] (acoshl): Likewise.
21882 [non-C99-based standards] (asinhl): Likewise.
21883 [non-C99-based standards] (atanhl): Likewise.
21884 [non-C99-based standards] (cbrtl): Likewise.
21885 [non-C99-based standards] (expm1l): Likewise.
21886 [non-C99-based standards] (ilogbl): Likewise.
21887 [non-C99-based standards] (log1pl): Likewise.
21888 [non-C99-based standards] (logbl): Likewise.
21889 [non-C99-based standards] (nextafterl): Likewise.
21890 [non-C99-based standards] (remainderl): Likewise.
21891 [non-C99-based standards] (rintl): Likewise.
21892 [non-C99-based standards] (scalbl): Likewise.
21893 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21894 [non-C99-based standards] (FP_*): Do not allow.
21895 [C99-based standards] (FP_*): Change to
21896 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21897 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21898 allow.
21899 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
21900 (SIG_ERR): Likewise.
21901 [X/Open-based standards] (SIG_HOLD): Likewise.
21902 (SIG_IGN): Likewise.
21903 (SIGABRT): Use macro-int-constant. Specify type. Require
21904 positive value.
21905 (SIGFPE): Likewise.
21906 (SIGILL): Likewise.
21907 (SIGINT): Likewise.
21908 (SIGSEGV): Likewise.
21909 (SIGTER): Likewise.
21910 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
21911 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
21912 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
21913 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
21914 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
21915 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
21916 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
21917 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
21918 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
21919 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
21920 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
21921 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
21922 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
21923 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
21924 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
21925 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
21926 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
21927 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
21928 [X/Open-based standards] (SIGTRAP): Likewise.
21929 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
21930 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
21931 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
21932 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
21933 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21934 allow.
21935
b9f1922d
IW
219362012-05-08 Ian Wienand <ianw@vmware.com>
21937
21938 [BZ #14080]
21939 * time/tzset.c (__tzset_parse_tz): Update default rules for
21940 daylight time changes in the Energy Policy Act of 2005.
21941
1db86e88
AJ
219422012-05-09 Andreas Jaeger <aj@suse.de>
21943
21944 [BZ #13983]
21945 * elf/ldconfig.c (parse_conf): Change string to make clear that
21946 ldconfig only issued a warning if ld.so.conf does not exist.
21947
dee4a4e3
DM
219482012-05-08 David S. Miller <davem@davemloft.net>
21949
ee0db190
DM
21950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
21951 movxtod instead of popping the value on the stack.
21952
dee4a4e3
DM
21953 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21954
6a43ec98
CD
219552012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
21956
21957 * config.h.in: Add HAVE_ARM_PCS_VFP.
21958
05c2c961
RMG
219592012-05-08 Roland Mc Grath <roland@hack.frob.com>
21960
bcfe3a54
ST
21961 [BZ #13979]
21962 * include/features.h: Warn if user requests __FORTIFY_SOURCE
21963 checking but the checks are disabled for any reason.
05c2c961 21964
4b30f61a
L
219652012-05-08 H.J. Lu <hongjiu.lu@intel.com>
21966
21967 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
21968 and ELF64_R_TYPE with ELFW(R_TYPE).
21969
eee2bc67
JM
219702012-05-08 Joseph Myers <joseph@codesourcery.com>
21971
7ea5391a
JM
21972 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
21973 (ulimit): Likewise.
21974
eee2bc67
JM
21975 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
21976 (settimeofday): Likewise.
21977
abb66a67
MF
219782012-05-08 Mike Frysinger <vapier@gentoo.org>
21979
21980 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
21981 a struct th_u2 inside the union, and move tu_block/tu_code into
21982 a new th_u3 union of tu_block/tu_code inside of that. Move
21983 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
21984 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
21985 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
21986 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
21987 (th_stuff): Change to th_u1.tu_stuff.
21988 (th_data): Define.
21989 (th_msg): Change to th_u1.th_u2.tu_data.
21990
7f18b530
DM
219912012-05-07 David S. Miller <davem@davemloft.net>
21992
05760585
DM
21993 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21994
7f18b530
DM
21995 [BZ #14074]
21996 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
21997 (SETUP_PIC_REG): Use it.
21998 (SETUP_PIC_REG_LEAF): Use it.
21999
495fd99f
JM
220002012-05-07 Joseph Myers <joseph@codesourcery.com>
22001
22002 [BZ #13885]
22003 [BZ #13923]
22004 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22005 USE_AS_EXPM1L.
22006 (EXPL_FINITE): Likewise.
22007 (FLDLOG): Likewise.
22008 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22009 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22010 e_expl.S.
22011 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22012 USE_AS_EXPM1L.
22013 (EXPL_FINITE): Likewise.
22014 (FLDLOG): Likewise.
22015 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22016 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22017 e_expl.S.
22018 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
22019 test of -max_value argument for long double.
22020 * sysdeps/i386/fpu/libm-test-ulps: Update.
22021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22022
6693d694
DM
220232012-05-06 David S. Miller <davem@davemloft.net>
22024
22025 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
22026 quad soft-float symbols whose references which are compiler
22027 generated.
22028 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22029
6c23e11c
JM
220302012-05-06 Joseph Myers <joseph@codesourcery.com>
22031
d8b82cad
JM
22032 [BZ #13884]
22033 [BZ #13914]
22034 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22035 USE_AS_EXP10L.
22036 (EXPL_FINITE): Likewise.
22037 (FLDLOG): Likewise.
22038 (c0): Likewise.
22039 (c1): Likewise.
22040 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
22041 Adjust comments for base varying.
22042 (__expl_finite): Change alias to EXPL_FINITE.
22043 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
22044 e_expl.S.
22045 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
22046 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
22047 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22048 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
22049 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22050 USE_AS_EXP10L.
22051 (EXPL_FINITE): Likewise.
22052 (FLDLOG): Likewise.
22053 (c0): Likewise.
22054 (c1): Likewise.
22055 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
22056 Adjust comments for base varying.
22057 (__expl_finite): Change alias to EXPL_FINITE.
22058 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
22059 tests for bugs.
22060 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22061
6c23e11c
JM
22062 [BZ #14064]
22063 * math/libm-test.inc (check_float_internal): Correct ulp
22064 calculation for subnormal expected results.
22065
29ba805c
AJ
220662012-05-06 Andreas Jaeger <aj@suse.de>
22067
22068 * Makeconfig (+math-flags): New, set to -frounding-math.
22069 (+cflags): Add +math-flags so that all of glibc gets compiled with
22070 it.
22071
22072 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
22073
7b17aeda
JM
220742012-05-05 Joseph Myers <joseph@codesourcery.com>
22075
5779f134
JM
22076 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
22077 Disable one test.
22078
41498f4d
JM
22079 [BZ #13787]
22080 [BZ #13922]
22081 [BZ #14036]
22082 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
22083 (__ieee754_expl): Allow for and saturate large arguments.
22084 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
22085 (u_threshold): Likewise.
22086 (__exp): Call __ieee754_exp before checking for overflow and
22087 underflow.
22088 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
22089 (u_threshold): Likewise.
22090 (__expf): Call __ieee754_expf before checking for overflow and
22091 underflow.
22092 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
22093 (u_threshold): Likewise.
22094 (__expl): Call __ieee754_expl before checking for overflow and
22095 underflow.
22096 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
22097 (__ieee754_expl): Allow for and saturate large arguments.
22098 * math/libm-test.inc (exp_test): Add another test. Do not allow
22099 missing overflow exception on overflow.
22100 (expm1_test): Do not allow missing overflow exception on overflow.
22101
6698b8bf
JM
22102 * sysdeps/i386/fpu/e_expl.c: Move to ...
22103 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
22104 rather than using inline asm.
22105 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
22106 * sysdeps/x86_64/fpu/e_expl.S: Copy from
22107 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
22108
7b17aeda
JM
22109 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
22110 (nice): Likewise.
22111 (poll): Likewise.
22112 (signal): Likewise.
22113 (time): Likewise.
22114 (times): Likewise.
22115
f7c85819
JM
221162012-05-04 Joseph Myers <joseph@codesourcery.com>
22117
22118 * sysdeps/unix/syscalls.list (adjtime): Add entry from
22119 sysdeps/unix/common/syscalls.list.
22120 (fchmod): Likewise.
22121 (fchown): Likewise.
22122 (ftruncate): Likewise.
22123 (getrusage): Likewise.
22124 (gettimeofday): Likewise.
22125 (setpgid): Likewise.
22126 (setregid): Likewise.
22127 (setreuid): Likewise.
22128 (sigaction): Likewise.
22129 (truncate): Likewise.
22130 (vhangup): Likewise.
22131 * sysdeps/unix/common/syscalls.list: Remove file.
22132 * sysdeps/unix/bsd/Implies: Don't include unix/common.
22133 * sysdeps/unix/sysv/linux/Implies: Likewise.
22134
336270d0
L
221352012-05-04 H.J. Lu <hongjiu.lu@intel.com>
22136
22137 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
22138 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
22139 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
22140 Moved to ...
22141 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
22142 Here.
22143 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
22144 to ...
22145 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
22146 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
22147 to ...
22148 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
22149 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
22150 to ...
22151 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
22152 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
22153 to ...
22154 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
22155 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
22156 to ...
22157 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
22158 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
22159 to ...
22160 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
22161 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
22162 to ...
22163 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22164 Here.
22165 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
22166 to ...
22167 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
22168 Here.
22169 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
22170 to ...
22171 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
22172 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
22173 Moved to ...
22174 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
22175 Here.
22176 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
22177 to ...
22178 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
22179
d128e450
JM
221802012-05-04 Joseph Myers <joseph@codesourcery.com>
22181
fa8ee516
JM
22182 * sysdeps/unix/common/bits/dirent.h: Remove file.
22183 * sysdeps/unix/common/bits/fcntl.h: Likewise.
22184
d128e450
JM
22185 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
22186 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
22187 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
22188 * sysdeps/unix/bsd/isatty.c: Likewise.
22189 * sysdeps/unix/bsd/tcdrain.c: Likewise.
22190 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
22191 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
22192
ff8faaf0 221932012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 22194
62881be4 22195 [BZ #13563]
31dc8730
AZ
22196 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
22197 long double comparison inaccuracies.
22198 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22199 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22200
6fef930c
AS
222012012-05-04 Andreas Schwab <schwab@linux-m68k.org>
22202
22203 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
22204 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
22205
8f203e6c
JM
222062012-05-04 Joseph Myers <joseph@codesourcery.com>
22207
22208 [BZ #14049]
22209 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
22210 nonzero digits before rounding a hex value.
22211 * stdlib/tst-strtod.c (tests): Add another test.
22212
5197d9c2
AK
222132012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22214
22215 * sysdeps/s390/fpu/libm-test-ulps: Update.
22216
f0c1dedf
AJ
222172012-05-03 Andreas Jaeger <aj@suse.de>
22218
22219 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
22220 does not get optimized out.
22221 (malloc_opt_barrier): New.
22222
a65ef2ae 222232012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 22224 Roland McGrath <roland@hack.frob.com>
a65ef2ae 22225
2b942cb7 22226 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 22227 intermediate file deletion.
2b942cb7 22228 (generated): Add .symlist files.
a65ef2ae 22229
54b71e02
JM
222302012-05-03 Joseph Myers <joseph@codesourcery.com>
22231
22232 [BZ #13775]
22233 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
22234 Redirect under this condition.
22235 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22236 [__USE_GNU] (__dprintf_chk): Not under this condition.
22237 [__USE_GNU] (__vdprintf_chk): Likewise.
22238 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
22239 under this condition.
22240 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22241 [__USE_XOPEN2K8] (dprintf): Define under this condition.
22242 [__USE_XOPEN2K8] (vdprintf): Likewise.
22243 [__USE_GNU] (__dprintf_chk): Not under this condition.
22244 [__USE_GNU] (__vdprintf_chk): Likewise.
22245 [__USE_GNU] (dprintf): Likewise.
22246 [__USE_GNU] (vdprintf): Likewise.
22247
d3dfcc41
RM
222482012-05-03 Roland McGrath <roland@hack.frob.com>
22249
22250 * elf/Makefile (common-generated): Set this instead of generated for
22251 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
22252 $(all-built-dso)-derived lists.
22253
7ac30cc5
AJ
222542012-05-03 Andreas Jaeger <aj@suse.de>
22255
0c51e550
AJ
22256 * sysdeps/i386/fpu/libm-test-ulps: Update.
22257
7ac30cc5
AJ
22258 * FAQ: Removed.
22259 * FAQ.in: Likewise.
22260 * scripts/gen-FAQ.pl: Likewise.
22261 * manual/install.texi (Installation): Point to online location of
22262 FAQ.
22263 * Makefile (files-for-dist): Remove FAQ.
22264 (FAQ): Remove.
22265
d4c2917f
AM
222662012-05-02 Allan McRae <allan@archlinux.org>
22267
22268 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
22269 (LDFLAGS-reldepmod5.so): Likewise.
22270 (LDFLAGS-reldep6mod1.so): Likewise.
22271 (LDFLAGS-reldep6mod4.so): Likewise.
22272 (LDFLAGS-reldep8mod3.so): Likewise.
22273 (LDFLAGS-unload4mod1.so): Likewise.
22274 (LDFLAGS-unload4mod2.so): Likewise.
22275 (LDFLAGS-tst-initorder): Likewise.
22276 (LDFLAGS-tst-initordera2.so): Likewise.
22277 (LDFLAGS-tst-initordera3.so): Likewise.
22278 (LDFLAGS-tst-initordera4.so): Likewise.
22279 (LDFLAGS-tst-initorderb2.so): Likewise.
22280 (LDFLAGS-noload): Likewise.
22281 (LDFLAGS-next): Likewise.
22282 (LDFLAGS-order2mod1.so): Likewise.
22283 (LDFLAGS-order2mod2.so): Likewise.
22284 (LDFLAGS-tst-initorder2): Likewise.
22285 (LDFLAGS-tst-initorder2a.so): Likewise.
22286 (LDFLAGS-tst-initorder2b.so): Likewise.
22287 (LDFLAGS-tst-initorder2c.so): Likewise.
22288 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
22289
d77f993f
DM
222902012-05-02 David S. Miller <davem@davemloft.net>
22291
22292 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22293
171a70b4
PP
222942012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
22295
22296 [BZ #14055]
22297 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
22298
0be196ad
AJ
222992012-05-02 Andreas Jaeger <aj@suse.de>
22300
22301 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
22302 since we manipulate rounding mode.
22303 (CPPFLAGS-test-idouble.c): Likewise.
22304 (CPPFLAGS-test-ifloat.c): Likewise.
22305 (CFLAGS-test-ldouble.c): Likewise.
22306 (CFLAGS-test-double.c): Likewise.
22307 (CFLAGS-test-float.c): Likewise.
22308 (CFLAGS-test-misc.c): Likewise.
22309 (CFLAGS-test-test-fenv.c): Likewise.
22310
4f9d04aa
AZ
223112012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22312
2b942cb7
RM
22313 [BZ #2550]
22314 [BZ #2570]
22315 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
22316 comparisons to determine direction to adjust input.
4f9d04aa 22317
82a79e7d
RM
223182012-05-01 Roland McGrath <roland@hack.frob.com>
22319
f5a01ca9
RM
22320 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
22321 output to the target.
22322
90fe4186
RM
22323 * scripts/localplt.awk: New file.
22324 * elf/Makefile ($(objpfx)check-localplt): Target removed.
22325 (check-localplt-CFLAGS): Variable removed.
22326 ($(all-built-dso:=.jmprel)): New static pattern rule.
22327 (generated): Add those targets.
22328 (localplt-built-dso): New variable.
22329 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
22330
22331 * elf/check-localplt.c: File removed.
22332
82397ed6
RM
22333 * scripts/check-execstack.awk: New file.
22334 * elf/Makefile ($(objpfx)check-execstack): Target removed.
22335 (check-execstack-CFLAGS): Variable removed.
22336 ($(objpfx)check-execstack.h): Target removed.
22337 ($(objpfx)execstack-default): New target.
22338 (generated): Add that instead of check-execstack.h.
22339 ($(all-built-dso:=.phdr)): New static pattern rule.
22340 (generated): Add those targets.
22341 * elf/check-execstack.c: File removed.
22342
82a79e7d
RM
22343 * scripts/check-textrel.awk: New file.
22344 * elf/Makefile ($(objpfx)check-textrel): Target removed.
22345 (check-textrel-CFLAGS): Variable removed.
22346 (all-built-dso): Use := to define.o
22347 ($(all-built-dso:=.dyn)): New static pattern rule.
22348 (generated): Add those targets.
22349 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
22350 * config.make.in (READELF): New substituted variable.
22351 * elf/check-textrel.c: File removed.
22352
62fde54f 223532012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 22354
615605c9
JM
22355 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22356 allow.
22357 * conform/data/ctype.h-data [C99-based standards] (isblank):
22358 Expect function.
22359 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
22360 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
22361 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22362 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
22363 Specify type. Require positive value.
22364 (EILSEQ): Likewise.
22365 (ERANGE): Likewise.
22366 [ISO || POSIX] (EILSEQ): Do not expect.
22367 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
22368 Specify type. Require positive value.
22369 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
22370 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
22371 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
22372 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
22373 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
22374 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
22375 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
22376 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
22377 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
22378 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
22379 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
22380 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
22381 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
22382 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
22383 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
22384 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
22385 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
22386 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
22387 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
22388 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
22389 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
22390 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
22391 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
22392 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
22393 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
22394 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
22395 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
22396 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
22397 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
22398 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
22399 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
22400 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
22401 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
22402 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
22403 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
22404 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
22405 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
22406 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
22407 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
22408 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
22409 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
22410 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
22411 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
22412 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
22413 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
22414 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
22415 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
22416 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
22417 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
22418 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
22419 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
22420 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
22421 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
22422 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
22423 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
22424 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
22425 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
22426 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
22427 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
22428 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
22429 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
22430 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
22431 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
22432 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
22433 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
22434 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
22435 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
22436 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
22437 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
22438 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
22439 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
22440 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
22441 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
22442 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
22443 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
22444 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
22445 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
22446 Require >= 2.
22447 (FLT_ROUNDS): Expect as macro, not constant.
22448 (FLT_MANT_DIG): Use macro-int-constant.
22449 (DBL_MANT_DIG): Likewise.
22450 (LDBL_MANT_DIG): Likewise.
22451 (FLT_DIG): Likewise.
22452 (DBL_DIG): Likewise.
22453 (LDBL_DIG): Likewise.
22454 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
22455 (DBL_MIN_EXP): Likewise.
22456 (LDBL_MIN_EXP): Likewise.
22457 (FLT_MAX_EXP): Use macro-int-constant.
22458 (DBL_MAX_EXP): Likewise.
22459 (LDBL_MAX_EXP): Likewise.
22460 (FLT_MAX_10_EXP): Likewise.
22461 (DBL_MAX_10_EXP): Likewise.
22462 (LDBL_MAX_10_EXP): Likewise.
22463 (FLT_MAX): Use macro-constant.
22464 (DBL_MAX): Likewise.
22465 (LDBL_MAX): Likewise.
22466 (FLT_EPSILON): Use macro-constant. Give upper bound.
22467 (DBL_EPSILON): Likewise.
22468 (LDBL_EPSILON): Likewise.
22469 (FLT_MIN): Likewise.
22470 (DBL_MIN): Likewise.
22471 (LDBL_MIN): Likewise.
22472 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
22473 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
22474 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
22475 [ISO11] (FLT_HAS_SUBNORM): Likewise.
22476 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
22477 [ISO11] (DBL_DECIMAL_DIG): Likewise.
22478 [ISO11] (FLT_DECIMAL_DIG): Likewise.
22479 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
22480 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
22481 [ISO11] (FLT_TRUE_MIN): Likewise.
22482 [ISO11] (LDBL_TRUE_MIN): Likewise.
22483 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22484 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
22485 (SCHAR_MIN): Use macro-int-constant. Specify type.
22486 (SCHAR_MAX): Likewise.
22487 (UCHAR_MAX): Likewise.
22488 (CHAR_MIN): Likewise.
22489 (CHAR_MAX): Likewise.
22490 (MB_LEN_MAX): Use macro-int-constant.
22491 (SHRT_MIN): Use macro-int-constant. Specify type.
22492 (SHRT_MAX): Likewise.
22493 (USHRT_MAX): Likewise.
22494 (INT_MAX): Likewise.
22495 (INT_MIN): Use macro-int-constant. Specify type. Make upper
22496 bound negative.
22497 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
22498 bound with "U".
22499 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
22500 bound with "L".
22501 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
22502 bound negative. Suffix upper bound with "L".
22503 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
22504 bound with "UL".
22505 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
22506 Specify type.
22507 [C99-based standards] (LLONG_MAX): Likewise.
22508 [C99-based standards] (ULLONG_MAX): Likewise.
22509 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
22510 == 0.
22511 [ISO11] (max_align_t): Require type.
22512 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22513
c9140a62
JM
22514 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
22515 from $CFLAGS, without defining away __attribute__ calls.
22516 (checknamespace): Use $CFLAGS_namespace.
22517
9af0bf29
JM
22518 * conform/conformtest.pl (@keywords): Only include C99 keywords
22519 for standards based on C99 or C11.
22520
343222a2
JM
22521 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
22522 Disable tests.
22523 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
22524 UNIX98]: Likewise.
22525
661f8cf0
JM
22526 * conform/conformtest.pl: Handle "macro-int-constant" and test for
22527 usability of symbols in #if.
22528
ee74b9cb
JM
22529 * conform/conformtest.pl: If macro or constant types start
22530 "promoted:", expect the symbol to be of the following type
22531 promoted by the integer promotions.
62fde54f 22532
aafc49b3
JM
22533 * conform/conformtest.pl: Parse all "constant" and "macro" lines
22534 in one place. Also handle "macro-constant".
22535
fefdf574
JM
22536 * conform/conformtest.pl: Only accept expected macro values with
22537 "==". Parse all "macro" lines in one place.
22538 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
22539
f2d922fe
JM
22540 * conform/conformtest.pl: Handle braced types on "constant" lines
22541 instead of handling "typed-constant".
22542 * conform/data/signal.h-data: Use "constant" instead of
22543 "typed-constant".
22544
d22956c9
JM
22545 * conform/conformtest.pl: Handle "optional-" at start of lines in
22546 one place rather than duplicating several cases. Handle each
22547 format of "macro" line with initial "optional-".
22548
028e2e38
JM
22549 * conform/conformtest.pl: Only accept expected constant or
22550 optional-constant values with "==". Parse all "constant" lines in
22551 one place. Parse all "optional-constant" lines in one place.
22552 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
22553 * conform/data/fmtmsg.h-data: Likewise.
22554 * conform/data/netinet/in.h-data: Likewise.
22555 * conform/data/tar.h-data: Likewise.
22556 * conform/data/limits.h-data: Use "==" form on "constant" and
22557 "optional-constant" lines.
22558
1b8f2850
JM
22559 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
22560 Use -std=c99 for XOPEN2K.
22561 (@knownproblems): Remove.
22562 (newtoken): Don't check %isknown.
22563
a05a144b
JM
22564 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
22565 Do not expect macro.
22566 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
22567 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
22568 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
22569 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
22570 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
22571 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
22572 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
22573 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
22574 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
22575 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
22576 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
22577 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
22578 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
22579 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
22580 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
22581 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
22582 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
22583 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
22584 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
22585 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
22586 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
22587 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
22588 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
22589 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
22590 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
22591 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
22592 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
22593 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
22594 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
22595 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
22596 [XPG3] (acosh): Likewise.
22597 [XPG3] (asinh): Likewise.
22598 [XPG3] (atanh): Likewise.
22599 [XPG3] (cbrt): Likewise.
22600 [XPG3] (expm1): Likewise.
22601 [XPG3] (ilogb): Likewise.
22602 [XPG3] (log1p): Likewise.
22603 [XPG3] (logb): Likewise.
22604 [XPG3] (nextafter): Likewise.
22605 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
22606 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
22607 [XPG3] (remainder): Likewise.
22608 [XPG3] (rint): Likewise.
22609 [XPG3 || XPG4 || UNIX98] (round): Likewise.
22610 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
22611 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
22612 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
22613 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
22614 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
22615 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
22616 [UNIX98 || XOPEN2K] (scalb): Expect.
22617 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
22618 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
22619 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
22620 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
22621 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
22622 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
22623 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
22624 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
22625 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
22626 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
22627 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
22628 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
22629 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
22630 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
22631 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
22632 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
22633 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
22634 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
22635 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
22636 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
22637 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
22638 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
22639 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
22640 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
22641 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
22642 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
22643 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
22644 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
22645 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
22646 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
22647 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
22648 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
22649 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
22650 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
22651 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
22652 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
22653 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
22654 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
22655 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
22656 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
22657 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
22658 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
22659 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
22660 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
22661 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
22662 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
22663 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
22664 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
22665 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
22666 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
22667 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
22668 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
22669 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
22670 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
22671 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
22672 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
22673 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
22674 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
22675 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
22676 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
22677 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
22678 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
22679 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
22680 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
22681 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
22682 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
22683 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
22684 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
22685 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
22686 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
22687 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
22688 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
22689 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
22690 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
22691 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
22692 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
22693 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
22694 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
22695 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
22696 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
22697 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
22698 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
22699 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
22700 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
22701 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
22702 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
22703 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
22704 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
22705 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
22706 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
22707 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
22708 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
22709 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
22710 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
22711 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
22712 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
22713 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
22714 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
22715 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
22716 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
22717 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
22718 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
22719 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
22720 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
22721 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
22722 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
22723 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
22724 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
22725 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
22726 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
22727 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
22728 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
22729 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
22730 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
22731 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
22732 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
22733 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
22734 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
22735 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
22736 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
22737 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
22738 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
22739 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
22740 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
22741 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
22742 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
22743 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
22744 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
22745 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
22746 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
22747 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
22748 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
22749 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
22750 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
22751 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
22752 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
22753 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
22754
73c5ebe3
JM
22755 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
22756 _XOPEN_SOURCE_EXTENDED for XPG4.
22757
39c33b6c
JM
22758 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
22759
62fde54f
JM
22760 * Makeconfig (localtime): Remove variable.
22761 (inst_localtime-file): Likewise.
22762
0741d64c
AS
227632012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22764
22765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
22766 Update.
22767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22768 Update.
22769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
22770 Update.
22771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22772 Update.
22773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
22774 Update.
22775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
22776 Update.
22777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22778 Update.
22779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
22780 Update.
22781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22782 Update.
22783
7cb029ee
JM
227842012-05-01 Joseph Myers <joseph@codesourcery.com>
22785
22786 [BZ #2550]
22787 [BZ #2570]
22788 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
22789 comparisons to determine direction to adjust input.
22790 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22791 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
22792 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
22793 Likewise.
22794 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
22795 Likewise.
22796 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22797 Likewise.
22798 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
22799 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22800 Likewise.
22801 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22802 Likewise.
22803 * math/libm-test.inc (nexttoward_test): Add more tests.
22804
412bd966
AS
228052012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22806
22807 [BZ #14040]
22808 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
22809 in version GLIBC_2.1, not GLIBC_2.0.
22810 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
22811 Likewise.
22812
9568c0c2
JM
228132012-04-30 Joseph Myers <joseph@codesourcery.com>
22814
adfbc8ac
JM
22815 [BZ #13942]
22816 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
22817 (1 - x) * (1 + x).
22818 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22819 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
22820 * math/libm-test.inc (acos_test): Add more tests.
22821 (asin_test): Likewise.
22822 * sysdeps/i386/fpu/libm-test-ulps: Update.
22823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22824
5ba3cc69
JM
22825 [BZ #14034]
22826 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
22827 of square root.
22828 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
22829 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22830 * math/libm-test.inc (acos_test_tonearest): New function.
22831 (acos_test_towardzero): Likewise.
22832 (acos_test_downward): Likewise.
22833 (acos_test_upward): Likewise.
22834 (asin_test_tonearest): Likewise.
22835 (asin_test_towardzero): Likewise.
22836 (asin_test_downward): Likewise.
22837 (asin_test_upward): Likewise.
22838 (main): Call the new functions.
22839 * sysdeps/i386/fpu/libm-test-ulps: Update.
22840 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22841
9568c0c2
JM
22842 [BZ #13884]
22843 [BZ #13924]
22844 * math/e_exp10.c: Include <float.h>.
22845 (__ieee754_exp10): Handle underflow here rather than multiplying
22846 large negative argument by M_LN10.
22847 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
22848 of __ieee754_expf.
22849 * math/e_exp10l.c: Include <float.h>.
22850 (__ieee754_exp10l): Handle underflow here rather than multiplying
22851 large negative argument by M_LN10l.
22852 * math/libm-test.inc (exp10_test): Add another test. Do not allow
22853 spurious overflow exception on underflow.
22854
5ac3ea17
MP
228552012-04-29 Marek Polacek <polacek@redhat.com>
22856
22857 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
22858 (__fortify_function): New macro.
22859 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
22860 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
22861 __extern_always_inline.
22862 * libio/bits/stdio2.h: Likewise.
22863 * libio/bits/stdio.h: Likewise.
22864 * string/string.h: Likewise.
22865 * string/bits/string3.h: Likewise.
22866 * include/stdio.h: Likewise.
22867 * stdlib/bits/stdlib.h: Likewise.
22868 * stdlib/stdlib.h: Likewise.
22869 * rt/bits/mqueue2.h: Likewise.
22870 * rt/mqueue.h: Likewise.
22871 * posix/bits/unistd.h: Likewise.
22872 * posix/unistd.h: Likewise.
22873 * io/bits/poll2.h: Likewise.
22874 * io/bits/fcntl2.h: Likewise.
22875 * io/fcntl.h: Likewise.
22876 * io/sys/poll.h: Likewise.
22877 * misc/bits/syslog.h: Likewise.
22878 * misc/bits/syslog-ldbl.h: Likewise.
22879 * misc/sys/syslog.h: Likewise.
22880 * socket/bits/socket2.h: Likewise.
22881 * socket/sys/socket.h: Likewise.
22882 * debug/tst-chk1.c: Likewise.
22883 * wcsmbs/bits/wchar2.h: Likewise.
22884 * wcsmbs/bits/wchar-ldbl.h: Likewise.
22885 * wcsmbs/wchar.h: Likewise.
22886
ecf0ebfb
AJ
228872012-04-29 Andreas Jaeger <aj@suse.de>
22888
22889 * Makerules (tests): Remove enable-check-abi protection.
22890 (check-abi-warn): Remove.
22891 (check-abi-%): Remove check-abi-warn usage.
22892
22893 * configure.in: Remove check-abi configure option.
22894 * configure: Regenerated.
22895 * config.make.in (enable-check-abi): Remove.
22896
6d5c57fa
AS
228972012-04-28 Andreas Schwab <schwab@linux-m68k.org>
22898
24c5d07e 22899 [BZ #14033]
ded5180a
AS
22900 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
22901 double functions to double *_finite functions.
22902
7e0d315d
AS
22903 [BZ #13941]
22904 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
22905 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
22906 LDBL_MIN_EXP.
22907 * stdio-common/Makefile (tests): Add tst-sprintf3.
22908 * stdio-common/tst-sprintf3.c: New file.
22909
6d5c57fa
AS
22910 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
22911 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
22912
0749ff8b
JM
229132012-04-28 Joseph Myers <joseph@codesourcery.com>
22914
22915 * conform/conformtest.pl: Remove duplicate typed-constant
22916 handling.
22917
8dbd5d7b
DM
229182012-04-28 David S. Miller <davem@davemloft.net>
22919
22920 * Makerules (%.abilist): Add vpath on sysdep_dirs.
22921 (check-abi-%): Remove AWK script prerequisite and explicit
22922 abilist directory.
22923 (check-abi): Rewrite to just diff the symlist with the abilist.
22924 (config-tls, config-abi-config): Delete, no longer used.
22925 (update-abi-%): Remove AWK script and explicit abilist directory.
22926 (update-abi): Rewrite to simply compare and conditionally copy the
22927 symlist and the sysdep abilist file. Remove update-abi-config
22928 checks.
22929 * abilist/ld.abilist: Remove.
22930 * abilist/libBrokenLocale.abilist: Remove.
22931 * abilist/libanl.abilist: Remove.
22932 * abilist/libcrypt.abilist: Remove.
22933 * abilist/libdl.abilist: Remove.
22934 * abilist/librt.abilist: Remove.
22935 * abilist/libthread_db.abilist: Remove.
22936 * abilist/libutil.abilist: Remove.
22937 * scripts/extract-abilist.awk: Remove.
22938 * scripts/merge-abilist.awk: Remove.
22939 * sysdeps/generic/libcidn.abilist: New file.
22940 * sysdeps/generic/libnss_compat.abilist: New file.
22941 * sysdeps/generic/libnss_db.abilist: New file.
22942 * sysdeps/generic/libnss_dns.abilist: New file.
22943 * sysdeps/generic/libnss_files.abilist: New file.
22944 * sysdeps/generic/libnss_hesiod.abilist: New file.
22945 * sysdeps/generic/libnss_nis.abilist: New file.
22946 * sysdeps/generic/libnss_nisplus.abilist: New file.
22947 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
22948 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
22949 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
22950 file.
22951 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
22952 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
22953 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
22954 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
22955 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
22956 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
22957 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
22958 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
22959 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
22960 file.
22961 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
22962 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
22963 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
22964 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
22965 file.
22966 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
22967 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
22968 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
22969 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
22970 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
22971 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
22972 file.
22973 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
22974 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
22975 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
22976 file.
22977 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
22978 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
22979 New file.
22980 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
22981 New file.
22982 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
22983 New file.
22984 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
22985 New file.
22986 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
22987 New file.
22988 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
22989 New file.
22990 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
22991 New file.
22992 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
22993 New file.
22994 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
22995 New file.
22996 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
22997 New file.
22998 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
22999 New file.
23000 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
23001 New file.
23002 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
23003 New file.
23004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
23005 file.
23006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
23007 New file.
23008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
23009 New file.
23010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
23011 file.
23012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
23013 New file.
23014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
23015 New file.
23016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
23017 file.
23018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
23019 New file.
23020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23021 New file.
23022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
23023 New file.
23024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
23025 New file.
23026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
23027 New file.
23028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
23029 New file.
23030 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
23031 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
23032 file.
23033 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
23034 New file.
23035 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
23036 file.
23037 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
23038 file.
23039 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
23040 file.
23041 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
23042 file.
23043 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
23044 file.
23045 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23046 New file.
23047 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
23048 file.
23049 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
23050 file.
23051 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
23052 New file.
23053 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
23054 file.
23055 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
23056 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
23057 file.
23058 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
23059 New file.
23060 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
23061 file.
23062 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
23063 file.
23064 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
23065 file.
23066 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
23067 file.
23068 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
23069 file.
23070 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23071 New file.
23072 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
23073 file.
23074 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
23075 file.
23076 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
23077 New file.
23078 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
23079 file.
23080 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23081 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
23082 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
23083 file.
23084 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
23085 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
23086 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
23087 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
23088 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
23089 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
23090 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
23091 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
23092 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
23093 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
23094 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
23095 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
23096 file.
23097 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
23098 New file.
23099 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
23100 file.
23101 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
23102 file.
23103 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
23104 file.
23105 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
23106 file.
23107 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
23108 file.
23109 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23110 New file.
23111 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
23112 New file.
23113 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
23114 file.
23115 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
23116 New file.
23117 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
23118 file.
23119 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
23120 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
23121 file.
23122 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
23123 New file.
23124 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
23125 file.
23126 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
23127 file.
23128 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
23129 file.
23130 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
23131 file.
23132 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
23133 file.
23134 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23135 New file.
23136 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
23137 New file.
23138 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
23139 file.
23140 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
23141 New file.
23142 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
23143 file.
23144
41d73a1b
JM
231452012-04-28 Joseph Myers <joseph@codesourcery.com>
23146
23147 * conform/conformtest.pl: Fix typo in handling typed-constant from
23148 allow-header.
23149
28aeeda4
JM
231502012-04-27 Joseph Myers <joseph@codesourcery.com>
23151
adae8f5e
JM
23152 * README: Cut down references to pre-2.6 Linux kernels and
23153 Linuxthreads. Update lists of configurations in libc and ports
23154 and sort alphabetically. Say "or newer" with Linux kernel version
23155 requirements.
23156
28aeeda4
JM
23157 * config.h.in [IS_IN_build]: Allow compiling without optimization.
23158
a462cb63
RA
231592012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23160
23161 [BZ #887]
23162 * math/libm-test.inc (logb_test_downward): New test to expose
23163 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
23164 rounding mode.
23165
6ad3493e
JM
231662012-04-27 Joseph Myers <joseph@codesourcery.com>
23167
23168 [BZ #14027]
23169 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
23170 to be done.
23171 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
23172 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
23173
2ce4f015
JM
231742012-04-26 Joseph Myers <joseph@codesourcery.com>
23175
5aeb141a
JM
23176 * sysdeps/unix/i386/brk.S: Remove file.
23177 * sysdeps/unix/i386/dl-brk.S: Likewise.
23178 * sysdeps/unix/i386/pipe.S: Likewise.
23179 * sysdeps/unix/i386/sigreturn.S: Likewise.
23180 * sysdeps/unix/i386/syscall.S: Likewise.
23181 * sysdeps/unix/i386/vfork.S: Likewise.
23182 * sysdeps/unix/i386/wait.S: Likewise.
23183
7143acae
JM
23184 * sysdeps/unix/common/tcsendbrk.c: Move to ...
23185 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
23186
2ce4f015
JM
23187 * configure.in (arm*-none*): Do not allow without
23188 --enable-hacker-mode.
23189 (netbsd*): Remove case setting base_os.
23190 (386bsd*): Likewise.
23191 (freebsd*): Likewise.
23192 (bsdi*): Likewise.
23193 (osf*): Likewise.
23194 (sunos*): Likewise.
23195 (ultrix*): Likewise.
23196 (newsos*): Likewise.
23197 (dynix*): Likewise.
23198 (*bsd*): Likewise.
23199 (sysv*): Likewise.
23200 (isc*): Likewise.
23201 (esix*): Likewise.
23202 (sco*): Likewise.
23203 (minix*): Likewise.
23204 (irix4*): Likewise.
23205 (irix6*): Likewise.
23206 (solaris[2-9]*): Likewise.
23207 (none): Likewise.
23208 * configure: Regenerated.
23209
0ac229c8
AZ
232102012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23211
23212 [BZ #11521]
23213 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
23214 overflow or cancellation in calculating denominator.
23215 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
23216 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
23217 down expression to avoid unexpected rounding in newer GCCs.
23218 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
23219
33f244f4
DM
232202012-04-26 David S. Miller <davem@davemloft.net>
23221
23222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
23223 long-double compat symbols.
23224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
23228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23229 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
23230 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
23231 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
23232 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
23233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
23234 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
23235 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
23236 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23237
cfa1f3e8
DM
232382012-04-25 David S. Miller <davem@davemloft.net>
23239
23240 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
23241 HWCAP_* values only after the memory barriers have been defined.
23242 (atomic_full_barrier): Define.
23243 (atomic_read_barrier): Define.
23244 (atomic_write_barrier): Define.
23245
6e236b92
SP
232462012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23247
23248 * shlib-versions: Add libgcc_s version information.
23249 * sysdeps/generic/libgcc_s.h: Remove.
23250 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
23251 libgcc_s.h.
23252 * sysdeps/gnu/unwind-resume.c: Likewise.
23253 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
23254
aab39a09
DM
232552012-04-25 David S. Miller <davem@davemloft.net>
23256
23257 * sysdeps/unix/sparc/brk.S: Delete.
23258 * sysdeps/unix/sparc/dl-brk.S: Delete.
23259 * sysdeps/unix/sparc/pipe.S: Delete.
23260 * sysdeps/unix/sparc/sysdep.S: Delete.
23261 * sysdeps/unix/sparc/sysdep.h: Delete.
23262 * sysdeps/unix/sparc/vfork.S: Delete.
23263 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
23264 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
23265 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
23266 ret_ERRVAL, r0, r1, MOVE): Define.
23267 (JUMPTARGET): Remove.
23268 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
23269 sysdeps/unix/sparc/sysdep.h
23270 (ENTRY, END): Remove.
23271 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23272
a3cc4f48
JM
232732012-04-25 Joseph Myers <joseph@codesourcery.com>
23274
2ed8cda2
JM
23275 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
23276 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
23277 -DIS_IN_build.
23278
35d76d59
JM
23279 * timezone/README: Update upstream location and email address for
23280 tzcode and tzdata.
23281 * timezone/zdump.c: Update from tzcode 2012b.
23282 * timezone/zic.c: Likewise.
23283
a3cc4f48
JM
23284 * configure.in (libc_cv_as_needed): Remove test.
23285 * configure: Regenerated.
23286 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
23287 conditional definition.
23288 [$(have-as-needed) != yes] (no-as-needed): Likewise.
23289 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
23290 * config.make.in (have-as-needed): Remove variable.
23291
ceab42c3
SP
232922012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23293 Paul Pluzhnikov <ppluzhnikov@google.com>
23294
23295 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
23296 strings correctly.
23297
3ce2865f
CLT
232982012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
23299
23300 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
23301 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
23302 * sysdeps/sh/strlen.S: Likewise.
23303
f37e0d68
JM
233042012-04-24 Joseph Myers <joseph@codesourcery.com>
23305
ae186e9a
JM
23306 * sysdeps/unix/fork.S: Remove file.
23307 * sysdeps/unix/i386/fork.S: Likewise.
23308 * sysdeps/unix/sparc/fork.S: Likewise.
23309
b96914af
JM
23310 * sysdeps/unix/system.c: Remove file.
23311 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
23312
f37e0d68
JM
23313 * sysdeps/unix/getegid.S: Remove file.
23314 * sysdeps/unix/geteuid.S: Likewise.
23315
87ef29ca
RM
233162012-04-24 Roland McGrath <roland@hack.frob.com>
23317
83bcd236
RM
23318 * scripts/check-localplt.awk: New file.
23319 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
23320 of diff.
23321 * scripts/data/localplt-generic.data: Add a comment.
23322
87ef29ca
RM
23323 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
23324 NODE when __dir_mkfile failed.
23325 * sysdeps/mach/hurd/symlinkat.c: Likewise.
23326 Reported by Ludovic Courtès <ludo@gnu.org>.
23327
e5a6e567
AJ
233282012-04-24 Andreas Jaeger <aj@suse.de>
23329
23330 * Makerules (common-clean): Also remove gen-as-const-headers
23331 files.
23332
c1820385
JM
233332012-04-24 Joseph Myers <joseph@codesourcery.com>
23334
23335 * Makerules (native-compile): Do not change working directory for
23336 build. Use $(OUTPUT_OPTION) in command.
23337 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
23338
94e02fc4
AZ
233392012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23340
23341 [BZ #13886]
23342 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
23343 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
23344 * math/libm-test.inc (floor_test): Add more tests.
23345 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
23346
3a533ca3
JM
233472012-04-24 Joseph Myers <joseph@codesourcery.com>
23348
940ab4b3
JM
23349 * sysdeps/unix/getdents.c: Remove file.
23350 * sysdeps/unix/sysv/getdents.c: Likewise.
23351 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
23352
90e037bd
JM
23353 * sysdeps/unix/syscalls.list (madvise): Add syscall from
23354 sysdeps/unix/mman/syscalls.list.
23355 (mmap): Likewise.
23356 (mprotect): Likewise.
23357 (msync): Likewise.
23358 (munmap): Likewise.
23359 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
23360 * sysdeps/unix/mman/syscalls.list: Remove.
23361 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
23362
3a533ca3
JM
23363 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
23364 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
23365 * configure: Regenerated.
23366 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
23367 $(libgcc_s_suffix).
23368 * config.make.in (libgcc_s_suffix): Remove variable.
23369
1ad743de
JM
233702012-04-23 Joseph Myers <joseph@codesourcery.com>
23371
4ad451e2
JM
23372 * sysdeps/unix/sysv/gethostname.c: Move to ...
23373 * sysdeps/posix/gethostname.c: ... here.
23374
5e37ce39
JM
23375 * sysdeps/unix/execve.S: Remove file.
23376
1ad743de
JM
23377 * sysdeps/unix/_exit.S: Remove file.
23378
4e681b5b
AJ
233792012-04-23 Andreas Jaeger <aj@suse.de>
23380
23381 [BZ #13739]
23382 * manual/Makefile: Remove make dist support, there's no
23383 need for a stand-alone documentation tar ball.
23384 (TEXI2DVI): Define always, it's not in Makeconfig.
23385 (dist): Removed.
23386 (tar-it): Removed.
23387 (edition): Removed.
23388 (glibc-doc-$(edition).tar): Removed
23389 (%.Z): Removed.
23390 (%.gz): Removed.
23391 (%.uu): Removed.
23392 (ETAGS): Remove, it's in Makeconfig.
23393 (move-if-change): Remove, it's in Makeconfig.
23394
38686a03 233952012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
23396
23397 [BZ #13970]
23398 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
23399 (strtod, strtof, strtold, strtol, strtoul, strtoq)
23400 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
23401 (strtod_l, strtof_l, strtold_l): Remove __wur.
23402 It is not necessarily an error to ignore strtol's return value.
23403 One can reliably look at the stored endptr to decide whether
23404 the number had valid syntax.
23405
7c0616fa
AJ
234062012-04-21 Andreas Jaeger <aj@suse.de>
23407
803cb6b7 23408 [BZ #13739]
7c0616fa
AJ
23409 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
23410
b0fe253f
JM
234112012-04-21 Joseph Myers <joseph@codesourcery.com>
23412
23413 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
23414 * sysdeps/unix/sysv/Versions: Remove file.
23415
8280f22d
MT
234162012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
23417
23418 [BZ #13927]
23419 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23420
75ce411f 234212012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
23422
23423 [BZ #7064]
23424 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
23425 version from __vm86.
23426
097d59fa
JM
234272012-04-20 Joseph Myers <joseph@codesourcery.com>
23428
a90f3bcb
JM
23429 * sysdeps/unix/common/lxstat.c: Remove file.
23430 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
23431
edc7ea78
JM
23432 * sysdeps/unix/sysv/Makefile: Remove file.
23433
cb78c221
JM
23434 * sysdeps/unix/sysv/direct.h: Remove file.
23435
efa6a45f
JM
23436 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
23437 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
23438 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
23439 * sysdeps/unix/sysv/bits/signum.h: Likewise.
23440 * sysdeps/unix/sysv/bits/stat.h: Likewise.
23441 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
23442 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
23443
9c9f2d0c
JM
23444 * sysdeps/unix/sysv/setrlimit.c: Remove file.
23445
4541c83b
JM
23446 * sysdeps/unix/xmknod.c: Remove file.
23447 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
23448
f5d153a0
JM
23449 * sysdeps/unix/sysv/settimeofday.c: Remove file.
23450
aa746595
JM
23451 * sysdeps/unix/sysv/i386/time.S: Remove file.
23452
cce5905e
JM
23453 * sysdeps/unix/fxstat.c: Remove file.
23454 * sysdeps/unix/xstat.c: Likewise.
23455 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
23456
37fa3841
JM
23457 * sysdeps/unix/sysv/sigaction.c: Remove file.
23458
ff1962a3
JM
23459 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
23460 (sysdep_headers): Remove variable.
23461 [termio.h not in sysdep_headers] (generated): Likewise.
23462 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
23463 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
23464 * sysdeps/unix/sysv/tcdrain.c: Likewise.
23465 * sysdeps/unix/sysv/tcflow.c: Likewise.
23466 * sysdeps/unix/sysv/tcflush.c: Likewise.
23467 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
23468 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
23469 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
23470 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
23471 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
23472
e7740d31
JM
23473 * sysdeps/unix/siglist.c: Remove file.
23474
ee06f18b
JM
23475 * sysdeps/unix/getppid.S: Remove file.
23476
097d59fa
JM
23477 * sysdeps/unix/mkdir.c: Remove file.
23478 * sysdeps/unix/rmdir.c: Likewise.
23479
ff3d51ec
AS
234802012-04-19 Andreas Schwab <schwab@linux-m68k.org>
23481
23482 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
23483 ERR_MAX value.
23484 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
23485 errlist-compat value.
23486
50f81fd7
DM
234872012-04-18 David S. Miller <davem@davemloft.net>
23488
23489 * sysdeps/generic/memcopy.h (reg_char): Delete.
23490 * debug/strcat_chk.c: Use char, not reg_char.
23491 * debug/strcpy_chk.c: Likewise.
23492 * debug/strncat_chk.c: Likewise.
23493 * debug/strncpy_chk.c: Likewise.
23494 * string/memchr.c: Likewise.
23495 * string/memrchr.c: Likewise.
23496 * string/rawmemchr.c: Likewise.
23497 * string/strcat.c: Likewise.
23498 * string/strchr.c: Likewise.
23499 * string/strchrnul.c: Likewise.
23500 * string/strcmp.c: Likewise.
23501 * string/strcpy.c: Likewise.
23502 * string/strncat.c: Likewise.
23503 * string/strncmp.c: Likewise.
23504 * string/strncpy.c: Likewise.
23505
8ff41c46
WS
235062012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23507
23508 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
23509 __builtin_memcopy is called when src and dest ranges are known to not
23510 overlap.
23511
6b652f46
WS
235122012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23513
23514 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
23515 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
23516 fwd_align_merge macro call.
23517 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
23518 bwd_align_merge macro call.
23519 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23520
b282631e
WS
235212012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23522
23523 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
23524 bwd_align_merge macros.
23525 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
23526 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
23527 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23528
95aa737c
DM
235292012-04-18 David S. Miller <davem@davemloft.net>
23530
23531 * sysdeps/sparc/sparc64/memcopy.h: Delete.
23532
7a99a614
AJ
235332012-04-18 Andreas Jaeger <aj@suse.de>
23534
23535 [BZ# 6794]
23536 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
23537 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
23538 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23539
23540 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
23541 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
23542 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23543
23544 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
23545 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
23546 Adjust for changed ldbl-128 files.
23547
23548 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
23549 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
23550 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23551
e5270c23
DM
235522012-04-17 David S. Miller <davem@davemloft.net>
23553
23554 * sysdeps/sparc/sparc32/memcopy.h: Delete.
23555
fb5e92c9
AS
235562012-04-17 Andreas Schwab <schwab@linux-m68k.org>
23557
23558 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
23559 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
23560 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
23561 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
23562 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23563 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
23564
76da7265
AZ
235652012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23566
23567 [BZ #6794]
23568 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
23569 * math/libm-test.inc: Add ilogb errno and exception tests.
23570 * math/w_ilogb.c: New file: ilogb wrapper.
23571 * math/w_ilogbf.c: New file: ilogbf wrapper.
23572 * math/w_ilogbl.c: New file: ilogbl wrapper.
23573 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
23574 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
23575 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
23576 exception being thrown with 0.0 as argument.
23577 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
23578 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
23579 exception being thrown with 0.0 as argument.
23580 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
23581 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23582 exception being thrown with 0.0 as argument.
23583 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
23584 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23585 exception being thrown with 0.0 as argument.
23586 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
23587 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 23588 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
23589 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
23590 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
23591 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
23592 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
23593 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
23594 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
23595
0396e69d
PB
235962012-04-17 Petr Baudis <pasky@ucw.cz>
23597
23598 * include/sys/uio.h: Change __vector to __iovec to avoid clash
23599 with altivec.
23600
750b5926
MP
236012012-04-16 Marek Polacek <polacek@redhat.com>
23602
23603 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
23604
751728a1
MP
236052012-04-16 Marek Polacek <polacek@redhat.com>
23606
23607 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
23608 operands of fdivp instruction.
23609
34a27407
L
236102012-04-13 H.J. Lu <hongjiu.lu@intel.com>
23611
23612 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
23613 * elf/tst-auditmod3b.c: Likewise.
23614 * elf/tst-auditmod4b.c: Likewise.
23615 * elf/tst-auditmod5b.c: Likewise.
23616 * elf/tst-auditmod6b.c: Likewise.
23617 * elf/tst-auditmod6c.c: Likewise.
23618 * elf/tst-auditmod7b.c: Likewise.
23619 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
23620 * sysdeps/x86_64/preconfigure.in: Likewise.
23621 * sysdeps/x86_64/preconfigure: Regenerated.
23622
7e73e17d
L
236232012-04-13 H.J. Lu <hongjiu.lu@intel.com>
23624
23625 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
23626 __ILP32__.
23627
c7a6ab72
AB
236282012-04-13 Antoine Balestrat <merkil33@gmail.com>
23629
23630 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23631 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
23632
a9e8e0e0
CL
236332012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
23634
23635 [BZ #13973]
23636 * locale/iso-639.def: Fix gl language name. Spotted by
23637 Yaron Shahrabani.
23638
ec98af7d
RM
236392012-04-12 Roland McGrath <roland@hack.frob.com>
23640
23641 [BZ #2074]
23642 * libio/libio.h (__io_write_fn): Update comment.
23643
247c3ede
PB
236442012-04-12 Petr Baudis <pasky@ucw.cz>
23645
23646 [BZ #2074]
23647 * stdio.texi (Hook Functions): The user provided writer function
23648 is not allowed to return -1.
23649
55939d6d
DM
236502012-04-11 David S. Miller <davem@davemloft.net>
23651
23652 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23653
90020f5a
MF
236542012-04-11 Mike Frysinger <vapier@gentoo.org>
23655
23656 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
23657 Add a leading slash to rtkaio.
23658
288f9098
JM
236592012-04-11 Jim Meyering <meyering@redhat.com>
23660
90020f5a
MF
23661 [BZ #11959]
23662 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
23663 It is not necessarily an error to ignore fwrite's return
23664 value. One can reliably use ferror to test for errors after
23665 the fact.
288f9098 23666
4be2b570
L
236672012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23668
23669 * bits/types.h (__snseconds_t): New type.
23670 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
23671
23672 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
23673 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23674 (__SNSECONDS_T_TYPE): Likewise.
23675 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23676 (__SNSECONDS_T_TYPE): Likewise.
23677 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23678 (__SNSECONDS_T_TYPE): Likewise.
23679
288f9098 236802012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
23681
23682 [BZ #2636]
23683 * manual/time.texi (Processor Time): Return type of times is
23684 elapsed real time since an arbitrary point in the past.
23685 (CPU Time): Move CLK_TCK from here...
23686 (Processor Time): ...to here. Correct description.
23687 * manual/conf.texi (Constants for Sysconf): Correct description of
23688 _SC_CLK_TCK.
23689
d7dd4413
DM
236902012-04-10 David S. Miller <davem@davemloft.net>
23691
23692 [BZ #13967]
23693 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
23694 where the is a gap between DT_REL(A) and DT_JMPREL.
23695
b46068fc
L
236962012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23697
23698 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
23699 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23700 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23701
73d65cc3
SP
237022012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23703
23704 * elf/dl-support.c (_dl_inhibit_cache): New variable.
23705 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
23706 (dl_main): Handle --inhibit-cache.
23707 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
23708 _dl_inhibit_cache.
23709 * elf/dl-load.c (_dl_map_object): Use it.
23710 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
23711
bcc8d661
JM
237122012-04-09 Joseph Myers <joseph@codesourcery.com>
23713
8f9a2fae
JM
23714 [BZ #13872]
23715 * sysdeps/i386/fpu/e_powl.S (p78): New object.
23716 (__ieee754_powl): Saturate large exponents rather than testing for
23717 overflow of y*log2(x).
23718 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23719 * math/libm-test.inc (pow_test): Do not permit spurious overflow
23720 exceptions.
23721
bcc8d661
JM
23722 [BZ #11521]
23723 * math/s_ctan.c: Include <float.h>.
23724 (__ctan): Avoid internal overflow or cancellation in calculating
23725 denominator.
23726 * math/s_ctanf.c: Likewise.
23727 * math/s_ctanl.c: Likewise.
23728 * math/s_ctanh.c: Likewise.
23729 * math/s_ctanhf.c: Likewise.
23730 * math/s_ctanhl.c: Likewise.
23731 * math/libm-test.inc (ctan_test): Add more tests.
23732 (ctanh_test): Likewise.
23733 * sysdeps/i386/fpu/libm-test-ulps: Update.
23734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23735
823fbbb4
AJ
237362012-04-09 Andreas Jaeger <aj@suse.de>
23737
03879793
AJ
23738 [BZ #6894]
23739 * manual/filesys.texi (Directory Entries): Mention that d_namlen
23740 is an optional BSD extension.
23741
823fbbb4
AJ
23742 [BZ #10254]
23743 * manual/stdio.texi (Opening Streams): Document additional fopen
23744 parameters.
23745
8de131cb
RM
237462012-04-09 Roland McGrath <roland@hack.frob.com>
23747
23748 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
23749 %eax without telling the compiler.
23750
c0ed9d7d
CD
237512012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
23752
23753 [BZ # 13963]
23754 * manual/install.texi: Use sourceware.org.
23755
c483f6b4
JM
237562012-04-09 Joseph Myers <joseph@codesourcery.com>
23757
d7dd9453
JM
23758 [BZ #13873]
23759 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
23760 (__ieee754_pow): Generate overflow and underflow using huge*huge
23761 and tiny*tiny rather than just returning constant infinity or zero
23762 for large exponents.
23763 * math/libm-test.inc (pow_test): Require overflow exceptions for
23764 applicable cases of large exponents.
23765
c483f6b4
JM
23766 [BZ #706]
23767 * sysdeps/i386/fpu/e_pow.S (p10): New object.
23768 (__ieee754_pow): Use iterative multiplication algorithm only for
23769 integer exponents with absolute value below 1024. Check for odd
23770 integer exponents when using algorithm for real exponents.
23771 * math/libm-test.inc (pow_test): Add more tests.
23772 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23773
d2de7579
JM
237742012-04-08 Joseph Myers <joseph@codesourcery.com>
23775
23776 [BZ #13705]
23777 * math/libm-test.inc (exp_test): Do not allow overflow exception
23778 on underflow test.
23779
f77f1232
AJ
237802012-04-08 Aurelien Jarno <aurelien@aurel32.net>
23781
23782 [BZ #13705]
23783 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
23784 instead of __kernel_standard_f.
23785
3884932b
MF
237862012-04-08 Mike Frysinger <vapier@gentoo.org>
23787
23788 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
23789 * sysdeps/x86_64/memset_chk.S: Likewise.
23790
54472e9c
AJ
237912012-04-08 Andreas Jaeger <aj@suse.de>
23792
6ab0fbfc
AJ
23793 [BZ #10153]
23794 * manual/startup.texi (Environment Access): Describe return value
23795 for putenv and setenv.
23796
61efba8c
AJ
23797 [BZ #6895]
23798 * manual/filesys.texi (Directory Entries): Add description for
23799 DT_LNK.
23800
95c3f29a
AJ
23801 [BZ #6890]
23802 * manual/filesys.texi (Directory Entries): Clarify that it's file
23803 system not operating system in the description of DT_UNKNOWN.
23804
54472e9c
AJ
23805 [BZ #6578]
23806 * manual/syslog.texi (closelog): Fix reference, it's openlog.
23807
624254b1
SC
238082012-04-08 Stephen Compall <s11@member.fsf.org>
23809
23810 [BZ #6649]
23811 * manual/llio.texi (Opening and Closing Files): Add cross
23812 reference to explain mode argument.
23813
1e4920e0
MF
238142012-04-07 Mike Frysinger <vapier@gentoo.org>
23815
23816 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
23817 * sysdeps/x86_64/memset_chk.S: Likewise.
23818
5ed848f3
DM
238192012-04-07 David S. Miller <davem@davemloft.net>
23820
23821 * elf/elf.h (R_SPARC_WDISP10): Define.
23822 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
23823 R_SPARC_SIZE32.
23824 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
23825 R_SPARC_SIZE64 and R_SPARC_H34.
23826
96154cd8
CD
238272012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
23828
23829 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
23830 conditions and remove no longer applicable assertion.
23831
9904dc47
L
238322012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23833
23834 * bits/byteswap.h: Include <features.h>.
23835 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23836 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23837
f8887d0a
L
238382012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23839
23840 * bits/byteswap.h (__bswap_16): Removed.
23841 Include <bits/byteswap-16.h> to get __bswap_16.
23842 * sysdeps/i386/bits/byteswap.h: Likewise.
23843 * sysdeps/s390/bits/byteswap.h: Likewise.
23844 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23845 * bits/byteswap-16.h: New file.
23846 * sysdeps/i386/bits/byteswap-16.h: Likewise.
23847 * sysdeps/s390/bits/byteswap-16.h: Likewise.
23848 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
23849 * string/Makefile (headers): Add bits/byteswap-16.h.
23850
62470f60
PP
238512012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23852
23853 [BZ #13895]
23854 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
23855 extra indirection.
23856 * nss/Makefile (tests-static, tests): Add tst-nss-static.
23857 * nss/tst-nss-static.c: New.
23858
4dad7bab
RM
238592012-04-06 Robert Millan <rmh@gnu.org>
23860
23861 [BZ #6486]
23862 * manual/llio.texi (File Position Primitive): lseek
23863 refers to WHENCE when it really means OFFSET.
23864
e9142a17
AJ
238652012-04-06 Andreas Jaeger <aj@suse.de>
23866
2c040eff
AJ
23867 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
23868 strncmp declarations.
23869
e9142a17
AJ
23870 * abilist/libc.abilist: Add __poll and __ppoll.
23871
ff9f1c5f
DM
238722012-04-05 David S. Miller <davem@davemloft.net>
23873
dcd2ae90
DM
23874 * scripts/check-local-headers.sh: Accept a host triplet in the
23875 path matched by the exclude regexp.
23876
993eb054
DM
23877 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
23878 definition.
23879 * sysdeps/powerpc/powerpc32/dl-machine.h
23880 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
23881 * sysdeps/s390/s390-32/dl-machine.h
23882 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23883 * sysdeps/sparc/sparc32/dl-machine.h
23884 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23885 * sysdeps/sparc/sparc64/dl-machine.h
23886 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23887
ff9f1c5f
DM
23888 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
23889 lazy binding.
48e2e132 23890 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
23891 undefined symbol errors.
23892
48e2e132 23893 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
23894 DT_NEEDED entries.
23895
e80d6f94
MM
238962012-04-05 Michael Matz <matz@suse.de>
23897
23898 [BZ #13592]
23899 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
23900
349fa79f
AJ
239012012-04-05 Andreas Jaeger <aj@suse.de>
23902
23903 [BZ #13908]
23904 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
23905 comment.
23906
f402708f
KK
239072012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23908
23909 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
23910 which ROUND is no valid rounding mode.
23911
2ecccfc9
KK
239122012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23913
23914 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
23915 read again.
23916 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
23917
8a53f50f
KK
239182012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23919
23920 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
23921 an exception using FPU order intentionally.
23922
239232012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23924
23925 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
23926 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
23927 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
23928 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
23929
d653abb7
SJ
239302012-04-05 Simon Josefsson <simon@josefsson.org>
23931
23932 [BZ #12340]
23933 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
23934 EINVAL when BUFLEN is too smal.
23935
c3b1bf7d
TS
239362012-04-05 Thomas Schwinge <thomas@codesourcery.com>
23937
23938 [BZ #13553]
23939 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
23940 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
23941
b1aa60f3
AJ
239422012-04-03 Andreas Jaeger <aj@suse.de>
23943
c3b1bf7d 23944 [BZ #13938]
67f60a26
AJ
23945 * manual/setjmp.texi (System V contexts): Fix sentence.
23946
b1aa60f3
AJ
23947 [BZ #13926]
23948 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
23949 New macro for this case.
23950 [!__GNUC__] (__bswap_64): New inline function for this case.
23951 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23952 * bits/byteswap.h: Likewise.
23953 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
23954 ull, guard with __GLIBC_HAVE_LONG_LONG.
23955
23956 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
23957 __GLIBC_HAVE_LONG_LONG.
23958
23959 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
23960 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
23961
39c59c35
TMQMF
239622012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23963
23964 [BZ #13691]
23965 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
23966 inptr and inend, rather than using last_ch.
23967
135ffda8
DM
239682012-04-02 David S. Miller <davem@davemloft.net>
23969
23970 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
23971 * stdio-common/printf-parse.h (read_int): Change return type to
23972 'int', return -1 on INT_MAX overflow.
23973 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
23974 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
23975 overflows INT_MAX. Check for overflow of in-format-string precision
23976 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
23977 SIZE_MAX not INT_MAX for integer overflow test.
23978 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
23979 skip the construct in the format string but do not record anything.
23980 * stdio-common/bug22.c: Adjust to test both width/prevision
23981 INT_MAX overflow as well as total length INT_MAX overflow. Check
23982 explicitly for proper errno values.
23983
228c019e
TS
239842012-04-02 Thomas Schwinge <thomas@codesourcery.com>
23985
302cadd3
TS
23986 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
23987 CHAR_MAX.
23988 * string/test-strcmp.c [! WIDE]: Likewise.
23989 * time/tst-mktime2.c: Likewise for INT_MAX.
23990 * string/test-string.h: #include <sys/param.h> for MIN.
23991
228c019e
TS
23992 * csu/init-first.c (__libc_init_first): Call __ctype_init.
23993 * sysdeps/i386/init-first.c (init): Likewise.
23994 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
23995 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
23996 * sysdeps/sh/init-first.c (init): Likewise.
23997
cfa633f5
UD
239982012-04-01 Ulrich Drepper <drepper@gmail.com>
23999
24000 * po/ru.po: Update from translation team.
d1635ef8 24001 * po/vi.po: Likewise.
cfa633f5 24002
6cd0a5ea
SP
240032012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
24004
24005 * resolv/nss_dns/dns-host.c: Merge copyright years.
24006
4b43400f
LD
240072012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24008
24009 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
24010 Optimize memcpy with prefetch if
24011 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
24012 src, dst pointers have unequal 16 byte alignments.
24013
48c41d04
SP
240142012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24015
24016 [BZ #13928]
24017 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
24018 from a CNAME entry and return the minimum ttl for the query.
24019 (gaih_getanswer_slice): Likewise.
24020
b8dc394d
JL
240212012-03-30 Jeff Law <law@redhat.com>
24022
24023 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
24024 due to long keys.
24025 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
24026 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
24027
2f5a5ed0
JL
24028 * resolv/nss_dns/dns-host.c: Update copyright year.
24029
1d39e359
UD
240302012-03-30 Ulrich Drepper <drepper@gmail.com>
24031
c030f70c 24032 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 24033 requests to save a system call. Fix check that all bytes are sent.
c030f70c 24034
1d39e359
UD
24035 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
24036 comments for sendmmsg.
24037
240382012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
24039
24040 [BZ #13691]
24041 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
24042 with only 1 character between 0x0041 and 0x01b0.
24043 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
24044 * wcsmbs/tst-mbsnrtowcs.c: New file.
24045
20fde227
DM
240462012-03-29 David S. Miller <davem@davemloft.net>
24047
24048 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
24049 small copies by hand.
24050
984a4237
JL
240512012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24052
24053 [BZ #13761]
24054 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
24055 _nss_compat_initgroups_dyn): Fall back to malloc/free
24056 for large group memberships.
24057
18c9d62b
DM
240582012-03-28 David S. Miller <davem@davemloft.net>
24059
88d85d4f
DM
24060 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
24061 that branches into memcpy.
24062 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24063 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
24064 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24065 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
24066 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
24067 bits.
24068 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
24069 implementation too.
24070 * sysdeps/sparc/mempcpy.S: New file.
24071
e5aa83e1
DM
24072 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
24073 the IFUNC routine in the libc case.
24074 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24075
88570753
DM
24076 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
24077 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
24078 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
24079 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
24080 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
24081 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
24082 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
24083 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
24084
249d7567
DM
24085 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
24086 loop to 256 bytes instead of 64 bytes and fix test signedness.
24087
18c9d62b
DM
24088 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
24089 * sysdeps/sparc/sparc32/Makefile: rather than here...
24090 * sysdeps/sparc/sparc64/Makefile: and here.
24091
05f3d1f6
UD
240922012-03-28 Ulrich Drepper <drepper@gmail.com>
24093
24094 * malloc/mallocbug.c: Avoid warnings about unused variables.
24095
86ae07a8
JL
240962012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24097
24098 [BZ #13760]
24099 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
24100 in the right place. Discard and retry query if response is
24101 larger than input buffer size.
24102
41bf21a1
JM
241032012-03-28 Joseph Myers <joseph@codesourcery.com>
24104
d6270972
JM
24105 [BZ #369]
24106 [BZ #2678]
24107 [BZ #3866]
24108 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
24109 x for large integer exponent.
24110 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
24111 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
24112 sign of result as needed afterwards.
24113 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
24114 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
24115 result for underflowing pow the same as for overflow.
24116 (__kernel_standard_l): Handle powl overflow and underflow here
24117 rather than calling __kernel_standard.
24118 * math/libm-test.inc (pow_test): Add more tests.
24119
414fca03 24120 [BZ #3868]
41bf21a1
JM
24121 [BZ #13879]
24122 [BZ #13910]
24123 [BZ #13911]
24124 [BZ #13912]
24125 [BZ #13913]
24126 [BZ #13915]
24127 [BZ #13916]
24128 [BZ #13917]
24129 [BZ #13918]
24130 [BZ #13919]
24131 [BZ #13920]
24132 [BZ #13921]
24133 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
24134 * sysdeps/ieee754/k_standard.c: Include <float.h>.
24135 (__kernel_standard_l): New function.
24136 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
24137 __kernel_standard.
24138 * math/w_acosl.c (__acosl): Likewise.
24139 * math/w_asinl.c (__asinl): Likewise.
24140 * math/w_atan2l.c (__atan2l): Likewise.
24141 * math/w_atanhl.c (__atanhl): Likewise.
24142 * math/w_coshl.c (__coshl): Likewise.
24143 * math/w_exp10l.c (__exp10l): Likewise.
24144 * math/w_exp2l.c (__exp2l): Likewise.
24145 * math/w_fmodl.c (__fmodl): Likewise.
24146 * math/w_hypotl.c (__hypotl): Likewise.
24147 * math/w_j0l.c (__j0l, __y0l): Likewise.
24148 * math/w_j1l.c (__j1l, __y1l): Likewise.
24149 * math/w_jnl.c (__jnl, __ynl): Likewise.
24150 * math/w_lgammal.c (__lgammal): Likewise.
24151 * math/w_log10l.c (__log10l): Likewise.
24152 * math/w_log2l.c (__log2l): Likewise.
24153 * math/w_logl.c (__logl): Likewise.
24154 * math/w_powl.c (__powl): Likewise.
24155 * math/w_remainderl.c (__remainderl): Likewise.
24156 * math/w_scalbl.c (sysv_scalbl): Likewise.
24157 * math/w_sinhl.c (__sinhl): Likewise.
24158 * math/w_sqrtl.c (__sqrtl): Likewise.
24159 * math/w_tgammal.c (__tgammal): Likewise.
24160 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
24161 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
24162 * math/libm-test.inc (acos_test): Add more tests.
24163 (acosh_test): Likewise.
24164 (asin_test): Likewise.
24165 (atanh_test): Likewise.
24166 (exp_test): Likewise.
24167 (exp10_test): Likewise.
24168 (exp2_test): Likewise.
24169 (expm1_test): Likewise.
24170 (lgamma_test): Likewise.
24171 (log_test): Likewise.
24172 (log10_test): Likewise.
24173 (log1p_test): Likewise.
24174 (log2_test): Likewise.
24175 (pow_test): Do not allow some spurious overflow exceptions.
24176 (sqrt_test): Add more tests.
24177 (tgamma_test): Likewise.
24178 (y0_test): Likewise.
24179 (y1_test): Likewise.
24180 (yn_test): Likewise.
24181
dd62fda6
AB
241822012-03-27 Anton Blanchard <anton@samba.org>
24183
24184 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
24185 MAP_HUGETLB.
24186 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24187 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24188 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24189
1e3cdfda
AJ
241902012-03-27 David S. Miller <davem@davemloft.net>
24191
b855ab85
DM
24192 * conform/Makefile: Run run-conformtest.sh using $(BASH).
24193
1e3cdfda
AJ
24194 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
24195 have-as-vis3 check.
24196
241972012-03-27 Andreas Jaeger <aj@suse.de>
24198
24199 * sysdeps/x86_64/elf/configure.in: Moved to ...
24200 * sysdeps/x86_64/configure.in: ... here.
24201 * sysdeps/x86_64/elf/start.S: Moved to ...
24202 * sysdeps/x86_64/start.S: ... here.
24203 * sysdeps/x86_64/elf/configure: Delete.
24204
24205 * sysdeps/x86_64/configure.in: Merge contents from
24206 sysdeps/i386/configure.in (without i686 check).
24207
24208 * sysdeps/i386/elf/Versions: Merge into ...
24209 * sysdeps/i386/Versions: ... this.
24210 * sysdeps/i386/elf/Versions: Delete file.
24211 * sysdeps/i386/elf/start.S: Moved to ...
24212 * sysdeps/i386/start.S: ...here.
24213 * sysdeps/i386/elf/configure.in: Merge into...
24214 * sysdeps/i386/configure.in: ...here.
24215 * sysdeps/i386/elf/configure.in: Delete file.
24216 * sysdeps/i386/elf/configure: Delete file.
24217
24218 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
24219 * debug/backtracesyms.c: ... here.
24220 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
24221 * debug/backtracesymsfd.c: ... here.
24222 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
24223 * sysdeps/generic/ifunc-sel.h: ... here.
24224
24225 * sysdeps/unix/i386/start.c: Delete file.
24226 * sysdeps/unix/sparc/start.c: Delete file.
24227 * sysdeps/unix/start.c: Delete file.
24228
24229 * sysdeps/sh/elf/configure.in: Moved to ...
24230 * sysdeps/sh/configure.in: ... here.
24231 * sysdeps/sh/elf/start.S: Moved to ...
24232 * sysdeps/sh/start.S: ... here.
24233 * sysdeps/sh/elf/configure: Delete file.
24234
24235 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
24236 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
24237 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
24238 * sysdeps/powerpc/powerpc64/entry.h: ... here.
24239 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
24240 * sysdeps/powerpc/powerpc64/start.S: here.
24241 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
24242 * sysdeps/powerpc/powerpc64/Makefile: ... this.
24243 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
24244 * sysdeps/powerpc/powerpc64/configure.in: ... this.
24245 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
24246
24247 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
24248 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
24249 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
24250 * sysdeps/powerpc/powerpc32/start.S: ... here.
24251 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
24252 * sysdeps/powerpc/powerpc32/configure.in: ... this.
24253 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
24254
24255 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
24256 * sysdeps/powerpc/ifunc-sel.h: ... here.
24257 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
24258 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
24259
24260 * sysdeps/sparc/elf/configure.in: Moved to ...
24261 * sysdeps/sparc/configure.in: ... here.
24262 * sysdeps/sparc/elf/configure: Delete file.
24263 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
24264 * sysdeps/sparc/sparc32/start.S: ... here.
24265 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
24266 * sysdeps/sparc/sparc64/start.S: ... here.
24267 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
24268 * sysdeps/sparc/sparc32/Makefile: ... this.
24269 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
24270 * sysdeps/sparc/sparc64/Makefile: ... this.
24271
24272 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
24273 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
24274 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
24275 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
24276 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
24277 * sysdeps/s390/s390-32/setjmp.S: ... here.
24278 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
24279 * sysdeps/s390/s390-32/configure.in: ... here.
24280 * sysdeps/s390/s390-32/elf/configure: Delete file.
24281 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
24282 * sysdeps/s390/s390-32/start.S: ... here.
24283
24284 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
24285 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
24286 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
24287 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
24288 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
24289 * sysdeps/s390/s390-64/setjmp.S: ... here.
24290 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
24291 * sysdeps/s390/s390-64/configure.in: ... here
24292 * sysdeps/s390/s390-64/elf/configure: Delete file.
24293 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
24294 * sysdeps/s390/s390-64/start.S: ... here.
24295 * sysdeps/s390/s390-64/elf/configure: Delete.
24296
24297 * configure.in: Remove support for elf directories in sysdeps.
24298
24299 * configure: Regenerated.
24300 * sysdeps/i386/configure: Regenerated.
24301 * sysdeps/powerpc/powerpc32/configure: Regenerated.
24302 * sysdeps/powerpc/powerpc64/configure: Regenerated.
24303 * sysdeps/s390/s390-32/configure: Regenerated.
24304 * sysdeps/s390/s390-64/configure: Regenerated.
24305 * sysdeps/sh/configure: Regenerated.
24306 * sysdeps/sparc/configure: Regenerated.
24307 * sysdeps/x86_64/configure: Regenerated.
24308
a3f61311
AS
243092012-03-26 Andreas Schwab <schwab@linux-m68k.org>
24310
c876e002
AS
24311 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24312
a3f61311
AS
24313 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
24314 denormal result into account.
24315
ac4c54f0
RM
243162012-03-25 Roland McGrath <roland@hack.frob.com>
24317
24318 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
24319 Reported by Allan McRae <allan@archlinux.org>.
24320
6a9b9c02
JL
243212012-03-23 Jeff Law <law@redhat.com>
24322
24323 * nss/getnssent.c (__nss_getent): Fix typo.
24324
4c42a0c1
DM
243252012-03-23 David S. Miller <davem@davemloft.net>
24326
24327 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24328
1532c7ac
L
243292012-03-23 H.J. Lu <hongjiu.lu@intel.com>
24330
24331 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
24332 to pad to uint64_t for each field.
24333 (dl_tls_index): Replace unsigned long with uint64_t.
24334
3ff42526
PP
243352012-03-23 Daniel Jacobowitz <dmj@google.com>
24336 Paul Pluzhnikov <ppluzhnikov@google.com>
24337
24338 [BZ #6528]
24339 * grp/Makefile (otherlibs): Don't set it.
24340 * inet/Makefile (otherlibs): Likewise.
24341 * login/Makefile (otherlibs): Likewise.
24342 * nscd/Makefile (otherlibs): Likewise.
24343 * posix/Makefile (otherlibs): Likewise.
24344 * pwd/Makefile (otherlibs): Likewise.
24345 * rt/Makefile (otherlibs): Likewise.
24346 * sunrpc/Makefile (otherlibs): Likewise.
24347 * nss/Makefile (otherlibs): Likewise.
24348 Add libnss_files to routines and static-only-routines.
24349 ($(objpfx)getent): Remove rule.
24350 * resolv/Makefile: Add libnss_dns and libresolv to routines and
24351 static-only-routines.
24352
7c69cd14
JM
243532012-03-22 Joseph Myers <joseph@codesourcery.com>
24354
24355 [BZ #13892]
24356 * math/s_cexp.c: Include <float.h>.
24357 (__cexp): Handle exp result overflowing not necessarily
24358 overflowing both real and imaginary parts of result.
24359 * math/s_cexpf.c: Likewise.
24360 * math/s_cexpl.c: Likewise.
24361 * math/libm-test.inc (cexp_test): Add more tests.
24362 * sysdeps/i386/fpu/libm-test-ulps: Update.
24363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24364
81b035fe
L
243652012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24366
24367 * include/link.h (ELFW): New macro.
24368 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
24369 Replace ELF64_R_TYPE with ELFW(R_TYPE).
24370
1da7940c
L
243712012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24372
24373 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
24374 with uint64_t.
24375
b749dbb9
L
243762012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24377
24378 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
24379 declaration.
24380 (struct La_x32_retval): Likewise.
24381
2ff87f3f
L
243822012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24383
24384 * sysdeps/x86_64/preconfigure.in: New file.
24385 * sysdeps/x86_64/preconfigure: New generated file.
24386
c0df8e69
JM
243872012-03-22 Joseph Myers <joseph@codesourcery.com>
24388
48e44791
JM
24389 [BZ #13824]
24390 * math/e_exp2l.c: Include <float.h>.
24391 (__ieee754_exp2l): Handle overflow and underflow cases
24392 separately. Only pass fractional part of argument to
24393 __ieee754_expl.
24394 * math/libm-test.inc (exp2_test): Add more tests.
24395
c0df8e69
JM
24396 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
24397 negating x to take absolute value.
24398 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
24399 Likewise.
24400 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24401 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
24402 Likewise.
24403 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
24404 computing low part if x was negated.
24405 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24406
c8e43ba7
L
244072012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24408
24409 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
24410 la_x32_gnu_pltexit.
24411 (pltexit): Cast int_retval to ptrdiff_t.
24412 * elf/tst-auditmod3b.c: Likewise.
24413 * elf/tst-auditmod4b.c: Likewise.
24414 * elf/tst-auditmod5b.c: Likewise.
24415 * elf/tst-auditmod6b.c: Likewise.
24416 * elf/tst-auditmod6c.c: Likewise.
24417 * elf/tst-auditmod7b.c: Likewise.
24418
24419 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
24420 and x32_gnu_pltexit.
24421
24422 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
24423 __ELF_NATIVE_CLASS.
24424 (La_x32_regs): New macro.
24425 (La_x32_retval): Likewise.
24426 (la_x32_gnu_pltenter): New function prototype.
24427 (la_x32_gnu_pltexit): Likewise.
24428
7998fa78
AS
244292012-03-21 Andreas Schwab <schwab@linux-m68k.org>
24430
dcb33988
AS
24431 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
24432 exponent.
24433
233fc563
AS
24434 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24435
7998fa78
AS
24436 * configure.in (libc_cv_cc_nofma): Check for option to disable
24437 generation of FMA instructions.
24438 * configure: Regenerate.
24439 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
24440 * sysdeps/ieee754/dbl-64/Makefile: New file.
24441 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24442 Remove brandred-fma4.
24443 (CFLAGS-brandred-fma4.c): Remove.
24444 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
24445 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
24446 define.
24447 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
24448 define.
24449
8e95c99a
L
244502012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24451
24452 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24453 LLONG_MAX != LONG_MAX.
24454 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24455 (_fitoa_word): Likewise.
24456 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
24457 LLONG_MAX != LONG_MAX.
24458 * stdio-common/_itowa.h: Include <_itoa.h>.
24459 (_itowa_word): Use _ITOA_WORD_TYPE on value.
24460 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
24461 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
24462 only if not defined.
24463 (_ITOA_WORD_TYPE): Likewise.
24464 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24465 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
24466
6f4db457
DM
244672012-03-21 David S. Miller <davem@davemloft.net>
24468
24469 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24470
7785fe5a
L
244712012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24472
24473 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
24474 of x86_64 when setting libc_cv_slibdir, libdir and
24475 libc_cv_localedir.
24476 * sysdeps/unix/sysv/linux/configure: Regenerated.
24477
4535cd55
JM
244782012-03-21 Joseph Myers <joseph@codesourcery.com>
24479
24480 * manual/lang.texi (Old Varargs): Remove section.
24481 (How Variadic): Update menu.
24482 (va_start): Do not mention varargs.h.
24483
17228132
TS
244842012-03-21 Thomas Schwinge <thomas@codesourcery.com>
24485 Joseph Myers <joseph@codesourcery.com>
24486
24487 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
24488 link test.
24489 * configure: Regenerated.
24490
8149f976
TS
244912012-03-21 Thomas Schwinge <thomas@codesourcery.com>
24492
05f3d1f6
UD
24493 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
24494 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
24495 conformtest.pl
8149f976 24496
1a4ac776
JM
244972012-03-21 Joseph Myers <joseph@codesourcery.com>
24498
be22ce65
JM
24499 * NOTES: Remove.
24500 * Makefile (files-for-dist): Remove NOTES.
24501 (NOTES): Remove rule.
24502 * README: Don't refer to NOTES.
24503 * manual/creature.texi: Don't include macros.texi.
24504 * manual/intro.texi (creature.texi): Remove comment referring to
24505 NOTES.
24506
40b601fb
JM
24507 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
24508 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
24509 * configure: Regenerated.
24510 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
24511 LIBC_TRY_CC_OPTION.
24512 (libc_cv_as_i686): Likewise.
24513 (libc_cv_cc_avx): Likewise.
24514 (libc_cv_cc_sse2avx): Likewise.
24515 (libc_cv_cc_fma4): Likewise.
24516 (libc_cv_cc_novzeroupper): Likewise.
24517 * sysdeps/i386/configure: Regenerated.
24518
1a4ac776
JM
24519 [BZ #13883]
24520 * sysdeps/i386/fpu/s_cexp.S: Remove.
24521 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24522 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24523 * math/libm-test.inc (cexp_test): Add more tests.
24524 * sysdeps/i386/fpu/libm-test-ulps: Update.
24525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24526
a458e7fe
AM
245272012-03-21 Allan McRae <allan@archlinux.org>
24528
24529 * timezone/Makefile: Do not install iso3166.tab and zone.tab
24530
0cb7efc5
JM
245312012-03-21 Joseph Myers <joseph@codesourcery.com>
24532
24533 [BZ #13871]
24534 * math/w_exp2.c: Do not include <float.h>.
24535 (o_threshold, u_threshold): Remove.
24536 (__exp2): Calculate result before checking finiteness and calling
24537 __kernel_standard.
24538 * math/w_exp2f.c: Likewise.
24539 * math/w_exp2l.c: Likewise.
24540 * math/libm-test.inc (exp2_test): Require overflow exception for
24541 1e6 input.
2460d3aa
JM
24542
24543 [BZ #3866]
24544 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
24545 range of signed 64-bit integers before using fistpll. Remove
24546 checks for whether integers fit in mantissa bits.
24547 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
24548 the range of signed 32-bit integers before using fistpl. Remove
24549 checks for whether integers fit in mantissa bits.
24550 * sysdeps/i386/fpu/e_powl.S (p64): New object.
24551 (__ieee754_powl): Test for y outside the range of signed 64-bit
24552 integers before using fistpll. Reduce 64-bit values to 63-bit
24553 ones as needed.
24554 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
24555 divide-by-zero is raised for zero to large negative powers.
24556 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
24557 (__ieee754_powl): Test for y outside the range of signed 64-bit
24558 integers before using fistpll. Reduce 64-bit values to 63-bit
24559 ones as needed.
24560 * math/libm-test.inc (pow_test): Add more tests.
24561
eb96ffb0
L
245622012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24563
24564 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
24565 <stdio-common/_itoa.h>.
24566 * debug/segfault.c: Likewise.
24567 * elf/dl-cache.c: Likewise.
24568 * elf/dl-minimal.c: Likewise.
24569 * elf/dl-misc.c: Likewise.
24570 * elf/dl-sysdep.c: Likewise.
24571 * elf/dl-version.c: Likewise.
24572 * elf/rtld.c: Likewise.
24573 * hurd/hurdsock.c: Likewise.
24574 * hurd/lookup-retry.c: Likewise.
24575 * malloc/malloc.c: Likewise.
24576 * malloc/mtrace.c: Likewise.
24577 * nscd/nscd_getgr_r.c: Likewise.
24578 * nscd/nscd_getpw_r.c: Likewise.
24579 * nscd/nscd_getserv_r.c: Likewise.
24580 * posix/getopt_init.c: Likewise.
24581 * posix/wordexp.c: Likewise.
24582 * stdio-common/_itoa.c: Likewise.
24583 * stdio-common/printf_fphex.c: Likewise.
24584 * stdio-common/vfprintf.c: Likewise.
24585 * string/_strerror.c: Likewise.
24586 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
24587 * sysdeps/i386/i686/hp-timing.h: Likewise.
24588 * sysdeps/mach/_strerror.c: Likewise.
24589 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
24590 * sysdeps/mach/hurd/sethostid.c: Likewise.
24591 * sysdeps/mach/hurd/xmknodat.c: Likewise.
24592 * sysdeps/mach/xpg-strerror.c: Likewise.
24593 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24594 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24595 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
24596 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
24597 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24598 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
24599 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
24600 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
24601 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
24602 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
24603 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
24604 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24605 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
24606 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24607 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24608 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
24609 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
24610 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
24611 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
24612 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
24613 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
24614
24615 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
24616
24617 * stdio-common/_itoa.h: Moved to ...
24618 * sysdeps/generic/_itoa.h: Here.
24619
24620 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
24621
24622 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
24623 instead of "_itoa.h" and "_itowa.h".
24624 * stdio-common/vfprintf.: Likewise.
24625
d1af992d
L
246262012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24627
24628 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
24629 <bits/wordsize.h>.
24630 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
24631 (__signbit): Likwise.
24632 (llrintf): Likwise.
24633 (llrint): Likwise.
24634
114883e0
L
246352012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24636
24637 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
24638 __WORDSIZE != 64.
24639
c135cc1b
JM
246402012-03-20 Joseph Myers <joseph@codesourcery.com>
24641
24642 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
24643 OVERFLOW_EXCEPTION_OK.
24644 * math/libm-test.inc ("Philosophy"): Update comment about
24645 exception testing.
24646 (OVERFLOW_EXCEPTION): Define.
24647 (OVERFLOW_EXCEPTION_OK): Likewise.
24648 (INVALID_EXCEPTION_OK): Renumber.
24649 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24650 (IGNORE_ZERO_INF_SIGN): Likewise.
24651 (test_exceptions): Handle FE_OVERFLOW.
24652 (exp10_test): Expect overflow exceptions.
24653 (exp2_test): Likewise.
24654 (expm1_test): Likewise.
24655 (nextafter_test): Likewise.
24656 (pow_test): Likewise.
24657 (scalbn_test): Likewise.
24658 (scalbln_test): Likewise.
24659
95443d88
L
246602012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24661
24662 * sysdeps/x86_64/bits/atomic.h
24663 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
24664 64bit integer.
24665 (atomic_exchange_acq): Likewise.
24666 (__arch_exchange_and_add_body): Likewise.
24667 (__arch_add_body): Likewise.
24668 (atomic_add_negative): Likewise.
24669 (atomic_add_zero): Likewise.
24670
490df6c4
L
246712012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24672
c2722551 24673 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
24674 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
24675
5e52b189
L
246762012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24677
24678 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
24679 Check __x86_64__ instead of __WORDSIZE.
24680
a9879d4c
L
246812012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24682
24683 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
24684
5df98260
DM
246852012-03-19 David S. Miller <davem@davemloft.net>
24686
e1497744
DM
24687 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24688
5df98260
DM
24689 * sysdeps/sparc/fpu/fenv_private.h: New file.
24690 * sysdeps/sparc/fpu/math_private.h: Use it.
24691 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
24692 Remove.
24693 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
24694 (libc_feholdexcept_setroundl): Remove.
24695 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
24696 Remove.
24697 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
24698 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
24699
b4c35121
L
247002012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24701
24702 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
24703 int64_t instead of long int.
24704 (INSERT_WORDS64): Likwise.
24705
56965fd7
L
247062012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24707
24708 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
24709 _Unwind_GetCFA return to _Unwind_Ptr first.
24710
83d1aec8
JM
247112012-03-19 Joseph Myers <joseph@codesourcery.com>
24712
1897ad44
JM
24713 [BZ #13629]
24714 * math/s_clog.c: Include <float.h>.
24715 (__clog): Scale large or subnormal inputs.
24716 * math/s_clogf.c: Likewise.
24717 * math/s_clogl.c: Likewise.
24718 * math/s_clog10.c: Include <float.h>.
24719 (M_LOG10_2): Define.
24720 (__clog10): Scale large or subnormal inputs.
24721 * math/s_clog10f.c: Likewise.
24722 * math/s_clog10l.c: Likewise.
24723 * math/libm-test.inc (clog_test): Add more tests.
24724 (clog10_test): Likewise.
24725 * sysdeps/i386/fpu/libm-test-ulps: Update.
24726 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24727
7726d6a9
JM
24728 [BZ #11451]
24729 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
24730 x and y.
24731 * math/libm-test.inc (atan2_test): Add another test.
24732
83d1aec8
JM
24733 * Makerules (common-objdir-compile): Remove.
24734 * sysdeps/unix/Makefile (config-generated): Do not add
24735 $(unix-generated) to variable.
24736 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
24737 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
24738 Remove rule.
24739 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
24740 Likewise.
24741 [generic bits/local_lim.h] (before-compile): Do not append to
24742 variable.
24743 [generic bits/local_lim.h] (common-generated): Likewise.
24744 [generic sys/param.h] (before-compile): Do not append to variable.
24745 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
24746 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
24747 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
24748 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
24749 include.
24750 [generic sys/param.h] (sys/param.h-includes): Remove variable.
24751 [generic sys/param.h] (sys/param.h-includes): Remove rule.
24752 [generic sys/param.h] ($(addprefix
24753 $(common-objpfx),$(sys/param.h-includes))): Likewise.
24754 [generic sys/param.h] (common-generated): Do not append to
24755 variable.
24756 [generic sys/param.h] (sysdep_headers): Likewise.
24757 [generic bits/errno.h] (before-compile): Do not append to
24758 variable.
24759 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
24760 rule.
24761 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
24762 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
24763 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
24764 [generic bits/errno.h] (common-generated): Do not append to
24765 variable.
24766 [generic bits/ioctls.h] (before-compile): Do not append to
24767 variable.
24768 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
24769 rule.
24770 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
24771 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
24772 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
24773 rule.
24774 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
24775 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
24776 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
24777 [generic bits/ioctls.h] (common-generated): Do not append to
24778 variable.
24779 [generic sys/syscall.h] (syscall.h): Remove variable.
24780 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
24781 rule.
24782 [generic sys/syscall.h] (before-compile): Do not append to
24783 variable.
24784 [generic sys/syscall.h] (common-generated): Likewise.
24785 * sysdeps/unix/errnos-tmpl.c: Remove file.
24786 * sysdeps/unix/errnos.awk: Likewise.
24787 * sysdeps/unix/ioctls-tmpl.c: Likewise.
24788 * sysdeps/unix/ioctls.awk: Likewise.
24789 * sysdeps/unix/mk-local_lim.c: Likewise.
24790 * sysdeps/unix/snarf-ioctls: Likewise.
24791
4851a949
RH
247922012-03-19 Richard Henderson <rth@twiddle.net>
24793
bd37f2ee
RH
24794 * sysdeps/i386/fpu/fenv_private.h: New file.
24795 * sysdeps/i386/fpu/math_private.h: Use it.
24796 (math_opt_barrier, math_force_eval): Remove.
24797 (libc_feholdexcept_setround_53bit): Remove.
24798 (libc_feupdateenv_53bit): Remove.
24799 * sysdeps/x86_64/fpu/math_private.h: Likewise.
24800 (math_opt_barrier, math_force_eval): Remove.
24801 (libc_feholdexcept): Remove.
24802 (libc_feholdexcept_setround): Remove.
24803 (libc_fetestexcept, libc_fesetenv): Remove.
24804 (libc_feupdateenv_test): Remove.
24805 (libc_feupdateenv, libc_feholdsetround): Remove.
24806 (libc_feresetround): Remove.
24807
d0adc922
RH
24808 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
24809 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24810
0fe0f1f8
RH
24811 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
24812 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
24813 (libc_feupdateenv_testl): New.
24814 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
24815 (libc_feupdateenv_testf): New.
24816 (libc_feupdateenv): Use libc_feupdateenv_test.
24817 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
24818 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
24819
eb92c487
RH
24820 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
24821 (libc_feholdsetroundf, libc_feholdsetroundl): New.
24822 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
24823 (libc_feresetround_noex): New.
24824 (libc_feresetround_noexf): New.
24825 (libc_feresetround_noexl): New.
24826 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
24827 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
24828 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
24829 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
24830 SET_RESTORE_ROUND.
24831 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24832 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
24833 (__cos): Likewise.
24834 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
24835 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
24836 SET_RESTORE_ROUND_NOEX.
24837 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
24838 SET_RESTORE_ROUND_NOEXF.
24839 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
24840 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
24841 (libc_feholdsetroundf): New.
24842 (libc_feresetround, libc_feresetroundf): New.
24843
7d2e8012
RH
24844 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
24845 (libc_feholdexcept_setround_53bit): Convert from macro to function.
24846 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
24847
b4dabbb4
RH
24848 * sysdeps/generic/math_private.h: Include <fenv.h>.
24849 (default_libc_feholdexcept): New.
24850 (default_libc_feholdexcept_setround): New.
24851 (default_libc_fesetenv, default_libc_feupdateenv): New.
24852 (libc_feholdexcept): Only define if undefined.
24853 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
24854 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
24855 (libc_feholdexcept_setroundl): Likewise.
24856 (libc_feholdexcept_setround_53bit): Likewise.
24857 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
24858 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
24859 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
24860 (libc_feupdateenv_53bit): Likewise.
24861 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
24862 (libc_feholdexcept): Convert from macro to inline function.
24863 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
24864 (libc_fesetenv, libc_feupdateenv): Likewise.
24865
4851a949
RH
24866 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
24867 not previously defined.
24868 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
24869 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
24870 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
24871 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
24872 * sysdeps/ieee754/flt-32/math_private.h: New file.
24873 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
24874 math_private.h below SET_FLOAT_WORD.
24875 (__isnan, __isinf_ns, __finite): Remove.
24876 (__isnanf, __isinf_nsf, __finitef): Remove.
24877
e79d442e
AS
248782012-03-18 Andreas Schwab <schwab@linux-m68k.org>
24879
24880 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24881
90b80344
DM
248822012-03-17 David S. Miller <davem@davemloft.net>
24883
24884 [BZ #6471]
24885 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
24886 for 2.16.
24887
edc21804
DM
248882012-03-16 David S. Miller <davem@davemloft.net>
24889
77e927af
DM
24890 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
24891 warnings.
24892
374976dd
DM
24893 [BZ #6471]
24894 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
24895 properly.
24896 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
24897 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
24898 sysdep_routines when subdir is sysvipc.
24899 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
24900 __getshmlba helper.
24901
edc21804
DM
24902 * sysdeps/sparc/fpu/libm-test/ulps: Update.
24903
473c3ef3
L
249042012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24905
24906 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
24907 [__LP64__].
24908
eb0f39b6
L
249092012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24910
24911 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
24912 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
24913 (__lround): Renamed to ...
24914 (__llround): This. Replace long int with long long int.
24915 Define lround functions as aliases of llround functions.
24916 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
24917
6b6cd74b
L
249182012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24919
24920 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
24921 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
24922 adresses to uintptr_t. Replace "long int" and "unsigned long
24923 int" with "greg_t" on va_arg.
24924
f1a77b01
L
249252012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24926
24927 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
24928 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
24929
24930 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
24931 Move e_machine check before EI_CLASS check. Handle x32
24932 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
24933 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
24934 SKIP_EM_IA_64 and include
24935 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
24936
24937 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
24938 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
24939 (add_system_dir): New macro.
24940
24941 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
24942 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
24943
11b90b9f
JM
249442012-03-16 Joseph Myers <joseph@codesourcery.com>
24945
c36e1d23
JM
24946 [BZ #2551]
24947 [BZ #2552]
24948 [BZ #2553]
24949 [BZ #2554]
24950 [BZ #2562]
24951 [BZ #2563]
24952 [BZ #2565]
24953 [BZ #2566]
24954 [BZ #2576]
24955 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
24956 (y0): Likewise.
24957 * math/w_j0f.c (j0f): Likewise.
24958 (y0f): Likewise.
24959 * math/w_j0l.c (__j0l): Likewise.
24960 (__y0l): Likewise.
24961 * math/w_j1.c (j1): Likewise.
24962 (y1): Likewise.
24963 * math/w_j1f.c (j1f): Likewise.
24964 (y1f): Likewise.
24965 * math/w_j1l.c (__j1l): Likewise.
24966 (__y1l): Likewise.
24967 * math/w_jn.c (jn): Likewise.
24968 (yn): Likewise.
24969 * math/w_jnf.c (jnf): Likewise.
24970 (ynf): Likewise.
24971 * math/w_jnl.c (__jnl): Likewise.
24972 (__ynl): Likewise.
24973 * math/libm-test.inc (j0_test): Add more tests.
24974 (j1_test): Likewise.
24975 (jn_test): Likewise. Add trailing semicolon to existing test.
24976 (y0_test): Likewise.
24977 (y1_test): Likewise.
24978 * sysdeps/i386/fpu/libm-test-ulps: Update.
24979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24980
11b90b9f
JM
24981 [BZ #13851]
24982 [BZ #13854]
24983 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
24984 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
24985 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
24986 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
24987 (__tanl): Set errno for infinite argument.
24988 * sysdeps/i386/fpu/mptan.c: Remove.
24989 * sysdeps/i386/fpu/s_tan.S: Likewise.
24990 * sysdeps/i386/fpu/s_tanl.S: Likewise.
24991 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
24992 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
24993 * math/libm-test.inc (tan_test): Add more tests and enable more
24994 tests for double and long double.
24995 * sysdeps/i386/fpu/libm-test-ulps: Update.
24996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24997
6a1bd2a1
JK
249982012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
24999
25000 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
25001 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
25002
10a803e0
RM
250032012-03-16 Roland McGrath <roland@hack.frob.com>
25004
25005 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
25006 * configure.in: Use it for both main tree and add-ons.
25007 * configure: Regenerated.
25008
f196c7f7
L
250092012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25010
25011 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
25012
8848d99d
JM
250132012-03-16 Joseph Myers <joseph@codesourcery.com>
25014
96cbe7f4
JM
25015 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
25016 in comment.
25017
8848d99d
JM
25018 [BZ #13851]
25019 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
25020 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
25021 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
25022 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
25023 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
25024 infinite argument.
25025 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
25026 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
25027 != 0 for prec == 2.
25028 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
25029 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
25030 * sysdeps/i386/fpu/s_cosl.S: Likewise.
25031 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
25032 * sysdeps/i386/fpu/s_sinl.S: Likewise.
25033 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
25034 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
25035 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
25036 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
25037 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
25038 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
25039 * math/libm-test.inc (cos_test): Add more tests and enable more
25040 tests for long double.
25041 (sin_test): Likewise.
25042 (sincos_test): Likewise.
25043 * sysdeps/i386/fpu/libm-test-ulps: Update.
25044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25045
dd7f4703
DM
250462012-03-16 David S. Miller <davem@davemloft.net>
25047
25048 * sysdeps/sparc/fpu/math_private.h: New file.
25049
006f1daa
DM
250502012-03-15 David S. Miller <davem@davemloft.net>
25051
c0c83bc8
DM
25052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
25053 file.
e6a62e18 25054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
25055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
25056 file.
e6a62e18
DM
25057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
25058 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
25059 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
25060 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
25061 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
25062 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
25063 sysdep routines.
25064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25065
88cb87d9
DM
25066 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
25067 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
25068
006f1daa 25069 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
25070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
25071 sparc-ifunc.h
006f1daa 25072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
25073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25074 Likewise.
25075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
25076 Likewise.
006f1daa
DM
25077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
25078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
25079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
25080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25081 Likewise.
006f1daa
DM
25082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
25084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
25086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
25087 Likewise.
25088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
25089 Likewise.
006f1daa
DM
25090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
25092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
25093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
25094 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25095 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25096 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
25097 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
25098 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25099 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25100 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
25101 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
25102 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
25103 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
25104 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
25105 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
25106 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
25107 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
25108 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
25109 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
25110 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
25111 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
25112 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
25113 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
25114
11e0098e
AS
251152012-03-15 Andreas Schwab <schwab@linux-m68k.org>
25116
25117 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
25118 scaling.
25119 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25120
e85b09d0
AJ
251212012-03-15 Andreas Jaeger <aj@suse.de>
25122
25123 [BZ #13852]
25124 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
25125 ieee754/flt-32 implementation for sin, cos and sincos.
25126 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
25127 * sysdeps/i386/fpu/s_cosf.S: Likewise.
25128 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
25129 * sysdeps/i386/fpu/s_sinf.S: Likewise.
25130 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
25131 ieee754/flt-32 implementation for tan.
25132
25133 * math/libm-test.inc (cos_test): Enable some large input tests for
25134 float as well
25135 (sin_test): Likewise.
25136 (sincos_test): Likewise.
25137 (tan_test): Add tests for large input.
25138
25139 * sysdeps/i386/fpu/libm-test-ulps: Update.
25140
81c64153
AJ
251412012-03-15 Andreas Jaeger <aj@suse.de>
25142
25143 [BZ #13658]
25144 * math/libm-test.inc (cos_test): Add more test cases.
25145 (sin_test): Likewise.
25146 (sincos_test): Likewise.
25147
7bbfa5c6
AJ
251482012-03-15 Andreas Jaeger <aj@suse.de>
25149
25150 [BZ #13837]
25151 * math/libm-test.inc (cos_test): Add a test case for large input
25152 value.
25153 (sin_test): Likewise.
25154 (sincos_test): Likewise.
25155
251562012-03-15 Andreas Jaeger <aj@suse.de>,
25157 Joseph Myers <joseph@codesourcery.com>
25158
25159 [BZ #13658]
0671f479 25160 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
25161 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
25162 * sysdeps/i386/fpu/branred.c: Likewise.
25163 * sysdeps/i386/fpu/dosincos.c: Likewise.
25164 * sysdeps/i386/fpu/mpa.c: Likewise.
25165 * sysdeps/i386/fpu/s_cos.S: Likewise.
25166 * sysdeps/i386/fpu/s_sin.S: Likewise.
25167 * sysdeps/i386/fpu/s_sincos.S: Likewise.
25168 * sysdeps/i386/fpu/sincos32.c: Likewise.
25169
25170 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
25171 Define.
25172 (libc_feupdateenv_53bit): Define.
25173 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
25174 Define.
25175 (libc_feupdateenv_53bit): Define.
25176
25177 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
25178 53 bit (without extend i386 double precision).
25179
25180 * math/libm-test.inc (sincos_test): Add tests for large input.
25181 (sin): Likewise.
25182 (cos): Likewise.
25183
25184 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
25185
9cad04ea
AS
251862012-03-15 Andreas Schwab <schwab@linux-m68k.org>
25187
25188 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25189
f7062b9a
DM
251902012-03-15 David S. Miller <davem@davemloft.net>
25191
25192 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
25193 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
25194 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
25195 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
25196 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
25197 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
25198 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
25199 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
25200 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
25201 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
25202 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
25203 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
25204 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
25205 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
25206 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
25207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
25208 file.
f7062b9a 25209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
25210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
25211 file.
f7062b9a 25212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
25213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
25214 file.
f7062b9a 25215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
25216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
25217 file.
f7062b9a
DM
25218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
25219 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
25220 fmin/fmax sysdep routines.
25221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25222
7bd951ff
DM
252232012-03-14 David S. Miller <davem@davemloft.net>
25224
559398ab
DM
25225 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
25226 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
25227 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
25228 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
25229 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
25230 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
25231 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
25232 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
25233 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
25234 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
25235 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
25236 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
25237 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
25238 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
25239 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
25240 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
25241 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
25242 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
25243 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
25244 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
25245 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
25246 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
25247 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
25248 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
25249 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
25250 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
25251 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
25252 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
25253 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
25254 routines.
25255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
25256 file.
559398ab 25257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
25258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
25259 file.
559398ab 25260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
25261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
25262 file.
559398ab 25263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
25264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
25265 file.
559398ab 25266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
25267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
25268 file.
559398ab 25269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
25270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
25271 file.
25272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
25273 file.
25274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
25275 file.
25276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
25277 file.
25278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
25279 New file.
25280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
25281 file.
25282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
25283 file.
559398ab 25284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
25285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
25286 file.
559398ab 25287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
25288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
25289 file.
559398ab 25290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
25291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
25292 file.
559398ab 25293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
25294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
25295 VIS3 routines.
559398ab
DM
25296
25297 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25298 New file.
25299
5a1c1e32
DM
25300 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25301
eae47a36
DM
25302 * sysdeps/sparc/configure.in: New file.
25303 * sysdeps/sparc/configure: Generate.
25304 * configure.in (libc_cv_sparc_as_vis3): Substitute.
25305 * configure: Regenerate.
25306 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
25307 * config.make.in (have-as-vis3): New.
25308 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
25309 available use -Av9d instead of -Av9a.
25310 * sysdeps/sparc/sparc64/Makefile: Likewise.
25311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
25312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
25313 New file.
25314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
25315 file.
25316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
25317 New file.
25318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
25319 file.
eae47a36
DM
25320 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
25321 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
25322 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
25323 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
25324 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
25325
c0c83bc8
DM
25326 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
25327 fzeros/fnegs to load 0x80000000 into a float register instead of
25328 using the stack.
7bd951ff
DM
25329 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
25330
bd951ccb
JM
253312012-03-14 Joseph Myers <joseph@codesourcery.com>
25332
25333 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25334 bits/syscall.h.
25335 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
25336 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
25337 ($(inst_includedir)/bits/syscall.h): Remove rule.
25338 ($(objpfx)bits/syscall.d): Include instead of
25339 $(objpfx)syscall-list.d.
25340 (generated): Change syscall-list.h and syscall-list.d to
25341 bits/syscall.h and bits/syscall.d.
25342
bb4e6db2
RM
253432012-03-14 Roland McGrath <roland@hack.frob.com>
25344
25345 [BZ #13846]
25346 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
25347
aa4a2ae1
JM
253482012-03-14 Joseph Myers <joseph@codesourcery.com>
25349
e456826d
JM
25350 [BZ #13841]
25351 * math/s_csqrt.c: Include <float.h>.
25352 (__csqrt): Scale large or subnormal inputs.
25353 * math/s_csqrtf.c: Likewise.
25354 * math/s_csqrtl.c: Likewise.
25355 * math/libm-test.inc (csqrt_test): Add more tests.
25356 * sysdeps/i386/fpu/libm-test-ulps: Update.
25357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25358
aa4a2ae1
JM
25359 [BZ #13840]
25360 * math/libm-test.inc (hypot_test): Add more tests.
25361
7c10fd35
DM
253622012-03-13 David S. Miller <davem@davemloft.net>
25363
25364 [BZ #13840]
25365 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
25366 double-precision for the calculation instead of scaling.
25367
f453b98b
JM
253682012-03-13 Joseph Myers <joseph@codesourcery.com>
25369
25370 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
25371 manipulate bits before adding and subtracting TWO52[sx].
25372 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
25373 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
25374 Likewise.
25375 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
25376
09a3453f
DM
253772012-03-13 David S. Miller <davem@davemloft.net>
25378
8e59da90
DM
25379 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
25380 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
25381 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
25382 rtld-global-offsets.h
25383 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25384
2a8ab7f2
DM
25385 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
25386 large parameters.
25387
10f62770
DM
25388 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
25389
5f0bdb18
DM
25390 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
25391 'err' in the ifdef scope in which it is actually used.
25392
09a3453f
DM
25393 * nss/nss_db/db-init.c: Include string.h
25394
b4b2eb5e
DM
253952012-03-12 David S. Miller <davem@davemloft.net>
25396
98bb2f1c
DM
25397 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25398 masking out of the most significant byte of random value used.
25399 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25400 Fix coding style in previous change.
25401
b4b2eb5e
DM
25402 * sysdeps/unix/sysv/linux/kernel-features.h
25403 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
25404 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
25405 expression.
25406 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
25407 later.
25408
6e226b09
DM
254092012-03-11 David S. Miller <davem@davemloft.net>
25410
a1bcbd40
DM
25411 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25412 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
25413 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
25414 for 'resultvar' otherwise things get truncated on 64-bit.
25415
cb9d6174
DM
25416 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25417 Fix masking out of the most significant byte of random value used.
25418
6e226b09
DM
25419 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25420
058c132d
AS
254212012-03-10 Andreas Schwab <schwab@linux-m68k.org>
25422
25423 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25424
2d2cd515
DM
254252012-03-09 David S. Miller <davem@davemloft.net>
25426
25427 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
25428 variables with appropriate CPP guards.
25429 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
25430 frame pointer, not the stack pointer. Correct layout comments. Fix test
25431 on resulting framesize and the management of the outregs buffer for pltexit.
25432 Preserve floating point return values across _dl_call_pltexit call.
25433 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
25434 framesize and the management of the outregs buffer for pltexit.
25435 Preserve floating point return values across _dl_call_pltexit
25436 call.
25437 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
25438 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
25439 (print_exit): Fix format string for return register value.
25440
9a07f9d0
JM
254412012-03-10 Joseph Myers <joseph@codesourcery.com>
25442
25443 * sunrpc/Makefile (others): Add rpcgen.
25444 ($(objpfx)rpcgen): Remove special build rule and dependency on
25445 libc.
25446 * sunrpc/rpcgen.c: New file.
25447
547b5e30
PE
254482012-03-09 Paul Eggert <eggert@cs.ucla.edu>
25449
c524201a
PE
25450 [BZ #13673]
25451 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
25452 * stdio-common/bug-vfprintf-nargs.c: Likewise.
25453 * sysdeps/i386/crti.S: Likewise.
25454 * sysdeps/i386/crtn.S: Likewise.
25455 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
25456 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
25457 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
25458 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
25459 * sysdeps/sh/crti.S: Likewise.
25460 * sysdeps/sh/crtn.S: Likewise.
25461 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25462
7b6235f2
PE
25463 [BZ #13673]
25464 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
25465 with URL.
25466 * locale/programs/locfile-kw.gperf: Likewise.
25467 * locale/programs/charmap-kw.h: Regenerated.
25468 * locale/programs/locfile-kw.h: Likewise.
25469
547b5e30
PE
25470 [BZ #13673]
25471 * intl/plural.y: Replace FSF snail mail address with URL.
25472 * intl/plural.c: Regenerated.
25473
5f0a5dae
RH
254742012-03-09 Richard Henderson <rth@twiddle.net>
25475
25476 * include/math_private.h: Remove file.
25477 * math/math_private.h: Move file ...
25478 * sysdeps/generic/math_private.h: ... here.
25479
b8c03620
RH
25480 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
25481 * sysdeps/powerpc/fpu/math_private.h: Likewise.
25482 * sysdeps/x86_64/fpu/math_private.h: Likewise.
25483
4e234f5d 25484 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
25485 and <math_private.h>.
25486 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25487 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25488 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25489 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25490 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25491 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
25492 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25493 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25494 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25495 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25496 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25497 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25498 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25499 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25500 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25501 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25502 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25503 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25504 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25505 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
25506 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25507 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25508 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25509 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25510 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
25511 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25512 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25513 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25514 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25515 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25516 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25517 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25518 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25519 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25520 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25521 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25522 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25523 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25524 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25525 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25526 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
25527 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25528 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25529 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25530 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25531 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25532 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
25533 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25534 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25535 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25536 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25537 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
25538 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25539 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25540 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25541 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25542 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25543 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25544 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25545 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
25546 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25547 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25548 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25549 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25550 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
25551 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25552 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25553 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25554 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
25555 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
25556 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25557 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25558 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25559 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25560 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
25561 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25562 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
25563 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25564 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
25565 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
25566 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25567 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
25568 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25569 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25570 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25571 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
25572 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
25573 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
25574 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
25575 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25576 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25577 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
25578 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25579 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
25580 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
25581 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
25582 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25583 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25584 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25585 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
25586 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
25587 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
25588 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
25589 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
25590 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25591 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
25592 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
25593 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
25594 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25595 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25596 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25597 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25598 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
25599 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25600 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
25601 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25602 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25603 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25604 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25605 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25606 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25607 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25608 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25609 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
25610 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25611 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25612 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
25613 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
25614 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25615 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
25616 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
25617 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25618 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25619 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
25620 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
25621 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25622 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25623 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25624 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
25625 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25626 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25627 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25628 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25629 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
25630 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
25631 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25632 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25633 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25634 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
25635 * sysdeps/ieee754/k_standard.c: Likewise.
25636 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
25637 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
25638 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25639 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
25640 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
25641 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
25642 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
25643 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
25644 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25645 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25646 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25647 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25648 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
25649 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
25650 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
25651 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
25652 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25653 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
25654 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
25655 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
25656 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
25657 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
25658 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25659 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25660 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25661 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
25662 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25663 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25664 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25665 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25666 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25667 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25668 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25669 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25670 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25671 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25672 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25673 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
25674 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
25675 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25676 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25677 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25678 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25679 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25680 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25681 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25682 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25683 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25684 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25685 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25686 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25687 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25688 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25689 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
25690 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25691 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25692 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
25693 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
25694 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25695 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25696 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25697 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25698 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25699 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
25700 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25701 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25702 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
25703 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
25704 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
25705 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
25706 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
25707 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25708 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
25709 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
25710 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
25711 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
25712 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
25713 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
25714 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25715 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25716 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25717 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25718 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25719 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25720 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
25721 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25722 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25723 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25724 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25725 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25726 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
25727 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25728 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
25729 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25730 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25731 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25732 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
25733 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
25734 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
25735 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
25736 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25737 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25738 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25739 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25740 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
25741 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25742 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25743 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
25744 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
25745 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25746 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25747 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25748 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
25749 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25750 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
25751 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25752 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
25753 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25754 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25755 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25756 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25757 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
25758 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25759 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
25760 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25761 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
25762 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25763 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25764 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25765 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25766 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25767 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25768 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25769 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25770 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25771 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25772 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
25773 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25774 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25775 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
25776 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
25777 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25778 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
25779 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
25780 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25781 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25782 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25783 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25784 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25785 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
25786 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25787 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25788 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25789 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25790 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
25791 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
25792 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25793 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25794 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25795 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
25796 * sysdeps/ieee754/s_lib_version.c: Likewise.
25797 * sysdeps/ieee754/s_matherr.c: Likewise.
25798 * sysdeps/ieee754/s_signgam.c: Likewise.
25799 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25800 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25801 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
25802 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
25803 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
25804 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25805 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
25806 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
25807 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
25808 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
25809 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25810 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
25811 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25812 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25813 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
25814 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25815 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25816 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25817 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25818 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25819 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 25820
1991fa03
JM
258212012-03-09 Joseph Myers <joseph@codesourcery.com>
25822
25823 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
25824 * sunrpc/rpc_main.c: Likewise.
25825 * sunrpc/rpc_svcout.c: Likewise.
25826
60d6f5a6
DM
258272012-03-09 David S. Miller <davem@davemloft.net>
25828
25829 * include/math_private.h: New file.
25830
4962050e
JM
258312012-03-09 Joseph Myers <joseph@codesourcery.com>
25832
02a6f887
JM
25833 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
25834 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
25835 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
25836 from <bits/socket_type.h>.
25837 (enum __socket_type): Don't define here.
25838 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
25839 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25840 bits/socket_type.h.
25841
c6e013c1
JM
25842 [BZ #13566]
25843 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
25844 checking __USE_GNU.
25845
4962050e
JM
25846 * Makerules ($(inst_includedir)/%.h): New rule.
25847 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
25848 (install-others): Remove variable setting.
25849 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
25850
38842f45
RH
258512012-03-08 Richard Henderson <rth@twiddle.net>
25852
67bb6da6
RH
25853 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
25854 from macro to inline function; merge with the
25855 !__LIBC_INTERNAL_MATH_INLINES version.
25856 (__ieee754_sqrtf): Likewise.
25857
15194b4b
RH
25858 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
25859 to inline function.
25860 (__rintf, __floor, __floorf): Likewise.
25861
64e21ede
RH
25862 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
25863 macro to inline function.
25864 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
25865
38842f45
RH
25866 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
25867 not <math/math_private.h>.
25868
c64bf5fe
DM
258692012-03-08 David S. Miller <davem@davemloft.net>
25870
25871 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
25872 copyright year.
25873 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
25874
82d86f28
TS
258752012-03-08 Thomas Schwinge <thomas@codesourcery.com>
25876
25877 * resolv/gai_misc.c (handle_requests): Fix struct timespec
25878 normalization.
25879 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
25880 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
25881
aea5d727
UD
258822012-03-08 Ulrich Drepper <drepper@gmail.com>
25883
25884 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
25885 be defined individually, they must be defined as a block. Define
25886 S for printing a string instead of hidint the different by using a
25887 macro for adding the 'l'.
25888 * stdio-common/tst-fphex-wide.c: Adjust.
25889
70bca0a3
MP
258902012-03-07 Marek Polacek <polacek@redhat.com>
25891
25892 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
25893
65b81130
MP
258942012-03-08 Marek Polacek <polacek@redhat.com>
25895
25896 [BZ #13806]
25897 * stdio-common/Makefile (tests): Add tst-fphex-wide.
25898 * stdio-common/tst-fphex.c: Define a few macros to make the
25899 test reusable. Use them.
25900 * stdio-common/tst-fphex-wide.c: New file.
25901
07037eeb
JM
259022012-03-08 Joseph Myers <joseph@codesourcery.com>
25903
a7a93d50
JM
25904 [BZ #6911]
25905 * manual/macros.texi (gnusystems): New macro.
25906 (nongnusystems): Likewise.
25907 (gnulinuxhurdsystems): Likewise.
25908 (gnuhurdsystems): Likewise..
25909 (gnulinuxsystems): Likewise.
25910 * manual/charset.texi: Use new macros or @theglibc{} to refer to
25911 variants of the GNU system, not "GNU system".
25912 * manual/conf.texi: Likewise.
25913 * manual/errno.texi: Likewise. Update example of errno macro
25914 expansion.
25915 * manual/filesys.texi: Likewise.
25916 (getumask): Document as specific to GNU/Hurd.
25917 * manual/install.texi: Likewise. Reword some references to
25918 GNU/Linux.
25919 * manual/intro.texi: Likewise.
25920 * manual/io.texi: Likewise.
25921 (File Name Portability): Detail which constraints are inapplicable
25922 to all GNU systems and which are only inapplicable to GNU/Hurd.
25923 * manual/job.texi: Likewise.
25924 * manual/llio.texi: Likewise.
25925 (O_NOCTTY): Document as present on GNU/Linux.
25926 * manual/maint.texi: Likewise.
25927 * manual/memory.texi: Likewise.
25928 * manual/pattern.texi: Likewise.
25929 * manual/pipe.texi: Likewise.
25930 * manual/process.texi: Likewise.
25931 * manual/resource.texi: Likewise.
25932 (RUSAGE_CHILDREN): Remove statement about specifying a particular
25933 child on GNU/Hurd.
25934 * manual/setjmp.texi: Likewise.
25935 * manual/signal.texi: Likewise.
25936 * manual/startup.texi: Likewise.
25937 * manual/stdio.texi: Likewise.
25938 * manual/terminal.texi: Likewise.
25939 (ONLCR): Document as POSIX.
25940 (OXTABS): Document availability on GNU/Linux as XTABS.
25941 (ONOEOT): Document availability separately from other bits.
25942 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
25943 * manual/time.texi: Likewise.
25944 * manual/users.texi: Likewise.
25945 * INSTALL: Regenerated.
25946 * sysdeps/gnu/errlist.c: Regenerated.
25947
07037eeb
JM
25948 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
25949 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
25950 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
25951 puts.
25952 * configure: Regenerated.
25953
d1d3431a
JM
259542012-03-07 Joseph Myers <joseph@codesourcery.com>
25955
af6a1e37
JM
25956 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
25957 default includes instead of AC_HEADER_CHECK.
25958 * sysdeps/i386/configure: Regenerated.
25959
d1d3431a
JM
25960 [BZ #10716]
25961 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
25962 * math/s_cacoshf.c (__cacoshf): Likewise.
25963 * math/s_cacoshl.c (__cacoshl): Likewise.
25964 * math/s_casinh.c (__casinh): Set signs of result from argument.
25965 * math/s_casinhf.c (__casinhf): Likewise.
25966 * math/s_casinhl.c (__casinhl): Likewise.
25967 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
25968 (casinh_test): Add more tests.
25969 * sysdeps/i386/fpu/libm-test-ulps: Update.
25970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25971
482ff4da
UD
259722012-03-07 Ulrich Drepper <drepper@gmail.com>
25973
872fda05
UD
25974 * po/zh_TW.po: Update from translation team.
25975
a4300c7a
UD
25976 * login/Makefile (distribute): Remove variable.
25977 * catgets/Makefile: Likewise.
25978 * mach/Makefile: Likewise.
25979 * malloc/Makefile: Likewise.
25980 * misc/Makefile: Likewise.
25981 * iconv/Makefile: Likewise.
25982 * nscd/Makefile: Likewise.
25983 * hurd/Makefile: Likewise.
25984 * manual/Makefile: Likewise.
25985 * locale/Makefile: Likewise.
25986 * intl/Makefile: Likewise.
25987 * conform/Makefile: Likewise.
25988 * nss/Makefile: Likewise.
25989 * time/Makefile: Likewise.
25990 * soft-fp/Makefile: Likewise.
25991 * dirent/Makefile: Likewise.
25992 * gmon/Makefile: Likewise.
25993 * po/Makefile: Likewise.
25994 * rt/Makefile: Likewise.
25995 * socket/Makefile: Likewise.
25996 * math/Makefile: Likewise.
25997 * signal/Makefile: Likewise.
25998 * debug/Makefile: Likewise.
25999 * elf/Makefile: Likewise.
26000 * timezone/Makefile: Likewise.
26001 * stdlib/Makefile: Likewise.
26002 * iconvdata/Makefile: Likewise.
26003 * sunrpc/Makefile: Likewise.
26004 * io/Makefile: Likewise.
26005 * argp/Makefile: Likewise.
26006 * inet/Makefile: Likewise.
26007 * hesiod/Makefile: Likewise.
26008 * grp/Makefile: Likewise.
26009 * csu/Makefile: Likewise.
26010 * wctype/Makefile: Likewise.
26011 * crypt/Makefile: Likewise.
26012 * libio/Makefile: Likewise.
26013 * string/Makefile: Likewise.
26014 * nis/Makefile: Likewise.
26015 * resolv/Makefile: Likewise.
26016 * stdio-common/Makefile: Likewise.
26017 * wcsmbs/Makefile: Likewise.
26018 * dlfcn/Makefile: Likewise.
26019 * posix/Makefile: Likewise.
26020
3b7c4e74 26021 [BZ #6959]
482ff4da
UD
26022 * timezone/Makefile: Don't install timezone files, just the programs
26023 and scripts.
26024
f72ed77d
UD
260252012-03-06 Ulrich Drepper <drepper@gmail.com>
26026
a000466f
UD
26027 * nss/databases.def: Add missing gshadow entry.
26028
f72ed77d
UD
26029 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
26030
a53b7a4e
MP
260312012-03-06 Marek Polacek <polacek@redhat.com>
26032
26033 [BZ #13726]
26034 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
26035 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
26036 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
26037 * stdio-common/tst-long-dbl-fphex.c: New file.
26038
e9258400
DM
260392012-03-06 David S. Miller <davem@davemloft.net>
26040
26041 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26042 (set_obp_int): New function.
26043 (get_obp_int): New function.
26044 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
26045 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
26046 Avoid unused variable warnings on 'val' and use builtin_expect.
26047 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
26048 __builtin_expect.
e9258400
DM
26049 (INLINE_CLONE_SYSCALL): Likewise.
26050
3bd2c723
DM
260512012-03-05 David S. Miller <davem@davemloft.net>
26052
26053 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26054
bbb78d03
AS
260552012-03-05 Andreas Schwab <schwab@linux-m68k.org>
26056
884c5db4
AS
26057 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26058
bbb78d03
AS
26059 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
26060 only for |x| >= 40.
26061 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26062
1c9f702a 260632012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
26064
26065 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
26066 Replace gettimeofday with __vdso_gettimeofday.
26067
7be16f82
RM
26068 * sysdeps/unix/sysv/linux/x86_64/init-first.c
26069 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
26070 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
26071
26072 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
26073 time with __vdso_time.
26074
ed58a00f
JM
260752012-03-05 Joseph Myers <joseph@codesourcery.com>
26076
26077 * manual/lang.texi (size_t): Note types to which size_t may be
26078 equivalent with the GNU C Library, but do not describe when
26079 differences between them are significant.
26080
30ee4ced
AJ
260812012-03-05 Andreas Jaeger <aj@suse.de>
26082
26083 * sysdeps/i386/fpu/libm-test-ulps: Update.
26084
b7cd39e8
JM
260852012-03-05 Joseph Myers <joseph@codesourcery.com>
26086
26087 [BZ #3976]
26088 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
26089 (__ieee754_pow): Save and restore rounding mode and use
26090 round-to-nearest for main computations.
26091 * math/libm-test.inc (pow_test_tonearest): New function.
26092 (pow_test_towardzero): Likewise.
26093 (pow_test_downward): Likewise.
26094 (pow_test_upward): Likewise.
26095 (main): Call the new functions.
26096 * sysdeps/i386/fpu/libm-test-ulps: Update.
26097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
26098
26099 [BZ #3976]
26100 * math/libm-test.inc (cosh_test_tonearest): New function.
26101 (cosh_test_towardzero): Likewise.
26102 (cosh_test_downward): Likewise.
26103 (cosh_test_upward): Likewise.
26104 (sinh_test_tonearest): Likewise.
26105 (sinh_test_towardzero): Likewise.
26106 (sinh_test_downward): Likewise.
26107 (sinh_test_upward): Likewise.
26108 (main): Call the new functions.
26109 * sysdeps/i386/fpu/libm-test-ulps: Update.
26110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26111
6c6a98c9
TV
261122012-03-05 Tom de Vries <tom@codesourcery.com>
26113
26114 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
26115 default stack guard is set in last bytes.
26116 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
26117
21bb2d2e 261182012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 26119
21bb2d2e 26120 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 26121
21bb2d2e
AJ
26122 [BZ #13656]
26123 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
26124 possibly allocate from heap instead of stack.
26125 * stdio-common/bug-vfprintf-nargs.c: New file.
26126 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 26127
c6922934
AS
261282012-03-03 Andreas Schwab <schwab@linux-m68k.org>
26129
26130 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26131
bc957d53
MP
261322012-03-03 Marek Polacek <polacek@redhat.com>
26133
26134 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
26135 * math/math_private.h: Likewise.
26136 * stdlib/tst-strtod.c: Likewise.
26137 * sysdeps/i386/i486/bits/atomic.h: Likewise.
26138 * sysdeps/x86_64/bits/atomic.h: Likewise.
26139
6358490d
DM
261402012-03-02 David S. Miller <davem@davemloft.net>
26141
26142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
26143 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
26144 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
26145 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
26146 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
26147 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
26148 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
26149 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
26150
01ae168d
RM
261512012-03-02 Roland McGrath <roland@hack.frob.com>
26152
d9a17c07
RM
26153 [BZ #13792]
26154 * manual/examples/README: New file, says the example source files
26155 can be used under GPL>=2.
26156 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
26157 line containing just "*/".
26158 * manual/examples/add.c: Add copyright header (GPL>=2).
26159 * manual/examples/argp-ex1.c: Likewise.
26160 * manual/examples/argp-ex2.c: Likewise.
26161 * manual/examples/argp-ex3.c: Likewise.
26162 * manual/examples/argp-ex4.c: Likewise.
26163 * manual/examples/atexit.c: Likewise.
26164 * manual/examples/db.c: Likewise.
26165 * manual/examples/dir.c: Likewise.
26166 * manual/examples/dir2.c: Likewise.
26167 * manual/examples/execinfo.c: Likewise.
26168 * manual/examples/filecli.c: Likewise.
26169 * manual/examples/filesrv.c: Likewise.
26170 * manual/examples/fmtmsgexpl.c: Likewise.
26171 * manual/examples/genpass.c: Likewise.
26172 * manual/examples/inetcli.c: Likewise.
26173 * manual/examples/inetsrv.c: Likewise.
26174 * manual/examples/isockad.c: Likewise.
26175 * manual/examples/longopt.c: Likewise.
26176 * manual/examples/memopen.c: Likewise.
26177 * manual/examples/memstrm.c: Likewise.
26178 * manual/examples/mkfsock.c: Likewise.
26179 * manual/examples/mkisock.c: Likewise.
26180 * manual/examples/mygetpass.c: Likewise.
26181 * manual/examples/pipe.c: Likewise.
26182 * manual/examples/popen.c: Likewise.
26183 * manual/examples/rprintf.c: Likewise.
26184 * manual/examples/search.c: Likewise.
26185 * manual/examples/select.c: Likewise.
26186 * manual/examples/setjmp.c: Likewise.
26187 * manual/examples/sigh1.c: Likewise.
26188 * manual/examples/sigusr.c: Likewise.
26189 * manual/examples/stpcpy.c: Likewise.
26190 * manual/examples/strdupa.c: Likewise.
26191 * manual/examples/strftim.c: Likewise.
26192 * manual/examples/strncat.c: Likewise.
26193 * manual/examples/subopt.c: Likewise.
26194 * manual/examples/swapcontext.c: Likewise.
26195 * manual/examples/termios.c: Likewise.
26196 * manual/examples/testopt.c: Likewise.
26197 * manual/examples/testpass.c: Likewise.
26198 * manual/examples/timeval_subtract.c: Likewise.
26199
01ae168d
RM
26200 [BZ #13792]
26201 * manual/time.texi (Elapsed Time): Move timeval_subtract example
26202 function to ...
26203 * manual/timeval_subtract.c.texi: ... here, new file.
26204
49efa33d
DM
262052012-03-02 David S. Miller <davem@davemloft.net>
26206
26207 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
26208
28afd92d
JM
262092012-03-02 Joseph Myers <joseph@codesourcery.com>
26210
804360ed
JM
26211 [BZ #3976]
26212 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
26213 (__sin): Save and restore rounding mode and use round-to-nearest
26214 for all computations.
26215 (__cos): Save and restore rounding mode and use round-to-nearest
26216 for all computations.
26217 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
26218 <fenv.h>.
26219 (tan): Save and restore rounding mode and use round-to-nearest for
26220 all computations.
26221 * math/libm-test.inc (cos_test_tonearest): New function.
26222 (cos_test_towardzero): Likewise.
26223 (cos_test_downward): Likewise.
26224 (cos_test_upward): Likewise.
26225 (sin_test_tonearest): Likewise.
26226 (sin_test_towardzero): Likewise.
26227 (sin_test_downward): Likewise.
26228 (sin_test_upward): Likewise.
26229 (tan_test_tonearest): Likewise.
26230 (tan_test_towardzero): Likewise.
26231 (tan_test_downward): Likewise.
26232 (tan_test_upward): Likewise.
26233 (main): Call the new functions.
26234 * sysdeps/i386/fpu/libm-test-ulps: Update.
26235 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26236
a6d06d7b
JM
26237 [BZ #10135]
26238 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
26239 small n, then large n, before computing and testing k+n.
26240 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
26241 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
26242 Likewise.
26243 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
26244 Likewise.
26245 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
26246 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
26247 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
26248 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
26249 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
26250 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
26251 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
26252 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
26253 * math/libm-test.inc (scalbn_test): Add more tests.
26254 (scalbln_test): Likewise.
26255
07e12bb3
JM
26256 * manual/filesys.texi (mode_t): Describe constraints on size and
26257 signedness, not exact equivalence to a particular type.
26258 (ino_t): Likewise.
26259 (ino64_t): Likewise.
26260 (dev_t): Likewise.
26261 (nlink_t): Likewise.
26262 (blkcnt_t): Likewise.
26263 (blkcnt64_t): Likewise.
26264 * manual/llio.texi (off_t): Likewise.
26265
28afd92d
JM
26266 [BZ #3976]
26267 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
26268 (__ieee754_exp): Save and restore rounding mode and use
26269 round-to-nearest for all computations.
26270 * math/libm-test.inc (exp_test_tonearest): New function.
26271 (exp_test_towardzero): Likewise.
26272 (exp_test_downward): Likewise.
26273 (exp_test_upward): Likewise.
26274 (main): Call the new functions.
26275 * sysdeps/i386/fpu/libm-test-ulps: Update.
26276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26277
b1eeb65d
CD
262782012-03-01 Chris Demetriou <cgd@google.com>
26279
26280 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
26281 have predictable order.
26282
53362a4b
DM
262832012-03-01 David S. Miller <davem@davemloft.net>
26284
3c969083
DM
26285 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
26286
759707de
DM
26287 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
26288 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
26289 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
26290 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
26291
dfdb8ff2
DM
26292 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
26293 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
26294 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
26295 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
26296 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
26297 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
26298 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
26299 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
26300 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
26301
ead89f96
DM
26302 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26303
7f66bd07
DM
26304 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
26305 * sysdeps/sparc/fpu/libm-test-ulps: to here.
26306 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
26307
53362a4b
DM
26308 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
26309 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26310 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26311 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
26312 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
26313 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
26314 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
26315 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26316 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26317 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
26318 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
26319 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26320 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26321 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26322 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26323 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26324 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
26325 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
26326 * sysdeps/sparc/elf/configure: Regenerated.
26327
7b1902cb
JM
263282012-03-01 Joseph Myers <joseph@codesourcery.com>
26329
bec039bc
JM
26330 * configure.in (AS, LD): Require binutils 2.20 or later.
26331 * configure: Regenerated.
26332 * manual/install.texi (Tools for Compilation): Give binutils 2.20
26333 as required minimum version.
26334 * INSTALL: Regenerated.
26335
7b1902cb
JM
26336 [BZ #2541]
26337 [BZ #4108]
26338 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
26339 before squaring exponent.
26340 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
26341 bottom long double and 27 bits of top long double before squaring
26342 exponent.
26343 * math/libm-test.inc (erfc_test): Add more tests.
26344 * sysdeps/i386/fpu/libm-test-ulps: Update.
26345 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26347
f775c276
KT
263482012-03-01 Kai Tietz <ktietz@redhat.com>
26349
26350 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
26351 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
26352 containing bit-fields.
26353 * soft-fp/extended.h (_FP_UNION_E): Likewise.
26354 * soft-fp/single.h (_FP_UNION_S): Likewise.
26355 * soft-fp/double.h (_FP_UNION_D): Likewise.
26356
5b8a4d4a
JM
263572012-02-29 Joseph Myers <joseph@codesourcery.com>
26358
0bab47b6
JM
26359 [BZ #13786]
26360 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
26361 not include ../strcmp.S.
26362 [USE_AS_STRNCASECMP_L]: Likewise.
26363 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
26364 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
26365 * sysdeps/i386/i686/multiarch/strncase_l-c.c
26366 (__strncasecmp_l_ia32): Define as alias to
26367 __strncasecmp_l_nonascii.
26368
0fcad3e2
JM
26369 [BZ #5794]
26370 * math/libm-test.inc (expm1_test): Add test for bug 5794.
26371 * sysdeps/i386/fpu/libm-test-ulps: Update.
26372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26373
5b8a4d4a
JM
26374 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
26375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26376
8fdceb2e
JL
263772012-02-29 Jeff Law <law@redhat.com>
26378
26379 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
26380 out of bounds read.
26381
1f393a11
MP
263822012-02-29 Marek Polacek <polacek@redhat.com>
26383
26384 [BZ #13706]
26385 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
26386 * elf/Makefile: Add rules to run tst-unused-dep.out.
26387
8847f037
DM
263882012-02-28 David S. Miller <davem@davemloft.net>
26389
26390 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
26391 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
26392 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
26393 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
26394 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
26395 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
26396
169d7f11
JM
263972012-02-29 Joseph Myers <joseph@codesourcery.com>
26398
26399 * math/libm-test.inc (llround_test): Move one test from
26400 lround_test. Use TEST_f_L in moved test.
26401 (lround_test): Move misplaced test to llround_test. Add testcase
26402 from bug 2561.
26403
39adf059
UD
264042012-02-28 Ulrich Drepper <drepper@gmail.com>
26405
26406 * sysdeps/x86_64/fpu/e_expf.S: New file.
26407 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
26408
71b5d1c5
SB
264092012-02-28 Stanislav Brabec <sbrabec@suse.cz>
26410
26411 [BZ #13637]
26412 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
26413 of remain_len that may cause incomplete multi-byte character and
26414 false match.
26415 * posix/bug-regex33.c: New file.
26416 * posix/Makefile (tests): Add bug-regex33.
26417
1f77f049
JM
264182012-02-28 Joseph Myers <joseph@codesourcery.com>
26419
26420 * manual/macros.texi: New file.
26421 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
26422 * manual/libc.texinfo: Include macros.texi.
26423 * manual/creatute.texi: Likewise.
26424 * manual/install.texi: Likewise.
26425 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
26426 @glibcadj{} in references to the GNU C Library.
26427 * manual/charset.texi: Likewise.
26428 * manual/conf.texi: Likewise.
26429 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
26430 when not using those macros.
26431 * manual/creature.texi: Likewise.
26432 * manual/crypt.texi: Likewise.
26433 * manual/errno.texi: Likewise.
26434 * manual/filesys.texi: Likewise.
26435 * manual/header.texi: Likewise.
26436 * manual/install.texi: Likewise.
26437 * manual/intro.texi: Likewise.
26438 * manual/io.texi: Likewise.
26439 * manual/job.texi: Likewise.
26440 * manual/lang.texi: Likewise.
26441 * manual/libc.texiinfo: Likewise.
26442 * manual/llio.texi: Likewise.
26443 * manual/locale.texi: Likewise.
26444 * manual/maint.texi: Likewise.
26445 * manual/math.texi: Likewise.
26446 * manual/memory.texi: Likewise.
26447 * manual/message.texi: Likewise.
26448 * manual/nss.texi: Likewise.
26449 * manual/pattern.texi: Likewise.
26450 * manual/process.texi: Likewise.
26451 * manual/resource.texi: Likewise.
26452 * manual/search.texi: Likewise.
26453 * manual/setjmp.texi: Likewise.
26454 * manual/signal.texi: Likewise.
26455 * manual/socket.texi: Likewise.
26456 * manual/startup.texi: Likewise.
26457 * manual/stdio.texi: Likewise.
26458 * manual/string.texi: Likewise.
26459 * manual/sysinfo.texi: Likewise.
26460 * manual/syslog.texi: Likewise.
26461 * manual/terminal.texi: Likewise.
26462 * manual/time.texi: Likewise.
26463 * manual/users.texi: Likewise.
26464 * INSTALL: Regenerated.
26465 * NOTES: Regenerated.
d40c5d54 26466 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 26467
450bf206
AS
264682012-02-28 Andreas Schwab <schwab@linux-m68k.org>
26469
26470 * include/dirent.h: Include <dirstream.h> before
26471 <dirent/dirent.h>.
26472
741a235b
DM
264732012-02-28 David S. Miller <davem@davemloft.net>
26474
26475 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
26476 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
26477 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
26478 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
26479
d6b5aa58
DM
264802012-02-27 David S. Miller <davem@davemloft.net>
26481
1aff59a3
DM
26482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
26483 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
26484 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
26485 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
26486
d6b5aa58
DM
26487 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
26488 frame pointer instead of stack pointer relative arg slot.
26489 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26490 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26491 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26492
433f48bf
CD
264932012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
26494
26495 [BZ #3992]
26496 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
26497
d674b76d
DM
264982012-02-27 David S. Miller <davem@davemloft.net>
26499
26500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
26501 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26502 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
26504 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26505 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26506 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
26507 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
26508
0e7727f7
JM
265092012-02-27 Joseph Myers <joseph@codesourcery.com>
26510
26511 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
26512 later. Allow versions 5-9.
43be4ca2 26513 * configure: Regenerated.
0e7727f7
JM
26514 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
26515 required minimum version and 4.6 as recommended version. Do not
26516 mention bugs in GCC 2.7 and 2.8.
43be4ca2 26517 * INSTALL: Regenerated.
0e7727f7 26518
a78bc654
DM
265192012-02-27 David S. Miller <davem@davemloft.net>
26520
428d5830
DM
26521 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
26522 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
26523 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
26524 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
26525 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
26526 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
26527 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
26528 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
26529
a78bc654
DM
26530 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
26531 manipulate bits before adding and subtracting TWO112[sx].
26532 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26533
4579f81c
RM
265342012-02-27 Roland McGrath <roland@hack.frob.com>
26535
36c8acb4
RM
26536 [BZ #13775]
26537 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
26538 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
26539 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
26540 being in POSIX, because they are in 1003.1-2008.
26541
84ad622b
RM
26542 * rt/tst-aio.c: Include <fcntl.h>.
26543 * rt/tst-aio7.c: Likewise.
26544 * rt/tst-aio64.c: Likewise.
26545
4579f81c
RM
26546 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
26547
abd923db
JM
265482012-02-27 Joseph Myers <joseph@codesourcery.com>
26549
26550 * manual/install.texi (--with-headers): Describe headers as
26551 interface headers, not private headers.
26552 (Specific advice for GNU/Linux systems): Describe use of headers
26553 from "make headers_install", not private headers from older
26554 kernels.
43be4ca2 26555 * INSTALL: Regenerated.
abd923db
JM
26556 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
26557 Change to 2.6.19.
26558 * sysdeps/unix/sysv/linux/configure: Regenerated.
26559
6664049b
JM
26560 * manual/llio.texi (fclean): Remove documentation.
26561
bb8b6697
JM
26562 * manual/Makefile (libc-texi-generated): New variable. Include
26563 version.texi.
26564 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
26565 $(libc-texi-generated), not duplicated list of files.
26566 (version.texi, stamp-version): New rules.
26567 (realclean): Remove $(libc-texi-generated), not individual files
26568 from that list. Do not remove dir-add.texinfo.
26569 * manual/libc.texinfo: Comment out uses of edition numbers and
26570 references to printed manual. Remove last-updated dates.
26571 (EDITION): Comment out.
26572 (ISBN): Likewise.
26573 (VERSION, UPDATED): Remove.
26574 (version.texi): Include.
26575
12e5c3b9
AS
265762012-02-27 Andreas Schwab <schwab@linux-m68k.org>
26577
26578 * sysdeps/posix/spawni.c: Include <signal.h>.
26579 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
26580 * sysdeps/pthread/aio_fsync.c: Likewise.
26581
4efeffc1 265822012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 26583
ba63ba08
UD
26584 * conform/Makefile (tests): Run only when not cross-compiling and
26585 when fast-check is not defined.
26586
d94a4670
UD
26587 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
26588 * conform/data/limits.h-data: Fixes for POSIX2008.
26589 * conform/run-conformtest.sh: Run all tests.
26590 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
26591 headers.
26592 * include/bits/dlfcn.h: Likewise.
26593 * include/langinfo.h: Likewise.
26594 * include/monetary.h: Likewise.
26595 * include/sys/poll.h: Likewise.
26596
26597 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
26598 for __USE_GNU.
26599 * posix/spawn.h: Define __need_sigset_t.
26600 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
26601 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
26602 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
26603 to get sigevent_t only.
26604 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
26605 only for __USE_GNU.
26606 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26607 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26608 process_vm_writev only for __USE_GNU.
26609 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
26610
26611 * conform/Makefile: For now ignore errors from run-conformtest.
26612 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
26613 POSIX to avoid namespace pollution. Don't prepend headers.
26614 * conform/data/aio.h-data: Fixes for POSIX testing.
26615 * conform/data/fcntl.h-data: Likewise.
26616 * conform/data/glob.h-data: Likewise.
26617 * conform/data/grp.h-data: Likewise.
26618 * conform/data/pthread.h-data: Likewise.
26619 * conform/data/pwd.h-data: Likewise.
26620 * conform/data/signal.h-data: Likewise.
26621 * conform/data/spawn.h-data: Likewise.
26622 * conform/data/stdio.h-data: Likewise.
26623 * conform/data/stdlib.h-data: Likewise.
26624 * conform/data/stropts.h-data: Likewise.
26625 * conform/data/sys/mman.h-data: Likewise.
26626 * conform/data/sys/stat.h-data: Likewise.
26627 * conform/data/sys/types.h-data: Likewise.
26628 * conform/data/sys/wait.h-data: Likewise.
26629 * conform/data/time.h-data: Likewise.
26630 * conform/data/unistd.h-data: Likewise.
26631 * conform/data/utime.h-data: Likewise.
26632
26633 * io/sys/stat.h: fchmod was always in POSIX.
26634 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
26635 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
26636 * rt/aio.h: Define __need_timespec before including <time.h>.
26637 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
26638 struct. Add forward declaration of pthread_attr_t and use it in
26639 sigevent.
26640 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26641 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26642 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
26643 always remove CLK_TCK definition.
26644
c20105c3
AS
266452012-02-26 Andreas Schwab <schwab@linux-m68k.org>
26646
26647 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
26648
7a270350
UD
266492012-02-25 Ulrich Drepper <drepper@gmail.com>
26650
31341567
UD
26651 * conform/run-conformtest.sh: New file.
26652 * conform/Makefile: Run run-conformtest for tests.
26653 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
26654 support.
26655
26656 * conform/data/uchar.h-data: New file.
26657 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
26658 * conform/data/arpa/inet.h-data: Likewise.
26659 * conform/data/assert.h-data: Likewise.
26660 * conform/data/complex.h-data: Likewise.
26661 * conform/data/cpio.h-data: Likewise.
26662 * conform/data/ctype.h-data: Likewise.
26663 * conform/data/dirent.h-data: Likewise.
26664 * conform/data/dlfcn.h-data: Likewise.
26665 * conform/data/errno.h-data: Likewise.
26666 * conform/data/fcntl.h-data: Likewise.
26667 * conform/data/float.h-data: Likewise.
26668 * conform/data/fmtmsg.h-data: Likewise.
26669 * conform/data/fnmatch.h-data: Likewise.
26670 * conform/data/ftw.h-data: Likewise.
26671 * conform/data/glob.h-data: Likewise.
26672 * conform/data/grp.h-data: Likewise.
26673 * conform/data/iconv.h-data: Likewise.
26674 * conform/data/inttypes.h-data: Likewise.
26675 * conform/data/langinfo.h-data: Likewise.
26676 * conform/data/libgen.h-data: Likewise.
26677 * conform/data/limits.h-data: Likewise.
26678 * conform/data/locale.h-data: Likewise.
26679 * conform/data/math.h-data: Likewise.
26680 * conform/data/monetary.h-data: Likewise.
26681 * conform/data/mqueue.h-data: Likewise.
26682 * conform/data/ndbm.h-data: Likewise.
26683 * conform/data/net/if.h-data: Likewise.
26684 * conform/data/netdb.h-data: Likewise.
26685 * conform/data/netinet/in.h-data: Likewise.
26686 * conform/data/nl_types.h-data: Likewise.
26687 * conform/data/poll.h-data: Likewise.
26688 * conform/data/pthread.h-data: Likewise.
26689 * conform/data/pwd.h-data: Likewise.
26690 * conform/data/regex.h-data: Likewise.
26691 * conform/data/sched.h-data: Likewise.
26692 * conform/data/search.h-data: Likewise.
26693 * conform/data/semaphore.h-data: Likewise.
26694 * conform/data/setjmp.h-data: Likewise.
26695 * conform/data/signal.h-data: Likewise.
26696 * conform/data/spawn.h-data: Likewise.
26697 * conform/data/stdarg.h-data: Likewise.
26698 * conform/data/stdio.h-data: Likewise.
26699 * conform/data/stdlib.h-data: Likewise.
26700 * conform/data/string.h-data: Likewise.
26701 * conform/data/strings.h-data: Likewise.
26702 * conform/data/stropts.h-data: Likewise.
26703 * conform/data/sys/ipc.h-data: Likewise.
26704 * conform/data/sys/mman.h-data: Likewise.
26705 * conform/data/sys/msg.h-data: Likewise.
26706 * conform/data/sys/resource.h-data: Likewise.
26707 * conform/data/sys/select.h-data: Likewise.
26708 * conform/data/sys/sem.h-data: Likewise.
26709 * conform/data/sys/shm.h-data: Likewise.
26710 * conform/data/sys/socket.h-data: Likewise.
26711 * conform/data/sys/stat.h-data: Likewise.
26712 * conform/data/sys/statvfs.h-data: Likewise.
26713 * conform/data/sys/time.h-data: Likewise.
26714 * conform/data/sys/timeb.h-data: Likewise.
26715 * conform/data/sys/times.h-data: Likewise.
26716 * conform/data/sys/types.h-data: Likewise.
26717 * conform/data/sys/uio.h-data: Likewise.
26718 * conform/data/sys/un.h-data: Likewise.
26719 * conform/data/sys/utsname.h-data: Likewise.
26720 * conform/data/sys/wait.h-data: Likewise.
26721 * conform/data/syslog.h-data: Likewise.
26722 * conform/data/tar.h-data: Likewise.
26723 * conform/data/termios.h-data: Likewise.
26724 * conform/data/utime.h-data: Likewise.
26725 * conform/data/utmpx.h-data: Likewise.
26726 * conform/data/varargs.h-data: Likewise.
26727 * conform/data/wchar.h-data: Likewise.
26728 * conform/data/wctype.h-data: Likewise.
26729 * conform/data/wordexp.h-data: Likewise.
26730
26731 * include/stropts.h: New file.
26732 * include/uchar.h: New file.
26733 * include/aio.h: Changes to allow conformtest.pl to use the headers.
26734 * include/assert.h: Likewise.
26735 * include/ctype.h: Likewise.
26736 * include/dirent.h: Likewise.
26737 * include/dlfcn.h: Likewise.
26738 * include/fcntl.h: Likewise.
26739 * include/fnmatch.h: Likewise.
26740 * include/glob.h: Likewise.
26741 * include/grp.h: Likewise.
26742 * include/libio.h: Likewise.
26743 * include/locale.h: Likewise.
26744 * include/math.h: Likewise.
26745 * include/net/if.h: Likewise.
26746 * include/netdb.h: Likewise.
26747 * include/netinet/in.h: Likewise.
26748 * include/pthread.h: Likewise.
26749 * include/pwd.h: Likewise.
26750 * include/regex.h: Likewise.
26751 * include/sched.h: Likewise.
26752 * include/search.h: Likewise.
26753 * include/setjmp.h: Likewise.
26754 * include/signal.h: Likewise.
26755 * include/stdio.h: Likewise.
26756 * include/stdlib.h: Likewise.
26757 * include/string.h: Likewise.
26758 * include/sys/cdefs.h: Likewise.
26759 * include/sys/mman.h: Likewise.
26760 * include/sys/msg.h: Likewise.
26761 * include/sys/resource.h: Likewise.
26762 * include/sys/select.h: Likewise.
26763 * include/sys/socket.h: Likewise.
26764 * include/sys/stat.h: Likewise.
26765 * include/sys/statvfs.h: Likewise.
26766 * include/sys/time.h: Likewise.
26767 * include/sys/times.h: Likewise.
26768 * include/sys/uio.h: Likewise.
26769 * include/sys/utsname.h: Likewise.
26770 * include/sys/wait.h: Likewise.
26771 * include/termios.h: Likewise.
26772 * include/time.h: Likewise.
26773 * include/ulimit.h: Likewise.
26774 * include/unistd.h: Likewise.
26775 * include/utime.h: Likewise.
26776 * include/wchar.h: Likewise.
26777 * include/wctype.h: Likewise.
26778 * include/wordexp.h: Likewise.
26779
26780 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
26781
7a270350
UD
26782 * time/time.h: TIME_UTC must be a macro.
26783 Make timespec_get available for ISO C11 only as well.
26784
7724defc
UD
267852012-02-24 Ulrich Drepper <drepper@gmail.com>
26786
26787 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
26788 Reported by Peng Haitao <penght@cn.fujitsu.com>.
26789
6b1d1d46
JM
267902012-02-24 Joseph Myers <joseph@codesourcery.com>
26791
26792 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 26793
0f8bbd69
JM
267942012-02-24 Joseph Myers <joseph@codesourcery.com>
26795
26796 * manual/texinfo.tex: Update to version 2012-01-19.16.
26797
66ab80bc
JM
267982012-02-24 Joseph Myers <joseph@codesourcery.com>
26799
26800 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
26801
74981cc5
RM
268022012-02-24 Roland McGrath <roland@hack.frob.com>
26803
ee968201
RM
26804 [BZ #13738]
26805 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
26806 * manual/fdl-1.3.texi: New file.
26807 * manual/fdl-1.1.texi: File removed.
26808
74981cc5
RM
26809 [BZ #13738]
26810 * manual/libc.texinfo (FDL_VERSION): New @set.
26811 Use it for mention of FDL in cover text.
26812 (Documentation License): Use it in @include file name.
26813
7bb764bc
JM
268142012-02-22 Joseph Myers <joseph@codesourcery.com>
26815 Roland McGrath <roland@hack.frob.com>
26816
26817 [BZ #5461]
26818 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
26819 not LONG_LONG_MAX and LONG_LONG_MIN.
26820 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
26821 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
26822 name.
26823 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
26824
6cbeae47
JM
268252012-02-22 Joseph Myers <joseph@codesourcery.com>
26826
26827 [BZ #2547]
26828 [BZ #11365]
26829 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
26830 manipulate bits before adding and subtracting TWO23[sx].
26831 * math/libm-test.inc (nearbyint_test): Add more tests.
26832
fe45ce09
JM
268332012-02-22 Joseph Myers <joseph@codesourcery.com>
26834
26835 [BZ #2548]
26836 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
26837 bits before adding and subtracting TWO23[sx].
26838 * math/libm-test.inc (rint_test): Add more tests.
26839 (rint_test_tonearest): Likewise.
26840 (rint_test_towardzero): Likewise.
26841 (rint_test_downward): Likewise.
26842 (rint_test_upward: Likewise.
26843
ff3b3d82
JM
268442012-02-22 Joseph Myers <joseph@codesourcery.com>
26845
26846 [BZ #10110]
26847 * include/stdc-predef.h: New file. Extracted from features.h.
26848 * include/features.h: Include stdc-predef.h.
26849 * Makefile (headers): Add stdc-predef.h.
26850 * CONFORMANCE (Compiler limitations): Update.
26851
ef0aab35
JM
268522012-02-22 Joseph Myers <joseph@codesourcery.com>
26853
26854 * manual/libc.texinfo (VERSION, UPDATED): Revert.
26855
58639409
DM
268562012-02-21 David S. Miller <davem@davemloft.net>
26857
26858 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
26859 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26860
c0e70b25
DM
268612012-02-20 David S. Miller <davem@davemloft.net>
26862
26863 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
26864 using a normal save/restore sequence, rather than allocating a
26865 dummy stack frame just to store a frame pointer and restore.
26866 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26867
fb06851d
JM
268682012-02-21 Joseph Myers <joseph@codesourcery.com>
26869
26870 * manual/install.texi: Fix stray word in line-wrapped comment.
26871
7a8b71c3
DM
268722012-02-20 David S. Miller <davem@davemloft.net>
26873
d510c123
DM
26874 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
26875 both binutils and gcc support GOTDATA.
26876
0722d7c2
DM
26877 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
26878 "rd %pc" in the PIC register setup sequences.
26879
3d2b3019
DM
26880 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
26881 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
26882 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26883 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
26884 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26885 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26886 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26887 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26888 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
26889 (SYSCALL_ERROR_HANDLER): Likewise.
26890 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26891 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26892 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
26893 (SYSCALL_ERROR_HANDLER): Likewise.
26894
c80098a9
DM
26895 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
26896 (HAVE_GCC_GOTDATA): New.
26897 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
26898 relocation support in both binutils and gcc.
26899 * sysdeps/sparc/elf/configure: Regenerate.
26900
3a2545a0
DM
26901 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
26902 * sysdeps/sparc/sparc32/elf/configure: Delete.
26903 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
26904 * sysdeps/sparc/sparc64/elf/configure: Delete.
26905 * sysdeps/sparc/elf/configure.in: New file.
26906 * sysdeps/sparc/elf/configure: Generate.
26907
7a8b71c3
DM
26908 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
26909 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
26910 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
26911 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
26912 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
26913
f1e86fca
JM
269142012-02-21 Joseph Myers <joseph@codesourcery.com>
26915
26916 * manual/install.texi: Do not mention specific glibc version
26917 numbers.
26918 * manual/libc.texinfo (VERSION, UPDATED): Update.
26919 (@copying): Use @copyright{} and range of years.
26920
0e7dfaef
JM
269212012-02-21 Joseph Myers <joseph@codesourcery.com>
26922
26923 [BZ #13695]
26924 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
26925 [crti.S not in sysdirs] (generated): Do not append.
26926 [crti.S not in sysdirs] (omit-deps): Likewise.
26927 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
26928 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
26929 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
26930 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
26931 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
26932 Likewise.
26933 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
26934 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
26935 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
26936 * csu/defs.awk: Remove file.
26937 * sysdeps/generic/initfini.c: Likewise.
26938 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
26939 variable.
26940 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
26941 Likewise.
26942
599af3ca
JM
269432012-02-20 Joseph Myers <joseph@codesourcery.com>
26944
26945 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
26946 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
26947 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
26948 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
26949 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26950 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
26951 <bits/epoll.h>.
26952 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
26953 (__EPOLL_PACKED): Define to empty if not defined by
26954 <bits/epoll.h>.
26955 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
26956 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26957 bits/epoll.h.
26958
0e499750
JM
269592012-02-20 Joseph Myers <joseph@codesourcery.com>
26960
26961 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
26962 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
26963 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
26964 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
26965 <bits/timerfd.h>.
26966 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
26967 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26968 bits/timerfd.h.
26969
5ad91f6e
JM
269702012-02-20 Joseph Myers <joseph@codesourcery.com>
26971
26972 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
26973 in C locale.
26974 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26975 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26976 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
26977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26978
06b99b02
AJ
269792012-02-20 Aurelien Jarno <aurelien@aurel32.net>
26980
26981 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26982 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26983
7638c0fd
AS
269842012-02-19 Andreas Schwab <schwab@linux-m68k.org>
26985
26986 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
26987 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
26988 defined.
26989 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
26990 Likewise.
26991 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
26992 entry for 2.16.
26993
92221550
AJ
269942012-02-19 Aurelien Jarno <aurelien@aurel32.net>
26995
26996 * math/w_acos.c: Use non-signaling floating-point comparisons.
26997 * math/w_acosf.c: Likewise.
26998 * math/w_acosh.c: Likewise.
26999 * math/w_acoshf.c: Likewise.
27000 * math/w_acoshl.c: Likewise.
27001 * math/w_acosl.c: Likewise.
27002 * math/w_asin.c: Likewise.
27003 * math/w_asinf.c: Likewise.
27004 * math/w_asinl.c: Likewise.
27005 * math/w_atanh.c: Likewise.
27006 * math/w_atanhf.c: Likewise.
27007 * math/w_atanhl.c: Likewise.
27008 * math/w_exp2.c: Likewise.
27009 * math/w_exp2f.c: Likewise.
27010 * math/w_exp2l.c: Likewise.
27011 * math/w_j0.c: Likewise.
27012 * math/w_j0f.c: Likewise.
27013 * math/w_j0l.c: Likewise.
27014 * math/w_j1.c: Likewise.
27015 * math/w_j1f.c: Likewise.
27016 * math/w_j1l.c: Likewise.
27017 * math/w_jn.c: Likewise.
27018 * math/w_jnf.c: Likewise.
27019 * math/w_log.c: Likewise.
27020 * math/w_log10.c: Likewise.
27021 * math/w_log10f.c: Likewise.
27022 * math/w_log10l.c: Likewise.
27023 * math/w_log2.c: Likewise.
27024 * math/w_log2f.c: Likewise.
27025 * math/w_log2l.c: Likewise.
27026 * math/w_logf.c: Likewise.
27027 * math/w_logl.c: Likewise.
27028 * math/w_sqrt.c: Likewise.
27029 * math/w_sqrtf.c: Likewise.
27030 * math/w_sqrtl.c: Likewise.
27031 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27032 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
27033 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27034 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27035 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27036
ebaf36eb
JM
270372012-02-19 Joseph Myers <joseph@codesourcery.com>
27038
27039 [BZ #9739]
27040 * manual/string.texi (strnlen): Use correct parameter name in
27041 equivalent expression.
27042
71c254a6
JM
270432012-02-19 Joseph Myers <joseph@codesourcery.com>
27044
27045 [BZ #11174]
27046 * manual/users.texi (seteuid): Consistently use neweuid for
27047 argument name.
27048
16d2c631
JM
270492012-02-19 Joseph Myers <joseph@codesourcery.com>
27050
27051 [BZ #13704]
27052 * manual/nss.texi (Services in the NSS configuration): Correct
27053 list of services in example configuration file.
27054
cd837b09
NB
270552012-02-19 Nick Bowler <nbowler@draconx.ca>
27056
27057 [BZ #11322]
27058 * manual/arith.texi: Remove statements about negative zero
27059 behaving identically to zero.
27060
02c4bbad
JM
270612012-02-18 Joseph Myers <joseph@codesourcery.com>
27062
27063 [BZ #5993]
27064 * manual/install.texi: Do not document upgrading from libc5.
27065
366842e7
JM
270662012-02-18 Joseph Myers <joseph@codesourcery.com>
27067
27068 [BZ #4596]
27069 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
27070
dd54084d
DM
270712012-02-18 David S. Miller <davem@davemloft.net>
27072
27073 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
27074 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
27075 %o7 across the call.
27076 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
27077 instead.
27078 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
27079 SETUP_PIC_REG_LEAF.
27080 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27081 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
27082 * sysdeps/sparc/crtn.S: Likewise.
27083
2bcc53a3
UD
270842012-02-17 Ulrich Drepper <drepper@gmail.com>
27085
27086 * aout/Makefile: Remove.
27087
09c093b5
RK
270882012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
27089
27090 [BZ #13058]
27091 * manual/examples/argp-ex1.c (main): Format definition in GNU
27092 style.
27093 * manual/examples/argp-ex2.c (main): Likewise.
27094 * manual/examples/argp-ex3.c (main): Likewise.
27095 * manual/examples/argp-ex4.c (main): Likewise.
27096 * manual/examples/longopt.c (main): Use new-style prototype
27097 definition.
27098 * manual/examples/strncat.c (main): Specify return type and use
27099 (void) for arguments.
27100 * manual/examples/subopt.c (main): Use char **argv argument.
27101
2ee633a2
JM
271022012-02-17 Joseph Myers <joseph@codesourcery.com>
27103
27104 [BZ #5077]
27105 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
27106 rounding modes.
27107
0520adde
FB
271082012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
27109
27110 [BZ #6907]
27111 * manual/string.texi (strchr): Change when strchrnul is
27112 recommended.
27113
3f4081cd
DGM
271142012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
27115
27116 [BZ #174]
27117 * manual/locale.texi (setlocale): Document LOCPATH.
27118
d1b10e78
JM
271192012-02-17 Joseph Myers <joseph@codesourcery.com>
27120
27121 [BZ #10210]
27122 * manual/process.texi (execle): Move @dots{} before last argument.
27123
79c6869c
PB
271242012-02-17 Paul Bolle <pebolle@tiscali.nl>
27125
27126 [BZ #12047]
27127 * manual/charset.texi (Generic Charset Conversion): Fix typo
27128 (LC_TYPE -> LC_CTYPE).
27129
cc6e48bc
NB
271302012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
27131
27132 [BZ #5805]
27133 * manual/arith.texi (scalbn): Use @var{} on parameter names.
27134 (scalbnf): Likewise.
27135 (scalbnl): Likewise.
27136 (scalbln): Likewise.
27137 (scalblnf): Likewise.
27138 (scalblnl): Likewise.
27139 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
27140 (vwarnx): Likewise.
27141 (verr): Likewise.
27142 (verrx): Likewise.
27143 * manual/filesys.texi (telldir): Use braces around return type.
27144 * manual/llio.texi (mmap): Add space after comma.
27145 (mmap64): Likewise.
27146 * manual/math.texi (jn): Use @var{} on parameter names.
27147 (jnf): Likewise.
27148 (jnl): Likewise.
27149 (yn): Likewise.
27150 (ynf): Likewise.
27151 (ynl): Likewise.
27152 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
27153 line.
27154 * manual/resource.texi (ulimit): Use @dots{} instead of literal
27155 "...".
27156 (sched_get_priority_min): Remove semicolon on @deftypefun line.
27157 (sched_get_priority_max): Likewise.
27158 * manual/signal.texi (sigvec): Add space after comma.
27159 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
27160 names.
27161 (if_indextoname): Likewise.
27162 (if_freenameindex): Likewise.
27163 (sendto): Use ',' instead of '.' in prototype.
27164 * manual/startup.texi (syscall): Use @dots{} instead of literal
27165 "...".
27166 * manual/stdio.texi (__fpending): Separate initial words of
27167 paragraph from @deftypefun line.
27168 * manual/syslog.texi (syslog): Use @dots{} instead of literal
27169 "...".
27170 (vsyslog): Use @var{} on parameter names.
27171 * manual/terminal.texi (stty): Use @var{} on parameter names.
27172 * manual/users.texi (getutmp): Use @var{} on parameter names.
27173 (getutmpx): Likewise.
27174
5b23062f
JM
271752012-02-17 Joseph Myers <joseph@codesourcery.com>
27176
27177 [BZ #6884]
27178 * manual/stdio.texi (fopen): Fix typos in description of
27179 ",ccs=STRING".
27180
8dee4833
AJ
271812012-02-17 Aurelien Jarno <aurelien@aurel32.net>
27182
27183 [BZ #4026]
27184 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
27185 get clock_id definition.
27186
9078ce93
TS
271872012-02-17 Thomas Schwinge <thomas@schwinge.name>
27188
27189 [BZ #4822]
27190 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
27191 (madvise): Cast every argument to void on its own.
27192
3835c55f
JM
271932012-02-17 Joseph Myers <joseph@codesourcery.com>
27194
27195 [BZ #9902]
27196 * manual/startup.texi (Exit Status): Fix typo.
27197
35c47e37
JM
271982012-02-17 Joseph Myers <joseph@codesourcery.com>
27199
27200 [BZ #10140]
27201 * manual/examples/argp-ex1.c: Include <stdlib.h>.
27202 * manual/examples/argp-ex2.c: Likewise.
27203 * manual/examples/argp-ex3.c: Likewise.
27204
e3b69ca7
RH
272052012-02-16 Richard Henderson <rth@redhat.com>
27206
27207 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
27208 * sysdeps/s390/s390-32/initfini.c: Remove.
27209 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
27210 * sysdeps/s390/s390-64/initfini.c: Remove.
27211
df83af67
KK
272122012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27213
27214 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
27215 compiler output for sysdeps/generic/initfini.c.
27216 * sysdeps/sh/elf/initfini.c: Remove file.
27217
f63f3380
DM
272182012-02-16 David S. Miller <davem@davemloft.net>
27219
fb59b3a4
DM
27220 [BZ #11494]
27221 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
27222
f63f3380
DM
27223 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
27224 * sysdeps/sparc/crti.S: New file.
27225 * sysdeps/sparc/crtn.S: New file.
27226 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
27227 * sysdeps/sparc/sparc64/Makefile: Likewise.
27228
df6a4a4a
MF
272292012-02-15 Mike Frysinger <vapier@gentoo.org>
27230
6dd8f3dc 27231 [BZ #3335]
df6a4a4a
MF
27232 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
27233
1cac7236
RM
272342012-02-15 Roland McGrath <roland@hack.frob.com>
27235
d2c736f8
RM
27236 [BZ #4822]
27237 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
27238
1cac7236
RM
27239 * mach/devstream.c (cookie_io_functions_t): Macro removed.
27240 (write, read, close): Likewise.
27241 Patch by Aurelien Jarno <aurelien@aurel32.net>.
27242
8e475601
JM
272432012-02-15 Joseph Myers <joseph@codesourcery.com>
27244
27245 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
27246 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
27247 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
27248 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
27249 <bits/signalfd.h>.
27250 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
27251 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27252 bits/signalfd.h.
27253
ed656b40
MP
272542012-02-14 Marek Polacek <polacek@redhat.com>
27255
27256 * sysdeps/x86_64/crti.S: New file.
27257 * sysdeps/x86_64/crtn.S: New file.
27258 * sysdeps/x86_64/elf/initfini.c: Remove file.
27259
2a979d3a
JM
272602012-02-13 Joseph Myers <joseph@codesourcery.com>
27261
27262 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
27263 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
27264 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
27265 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
27266 <bits/inotify.h>.
27267 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
27268 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27269 bits/inotify.h.
27270
2a418ac3
JM
272712012-02-13 Joseph Myers <joseph@codesourcery.com>
27272
27273 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
27274 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
27275 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
27276 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
27277 <bits/eventfd.h>.
27278 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
27279 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27280 bits/eventfd.h.
27281
fb779be7
TS
272822012-02-10 Thomas Schwinge <thomas@codesourcery.com>
27283
e19e83c5
RM
27284 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
27285 __feraiseexcept instead of feraiseexcept.
7c35ffed 27286
fb779be7
TS
27287 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
27288 nanosleep invocations.
27289 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
27290 strings, and add error checking for a nanosleep invocations.
27291
59ba27a6
PE
272922012-02-09 Paul Eggert <eggert@cs.ucla.edu>
27293
27294 Replace FSF snail mail address with URLs, as per GNU coding standards.
27295 Most of the snail mail addresses were wrong anyway, and omitting
27296 them makes the source code easier to maintain. Almost all of the
27297 changes are to license notices and to locale LC_IDENTIFICATION
27298 addresses, except for this one:
27299 * manual/libc.texinfo: In "Published by", give the FSF's URL,
27300 not its snail mail address.
27301
57b957eb
RH
273022012-02-09 Richard Henderson <rth@twiddle.net>
27303
af850b1c
RH
27304 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
27305 of kernel-features.h.
27306
57b957eb
RH
27307 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
27308
6b73181a
MP
273092012-02-08 Marek Polacek <polacek@redhat.com>
27310
27311 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
27312 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
27313 * sysdeps/gnu/_G_config.h: Likewise.
27314 * sysdeps/generic/_G_config.h: Likewise.
27315
26ecc33a
AS
273162012-02-08 Andreas Schwab <schwab@linux-m68k.org>
27317
6c6dbc63
AS
27318 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
27319 tests.
27320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27321
e216c012
AS
27322 * sysdeps/powerpc/powerpc32/crti.S: New file.
27323 * sysdeps/powerpc/powerpc32/crtn.S: New file.
27324 * sysdeps/powerpc/powerpc64/crti.S: New file.
27325 * sysdeps/powerpc/powerpc64/crtn.S: New file.
27326
26ecc33a
AS
27327 * Makeconfig (have-initfini): Don't set.
27328 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
27329 * configure.in (nopic_initfini): Don't substitute.
27330 * config.h.in (HAVE_INITFINI): Don't #undef.
27331 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
27332 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
27333
3add8e13
JM
273342012-02-08 Joseph Myers <joseph@codesourcery.com>
27335
27336 Support crti.S and crtn.S provided directly by architectures.
27337 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
27338 [crti.S in sysdirs] (omit-deps): Likewise.
27339 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
27340 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
27341 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
27342 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
27343 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
27344 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
27345 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
27346 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
27347 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
27348 compiler output for sysdeps/generic/initfini.c.
27349 * sysdeps/i386/elf/Makefile: Remove file.
27350 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
27351
a22f12b4
MP
273522012-02-07 Marek Polacek <polacek@redhat.com>
27353
27354 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
27355 * sysdeps/gnu/_G_config.h: Likewise.
27356 * sysdeps/mach/hurd/_G_config.h: Likewise.
27357
148cf100
MP
273582012-02-07 Marek Polacek <polacek@redhat.com>
27359
27360 * math/Makefile (tests): Add tst-CMPLX2.
27361 * math/tst-CMPLX2.c: New file.
27362
cfdc0dd7
AS
273632012-02-07 Andreas Schwab <schwab@linux-m68k.org>
27364
84ba42c4
AS
27365 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27366
cfdc0dd7
AS
27367 * math/libm-test.inc (jn_test): Add missing L suffix.
27368
622c86f4
MP
273692012-02-06 Marek Polacek <polacek@redhat.com>
27370
27371 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
27372 * sysdeps/i386/fpu/e_powf.S: Likewise.
27373 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27374 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27375 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27376 * sysdeps/i386/fpu/e_pow.S: Likewise.
27377 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27378 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27379 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27380 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27381 * sysdeps/i386/fpu/e_log2.S: Likewise.
27382 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27383 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27384 * sysdeps/i386/fpu/e_powl.S: Likewise.
27385 * sysdeps/i386/fpu/s_log1p.S: Likewise.
27386 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27387 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27388 * sysdeps/i386/fpu/e_logl.S: Likewise.
27389 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27390 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
27391 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27392 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27393 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27394 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27395 * sysdeps/i386/fpu/e_log.S: Likewise.
27396 * sysdeps/i386/fpu/s_cexp.S: Likewise.
27397 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27398 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
27399 * sysdeps/i386/fpu/e_logf.S: Likewise.
27400 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27401 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27402 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
27403 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27404 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27405 * sysdeps/i386/fpu/e_log10.S: Likewise.
27406 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27407 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27408 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27409 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27410 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27411 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27412 * sysdeps/i386/asm-syntax.h: Likewise.
27413 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27414 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27415 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27416 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
27417 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
27418 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27419 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27420 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27421 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27422 * sysdeps/powerpc/sysdep.h: Likewise.
27423 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
27424 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27425
d4a54ac6
JM
274262012-02-06 Joseph Myers <joseph@codesourcery.com>
27427
27428 [BZ #411]
27429 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
27430
314054ea
JM
274312012-02-06 Joseph Myers <joseph@codesourcery.com>
27432
27433 * sysdeps/i386/sysdep.h: Include <features.h>.
27434 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
27435 version.
27436
d8e0ca50
JM
274372012-02-05 Joseph Myers <joseph@codesourcery.com>
27438
27439 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
27440 Define.
27441 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
27442 LOAD_PIC_REG_STR.
27443
b1da7dd9
JM
274442012-02-03 Joseph Myers <joseph@codesourcery.com>
27445
27446 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
27447 (SETUP_PIC_REG): Use GET_PC_THUNK.
27448 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
27449 macro.
27450
9a1d9254
JM
274512012-02-03 Joseph Myers <joseph@codesourcery.com>
27452
27453 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
27454 for non-PIC compilation.
27455 (SETUP_PIC_REG): Add .p2align directive.
27456 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
27457 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
27458 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27459 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27460 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27461 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27462 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
27463 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27464 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27465 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27466 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27467 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27468 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27469 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27470 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27471 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27472 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27473 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27474 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27475 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27476 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27477 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27478 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27479 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27480 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27481 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27482 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27483 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27484 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27485 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27486 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27487 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27488 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27489 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27490 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27491 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27492 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27493 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27494 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27495 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27496 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27497
65dc3b75
JM
274982012-02-03 Joseph Myers <joseph@codesourcery.com>
27499
27500 * math/tst-CMPLX.c: Include <stdio.h>.
27501
d55bf177
JM
275022012-01-31 Joseph Myers <joseph@codesourcery.com>
27503
27504 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
27505 float.
27506 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27507 * sysdeps/sparc/bits/mathdef.h: Likewise.
27508
69db4f8f
MP
275092012-01-31 Marek Polacek <polacek@redhat.com>
27510
27511 * libio/libio.h: Don't define _PARAMS.
27512 * locale/programs/config.h: Don't define PARAMS.
27513 * stdlib/strtol_l.c: Likewise.
27514 (__strtol_l): Remove PARAMS from the prototype.
27515
41b81892
UD
275162012-01-31 Ulrich Drepper <drepper@gmail.com>
27517
3b49edc0
UD
27518 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
27519 names. Just use the correct names. Remove unnecessary wrapper
27520 functions.
27521 * malloc/arena.c: Likewise.
27522 * malloc/hooks.c: Likewise.
27523
41b81892
UD
27524 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
27525 ARENA_TEST says not to. Simplify test for creation of a new arena.
27526 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
27527
27a25b6e
UD
275282012-01-30 Ulrich Drepper <drepper@gmail.com>
27529
27530 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
27531 into tail calls.
27532 (update_get_addr): New function.
27533 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
27534 GET_ADDR_MODULE parameter.
27535
c8a89e7d
JM
275362012-01-30 Joseph Myers <joseph@codesourcery.com>
27537
27538 * crypt/cert.c: Remove __STDC__ conditionals.
27539 * crypt/crypt-entry.c: Likewise.
27540 * crypt/crypt_util.c: Likewise.
27541 * libio/filedoalloc.c: Likewise.
27542 * libio/fileops.c: Likewise.
27543 * libio/genops.c: Likewise.
27544 * libio/iofclose.c: Likewise.
27545 * libio/iofdopen.c: Likewise.
27546 * libio/iofopen.c: Likewise.
27547 * libio/iofopen64.c: Likewise.
27548 * libio/iogetdelim.c: Likewise.
27549 * libio/iopopen.c: Likewise.
27550 * libio/obprintf.c: Likewise.
27551 * libio/oldfileops.c: Likewise.
27552 * libio/oldiofclose.c: Likewise.
27553 * libio/oldiofdopen.c: Likewise.
27554 * libio/oldiofopen.c: Likewise.
27555 * libio/oldiopopen.c: Likewise.
27556 * libio/wfiledoalloc.c: Likewise.
27557 * libio/wgenops.c: Likewise.
27558 * locale/programs/xmalloc.c: Likewise.
27559 * misc/syslog.c: Likewise.
27560 * stdio-common/xbug.c: Likewise.
27561 * string/memchr.c: Likewise.
27562 * string/memcmp.c: Likewise.
27563 * string/memrchr.c: Likewise.
27564 * string/rawmemchr.c: Likewise.
27565 * sysdeps/posix/getcwd.c: Likewise.
27566 * time/strftime_l.c: Likewise.
27567
3b100462
JM
275682012-01-30 Joseph Myers <joseph@codesourcery.com>
27569
27570 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
27571 * config.make.in (config-cflags-sse2avx): Define.
27572 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
27573 Fix typo.
27574
607998af
CM
275752012-01-29 Chris Metcalf <cmetcalf@tilera.com>
27576
27577 * scripts/config.guess: Update from upstream config git repository.
27578 * scripts/config.sub: Likewise.
27579
3601428f
CM
275802012-01-28 Chris Metcalf <cmetcalf@tilera.com>
27581
3ac8b282
CM
27582 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
27583 (EM_NUM): Update.
27584 (R_TILEPRO_*, R_TILEGX_*): New macros.
27585
e034841e
CM
27586 * scripts/firstversions.awk: Fix bug in version range handling.
27587
540d7568
CM
27588 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
27589
3601428f
CM
27590 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
27591
463de862
CM
27592 * include/sys/epoll.h: New file.
27593 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
27594 libc_hidden_def.
27595
73139a76
UD
275962012-01-28 Ulrich Drepper <drepper@gmail.com>
27597
96bc5b45
UD
27598 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
27599 Avoid unnecessary __WORDSIZE == 64 test.
27600 (fmaxf): Use VEX format if possible.
27601 (fmax): Likewise.
27602 (fminf): Likewise.
27603 (fmin): Likewise.
27604
56f6f6a2
UD
27605 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
27606 * math/math_private.h: Remove libc_fegetround* and
27607 libc_fesetround*.
27608 * sysdeps/i386/configure.in: Check for -msse2avx.
27609 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
27610 also if SSE2AVX is defined.
27611 Remove libc_fegetround* and libc_fesetround*.
27612 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
27613 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
27614 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
27615 of HAS_YMM_USABLE.
27616 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27617 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27618 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27619 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27620 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27621
73139a76
UD
27622 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
27623
d73f93a4
AZ
276242012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27625
27626 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
27627 size is not set.
27628 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27629
6ee65ed6
UD
276302012-01-27 Ulrich Drepper <drepper@gmail.com>
27631
27632 [BZ #13618]
27633 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
27634 relocation.
27635 * Makeconfig (libm): Define.
27636 * elf/Makefile: Add rules to build and run tst-relsort1.
27637 * elf/tst-relsort1.c: New file.
27638 * elf/tst-relsort1mod1.c: New file.
27639 * elf/tst-relsort1mod2.c: New file.
27640
8db21882
JM
276412012-01-27 Joseph Myers <joseph@codesourcery.com>
27642
27643 * math/s_ldexp.c: Remove __STDC__ conditionals.
27644 * math/s_ldexpf.c: Likewise.
27645 * math/s_ldexpl.c: Likewise.
27646 * math/s_nextafter.c: Likewise.
27647 * math/s_nexttowardf.c: Likewise.
27648 * math/s_significand.c: Likewise.
27649 * math/s_significandf.c: Likewise.
27650 * math/s_significandl.c: Likewise.
27651 * math/w_jnl.c: Likewise.
27652 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27653 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27654 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27655 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27656 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27657 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27658 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
27659 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27660 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27661 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27662 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27663 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27664 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27665 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27666 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27667 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27668 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27669 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27670 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27671 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27672 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27673 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27674 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27675 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27676 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27677 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27678 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27679 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27680 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27681 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27682 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27683 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27684 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27685 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27686 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27687 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27688 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27689 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27690 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27691 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27692 * sysdeps/ieee754/k_standard.c: Likewise.
27693 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27694 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27695 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27696 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27697 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27698 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27699 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27700 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27701 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27702 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27703 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27704 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27705 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27706 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27707 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27708 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27709 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27710 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27711 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27712 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27713 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27714 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27715 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27716 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27717 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27718 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27719 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27720 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27721 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27722 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27723 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27724 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
27725 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27726 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27727 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27728 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27729 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
27730 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27731 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27732 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
27733 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
27734 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27735 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
27736 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
27737 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27738 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27739 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27740 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27741 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27742 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
27743 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
27744 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27745 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27746 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27747 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27748 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27749 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
27750 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27751 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27752 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27753 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27754 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27755 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27756 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27757 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27758 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27759 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27760 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27761 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27762 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27763 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27764 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27765 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27766 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27767 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27768 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27769 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27770 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27771 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27772 * sysdeps/ieee754/s_matherr.c: Likewise.
27773 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27774 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27775 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27776 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27777
965a54a4
JM
277782012-01-26 Joseph Myers <joseph@codesourcery.com>
27779
27780 * crypt/md5.h: Remove __STDC__ conditionals.
27781 * libio/libioP.h: Likewise.
27782 * locale/programs/config.h: Likewise.
27783 * sysdeps/generic/sysdep.h: Likewise.
27784 * sysdeps/i386/asm-syntax.h: Likewise.
27785 * sysdeps/s390/asm-syntax.h: Likewise.
27786 * sysdeps/unix/sysdep.h: Likewise.
27787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27789
7071ad79
JM
277902012-01-26 Joseph Myers <joseph@codesourcery.com>
27791
27792 * libio/libio.h: Remove __STDC__ conditionals.
27793 * malloc/obstack.h: Likewise.
27794 * math/complex.h: Likewise.
27795 * math/math.h: Likewise.
27796 * sysdeps/generic/_G_config.h: Likewise.
27797 * sysdeps/gnu/_G_config.h: Likewise.
27798 * sysdeps/mach/hurd/_G_config.h: Likewise.
27799 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27800 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27801 * sysdeps/sparc/bits/mathdef.h: Likewise.
27802
afc5ed09
UD
278032012-01-26 Ulrich Drepper <drepper@gmail.com>
27804
27805 [BZ #13583]
27806 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 27807 Clean up HAS_* macros.
afc5ed09 27808 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
27809 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
27810 possible.
27811 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
27812 HAS_AVX.
27813 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27814 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27815 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27816 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27817 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 27818
bdb6de1d
JM
278192012-01-25 Joseph Myers <joseph@codesourcery.com>
27820
27821 * elf/tst-unique3.cc (gets): Remove declaration.
27822 * elf/tst-unique3lib.cc (gets): Likewise.
27823 * elf/tst-unique3lib2.cc (gets): Likewise.
27824 * elf/tst-unique4.cc (gets): Likewise.
27825
b15549e6
UD
278262012-01-24 Ulrich Drepper <drepper@gmail.com>
27827
27828 * include/stdio.h: Add C++ protection. Add gets declarations and
27829 definitions.
27830 * debug/tst-chk1.c: Don't declare gets here.
27831 * stdio-common/tst-gets.c: Likewise.
27832
a037381f
JM
278332012-01-24 Joseph Myers <joseph@codesourcery.com>
27834
27835 * posix/glob: Remove directory.
27836
f1d4aa75
JM
278372012-01-24 Joseph Myers <joseph@codesourcery.com>
27838
27839 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
27840
81c0c964
PT
278412012-01-22 Pino Toscano <toscano.pino@tiscali.it>
27842
27843 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
27844 of the non-standard EPFNOSUPPORT.
27845
0ea698ae
ST
278462011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
27847
27848 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
27849 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
27850 ANYWHERE set to 1 only on KERN_NO_SPACE error.
27851
d220b117
UD
278522012-01-21 Ulrich Drepper <drepper@gmail.com>
27853
27854 * wcsmbs/uchar.h: Test __STDC_VERSION__.
27855
3e1aa84e
UD
278562012-01-20 Ulrich Drepper <drepper@gmail.com>
27857
27858 * nscd/aicache.c (addhstaiX): Do not cache negative results of
27859 transient errors.
27860 * nscd/grpcache.c (cache_addgr): Likewise.
27861 * nscd/hstcache.c (cache_addhst): Likewise.
27862 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27863 * nscd/pwdcache.c (cache_addpw): Likewise.
27864 * nscd/servicescache.c (cache_addserv): Likewise.
27865
400aa020
UD
278662012-01-16 Ulrich Drepper <drepper@gmail.com>
27867
d77e7869
UD
27868 * malloc/malloc.c: Various cleanups.
27869 * malloc/hooks.c: Likewise.
27870
400aa020
UD
27871 * stdlib/Makefile (tests): Add bug-fmtmsg1.
27872 * stdlib/bug-fmtmsg1.c: New file.
27873
27874 * stdlib/fmtmsg.c (init): Add missing unlock.
27875 Patch by Peng Haitao <penght@cn.fujitsu.com>.
27876
e0a309cf
MP
278772012-01-12 Marek Polacek <polacek@redhat.com>
27878
27879 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
27880 and _GNU_SOURCE.
27881
929d11c7
WS
278822012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27883
27884 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
27885 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
27886 macro to ensure uniqueness of label name.
27887 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27888 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27889
41d0e869
UD
278902012-01-11 Ulrich Drepper <drepper@gmail.com>
27891
0cc5ed3b
UD
27892 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
27893
41d0e869
UD
27894 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
27895 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27896 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27897 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
27898
a47a831a
UD
278992012-01-10 Ulrich Drepper <drepper@gmail.com>
27900
daa891c0
UD
27901 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
27902
27903 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
27904 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27905 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27906
e58ef0f2
UD
27907 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
27908
a47a831a 27909 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
27910 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27911 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 27912 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
27913
27914 * math/bits/math-finite.h: Add ldexp support.
27915
a0bfc9c7
MP
279162012-01-10 Marek Polacek <polacek@redhat.com>
27917
27918 * locale/programs/localedef.h (show_archive_content): Add noreturn
27919 attribute.
27920
d6e97a1d
UD
279212012-01-09 Ulrich Drepper <drepper@gmail.com>
27922
27923 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
27924
d5835c26
UD
279252012-01-08 Ulrich Drepper <drepper@gmail.com>
27926
e5f484c6
UD
27927 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
27928
d5835c26
UD
27929 * io/Makefile (headers): Add bits/poll2.h.
27930
d1f741e9
WS
279312011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
27932
27933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
27934 typo #include statement.
27935
ec09c1c4
UD
279362012-01-08 Ulrich Drepper <drepper@gmail.com>
27937
27938 * include/sys/cdefs.h: Define __attribute_alloc_size.
27939 * catgets/gencat.c: Add alloc_size attribute and apply consistently
27940 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
27941 * elf/pldd.c: Likewise.
27942 * iconv/iconv_charmap.c: Likewise.
27943 * iconv/iconvconfig.c: Likewise.
27944 * iconv/strtab.c: Likewise.
27945 * locale/programs/locale.c: Likewise.
27946 * locale/programs/localedef.h: Likewise.
27947 * locale/programs/simple-hash.c: Likewise.
27948 * nscd/nscd.h: Likewise.
27949 * nss/makedb.c: Likewise.
27950 * sysdeps/generic/ldconfig.h: Likewise.
27951 * locale/programs/localedef.c: Remove xmalloc prototype.
27952 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
27953
20b38e03
PP
279542012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27955
27956 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
27957 appropriate.
27958
a0da5fe1
UD
279592012-01-08 Ulrich Drepper <drepper@gmail.com>
27960
1d5a644a 27961 * math/Makefile (tests): Add tst-CMPLX.
669704fd 27962 * math/tst-CMPLX.c: New file.
1d5a644a 27963
8784a6db
UD
27964 * math/complex.h (CMPLXL): Fix typo.
27965
d9a216c0
UD
27966 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
27967 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
27968 GLIBC_2.16.
27969 * debug/tst-chk1.c: Add poll and ppoll tests.
27970 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
27971 * include/sys/poll.h: Add hidden proto for ppoll.
27972 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
27973 * sysdeps/mach/hurd/ppoll.c: Likewise.
27974 * io/ppoll.c: Likewise.
27975 * debug/poll_chk.c: New file.
27976 * debug/ppoll_chk.c: New file.
27977 * include/bits/poll2.h: New file.
27978 * io/bits/poll2.h: New file.
27979
ac097f5c
UD
27980 [BZ #1350]
27981 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
27982
2119dcfa
UD
27983 * configure.in: static is always set to yes. Remove.
27984 * config.make.in: Don't set build-static.
27985 * Makeconfig: Remove use of build-static.
27986 * dlfcn/Makefile: Likewise.
27987 * elf/Makefile: Likewise.
27988 * math/Makefile: Likewise.
27989 * misc/Makefile: Likewise.
27990 * nptl/Makefile: Likewise.
27991 * sysdeps/mach/hurd/Makefile: Likewise.
27992
121766a9
UD
27993 * configure.in: PWD_P is not used anymore.
27994 * config.make.in: Remove PWD_P entry.
27995
51a1d39c 27996 * configure.in: Remove last remnants of RANLIB.
8720d066 27997 No need to check for signed size_t anymore.
215f4bdc
UD
27998 Don't set libc_commonpagesize and libc_relro_required here for Alpha
27999 and IA-64.
3857022a 28000 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
28001 * aclocal.m4: Likewise.
28002
d3ed7225
UD
28003 * wcsmbs/mbrtoc16.c: Implement using towc function.
28004 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
28005 * wcsmbs/wcsmbsload.c: Likewise.
28006 * iconv/gconv_simple.c: Likewise.
28007 * iconv/gconv_int.h: Likewise.
28008 * iconv/gconv_builtin.h: Likewise.
28009 * iconv/iconv_prog.c: Remove CHAR16 handling.
28010
28011 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
28012
28013 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
28014
a0da5fe1
UD
28015 * configure.in: Remove --with-elf and --enable-bounded options.
28016 Dont set base_machine for ia64. More non-ELF conditions removed.
28017 Remove testing and setting of leading underscore information.
28018 * config.make.in (build-bounded): Set to no.
28019 * config.h.in: Remove NO_UNDERSCORES entry.
28020 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
28021 them.
28022 * csu/start.c: Remove !NO_UNDERSCORE code.
28023 * locale/localeinfo.h: Likewise.
28024 * sysdeps/generic/machine-gmon.h: Likewise.
28025 * sysdeps/generic/sysdep.h: Likewise.
28026 * sysdeps/i386/sysdep.h: Likewise.
28027 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28028 * sysdeps/mach/sysdep.h: Likewise.
28029 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28030 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28031 * sysdeps/sh/sysdep.h: Likewise.
28032 * sysdeps/sparc/sparc32/alloca.S: Likewise.
28033 * sysdeps/unix/i386/sysdep.S: Likewise.
28034 * sysdeps/unix/sparc/start.c: Likewise.
28035 * sysdeps/unix/sparc/sysdep.S: Likewise.
28036 * sysdeps/unix/sparc/sysdep.h: Likewise.
28037 * sysdeps/unix/start.c: Likewise.
28038 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28039 * sysdeps/x86_64/sysdep.h: Likewise.
28040
df78418a
UD
280412012-01-07 Ulrich Drepper <drepper@gmail.com>
28042
a784e502
UD
28043 [BZ #13553]
28044 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
28045 for non-gcc.
28046 * argp/argp-fmtstream.h: Use const instead __const.
28047 * argp/argp.h: Likewise.
28048 * assert/assert.h: Likewise.
28049 * bits/fenv.h: Likewise.
28050 * bits/sched.h: Likewise.
28051 * bits/sigset.h: Likewise.
28052 * bits/sigthread.h: Likewise.
28053 * catgets/nl_types.h: Likewise.
28054 * conform/data/pthread.h-data: Likewise.
28055 * crypt/crypt-private.h: Likewise.
28056 * crypt/crypt.h: Likewise.
28057 * crypt/crypt_util.c: Likewise.
28058 * ctype/ctype.h: Likewise.
28059 * debug/execinfo.h: Likewise.
28060 * debug/mbsnrtowcs_chk.c: Likewise.
28061 * debug/mbsrtowcs_chk.c: Likewise.
28062 * debug/wcsnrtombs_chk.c: Likewise.
28063 * debug/wcsrtombs_chk.c: Likewise.
28064 * debug/wcstombs_chk.c: Likewise.
28065 * dirent/dirent.h: Likewise.
28066 * dlfcn/dlfcn.h: Likewise.
28067 * elf/neededtest4.c: Likewise.
28068 * grp/grp.h: Likewise.
28069 * gshadow/gshadow.h: Likewise.
28070 * iconv/gconv.h: Likewise.
28071 * iconv/gconv_int.h: Likewise.
28072 * iconv/gconv_simple.c: Likewise.
28073 * iconv/iconv.h: Likewise.
28074 * iconv/loop.c: Likewise.
28075 * iconv/skeleton.c: Likewise.
28076 * include/aio.h: Likewise.
28077 * include/aliases.h: Likewise.
28078 * include/argz.h: Likewise.
28079 * include/arpa/inet.h: Likewise.
28080 * include/assert.h: Likewise.
28081 * include/dirent.h: Likewise.
28082 * include/dlfcn.h: Likewise.
28083 * include/execinfo.h: Likewise.
28084 * include/fcntl.h: Likewise.
28085 * include/fenv.h: Likewise.
28086 * include/glob.h: Likewise.
28087 * include/grp.h: Likewise.
28088 * include/libintl.h: Likewise.
28089 * include/mntent.h: Likewise.
28090 * include/netdb.h: Likewise.
28091 * include/pwd.h: Likewise.
28092 * include/rpc/netdb.h: Likewise.
28093 * include/sched.h: Likewise.
28094 * include/search.h: Likewise.
28095 * include/shadow.h: Likewise.
28096 * include/signal.h: Likewise.
28097 * include/stdio.h: Likewise.
28098 * include/stdlib.h: Likewise.
28099 * include/string.h: Likewise.
28100 * include/sys/socket.h: Likewise.
28101 * include/sys/stat.h: Likewise.
28102 * include/sys/statfs.h: Likewise.
28103 * include/sys/statvfs.h: Likewise.
28104 * include/sys/syslog.h: Likewise.
28105 * include/sys/time.h: Likewise.
28106 * include/sys/uio.h: Likewise.
28107 * include/time.h: Likewise.
28108 * include/unistd.h: Likewise.
28109 * include/utmp.h: Likewise.
28110 * include/wchar.h: Likewise.
28111 * include/wctype.h: Likewise.
28112 * inet/aliases.h: Likewise.
28113 * inet/arpa/inet.h: Likewise.
28114 * inet/netinet/ether.h: Likewise.
28115 * inet/netinet/in.h: Likewise.
28116 * intl/libintl.h: Likewise.
28117 * io/bits/fcntl2.h: Likewise.
28118 * io/fcntl.h: Likewise.
28119 * io/ftw.h: Likewise.
28120 * io/sys/poll.h: Likewise.
28121 * io/sys/stat.h: Likewise.
28122 * io/sys/statfs.h: Likewise.
28123 * io/sys/statvfs.h: Likewise.
28124 * io/utime.h: Likewise.
28125 * libio/bits/stdio.h: Likewise.
28126 * libio/bits/stdio2.h: Likewise.
28127 * libio/libio.h: Likewise.
28128 * libio/libioP.h: Likewise.
28129 * libio/stdio.h: Likewise.
28130 * locale/lc-ctype.c: Likewise.
28131 * locale/locale.h: Likewise.
28132 * login/utmp.h: Likewise.
28133 * malloc/arena.c: Likewise.
28134 * malloc/malloc.c: Likewise.
28135 * malloc/malloc.h: Likewise.
28136 * malloc/mcheck.c: Likewise.
28137 * malloc/mtrace.c: Likewise.
28138 * math/bits/mathcalls.h: Likewise.
28139 * math/fenv.h: Likewise.
28140 * math/math_private.h: Likewise.
28141 * misc/bits/error.h: Likewise.
28142 * misc/bits/syslog.h: Likewise.
28143 * misc/err.h: Likewise.
28144 * misc/error.h: Likewise.
28145 * misc/fstab.h: Likewise.
28146 * misc/mntent.h: Likewise.
28147 * misc/regexp.h: Likewise.
28148 * misc/search.h: Likewise.
28149 * misc/sgtty.h: Likewise.
28150 * misc/sys/mman.h: Likewise.
28151 * misc/sys/syslog.h: Likewise.
28152 * misc/sys/uio.h: Likewise.
28153 * misc/sys/xattr.h: Likewise.
28154 * misc/ttyent.h: Likewise.
28155 * nis/rpcsvc/ypclnt.h: Likewise.
28156 * nss/nss.h: Likewise.
28157 * posix/bits/unistd.h: Likewise.
28158 * posix/fnmatch.h: Likewise.
28159 * posix/glob.h: Likewise.
28160 * posix/sched.h: Likewise.
28161 * posix/spawn.h: Likewise.
28162 * posix/sys/wait.h: Likewise.
28163 * posix/unistd.h: Likewise.
28164 * posix/wordexp.h: Likewise.
28165 * pwd/pwd.h: Likewise.
28166 * resolv/netdb.h: Likewise.
28167 * resource/sys/resource.h: Likewise.
28168 * rt/aio.h: Likewise.
28169 * rt/bits/mqueue2.h: Likewise.
28170 * rt/mqueue.h: Likewise.
28171 * shadow/shadow.h: Likewise.
28172 * signal/signal.h: Likewise.
28173 * socket/send.c: Likewise.
28174 * socket/sendto.c: Likewise.
28175 * socket/sys/socket.h: Likewise.
28176 * stdio-common/printf.h: Likewise.
28177 * stdlib/bits/stdlib.h: Likewise.
28178 * stdlib/fmtmsg.h: Likewise.
28179 * stdlib/monetary.h: Likewise.
28180 * stdlib/stdlib.h: Likewise.
28181 * stdlib/ucontext.h: Likewise.
28182 * streams/stropts.h: Likewise.
28183 * string/argz.h: Likewise.
28184 * string/bits/string2.h: Likewise.
28185 * string/string.h: Likewise.
28186 * string/strings.h: Likewise.
28187 * sunrpc/rpc/auth.h: Likewise.
28188 * sunrpc/rpc/auth_des.h: Likewise.
28189 * sunrpc/rpc/clnt.h: Likewise.
28190 * sunrpc/rpc/netdb.h: Likewise.
28191 * sunrpc/rpc/pmap_clnt.h: Likewise.
28192 * sunrpc/rpc/xdr.h: Likewise.
28193 * sysdeps/generic/inttypes.h: Likewise.
28194 * sysdeps/generic/net/if.h: Likewise.
28195 * sysdeps/generic/sys/swap.h: Likewise.
28196 * sysdeps/gnu/net/if.h: Likewise.
28197 * sysdeps/gnu/utmpx.h: Likewise.
28198 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
28199 * sysdeps/i386/i486/bits/string.h: Likewise.
28200 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
28201 * sysdeps/s390/bits/string.h: Likewise.
28202 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
28203 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
28204 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
28205 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
28206 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
28207 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
28208 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
28209 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
28210 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
28211 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28212 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
28213 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28214 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
28215 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28216 * sysdeps/unix/sysv/linux/readv.c: Likewise.
28217 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
28218 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28219 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28220 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
28221 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
28222 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28223 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
28224 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
28225 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
28226 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
28227 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
28228 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
28229 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28230 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
28231 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
28232 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
28233 * sysvipc/sys/ipc.h: Likewise.
28234 * sysvipc/sys/msg.h: Likewise.
28235 * sysvipc/sys/sem.h: Likewise.
28236 * sysvipc/sys/shm.h: Likewise.
28237 * termios/termios.h: Likewise.
28238 * time/sys/time.h: Likewise.
28239 * time/time.h: Likewise.
28240 * wcsmbs/bits/wchar2.h: Likewise.
28241 * wcsmbs/uchar.h: Likewise.
28242 * wcsmbs/wchar.h: Likewise.
28243 * wctype/wctype.h: Likewise.
28244
0269750c
UD
28245 [BZ #13551]
28246 * Makeconfig: Remove all but ELF support including AIX support.
28247 * Makerules: Likewise.
28248 * config.h.in: Likewise.
28249 * config.make.in: Likewise.
28250 * configure: Likewise.
28251 * configure.in: Likewise.
28252 * csu/Makefile: Likewise.
28253 * csu/version.c: Likewise.
28254 * debug/Makefile: Likewise.
28255 * dlfcn/Makefile: Likewise.
28256 * elf/Makefile: Likewise.
28257 * extra-lib.mk: Likewise.
28258 * iconv/Makefile: Likewise.
28259 * include/libc-symbols.h: Likewise.
28260 * include/shlib-compat.h: Likewise.
28261 * resolv/Makefile: Likewise.
28262 * resolv/res_libc.c: Likewise.
28263 * rt/Makefile: Likewise.
28264 * sysdeps/i386/asm-syntax.h: Likewise.
28265 * sysdeps/i386/sysdep.h: Likewise.
28266 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28267 * sysdeps/mach/sysdep.h: Likewise.
28268 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
28269 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
28270 * sysdeps/s390/asm-syntax.h: Likewise.
28271 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28272 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28273 * sysdeps/sh/sysdep.h: Likewise.
28274 * sysdeps/unix/sparc/sysdep.h: Likewise.
28275 * sysdeps/wordsize-32/divdi3.c: Likewise.
28276 * sysdeps/x86_64/sysdep.h: Likewise.
28277
00bbd29b
UD
28278 * argp/Versions: Remove _argp_unlock_xxx.
28279
28280 [BZ #13559]
28281 * abilist/ld.abilist: Update. Adjust for removal of tls option.
28282 * abilist/libBrokenLocale.abilist: Likewise.
28283 * abilist/libanl.abilist: Likewise.
28284 * abilist/libc.abilist: Likewise.
28285 * abilist/libcrypt.abilist: Likewise.
28286 * abilist/libdl.abilist: Likewise.
28287 * abilist/libm.abilist: Likewise.
28288 * abilist/libnsl.abilist: Likewise.
28289 * abilist/libpthread.abilist: Likewise.
28290 * abilist/libresolv.abilist: Likewise.
28291 * abilist/librt.abilist: Likewise.
28292 * abilist/libthread_db.abilist: Likewise.
28293 * abilist/libutil.abilist: Likewise.
28294 * abilist/libnss_db.abilist: New file.
28295
28296 * scripts/abilist.awk: Add support for indirect functions.
28297
a2693a0e
UD
28298 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
28299
3f05895f
UD
28300 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
28301
ecb6fb48
UD
28302 * shlib-versions: Remove entries for ports architectures.
28303
664f8cb9
UD
28304 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
28305 files in ports.
28306 * elf/stackguard-macros.h: Remove support for IA-64.
28307 * elf/tst-auditmod1.c: Likewise.
28308 * sysdeps/generic/ldsodefs.h: Likewise.
28309
7ae81d88
UD
28310 * sysdeps/unix/sysv/linux/configure.in: Ports should define
28311 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
28312 configure files.
28313
bdeba135
UD
28314 [BZ #13552]
28315 * configure.in: Remove --enable-omitfp support.
28316 * FAQ.in: Adjust.
28317 * config.make.in: Likewise.
28318 * Makeconfig: Likewise.
28319 * manual/install.texi: Likewise.
28320
d75a0a62
UD
28321 In case anyone cares, the IA-64 architecture could move to ports.
28322 * sysdeps/ia64/*: Removed.
28323 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 28324 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 28325
dcc9756b
UD
28326 [BZ #13555]
28327 * configure.in: Remove entries for unsupported architectures.
28328
d3761ebc 28329 [BZ #13533]
9954432e
UD
28330 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
28331 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
28332 routines.
28333 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
28334 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
28335 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
28336 fall back to using wcrtomb.
28337 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
28338 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
28339 renaming.
28340 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
28341 * wcsmbs/tst-c16c32-1.c: New file.
28342
28343 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
28344 local variable.
28345
c3a87236
UD
28346 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
28347
28926a1b
UD
28348 * elf/tst-unique3.cc: Add explicit declaration of gets.
28349 * elf/tst-unique3lib.cc: Likewise.
28350 * elf/tst-unique3lib2.cc: Likewise.
28351 * elf/tst-unique4.cc: Likewise.
28352
df78418a
UD
28353 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
28354
8ecd6b2a
JM
283552012-01-06 Joseph Myers <joseph@codesourcery.com>
28356
28357 [BZ #13566]
28358 * assert/assert.h (static_assert): Don't define for C++.
28359 * libio/stdio.h (gets): Do declare for C++ <= C++11.
28360 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
28361
9f115170
UD
283622012-01-03 Ulrich Drepper <drepper@gmail.com>
28363
5e0d0300
UD
28364 * iconv/loop.c (single loop): Fix assertion in storing of
28365 remaining bytes.
28366
9f115170
UD
28367 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
28368
81fb02b0
UD
283692012-01-01 Ulrich Drepper <drepper@gmail.com>
28370
28371 * posix/getconf.c: Update copyright year.
28372 * nss/getent.c: Likewise.
a316c1f6 28373 * nss/makedb.c: Likewise.
81fb02b0
UD
28374 * iconv/iconvconfig.c: Likewise.
28375 * iconv/iconv_prog.c: Likewise.
28376 * elf/ldconfig.c: Likewise.
a316c1f6
UD
28377 * elf/pldd.c: Likewise.
28378 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
28379 * catgets/gencat.c: Likewise.
28380 * csu/version.c: Likewise.
28381 * elf/ldd.bash.in: Likewise.
28382 * elf/sprof.c (print_version): Likewise.
28383 * locale/programs/locale.c: Likewise.
28384 * locale/programs/localedef.c: Likewise.
a316c1f6 28385 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
28386 * nscd/nscd.c (print_version): Likewise.
28387 * debug/xtrace.sh: Likewise.
28388 * malloc/memusage.sh: Likewise.
28389 * malloc/mtrace.pl: Likewise.
28390 * debug/catchsegv.sh: Likewise.
28391
2ba92745
JJ
283922011-12-30 Jakub Jelinek <jakub@redhat.com>
28393
28394 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
28395 pure attribute.
28396
dadebdae
UD
283972011-12-24 Ulrich Drepper <drepper@gmail.com>
28398
d3761ebc 28399 [BZ #13533]
db6af3eb
UD
28400 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
28401 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
28402 transformations.
28403 * iconv/gconv_int.h: Likewise.
28404 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
28405 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
28406 from libc for GLIBC_2.16.
28407 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
28408 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
28409 * wcsmbs/uchar.h: Really define mbstate_t.
28410 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
28411 * wcsmbs/c16rtomb.c: New file.
28412 * wcsmbs/mbrtoc16.c: New file.
28413 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
28414 for C/POSIX locale.
28415 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
28416 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
28417
dadebdae
UD
28418 * wcsmbs/wchar.h: Add missing __restrict.
28419
67371b56
UD
284202011-12-23 Ulrich Drepper <drepper@gmail.com>
28421
74033a25
UD
28422 [BZ #13532]
28423 * time/Makefile (routines): Add timespec_get.
28424 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
28425 * time/time.h: Define TIME_UTC and declare timespec_get. Define
28426 timespec for ISO C11.
28427 * time/timespec_get.c: New file.
28428 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
28429 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
28430
380d7e87
UD
28431 [BZ #13531]
28432 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
28433 * stdlib/stdlib.h: Declare aligned_alloc.
28434 * Versions.def: Add GLIBC_2.16 for libc.
28435 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
28436
4e9e7a35
UD
28437 [BZ 13527]
28438 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
28439 ISO C11.
28440
380d7e87 28441 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
28442 code.
28443
03a71829
UD
28444 [BZ #13528]
28445 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
28446
839e283e
UD
28447 [BZ #13529]
28448 * assert/assert.h (static_assert): Define.
28449
ce5294e2 28450 * version.h: Update for 2.16 development version.
90fa7312 28451
8d44e150 28452 [BZ #13526]
d7809905
UD
28453 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
28454 _ISOC11_SOURCE.
28455
c0da14cd
UD
28456 * version.h (RELEASE): Bump for 2.15 release.
28457 * include/features.h (__GLIBC_MINOR__): Bump to 15.
28458
530a3249
MP
28459 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
28460 Patch by Marek Polacek <mpolacek@redhat.com>.
28461
67371b56
UD
28462 * bits/byteswap.h: Protect long long constants with __extension__.
28463 * sysdeps/i386/bits/byteswap.h: Likewise.
28464 * sysdeps/ia64/bits/byteswap.h: Likewise.
28465 * sysdeps/s390/bits/byteswap.h: Likewise.
28466 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28467
15db4de1
LD
284682011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28469
28470 [BZ #13540]
bbe315ea
LD
28471 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
28472 destination buffer.
15db4de1
LD
28473 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
28474
2b2596b1
MP
284752011-12-23 Marek Polacek <polacek@redhat.com>
28476
28477 * elf/dl-addr.c (determine_info): Add inline keyword.
28478 * elf/tst-auditmod4b.c (check_avx): Likewise.
28479 * elf/tst-auditmod6b.c (check_avx): Likewise.
28480 * elf/tst-auditmod6c.c (check_avx): Likewise.
28481 * elf/tst-auditmod7b.c (check_avx): Likewise.
28482
70c6c246
UD
284832011-12-23 Ulrich Drepper <drepper@gmail.com>
28484
28485 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
28486 !__SSE_MATH__.
28487
c044cf14
LD
284882011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28489
15db4de1 28490 [BZ #13540]
c044cf14
LD
28491 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
28492 processing for last bytes.
28493
6b13d9d9
BH
284942011-08-06 Bruno Haible <bruno@clisp.org>
28495
d455f537
BH
28496 [BZ #13061]
28497 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
28498 U+0385, not to U+1FEE.
28499
6b13d9d9
BH
28500 [BZ #13062]
28501 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
28502 entry for U+00A5 U+0301.
28503
db910efd
UD
285042011-12-22 Ulrich Drepper <drepper@gmail.com>
28505
27deeafc
UD
28506 [BZ #13166]
28507 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
28508 buffer for the output is too small.
28509
aed9d171
UD
28510 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
28511 optimization.
28512
db910efd
UD
28513 [BZ #13185]
28514 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
28515 SSE flags if possible.
28516
2bd779ae
LD
285172011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28518
e7f9dac3 28519 [BZ #13540]
2bd779ae
LD
28520 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
28521 processing for last bytes.
28522
154bfc16
JM
285232011-12-22 Joseph Myers <joseph@codesourcery.com>
28524
28525 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
28526 (syscall-list-default-options, syscall-list-default-condition)
28527 (syscall-list-includes): Define.
28528 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
28529 list of ABIs and options and #if conditions for each ABI. Do not
28530 handle common syscalls between ABIs specially.
28531 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
28532 Remove.
28533 (syscall-list-variants, syscall-list-32bit-options)
28534 (syscall-list-32bit-condition, syscall-list-64bit-options)
28535 (syscall-list-64bit-condition): Define.
28536 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
28537 (syscall-list-variants, syscall-list-32bit-options)
28538 (syscall-list-32bit-condition, syscall-list-64bit-options)
28539 (syscall-list-64bit-condition): Define.
28540 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
28541 Remove.
28542 (syscall-list-variants, syscall-list-32bit-options)
28543 (syscall-list-32bit-condition, syscall-list-64bit-options)
28544 (syscall-list-64bit-condition): Define.
28545 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
28546 Remove.
28547 (syscall-list-variants, syscall-list-32bit-options)
28548 (syscall-list-32bit-condition, syscall-list-64bit-options)
28549 (syscall-list-64bit-condition): Define.
28550
21eaf3a5
UD
285512011-12-22 Ulrich Drepper <drepper@gmail.com>
28552
16c6f992
UD
28553 * locale/iso-639.def: Add brx entry.
28554
41043168
UD
28555 [BZ #13328]
28556 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
28557 Proposed by Mariusz_Cukr <marcukr@op.pl>.
28558
21eaf3a5
UD
28559 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
28560 __feraiseexcept_renamed.
28561
e3a851a2
UD
285622011-12-21 Ulrich Drepper <drepper@gmail.com>
28563
4920765e
UD
28564 [BZ #13538]
28565 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
28566 EPOLLET with unsigned values.
28567 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28568 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28569
e3a851a2
UD
28570 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
28571 to large cancellation.
28572 * math/s_cacoshf.c: Likewise.
28573 * math/s_cacoshl.c: Likewise.
28574
b27e24b8
RK
285752011-11-18 Richard B. Kreckel <kreckel@ginac.de>
28576
28577 [BZ #13305]
aebefeee 28578 [BZ #12786]
b27e24b8
RK
28579 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
28580 * math/s_cacoshf.c: Likewise.
28581 * math/s_cacoshl.c: Likewise.
28582
ee190f67
UD
285832011-12-21 Ulrich Drepper <drepper@gmail.com>
28584
28585 [BZ #13439]
28586 * iconv/gconv.h: Define __GCONV_SWAP.
28587 * iconvdata/unicode.c: The swap bit must be stored in __flags.
28588 * iconvdata/utf-16.c: Likewise.
28589 * iconvdata/utf-32.c: Likewise.
28590
707f25df
AS
285912011-12-21 Andreas Schwab <schwab@linux-m68k.org>
28592
28593 [BZ #13524]
28594 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
28595 numerator after shifting it by one limb.
28596
d2daaa1e
RÁE
285972011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
28598
28599 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
28600 under [__USE_EXTERN_INLINES].
28601
a4647e72
UD
286022011-12-17 Ulrich Drepper <drepper@gmail.com>
28603
28604 [BZ #13446]
28605 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
28606
f0b264f1
AZ
286072011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28608
28609 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
28610 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
28611 optimized code.
28612 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
28613 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
28614 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
28615 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
28616 for strncasecmp/strncasecmp_l compilation.
28617 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
28618 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
28619
8ef4f244
MP
286202011-12-08 Marek Polacek <mpolacek@redhat.com>
28621
28622 [BZ #13484]
28623 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
28624 of __asm__.
28625
97ac2654
UD
286262011-12-17 Ulrich Drepper <drepper@gmail.com>
28627
28628 [BZ #13506]
28629 * time/tzfile.c (__tzfile_read): Check values from file header.
28630
91d2a845
WS
286312011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28632
28633 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
28634 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
28635 * powerpc/powerpc32/dl-start.S: Likewise.
28636 * powerpc/powerpc32/elf/start.S: Likewise.
28637 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28638 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
28639 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
28640 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
28641 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
28642 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
28643 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
28644 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28645 * powerpc/powerpc32/fpu/s_round.S: Likewise.
28646 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
28647 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
28648 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
28649 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
28650 * powerpc/powerpc32/memset.S: Likewise.
28651 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
28652 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28653 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28654 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28655 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28656 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28657 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28658 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28659 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
28660 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
28661 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
28662 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28663 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28664
a1267ba1
AZ
286652011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28666
28667 * math/libm-test.inc: Added more nearbyint tests.
28668 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
28669 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
28670 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
28671 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
28672
ad8ac1bd
RL
286732011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
28674
28675 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
28676 FD_CLOEXEC.
28677
1d3e4b61
UD
286782011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28679
28680 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
28681 Add wcscpy-ssse3 wcscpy-c.
28682 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
28683 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
28684 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
28685 * sysdeps/x86_64/wcschr.S: New file.
28686 * sysdeps/x86_64/wcsrchr.S: New file.
28687 * string/test-strcmp.c: Remove checking of wcscmp function for
28688 wrong alignments.
28689 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
28690 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
28691 wcsrchr-sse2 wcsrchr-c.
28692 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
28693 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
28694 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
28695 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
28696 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
28697 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
28698 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
28699 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
28700 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
28701 * wcsmbc/wcschr.c (WCSCHR): New macro.
28702
5b330a2d
UD
287032011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28704
28705 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
28706 * wcsmbs/test-wcsrchr.c: New file.
28707 * string/test-strrchr.c: Add wcsrchr support.
28708 (WIDE): New macro.
28709 * wcsmbs/test-wcscpy.c: New file.
28710 * string/test-strcpy.c: Add wcscpy support.
28711 (WIDE): New macro.
26428b7c 28712
f039c043
UD
287132011-12-10 Ulrich Drepper <drepper@gmail.com>
28714
28715 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
28716 the inner loop.
28717
850fb039
AS
287182011-12-06 Andreas Schwab <schwab@linux-m68k.org>
28719
28720 [BZ #13472]
28721 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
28722
4efbd5cb
UD
287232011-12-04 Ulrich Drepper <drepper@gmail.com>
28724
52ff5dd0 28725 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 28726 Minor optimizations.
52ff5dd0 28727
4efbd5cb
UD
28728 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
28729 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
28730 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
28731
8a426e12
UD
287322011-12-03 Ulrich Drepper <drepper@gmail.com>
28733
aff2453d
UD
28734 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
28735 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
28736 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
28737 for gcc to avoid warnings.
28738 * inet/Makefile (tests): Add tst-checks.
28739 * inet/tst-checks.c: New file.
28740
28741 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
28742 warning.
28743
28744 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
28745 __wmemcmp_sse2.
28746
28747 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
28748 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
28749
8a426e12
UD
28750 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
28751
9bea3473
UD
287522011-12-02 Ulrich Drepper <drepper@gmail.com>
28753
3a965496
UD
28754 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
28755 problem.
28756
9bea3473
UD
28757 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
28758
f101631b
UD
287592011-11-29 Joseph Myers <joseph@codesourcery.com>
28760
28761 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
28762 conditional on GCC version.
28763 (__arch_compare_and_exchange_val_8_acq)
28764 (__arch_compare_and_exchange_val_16_acq)
28765 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
28766 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
28767 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
28768
a98275aa
UD
287692011-12-02 Joseph Myers <joseph@codesourcery.com>
28770
28771 * sysdeps/sh/backtrace.c: New file.
28772
d4cc29a2
AS
287732011-12-02 Andreas Schwab <schwab@redhat.com>
28774
28775 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
28776 parenthesis.
28777
6257af2d
AS
287782011-12-01 Andreas Schwab <schwab@redhat.com>
28779
28780 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
28781 falling back to utime.
28782
b5f44c1a
AS
287832011-11-30 Andreas Schwab <schwab@redhat.com>
28784
28785 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
28786 expectations for float.
28787
f3a6cc0a
AS
287882011-11-29 Andreas Schwab <schwab@redhat.com>
28789
28790 * locale/weight.h (findidx): Add parameter len.
28791 * locale/weightwc.h (findidx): Likewise.
28792 * posix/fnmatch_loop.c (FCT): Adjust caller.
28793 * posix/regcomp.c (build_equiv_class): Likewise.
28794 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
28795 * posix/regexec.c (check_node_accept_bytes): Likewise.
28796 * string/strcoll_l.c (STRCOLL): Likewise.
28797 * string/strxfrm_l.c (STRXFRM): Likewise.
28798
9d65ea3a
UD
287992011-11-17 Ulrich Drepper <drepper@gmail.com>
28800
28801 * Makefile.in: Remove CVSOPT handling.
28802 * configure.in: Remove use of AC_REVISION.
28803 * iconvdata/Makefile (distribute): No need to filter out CVS.
28804 * scripts/list-sources.sh: Remove CVS, subversion and monotone
28805 handling.
28806
5583a086
AS
288072011-11-16 Andreas Schwab <schwab@redhat.com>
28808
28809 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
28810 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
28811 [USE_AS_STRNCASECMP_L]: Likewise.
28812 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
28813 NO_TLS_DIRECT_SEG_REFS.
28814 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
28815 Fix argument offsets for non-PIC.
28816 [USE_AS_STRNCASECMP_L]: Likewise.
28817 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
28818 NO_TLS_DIRECT_SEG_REFS.
28819
d62a8200
UD
288202011-11-15 Ulrich Drepper <drepper@gmail.com>
28821
9d65ea3a 28822 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
28823 O_CLOEXEC.
28824 * locale/loadlocale.c (_nl_load_locale): Likewise.
28825
09f93bd3
AS
288262011-11-15 Andreas Schwab <schwab@redhat.com>
28827
446514f9
AS
28828 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
28829 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
28830 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
28831 (SYSCALL_GETTIME): Set errno on error.
28832
09f93bd3
AS
28833 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
28834 count references to noai6ai_cached.
28835
312be3f9
UD
288362011-11-15 Ulrich Drepper <drepper@gmail.com>
28837
28838 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
28839
28840 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
28841 FD_CLOEXEC for /proc/self/maps.
28842
28843 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
28844 FD_CLOEXEC for /proc/meminfo.
28845
28846 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
28847 gai.conf.
28848
28849 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
28850 FD_CLOEXEC for given file.
28851
28852 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
28853
28854 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
28855 FD_CLOEXEC for /etc/hosts.
28856 (_gethtent): Likewise.
28857
28858 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
28859
28860 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
28861 cancellation and set FD_CLOEXEC for /etc/netgroup.
28862
28863 * nss/nss_files/files-key.c (search): Don't allow cancellation when
28864 reading /etc/publickey.
28865
28866 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
28867 allow cancellation when reading /etc/group.
28868
28869 * nss/nss_files/files-alias.c (internal_setent): Don't allow
28870 cancellation.
28871 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
28872
28873 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
28874 when using data file.
28875
28876 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
28877
28878 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
28879 (write_nis_obj): Use "c" and "e" in fopen.
28880
28881 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
28882
28883 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
28884
28885 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
28886
28887 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
28888
28889 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
28890 locale.alias.
28891
28892 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
28893
28894 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
28895
28896 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
28897
28898 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
28899 file parsing and set FD_CLOEXEC.
28900
82af0fa8
UD
289012011-11-14 Ulrich Drepper <drepper@gmail.com>
28902
28903 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
28904
a5fb313c
AS
289052011-11-14 Andreas Schwab <schwab@redhat.com>
28906
28907 * malloc/arena.c (arena_get2): Don't call reused_arena when
28908 _int_new_arena failed.
28909
6abf3465
UD
289102011-11-14 Ulrich Drepper <drepper@gmail.com>
28911
28912 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
28913 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
28914 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
28915 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28916 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28917 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
28918 to compile strcasecmp and strncasecmp.
28919 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
28920 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
28921
28922 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
28923
76e3966e
UD
289242011-11-13 Ulrich Drepper <drepper@gmail.com>
28925
28926 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
28927 locale-defines.sym to gen-as-const-headers.
28928 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
28929 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
28930 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
28931 to compile strcasecmp and strncasecmp.
28932 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
28933 strcasecmp_l and strncasecmp_l.
28934 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
28935 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
28936 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
28937 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
28938 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
28939 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
28940 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
28941 * sysdeps/i386/i686/multiarch/strncase.S: New file.
28942 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
28943 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
28944 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
28945
ab26144e
UD
289462011-11-12 Ulrich Drepper <drepper@gmail.com>
28947
7edb22ef
UD
28948 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
28949 result of SYSDEP_GETTIME_CPU to retval.
28950 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
28951 parameter list to macro. Remove trailing semicolon. Adjust users.
28952
9694fc44
UD
28953 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
28954 variable.
28955
8ad89ef8
UD
28956 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
28957 mantissa words.
28958 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
28959
0c822ef9
UD
28960 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
28961 from unused variable.
28962
874e0564
UD
28963 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
28964 DWARF definitions.
28965 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
28966 for assembling.
28967
3a2edc79
UD
28968 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
28969 over namespaces.
28970
f3c2577f
UD
28971 * sunrpc/rpc_prot.c (rejected): Fix case value.
28972
294ce126
UD
28973 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
28974 unsigned long long int to avoid warnings in shift.
28975
5e2b63c6
UD
28976 * posix/regex_internal.c (re_string_reconstruct): Actually use result
28977 of use of trans.
28978 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
28979 variable tmp.
28980
e7f4b08e
UD
28981 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
28982 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
28983 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
28984
ab26144e
UD
28985 * nis/nis_table.c (nis_list): Use variable of correct type for
28986 result of __follow_path call.
28987
8a6d5255
AZ
289882011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28989
28990 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
28991 of math functions ceil, trunc, floor, round, and sqrt, when
28992 avaliable on the platform.
28993 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
28994 name clash.
28995 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28996 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28997 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28998
aaddc98c
MP
289992011-10-30 Marek Polacek <mpolacek@redhat.com>
29000
29001 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
29002 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29003
95b7042b
RM
290042011-11-11 Roland McGrath <roland@hack.frob.com>
29005
29006 * include/unistd.h: Fix __readlink return type.
29007 Reported by Chris Metcalf <cmetcalf@tilera.com>.
29008
57769839
UD
290092011-11-11 Ulrich Drepper <drepper@gmail.com>
29010
29011 * stdlib/ucontext.h: Undo last change for makecontext.
29012
edc5984d
AS
290132011-11-11 Andreas Schwab <schwab@redhat.com>
29014
98591e58
AS
29015 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
29016
edc5984d
AS
29017 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
29018 * setjmp/setjmp.h: Mark functions as non-leaf.
29019 * setjmp/bits/setjmp2.h: Likewise.
29020 * stdlib/ucontext.h: Likewise.
29021
77cdc054
AS
290222011-11-10 Andreas Schwab <schwab@redhat.com>
29023
29024 * malloc/arena.c (_int_new_arena): Don't increment narenas.
29025 (reused_arena): Don't check arena limit.
29026 (arena_get2): Atomically check arena limit.
29027
fe72eebd
UD
290282011-11-08 Ulrich Drepper <drepper@gmail.com>
29029
5f078c32
UD
29030 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
29031 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
29032
fe72eebd
UD
29033 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
29034 instructions.
29035
ae1bc2fa
AS
290362011-11-07 Andreas Schwab <schwab@redhat.com>
29037
7583a88d
AS
29038 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
29039 handler when locking.
29040
ae1bc2fa
AS
29041 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29042 Fix size of allocated buffer.
29043
10fb0bfa
AS
290442011-11-04 Andreas Schwab <schwab@redhat.com>
29045
998832a4
AS
29046 [BZ #10103]
29047 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
29048 declarations for long double functions.
29049 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
29050
10fb0bfa
AS
29051 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
29052
3d7ba52b
AS
290532011-11-03 Andreas Schwab <schwab@redhat.com>
29054
a9ae54a1
AS
29055 * nscd/nscd.c (main): Don't start AVC thread until credentials are
29056 installed.
29057
3d7ba52b
AS
29058 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
29059 is disabled.
29060
bc8db248
ST
290612011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
29062
29063 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
29064
45b96dd6
AS
290652011-11-01 Andreas Schwab <schwab@linux-m68k.org>
29066
647776f6
AS
29067 * include/alloca.h (stackinfo_alloca_round): Define.
29068 (extend_alloca): Use it.
29069 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
29070 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
29071 here.
29072
d91a8b93
AS
29073 * scripts/check-local-headers.sh: Ignore libaudit.h.
29074
45b96dd6
AS
29075 * nscd/Makefile (extra-objs): Make recursively expanded.
29076
432d41ce
UD
290772011-11-01 Ulrich Drepper <drepper@gmail.com>
29078
34372fc6
UD
29079 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
29080 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29081
fadb59f8
UD
29082 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
29083 * posix/tst-rfc3484-2.c: Likewise.
29084 * posix/tst-rfc3484-3.c: Likewise.
29085
78239589
UD
29086 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29087 process_vm_writev.
29088 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
29089 process_vm_writev.
29090 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
29091 process_vm_writev from libc using GLIBC_2.15 version.
29092
432d41ce
UD
29093 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
29094
02f9c6cf
PP
290952011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
29096
29097 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
29098 stack usage.
29099
3a2c0242
UD
291002011-10-31 Ulrich Drepper <drepper@gmail.com>
29101
f4ec4833
UD
29102 [BZ #13367]
29103 * nss/getent.c (initgroups_keys): Show error message in case no group
29104 names are given.
29105
3a2c0242
UD
29106 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
29107 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
29108 __bump_nl_timestamp.
29109 * nscd/connections (nscd_init): When host database is served open
29110 netlink socket and request notification about configuration changes.
29111 (main_loop_poll): Track netlink file descriptor and bump timestamp
29112 in case data becomes available.
29113 (main_loop_epoll): Likewise.
29114 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
29115 (database_pers_head): Add extra_data fileds.
29116 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
29117 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
29118 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
29119 Adjust caller.
29120 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
29121 in6ai data, call __free_in6ai.
29122 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
29123 Add -DHAVE_NETLINK.
29124 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
29125 interface information. Reuse previous data if netlink timestamp
29126 is not changed.
29127 (__bump_nl_timestamp): New function.
29128 (__free_in6ai): New function.
29129
636064eb
UD
291302011-10-30 Ulrich Drepper <drepper@gmail.com>
29131
29132 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
29133 close_not_cancel_no_status here.
29134 (__check_pf): Reorganize code a bit to not call close twice if OOM.
29135
9beb2334
UD
291362011-10-29 Ulrich Drepper <drepper@gmail.com>
29137
6ef76f3b
UD
29138 [BZ #13276]
29139 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
29140 return value.
29141
0ffc4f3e 29142 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
29143 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
29144 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
29145
cb95113e
UD
291462011-07-03 Andreas Jaeger <aj@suse.de>
29147
29148 [BZ #10709]
29149 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
29150 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
29151 * math/libm-test.inc (sin_test): Add test case.
29152
a1b560ff
UD
291532011-10-29 Ulrich Drepper <drepper@gmail.com>
29154
c9aaface
UD
29155 [BZ #13337]
29156 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
29157 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29158
d272e7f1
UD
29159 * elf/chroot_canon.c (chroot_canon): Cleanups.
29160
1bc33071
UD
29161 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
29162
1760874d
TJ
29163 [BZ #13335]
29164 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
29165 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29166
51d91b18
UD
29167 * string/test-strchr.c: Make usable for strchrnul testing.
29168 * string/test-strchrnul.c: New file.
29169 * string/Makefile (strop-tests): Add strchrnul.
29170
a1b560ff 29171 * po/it.po: Update from translation team.
b611fb81 29172 * po/es.po: Likewise.
a1b560ff 29173
a5b81e1f
UD
291742011-10-28 Ulrich Drepper <drepper@gmail.com>
29175
fd52bc6d
UD
29176 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
29177 the three constants needed as parameters. Drop the others.
29178 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
29179 __m128i_strloadu_tolower.
52e4b9eb
UD
29180 Create and initialize variable zero and use it in all the places
29181 where _mm_setzero_si128 was used.
fd52bc6d 29182
a5b81e1f
UD
29183 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
29184 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
29185 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
29186 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
29187 anymore.
29188 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
29189 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
29190 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
29191 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
29192 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
29193 __mpranred, __mptan.
29194 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
29195 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
29196 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
29197 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
29198 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
29199 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
29200 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
29201 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
29202 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
29203
b4343346
AS
292042011-10-28 Andreas Schwab <schwab@redhat.com>
29205
0c92d8a8
AS
29206 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
29207 redefine if SHARED.
29208 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
29209
b4343346
AS
29210 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
29211 wide char related routines to wcsmbs subdir.
29212
3871f58f
AS
292132011-10-27 Andreas Schwab <schwab@redhat.com>
29214
29215 [BZ #13344]
29216 * misc/sys/cdefs.h (__THROWNL): Define.
29217 * posix/unistd.h: Use __THREADNL instead of __THREAD
29218 for memory synchronization functions.
29219
94d44d9f
RM
292202011-10-26 Roland McGrath <roland@hack.frob.com>
29221
21b64b15 29222 [BZ #13349]
94d44d9f
RM
29223 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
29224 doesn't exist.
29225 * manual/stdio.texi (Obstack Streams): Node removed.
29226
f6ce9294
AS
292272011-10-26 Andreas Schwab <schwab@redhat.com>
29228
80479147
AS
29229 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
29230 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29231 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29232
f6ce9294
AS
29233 * math/math_private.h (math_force_eval): Allow non-addressable
29234 arguments.
29235 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
29236
618280a1
UD
292372011-10-25 Ulrich Drepper <drepper@gmail.com>
29238
e0016b11
UD
29239 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
29240 file is not needed.
29241
29242 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
29243 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
29244 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29245 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29246 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29247 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29248 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29249 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
29250 Add AVX variants.
29251 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
29252 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
29253 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
29254 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
29255 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
29256 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
29257 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
29258 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
29259 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
29260 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
29261 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
29262 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
29263 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
29264 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
29265 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
29266 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
29267 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
29268 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
29269 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
29270
29271 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
29272 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
29273
618280a1
UD
29274 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
29275 place. Use VEX encoding when compiling for AVX.
29276
37822576
AS
292772011-10-25 Andreas Schwab <schwab@redhat.com>
29278
1f1e1947
AS
29279 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
29280 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29281
37822576
AS
29282 * string/test-strchr.c (do_test): Don't generate NUL bytes.
29283
31ea014d
UD
292842011-10-25 Ulrich Drepper <drepper@gmail.com>
29285
d7826aa1 29286 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 29287 useless if() expression.
d7826aa1
UD
29288 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29289 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29290 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29291 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29292 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29293 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29294 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29295 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29296 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29297 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29298 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29299 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29300 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29301 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29302 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29303 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29304 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29305 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29306 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29307
31ea014d
UD
29308 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
29309
16437fec
AS
293102011-10-25 Andreas Schwab <schwab@redhat.com>
29311
29312 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
29313 condition.
29314 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29315
31d3cc00
UD
293162011-10-25 Ulrich Drepper <drepper@gmail.com>
29317
29318 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
29319 .text section. Avoid duplicate constants.
29320 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29321 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29322 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29323 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29324 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29325 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29326 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29327 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29328 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29329 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
29330 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29331 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29332 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29333 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29334 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29335 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29336 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29337 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29338 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29339 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29340 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29341 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29342 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29343 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
29344 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
29345 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
29346 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
29347 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
29348 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
29349 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
29350 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
29351 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
29352 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29353 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
29354 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
29355 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
29356 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
29357 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
29358 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
29359 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
29360 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
29361 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
29362 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
29363 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
29364 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
29365
58985aa9
UD
293662011-10-24 Ulrich Drepper <drepper@gmail.com>
29367
202c9deb
UD
29368 * sysdeps/x86_64/dla.h: Move to ...
29369 * sysdeps/x86_64/fpu/dla.h: ...here.
29370 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
29371 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 29372
af968f62
UD
29373 * config.make.in: Add have-mfma4 entry.
29374 * configure.in: Substitute libc_cv_cc_fma4.
29375 * math/Makefile (dbl-only-routines): Add sincostab.
29376 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
29377 Use __sincostab not sincos.
29378 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
29379 name is a macro.
29380 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29381 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29382 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29383 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
29384 using __copysign.
29385 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
29386 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
29387 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
29388 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
29389 and __inv.
29390 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
29391 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
29392 __copysign.
29393 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
29394 define aliases when function name is a macro.
29395 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
29396 sysdeps/ieee754/dbl-64/sincos.tbl.
29397 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
29398 fma4-enabled routines.
29399 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
29400 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
29401 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
29402 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
29403 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
29404 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
29405 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
29406 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
29407 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
29408 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
29409 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
29410 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
29411 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
29412 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
29413 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
29414 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
29415 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
29416 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
29417 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
29418 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
29419 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
29420 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
29421 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
29422 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
29423 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
29424 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
29425 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
29426 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
29427 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
29428 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
29429
58985aa9
UD
29430 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
29431 rename.
29432 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29433 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29434 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29435 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29436 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29437 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29438 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29439 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29440
a201fbcf
AS
294412011-10-24 Andreas Schwab <schwab@redhat.com>
29442
29443 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
29444
fc2ee42a
LD
294452011-10-23 Ulrich Drepper <drepper@gmail.com>
29446
bb3129bd
UD
29447 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
29448
0275fff8
UD
29449 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
29450 prediction.
29451 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
29452
2fa2ae85
UD
29453 * string/strnlen.c: Don't define STRNLEN, reverse logic.
29454 Remove unused variable magic_bits.
29455 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
29456
fc2ee42a
LD
29457 * string/strnlen.c: Define and use STRNLEN macro.
29458 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
29459 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
29460 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
29461 * wcsmbs/wcslen.c: Define and use WCSLEN.
29462 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
29463 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
29464 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
29465 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
29466 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
29467 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
29468 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29469
ce7dd29f
LD
294702011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29471
29472 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29473 strnlen-sse2-no-bsf.
29474 Rename strlen-no-bsf to strlen-sse2-no-bsf.
29475 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
29476 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
29477 Add strnlen support.
29478 (USE_AS_STRNLEN): New macro.
29479 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
29480 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
29481 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
29482 * sysdeps/x86_64/wcslen.S: New file.
29483
979c70a3
MZ
294842011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
29485
29486 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
29487 XMM-moves are used for copying on small sizes.
29488
2d09f82f
LD
294892011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29490
29491 * wcsmbs/Makefile (strop-tests): Add wcschr.
29492 * wcsmbs/test-wcschr.c: New file.
29493 * string/test-strchr.c: Update.
29494 Add wcschr support.
29495 (WIDE): New macro.
29496
619fccca
LD
294972011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29498
2d09f82f 29499 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
29500 * wcsmbs/test-wcslen.c: New file.
29501 * string/test-strlen.c: Update.
29502 Add wcslen support.
29503 (WIDE): New macro.
29504
09f699ea
UD
295052011-10-23 Ulrich Drepper <drepper@gmail.com>
29506
29507 * po/it.po: Update from translation team.
29508
95584d3b
LD
295092011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29510
29511 * sysdeps/x86_64/wcscmp.S: Update.
29512 Fix wrong comparison semantics.
29513 wcscmp shall use signed comparison not unsigned.
29514 Don't use substraction to avoid overflow bug.
29515 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
29516 * wcsmbc/wcscmp.c: Likewise.
29517 * string/test-strcmp.c: Likewise.
29518 Add new tests to check cases with negative values.
29519
c8b3296b
UD
295202011-10-23 Ulrich Drepper <drepper@gmail.com>
29521
29522 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
29523 * sysdeps/x86_64/dla.h: ...here. New file.
29524 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
29525 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29526 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29527 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29528 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29529 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29530 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29531 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29532 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29533
246ad57a
AS
295342011-10-23 Andreas Schwab <schwab@linux-m68k.org>
29535
29536 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
29537 __ynl_finite aliases.
29538
a1a87169
UD
295392011-10-22 Ulrich Drepper <drepper@gmail.com>
29540
0d355eb7
UD
29541 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29542
a1a87169
UD
29543 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
29544 define DLA_FMA.
29545 [DLA_FMA] (EMULV): Use DLA_FMA.
29546 [DLA_FMA] (MUL12): Use EMULV.
29547 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
29548 that are not needed.
29549 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29550 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29551 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29552 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29553 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29554 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29555 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29556
ee2aafe0
AS
295572011-10-22 Andreas Schwab <schwab@linux-m68k.org>
29558
29559 * math/s_nan.c: Undef __nan.
29560 * math/s_nanf.c: Undef __nanf.
29561 * math/s_nanl.c: Undef __nanl.
29562 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
29563 "math_private.h".
29564
bc62c2fb
UD
295652011-10-22 Ulrich Drepper <drepper@gmail.com>
29566
77425c63
UD
29567 * math/s_catan.c: Add branch predictions.
29568 * math/s_catanf.c: Likewise.
29569 * math/s_catanh.c: Likewise.
29570 * math/s_catanhf.c: Likewise.
29571 * math/s_catanhl.c: Likewise.
29572 * math/s_catanl.c: Likewise.
29573 * math/s_cexp.c: Likewise.
29574 * math/s_cexpf.c: Likewise.
29575 * math/s_cexpl.c: Likewise.
29576 * math/s_clog.c: Likewise.
29577 * math/s_clog10.c: Likewise.
29578 * math/s_clog10f.c: Likewise.
29579 * math/s_clog10l.c: Likewise.
29580 * math/s_clogf.c: Likewise.
29581 * math/s_clogl.c: Likewise.
29582 * math/s_csqrt.c: Likewise.
29583 * math/s_csqrtf.c: Likewise.
29584 * math/s_csqrtl.c: Likewise.
29585 * math/s_ctanf.c: Likewise.
29586 * math/s_ctanh.c: Likewise.
29587 * math/s_ctanhf.c: Likewise.
29588 * math/s_ctanhl.c: Likewise.
29589 * math/s_ctanl.c: Likewise.
29590
bc62c2fb
UD
29591 * math/math_private.h: Define __nan, __nanf, __nanl.
29592 * math/s_cacosh.c: Include <math_private.h>.
29593 * math/s_cacoshl.c: Likewise.
29594 * math/s_casinh.c: Likewise.
29595 * math/s_casinhf.c: Likewise.
29596 * math/s_casinhl.c: Likewise.
29597 * math/s_ccos.c: Rely entire on ccosh.
29598 * math/s_ccosf.c: Rely entire on ccoshf.
29599 * math/s_ccosl.c: Rely entirely on ccoshl.
29600 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
29601 Remove tests for FE_INVALID.
29602 * math/s_ccoshf.c: Likewise.
29603 * math/s_ccoshl.c: Likewise.
29604 * math/s_csin.c: Likewise.
29605 * math/s_csinf.c: Likewise.
29606 * math/s_csinh.c Likewise.
29607 * math/s_csinhf.c: Likewise.
29608 * math/s_csinhl.c: Likewise.
29609 * math/s_csinl.c: Likewise.
29610 * math/s_ctan.c: Likewise.
29611 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
29612 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
29613 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
29614
8ec250a4
UD
296152011-10-21 Ulrich Drepper <drepper@gmail.com>
29616
c196fed8
UD
29617 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
29618 compilation problems.
29619
8ec250a4
UD
29620 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
29621 __builtin_expect.
29622
8d4f46c6
UD
296232011-10-20 Ulrich Drepper <drepper@gmail.com>
29624
ed72b654
UD
29625 * sysdeps/i386/configure.in: Test for -mfma4 option.
29626 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
29627 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
29628 COMMON_CPUID_INDEX_80000001.
29629 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
29630 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
29631 use it if FMA3 is not supported.
29632 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
29633
8d4f46c6
UD
29634 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
29635 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
29636
d45c60c2
AS
296372011-10-20 Andreas Schwab <schwab@redhat.com>
29638
29639 [BZ #12892]
29640 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
29641 it would create a cycle with a link time dependency.
29642
d9a4d2ab
UD
296432011-10-19 Ulrich Drepper <drepper@gmail.com>
29644
855d1560
UD
29645 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
29646 instruction.
29647 * string/Makefile (strop-tests): Add rawmemchr.
29648 * string/test-rawmemchr.c: New file.
29649
d9a4d2ab
UD
29650 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
29651 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
29652 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
29653 when compiling str{,n}casecmp and when AVX is available. Hook up
29654 new optimized code in initializers.
29655
8f3b1ffe
AS
296562011-10-19 Andreas Schwab <schwab@redhat.com>
29657
29658 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
29659 __feraiseexcept instead of feraiseexcept.
29660
d38f1dba
UD
296612011-10-18 Ulrich Drepper <drepper@gmail.com>
29662
d9a8d0ab
UD
29663 * math/math_private.h: Define defaults for libc_fetestexcept and
29664 libc_feupdateenv.
29665 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
29666 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
29667 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29668 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29669 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29670 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29671 libc_fetestexcept and libc_feupdateenv.
29672
4855e3dd
UD
29673 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
29674 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
29675 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
29676 * sysdeps/x86_64/fpu/math_private.h: Define special version of
29677 libc_feholdexcept_setround.
29678
581d30e3
UD
29679 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
29680 Add s_nearbyint-c and s_nearbyintf-c.
29681 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
29682 nearbyintf inlines.
29683 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
29684 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
29685 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
29686 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
29687
d38f1dba
UD
29688 * math/math_private.h: Define defaults for libc_fegetround,
29689 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
29690 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
29691 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
29692 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
29693 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
29694 standard functions.
29695 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29696 Remove comments and hacks for old compiler versions.
29697 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29698 libc_fegetround, libc_fesetround, libc_feholdexcept, and
29699 libc_feholdexceptl.
29700
caa6c9d8
AS
297012011-10-18 Andreas Schwab <schwab@redhat.com>
29702
29703 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
29704 (__feraiseexcept_renamed): Add __NTH.
29705 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
29706 namespace violations.
29707
97c066e6
UD
297082011-10-17 Ulrich Drepper <drepper@gmail.com>
29709
99ce7b04
UD
29710 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
29711
1004d182
UD
29712 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
29713
228a984d
UD
29714 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
29715 recently added interfaces.
29716 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
29717
c8553a6a
UD
29718 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
29719 about macro parameter expansion.
29720
ed22dcf6
UD
29721 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
29722 __NO_MATH_INLINES is defined. Cleanups.
29723
29724 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
29725 and __floorf is target has SSE4.1.
29726 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
29727 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
29728 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
29729 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
29730
b171c137
UD
29731 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
29732 name.
29733 (floorf): Likewise.
29734
97c066e6
UD
29735 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
29736
629f62ef
AS
297372011-10-17 Andreas Schwab <schwab@redhat.com>
29738
49a43d80
AS
29739 * misc/sys/cdefs.h: Fix last change.
29740
629f62ef
AS
29741 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
29742 database lookup.
29743
e453f6cd
UD
297442011-10-16 Ulrich Drepper <drepper@gmail.com>
29745
aa78043a
UD
29746 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
29747
ad0f5cad
UD
29748 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
29749 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29750 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29751 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29752 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29753 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29754 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29755 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29756 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29757 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
29758 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
29759 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
29760 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
29761 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
29762 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
29763 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
29764 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
29765 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
29766 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
29767 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
29768 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
29769 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
29770
29771 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
29772 ceil, ceilf, floor, floorf.
29773
29774 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
29775 Perform IRELATIVE relocations last.
29776
e453f6cd
UD
29777 * elf/do-rel.h: Add another parameter nrelative, replacing the
29778 local variable with the same name. Change name of the function
29779 to end in Rel or Rela (uppercase).
29780 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
29781 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
29782 elf_dynamic_do_##reloc function.
29783
fd5bdc09
UD
297842011-10-15 Ulrich Drepper <drepper@gmail.com>
29785
79b195b5
UD
29786 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
29787 is sufficient, at least on modern CPUs.
29788
d4a28569
UD
29789 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
29790
b61099b5
UD
29791 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
29792 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
29793
bcf01e6d
UD
29794 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
29795 __expl_finite.
29796 * math/bits/math-finite.h: Add entries for exp.
29797 * math/e_expl.c: Add __*_finite alias.
29798 * sysdeps/i386/fpu/e_exp.S: Likewise.
29799 * sysdeps/i386/fpu/e_expf.S: Likewise.
29800 * sysdeps/i386/fpu/e_expl.c: Likewise.
29801 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29802 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29803 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29804 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29805 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
29806 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29807 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29808
ba1a0d59
UD
29809 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
29810 is sufficient, at least on modern CPUs.
29811
fd5bdc09
UD
29812 * ctype/ctype-info.c (__ctype_init): Define.
29813 * include/ctype.h (__ctype_init): Declare.
29814 (__ctype_b_loc): The variable is always initialized.
29815 (__ctype_toupper_loc): Likewise.
29816 (__ctype_tolower_loc): Likewise.
29817 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
29818 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
29819
7872cfb0
AS
298202011-10-15 Andreas Schwab <schwab@linux-m68k.org>
29821
b468825a
AS
29822 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
29823
7872cfb0
AS
29824 * configure.in: Also look in $cxxmachine/include for C++ system
29825 headers.
29826
be13f7bf
LD
298272011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29828
29829 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
29830 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
29831 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
29832 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
29833 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
29834 (USE_AS_WMEMCMP): New macro.
29835 Fixing indents.
29836 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
29837 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
29838 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
29839 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
29840 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29841 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
29842 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
29843 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
29844 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
29845 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
29846 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
29847 (USE_AS_WMEMCMP): New macro.
29848 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
29849 * sysdeps/string/test-memcmp.c: Update.
29850 Fix simple_wmemcmp.
29851 Add new tests.
29852 * wcsmbs/wmemcmp.c: Update.
29853 (WMEMCMP): New macro.
29854 Fix overflow bug.
29855
556a2007
AJ
298562011-10-12 Andreas Jaeger <aj@suse.de>
29857
29858 [BZ #13268]
29859 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
29860
538faaa7
UD
298612011-10-15 Ulrich Drepper <drepper@gmail.com>
29862
ab6737ff
UD
29863 * libio/iofwide.c (do_length): Avoid warning.
29864
538faaa7
UD
29865 * ctype/ctype.h (__isctype_f): Add missing __THROW.
29866
396a21b1
UD
298672011-10-14 Ulrich Drepper <drepper@gmail.com>
29868
cdf2901f
UD
29869 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
29870
38ad40ce
UD
29871 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
29872 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
29873 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
29874 * sysdeps/i386/i686/fpu/e_log.S: New file.
29875 * sysdeps/i386/i686/fpu/e_logf.S: New file.
29876 * sysdeps/i386/i686/fpu/e_logl.S: New file.
29877
396a21b1
UD
29878 * ctype/ctype.h: Add support for inlined isXXX functions when
29879 compiling C++ code.
29880
6b1f68c9
AS
298812011-10-14 Andreas Schwab <schwab@redhat.com>
29882
349290c0
AS
29883 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29884
6b1f68c9
AS
29885 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
29886
f2282d42
RM
298872011-10-13 Roland McGrath <roland@hack.frob.com>
29888
29889 [BZ #13291]
29890 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
29891
5298ffa8
AS
298922011-10-13 Andreas Schwab <schwab@redhat.com>
29893
714fad23
AS
29894 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
29895 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
29896 feraiseexcept.
29897
81dcc7fb
AS
29898 * sysdeps/x86_64/memrchr.S: Check for zero size.
29899
5298ffa8
AS
29900 * string/stratcliff.c: Add memrchr tests.
29901
951fbcec
LD
299022011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29903
29904 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29905 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
29906 rawmemchr-sse2 rawmemchr-sse2-bsf.
29907 * sysdeps/i386/i686/multiarch/memchr.S: New file.
29908 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
29909 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
29910 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
29911 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
29912 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
29913 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
29914 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
29915 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
29916 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
29917 * string/memrchr.c (MEMRCHR): New macro.
29918
0ac5ae23
UD
299192011-10-12 Ulrich Drepper <drepper@gmail.com>
29920
29921 Add integration with gcc's -ffinite-math-only and optimize wrapper
29922 functions in libm.
29923 * Versions.def: Define GLIBC_2.15 version for libm.
29924 * math/Makefile (headers): Add bits/math-finite.h.
29925 * math/bits/math-finite.h: New file.
29926 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
29927 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
29928 * math/e_acoshl.c: Add __*_finite alias.
29929 * math/e_acosl.c: Likewise.
29930 * math/e_asinl.c: Likewise.
29931 * math/e_atan2l.c: Likewise.
29932 * math/e_atanhl.c: Likewise.
29933 * math/e_coshl.c: Likewise.
29934 * math/e_exp10.c: Likewise.
29935 * math/e_exp10f.c: Likewise.
29936 * math/e_exp10l.c: Likewise.
29937 * math/e_exp2l.c: Likewise.
29938 * math/e_fmodl.c: Likewise.
29939 * math/e_gammal_r.c: Likewise.
29940 * math/e_hypotl.c: Likewise.
29941 * math/e_j0l.c: Likewise.
29942 * math/e_j1l.c: Likewise.
29943 * math/e_jnl.c: Likewise.
29944 * math/e_lgammal_r.c: Likewise.
29945 * math/e_log10l.c: Likewise.
29946 * math/e_log2l.c: Likewise.
29947 * math/e_logl.c: Likewise.
29948 * math/e_powl.c: Likewise.
29949 * math/e_sinhl.c: Likewise.
29950 * math/e_sqrtl.c: Likewise.
29951 * math/e_scalb.c: Completely rewritten and optimized.
29952 * math/e_scalbf.c: Likewise.
29953 * math/e_scalbl.c: Likewise.
29954 * math/w_acos.c: Likewise.
29955 * math/w_acosf.c: Likewise.
29956 * math/w_acosl.c: Likewise.
29957 * math/w_acosh.c: Likewise.
29958 * math/w_acoshf.c: Likewise.
29959 * math/w_acoshl.c: Likewise.
29960 * math/w_asin.c: Likewise.
29961 * math/w_asinf.c: Likewise.
29962 * math/w_asinl.c: Likewise.
29963 * math/w_atan2.c: Likewise.
29964 * math/w_atan2f.c: Likewise.
29965 * math/w_atan2l.c: Likewise.
29966 * math/w_atanh.c: Likewise.
29967 * math/w_atanhf.c: Likewise.
29968 * math/w_atanhl.c: Likewise.
29969 * math/w_exp10.c: Likewise.
29970 * math/w_exp10f.c: Likewise.
29971 * math/w_exp10l.c: Likewise.
29972 * math/w_fmod.c: Likewise.
29973 * math/w_fmodf.c: Likewise.
29974 * math/w_fmodl.c: Likewise.
29975 * math/w_j0.c: Likewise.
29976 * math/w_j0f.c: Likewise.
29977 * math/w_j0l.c: Likewise.
29978 * math/w_j1.c: Likewise.
29979 * math/w_j1f.c: Likewise.
29980 * math/w_j1l.c: Likewise.
29981 * math/w_jn.c: Likewise.
29982 * math/w_jnf.c: Likewise.
29983 * math/w_log.c: Likewise.
29984 * math/w_logf.c: Likewise.
29985 * math/w_logl.c: Likewise.
29986 * math/w_log10.c: Likewise.
29987 * math/w_log10f.c: Likewise.
29988 * math/w_log10l.c: Likewise.
29989 * math/w_log2.c: Likewise.
29990 * math/w_log2f.c: Likewise.
29991 * math/w_log2l.c: Likewise.
29992 * math/w_pow.c: Likewise.
29993 * math/w_powf.c: Likewise.
29994 * math/w_powl.c: Likewise.
29995 * math/w_remainder.c: Likewise.
29996 * math/w_remainderf.c: Likewise.
29997 * math/w_remainderl.c: Likewise.
29998 * math/w_scalb.c: Likewise.
29999 * math/w_scalbf.c: Likewise.
30000 * math/w_scalbl.c: Likewise.
30001 * math/w_sqrt.c: Likewise.
30002 * math/w_sqrtf.c: Likewise.
30003 * math/w_sqrtl.c: Likewise.
30004 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
30005 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
30006 used.
30007 * math/math_private.h: Declare __kernel_standard_f.
30008 * math/w_cosh.c: Remove cruft and optimize a bit.
30009 * math/w_coshf.c: Likewise.
30010 * math/w_coshl.c: Likewise.
30011 * math/w_exp2.c: Likewise.
30012 * math/w_exp2f.c: Likewise.
30013 * math/w_exp2l.c: Likewise.
30014 * math/w_hypot.c: Likewise.
30015 * math/w_hypotf.c: Likewise.
30016 * math/w_hypotl.c: Likewise.
30017 * math/w_lgamma.c: Likewise.
30018 * math/w_lgamma_r.c: Likewise.
30019 * math/w_lgammaf.c: Likewise.
30020 * math/w_lgammaf_r.c: Likewise.
30021 * math/w_lgammal.c: Likewise.
30022 * math/w_lgammal_r.c: Likewise.
30023 * math/w_sinh.c: Likewise.
30024 * math/w_sinhf.c: Likewise.
30025 * math/w_sinhl.c: Likewise.
30026 * math/w_tgamma.c: Likewise.
30027 * math/w_tgammaf.c: Likewise.
30028 * math/w_tgammal.c: Likewise.
30029 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30030 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30031 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
30032 Minor optimizations. Pretty printing. Remove cruft.
30033 * sysdeps/i386/fpu/e_acosf.S: Likewise.
30034 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30035 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30036 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30037 * sysdeps/i386/fpu/e_acosl.c: Likewise.
30038 * sysdeps/i386/fpu/e_asin.S: Likewise.
30039 * sysdeps/i386/fpu/e_asinf.S: Likewise.
30040 * sysdeps/i386/fpu/e_atan2.S: Likewise.
30041 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
30042 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
30043 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30044 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30045 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30046 * sysdeps/i386/fpu/e_exp10.S: Likewise.
30047 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
30048 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
30049 * sysdeps/i386/fpu/e_exp2.S: Likewise.
30050 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
30051 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
30052 * sysdeps/i386/fpu/e_fmod.S: Likewise.
30053 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
30054 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
30055 * sysdeps/i386/fpu/e_hypot.S: Likewise.
30056 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
30057 * sysdeps/i386/fpu/e_log.S: Likewise.
30058 * sysdeps/i386/fpu/e_log10.S: Likewise.
30059 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30060 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30061 * sysdeps/i386/fpu/e_log2.S: Likewise.
30062 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30063 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30064 * sysdeps/i386/fpu/e_logf.S: Likewise.
30065 * sysdeps/i386/fpu/e_logl.S: Likewise.
30066 * sysdeps/i386/fpu/e_pow.S: Likewise.
30067 * sysdeps/i386/fpu/e_powf.S: Likewise.
30068 * sysdeps/i386/fpu/e_powl.S: Likewise.
30069 * sysdeps/i386/fpu/e_remainder.S: Likewise.
30070 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
30071 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
30072 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30073 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30074 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30075 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
30076 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
30077 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
30078 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30079 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30080 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30081 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30082 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30083 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30084 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
30085 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30086 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30087 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30088 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30089 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30090 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30091 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30092 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30093 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30094 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30095 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30096 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30097 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30098 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30099 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30100 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30101 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30102 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30103 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30104 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30105 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30106 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
30107 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
30108 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30109 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30110 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30111 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
30112 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
30113 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
30114 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
30115 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
30116 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
30117 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
30118 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
30119 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
30120 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
30121 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
30122 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30123 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
30124 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
30125 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
30126 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
30127 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
30128 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
30129 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30130 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30131 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30132 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30133 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
30134 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
30135 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
30136 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
30137 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
30138 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
30139 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30140 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30141 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30142 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30143 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30144 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30145 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30146 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
30147 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30148 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30149 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30150 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30151 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30152 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30153 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30154 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30155 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30156 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30157 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30158 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30159 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30160 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
30161 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30162 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30163 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30164 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30165 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30166 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30167 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30168 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30169 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30170 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30171 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
30172 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30173 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30174 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30175 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
30176 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
30177 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
30178 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
30179 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
30180 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
30181 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
30182 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30183 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30184 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30185 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30186 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
30187 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30188 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
30189 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
30190 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
30191 (__isnanf): Likewise.
30192 (__isinf_ns): Likewise.
30193 (__isinf_nsf): Likewise.
30194 (__finite): Likewise.
30195 (__finitef): Likewise.
30196 (__ieee754_sqrt): Define as macro.
30197 (__ieee754_sqrtf): Define as macro.
30198 (__ieee754_sqrtl): Define as macro.
30199 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
30200 inlined copy.
30201 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
30202 __FINITE_MATH_ONLY__ consistent.
30203 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
30204
12cc2fcd
AS
302052011-10-10 Andreas Schwab <schwab@linux-m68k.org>
30206
a843a204
AS
30207 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
30208 of rawmemchr.
30209
12cc2fcd
AS
30210 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
30211
c853acd5
UD
302122011-10-09 Ulrich Drepper <drepper@gmail.com>
30213
30214 * po/ja.po: Update from translation team.
30215
c658d255
RM
302162011-10-08 Roland McGrath <roland@hack.frob.com>
30217
110946e4
RM
30218 * locale/programs/locarchive.c (prepare_address_space): New function.
30219 (create_archive, enlarge_archive, open_archive): Use it.
30220
50604220
RM
30221 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
30222 inside [SHARED], where it is used.
30223
c658d255
RM
30224 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
30225
30226 * nss/getent.c (netgroup_keys): Remove unused variable.
30227 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30228
6a621eb7
UD
302292011-10-08 Ulrich Drepper <drepper@gmail.com>
30230
7edb55ce
UD
30231 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
30232 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
30233 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
30234 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
30235 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
30236 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
30237 * math/Makefile (libm-calls): Add s_isinf_ns.
30238 * math/divtc3.c: Use __isinf_nsl instead of isinf.
30239 * math/multc3.c: Likewise.
30240 * math/s_casin.c: Likewise.
30241 * math/s_casinf.c: Likewise.
30242 * math/s_casinl.c: Likewise.
30243 * math/s_ccos.c: Likewise.
30244 * math/s_ccosf.c: Likewise.
30245 * math/s_ccosl.c: Likewise.
30246 * math/s_ctan.c: Likewise.
30247 * math/s_ctanf.c: Likewise.
30248 * math/s_ctanh.c: Likewise.
30249 * math/s_ctanhf.c: Likewise.
30250 * math/s_ctanhl.c: Likewise.
30251 * math/s_ctanl.c: Likewise.
30252 * math/w_fmod.c: Likewise.
30253 * math/w_fmodf.c: Likewise.
30254 * math/w_fmodl.c: Likewise.
30255 * math/w_remainder.c: Likewise.
30256 * math/w_remainderf.c: Likewise.
30257 * math/w_remainderl.c: Likewise.
30258 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
30259 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
30260 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
30261 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
30262 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
30263 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
30264 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
30265 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
30266
187da0ae
UD
30267 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
30268 of the number.
30269 * stdio-common/printf_fphex.c: Likewise.
30270 * stdio-common/printf_size.c: Likewise.
30271
9277c064
UD
30272 * math/e_exp10.c: Include math_private.h using <...> not "...".
30273 * math/e_exp10f.c: Likewise.
30274 * math/e_exp10l.c: Likewise.
30275 * math/e_exp2l.c: Likewise.
30276 * math/e_j0l.c: Likewise.
30277 * math/e_j1l.c: Likewise.
30278 * math/e_jnl.c: Likewise.
30279 * math/e_lgammal_r.c: Likewise.
30280 * math/e_rem_pio2l.c: Likewise.
30281 * math/e_scalb.c: Likewise.
30282 * math/e_scalbf.c: Likewise.
30283 * math/e_scalbl.c: Likewise.
30284 * math/k_cosl.c: Likewise.
30285 * math/k_sinl.c: Likewise.
30286 * math/k_tanl.c: Likewise.
30287 * math/s_cacoshf.c: Likewise.
30288 * math/s_catan.c: Likewise.
30289 * math/s_catanf.c: Likewise.
30290 * math/s_catanh.c: Likewise.
30291 * math/s_catanhf.c: Likewise.
30292 * math/s_catanhl.c: Likewise.
30293 * math/s_catanl.c: Likewise.
30294 * math/s_ccosh.c: Likewise.
30295 * math/s_ccoshf.c: Likewise.
30296 * math/s_ccoshl.c: Likewise.
30297 * math/s_cexp.c: Likewise.
30298 * math/s_cexpf.c: Likewise.
30299 * math/s_cexpl.c: Likewise.
30300 * math/s_clog.c: Likewise.
30301 * math/s_clog10.c: Likewise.
30302 * math/s_clog10f.c: Likewise.
30303 * math/s_clog10l.c: Likewise.
30304 * math/s_clogf.c: Likewise.
30305 * math/s_clogl.c: Likewise.
30306 * math/s_csin.c: Likewise.
30307 * math/s_csinf.c: Likewise.
30308 * math/s_csinh.c: Likewise.
30309 * math/s_csinhf.c: Likewise.
30310 * math/s_csinhl.c: Likewise.
30311 * math/s_csinl.c: Likewise.
30312 * math/s_csqrt.c: Likewise.
30313 * math/s_csqrtf.c: Likewise.
30314 * math/s_csqrtl.c: Likewise.
30315 * math/s_ctan.c: Likewise.
30316 * math/s_ctanf.c: Likewise.
30317 * math/s_ctanh.c: Likewise.
30318 * math/s_ctanhf.c: Likewise.
30319 * math/s_ctanhl.c: Likewise.
30320 * math/s_ctanl.c: Likewise.
30321 * math/s_ldexp.c: Likewise.
30322 * math/s_ldexpf.c: Likewise.
30323 * math/s_ldexpl.c: Likewise.
30324 * math/s_significand.c: Likewise.
30325 * math/s_significandf.c: Likewise.
30326 * math/s_significandl.c: Likewise.
30327 * math/w_acos.c: Likewise.
30328 * math/w_acosf.c: Likewise.
30329 * math/w_acosh.c: Likewise.
30330 * math/w_acoshf.c: Likewise.
30331 * math/w_acoshl.c: Likewise.
30332 * math/w_acosl.c: Likewise.
30333 * math/w_asin.c: Likewise.
30334 * math/w_asinf.c: Likewise.
30335 * math/w_asinl.c: Likewise.
30336 * math/w_atan2.c: Likewise.
30337 * math/w_atan2f.c: Likewise.
30338 * math/w_atan2l.c: Likewise.
30339 * math/w_atanh.c: Likewise.
30340 * math/w_atanhf.c: Likewise.
30341 * math/w_atanhl.c: Likewise.
30342 * math/w_cosh.c: Likewise.
30343 * math/w_coshf.c: Likewise.
30344 * math/w_coshl.c: Likewise.
30345 * math/w_dremf.c: Likewise.
30346 * math/w_exp10.c: Likewise.
30347 * math/w_exp10f.c: Likewise.
30348 * math/w_exp10l.c: Likewise.
30349 * math/w_exp2.c: Likewise.
30350 * math/w_exp2f.c: Likewise.
30351 * math/w_fmod.c: Likewise.
30352 * math/w_fmodf.c: Likewise.
30353 * math/w_fmodl.c: Likewise.
30354 * math/w_hypot.c: Likewise.
30355 * math/w_hypotf.c: Likewise.
30356 * math/w_hypotl.c: Likewise.
30357 * math/w_j0.c: Likewise.
30358 * math/w_j0f.c: Likewise.
30359 * math/w_j0l.c: Likewise.
30360 * math/w_j1.c: Likewise.
30361 * math/w_j1f.c: Likewise.
30362 * math/w_j1l.c: Likewise.
30363 * math/w_jn.c: Likewise.
30364 * math/w_jnf.c: Likewise.
30365 * math/w_jnl.c: Likewise.
30366 * math/w_lgamma.c: Likewise.
30367 * math/w_lgamma_r.c: Likewise.
30368 * math/w_lgammaf.c: Likewise.
30369 * math/w_lgammaf_r.c: Likewise.
30370 * math/w_lgammal.c: Likewise.
30371 * math/w_lgammal_r.c: Likewise.
30372 * math/w_log.c: Likewise.
30373 * math/w_log10.c: Likewise.
30374 * math/w_log10f.c: Likewise.
30375 * math/w_log10l.c: Likewise.
30376 * math/w_log2.c: Likewise.
30377 * math/w_log2f.c: Likewise.
30378 * math/w_log2l.c: Likewise.
30379 * math/w_logf.c: Likewise.
30380 * math/w_logl.c: Likewise.
30381 * math/w_pow.c: Likewise.
30382 * math/w_powf.c: Likewise.
30383 * math/w_powl.c: Likewise.
30384 * math/w_remainder.c: Likewise.
30385 * math/w_remainderf.c: Likewise.
30386 * math/w_remainderl.c: Likewise.
30387 * math/w_scalb.c: Likewise.
30388 * math/w_scalbf.c: Likewise.
30389 * math/w_scalbl.c: Likewise.
30390 * math/w_sinh.c: Likewise.
30391 * math/w_sinhf.c: Likewise.
30392 * math/w_sinhl.c: Likewise.
30393 * math/w_sqrt.c: Likewise.
30394 * math/w_sqrtf.c: Likewise.
30395 * math/w_sqrtl.c: Likewise.
30396 * math/w_tgamma.c: Likewise.
30397 * math/w_tgammaf.c: Likewise.
30398 * math/w_tgammal.c: Likewise.
30399
6a621eb7
UD
30400 * po/ja.po: Update from translation team.
30401
bf582445
AJ
304022011-09-29 Andreas Jaeger <aj@suse.de>
30403
f9efbf3a
AJ
30404 [BZ #13179]
30405 * sunrpc/netname.c (netname2host): Fix logic.
30406
bf582445
AJ
30407 [BZ #6779]
30408 [BZ #6783]
30409 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
30410 correctly.
30411 * math/w_remainder.c (__remainder): Likewise.
30412 * math/w_remainderf.c (__remainderf): Likewise.
30413 * math/libm-test.inc (remainder_test): Add test cases.
30414
48693bea
AK
304152011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30416
30417 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
30418 sdiv_qrnnd.
30419
42622229
LD
304202011-10-07 Ulrich Drepper <drepper@gmail.com>
30421
30422 * string/test-memcmp.c: Avoid unncessary #defines.
30423 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30424
093ecf92
LD
304252011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30426
30427 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
30428 Use new sse2 version for core i3 - i7 as it's faster
30429 than sse42 version.
30430 (bit_Prefer_PMINUB_for_stringop): New.
30431 * sysdeps/x86_64/rawmemchr.S: Update.
30432 Replace with faster SSE2 version.
30433 * sysdeps/x86_64/memrchr.S: New file.
30434 * sysdeps/x86_64/memchr.S: Update.
30435 Replace with faster SSE2 version.
30436
fde56e5c
MP
304372011-09-12 Marek Polacek <mpolacek@redhat.com>
30438
30439 * elf/dl-load.c (lose): Add cast to avoid warning.
30440
21fd49a9
UD
304412011-10-07 Ulrich Drepper <drepper@gmail.com>
30442
5a06e643
UD
30443 * po/ca.po: Update from translation team.
30444
684ae515
UD
30445 * inet/getnetgrent_r.c: Hook up nscd.
30446 * nscd/Makefile (routines): Add nscd_netgroup.
30447 (nscd-modules): Add netgroupcache.
30448 (CFLAGS-netgroupcache.c): Define.
30449 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
30450 (cache_search): Add const to second parameter.
30451 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
30452 INNETGR.
30453 (dbs): Add netgrdb entry.
30454 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
30455 (verify_persistent_db): Handle netgrdb.
30456 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
30457 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
30458 GETFDNETGR.
30459 (netgroup_response_header): Define.
30460 (innetgroup_response_header): Define.
30461 (datahead): Add netgroup_response_header and innetgroup_response_header
30462 elements.
30463 * nscd/nscd.conf: Add entries for netgroup cache.
30464 * nscd/nscd.h (dbtype): Add netgrdb.
30465 (_PATH_NSCD_NETGROUP_DB): Define.
30466 (netgroup_iov_disabled): Declare.
30467 (xmalloc, xcalloc, xrealloc): Move declarations here.
30468 (cache_search): Adjust prototype.
30469 Add netgroup-related prototypes.
30470 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
30471 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
30472 (__nscd_innetgr): Declare.
30473 * nscd/selinux.c (perms): Use access_vector_t as element type and
30474 add netgroup-related initializers.
30475 * nscd/netgroupcache.c: New file.
30476 * nscd/nscd_netgroup.c: New file.
30477 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
30478 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
30479 For four parameters use innetgr.
30480 * nss/nss_files/files-init.c: Add definition and callback for netgr.
30481 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
30482 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
30483 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
30484
21fd49a9
UD
30485 * nscd/connections.c (register_traced_file): Don't register file
30486 for disabled databases.
30487
054c0457
UD
304882011-10-06 Ulrich Drepper <drepper@gmail.com>
30489
32b63198
UD
30490 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
30491
054c0457
UD
30492 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
30493 from tree and freeing node.
30494
64031225
JO
304952011-09-25 Jiri Olsa <jolsa@redhat.com>
30496
30497 * nss/nsswitch.c (__nss_database_lookup): Handle
30498 nss_parse_service_list out of memory case.
30499
0490345c
JO
305002011-09-15 Jiri Olsa <jolsa@redhat.com>
30501
30502 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
30503 out of memory case.
30504
3a62d00d
AS
305052011-10-04 Andreas Schwab <schwab@redhat.com>
30506
30507 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
30508 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
30509 pass it down.
30510 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
30511 elf_machine_rela, elf_machine_lazy_rel.
30512 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
30513 (ELF_DYNAMIC_DO_REL): Likewise.
30514 (ELF_DYNAMIC_DO_RELA): Likewise.
30515 (ELF_DYNAMIC_RELOCATE): Likewise.
30516 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
30517 to ELF_DYNAMIC_DO_REL.
30518 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
30519 (dl_main): In trace mode always set __RTLD_NOIFUNC.
30520 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
30521 elf_machine_rela.
30522 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
30523 skip_ifunc, don't call ifunc function if non-zero.
30524 (elf_machine_rela): Likewise.
30525 (elf_machine_lazy_rel): Likewise.
30526 (elf_machine_lazy_rela): Likewise.
30527 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
30528 (elf_machine_lazy_rel): Likewise.
30529 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
30530 Likewise.
30531 (elf_machine_lazy_rel): Likewise.
30532 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30533 Likewise.
30534 (elf_machine_lazy_rel): Likewise.
30535 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
30536 (elf_machine_lazy_rel): Likewise.
30537 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
30538 (elf_machine_lazy_rel): Likewise.
30539 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30540 (elf_machine_lazy_rel): Likewise.
30541 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30542 (elf_machine_lazy_rel): Likewise.
30543 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30544 (elf_machine_lazy_rel): Likewise.
30545 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
30546 (elf_machine_lazy_rel): Likewise.
30547
68577918
UD
305482011-09-28 Ulrich Drepper <drepper@gmail.com>
30549
30550 * nss/nss_files/files-init.c (_nss_files_init): Use static
30551 initialization for all the *_traced_file variables.
30552
68822d74
AS
305532011-09-28 Andreas Schwab <schwab@redhat.com>
30554
30555 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30556
2056100b
RM
305572011-09-27 Roland McGrath <roland@hack.frob.com>
30558
30559 [BZ #13226]
30560 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
30561
32c76b63
AS
305622011-09-27 Andreas Schwab <schwab@redhat.com>
30563
30564 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30565 Reread the line before reparsing it.
30566
bf972c9d
AS
305672011-09-26 Andreas Schwab <schwab@redhat.com>
30568
30569 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
30570
e057a1b5
JM
305712011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
30572 Maxim Kuvyrkov <maxim@codesourcery.com>
30573 Joseph Myers <joseph@codesourcery.com>
30574
30575 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
30576 if needed for __stack_chk_guard.
30577
bc7e1c36
RM
305782011-09-19 Roland McGrath <roland@hack.frob.com>
30579
ecb1482f
RM
30580 * sysdeps/posix/spawni.c (script_execute): Always define it.
30581 It will be optimized away if unused.
30582 (maybe_script_execute): New function.
30583 (__spawni): Call it.
30584
bc7e1c36
RM
30585 * Makerules: Don't include tls.make.
30586 (config-tls): Always set to thread.
30587 * tls.make.c: File removed.
30588
1c3b002b
MF
305892011-09-19 Mike Frysinger <vapier@gentoo.org>
30590
30591 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
30592 * config.make.in (CPPFLAGS-config): New substituted variable.
30593
2840865d
UD
305942011-09-15 Ulrich Drepper <drepper@gmail.com>
30595
88738eb6
UD
30596 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
30597
cbf645a6 30598 [BZ #13192]
2840865d
UD
30599 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
30600 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
30601
b402e91a
RM
306022011-09-15 Roland McGrath <roland@hack.frob.com>
30603
30604 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
30605 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
30606 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30607 (CALL_FAIL): Likewise.
30608 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
30609 (CALL_FAIL): Macro removed.
30610 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
30611
4c1a1f71
UD
306122011-09-15 Ulrich Drepper <drepper@gmail.com>
30613
30614 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
30615 for __FINITE_MATH_ONLY__ == 1.
30616
edc121be
AS
306172011-09-15 Andreas Schwab <schwab@redhat.com>
30618
30619 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
30620 __ieee754_sqrt instead of sqrt.
30621 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
30622 __ieee754_sqrtf instead of sqrtf.
30623 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
30624 __floorf instead of floorf.
30625 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
30626 __floorf, __truncf instead of floorf, truncf.
30627
cd205654
UD
306282011-09-14 Ulrich Drepper <drepper@gmail.com>
30629
ee4d0315
UD
30630 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
30631
cd205654
UD
30632 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
30633 __extern_always_inline.
30634 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
30635 32-bit.
30636
48b67d71
AS
306372011-09-14 Andreas Schwab <schwab@redhat.com>
30638
30639 * elf/rtld.c (dl_main): Also relocate in dependency order when
30640 doing symbol dependency testing.
30641
1ae12c75
AS
306422011-09-13 Andreas Schwab <schwab@linux-m68k.org>
30643
30644 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30645 Always define `refsym'.
30646
995a80df
AS
306472011-09-13 Andreas Schwab <schwab@redhat.com>
30648
e529793b
AS
30649 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
30650 (__FD_ELT): Renamed from __FDELT.
30651 * misc/bits/select2.h (__FD_ELT): Likewise.
30652 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
30653 __FD_MASK instead of __FDELT, __FDMASK.
30654 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30655 Likewise.
30656 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30657 Likewise.
30658
52d4fef8
AS
30659 * elf/Makefile (gen-ldd): Fix pattern.
30660
995a80df
AS
30661 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
30662 (init_tls): Likewise.
30663
8682f8b0
UD
306642011-09-12 Ulrich Drepper <drepper@gmail.com>
30665
30666 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
30667
de82006d
AS
306682011-09-12 Andreas Schwab <schwab@redhat.com>
30669
a7c8e6a1
AS
30670 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
30671 `struct cmsghdr *' instead of `void *'.
30672 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
30673 Likewise.
30674
0f31fe77
AS
306752011-09-11 Andreas Schwab <schwab@linux-m68k.org>
30676
30677 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
30678 if non-absolute.
30679 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
30680 ldd_rewrite_script.
0f31fe77 30681
32b4c839
UD
306822011-09-11 Ulrich Drepper <drepper@gmail.com>
30683
83cd1420
UD
30684 * configure.in: Remove --with-tls option.
30685 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
30686 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
30687 out in case it is missing.
30688 * sysdeps/ia64/elf/configure.in: Likewise.
30689 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
30690 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
30691 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
30692 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
30693 * sysdeps/sh/elf/configure.in: Likewise.
30694 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
30695 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30696 * sysdeps/x86_64/elf/configure.in: Likewise.
30697 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
30698 * sysdeps/mach/hurd/tls.h: Likewise.
30699
633f745d
UD
30700 [BZ #13067]
30701 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
30702
f318beb8
UD
30703 [BZ #13090]
30704 * configure.in: Fix use of AC_INIT.
30705
32b4c839
UD
30706 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
30707
3ce1f295
UD
307082011-09-10 Ulrich Drepper <drepper@gmail.com>
30709
bb016596
UD
30710 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
30711 __set_errno.
8e58439c
UD
30712 * malloc/hooks.c: Likewise.
30713
aebae053 30714 [BZ #11929]
02d46fc4
UD
30715 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
30716 variables statically.
30717 (narenas): Initialize.
30718 (list_lock): Initialize.
bb016596
UD
30719 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
30720 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
30721 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
30722 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
30723 Add initializers to main_arena and mp_.
30724 (malloc_state): Remove pagesize member. Change all users to use
30725 GLRO(dl_pagesize).
30726
30727 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
30728 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
30729 is always initialized.
30730
22a89187
UD
30731 * malloc/malloc.c: Removed unused configurations and dead code.
30732 * malloc/arena.c: Likewise.
30733 * malloc/hooks.c: Likewise.
02d46fc4 30734 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 30735
d063d164
UD
30736 * include/tls.h: Removed. USE___THREAD must always be defined.
30737 * bits/libc-tsd.h: Don't handle !USE___THREAD.
30738 * elf/dl-libc.c: Likewise.
30739 * elf/dl-tsd.c: Likewise.
30740 * include/errno.h: Likewise.
30741 * include/netdb.h: Likewise.
30742 * include/resolv.h: Likewise.
30743 * inet/herrno-loc.c: Likewise.
30744 * inet/herrno.c: Likewise.
30745 * malloc/arena.c: Likewise.
30746 * malloc/hooks.c: Likewise.
30747 * malloc/malloc.c: Likewise.
30748 * resolv/res-state.c: Likewise.
30749 * resolv/res_libc.c: Likewise.
30750 * sysdeps/i386/dl-machine.h: Likewise.
30751 * sysdeps/ia64/dl-machine.h: Likewise.
30752 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
30753 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30754 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
30755 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
30756 * sysdeps/sh/dl-machine.h: Likewise.
30757 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30758 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30759 * sysdeps/unix/i386/sysdep.S: Likewise.
30760 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30761 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
30762 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
30763 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30764 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
30765 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30766 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30767 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30768 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30769 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30770 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30771 * sysdeps/x86_64/dl-machine.h: Likewise.
30772 * tls.make.c: Likewise.
30773
3ce1f295
UD
30774 * configure.in: Remove --with-__thread option. Make tests for
30775 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
30776 tls_model attribute fail if no support is available. Remove
30777 USE_IN_LIBIO.
30778 * Makeconfig: Adjust for dropped configure option. All features are
30779 now mandatory.
30780 * Makerules: Likewise.
30781 * Versions.def: Likewise.
30782 * argp/argp-fmtstream.c: Likewise.
30783 * argp/argp-fmtstream.h: Likewise.
30784 * argp/argp-help.c: Likewise.
30785 * assert/assert.c: Likewise.
30786 * config.h.in: Likewise.
30787 * config.make.in: Likewise.
30788 * configure: Likewise.
30789 * configure.in: Likewise.
30790 * csu/Versions: Likewise.
30791 * csu/init.c: Likewise.
30792 * elf/tst-audit2.c: Likewise.
30793 * elf/tst-tls10.c: Likewise.
30794 * elf/tst-tls10.h: Likewise.
30795 * elf/tst-tls11.c: Likewise.
30796 * elf/tst-tls12.c: Likewise.
30797 * elf/tst-tls14.c: Likewise.
30798 * elf/tst-tlsmod11.c: Likewise.
30799 * elf/tst-tlsmod12.c: Likewise.
30800 * elf/tst-tlsmod13.c: Likewise.
30801 * elf/tst-tlsmod13a.c: Likewise.
30802 * elf/tst-tlsmod14a.c: Likewise.
30803 * elf/tst-tlsmod15b.c: Likewise.
30804 * elf/tst-tlsmod16a.c: Likewise.
30805 * elf/tst-tlsmod16b.c: Likewise.
30806 * elf/tst-tlsmod7.c: Likewise.
30807 * elf/tst-tlsmod8.c: Likewise.
30808 * elf/tst-tlsmod9.c: Likewise.
30809 * gmon/gmon.c: Likewise.
30810 * grp/fgetgrent_r.c: Likewise.
30811 * grp/putgrent.c: Likewise.
30812 * hurd/fopenport.c: Likewise.
30813 * include/libc-symbols.h: Likewise.
30814 * include/tls.h: Likewise.
30815 * intl/gettextP.h: Likewise.
30816 * intl/loadinfo.h: Likewise.
30817 * locale/global-locale.c: Likewise.
30818 * locale/localeinfo.h: Likewise.
30819 * mach/devstream.c: Likewise.
30820 * malloc/arena.c: Likewise.
30821 * malloc/set-freeres.c: Likewise.
30822 * misc/err.c: Likewise.
30823 * misc/getttyent.c: Likewise.
30824 * misc/mntent_r.c: Likewise.
30825 * posix/getopt.c: Likewise.
30826 * posix/wordexp.c: Likewise.
30827 * pwd/fgetpwent_r.c: Likewise.
30828 * resolv/Versions: Likewise.
30829 * resolv/res_hconf.c: Likewise.
30830 * shadow/fgetspent_r.c: Likewise.
30831 * shadow/putspent.c: Likewise.
30832 * stdio-common/printf_fphex.c: Likewise.
30833 * stdio-common/tmpfile.c: Likewise.
30834 * stdlib/abort.c: Likewise.
30835 * stdlib/fmtmsg.c: Likewise.
30836 * sunrpc/auth_unix.c: Likewise.
30837 * sunrpc/clnt_perr.c: Likewise.
30838 * sunrpc/clnt_tcp.c: Likewise.
30839 * sunrpc/clnt_udp.c: Likewise.
30840 * sunrpc/clnt_unix.c: Likewise.
30841 * sunrpc/openchild.c: Likewise.
30842 * sunrpc/svc_simple.c: Likewise.
30843 * sunrpc/svc_tcp.c: Likewise.
30844 * sunrpc/svc_udp.c: Likewise.
30845 * sunrpc/svc_unix.c: Likewise.
30846 * sunrpc/xdr.c: Likewise.
30847 * sunrpc/xdr_array.c: Likewise.
30848 * sunrpc/xdr_rec.c: Likewise.
30849 * sunrpc/xdr_ref.c: Likewise.
30850 * sunrpc/xdr_stdio.c: Likewise.
30851
1248c1c4
PB
308522011-09-09 Ulrich Drepper <drepper@gmail.com>
30853
30854 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30855
308562011-07-03 Andreas Jaeger <aj@suse.de>
30857
30858 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
30859 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
30860 regenerate with gen-libm-tests.pl.
30861
308622010-05-12 Petr Baudis <pasky@suse.cz>
30863
30864 [BZ #11589]
30865 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
30866 around j0() zero points by switching to j1().
30867 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30868 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30869 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30870 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30871
f22e1074
UD
308722011-09-09 Ulrich Drepper <drepper@gmail.com>
30873
f19009c1
UD
30874 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
30875 instead of 0.
30876 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 30877 instead of 0.
f19009c1
UD
30878 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30879 Patch in part by Pavel Roskin <proski@gnu.org>.
30880
3f8cc204
UD
30881 [BZ #13138]
30882 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
30883 realloc.
30884 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
30885 Free memory block if necessary.
30886
f22e1074
UD
30887 [BZ #12847]
30888 * libio/genops.c (INTDEF): For string streams the _lock pointer can
30889 be NULL. Don't lock in this case.
30890
0a2349f9
RM
308912011-09-09 Roland McGrath <roland@hack.frob.com>
30892
30893 * elf/elf.h (ELFOSABI_GNU): New macro.
30894 (ELFOSABI_LINUX): Define to that.
30895
f3cdd467
DZ
308962011-07-29 Denis Zaitceff <zaitceff@gmail.com>
30897
30898 * string/strncat.c (strncat): Undef the symbol in case it has been
30899 defined in bits/string.h.
30900
74718d13
UD
309012011-09-09 Ulrich Drepper <drepper@gmail.com>
30902
633e9e0f
UD
30903 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
30904
0a2349f9 30905 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
30906 link map.
30907
f9924780
AJ
309082011-08-17 Andreas Jaeger <aj@suse.de>
30909
30910 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
30911
7f5517aa
PP
309122011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
30913 Ian Lance Taylor <iant@google.com>
30914
30915 * math/libm-test.inc (lround_test): New testcase.
30916 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
30917
762011fe
UD
309182011-09-08 Ulrich Drepper <drepper@gmail.com>
30919
92963737
UD
30920 * Makefile: Remove support for automatic cvs check-ins.
30921 * Makerules: Likewise.
30922 * config.make.in: Likewise.
30923 * configure.in: Likewise.
30924 * intl/Makefile: Likewise.
30925 * locale/Makefile: Likewise.
30926 * po/Makefile: Likewise.
30927 * posix/Makefile: Likewise.
30928 * sysdeps/gnu/Makefile: Likewise.
30929 * sysdeps/mach/hurd/Makefile: Likewise.
30930 * sysdeps/sparc/sparc32/Makefile: Likewise.
30931
b0727fd8
JS
30932 [BZ #13118]
30933 * posix/Makefile (bug-regex32-ENV): Define.
30934 Patch by John Stanley <jpsinthemix@verizon.net>.
30935
a0f33f99
UD
30936 * misc/Makefile (headers): Add bits/select2.h.
30937 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
30938 * misc/bits/select2.h: New file.
30939 * include/bits/select2.h: New file.
30940 * debug/Makefile (routines): Add fdelt_chk.
30941 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
30942 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
30943 FD_ISSET.
30944 * debug/fdelt_chk.c: New file.
30945
762011fe
UD
30946 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
30947 * wcsmbs/test-wmemcmp.c: Likewise.
30948 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 30949 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
30950
309512011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30952
30953 * string/Makefile (strop-tests): Add memcmp.
30954 * string/test-wmemcmp.c: New file.
30955 * string/test-memcmp.c: Add wmemcmp support.
30956
7f513ec8
RM
309572011-09-08 Roland McGrath <roland@hack.frob.com>
30958
0442afb4
RM
30959 [BZ #13153]
30960 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
30961 2011-07-19 change.
30962
7f513ec8
RM
30963 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
30964 garbage value in a __mach_port_mod_refs call in the cases of the
30965 task-self and thread-self ports.
30966
a12b2239
ST
309672011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
30968
30969 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
30970
610f9ab4
AS
309712011-09-08 Andreas Schwab <schwab@redhat.com>
30972
7f513ec8 30973 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 30974
48882a1a
LD
309752011-09-07 Ulrich Drepper <drepper@gmail.com>
30976
b49865be
UD
30977 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
30978
fdc86bc9
UD
30979 * elf/dl-libc.c (dlerror_run): Pass back error code from
30980 dl_catch_error.
30981
c966526a
UD
30982 [BZ #13123]
30983 * elf/dl-load.c (lose): Free l_origin if it is valid.
30984
48882a1a
LD
30985 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
30986 names.
30987 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
30988 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30989 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30990 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30991 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
30992 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
30993
77a2a8b4
AZ
309942011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30995
30996 * sysdeps/powerpc/fpu/e_hypot.c: New file.
30997 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
30998 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
30999 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
31000 * sysdeps/powerpc/fpu/k_cosf.c: New file.
31001 * sysdeps/powerpc/fpu/k_sinf.c: New file.
31002 * sysdeps/powerpc/fpu/s_cosf.c: New file.
31003 * sysdeps/powerpc/fpu/s_sinf.c: New file.
31004 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
31005 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
31006
24f579d8
AM
310072011-08-15 Alan Modra <amodra@gmail.com>
31008
31009 [BZ #13092]
31010 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
31011 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
31012 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
31013 ppc_mcount to static-only-routines.
31014 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
31015 __mcount_internal.
31016 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
31017 __mcount_internal with usual JUMPTARGET. Remove useless nop.
31018
3d4837df
UD
310192011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
31020
31021 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
31022 for finite and infinity parameters.
31023
22700377
WS
310242011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
31025
31026 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
31027 and add nop instructions for throughput optimization.
31028 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31029
5025581e
WS
310302011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
31031
31032 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
31033 aligned copy for power7 with vector-scalar instructions.
31034 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
31035
08a300c9
L
310362011-07-24 H.J. Lu <hongjiu.lu@intel.com>
31037
31038 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
31039 AVX check.
31040
59178ef9
AS
310412011-09-07 Andreas Schwab <schwab@redhat.com>
31042
31043 [BZ #13144]
31044 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
31045 last change.
31046
e38ba7ab
UD
310472011-09-07 Ulrich Drepper <drepper@gmail.com>
31048
31049 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31050 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
31051 syscall wrapper around clock_gettime in __vdso_clock_gettime.
31052 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
31053 clock_gettime.
31054
d53a73ac
UD
310552011-09-06 Ulrich Drepper <drepper@gmail.com>
31056
fc8bffcc
UD
31057 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
31058 Forgot to demangle the pointer.
31059
ceaa0c5d
UD
31060 * sysdeps/i386/sysdep.h: Define atom_text_section.
31061 * sysdeps/x86_64/sysdep.h: Likewise.
31062 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
31063 section with atom_text_section.
31064 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31065 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31066 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
31067 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31068 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
31069
a77d3c17
UD
31070 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
31071 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
31072 already be defined. Change to take two parameters and don't assign
31073 result to variable. Adjust all users.
31074 Define INTERNAL_GETTIME if not already defined.
31075 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
31076 call.
31077 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
31078 HAVE_CLOCK_GETTIME_VSYSCALL.
31079 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
31080
d53a73ac
UD
31081 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
31082 gettimeofday vsyscall, just use time.
31083
a8f84144
AS
310842011-09-06 Andreas Schwab <schwab@redhat.com>
31085
31086 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
31087 <errno.h>.
31088
ef606249
UD
310892011-09-06 Ulrich Drepper <drepper@gmail.com>
31090
31091 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
31092 syscall on x86-64.
31093 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
31094 syscall.
31095 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
31096 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
31097 syscall if possible.
31098
6585cb60
UD
310992011-09-05 Ulrich Drepper <drepper@gmail.com>
31100
31101 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
31102 e_ident. Don't pass to find_mapsXX.
31103 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
31104
a5f524e4
LD
311052011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31106
31107 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31108 strchr-sse2-no-bsf strrchr-sse2-no-bsf
31109 * sysdeps/x86_64/multiarch/strchr.S: Update.
31110 Check bit_slow_BSF bit.
31111 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31112 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
31113 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
31114
554881ef
UD
311152011-09-05 Ulrich Drepper <drepper@gmail.com>
31116
d96de963
UD
31117 [BZ #13134]
31118 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
31119 before glibc 2.15.
31120 (tryshell): Define.
31121 (__spawni): Change last parameter to be flag. Test
31122 SPAWN_XFLAGS_USE_PATH flag to use path or not.
31123 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
31124 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
31125 * posix/spawni.c: Likewise.
31126 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
31127 * posix/spawnp.c: Likewise. Change normal version to use
31128 SPAWN_XFLAGS_USE_PATH.
31129 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
31130 SPAWN_XFLAGS_TRY_SHELL.
31131
d48e5868
UD
31132 [BZ #13150]
31133 * posix/glob.h: Remove gcc 1.x support.
31134
554881ef
UD
31135 [BZ #13068]
31136 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
31137
693fb948
LD
311382011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31139
31140 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31141 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
31142 strrchr-sse2-bsf
31143 * sysdeps/i386/i686/multiarch/strchr.S: New file.
31144 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
31145 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
31146 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
31147 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
31148 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
31149
1b48c537
UD
311502011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31151
49d42c37
UD
31152 * sysdeps/x86_64/wcscmp.S: New file.
31153
1b48c537
UD
31154 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
31155 wcscmp-c wcscmp-sse2
31156 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
31157 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
31158 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
31159 * wcsmbs/wcscmp.c: Allow renaming.
31160
15c95c5d
DM
311612011-09-05 David S. Miller <davem@davemloft.net>
31162
31163 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
31164 stack slot, rather than the struct return pointer slot.
31165 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
31166 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
31167 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
31168 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
31169
2f0ad8f3
UD
311702011-09-05 Ulrich Drepper <drepper@gmail.com>
31171
d88ae418
UD
31172 * po/ja.po: Update from translation team.
31173
2f0ad8f3
UD
31174 [BZ #13144]
31175 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
31176 kernel in 64-bit binaries.
31177
5f4318d1
DM
311782011-09-01 David S. Miller <davem@davemloft.net>
31179
31180 * elf/elf.h (HWCAP_SPARC_*): Move to..
31181 * sysdeps/sparc/sysdep.h: this new file and add new values.
31182 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
31183 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
31184 _DL_HWCAP_COUNT to 24.
31185 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31186 entries.
31187 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
31188 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
31189 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
31190 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
31191 instead of magic constants.
31192 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31193
3ba57516
DM
311942011-08-31 David S. Miller <davem@davemloft.net>
31195
31196 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
31197 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
31198 Reimplement to do errno handling inline.
31199 (SYSCALL_ERROR_HANDLER): New macro.
31200 (__SYSCALL_STRING): Do not do errno handling in asm.
31201 (__CLONE_SYSCALL_STRING): Delete.
31202 (__INTERNAL_SYSCALL_STRING): Delete.
31203 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
31204 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
31205 (PSEUDO): Reimplement to do errno handling inline.
31206 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
31207 (SYSCALL_ERROR_HANDLER): New macro.
31208 (__SYSCALL_STRING): Do not do errno handling in asm.
31209 (__CLONE_SYSCALL_STRING): Delete.
31210 (__INTERNAL_SYSCALL_STRING): Delete.
31211 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
31212 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
31213 i386.
31214 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
31215 (inline_syscall*): Add 'err' argument.
31216 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
31217 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
31218 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
31219 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
31220
31221 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
31222 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31223
2bc17433
AS
312242011-08-30 Andreas Schwab <schwab@redhat.com>
31225
31226 * elf/rtld.c (dl_main): Relocate objects in dependency order.
31227
fbeb5f4d
JO
312282011-08-29 Jiri Olsa <jolsa@redhat.com>
31229
31230 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
31231 directive.
31232
ad69cc26
DM
312332011-08-24 David S. Miller <davem@davemloft.net>
31234
31235 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
31236
39dd69df
AS
312372011-08-24 Andreas Schwab <schwab@redhat.com>
31238
31239 * elf/Makefile: Add rules to build and run unload8 test.
31240 * elf/unload8.c: New file.
31241 * elf/unload8mod1.c: New file.
31242 * elf/unload8mod1x.c: New file.
31243 * elf/unload8mod2.c: New file.
31244 * elf/unload8mod3.c: New file.
31245
31246 * elf/dl-close.c (_dl_close_worker): Reset private search list if
31247 it wasn't used.
31248
2c0b250a
DM
312492011-08-23 David S. Miller <davem@davemloft.net>
31250
31251 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
31252 subtract stack bias.
31253 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
31254 %sp not %fp in calculations.
31255 (_JMPBUF_UNWINDS_ADJ): Likewise.
31256
22044b48
DM
31257 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
31258 (aio_suspend): Call it to force an exception region around the
31259 AIO_MISC_WAIT() invocation.
31260
2cae4995
AS
312612011-08-23 Andreas Schwab <schwab@redhat.com>
31262
31263 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
31264 backslash.
31265
873a772e
AJ
312662011-07-04 Aurelien Jarno <aurelien@aurel32.net>
31267
31268 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
31269 protection macro.
31270 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
31271 and <dl-machine.h>.
31272 (Elf64_FuncDesc): Remove.
31273
25ad0df1
DM
312742011-08-22 David S. Miller <davem@davemloft.net>
31275
31276 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
31277 sigaltstack check, add missing cfi directives.
31278 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
31279 missing cfi directives, and sigaltstack handling.
31280
e888bcbe
AS
312812011-08-16 Andreas Schwab <schwab@redhat.com>
31282
31283 [BZ #11724]
31284 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
31285 object is seen twice.
31286 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31287
31288 * elf/Makefile (distribute): Add tst-initorder2.c.
31289 (tests): Add tst-initorder2.
31290 (modules-names): Add tst-initorder2a tst-initorder2b
31291 tst-initorder2c tst-initorder2d. Add rules to build them.
31292 ($(objpfx)tst-initorder2.out): New rule.
31293 * elf/tst-initorder2.c: New file.
31294 * elf/tst-initorder2.exp: New file.
31295
87162f46
AS
312962011-08-22 Andreas Schwab <schwab@redhat.com>
31297
70538b7f
AS
31298 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
31299
f55ffe58
AS
31300 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
31301 dependencies back to end of function.
31302
87162f46
AS
31303 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31304 $(elfobjdir)/ld.so.
31305
91b392a4
UD
313062011-08-21 Ulrich Drepper <drepper@gmail.com>
31307
31308 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
31309 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
31310 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
31311 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
31312 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
31313 of __vdso_gettimeofday.
31314 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
31315 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
31316 attribute_hidden.
31317 (_libc_vdso_platform_setup): Remove initialization of
31318 __vdso_gettimeofday and __vdso_time.
31319
5c43483f
UD
313202011-08-20 Ulrich Drepper <drepper@gmail.com>
31321
775a77e7
UD
31322 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
31323 and fgetc_unlocked.
31324 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
31325 getc_unlocked.
89f447ed 31326
49c74ba9
UD
31327 * elf/dl-open.c (add_to_global): Report additions to the global scope
31328 for LD_DEBUG=scopes.
31329 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 31330 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 31331
5c43483f
UD
31332 [BZ #13114]
31333 * stdio-common/Makefile (tests): Add bug24.
31334 * stdio-common/bug24.c: New file.
31335
a101b025
AJ
313362011-08-19 Andreas Jaeger <aj@suse.de>
31337
31338 [BZ #13114]
31339 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
31340 non-existant file when using close-on-exec mode.
31341
c88f1766
UD
313422011-08-20 Ulrich Drepper <drepper@gmail.com>
31343
0276a718
UD
31344 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
31345 the very first instruction.
31346
c88f1766
UD
31347 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
31348 the CFI state in the end.
31349 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
31350 inclusion of dl-trampoline.h.
31351 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
31352
51ccffa0
AS
313532011-08-19 Andreas Schwab <schwab@redhat.com>
31354
94d7165f
AS
31355 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
31356 expectations for long double.
31357
51ccffa0
AS
31358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
31359 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
31360
fd708658 313612011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
31362
31363 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
31364 artificual limit depends upon the system page size.
31365
44f0a71e
UD
313662011-08-17 Ulrich Drepper <drepper@gmail.com>
31367
31368 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
31369 * resolv/Makefile: Define CFLAGS-libresolv.
31370
8de79a24
AS
313712011-08-17 Andreas Schwab <schwab@redhat.com>
31372
31373 * nss/makedb.c (compute_tables): Make variables used in nested
31374 function static.
31375
27724598
UD
313762011-08-17 Ulrich Drepper <drepper@gmail.com>
31377
c5305d88
UD
31378 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
31379 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
31380 if buffer was too small.
31381
27724598
UD
31382 * elf/pldd.c (main): Attach to all threads in the process.
31383 Rewrite /proc handling to use *at functions.
31384
076fe015
UD
313852011-08-16 Ulrich Drepper <drepper@gmail.com>
31386
174baab3
UD
31387 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
31388 specifies first scope to show.
31389 (dl_open_worker): Update callers. Move printing scope of new
31390 object to before the relocation.
44f0a71e 31391 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
31392 * sysdeps/generic/ldsodefs.h: Update declaration.
31393
076fe015
UD
31394 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
31395 string for the scope number.
31396
a60df2c3
UD
313972011-08-14 Ulrich Drepper <drepper@gmail.com>
31398
31399 * nscd/servicescache.c (cache_addserv): Make sure written is always
31400 initialized.
31401
5e4287d1
RM
314022011-08-14 Roland McGrath <roland@hack.frob.com>
31403
85ae0589
RM
31404 * sysdeps/i386/i486/bits/atomic.h
31405 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
31406 statement expression, so as to suppress "set but not used" warning.
31407 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
31408
69f63097
RM
31409 * string/strncat.c (STRNCAT): Use prototype definition.
31410
675456ef
RM
31411 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
31412 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
31413 -Iprograms here.
31414 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
31415 (localedef-modules): Add localedef.
31416 (locale-modules): Add locale.
31417
5e4287d1
RM
31418 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
31419 * elf/rtld.c (dl_main): Invert order of assignment in last change,
31420 to avoid a warning.
31421
9c96ff23
DM
314222011-08-14 David S. Miller <davem@davemloft.net>
31423
31424 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
31425 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
31426
f9ddf089
UD
314272011-08-13 Ulrich Drepper <drepper@gmail.com>
31428
44f0a71e 31429 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
31430 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
31431 * elf/rtld.c (dl_main): Set l_name of vDSO.
31432 Call _dl_show_scope when DL_DEBUG_SCOPES.
31433 (process_dl_debug): Recognize scopes flag and also set it for all.
31434 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
31435 Declare _dl_show_scope.
31436
1dc27704
UD
31437 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
31438 (do_dlopen): Pass caller_dlopen to dl_open.
31439 (__libc_dlopen_mode): Initialize caller_dlopen.
31440
f9ddf089
UD
31441 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
31442 of libc. Make tolower call locale-independent. Optimize a bit by
31443 using isdigit instead of isalnum.
31444 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
31445
9ac533d3
UD
314462011-08-12 Ulrich Drepper <drepper@gmail.com>
31447
31448 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
31449 was a dependency or dynamically loaded.
31450
89edf2e9
UD
314512011-08-11 Ulrich Drepper <drepper@gmail.com>
31452
8e999d29
UD
31453 * intl/l10nflist.c: Allow architecture-specific pop function.
31454 * sysdeps/x86_64/l10nflist.c: New file.
31455
89edf2e9
UD
31456 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
31457 classification.
31458
14d96785
AS
314592011-08-10 Andreas Schwab <schwab@redhat.com>
31460
31461 * include/dirent.h: Add libc_hidden_proto for scandirat and
31462 scandirat64. Don't declare __scandirat64.
31463 * dirent/scandirat.c: Add libc_hidden_def.
31464 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
31465 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
31466
6761ac04
DM
314672011-08-10 David S. Miller <davem@davemloft.net>
31468
31469 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
31470 enum.
31471 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31472 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31473 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31474
c55fbd1e
UD
314752011-08-09 Ulrich Drepper <drepper@gmail.com>
31476
31477 * Versions.def [libc]: Add GLIBC_2.15.
31478 * dirent/Makefile (routines): Add scandirat and scandirat64.
31479 * dirent/Versions [libc]: Export scandirat and scandirat64 for
31480 GLIBC_2.15.
31481 * dirent/dirent.h: Declare scandirat and scandirat64.
31482 * dirent/scandirat.c: New file.
31483 * dirent/scandirat64.c: New file.
31484 * sysdeps/wordsize-64/scandirat.c: New file.
31485 * sysdeps/wordsize-64/scandirat64.c: New file.
31486 * dirent/opendir.c: Define opendirat.
31487 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
31488 using scandirat.
31489 * dirent/scandir64.c: Adjust for scandir.c change.
31490 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
31491 __scandirat64, and __scandir_cancel_handler.
31492 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
31493 additional parameter and use openat instead of open (outside of ld.so).
31494 Add new __opendir as wrapper around __opendirat.
31495 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
31496 here without requiring old scandirat implementation.
31497
879165f2
UD
314982011-08-08 Ulrich Drepper <drepper@gmail.com>
31499
31500 * dirent/scandir.c (cancel_handler): Renamed to
31501 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
31502 defined. Adjust users.
31503 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
31504 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
31505
cb7e923b
UD
315062011-08-04 Ulrich Drepper <drepper@gmail.com>
31507
16292edd
UD
31508 * string/test-string.h (IMPL): Use __STRING to expand name and then
31509 stringify it.
31510
cb7e923b
UD
31511 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
31512 of cleanups.
31513
cff82933
LD
315142011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31515
31516 * string/Makefile: Update.
31517 (strop-tests): Append strncat.
31518 * string/test-wcscmp.c: New file.
31519 New comprehensive test for wcscmp.
31520 * string/test-strcmp.c: Update.
31521 (WIDE): New define.
31522
9be9bfcc
AS
315232011-07-22 Andreas Schwab <schwab@redhat.com>
31524
31525 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
31526 line.
31527
2e96f1c7
AS
315282011-07-26 Andreas Schwab <schwab@redhat.com>
31529
31530 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31531 encoding to ACE if AI_IDN.
31532
85188888
JJ
315332011-08-01 Jakub Jelinek <jakub@redhat.com>
31534
31535 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
31536 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
31537
5fa16e9b
LD
315382011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31539
31540 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
31541 Fix overflow bug in strncat.
31542 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
31543
31544 * string/test-strncat.c: Update.
31545 Add new tests for checking overflow bugs.
31546
315472011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31548
31549 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31550 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
31551 * sysdeps/i386/i686/multiarch/strcat.S: New file.
31552 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
31553 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
31554 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
31555 * sysdeps/i386/i686/multiarch/strncat.S: New file.
31556 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
31557 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
31558
31559 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
31560 (USE_AS_STRCAT): Define.
31561 Add strcat and strncat support.
31562 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31563
8c1a459f
AS
315642011-07-25 Andreas Schwab <schwab@redhat.com>
31565
31566 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
31567 __n bigger than INT_MAX+1.
31568 (__strncmp_g): Likewise.
31569
bba33c28
UD
315702011-07-23 Ulrich Drepper <drepper@gmail.com>
31571
798be72d
UD
31572 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
31573 * libio/stido.h: Likewise.
31574
8accd4dc
UD
31575 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
31576 (AF_NFC): Define.
31577 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
31578 (AF_NFC): Define.
31579
cbff0d96
UD
31580 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
31581 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31582 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31583 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31584 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31585
9191c04a
UD
31586 [BZ #13021]
31587 * scripts/test-installation.pl: Don't expect libnss_test1 to be
31588 installed.
31589
bba33c28
UD
31590 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
31591 typo.
31592 (_dl_x86_64_save_sse): Likewise.
31593
90f139dd
UD
315942011-07-22 Ulrich Drepper <drepper@gmail.com>
31595
1aae088a
UD
31596 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
31597 OSXSAVE.
31598 (_dl_x86_64_save_sse): Likewise.
31599
8e2045f5
UD
31600 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
31601
90f139dd
UD
31602 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
31603
1d002f25
AS
316042011-07-21 Andreas Schwab <schwab@redhat.com>
31605
31606 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
31607 change.
31608 (_dl_x86_64_save_sse): Use correct AVX check.
31609
21137f89
UD
316102011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31611
31612 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
31613 bug in strncpy/strncat.
31614 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
31615
a65c0b7a
UD
316162011-07-21 Ulrich Drepper <drepper@gmail.com>
31617
31618 * string/tester.c (test_strcat): Add tests for different alignments
31619 of source and destination.
31620 (test_strncat): Likewise.
31621
6986b98a
UD
316222011-07-20 Ulrich Drepper <drepper@gmail.com>
31623
90bb2039
UD
31624 [BZ #12852]
31625 * posix/glob.c (glob): Check passed in values before using them in
31626 expressions to avoid some overflows.
31627 (glob_in_dir): Likewise.
31628
5644ef54
UD
31629 [BZ #13007]
31630 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
31631 check for AVX enablement so that we don't crash with old kernels and
31632 new hardware.
31633 * elf/tst-audit4.c: Add same checks here.
31634 * elf/tst-audit6.c: Likewise.
31635
31636 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 31637
bfc9dc9b
AS
316382011-07-09 Andreas Schwab <schwab@linux-m68k.org>
31639
31640 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
31641
702e64bb
UD
316422011-07-20 Ulrich Drepper <drepper@gmail.com>
31643
31644 * po/cs.po: Update from translation team.
31645 * po/bg.po: Likewise.
31646
295e904f
MP
316472011-07-12 Marek Polacek <mpolacek@redhat.com>
31648
31649 * misc/sys/cdefs.h: Add support for const attribute.
31650 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
31651 to gnu_dev_{major,minor,makedev} functions.
31652
3ff94596
MP
316532011-07-20 Marek Polacek <mpolacek@redhat.com>
31654
31655 * intl/dcigettext.c (get_output_charset): Add missing bracket.
31656
28b59fca
AS
316572011-07-20 Andreas Schwab <schwab@redhat.com>
31658
31659 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
31660 strlen results.
31661
19df733e
AK
316622011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31663
31664 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
31665 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
31666 register in order to avoid conflicts with the soft frame pointer
31667 being held in r11 when necessary.
31668 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
31669 (INTERNAL_VSYSCALL_NCS): Likewise.
31670
c8835729
MP
316712011-07-14 Marek Polacek <mpolacek@redhat.com>
31672
31673 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
31674 * elf/dl-fini.c (_dl_fini): Adjust caller.
31675 * elf/dl-close.c (_dl_close_worker): Likewise.
31676 * sysdeps/generic/ldsodefs.h: Adjust declaration.
31677
b902330c
MP
316782011-07-15 Marek Polacek <mpolacek@redhat.com>
31679
8991e135
MP
31680 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
31681 "aux_cache->nlibs < 0".
31682
b902330c
MP
31683 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
31684 in the reload-count case.
31685
99710781
LD
316862011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31687
31688 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31689 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
31690 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
31691 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
31692 * sysdeps/x86_64/multiarch/strcat.S: New file.
31693 * sysdeps/x86_64/multiarch/strncat.S: New file.
31694 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
31695 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
31696 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
31697 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
31698 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
31699 (USE_AS_STRCAT): Define.
31700 Add strcat and strncat support.
31701 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31702 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31703 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
31704 * string/strncat.c: Update.
31705 (USE_AS_STRNCAT): Define.
31706 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31707 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
31708 and i7.
31709 * sysdeps/x86_64/multiarch/init-arch.h
31710 (bit_Prefer_PMINUB_for_stringop): New.
31711 (index_Prefer_PMINUB_for_stringop): Likewise.
31712 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
31713 bit_Prefer_PMINUB_for_stringop.
31714
7dc6bd90
UD
317152011-07-19 Ulrich Drepper <drepper@gmail.com>
31716
31717 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
31718 buffer64.
31719 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
31720 of casting of buffer.
31721 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
31722 buffer32 and buffer64.
31723 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
31724 writes instead of casting of buffer.
31725 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
31726 buffer32.
31727 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
31728 casting of buffer.
31729
e0e72284
AS
317302011-07-19 Andreas Schwab <schwab@redhat.com>
31731
31732 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
31733
feb1eb0b
UD
317342011-07-19 Ulrich Drepper <drepper@gmail.com>
31735
31736 * nscd/nscd.c (termination_handler): Don't do anything for a database
31737 if it has not yet been initialized.
31738
298711ff
UD
317392011-07-18 Ulrich Drepper <drepper@gmail.com>
31740
31741 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31742
317432011-07-15 Marek Polacek <mpolacek@redhat.com>
31744
31745 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31746
f9d68389
UD
317472011-07-18 Ulrich Drepper <drepper@gmail.com>
31748
31749 * po/nl.po: Update from translation team.
31750 * po/sv.po: Likewise.
31751
db290cf5
RM
317522011-07-16 Roland McGrath <roland@hack.frob.com>
31753
31754 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
31755 now disallowed by GCC.
5c550700 31756
fd5e21c7
RM
31757 * configure.in (use-default-link): Default to yes if a test -shared
31758 link meets our qualifications.
31759 * configure: Regenerated.
31760
5c550700
RM
31761 * config.make.in (output-format): New variable.
31762 * configure.in: Check for ld --print-output-format support.
31763 * configure: Regenerated.
31764 * Makerules ($(common-objpfx)format.lds)
31765 [$(output-format) != unknown]: Just use $(output-format),
31766 instead of the linker-script munging.
31767
9fa2c032
RM
317682011-07-14 Roland McGrath <roland@hack.frob.com>
31769
a6928d51
RM
31770 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
31771 of $(common-objpfx)shlib.lds.
31772 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
31773
661607b3
RM
31774 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
31775 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
31776
9fa2c032
RM
31777 * configure.in (-z relro check): Adjust test code to add a large
31778 writable data section after it.
31779 * configure: Regenerated.
31780
defe9061
RM
317812011-07-11 Roland McGrath <roland@hack.frob.com>
31782
31783 * configure.in (-z relro check): Fix test code to make the variable
31784 truly const.
31785 * configure: Regenerated.
31786
319b9ad4
UD
317872011-07-11 Ulrich Drepper <drepper@gmail.com>
31788
31789 * nscd/nscd.h (struct traced_file): Define.
31790 (struct database_dyn): Remove inotify_descr, reset_res, and filename
31791 elements. Add traced_files.
31792 (inotify_fd): Declare.
31793 (register_traced_file): Declare.
31794 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
31795 (inotify_fd): Export.
31796 (resolv_conf_descr): Remove.
31797 (nscd_init): Move inotify descriptor creation to main.
31798 Don't register files for notification here.
31799 (register_traced_file): New function.
31800 (invalidate_cache): Don't use reset_res to determine whether to call
31801 res_init, go through the list of registered files.
31802 (main_loop_poll): The inotify descriptors are now stored in the
31803 structures for the traced files.
31804 (main_loop_epoll): Likewise
31805 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
31806 to __nss_disable_nscd.
31807 * nscd/cache.c (prune_cache): There is no single inotify descriptor
31808 for a database anymore. Check the records for all the registered
31809 files instead.
31810 * nss/Makefile (libnss_files-routines): Add files-init.
31811 (libnss_db-routines): Add db-init.
31812 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
31813 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
31814 * nss/nss_db/db-init.c: New file.
31815 * nss/nss_files/files-init.c: New file.
31816 * nss/nsswitch.c (nss_load_library): New function. Broken out of
31817 __nss_lookup_function.
31818 (__nss_lookup_function): Call nss_load_library.
31819 (nss_load_all_libraries): New function.
31820 (__nss_disable_nscd): Take parameter with callback function for files
31821 to register. Set is_nscd. Load all the DSOs for the NSS modules
31822 used for the cached services.
31823 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
31824 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
31825 options for features to all the files in nscd.
31826
31827 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
31828
23bee3e8
RM
318292011-07-10 Roland McGrath <roland@hack.frob.com>
31830
31831 * csu/elf-init.c (__libc_csu_init): Comment typo.
31832
46a5b7f0
UD
318332011-07-09 Ulrich Drepper <drepper@gmail.com>
31834
31835 * po/pl.po: Update from translation team.
31836 * po/ja.po: Likewise.
31837 * po/ru.po: Likewise.
31838 * po/ko.po: Likewise.
31839 * po/fr.po: Likewise.
31840
d30cf5bb
RM
318412011-07-09 Roland McGrath <roland@hack.frob.com>
31842
113ddea4
RM
31843 * configure.in (.ctors/.dtors header and trailer check):
31844 Use an empirical test on a built program.
31845 * configure: Regenerated.
31846
574920b4
RM
31847 * configure.in (-z relro check): Use an empirical test on a built DSO.
31848 Detect, but do not require, on ia64.
31849 * configure: Regenerated.
31850
d30cf5bb
RM
31851 * configure.in (READELF): Find it with AC_CHECK_TOOL.
31852 Update tests that use readelf to use $READELF instead.
31853 * configure: Regenerated.
31854
8538fdb3
UD
318552011-07-08 Ulrich Drepper <drepper@gmail.com>
31856
31857 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
31858 if the result is not used.
31859
04d08991
AJ
318602011-07-05 Andreas Jaeger <aj@suse.de>
31861
31862 [BZ#9696]
31863 * stdlib/tst-strtod.c: Add testcase.
31864
de283087
AD
318652011-07-07 Ulrich Drepper <drepper@gmail.com>
31866
4e5f31c8 31867 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 31868 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
31869 The latter has a higher limit. Take additional parameter to pass to
31870 the new function.
31871 (__pathconf): Pass file to __statfs_link_max.
31872 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
31873 __statfs_link_max.
31874 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
31875 __statfs_link_max.
31876
de283087
AD
31877 [BZ #12868]
31878 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
31879 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31880 Handle Lustre.
31881 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
31882 (__statfs_filesize_max): Likewise.
31883 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
31884
c75fa153
AJ
318852011-07-05 Andreas Jaeger <aj@suse.de>
31886
31887 * resolv/res_comp.c (dn_skipname): Remove unused variable.
31888
1a544854
UD
318892011-07-06 Marek Polacek <mpolacek@redhat.com>
31890
31891 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
31892 `status' variable.
31893 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
31894 Likewise.
31895
6f0eec67
UD
318962011-07-04 H.J. Lu <hongjiu.lu@intel.com>
31897
31898 * Makefile (strop-tests): Add strncat.
31899 * string/test-strncat.c: New file.
31900
aae30307
UD
319012011-06-30 Marek Polacek <mpolacek@redhat.com>
31902
31903 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
31904
c0cfb5eb
UD
319052011-06-21 Andreas Jaeger <aj@suse.de>
31906
31907 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
31908 Copy rule from iconvdata/Makefile.
31909
01636b21
UD
319102011-07-06 Ulrich Drepper <drepper@gmail.com>
31911
31912 [BZ #12922]
31913 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
31914 but no long options are defined, just return 'W'.
31915
9895c8bc
UD
319162011-06-22 Marek Polacek <mpolacek@redhat.com>
31917
31918 [BZ #9696]
31919 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
31920
5d4cf042
UD
319212011-07-06 Ulrich Drepper <drepper@gmail.com>
31922
31923 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
31924 netgroups to read.
960e5535 31925 (innetgr): Likewise.
5d4cf042 31926
751eb97e
RM
319272011-07-05 Roland McGrath <roland@hack.frob.com>
31928
31929 * config.make.in (install_root): Default to $(DESTDIR).
31930
f15f1e45
UD
319312011-07-05 Ulrich Drepper <drepper@gmail.com>
31932
31933 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
31934
4e34ac6a
RM
319352011-07-02 Roland McGrath <roland@hack.frob.com>
31936
5e9b6af4
RM
31937 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
31938
84f9ea0f
RM
31939 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
31940 containing directory rather than embedding absolute directory names.
31941
ea5ee9f7
RM
31942 * scripts/check-local-headers.sh: Rewritten using awk.
31943 Match by word, not by line. Print error messages for matches.
31944 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
31945
1b74661a
RM
31946 * Makerules [shlib-lds-flags empty]:
31947 ($(common-objpfx)libc_pic.opts): New target.
31948 ($(common-objpfx)libc_pic.os.clean): New target.
31949 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
31950
31951 * config.make.in (OBJCOPY): New variable.
31952 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
31953 * configure: Regenerated.
31954
f781ef40
RM
31955 * config.make.in (use-default-link): New variable.
31956 * configure.in (use_default_link): Grok --with-default-link to set it.
31957 * configure: Regenerated.
31958 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
31959 (shlib-lds, shlib-lds-flags): Define to empty.
31960
2d4fa81e
RM
31961 * Makerules (shlib-lds): New variable.
31962 (shlib-lds-flags): New variable.
31963 (build-shlib, build-moduile, build-module-asneeded): Use it.
31964 ($(common-objpfx)libc.so): Use $(shlib-lds).
31965 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
31966 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
31967
31fffa6b
RM
31968 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
31969 DT_FLAGS/DT_FLAGS_1 with zero flags.
31970
4e34ac6a
RM
31971 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
31972 linker script munging.
31973
fcfc776b
UD
319742011-07-02 Ulrich Drepper <drepper@gmail.com>
31975
31976 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
31977 as 128-bit value.
31978 * crypt/sha512.c (sha512_process_block): Perform total addition using
31979 128-bit if possible.
31980 (__sha512_finish_ctx): Likewise.
31981 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
31982 as 64-bit value.
31983 * crypt/sha256.c (SWAP64): Define.
31984 (sha256_process_block): Perform total addition using 64-bit if
31985 possible.
31986 (__sha256_finish_ctx): Likewise.
31987
99231d9a
UD
319882011-07-01 Ulrich Drepper <drepper@gmail.com>
31989
31990 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
31991 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31992 * nscd/hstcache.c (cache_addhst): Likewise.
31993 * nscd/grpcache.c (cache_addgr): Likewise.
31994 * nscd/aicache.c (addhstaiX): Likewise
31995 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
31996
445b4a53
TK
319972011-07-01 Thorsten Kukuk <kukuk@suse.de>
31998
31999 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
32000 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32001 * nscd/hstcache.c (cache_addhst): Likewise.
32002 * nscd/grpcache.c (cache_addgr): Likewise.
32003 * nscd/aicache.c (addhstaiX): Likewise
32004
6d4d8e8e
AS
320052011-07-01 Andreas Schwab <schwab@redhat.com>
32006
32007 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
32008 domain only when needed.
32009
89f654c5
AS
320102011-06-30 Andreas Schwab <schwab@redhat.com>
32011
32012 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
32013 is always restored.
32014
cf3b23ff
UD
320152011-06-29 Ulrich Drepper <drepper@gmail.com>
32016
32017 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
32018 are re-adding the entry.
32019 * nscd/servicescache.c (cache_addserv): Likewise.
32020
751626f9
AJ
320212011-06-30 Aurelien Jarno <aurelien@aurel32.net>
32022
32023 * sysdeps/generic/dl-irel.h: fix protection against multiple
32024 inclusions.
32025 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
32026
9113ea1f
UD
320272011-06-28 Ulrich Drepper <drepper@gmail.com>
32028
5c0b8d90
UD
32029 [BZ #12935]
32030 * malloc/memusage.sh: Fix quoting in message.
32031 * debug/xtrace.sh: Likewise.
32032
9113ea1f
UD
32033 * configure.in: Remove support for --experimental-malloc option, make
32034 it the default.
32035 * config.make.in: Likewise.
32036 * malloc/Makefile: Likewise.
32037
a4172181
AS
320382011-06-27 Andreas Schwab <schwab@redhat.com>
32039
32040 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
32041 two-byte characters.
32042
78a7eee7
RM
320432011-06-27 Roland McGrath <roland@hack.frob.com>
32044
62bede13
RM
32045 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
32046 AC_CACHE_CHECK invocation.
32047 * configure: Regenerated.
32048
78a7eee7
RM
32049 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
32050
5ce33a62
UD
320512011-06-27 Ulrich Drepper <drepper@gmail.com>
32052
034807a9
UD
32053 [BZ #12350]
32054 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
32055 bit from old_res_options.
32056
4902da17
UD
32057 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
32058
5ce33a62
UD
32059 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
32060 value type for setfct.
32061
c2344f56
L
320622011-06-23 H.J. Lu <hongjiu.lu@intel.com>
32063
32064 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32065 __gettimeofday instead of gettimeofday.
32066
68468076
UD
320672011-06-26 Ulrich Drepper <drepper@gmail.com>
32068
32069 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
32070
acb0d739
L
320712011-06-24 H.J. Lu <hongjiu.lu@intel.com>
32072
32073 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
32074
32075 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
32076 info.
32077
8912479f
L
320782011-06-22 H.J. Lu <hongjiu.lu@intel.com>
32079
32080 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32081 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32082 strcpy-sse2-unaligned strncpy-sse2-unaligned
32083 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
32084 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
32085 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
32086 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
32087 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
32088 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
32089 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
32090 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
32091 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
32092 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
32093 (STRCPY): Support SSE2 and SSSE3 versions.
32094
d5495a11
UD
320952011-06-24 Ulrich Drepper <drepper@gmail.com>
32096
32097 [BZ #12874]
32098 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
32099 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
32100 kernels which artificially limit size of requests.
32101
0b1cbaae
L
321022011-06-22 H.J. Lu <hongjiu.lu@intel.com>
32103
32104 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32105 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32106 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
32107 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
32108 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
32109 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
32110 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
32111 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
32112 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
32113 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
32114 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
32115 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
32116 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
32117 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
32118 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
32119 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32120 Enable unaligned load optimization for Intel Core i3, i5 and i7
32121 processors.
32122 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
32123 Define.
32124 (index_Fast_Unaligned_Load): Define.
32125 (HAS_FAST_UNALIGNED_LOAD): Define.
32126
07f494a0
MP
321272011-06-23 Marek Polacek <mpolacek@redhat.com>
32128
32129 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
32130
fa3fc0fe
UD
321312011-06-22 Ulrich Drepper <drepper@gmail.com>
32132
32133 [BZ #12907]
32134 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
32135 until it is clear that the information is realy needed.
32136 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
32137
e12df166
AS
321382011-06-22 Andreas Schwab <schwab@redhat.com>
32139
32140 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
32141
852eb34d
UD
321422011-06-22 Ulrich Drepper <drepper@gmail.com>
32143
84e2a551
UD
32144 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32145 /sys/devices/system/cpu/online if it is usable.
32146
852eb34d
UD
32147 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
32148 reading the information from the /proc filesystem to once a second.
32149
6e502e19
UD
321502011-06-21 Andreas Jaeger <aj@suse.de>
32151
32152 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
32153 NULL after inclusion of kernel headers.
32154
75d39ff2
UD
321552011-06-21 Ulrich Drepper <drepper@gmail.com>
32156
51f9aa6a
UD
32157 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
32158 calls to internal_setent.
32159
c0244a9d
UD
32160 [BZ #12885]
32161 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
32162 addresses using gethostbyname4_r ignore IPv4 addresses.
32163
c5e3c2ae
UD
32164 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
32165 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
32166
75d39ff2
UD
32167 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
32168
42675c6f
DM
321692011-06-20 David S. Miller <davem@davemloft.net>
32170
32171 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
32172 inclusions.
32173 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
32174
32175 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
32176 (elf_irel): Use it.
32177 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
32178 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
32179 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
32180 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
32181 * sysdeps/x86_64/dl-irel.h: Likewise.
32182
32183 * elf/dl-runtime.c: Use elf_ifunc_invoke.
32184 * elf/dl-sym.c: Likewise.
32185
57912a71
UD
321862011-06-15 Ulrich Drepper <drepper@gmail.com>
32187
32188 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
32189 need to dereference resplen2.
32190
ee22793d
AS
321912011-06-14 Andreas Schwab <schwab@redhat.com>
32192
32193 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
32194
a9e836b0
UD
321952011-06-15 Ulrich Drepper <drepper@gmail.com>
32196
77fb9117
UD
32197 * Makeconfig: Define vardbdir and inst_vardbdir.
32198 * nss/Makefile: Add rules to install db-Makefile.
32199
40c1b22c
UD
32200 * nss/nss_db/db-XXX.c: Cleanup.
32201
9f2da732
UD
32202 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
32203 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
32204 GLIBC_PRIVATE.
32205 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
32206 * nss/makedb.c: Implement -g option to specify that value strings
32207 are generated and should not be added to table iterated over for
32208 get*ent calls.
32209 * nss/nss_db/db-initgroups.c: New file.
32210
82e9a1f7
UD
32211 * nss/getent.c: Add support for initgroups lookups through getgrouplist
32212 interface.
32213
c41af17e
UD
32214 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
32215 (internal_getgrouplist): Adjust to name change.
32216 Update use_initgroups_entry if this is not the first call.
32217 * nss/databases.def: Add initgroups entry.
32218
a9e836b0
UD
32219 * nss/makedb.c (compute_tables): Check result of multiple hash table
32220 sizes to minimize maximum chain length.
32221
2666d441
UD
322222011-06-14 Ulrich Drepper <drepper@gmail.com>
32223
32224 * Versions.def: Add entry for libnss_db.
32225 * shlib-versions: Likewise.
32226 * nss/Makefile: Add rules to build libnss_db.
32227 * nss/Versions: Add libnss_db information. Organize libnss_files
32228 entries better.
32229 * nss/db-Makefile: Add gshadow support. Change rules for the new
32230 makedb progra. Some minor improvements to generate smaller files.
32231 * nss/nss_db/nss_db.h: Move NSS database header data structures to
32232 here from...
32233 * nss/makedb.c: ...here.
32234 Improve database format to be smaller and require less memory at
32235 runtime.
32236 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
32237 db anymore.
32238 * nss/nss_db/db-netgrp.c: Likewise.
32239 * nss/nss_db/db-open.c: Likewise.
32240 * nss/nss_files/flies-XXX.x: Adjust comments.
32241 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
32242 * nss/nss_files/files-grp.c: Likewise.
32243 * nss/nss_files/files-hosts.c: Likewise.
32244 * nss/nss_files/files-network.c: Likewise.
32245 * nss/nss_files/files-proto.c: Likewise.
32246 * nss/nss_files/files-pwd.c: Likewise.
32247 * nss/nss_files/files-rpc.c: Likewise.
32248 * nss/nss_files/files-service.c: Likewise.
32249 * nss/nss_files/files-sgrp.c: Likewise.
32250 * nss/nss_files/files-spwd.c: Likewise.
32251 * nss/nss_db/db-alias.c: Removed.
32252 * nss/nss_db/dummy-db.h: Removed.
32253
9ee76b5a
UD
322542011-06-02 Ulrich Drepper <drepper@gmail.com>
32255
32256 * nss/makedb.c: Rewritten to not use database library.
32257 * nss/Makefile: Update to build new makedb program.
32258
c71ca1f8
AJ
322592011-06-14 Andreas Jaeger <aj@suse.de>
32260
32261 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
32262 memset declaration.
32263
3154bfb8
UD
322642011-06-10 Andreas Schwab <schwab@redhat.com>
32265
32266 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
32267 tmpbuf.
32268
b350afab
RM
322692011-06-10 Roland McGrath <roland@hack.frob.com>
32270
decd4e50
RM
32271 * Makerules (shlib.lds): Fail if the linker script comes out empty.
32272 * elf/Makefile ($(objpfx)ld.so): Likewise.
32273
5615eaf2
RM
32274 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
32275 Don't list ld.so twice in dependencies.
32276
32277 * posix/bug-regex31.c: Include <stdlib.h>.
32278
32279 * nscd/hstcache.c (cache_addhst): Remove unused variable.
32280
32281 * nis/nss_compat/compat-spwd.c
32282 (getspent_next_nss_netgr): Remove unused variable.
32283 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
32284
32285 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
32286 nonmembers" output to use the right array.
32287
32288 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
32289
32290 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
32291
32292 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
32293 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
32294 * catgets/gencat.c (read_input_file): Likewise.
32295 * locale/programs/locarchive.c (enlarge_archive): Likewise.
32296
32297 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
32298 variable definition inside #if's controlling its use.
32299
32300 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
32301
32302 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
32303
32304 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
32305
32306 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
32307 unreachable code.
32308
32309 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
32310
b68e08db
RM
32311 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
32312 * configure: Regenerated.
32313
b350afab
RM
32314 * Makerules: Revert last change.
32315 * elf/Makefile: Likewise.
32316
28368601
RM
323172011-06-09 Roland McGrath <roland@hack.frob.com>
32318
32319 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
32320 * elf/Makefile ($(objpfx)librtld.os): Likewise.
32321 (reloc-link): Likewise.
32322
11988f8f
UD
323232011-06-09 Ulrich Drepper <drepper@gmail.com>
32324
32325 * elf/Makefile: Add rules to build pldd.
32326 * elf/pldd.c: New file.
32327 * elf/pldd-xx.c: New file.
32328
e80fab37
UD
323292011-06-07 Ulrich Drepper <drepper@gmail.com>
32330
32331 * version.h: Update for 2.15 development version.
32332
9b849836
DM
323332011-06-07 David S. Miller <davem@davemloft.net>
32334
32335 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
32336 ifuncs.
32337 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
32338 elf_machine_lazy_rel): Likewise.
32339 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
32340 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
32341 elf_machine_lazy_rel): Likewise.
32342 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
32343 dl_hwcap via passed in argument.
32344 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
32345 Likewise.
32346
5a31b283
AK
323472011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32348
32349 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
32350
069e52f8
RM
323512011-06-06 Roland McGrath <roland@hack.frob.com>
32352
32353 [BZ #12849]
32354 * manual/fdl-1.1.texi: New file, verbatim from:
32355 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
32356 * manual/lgpl-2.1.texi: New file, verbatim from:
32357 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
32358 * manual/Makefile (licenses): New variable, list those new file names.
32359 (texis): Use it.
32360 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
32361
32362 * manual/fdl.texi: File removed.
32363 * manual/lesser.texi: File removed.
32364 * manual/libc.texinfo (Copying, Documentation License):
32365 Use new @include file names, put @appendix directive before @include.
32366
f16846a5
JJ
323672011-06-04 Jakub Jelinek <jakub@redhat.com>
32368
32369 [BZ #12841]
32370 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
32371 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
32372 (mq_open): Add __NTH.
32373
3d29045b
L
323742011-06-02 H.J. Lu <hongjiu.lu@intel.com>
32375
32376 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32377 Assume Intel Core i3/i5/i7 processor if AVX is available.
32378
8c297311
UD
323792011-05-31 Ulrich Drepper <drepper@gmail.com>
32380
32381 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32382 typo.
32383
c8fc0c91
UD
323842011-05-31 Andreas Schwab <schwab@redhat.com>
32385
32386 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
32387 memory. Use alloca_account. Fix memory leak when retrying.
32388
5b27a807
UD
323892011-05-31 Ulrich Drepper <drepper@gmail.com>
32390
356f8bc6
UD
32391 * version.h (RELEASE): Bump for 2.14 release.
32392 * include/features.h (__GLIBC_MINOR__): Bump to 14.
32393
5b27a807
UD
32394 * config.make.in (RANLIB): Remove entry.
32395
01f16ab0
UD
323962011-05-30 Ulrich Drepper <drepper@gmail.com>
32397
41fce8bd
UD
32398 * po/Makefile (po-sed-cmd): Add ksh to extensions.
32399 (libc.pot): Work around missing support for .ksh extension in xgettext.
32400
4769ae77
UD
32401 [BZ #12684]
32402 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
32403 if both request failed.
32404 (send_dg): In case of server errors clear resplen or *resplen2.
32405
6b1e7d19
UD
32406 [BZ #12454]
32407 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
32408 when there are multiple maps.
32409 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
32410 (_dl_fini): Remove test here.
32411
01f16ab0
UD
32412 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
32413
b1ebd700
UD
324142011-05-29 Ulrich Drepper <drepper@gmail.com>
32415
7ae22829
UD
32416 [BZ #12350]
32417 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
32418 bit from old_res_options.
32419 (gaih_inet): Likewise.
32420
553149f6 32421 [BZ #11099]
18a84741 32422 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
32423 as signed.
32424
652ffab1
UD
32425 * resolv/res_init.c (res_setoptions): Make the code more compact.
32426
16985fd0
UD
32427 [BZ #11558]
32428 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
32429 set RES_USEVC.
32430
0464f746
UD
32431 [BZ #11634]
32432 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
32433
7d17596c
UD
32434 * malloc/malloc.h: Mark malloc hook variables as deprecated.
32435
cf6bbbd7
UD
32436 [BZ #11781]
32437 * malloc/malloc.h: Declare malloc hook variables as volatile.
32438
13f1ab36
UD
32439 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
32440 in last patch.
32441
b1ebd700
UD
32442 [BZ #11799]
32443 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 32444 raise in the comment.
80e2212d
UD
32445 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
32446 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32447 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 32448
ce67228d
UD
324492011-05-28 Ulrich Drepper <drepper@gmail.com>
32450
8887a920
UD
32451 [BZ #12811]
32452 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
32453 grow the buffers more if it already has to be sufficient.
32454 (build_wcs_upper_buffer): Likewise.
32455 * posix/regexec.c (check_matching): Likewise.
32456 (clean_state_log_if_needed): Likewise.
32457 (extend_buffers): Don't enlarge buffers beyond size of the input
32458 buffer.
32459 Patches mostly by Emil Wojak <emil@wojak.eu>.
32460 * posix/bug-regex32.c: New file.
32461 * posix/Makefile (tests): Add bug-regex32.
32462
4f031072
UD
32463 * locale/findlocale.c (_nl_find_locale): Return right away if
32464 _nl_explode_name failed.
32465 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
32466
d0478f0c
UD
32467 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
32468
de81b246
UD
32469 * debug/xtrace.sh: Unify messages.
32470 * malloc/memusage.sh: Likewise.
32471
c738465a
UD
32472 [BZ #12813]
32473 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
32474 time symbol from vDSO. Substitute with vsyscall if not available.
32475 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
32476 __vdso_time.
32477
f1f929d7
UD
32478 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
32479 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
32480 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
32481 Add sendmmsg and internal_sendmmsg.
32482 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
32483 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
32484 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
32485
ce67228d
UD
32486 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
32487 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
32488 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
32489
e57420c6
UD
324902011-05-27 Ulrich Drepper <drepper@gmail.com>
32491
a8509ca5
UD
32492 [BZ #12813]
32493 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
32494 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
32495 available.
32496 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
32497 __vdso_getcpu.
32498
e57420c6
UD
32499 [BZ #12814]
32500 * iconvdata/Makefile (tests): Add bug-iconv9.
32501 * iconvdata/bug-iconv9.c: New file.
32502
4d07db15
AS
325032011-05-27 Andreas Schwab <schwab@redhat.com>
32504
32505 [BZ #12814]
32506 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
32507
ea486f69
JJ
325082011-05-25 Jakub Jelinek <jakub@redhat.com>
32509
32510 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32511 (struct user_regs_struct): Change intcs field back to cs.
32512
6f038433
UD
325132011-05-25 Ulrich Drepper <drepper@gmail.com>
32514
32515 * po/ja.po: Update from translation team.
32516
67f86a25
UD
325172011-05-23 Ulrich Drepper <drepper@gmail.com>
32518
32519 [BZ #12795]
32520 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
32521 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
32522
def7fbd6
AS
325232011-05-20 Andreas Schwab <schwab@redhat.com>
32524
32525 * stdlib/longlong.h: Update from GCC.
32526
f50ef8f1
AS
325272011-05-23 Andreas Schwab <schwab@redhat.com>
32528
32529 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
32530 parameter name.
32531 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
32532 Add parameter name.
32533 (__sysconf): Pass it down.
32534
de7ce8f1
UD
325352011-05-22 Ulrich Drepper <drepper@gmail.com>
32536
f2962a71
UD
32537 [BZ #12671]
32538 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
32539 some situations.
32540 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32541 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
32542 add in in __libc_use_alloca calls. Adjust callers.
32543 (glob): Use malloc in some situations.
32544
de7ce8f1
UD
32545 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
32546 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
32547 pltexit.
32548
aec84f53
UD
325492011-05-21 Ulrich Drepper <drepper@gmail.com>
32550
05bb4a68
UD
32551 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
32552 and CLOCK_BOOTTIME_ALARM.
32553
7ea72f99
UD
32554 [BZ #12782]
32555 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
32556 is returned.
32557
7e4afad5
UD
32558 * string/_strerror.c (__strerror_r): Print negative errors as signed
32559 numbers.
32560
8e211fec
UD
32561 [BZ #12777]
32562 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
32563 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
32564 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
32565
f7d82dc9
UD
32566 * configure.in: Fix typo in redirection and correct removal of test
32567 files in two cases.
32568
cc9e536d
UD
32569 [BZ #12788]
32570 * locale/setlocale.c (new_composite_name): Fix test to check for
32571 identical name of all categories.
32572
aec84f53
UD
32573 [BZ #12792]
32574 * libio/filedoalloc.c (local_isatty): New function.
32575 (_IO_file_doallocate): Use local_isatty.
32576 * stdio-common/perror.c (perror): In case a new stream is used
32577 forward the stream error.
32578 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
32579 error flag.
32580
78e64fdc
RT
325812011-05-20 Ulrich Drepper <drepper@gmail.com>
32582
34a9094f
UD
32583 [BZ #11869]
32584 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
32585 alloca.
32586 * include/alloca.h (extend_alloca_account): Define.
32587
78e64fdc
RT
32588 [BZ #11857]
32589 * posix/regex.h: Fix comments with documentation of user-accessible
32590 fields after compilation and describe correct free'ing of pattern
32591 after re_compile_pattern.
32592 Patch by Reuben Thomas <rrt@sc3d.org>.
32593
457bddfc
RA
325942011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
32595
32596 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
32597 and -mno-altivec to prevent the compiler from using Altivec and/or
32598 VSX instructions when the corresponding registers are not available.
32599
a4527b51
AS
326002011-05-19 Andreas Schwab <schwab@redhat.com>
32601
32602 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
32603
ed690b2f
UD
326042011-05-19 Ulrich Drepper <drepper@gmail.com>
32605
32606 * libio/freopen.c (freopen): Use __dup2, not dup2.
32607 * libio/freopen64.c (freopen64): Likewise.
32608
8db73634
L
326092011-05-17 H.J. Lu <hongjiu.lu@intel.com>
32610
32611 [BZ #12775]
32612 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
32613 * math/Makefile (tests): Add test-powl.
32614 (CFLAGS-test-powl.c): Define.
32615 * math/test-powl.c: New file.
32616
0a197a9d
L
326172011-05-16 H.J. Lu <hongjiu.lu@intel.com>
32618
32619 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
32620
ee30c380
UD
326212011-05-17 Ulrich Drepper <drepper@gmail.com>
32622
32623 [BZ #11837]
32624 * iconvdata/gb18030.c: Update to GB18020-2005.
32625
6ce75379
UD
326262011-05-16 Ulrich Drepper <drepper@gmail.com>
32627
a4b89fd8
AR
32628 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
32629 RE_SYNTAX_POSIX_AWK): Update to match recent development.
32630 Patch by Aharon Robbins <arnold@skeeve.com>.
32631
ea389b12
UD
32632 [BZ #11892]
32633 * stdlib/putenv.c (putenv): Don't always create copy of the variable
32634 on the stack.
32635
68a3f91f
UD
32636 [BZ #11895]
32637 * misc/pselect.c (__pselect): Handle timeout value errors hidden
32638 through underflows.
32639
15cc7dd1
UD
32640 [BZ #12766]
32641 * misc/error.c (error_at_line): Ensure file_name and old_file_name
32642 point to strings before performing equality test for error_one_per_line
32643 mode.
32644
f3799213
UD
32645 [BZ #11697]
32646 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
32647
d79a9c94
UD
32648 [BZ #11820]
32649 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32650 (struct user_fpregs_struct): Avoid __uint*_t types.
32651
56e5eb46
UD
32652 [BZ #6420]
32653 * malloc/mtrace.c (tr_where): Add additional parameter to point to
32654 symbol info. Use it instead of calling _dl_addr locally.
32655 (lock_and_info): New function.
32656 (tr_freehook): Call lock_and_info and pass symbol info as additional
32657 parameter to tr_where.
32658 (tr_mallochook): Likewise.
32659 (tr_reallochook): Likewise.
32660 (tr_memalignhook): Likewise.
32661
6ce75379
UD
32662 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
32663 used and couldn't be at all thread-safe.
32664
f8a3b5bf
UD
326652011-05-15 Ulrich Drepper <drepper@gmail.com>
32666
94b7cc37
UD
32667 * libio/freopen.c (freopen): Don't close old file descriptor
32668 before the new one is opened. Instead dup the new file descriptor
32669 to the old one after the new stream is created.
32670 * libio/freopen64.c (freopen64): Likewise.
32671 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
32672 * libio/fileops.c (_IO_new_file_close_it): Handle new
32673 _IO_FLAGS2_NOCLOSE flag.
32674 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
32675 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
32676 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
32677 _IO_FLAGS2_NOCLOSE flag.
32678 * include/unistd.h: Add hidden_proto for dup3.
32679 Define __have_dup3.
32680 * io/dup3.c: Define hidden symbol.
32681 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
32682
bd25564e
UD
32683 [BZ #7101]
32684 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
32685 when an incomplete long option is used.
32686 * posix/tst-getopt_long1.c: New file.
32687 * posix/Makefile (tests): Add tst-getopt_long1.
32688
c84cfef4
UD
32689 [BZ #10138]
32690 * scripts/config.guess: Update from autoconf-2.68.
32691 * scripts/config.sub: Likewise.
32692
3b85df27
UD
32693 [BZ #10157]
32694 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
32695 tests into ...
32696 (has_cpuclock): ...this. New function.
32697 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
32698 macro here based on has_cpuclock code.
32699
15a856b1
UD
32700 [BZ #10149]
32701 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32702 First byte (not low byte) is now always NUL.
32703 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
32704
05f399e6
UD
32705 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32706 Use non-cancelable interfaces.
32707
10a52685 32708 [BZ #9809]
94ecc67d
UD
32709 * locale/iso-639.def: Add entry for Sorani.
32710
f8a3b5bf
UD
32711 [BZ #11901]
32712 * include/stdlib.h: Move include protection to the right place.
32713 Define abort_msg_s. Declare __abort_msg with it.
32714 * stdlib/abort.c (__abort_msg): Adjust type.
32715 * assert/assert.c (__assert_fail_base): New function. Majority
32716 of code from __assert_fail. Allocate memory for __abort_msg with
32717 mmap.
32718 (__assert_fail): Now call __assert_fail_base.
32719 * assert/assert-perr.c: Remove bulk of implementation. Use
32720 __assert_fail_base.
32721 * include/assert.hL Declare __assert_fail_base.
32722 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
32723 mmap.
32724 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
32725
1af4e298
UD
327262011-05-14 Ulrich Drepper <drepper@gmail.com>
32727
f8a3b5bf 32728 [BZ #11952]
d26dfc60
MG
32729 [BZ #12453]
32730 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
32731 until all modules are registered in the DTV.
32732 * elf/Makefile: Add rules to build and run tst-tls19.
32733 * elf/tst-tls19.c: New file.
32734 * elf/tst-tls19mod1.c: New file.
32735 * elf/tst-tls19mod2.c: New file.
32736 * elf/tst-tls19mod3.c: New file.
32737 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
32738
2fc54d6f
UD
32739 [BZ #12083]
32740 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
32741 correctly.
32742
98d76b46
UD
32743 [BZ #12601]
32744 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
32745 two-byte sequence errors.
32746 * iconvdata/Makefile (tests): Add bug-iconv8.
32747 * iconvdata/bug-iconv8.c: New file.
32748
da3c19ef
UD
32749 [BZ #12626]
32750 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
32751 buf2 definition.
32752
ca408c15
UD
32753 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
32754
d6f67f7d
UD
32755 [BZ #12432]
32756 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
32757 (dummy_getcfa): New function.
32758 (init): Get _Unwind_GetCFA address, use dummy if not found.
32759 (backtrace_helper): In recursion check, also check whether CFA changes.
32760 (__backtrace): Completely initialize arg.
32761
1af4e298 32762 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
32763 storing incomplete byte sequence in state object. Avoid testing for
32764 guaranteed too small input if we know there is enough data available.
1af4e298 32765
da62f81b
AS
327662011-05-11 Andreas Schwab <schwab@redhat.com>
32767
32768 * Makeconfig (+link-pie): Indent.
32769 * Rules (binaries-pie): Define if $(have-fpie) and
32770 $(build-shared).
32771 (binaries-shared): Also filter out $(binaries-pie).
32772 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
32773 * nscd/Makefile (others-pie): Add nscd.
32774 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
32775 ($(objpfx)nscd): Remove command override.
32776 * login/Makefile (others-pie): Add pt_chown.
32777 ($(objpfx)pt_chown): Remove command override.
32778 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
32779 remove command overrides.
32780
fcabc0f8
UD
327812011-05-13 Ulrich Drepper <drepper@gmail.com>
32782
20030ae6
UD
32783 * libio/tst_putwc.c: Fix error messages.
32784
fcabc0f8
UD
32785 [BZ #12724]
32786 * libio/fileops.c (_IO_new_file_close_it): Always flush when
32787 currently writing and seek to current position when not.
32788 * libio/Makefile (tests): Add bug-fclose1.
32789 * libio/bug-fclose1.c: New file.
32790
320a5dc0
PB
327912011-05-12 Ulrich Drepper <drepper@gmail.com>
32792
32793 [BZ #12511]
32794 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
32795 don't set DF_1_NODELETE here.
32796 (do_lookup_x): When entering new entry test for copy relocation
32797 and if necessary set DF_1_NODELETE flag.
32798 * elf/tst-unique4.cc: New file.
32799 * elf/tst-unique4.h: New file.
32800 * elf/tst-unique4lib.cc: New file.
32801 * elf/Makefile: Add rules to build and run tst-unique4.
32802 Patch by Piotr Bury <pbury@goahead.com>.
32803
22836f52
UD
328042011-05-11 Ulrich Drepper <drepper@gmail.com>
32805
f574184a
UD
32806 [BZ #12052]
32807 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
32808
e1fb097f
UD
32809 [BZ #12625]
32810 * misc/mntent_r.c (addmntent): Flush the stream after the output
32811
22836f52
UD
32812 [BZ #12393]
32813 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
32814 (is_trusted_path_normalize): Skip initial colon. Append slash
32815 to empty buffer. Duplicate is_trusted_path code but allow
32816 constructed patch to be prefix.
32817 (is_dst): Allow $ORIGIN followed by /.
32818 (_dl_dst_substitute): Correct clearing of check_for_trusted.
32819 Correct testing of result of is_trusted_path_normalize
32820 (decompose_rpath): Fix warning.
32821
7b3b0b2a
UD
328222011-05-10 Ulrich Drepper <drepper@gmail.com>
32823
32824 [BZ #11257]
32825 * grp/initgroups.c (internal_getgrouplist): When we found the service
32826 list through the initgroups entry in nsswitch.conf do not always
32827 continue on a successful lookup. Don't always use the
eac80ce2 32828 __nss_group_database value if it is set.
7b3b0b2a
UD
32829 * nss/nsswitch.conf (initgroups): Change action for successful db
32830 lookup to continue for compatibility.
32831
2a81eaa5
UD
328322011-05-09 Ulrich Drepper <drepper@gmail.com>
32833
be97a69e
UD
32834 [BZ #11532]
32835 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
32836 and CP774 modules.
32837 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
32838 and CP774 modules.
32839 * iconvdata/tst-tables.sh: Likewise.
32840 * iconvdata/cp770.c: New file.
32841 * iconvdata/cp771.c: New file.
32842 * iconvdata/cp772.c: New file.
32843 * iconvdata/cp773.c: New file.
32844 * iconvdata/cp774.c: New file.
32845 * iconvdata/testdata/CP770: New file.
32846 * iconvdata/testdata/CP770..UTF8: New file.
32847 * iconvdata/testdata/CP771: New file.
32848 * iconvdata/testdata/CP771..UTF8: New file.
32849 * iconvdata/testdata/CP772: New file.
32850 * iconvdata/testdata/CP772..UTF8: New file.
32851 * iconvdata/testdata/CP773: New file.
32852 * iconvdata/testdata/CP773..UTF8: New file.
32853 * iconvdata/testdata/CP774: New file.
32854 * iconvdata/testdata/CP774..UTF8: New file.
32855
32856 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
32857 END CHARMAP line.
32858 * iconvdata/gen-8bit-gap.sh: Likewise.
32859 * iconvdata/gen-8bit.sh: Likewise.
32860
c1e9e399
UD
32861 * locale/iso-639.def: Add ary entry.
32862
24c55fb3 32863 [BZ #11258]
96b4b1b0
UD
32864 * locale/C-translit.h.in: Add U20A1 transliteration.
32865
bdc2f971
KB
32866 [BZ #12178]
32867 * locale/iso-639.def: Add wae entry.
32868 Patch by Kevin Bortis <bortis@translate-wae.ch>.
32869
2952b117
UD
32870 [BZ #12545]
32871 * locale/programs/localedef.c (construct_output_path): Use ssize_t
32872 for n.
32873
2a81eaa5
UD
32874 [BZ #12711]
32875 * locale/C-translit.h.in: Add entry for U20B9.
32876 Patch by pravin.d.s@gmail.com.
32877
28377d1b
UD
328782011-05-08 Ulrich Drepper <drepper@gmail.com>
32879
7fb90fb8
UD
32880 [BZ #12713]
32881 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
32882 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
32883 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
32884 in rtld. Use *stat64.
7fb90fb8 32885 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 32886 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 32887 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
32888 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
32889 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
32890 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
32891 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
32892 __fstatat64 macros.
7fb90fb8
UD
32893 * include/dirent.h: Add libc_hidden_proto for rewinddir.
32894 * dirent/rewinddir.c: Add libc_hidden_def.
32895 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 32896 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 32897
28377d1b
UD
32898 * include/dirent.h (__alloc_dir): Add flags parameter.
32899 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
32900 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
32901 __alloc_dir.
32902 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
32903 from fdopendir if O_CLOEXEC is already set.
32904
66bdbaa4
AM
329052011-03-15 Alan Modra <amodra@gmail.com>
32906
32907 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
32908 l_tls_firstbyte_offset non-zero. Save padding offset in
32909 l_tls_firstbyte_offset for later use.
32910 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
32911 freeing static tls block.
32912
95721191
JN
329132011-03-05 Jonathan Nieder <jrnieder@gmail.com>
32914
32915 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
32916 where #ifdef was intended. The intent is to prevent ARG_MAX from
32917 being defined by the kernel headers.
32918
f87dfb1f
UD
329192011-05-07 Ulrich Drepper <drepper@gmail.com>
32920
32921 [BZ #12734]
32922 * resolv/resolv.h: Define RES_NOTLDQUERY.
32923 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
32924 no-tld-query and set RES_NOTLDQUERY.
32925 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
32926 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
32927 modern BIND to search name as TLD unless forbidden.
32928
47c3cd7a
UD
329292011-05-07 Petr Baudis <pasky@suse.cz>
32930 Ulrich Drepper <drepper@gmail.com>
32931
32932 [BZ #12393]
32933 * elf/dl-load.c (fillin_rpath): Move trusted path check...
32934 (is_trusted_path): ...to here.
c1e9ea35 32935 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 32936 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 32937 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 32938
8a35c912
PP
329392011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32940
32941 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
32942 __BEGIN/__END_DECLS.
32943
acd41f47
UD
329442011-05-06 Ulrich Drepper <drepper@gmail.com>
32945
32946 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
32947 NSS_STATUS_NOTFOUND if no record was found.
32948
597df647
AS
329492011-05-05 Andreas Schwab <schwab@redhat.com>
32950
32951 * sunrpc/Makefile (headers): Add rpc/netdb.h.
32952 (headers-not-in-tirpc): Remove rpc/netdb.h
32953 * resolv/netdb.h: Revert last change.
32954
b9af1301
PP
329552011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
32956
32957 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
32958 circular dependency between libgcc.a and libc.a.
32959
4e34d5f5
AS
329602011-05-05 Andreas Schwab <schwab@redhat.com>
32961
32962 * resolv/netdb.h: Don't include <rpc/netdb.h>.
32963 * nis/Makefile: Don't install rpcsvc/*.
32964 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
32965 instead of <rpc/types.h>.
32966 (MAXHOSTNAMELEN): Define.
32967
00ee369c
AS
329682011-05-03 Andreas Schwab <schwab@redhat.com>
32969
32970 * elf/ldconfig.c (add_dir): Don't crash on empty path.
32971
0b592a30
MB
329722011-04-28 Maciej Babinski <mbabinski@google.com>
32973
32974 [BZ #12714]
32975 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
32976 gethostbyname4_r when IPv6 results are possible.
32977
6e04cbbe
UD
329782011-05-02 Ulrich Drepper <drepper@gmail.com>
32979
32980 [BZ #12723]
32981 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
32982 _PC_PIPE_BUF handling.
32983
e4ecafe0
BH
329842011-04-30 Bruno Haible <bruno@clisp.org>
32985
32986 [BZ #12717]
32987 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
32988 * resolv/netdb.h (getnameinfo): Change type of flags parameter
32989 to 'int'.
32990 * inet/getnameinfo.c (getnameinfo): Likewise.
32991
125ee683
UD
329922011-04-29 Ulrich Drepper <drepper@gmail.com>
32993
32994 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
32995 to groups setting in database lookup.
32996 * nss/nsswitch.conf: Add initgroups entry.
32997
b722481a
EB
329982011-04-22 Ulrich Drepper <drepper@gmail.com>
32999
33000 [BZ #12685]
33001 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
33002 mode string.
33003 Patch by Eric Blake <eblake@redhat.com>.
33004
4df46dbd
L
330052011-04-20 H.J. Lu <hongjiu.lu@intel.com>
33006
33007 * sunrpc/Makefile (need-export-routines): Add svc_run.
33008 (routines): Remove svc_run.
33009 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
33010 * sunrpc/clnt_perr.c (clnt_perrno): Export.
33011 * sunrpc/svc_run.c (svc_run): Likewise.
33012 * sunrpc/svc_udp.c (svcudp_create): Likewise.
33013
e84142d2
UD
330142011-04-21 Ulrich Drepper <drepper@gmail.com>
33015
33016 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
33017 problem in reallocation in last patch.
33018
877175d8
UD
330192011-04-20 Ulrich Drepper <drepper@gmail.com>
33020
33021 * sunrpc/Makefile: Move inclusion of Rules.
33022
ab8eed78
UD
330232011-04-19 Ulrich Drepper <drepper@gmail.com>
33024
33025 * nss/nss_files/files-initgroups.c: New file.
33026 * nss/Makefile (libnss_files-routines): Add files-initgroups.
33027 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
33028 _nss_files_initgroups_dyn.
33029
e3d8f584
RS
330302011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
33031
33032 * elf/elf.h (R_ARM_IRELATIVE): Define.
33033
af190f45
UD
330342011-04-19 Ulrich Drepper <drepper@gmail.com>
33035
33036 * po/ru.po: Update from translation team.
33037
53cf59ef
UD
330382011-04-17 Ulrich Drepper <drepper@gmail.com>
33039
33040 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
33041 dependencies.
33042
4c559bcd
MF
330432011-02-06 Mike Frysinger <vapier@gentoo.org>
33044
33045 [BZ #12653]
33046 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
33047 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
33048 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33049 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33050 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33051
4420675c
AS
330522011-03-28 Andreas Schwab <schwab@linux-m68k.org>
33053
33054 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
33055 differing bytes.
33056 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33057 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33058 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33059
75ea32ab
UD
330602011-04-17 Ulrich Drepper <drepper@gmail.com>
33061
33062 [BZ #12420]
33063 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
33064 storing it.
33065 * stdlib/bug-getcontext.c: New file.
33066 * stdlib/Makefile: Add rules to build and run bug-getcontext.
33067
27390476
AK
330682011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33069
33070 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
33071 instructions into .machine "z9-109".
33072 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
33073 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
33074
10442705
AK
330752011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33076
33077 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
33078 between environment variables and auxiliary vector.
33079
7b57bfe5
UD
330802011-04-16 Ulrich Drepper <drepper@gmail.com>
33081
33082 * Makefile: Add rules to build linkobj/libc.so.
33083 * include/libc-symbols.h: Define libc_hidden_nolink.
33084 * include/rpc/auth.h: Mark functions which are to be hidden.
33085 * include/rpc/auth_des.h: Likewise.
33086 * include/rpc/auth_unix.h: Likewise.
33087 * include/rpc/clnt.h: Likewise.
33088 * include/rpc/des_crypt.h: Likewise.
33089 * include/rpc/key_prot.h: Likewise.
33090 * include/rpc/pmap_clnt.h: Likewise.
33091 * include/rpc/pmap_prot.h: Likewise.
33092 * include/rpc/pmap_rmt.h: Likewise.
33093 * include/rpc/rpc_msg.h: Likewise.
33094 * include/rpc/svc.h: Likewise.
33095 * include/rpc/svc_auth.h: Likewise.
33096 * include/rpc/xdr.h: Likewise.
33097 * nis/Makefile: Link all DSOs against linkobj/libc.so.
33098 * nss/Makefile: Likewise.
33099 * sunrpc/Makefile: Don't install headers. Build library with normal
33100 entry points. Don't build rpcinfo. Link RPC tests appropriately.
33101 * sunrpc/auth_des.c: Hide exported symbols by default, export some
33102 for the compat linking library. Remove use of INTDEF/INTUSE.
33103 * sunrpc/auth_none.c: Likewise.
33104 * sunrpc/auth_unix.c: Likewise.
33105 * sunrpc/authdes_prot.c: Likewise.
33106 * sunrpc/authuxprot.c: Likewise.
33107 * sunrpc/clnt_gen.c: Likewise.
33108 * sunrpc/clnt_perr.c: Likewise.
33109 * sunrpc/clnt_raw.c: Likewise.
33110 * sunrpc/clnt_simp.c: Likewise.
33111 * sunrpc/clnt_tcp.c: Likewise.
33112 * sunrpc/clnt_udp.c: Likewise.
33113 * sunrpc/clnt_unix.c: Likewise.
33114 * sunrpc/des_crypt.c: Likewise.
33115 * sunrpc/des_soft.c: Likewise.
33116 * sunrpc/get_myaddr.c: Likewise.
33117 * sunrpc/key_call.c: Likewise.
33118 * sunrpc/key_prot.c: Likewise.
33119 * sunrpc/netname.c: Likewise.
33120 * sunrpc/pm_getmaps.c: Likewise.
33121 * sunrpc/pm_getport.c: Likewise.
33122 * sunrpc/pmap_clnt.c: Likewise.
33123 * sunrpc/pmap_prot.c: Likewise.
33124 * sunrpc/pmap_prot2.c: Likewise.
33125 * sunrpc/pmap_rmt.c: Likewise.
33126 * sunrpc/publickey.c: Likewise.
33127 * sunrpc/rpc_cmsg.c: Likewise.
33128 * sunrpc/rpc_common.c: Likewise.
33129 * sunrpc/rpc_dtable.c: Likewise.
33130 * sunrpc/rpc_prot.c: Likewise.
33131 * sunrpc/rpc_thread.c: Likewise.
33132 * sunrpc/rtime.c: Likewise.
33133 * sunrpc/svc.c: Likewise.
33134 * sunrpc/svc_auth.c: Likewise.
33135 * sunrpc/svc_authux.c: Likewise.
33136 * sunrpc/svc_raw.c: Likewise.
33137 * sunrpc/svc_run.c: Likewise.
33138 * sunrpc/svc_simple.c: Likewise.
33139 * sunrpc/svc_tcp.c: Likewise.
33140 * sunrpc/svc_udp.c: Likewise.
33141 * sunrpc/svc_unix.c: Likewise.
33142 * sunrpc/svcauth_des.c: Likewise.
33143 * sunrpc/xcrypt.c: Likewise.
33144 * sunrpc/xdr.c: Likewise.
33145 * sunrpc/xdr_array.c: Likewise.
33146 * sunrpc/xdr_float.c: Likewise.
33147 * sunrpc/xdr_intXX_t.c: Likewise.
33148 * sunrpc/xdr_mem.c: Likewise.
33149 * sunrpc/xdr_rec.c: Likewise.
33150 * sunrpc/xdr_ref.c: Likewise.
33151 * sunrpc/xdr_sizeof.c: Likewise.
33152 * sunrpc/xdr_stdio.c: Likewise.
33153
e6c61494
UD
331542011-04-10 Ulrich Drepper <drepper@gmail.com>
33155
33156 [BZ #12650]
33157 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
33158 * sysdeps/ia64/dl-tls.h: Likewise.
33159 * sysdeps/powerpc/dl-tls.h: Likewise.
33160 * sysdeps/s390/dl-tls.h: Likewise.
33161 * sysdeps/sh/dl-tls.h: Likewise.
33162 * sysdeps/sparc/dl-tls.h: Likewise.
33163 * sysdeps/x86_64/dl-tls.h: Likewise.
33164 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
33165
34fe483e
AS
331662011-03-14 Andreas Schwab <schwab@redhat.com>
33167
33168 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
33169 rpath element also skip the following colon.
33170 (expand_dynamic_string_token): Add is_path parameter and pass
33171 down to DL_DST_REQUIRED and _dl_dst_substitute.
33172 (decompose_rpath): Call expand_dynamic_string_token with
33173 non-zero is_path. Ignore empty rpaths.
33174 (_dl_map_object_from_fd): Call expand_dynamic_string_token
33175 with zero is_path.
33176
f12a32e6
AS
331772011-04-08 Andreas Schwab <schwab@linux-m68k.org>
33178
33179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33180 Make cancelable.
33181
38a7d692
UD
331822011-04-09 Ulrich Drepper <drepper@gmail.com>
33183
33184 [BZ #12655]
33185 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
33186 Patch by Filipe David Manana <fdmanana@apache.org>.
33187
e451d22b
AS
331882011-04-07 Andreas Schwab <schwab@redhat.com>
33189
33190 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
33191 Maintain aligned stack.
33192 (CHECK_RSP): Remove unused macro.
33193
dedc7c7b
UD
331942011-04-03 Ulrich Drepper <drepper@gmail.com>
33195
33196 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
33197 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
33198
94521213
UD
331992011-04-02 Ulrich Drepper <drepper@gmail.com>
33200
33201 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
33202
8cb700c0 33203 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 33204
0354e355
L
332052011-03-26 H.J. Lu <hongjiu.lu@intel.com>
33206
33207 [BZ #12518]
33208 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
33209 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
33210 * sysdeps/x86_64/memmove.c: New file.
33211 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
33212 (memcpy): Renamed to ...
33213 (__new_memcpy): This.
33214 (memcpy): Provide GLIBC_2_14 memcpy.
33215 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
33216 (memcpy): Provide GLIBC_2_2_5 memcpy.
33217
8593482f
UD
332182011-04-01 Ulrich Drepper <drepper@gmail.com>
33219
33220 [BZ #12631]
33221 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
33222
81a5726b
AS
332232011-03-30 Andreas Schwab <schwab@redhat.com>
33224
33225 * misc/syncfs.c: New file.
33226 * misc/Makefile (routines): Add syncfs.
33227 * posix/unistd.h: Declare syncfs.
33228 * sysdeps/unix/syscalls.list: Add syncfs.
33229
00e5419f
AS
332302011-04-01 Andreas Schwab <schwab@redhat.com>
33231
33232 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
33233 open_by_handle_at.
33234 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33235 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33236 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33237 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33238 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33239 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
33240 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33241
748876bf
UD
332422011-04-01 Ulrich Drepper <drepper@gmail.com>
33243
658e451d
UD
33244 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
33245 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33246 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
33247 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33248 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33249 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33250 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33251
748876bf
UD
33252 * io/Makefile: Compile fallocate.c, fallocate64.c, and
33253 sync_file_range.c with -fexceptions.
33254 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
33255 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
33256 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
33257 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
33258 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
33259 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33260 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
33261 sync_file_range as cancellation point
33262 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
33263 now a wrapper around __call_sync_file_range with cancellation handling.
33264 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
33265 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
33266 function name to __call_sync_file_range.
33267 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
33268 Add call_sync_file_range.
748876bf 33269
6e63d5e1
AS
332702011-04-01 Andreas Schwab <schwab@redhat.com>
33271
33272 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 33273 bits/timex.h.
6e63d5e1 33274
46998f74
UD
332752011-04-01 Ulrich Drepper <drepper@gmail.com>
33276
4c1423ed
UD
33277 * iconv/iconv.h: Fix typo in comment.
33278 * io/fcntl.h: Likewise.
33279 * libio/stdio.h: Likewise.
33280 * posix/spawn.h: Likewise.
33281 * posix/unistd.h: Likewise.
33282 * stdlib/stdlib.h: Likewise.
33283 * time/time.h: Likewise.
33284 * wcsmbs/wchar.h: Likewise.
33285
158648c0
UD
33286 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
33287 open_by_handle): Add.
33288 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
33289 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
33290 Augment a few comments.
33291 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33292 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33293 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33294 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33295 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33296 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
33297 open_by_handle.
33298
46998f74
UD
33299 * io/fcntl.h (AT_EMPTY_PATH): Define.
33300
83fe108b
UD
333012011-03-30 Ulrich Drepper <drepper@gmail.com>
33302
33303 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
33304 * sysdeps/unix/sysv/linux/bits/time.h: New file.
33305 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
33306 to...
33307 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
33308 * Versions.def: Add GLIBC_2.14.
33309 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
33310 Export.
83fe108b 33311
bb242059
UD
333122011-03-22 Ulrich Drepper <drepper@gmail.com>
33313
33314 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
33315 round counter.
33316 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33317
c97a1282
L
333182011-03-20 H.J. Lu <hongjiu.lu@intel.com>
33319
33320 [BZ #12597]
33321 * string/test-strncmp.c (do_page_test): New function.
33322 (check2): Likewise.
33323 (test_main): Call check2.
33324 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
33325
2a115601
UD
333262011-03-20 Ulrich Drepper <drepper@gmail.com>
33327
33328 [BZ #12587]
33329 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
33330 Handle cache information in CPU leaf 4.
33331 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33332
8126d904
UD
333332011-03-18 Ulrich Drepper <drepper@gmail.com>
33334
042c49c6 33335 [BZ #12583]
8126d904
UD
33336 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
33337 character representation.
33338 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
33339
ccfe366e
RA
333402011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
33341
33342 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
33343 END(__isnan) to END(__isnanf) to match function entry point/label
33344 EALIGN(__isnanf,...).
33345
c6e13027
JJ
333462011-03-10 Jakub Jelinek <jakub@redhat.com>
33347
33348 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
33349
33f85a3f
UD
333502011-03-10 Ulrich Drepper <drepper@gmail.com>
33351
028478fa
UD
33352 [BZ #12510]
33353 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
33354 copy from the symbol referenced in the relocation to initialize the
33355 used variable.
33356 Patch by Piotr Bury <pbury@goahead.com>.
33357 * elf/Makefile: Add rules to build and tst-unique3.
33358 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
33359 * elf/tst-unique3.cc: New file.
33360 * elf/tst-unique3.h: New file.
33361 * elf/tst-unique3lib.cc: New file.
33362 * elf/tst-unique3lib2.cc: New file.
33363
33f85a3f
UD
33364 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
33365
03592fc7
MF
333662011-03-10 Mike Frysinger <vapier@gentoo.org>
33367
33368 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
33369 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
33370 to _start.
03592fc7 33371
6a5ee102
UD
333722011-03-06 Ulrich Drepper <drepper@gmail.com>
33373
33374 * elf/dl-load.c (_dl_map_object): If we are looking for the first
33375 to-be-loaded object along a path to loader is ld.so.
33376
7e4ba49c
HJ
333772011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
33378 Ulrich Drepper <drepper@gmail.com>
33379
33380 * sysdeps/x86_64/memset.S: After aligning destination, code
33381 branches to different locations depending on the value of
33382 misalignment, when multiarch is enabled. Fix this.
33383
333842011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
33385
33386 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
33387 Set _x86_64_preferred_memory_instruction for AMD processsors.
33388 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33389 Set bit_Prefer_SSE_for_memop for AMD processors.
33390
13a804de
UD
333912011-03-04 Ulrich Drepper <drepper@gmail.com>
33392
33393 * libio/fmemopen.c (fmemopen): Optimize a bit.
33394
9d25c392
AS
333952011-03-03 Andreas Schwab <schwab@redhat.com>
33396
33397 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
33398
a5543c6a
RM
333992011-03-03 Roland McGrath <roland@redhat.com>
33400
33401 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
33402
012d35f7
DM
334032011-02-28 Aurelien Jarno <aurelien@aurel32.net>
33404
7e4ba49c 33405 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
33406 __bzero_ultra1 instead of __memset_ultra1.
33407
4bff6e01
AS
334082011-02-23 Andreas Schwab <schwab@redhat.com>
33409 Ulrich Drepper <drepper@gmail.com>
33410
33411 [BZ #12509]
33412 * include/link.h (struct link_map): Add l_orig_initfini.
33413 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
33414 returning unsuccessfully.
33415 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
33416 close of a file loaded at startup, restore the original l_initfini
33417 list.
33418 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
33419 list, store the pointer.
33420 * elf/Makefile ($(objpfx)noload-mem): New rule.
33421 (noload-ENV): Define.
33422 (tests): Add $(objpfx)noload-mem.
33423 * elf/noload.c: Include <memcheck.h>.
33424 (main): Call mtrace. Close all opened handles.
33425
f2092faf
AS
334262011-02-17 Andreas Schwab <schwab@redhat.com>
33427
33428 [BZ #12454]
33429 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
33430 dependencies are missing.
33431
6c8a2e88
ST
334322011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
33433
f2092faf 33434 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
33435 Hurd needs munmap.
33436 * sysdeps/mach/hurd/ifreq.h: New file.
33437
84a42118
PB
334382011-01-27 Petr Baudis <pasky@suse.cz>
33439 Ulrich Drepper <drepper@gmail.com>
33440
071f805e 33441 [BZ 12445]#
84a42118
PB
33442 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
33443 to extend_alloca().
33444 * stdio-common/bug23.c: New file.
33445 * stdio-common/Makefile (tests): Add bug23.
33446
e23fe25b
AS
334472010-09-28 Andreas Schwab <schwab@redhat.com>
33448 Ulrich Drepper <drepper@gmail.com>
33449
33450 [BZ #12489]
33451 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
33452 before performing relro protection. At old place add assertion
33453 to make sure nothing changed.
33454
d3f02e10
NS
334552011-02-17 Nathan Sidwell <nathan@codesourcery.com>
33456 Glauber de Oliveira Costa <glommer@gmail.com>
33457
33458 * elf/elf.h: Add new ARM TLS relocs.
33459
d55fd7a5
RA
334602011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
33461
33462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
33463 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
33464 cast from r3.
33465 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
33466 'tests' variable.
33467 * sysdeps/wordsize-64/tst-writev.c: New file.
33468
2206397e
RA
334692011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
33470
33471 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
33472 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
33473 insns in _dl_start to prevent a TOC reference before relocs are
33474 resolved.
33475
e9433893
UD
334762011-02-15 Ulrich Drepper <drepper@gmail.com>
33477
33478 [BZ #12469]
33479 * Makeconfig: Remove RANLIB definition.
33480 * Makerules: Don't use RANLIB.
33481 * aclocal.m4: Remove ranlib test.
33482 * configure.in: No need to check for ranlib.
33483 * elf/rtld-Rules: Don't use RANLIB.
33484
f75286c6
ST
334852011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
33486
8e31c82d
ST
33487 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
33488 protection macro.
33489 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
33490 inclusion protection macro.
33491
f75286c6
ST
33492 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
33493 SIGRTMIN and SIGRTMAX and print information in that case only when
33494 SIGRTMIN is defined.
33495
c1d0e639
JJ
334962011-02-11 Jakub Jelinek <jakub@redhat.com>
33497
33498 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
33499 arginfo fn returning -1.
33500
33501 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
33502 and thousands string is zero terminated.
33503
edf9294e
AS
335042011-02-03 Andreas Schwab <schwab@redhat.com>
33505
33506 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
33507 sysdeps/unix/sysv/linux/bits/socket.h.
33508
2b7e92df
ST
335092011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
33510
edf9294e
AS
33511 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
33512 (__CPU_COUNT): Remove old macros.
33513 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
33514 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
33515 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
33516 (__sched_cpualloc, __sched_cpufree): Add declarations.
33517
a4c7ea7b
UD
335182011-02-05 Ulrich Drepper <drepper@gmail.com>
33519
33520 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
33521 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
33522 * nscd/aicache.c (addhstaiX): Return timeout of added value.
33523 (readdhstai): Return value of addhstaiX call.
33524 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
33525 (addgrbyX): Return value returned by cache_addgr.
33526 (readdgrbyname): Return value returned by addgrbyX.
33527 (readdgrbygid): Likewise.
33528 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
33529 (addpwbyX): Return value returned by cache_addpw.
33530 (readdpwbyname): Return value returned by addhstbyX.
33531 (readdpwbyuid): Likewise.
33532 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
33533 (addservbyX): Return value returned by cache_addserv.
33534 (readdservbyname): Return value returned by addservbyX:
33535 (readdservbyport): Likewise.
33536 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
33537 (addhstbyX): Return value returned by cache_addhst.
33538 (readdhstbyname): Return value returned by addhstbyX.
33539 (readdhstbyaddr): Likewise.
33540 (readdhstbynamev6): Likewise.
33541 (readdhstbyaddrv6): Likewise.
33542 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
33543 (readdinitgroups): Return value returned by addinitgroupsX.
33544 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
33545 (prune_cache): Keep track of timeout value of re-added entries.
33546 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
33547 * nscd/nscd.h: Adjust prototypes of readd* functions.
33548
a0bf67cc
RM
335492011-02-04 Roland McGrath <roland@redhat.com>
33550
33551 * nis/nis_server.c (nis_servstate): Use the right name for 0.
33552 (nis_stats): Likewise.
33553 * nis/nis_modify.c (nis_modify): Likewise.
33554 * nis/nis_remove.c (nis_remove): Likewise.
33555 * nis/nis_add.c (nis_add): Likewise.
33556
33557 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
33558
33559 * posix/fnmatch_loop.c: Add some consts.
33560
33561 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
33562
435b95eb
L
335632011-02-02 H.J. Lu <hongjiu.lu@intel.com>
33564
33565 [BZ #12460]
33566 * config.make.in (config-cflags-novzeroupper): Define.
33567 * configure.in: Substitute libc_cv_cc_novzeroupper.
33568 * elf/Makefile (AVX-CFLAGS): Define.
33569 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
33570 (CFLAGS-tst-auditmod4a.c): Likewise.
33571 (CFLAGS-tst-auditmod4b.c): Likewise.
33572 (CFLAGS-tst-auditmod6b.c): Likewise.
33573 (CFLAGS-tst-auditmod6c.c): Likewise.
33574 (CFLAGS-tst-auditmod7b.c): Likewise.
33575 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
33576
8517b15e
UD
335772011-02-02 Ulrich Drepper <drepper@gmail.com>
33578
33579 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
33580 function to the callback.
33581 Patch partly by Jiri Olsa <jolsa@redhat.com>.
33582
10a656fe
AS
335832011-02-02 Andreas Schwab <schwab@redhat.com>
33584
33585 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
33586 of errno.
33587
968dad0a
UD
335882011-01-19 Ulrich Drepper <drepper@gmail.com>
33589
9f94d2ea 33590 [BZ #11724]
968dad0a
UD
33591 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
33592 of constructors.
33593 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
33594 of destructors.
33595 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
33596
33597 [BZ #11724]
33598 * elf/Makefile: Add rules to build and run new test.
33599 * elf/tst-initorder.c: New file.
33600 * elf/tst-initorder.exp: New file.
33601 * elf/tst-initordera1.c: New file.
33602 * elf/tst-initordera2.c: New file.
33603 * elf/tst-initordera3.c: New file.
33604 * elf/tst-initordera4.c: New file.
33605 * elf/tst-initorderb1.c: New file.
33606 * elf/tst-initorderb2.c: New file.
33607 * elf/tst-order-a1.c: New file.
33608 * elf/tst-order-a2.c: New file.
33609 * elf/tst-order-a3.c: New file.
33610 * elf/tst-order-a4.c: New file.
33611 * elf/tst-order-b1.c: New file.
33612 * elf/tst-order-b2.c: New file.
33613 * elf/tst-order-main.c: New file.
33614 New test case by George Gensure <werkt0@gmail.com>.
33615
86e92359
UD
336162010-10-01 Andreas Schwab <schwab@redhat.com>
33617
33618 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33619 decoding ACE if AI_CANONIDN.
33620
5d5732b0
UD
336212011-01-18 Ulrich Drepper <drepper@gmail.com>
33622
33623 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
33624
a77e8cbc
UD
336252011-01-17 Ulrich Drepper <drepper@gmail.com>
33626
6392473f
UD
33627 * version.h (RELEASE): Bump for 2.13 release.
33628 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
33629
620a0529
UD
33630 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
33631
18ba70a5
UD
33632 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
33633 MADV_NOHUGEPAGE.
32465c3e
UD
33634 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
33635 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
33636 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33637 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33638 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33639 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33640
c0dafcf1
UD
33641 * posix/getconf.c: Update copyright year.
33642 * catgets/gencat.c: Likewise.
33643 * csu/version.c: Likewise.
33644 * debug/catchsegv.sh: Likewise.
33645 * debug/xtrace.sh: Likewise.
33646 * elf/ldconfig.c: Likewise.
33647 * elf/ldd.bash.in: Likewise.
33648 * elf/sprof.c (print_version): Likewise.
33649 * iconv/iconv_prog.c: Likewise.
33650 * iconv/iconvconfig.c: Likewise.
33651 * locale/programs/locale.c: Likewise.
33652 * locale/programs/localedef.c: Likewise.
33653 * malloc/memusage.sh: Likewise.
33654 * malloc/mtrace.pl: Likewise.
33655 * nscd/nscd.c (print_version): Likewise.
33656 * nss/getent.c: Likewise.
33657
a77e8cbc
UD
33658 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
33659 PF_CAIF, and PF_ALG.
33660 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33661
77e8bddf
AS
336622011-01-16 Andreas Schwab <schwab@linux-m68k.org>
33663
1f20b93a
AS
33664 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
33665 (modules-names): Use them.
33666 (ifunc-test-modules, ifunc-pie-tests): Define.
33667 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
33668 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
33669 (test-extras): Likewise.
33670 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
33671 $(compile-command.c).
33672 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
33673 (all-built-dso): Define.
33674 (check-textrel.out, check-execstack.out): Depend on it.
33675
77e8bddf
AS
33676 * configure.in: Don't override --enable-multi-arch.
33677
bc425b33
UD
336782011-01-15 Ulrich Drepper <drepper@gmail.com>
33679
33680 [BZ #6812]
33681 * nscd/hstcache.c (tryagain): Define.
33682 (cache_addhst): Return tryagain not notfound for temporary errors.
33683 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
33684 failed.
33685
794c3ad3
UD
336862011-01-14 Ulrich Drepper <drepper@gmail.com>
33687
70181fdd
UD
33688 [BZ #10563]
33689 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
33690 to make the syscall.
33691 * sysdeps/unix/sysv/linux/setgroups.c: New file.
33692
794c3ad3
UD
33693 [BZ #12378]
33694 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
33695 and fall back to matching as normal character if the string ends before
33696 the matching ']' is found. This is what POSIX requires.
33697 * posix/testfnm.c: Adjust test result.
33698 * posix/globtest.sh: Adjust test result. Add new test.
33699 * posix/tst-fnmatch.input: Likewise.
33700 * posix/tst-fnmatch2.c: Add new test.
33701
68dc9497
AS
337022010-12-28 Andreas Schwab <schwab@linux-m68k.org>
33703
33704 * elf/Makefile (check-execstack): Revert last change. Depend on
33705 check-execstack.h.
33706 (check-execstack.h): New target.
33707 (generated): Add check-execstack.h.
33708 * elf/check-execstack.c: Include "check-execstack.h".
33709 (main): Revert last change.
33710 (handle_file): Return zero if GNU_STACK is absent and
33711 DEFAULT_STACK_PERMS doesn't include PF_X.
33712
451f001b
UD
337132011-01-13 Ulrich Drepper <drepper@gmail.com>
33714
cfa28e56
UD
33715 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
33716 in child fails because the descriptor is already closed.
8cf8ce17
UD
33717 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
33718 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
33719 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 33720
1086d70d
UD
33721 [BZ #12397]
33722 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
33723 syscall.
33724
451f001b
UD
33725 [BZ #10484]
33726 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
33727 temporary buffer used to handle multi lookups locally.
a85b5cb4 33728 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 33729
08769175
UD
337302011-01-12 Ulrich Drepper <drepper@gmail.com>
33731
33732 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
33733 loader is ld.so.
33734
5e49c52e
UD
337352011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
33736
33737 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
33738 alignment for SSE2.
33739
60522a5f
UD
337402011-01-12 Ulrich Drepper <drepper@gmail.com>
33741
33742 [BZ #12394]
33743 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
33744 characters. When rounding increased number of integer digits recompute
33745 number of groups.
33746 * stdio-common/tst-grouping.c: New file.
33747 * stdio-common/Makefile: Add rules to build and run tst-grouping.
33748
f257bbd7
UD
337492011-01-09 Ulrich Drepper <drepper@gmail.com>
33750
33751 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
33752 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
33753
33754 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
33755 void.
33756 * bits/select.h: Likewise.
33757
fa9c15cb
UD
337582011-01-08 Ulrich Drepper <drepper@gmail.com>
33759
33760 * po/ja.po: Update from translation team.
33761
16c2895f
DM
337622011-01-04 David S. Miller <davem@sunset.davemloft.net>
33763
33764 [BZ #11155]
33765 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
33766 implementation just like for lxstat, fxstatat, et al.
33767
2543fef2
JM
337682010-12-27 Jim Meyering <meyering@redhat.com>
33769
33770 [BZ #12348]
33771 * posix/regexec.c (build_trtable): Return failure indication upon
33772 calloc failure. Otherwise, re_search_internal could infloop on OOM.
33773
98727dbe
UD
337742010-12-25 Ulrich Drepper <drepper@gmail.com>
33775
5bd6dc5c
UD
33776 [BZ #12201]
33777 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
33778 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
33779 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
33780 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
33781
97983464
UD
33782 [BZ #12207]
33783 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
33784
98727dbe
UD
33785 [BZ #12204]
33786 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
33787 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
33788
4a531bb0
L
337892010-12-15 H.J. Lu <hongjiu.lu@intel.com>
33790
33791 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
33792 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
33793 script has SORT_BY_INIT_PRIORITY.
33794 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
33795 NO_CTORS_DTORS_SECTIONS is defined.
33796 * elf/soinit.c: Likewise.
33797 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
33798 NO_CTORS_DTORS_SECTIONS is defined.
33799 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
33800 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
33801 * sysdeps/sh/init-first.c: Likewise.
33802 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
33803
07eb4b71
UD
338042010-12-24 Ulrich Drepper <drepper@gmail.com>
33805
33806 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
33807 always use the slow path.
33808
30950a5f
RA
338092010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
33810
33811 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
33812 similar rule which adds the sysdep directories to the header search in
33813 order to pick up the correct platform stackinfo.h.
33814 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
33815 perform test if it is, otherwise return successfully without testing.
33816 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
33817 DEFAULT_STACK_PERMS define in stackinfo.h.
33818 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
33819 defined in stackinfo.h.
33820 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
33821 DEFAULT_STACK_PERMS defined in stackinfo.h.
33822 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
33823 * sysdeps/ia64/stackinfo.h: Likewise.
33824 * sysdeps/s390/stackinfo.h: Likewise.
33825 * sysdeps/sh/stackinfo.h: Likewise.
33826 * sysdeps/sparc/stackinfo.h: Likewise.
33827 * sysdeps/x86_64/stackinfo.h: Likewise.
33828 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
33829 PF_X for powerpc64. Retain PF_X for powerpc32.
33830
db753e2c
UD
338312010-12-19 Ulrich Drepper <drepper@gmail.com>
33832
14b697f7
UD
33833 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
33834 accurately.
db753e2c
UD
33835 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
33836 GETDENTS_64BIT_ALIGNED.
33837
28300719
UD
338382010-12-14 Ulrich Drepper <dreper@gmail.com>
33839
14b697f7 33840 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 33841
4f197237
AS
338422010-12-10 Andreas Schwab <schwab@redhat.com>
33843
dbb0472f
AS
33844 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
33845 _GNU_SOURCE.
33846
4f197237
AS
33847 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
33848 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
33849 Remove __restrict.
33850 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
33851 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
33852
fb88ac72
UD
338532010-12-09 Ulrich Drepper <drepper@gmail.com>
33854
33855 [BZ #11655]
33856 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
33857 are initialized.
33858
42acbb92
JJ
338592010-12-09 Jakub Jelinek <jakub@redhat.com>
33860
33861 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
33862
c038d98d
UD
338632010-12-03 Ulrich Drepper <drepper@gmail.com>
33864
33865 * po/it.po: Update from translation team.
33866
3a4a2499
L
338672010-12-01 H.J. Lu <hongjiu.lu@intel.com>
33868
33869 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
33870 unused codes.
33871
1e24cf6e
UD
338722010-11-30 Ulrich Drepper <drepper@gmail.com>
33873
33874 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
33875
a7690819
AS
338762010-11-24 Andreas Schwab <schwab@redhat.com>
33877
33878 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
33879 specially.
33880 (gaih_getanswer_slice): Likewise.
33881
3bf8d1b1
JJ
338822010-10-20 Jakub Jelinek <jakub@redhat.com>
33883
33884 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
33885
6db52fbb
PB
338862010-05-31 Petr Baudis <pasky@suse.cz>
33887
33888 [BZ #11149]
33889 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
33890 silently even in the chroot mode.
33891
eaca7569
UD
338922010-11-22 Ulrich Drepper <drepper@gmail.com>
33893
33894 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
33895 last patch a bit. Pretty printing
33896
3056dcdb
UD
338972010-05-31 Petr Baudis <pasky@suse.cz>
33898
33899 [BZ #10085]
33900 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
33901 initialization of skip_initgroups_dyn.
33902
cf7c9078
UD
339032010-11-19 Ulrich Drepper <drepper@gmail.com>
33904
33905 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
33906 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33907
a1fb5e3e
UD
339082010-11-16 Ulrich Drepper <drepper@gmail.com>
33909
33910 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
33911
3540d66b
AS
339122010-11-11 Andreas Schwab <schwab@redhat.com>
33913
33914 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
33915 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
33916 (tst-fnmatch-ENV): Set MALLOC_TRACE.
33917 ($(objpfx)tst-fnmatch-mem): New rule.
33918 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
33919 * posix/tst-fnmatch.c (main): Call mtrace.
33920
13b69574
L
339212010-11-11 H.J. Lu <hongjiu.lu@intel.com>
33922
33923 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33924 Support Intel processor model 6 and model 0x2c.
33925
da93d214
LM
339262010-11-10 Luis Machado <luisgpm@br.ibm.com>
33927
33928 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
33929 signed comparison.
33930
8ca52c6e
L
339312010-11-09 H.J. Lu <hongjiu.lu@intel.com>
33932
33933 [BZ #12205]
33934 * string/test-strncasecmp.c (check_result): New function.
33935 (do_one_test): Use it.
33936 (check1): New function.
33937 (test_main): Use it.
33938 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
33939 Support strcasecmp and strncasecmp.
33940
69da074d
UD
339412010-11-08 Ulrich Drepper <drepper@gmail.com>
33942
33943 [BZ #12194]
33944 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
33945 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33946
ff02d528
L
339472010-11-07 H.J. Lu <hongjiu.lu@intel.com>
33948
33949 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
33950 IFUNC support.
33951 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33952 memset-x86-64.
33953 * sysdeps/x86_64/multiarch/bzero.S: New file.
33954 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
33955 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
33956 * sysdeps/x86_64/multiarch/memset.S: New file.
33957 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
33958 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33959 Set bit_Prefer_SSE_for_memop for Intel processors.
33960 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
33961 Define.
33962 (index_Prefer_SSE_for_memop): Define.
33963 (HAS_PREFER_SSE_FOR_MEMOP): Define.
33964
344d0b54
LM
339652010-11-04 Luis Machado <luisgpm@br.ibm.com>
33966
33967 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
33968 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
33969
c0dde15b
UD
339702010-11-03 H.J. Lu <hongjiu.lu@intel.com>
33971
33972 [BZ #12191]
33973 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33974 (__x86_64_raw_data_cache_size_half): Likewise.
33975 (__x86_64_raw_shared_cache_size): Likewise.
33976 (__x86_64_raw_shared_cache_size_half): Likewise.
33977
33978 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33979 (__x86_64_raw_data_cache_size_half): Likewise.
33980 (__x86_64_raw_shared_cache_size): Likewise.
33981 (__x86_64_raw_shared_cache_size_half): Likewise.
33982 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
33983 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
33984 and __x86_64_raw_shared_cache_size_half. Round
33985 __x86_64_data_cache_size_half, __x86_64_data_cache_size
33986 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
33987 to multiple of 256 bytes.
33988
0e516e0e
MS
339892010-11-03 Ulrich Drepper <drepper@gmail.com>
33990
33991 [BZ #12167]
33992 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
33993 of inacessible symlinks. Verify result of symlink before returning it.
33994 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
33995 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
33996
0e012e87
ER
339972010-10-28 Erich Ritz <erichritz@gmail.com>
33998
33999 * math/math.h (isinf): Fix typo in comment.
34000
de0ff7bc
UD
340012010-11-01 Ulrich Drepper <drepper@gmail.com>
34002
34003 * po/da.po: Update from translation team.
34004
fa41c84d
UD
340052010-10-26 Ulrich Drepper <drepper@gmail.com>
34006
34007 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
34008 is added to the list.
34009
f0967738
AK
340102010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34011 Ulrich Drepper <drepper@gmail.com>
34012
34013 * elf/dl-object.c (_dl_new_object): Don't append the new object to
34014 the global list here. Move code to...
34015 (_dl_add_to_namespace_list): ...here. New function.
34016 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
34017 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
34018 * elf/dl-load.c (lose): Don't remove the element from the list.
34019 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
34020 (_dl_map_object): Likewise.
34021
340222010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
34023
34024 [BZ #12159]
34025 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
34026 into all bytes of SSE register.
34027 Patch by Richard Li <richardpku@gmail.com>.
34028
f0967738 340292010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
34030
34031 [BZ #12140]
34032 * malloc/malloc.c (_int_free): Fill correct number of bytes when
34033 perturbing.
34034
d0b9e94f
MB
340352010-10-20 Michael B. Brutman <brutman@us.ibm.com>
34036
34037 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
34038 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
34039 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
34040 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
34041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
34042 submachine.
34043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
34044
8e9f92e9
AS
340452010-10-22 Andreas Schwab <schwab@redhat.com>
34046
34047 * include/dlfcn.h (__RTLD_SECURE): Define.
34048 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
34049 mode & __RTLD_SECURE instead.
34050 (open_path): Rename preloaded parameter to secure.
34051 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
34052 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
34053 * elf/dl-deps.c (openaux): Likewise.
34054 * elf/rtld.c (struct map_args): Remove is_preloaded.
34055 (map_doit): Don't use it.
34056 (dl_main): Likewise.
34057 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
34058 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
34059
bc96fbda
AS
340602010-09-09 Andreas Schwab <schwab@redhat.com>
34061
34062 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
34063 (sysd-rules-targets): Remove duplicates.
34064 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
34065 rtld-%.$o dependency.
34066
22cd1c9b
AS
340672010-10-18 Andreas Schwab <schwab@redhat.com>
34068
34069 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
34070 _dl_map_object do it.
34071
18edac48
UD
340722010-10-19 Ulrich Drepper <drepper@gmail.com>
34073
34074 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
34075 fast fma builtins, define the macros in the C99 standard.
34076 (FP_FAST_FMAF): Likewise.
34077 (FP_FAST_FMAL): Likewise.
34078 * sysdeps/x86_64/bits/mathdef.h: Likewise.
34079
34080 * bits/mathdef.h: Update copyright year.
34081 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34082
d2050124
MM
340832010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
34084
34085 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
34086 builtins, define the macros in the C99 standard.
34087 (FP_FAST_FMAF): Likewise.
34088 (FP_FAST_FMAL): Likewise.
34089 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
34090 multiply/add.
34091 (FP_FAST_FMAF): Likewise.
34092
475facd1
JJ
340932010-10-15 Jakub Jelinek <jakub@redhat.com>
34094
34095 [BZ #3268]
34096 * math/libm-test.inc (fma_test): Some new testcases.
34097 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
34098 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
34099 y and infinite z. Do multiplication by C already in long double.
34100 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
34101 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
34102 y and infinite z. Do bitwise or of inexact bit into u.d.
34103 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
34104 * sysdeps/i386/fpu/s_fmaf.S: Removed.
34105 * sysdeps/i386/fpu/s_fma.S: Removed.
34106 * sysdeps/i386/fpu/s_fmal.S: Removed.
34107
7c08a05c
JJ
341082010-10-16 Jakub Jelinek <jakub@redhat.com>
34109
34110 [BZ #3268]
34111 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
34112 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
34113 computation is not scheduled after fetestexcept. Fix value
34114 of minimum denormal long double.
34115
f3f7372d
JJ
341162010-10-14 Jakub Jelinek <jakub@redhat.com>
34117
34118 [BZ #3268]
34119 * math/libm-test.inc (fma_test): Add some more tests.
34120 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
34121 correctly.
34122
14d43591
AS
341232010-10-15 Andreas Schwab <schwab@redhat.com>
34124
34125 * scripts/data/localplt-s390-linux-gnu.data: New file.
34126 * scripts/data/localplt-s390x-linux-gnu.data: New file.
34127
5e908464
JJ
341282010-10-13 Jakub Jelinek <jakub@redhat.com>
34129
34130 [BZ #3268]
34131 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
34132 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
34133 instead of dbl-64.
34134 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
34135 inlines.
34136 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
34137 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
34138 if one of x and y is very large and the other is subnormal.
34139 * sysdeps/s390/fpu/s_fmaf.c: New file.
34140 * sysdeps/s390/fpu/s_fma.c: New file.
34141 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
34142 * sysdeps/powerpc/fpu/s_fma.S: New file.
34143 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
34144 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
34145 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
34146
341472010-10-12 Jakub Jelinek <jakub@redhat.com>
34148
34149 [BZ #3268]
34150 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
34151 fma tests.
34152 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
34153 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
34154 * sysdeps/i386/i686/multiarch/s_fma.c: Include
34155 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
34156 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
34157 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
34158 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
34159
b833d51f
UD
341602010-10-12 Ulrich Drepper <drepper@redhat.com>
34161
34162 [BZ #12078]
34163 * posix/regcomp.c (parse_branch): One more memory leak plugged.
34164 * posix/bug-regex31.input: Add test case.
34165
1751705d
UD
341662010-10-11 Ulrich Drepper <drepper@gmail.com>
34167
e9b9cbf5
UD
34168 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
34169 * posix/bug-regex31.input: New file.
34170
34171 [BZ #12078]
34172 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
34173 (parse_sub_exp): Fix last change, use postorder.
34174
ef06edbe
UD
34175 * posix/bug-regex31.c: New file.
34176 * posix/Makefile: Add rules to build and run bug-regex31.
34177
a129c80d
UD
34178 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
34179
34180 [BZ #12078]
34181 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
34182
b76b818e
UD
34183 [BZ #12108]
34184 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
34185 to have entries in sys_siglist.
34186
1751705d
UD
34187 [BZ #12093]
34188 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
34189 be NULL.
34190
9ff8d36f
JJ
341912010-10-07 Jakub Jelinek <jakub@redhat.com>
34192
34193 [BZ #3268]
34194 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
34195 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
34196 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
34197 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
34198 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34199 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
34200 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
34201 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
34202 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
34203 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
34204 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
34205 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
34206 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
34207 * math/ftestexcept.c (fetestexcept): Likewise.
34208 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
34209 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
34210 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
34211 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
34212 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
34213 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
34214 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34215
af325969
UD
342162010-10-11 Ulrich Drepper <drepper@gmail.com>
34217
c579b202 34218 [BZ #12107]
af325969
UD
34219 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
34220 newline.
34221
67a67b95
UD
342222010-10-06 Ulrich Drepper <drepper@gmail.com>
34223
34224 * string/bug-strstr1.c: New file.
34225 * string/Makefile: Add rules to build and run bug-strstr1.
34226
5fb308bc
EB
342272010-10-05 Eric Blake <eblake@redhat.com>
34228
34229 [BZ #12092]
34230 * string/str-two-way.h (two_way_long_needle): Always clear memory
34231 when skipping input due to the shift table.
34232
45db99c7
UD
342332010-10-03 Ulrich Drepper <drepper@gmail.com>
34234
3b111893
UD
34235 [BZ #12005]
34236 * malloc/mcheck.c: Handle large requests.
34237
45db99c7
UD
34238 [BZ #12077]
34239 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
34240 for strncmp and strncasecmp.
34241 * string/stratcliff.c: Add tests for strcmp and strncmp.
34242 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
34243
cf7a1eb8
NI
342442010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34245
34246 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
34247 __set_fpscr.
34248
6484ba5e
AJ
342492010-09-30 Andreas Jaeger <aj@suse.de>
34250
34251 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
34252 (CGROUP_SUPER_MAGIC): Define.
34253 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34254 Handle btrfs and cgroup file systems.
34255 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
34256 Likewise.
34257
91c42559
LM
342582010-09-27 Luis Machado <luisgpm@br.ibm.com>
34259
34260 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
34261 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
34262
87a97932
AK
342632010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34264
34265 [BZ #12067]
34266 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
34267 trying to locate the ELF header.
34268
c21cc9bc
AS
342692010-09-27 Andreas Schwab <schwab@redhat.com>
34270
34271 [BZ #11611]
34272 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
34273 Mask out sign-bit copies when constructing f_fsid.
34274
315970f6
PB
342752010-09-24 Petr Baudis <pasky@suse.cz>
34276
34277 * debug/stack_chk_fail_local.c: Add missing licence exception.
34278 * debug/warning-nop.c: Likewise.
34279
1ac7a2c7
JM
342802010-09-15 Joseph Myers <joseph@codesourcery.com>
34281
34282 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
34283 implementing getdents64 using getdents syscall, set d_type if
34284 __ASSUME_GETDENTS32_D_TYPE.
34285
56801c50
AS
342862010-09-16 Andreas Schwab <schwab@redhat.com>
34287
34288 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
34289 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
34290
dda51327
UD
342912010-09-21 Ulrich Drepper <drepper@redhat.com>
34292
34293 [BZ #12037]
34294 * posix/unistd.h: Undo change of feature selection for ftruncate from
34295 2010-01-11.
34296
8ffcee4a
UD
342972010-09-20 Ulrich Drepper <drepper@redhat.com>
34298
a545ecd9 34299 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
34300 detection.
34301
e24f0a8b
AS
343022010-09-20 Andreas Schwab <schwab@redhat.com>
34303
34304 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
34305 fanotify_mark.
34306 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34307
7291c56f
AS
343082010-09-14 Andreas Schwab <schwab@redhat.com>
34309
34310 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
34311 variables after CHECK_SP call.
34312 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
34313
bc5fb037
AS
343142010-09-13 Andreas Schwab <schwab@redhat.com>
34315 Ulrich Drepper <drepper@redhat.com>
34316
34317 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
34318 re-relocationg ld.so.
34319 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
34320 _dl_init_paths call.
34321 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
34322 here anymore.
34323
e66e7419
UD
343242010-09-14 Ulrich Drepper <drepper@redhat.com>
34325
34326 * resolv/res_init.c (__res_vinit): Count the default server we added.
34327
c044aa75
CLT
343282010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
34329 Ulrich Drepper <drepper@redhat.com>
34330
34331 [BZ #11968]
34332 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34333 (____longjmp_chk): Use %ebx for saving value across system call.
34334 Add unwind info.
34335
32cf4069
AS
343362010-09-06 Andreas Schwab <schwab@redhat.com>
34337
34338 * manual/Makefile: Don't mix pattern rules with normal rules.
34339
817328ee
AS
343402010-09-05 Andreas Schwab <schwab@linux-m68k.org>
34341
34342 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
34343 operation.
34344 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
34345 * libio/iofopncook.c (_IO_cookie_init): Likewise.
34346 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
34347 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
34348 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34349 Likewise.
34350
29fddf61
UD
343512010-09-04 Ulrich Drepper <drepper@redhat.com>
34352
34353 [BZ #11979]
34354 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
34355 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
34356
0959ffc9
UD
343572010-09-02 Ulrich Drepper <drepper@redhat.com>
34358
34359 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
34360 * sysdeps/x86_64/addmul_1.S: Likewise.
34361 * sysdeps/x86_64/lshift.S: Likewise.
34362 * sysdeps/x86_64/mul_1.S: Likewise.
34363 * sysdeps/x86_64/rshift.S: Likewise.
34364 * sysdeps/x86_64/sub_n.S: Likewise.
34365 * sysdeps/x86_64/submul_1.S: Likewise.
34366
ece29840
ST
343672010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
34368
0959ffc9
UD
34369 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
34370 Define __sched_param instead of SCHED_* and sched_param when
ece29840 34371 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 34372 * bits/sched.h [__need_schedparam]
ece29840 34373 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
34374 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
34375 (__defined_schedparam): Define to 1.
ece29840
ST
34376 (__sched_param): New structure, identical to sched_param.
34377 (__need_schedparam): Undefine.
34378
e53a31fe
MF
343792010-08-31 Mike Frysinger <vapier@gentoo.org>
34380
fdc0c10d
MF
34381 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
34382 (epoll_create1): Declare.
34383
e53a31fe
MF
34384 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
34385
a726d796
AS
343862010-08-31 Andreas Schwab <schwab@redhat.com>
34387
34388 [BZ #7066]
34389 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
34390 shifting retval into place.
34391
2f3e3dc7
UD
343922010-09-01 Ulrich Drepper <drepper@redhat.com>
34393
f2933da9
UD
34394 * nis/rpcsvc/nis.h: Update copyright notice.
34395 * nis/rpcsvc/nis.x: Likewise.
34396 * nis/rpcsvc/nis_callback.h: Likewise.
34397 * nis/rpcsvc/nis_callback.x: Likewise.
34398 * nis/rpcsvc/nis_object.x: Likewise.
34399 * nis/rpcsvc/nis_tags.h: Likewise.
34400 * nis/rpcsvc/yp.h: Likewise.
34401 * nis/rpcsvc/yp.x: Likewise.
34402 * nis/rpcsvc/ypupd.h: Likewise.
34403 * nis/yp_xdr.c: Likewise.
34404 * nis/ypupdate_xdr.c: Likewise.
34405
2f3e3dc7
UD
34406 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
34407 mainly the body of pmap_getport. Add parameters to specify timeouts.
34408 (pmap_getport): Use __libc_rpc_getport.
34409 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
34410 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
34411 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
34412
f3dcc2f9
AS
344132010-08-31 Andreas Schwab <schwab@linux-m68k.org>
34414
34415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
34416 fanotify_mark.
34417
6d34eb5b
RM
344182010-08-27 Roland McGrath <roland@redhat.com>
34419
34420 * sysdeps/i386/i686/multiarch/Makefile
34421 (CFLAGS-varshift.c): New variable.
34422
9ea3de11
UD
344232010-08-27 Ulrich Drepper <drepper@redhat.com>
34424
c96d23fc
UD
34425 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
34426 * sysdeps/i386/i686/multiarch/varshift.c: New file.
34427
9ea3de11
UD
34428 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
34429
34430 * sysdeps/x86_64/strlen.S: Minimal code improvement.
34431
623aac7f
L
344322010-08-26 H.J. Lu <hongjiu.lu@intel.com>
34433
34434 * sysdeps/x86_64/strlen.S: Unroll the loop.
34435 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34436 strlen-sse2 strlen-sse2-bsf.
34437 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
34438 __strlen_no_bsf if bit_Slow_BSF is set.
34439 (__strlen_sse42): Removed.
34440 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
34441 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
34442
8b2b7715
RM
344432010-08-25 Roland McGrath <roland@redhat.com>
34444
34445 * sysdeps/x86_64/multiarch/varshift.S: File removed.
34446 * sysdeps/x86_64/multiarch/varshift.c: New file.
34447 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
34448 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
34449 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
34450 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34451
e73015f2
L
344522010-08-25 H.J. Lu <hongjiu.lu@intel.com>
34453
34454 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34455 strlen-sse2 strlen-sse2-bsf.
34456 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
34457 __strlen_sse2_bsf if bit_Slow_BSF is unset.
34458 (__strlen_sse2): Removed.
34459 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
34460 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
34461 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
34462 bit_Slow_BSF for Atom.
34463 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
34464 (index_Slow_BSF): Define.
34465 (HAS_SLOW_BSF): Define.
34466
df24a73e
UD
344672010-08-25 Ulrich Drepper <drepper@redhat.com>
34468
34469 [BZ #10851]
34470 * resolv/res_init.c (__res_vinit): When no server address at all
34471 is given default to loopback.
34472
f2ac4868
RM
344732010-08-24 Roland McGrath <roland@redhat.com>
34474
09055553
RM
34475 * configure.in: Remove config-name.h generation.
34476 * configure: Regenerated.
34477 * config-name.in: File removed.
34478 * scripts/config-uname.sh: New file.
34479 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
34480 ($(objdir)config-name.h): New target.
34481
f2ac4868
RM
34482 * sunrpc/rpc_parse.h: Avoid nested comment.
34483
73f27d5e
RH
344842010-08-24 Richard Henderson <rth@redhat.com>
34485 Ulrich Drepper <drepper@redhat.com>
34486 H.J. Lu <hongjiu.lu@intel.com>
34487
34488 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
34489 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
34490 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
34491 Replace _mm_srli_si128 with __m128i_shift_right. Replace
34492 _mm_alignr_epi8 with _mm_loadu_si128.
34493 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
34494 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
34495 (__m128i_shift_right): Removed.
34496 * sysdeps/i386/i686/multiarch/varshift.h: New file.
34497 * sysdeps/i386/i686/multiarch/varshift.S: New file.
34498 * sysdeps/x86_64/multiarch/varshift.h: New file.
34499 * sysdeps/x86_64/multiarch/varshift.S: New file.
34500
84b9230c
MF
345012010-08-21 Mike Frysinger <vapier@gentoo.org>
34502
34503 * configure.in: Move assembler checks to before sysdep dir checking.
34504
9bbd0ddc
PB
345052010-08-20 Petr Baudis <pasky@suse.cz>
34506
34507 * LICENSES: Sync the sunrpc license.
34508
9da4bb31
UD
345092010-08-19 Ulrich Drepper <drepper@redhat.com>
34510
a7ab6ec8
UD
34511 * sunrpc/auth_des.c: Update copyright notice once again.
34512 * sunrpc/auth_none.c: Likewise.
34513 * sunrpc/auth_unix.c: Likewise.
34514 * sunrpc/authdes_prot.c: Likewise.
34515 * sunrpc/authuxprot.c: Likewise.
34516 * sunrpc/bindrsvprt.c: Likewise.
34517 * sunrpc/clnt_gen.c: Likewise.
34518 * sunrpc/clnt_perr.c: Likewise.
34519 * sunrpc/clnt_raw.c: Likewise.
34520 * sunrpc/clnt_simp.c: Likewise.
34521 * sunrpc/clnt_tcp.c: Likewise.
34522 * sunrpc/clnt_udp.c: Likewise.
34523 * sunrpc/clnt_unix.c: Likewise.
34524 * sunrpc/des_crypt.c: Likewise.
34525 * sunrpc/des_soft.c: Likewise.
34526 * sunrpc/get_myaddr.c: Likewise.
34527 * sunrpc/getrpcport.c: Likewise.
34528 * sunrpc/key_call.c: Likewise.
34529 * sunrpc/key_prot.c: Likewise.
34530 * sunrpc/openchild.c: Likewise.
34531 * sunrpc/pm_getmaps.c: Likewise.
34532 * sunrpc/pm_getport.c: Likewise.
34533 * sunrpc/pmap_clnt.c: Likewise.
34534 * sunrpc/pmap_prot.c: Likewise.
34535 * sunrpc/pmap_prot2.c: Likewise.
34536 * sunrpc/pmap_rmt.c: Likewise.
34537 * sunrpc/rpc/auth.h: Likewise.
34538 * sunrpc/rpc/auth_unix.h: Likewise.
34539 * sunrpc/rpc/clnt.h: Likewise.
34540 * sunrpc/rpc/des_crypt.h: Likewise.
34541 * sunrpc/rpc/key_prot.h: Likewise.
34542 * sunrpc/rpc/netdb.h: Likewise.
34543 * sunrpc/rpc/pmap_clnt.h: Likewise.
34544 * sunrpc/rpc/pmap_prot.h: Likewise.
34545 * sunrpc/rpc/pmap_rmt.h: Likewise.
34546 * sunrpc/rpc/rpc.h: Likewise.
34547 * sunrpc/rpc/rpc_des.h: Likewise.
34548 * sunrpc/rpc/rpc_msg.h: Likewise.
34549 * sunrpc/rpc/svc.h: Likewise.
34550 * sunrpc/rpc/svc_auth.h: Likewise.
34551 * sunrpc/rpc/types.h: Likewise.
34552 * sunrpc/rpc/xdr.h: Likewise.
34553 * sunrpc/rpc_clntout.c: Likewise.
34554 * sunrpc/rpc_cmsg.c: Likewise.
34555 * sunrpc/rpc_common.c: Likewise.
34556 * sunrpc/rpc_cout.c: Likewise.
34557 * sunrpc/rpc_dtable.c: Likewise.
34558 * sunrpc/rpc_hout.c: Likewise.
34559 * sunrpc/rpc_main.c: Likewise.
34560 * sunrpc/rpc_parse.c: Likewise.
34561 * sunrpc/rpc_parse.h: Likewise.
34562 * sunrpc/rpc_prot.c: Likewise.
34563 * sunrpc/rpc_sample.c: Likewise.
34564 * sunrpc/rpc_scan.c: Likewise.
34565 * sunrpc/rpc_scan.h: Likewise.
34566 * sunrpc/rpc_svcout.c: Likewise.
34567 * sunrpc/rpc_tblout.c: Likewise.
34568 * sunrpc/rpc_util.c: Likewise.
34569 * sunrpc/rpc_util.h: Likewise.
34570 * sunrpc/rpcinfo.c: Likewise.
34571 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
34572 * sunrpc/rpcsvc/key_prot.x: Likewise.
34573 * sunrpc/rpcsvc/klm_prot.x: Likewise.
34574 * sunrpc/rpcsvc/mount.x: Likewise.
34575 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
34576 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
34577 * sunrpc/rpcsvc/rex.x: Likewise.
34578 * sunrpc/rpcsvc/rstat.x: Likewise.
34579 * sunrpc/rpcsvc/rusers.x: Likewise.
34580 * sunrpc/rpcsvc/sm_inter.x: Likewise.
34581 * sunrpc/rpcsvc/spray.x: Likewise.
34582 * sunrpc/rpcsvc/yppasswd.x: Likewise.
34583 * sunrpc/rtime.c: Likewise.
34584 * sunrpc/svc.c: Likewise.
34585 * sunrpc/svc_auth.c: Likewise.
34586 * sunrpc/svc_authux.c: Likewise.
34587 * sunrpc/svc_raw.c: Likewise.
34588 * sunrpc/svc_run.c: Likewise.
34589 * sunrpc/svc_simple.c: Likewise.
34590 * sunrpc/svc_tcp.c: Likewise.
34591 * sunrpc/svc_udp.c: Likewise.
34592 * sunrpc/svc_unix.c: Likewise.
34593 * sunrpc/svcauth_des.c: Likewise.
34594 * sunrpc/xcrypt.c: Likewise.
34595 * sunrpc/xdr.c: Likewise.
34596 * sunrpc/xdr_array.c: Likewise.
34597 * sunrpc/xdr_float.c: Likewise.
34598 * sunrpc/xdr_mem.c: Likewise.
34599 * sunrpc/xdr_rec.c: Likewise.
34600 * sunrpc/xdr_ref.c: Likewise.
34601 * sunrpc/xdr_sizeof.c: Likewise.
34602 * sunrpc/xdr_stdio.c: Likewise.
34603
9da4bb31
UD
34604 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
34605 handling.
34606
bdaa77bc
AS
346072010-08-19 Andreas Schwab <schwab@redhat.com>
34608
34609 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
34610
fe2f79db
LM
346112010-08-19 Luis Machado <luisgpm@br.ibm.com>
34612
34613 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
34614 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
34615 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
34616 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
34617 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
34618 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
34619 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
34620 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
34621 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
34622 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
34623 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
34624 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
34625 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
34626 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
34627
b9b42ee0
AB
346282010-07-26 Anton Blanchard <anton@samba.org>
34629
34630 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
34631 * malloc/arena.c (heap_trim): Likewise.
34632
1c06ba31
UD
346332010-08-16 Ulrich Drepper <drepper@redhat.com>
34634
34635 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
34636 here. Not...
34637 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
34638 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
34639
f8392f40
L
346402010-08-12 H.J. Lu <hongjiu.lu@intel.com>
34641
34642 * sysdeps/i386/elf/Makefile: New file.
34643
3162f12e
AS
346442010-08-14 Andreas Schwab <schwab@linux-m68k.org>
34645
34646 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
34647 from fanotify_init.
34648 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
34649 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34650
28c90b2c
UD
346512010-08-15 Ulrich Drepper <drepper@redhat.com>
34652
34653 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
34654 of strncasecmp_l.
1feccb6c 34655 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 34656
ca6bb004
UD
346572010-08-14 Ulrich Drepper <drepper@redhat.com>
34658
e9f82e0d
UD
34659 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34660 strncase_l-nonascii.
34661 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34662 Add strncase_l-ssse3.
34663 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
34664 * sysdeps/x86_64/strcmp.S: Likewise.
34665 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
34666 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
34667 * sysdeps/x86_64/strncase.S: New file.
34668 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
34669 * sysdeps/x86_64/strncase_l.S: New file.
34670 * string/Makefile (strop-tests): Add strncasecmp.
34671 * string/test-strncasecmp.c: New file.
34672
34673 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
34674 warning.
34675
ca6bb004
UD
34676 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
34677 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
34678
052fa7b3
AS
346792010-08-14 Andreas Schwab <schwab@linux-m68k.org>
34680
34681 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
34682
962dba78
UD
346832010-08-12 Ulrich Drepper <drepper@redhat.com>
34684
34685 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
34686 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
34687 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
34688
bebff237
AM
346892010-05-01 Alan Modra <amodra@gmail.com>
34690
34691 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
34692 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
34693 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
34694 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
34695 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
34696 tidying. Don't tail-call __sigjmp_save for static lib.
34697 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
34698 save location.
34699 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
34700 (CALL_MCOUNT): Add eh info, and nop after bl.
34701 (TAIL_CALL_SYSCALL_ERROR): New macro.
34702 (PSEUDO_RET): Use it.
34703 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
34704 Correct save location of integer regs and cr.
34705 (_dl_profile_resolve): Correct cr save location. Delete nops
34706 after bl when SHARED. Reduce cfi size a little by better
34707 placement of cfi directives.
34708 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
34709 make a stack frame. Instead use parm save area as a temp.
34710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
34711 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
34712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
34713 Don't make a stack frame for parent, use parm save area.
34714 Increase child stack frame to 112 bytes. Don't save unused reg,
34715 and adjust reg usage. Set up cfi on error recovery and
34716 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
34717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34718 (__makecontext): Add dummy nop after jump to exit.
34719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
34720 Use correct parm save area and cr save, reduce stack frame.
34721 Correct cfi for possible PSEUDO_RET frame setup.
34722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
34723 Branch to local label emitted by PSEUDO_RET rather than
34724 __syscall_error.
34725
02637374
AS
347262010-08-12 Andreas Schwab <schwab@redhat.com>
34727
34728 [BZ #11904]
34729 * locale/programs/locale.c (print_assignment): New function.
34730 (show_locale_vars): Use it.
34731
c3e2f19b
UD
347322010-08-11 Ulrich Drepper <drepper@redhat.com>
34733
3cdaa6ad
UD
34734 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
34735 field.
34736 (struct statfs64): Likewise.
34737 (_STATFS_F_FLAGS): Define.
34738 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
34739 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34740 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
34741 (ST_VALID): Define locally.
34742 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
34743 __statvfs_getflags, use the provided value.
34744 * sysdeps/unix/sysv/linux/kernel-features.h: Define
34745 __ASSUME_STATFS_F_FLAGS.
34746
754f7da3
UD
34747 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
34748
10b3bedc
UD
34749 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
34750 Add sys/fanotify.h.
34751 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
34752 fanotify_mask for GLIBC_2.13.
34753 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
34754 fanotify_init and fanotify_mark.
34755 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34756 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
34757
c08fb0d7
UD
34758 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
34759 Add prlimit.
34760 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
34761 prlimit64 for GLIBC_2.13.
34762 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
34763 prlimit64.
34764 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
34765 syscall.
34766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
34767 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34768 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
34769 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
34770 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
34771 add prlimit alias.
34772 * sysdeps/unix/sysv/linux/prlimit.c: New file.
34773
15bac72b
UD
34774 [BZ #11903]
34775 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
34776 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
34777
c3e2f19b
UD
34778 * nss/Makefile: Add rules to build and run tst-nss-test1.
34779 * shlib-versions: Add entry for libnss_test1.
34780 * nss/nss_test1.c: New file.
34781 * nss/tst-nss-test1.c: New file.
34782
34783 * nss/nsswitch.c (__nss_database_custom): Define new variable.
34784 (__nss_configure_lookup): Set appropriate entry in
34785 __nss_configure_lookup to true.
34786 * nss/nsswitch.h: Define enum with indeces of databases in
34787 databases and __nss_database_custom arrays. Declare
34788 __nss_database_custom.
34789 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
34790 to avoid using nscd when custom rules are installed.
34791 * nss/getXXbyYY_r.c: Likewise.
34792 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
34793
34794 * nss/nss_files/files-parse.c: Whitespace fixes.
34795
f15ce4d8
UD
347962010-08-09 Ulrich Drepper <drepper@redhat.com>
34797
34798 [BZ #11883]
34799 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
34800 * posix/fnmatch_loop.c: Likewise.
34801
d22e4cc9
AK
348022010-07-17 Andi Kleen <ak@linux.intel.com>
34803
34804 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
34805 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
34806 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
34807 * Versions.def [GLIBC_2.13]: Add.
34808
805bc17d
UD
348092010-08-06 Ulrich Drepper <drepper@redhat.com>
34810
34811 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34812 Also fail if tpwd after pwuid call is NULL.
34813
5a42321d
ST
348142010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
34815
34816 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
34817 when converting to ms.
34818
fd3ebeda
ST
348192010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34820
34821 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
34822 EOPNOTSUPP errors with ENOTTY.
34823 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
34824 EOPNOTSUPP errors with ENOTTY.
34825
73507d3a
UD
348262010-07-31 Ulrich Drepper <drepper@redhat.com>
34827
34828 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34829 Add strcasecmp_l-ssse3.
34830 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
34831 strcasecmp.
34832 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
34833 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
34834 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
34835
fe36dd02
UD
348362010-07-30 Ulrich Drepper <drepper@redhat.com>
34837
66f6765a
UD
34838 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
34839
42e08a54
UD
34840 * string/Makefile (strop-tests): Add strcasecmp.
34841 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34842 strcasecmp_l-nonascii.
34843 (gen-as-const-headers): Add locale-defines.sym.
34844 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
34845 * sysdeps/x86_64/strcasecmp.S: New file.
34846 * sysdeps/x86_64/strcasecmp_l.S: New file.
34847 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
34848 * sysdeps/x86_64/locale-defines.sym: New file.
34849 * string/test-strcasecmp.c: New file.
34850
fe36dd02
UD
34851 * string/test-strcasestr.c: Test both ends of the range of characters.
34852 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
34853
48cbc0d6
RM
348542010-07-29 Roland McGrath <roland@redhat.com>
34855
76e6d6bc 34856 [BZ #11856]
48cbc0d6
RM
34857 * manual/locale.texi (Yes-or-No Questions): Fix example code.
34858
880113d9
UD
348592010-07-27 Ulrich Drepper <drepper@redhat.com>
34860
34861 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
34862 for ld.so.
34863
deb9cabb
AS
348642010-07-27 Andreas Schwab <schwab@redhat.com>
34865
34866 * manual/memory.texi (Malloc Tunable Parameters): Document
34867 M_PERTURB.
34868
1c7570ff
RM
348692010-07-26 Roland McGrath <roland@redhat.com>
34870
34871 [BZ #11840]
34872 * configure.in (-fgnu89-inline check): Set and substitute
34873 gnu89_inline, not libc_cv_gnu89_inline.
34874 * configure: Regenerated.
34875 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
34876
24fb0f88
UD
348772010-07-26 Ulrich Drepper <drepper@redhat.com>
34878
34879 * string/test-strnlen.c: New file.
34880 * string/Makefile (strop-tests): Add strnlen.
34881 * string/tester.c (test_strnlen): Add a few more test cases.
34882 * string/tst-strlen.c: Better error reporting.
34883
34884 * sysdeps/x86_64/strnlen.S: New file.
34885
8e96b93a
UD
348862010-07-24 Ulrich Drepper <drepper@redhat.com>
34887
34888 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
34889 lower-latency instructions.
34890
dbc676d4
UD
348912010-07-23 Ulrich Drepper <drepper@redhat.com>
34892
34893 * string/test-strcasestr.c: New file.
34894 * string/test-strstr.c: New file.
34895 * string/Makefile (strop-tests): Add strstr and strcasestr.
34896 * string/str-two-way.h: Don't undefine MAX.
34897 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
34898
f6a31e0e
AS
348992010-07-21 Andreas Schwab <schwab@redhat.com>
34900
34901 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34902 strcasestr-nonascii.
34903 (CFLAGS-strcasestr-nonascii.c): Define.
34904 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
34905 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
34906 Remove unused attribute.
34907
5dbc3b6c
RM
349082010-07-20 Roland McGrath <roland@redhat.com>
34909
34910 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
34911 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
34912 ld.so.cache was broken. With it, there is no way to disable dsocaps
34913 like LD_HWCAP_MASK can disable hwcaps.
34914
23d101d8
EPM
349152010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
34916
34917 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
34918
cc9f2e47
UD
349192010-07-16 Ulrich Drepper <drepper@redhat.com>
34920
34921 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
34922 call in strcasestr.
34923 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
34924 __strcasestr_sse42_nonascii.
34925 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
34926 strcasestr-nonascii.c.
34927 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
34928
77c1b069
LM
349292010-06-15 Luis Machado <luisgpm@br.ibm.com>
34930
34931 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
34932 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
34933 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
34934 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
34935
440566c3
UD
349362010-07-09 Ulrich Drepper <drepper@redhat.com>
34937
34938 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
34939 fcntl.
34940
5be9d05d
AS
349412010-07-06 Andreas Schwab <schwab@redhat.com>
34942
c30b7ee2 34943 [BZ #11577]
5be9d05d
AS
34944 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
34945 dl_signal_cerror.
34946
8a492a67
UD
349472010-07-06 Ulrich Drepper <drepper@redhat.com>
34948
34949 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
34950 _PC_PIPE_BUF using F_GETPIPE_SZ.
34951
713df3d5
RM
349522010-07-05 Roland McGrath <roland@redhat.com>
34953
34954 * manual/arith.texi (Rounding Functions): Fix rint description
34955 implicit in round description.
34956
702e8f14
UD
349572010-07-02 Ulrich Drepper <drepper@redhat.com>
34958
34959 * elf/Makefile: Fix linking for a few tests to make recent linker
34960 happy.
34961
52ed8be9
AS
349622010-06-30 Andreas Schwab <schwab@redhat.com>
34963
34964 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34965 $(common-objpfx)libc_nonshared.a.
34966
f47c9a11
LM
349672010-06-21 Luis Machado <luisgpm@br.ibm.com>
34968
34969 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
34970 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
34971 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34972 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34973 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
34974 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
34975 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34976 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
34978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
34979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
34980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
34982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
34984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
34985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
34986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
34987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
34989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
34991 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
34992 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
34993 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
34994 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
34995 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
34996 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
34997 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
34998 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
34999 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
35000 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
35001 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
35002 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
35003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
35004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
35005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
35006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
35007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
35008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
35009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
35010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
35011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
35012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
35013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
35014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
35015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
35016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
35017
6fb8cbcb
L
350182010-06-25 H.J. Lu <hongjiu.lu@intel.com>
35019
35020 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
35021 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
35022 * string/memmove.c (memmove): Renamed to ...
35023 (MEMMOVE): ...this. Default to memmove.
35024 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
35025 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
35026 (END_CHK): Define.
35027 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35028 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
35029 mempcpy-ssse3-back memmove-ssse3-back.
35030 * sysdeps/x86_64/multiarch/bcopy.S: New file .
35031 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
35032 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
35033 * sysdeps/x86_64/multiarch/memcpy.S: New file.
35034 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
35035 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
35036 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
35037 * sysdeps/x86_64/multiarch/memmove.c: New file.
35038 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
35039 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
35040 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
35041 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
35042 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
35043 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
35044 Define.
35045 (index_Fast_Copy_Backward): Define.
35046 (HAS_ARCH_FEATURE): Define.
35047 (HAS_FAST_REP_STRING): Define.
35048 (HAS_FAST_COPY_BACKWARD): Define.
35049
4e733bac 350502010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
35051
35052 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35053 Restore proper fallback handling.
35054
63c4ed22
UD
350552010-06-19 Ulrich Drepper <drepper@redhat.com>
35056
ac2b484c
UD
35057 [BZ #11701]
35058 * posix/group_member.c (__group_member): Correct checking loop.
35059
63c4ed22
UD
35060 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
35061 OOM in getpwuid_r correctly. Return error number when the caller
35062 should return, otherwise -1.
35063 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
35064 call returning > 0 value.
35065 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
35066
765ade4b
AS
350672010-06-07 Andreas Schwab <schwab@redhat.com>
35068
35069 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
35070 libc_nonshared.a from targets in modules-names.
35071
80da2e09
KS
350722010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
35073
35074 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
35075 requires it.
35076
158db122
LM
350772010-06-10 Luis Machado <luisgpm@br.ibm.com>
35078
35079 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
35080 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
35081 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
35082 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
35083
caa78cf8
AS
350842010-06-02 Andreas Schwab <schwab@redhat.com>
35085
35086 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
35087
b2ef2c01
UD
350882010-06-14 Ulrich Drepper <drepper@redhat.com>
35089
35090 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
35091 and F_GETPIPE_SZ.
35092 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35093 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35094 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35095 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35096 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35097 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
35098
fbd643b6
RM
350992010-06-14 Roland McGrath <roland@redhat.com>
35100
35101 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
35102
f32f2869
JJ
351032010-06-07 Jakub Jelinek <jakub@redhat.com>
35104
35105 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
35106 __REDIRECT followed by __THROW.
35107 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
35108 * posix/getopt.h (getopt): Likewise.
35109
2a50c078
EPM
351102010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
35111
35112 * hurd/lookup-at.c (__file_name_lookup_at): Accept
35113 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
35114 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
35115 in AT_FLAGS.
35116 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
35117 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
35118
eb5ad2eb
LM
351192010-05-28 Luis Machado <luisgpm@br.ibm.com>
35120
35121 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
35122
3c88fe1e
L
351232010-05-26 H.J. Lu <hongjiu.lu@intel.com>
35124
35125 [BZ #11640]
35126 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35127 Properly check family and model.
35128
d2f73151
TY
351292010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
35130
35131 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
35132
ebd2e13d
LM
351332010-05-24 Luis Machado <luisgpm@br.ibm.com>
35134
35135 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
35136
b32b8b45
UD
351372010-05-21 Ulrich Drepper <drepper@redhat.com>
35138
35139 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
35140 symbol reference.
35141
9acbe24d
AS
351422010-05-19 Andreas Schwab <schwab@redhat.com>
35143
35144 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
35145 symbol reference.
35146
f0ccf6ea
AS
351472010-05-21 Andreas Schwab <schwab@redhat.com>
35148
3d04ff3a
AS
35149 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
35150 and internal_recvmmsg.
35151 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
35152 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
35153 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
35154 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
35155
f0ccf6ea
AS
35156 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
35157 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35158 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35159
5b08ac57
AS
351602010-05-20 Andreas Schwab <schwab@redhat.com>
35161
35162 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
35163
4828935d
LM
351642010-05-17 Luis Machado <luisgpm@br.ibm.com>
35165
35166 POWER7 optimizations.
35167 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
35168 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
35169
373d545e
UD
351702010-05-19 Ulrich Drepper <drepper@redhat.com>
35171
35172 * version.h: Update for 2.13 development version.
35173
21a2b1ae
AS
351742010-05-12 Andrew Stubbs <ams@codesourcery.com>
35175
35176 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
35177 exceptions. Return 0.
35178
3f7dcb2b
RM
351792010-05-07 Roland McGrath <roland@redhat.com>
35180
35181 * elf/ldconfig.c (main): Add a const.
35182
5f24d53a 351832010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 35184
a160f8d8
UD
35185 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
35186 (args_options): Add no-idn option.
35187 (ahosts_keys_int): Add idn_flags to ai_flags.
35188 (parse_option): Handle 'i' option to clear idn_flags.
35189
5f24d53a
UD
35190 * malloc/malloc.c (_int_free): Possible race in the most recently
35191 added check. Only act on the data if no current modification
35192 happened.
265bb1ce
UD
35193
35194See ChangeLog.17 for earlier changes.