]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Complete display of LC_MONETARY
[thirdparty/glibc.git] / ChangeLog
CommitLineData
b5449b12
AS
12013-11-19 Andreas Schwab <schwab@suse.de>
2
3 * locale/programs/locale.c (show_info): Decode wordarray elements.
4 * locale/categories.def (LC_MONETARY): Add element for
5 _NL_MONETARY_CRNCYSTR.
6 * locale/C-monetary.c (conversion_rate): New variable.
7 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
8 element.
9
e186536b
CM
102013-11-18 Chris Metcalf <cmetcalf@tilera.com>
11
12 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
13 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
14
5c349950
PP
152013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
16
17 * elf/Makefile (tst-auxv): New test.
18 * elf/tst-auxv.c: New
19 * elf/rtld.c (dl_main): Adjust AT_EXECFN
20
699df45b
JM
212013-11-18 Joseph Myers <joseph@codesourcery.com>
22
23 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
24 (hidden_proto): Caller changed.
25 (hidden_tls_proto): New macro.
26 (libc_hidden_tls_proto): Likewise.
27 (rtld_hidden_tls_proto): Likewise.
28 (libm_hidden_tls_proto): Likewise.
29 (libresolv_hidden_tls_proto): Likewise.
30 (librt_hidden_tls_proto): Likewise.
31 (libdl_hidden_tls_proto): Likewise.
32 (libnss_files_hidden_tls_proto): Likewise.
33 (libnsl_hidden_tls_proto): Likewise.
34 (libnss_nisplus_hidden_tls_proto): Likewise.
35 (libutil_hidden_tls_proto): Likewise.
36
b7589107
OB
372013-11-18 Ondřej Bílka <neleai@seznam.cz>
38
39 [BZ #10253]
40 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
41 (decompose_rpath): Defer expansion to fillin_rpath.
42 (_dl_init_paths): Pass linkmap to fillin_rpath.
43
250c23bd
RS
442013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
45
46 * benchtests/Makefile: Add strsep.
47 * benchtests/bench-strsep.c: New file: strsep benchtest.
48 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
49
a7931fcf
AS
502013-11-18 Andreas Schwab <schwab@suse.de>
51
52 * locale/programs/locale.c (show_info) [case byte]: Check for
53 '\377' instead of '\177'.
54 * locale/C-monetary.c (not_available): Always use "\377".
55 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
56 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
57 detect unavailable sign_posn locale elements.
58 * locale/localeconv.c (__localeconv): For grouping and
59 mon_grouping handle "\177" and "\377" like no grouping.
60 (INT_ELEM): New macro. Use it to set all numeric members.
61 * locale/programs/ld-monetary.c (monetary_read)
62 <tok_mon_grouping>: Normalize single -1 to the empty string.
63 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
64 Likewise.
65
728dab0e
OB
662013-11-07 Ondřej Bílka <neleai@seznam.cz>
67
68 [BZ #16055]
69 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
70 when we match (nil).
71 * stdio-common/tst-sscanf.c (struct test): Add testcase.
72
66294491
JM
732013-11-16 Joseph Myers <joseph@codesourcery.com>
74
ce665817
JM
75 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
76 (NO_TEST_INLINE): Update value.
77 (ERRNO_UNCHANGED): Likewise.
78 (ERRNO_EDOM): Likewise.
79 (ERRNO_ERANGE): Likewise.
80 (IGNORE_RESULT): Likewise.
81 (check_float_internal): Check signs of NaN results if
82 TEST_NAN_SIGN used.
83 (check_complex): Pass TEST_NAN_SIGN flag through to second
84 check_float_internal call.
85 (copysign_test_data): Add tests with quiet NaNs as second
86 argument. Use TEST_NAN_SIGN.
87 (fabs_test_data): Add test of negative quiet NaN argument. Use
88 TEST_NAN_SIGN.
89 (signbit_test_data): Add tests of quiet NaN argument.
90 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
91
ee1466a9
JM
92 * math/gen-libm-test.pl (show_exceptions): Take extra argument
93 $ignore_result.
94 (parse_args): Handle function results specified as IGNORE.
95 * math/libm-test.inc (IGNORE_RESULT): New macro.
96 (check_float_internal): Do not check numerical result if flag
97 IGNORE_RESULT set.
98 (check_complex): Pass through IGNORE_RESULT to second
99 check_float_internal call.
100 (check_int): Do not check numerical result if flag IGNORE_RESULT
101 set.
102 (check_long): Likewise.
103 (check_bool): Likewise.
104 (check_longlong): Likewise.
105 (lrint_test_data): Add tests of infinite and NaN arguments.
106 (lrint_tonearest_test_data): Likewise.
107 (lrint_towardzero_test_data): Likewise.
108 (lrint_downward_test_data): Likewise.
109 (lrint_upward_test_data): Likewise.
110 (llrint_test_data): Likewise.
111 (llrint_tonearest_test_data): Likewise.
112 (llrint_towardzero_test_data): Likewise.
113 (llrint_downward_test_data): Likewise.
114 (llrint_upward_test_data): Likewise.
115 (lround_test_data): Likewise.
116 (llround_test_data): Likewise.
117
14407b7e
JM
118 * math/libm-test.inc (NO_TEST_INLINE): New macro.
119 (ERRNO_UNCHANGED): Update value.
120 (ERRNO_EDOM): Likewise.
121 (ERRNO_ERANGE): Likewise.
122 (NO_TEST_INLINE_FLOAT): New macro.
123 (NO_TEST_INLINE_DOUBLE): Likewise.
124 (enable_test): New function.
125 (RUN_TEST_f_f): Check enable_test before running test.
126 (RUN_TEST_2_f): Likewise.
127 (RUN_TEST_fff_f): Likewise.
128 (RUN_TEST_c_f): Likewise.
129 (RUN_TEST_f_f1): Likewise.
130 (RUN_TEST_fF_f1): Likewise.
131 (RUN_TEST_fI_f1): Likewise.
132 (RUN_TEST_ffI_f1): Likewise.
133 (RUN_TEST_c_c): Likewise.
134 (RUN_TEST_cc_c): Likewise.
135 (RUN_TEST_f_i): Likewise.
136 (RUN_TEST_f_i_tg): Likewise.
137 (RUN_TEST_ff_i_tg): Likewise.
138 (RUN_TEST_f_b): Likewise.
139 (RUN_TEST_f_b_tg): Likewise.
140 (RUN_TEST_f_l): Likewise.
141 (RUN_TEST_f_L): Likewise.
142 (RUN_TEST_fFF_11): Likewise.
143 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
144 conditionals.
145 (cosh_test_data): Likewise.
146 (exp_test_data): Likewise.
147 (expm1_test_data): Likewise.
148 (hypot_test_data): Likewise.
149 (pow_test_data): Likewise.
150 (sinh_test_data): Likewise.
151 (tanh_test_data): Likewise.
152 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
153 flags argument.
154
ca07f197
JM
155 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
156 tests with quiet NaN input and output.
157 (acosh_test_data): Likewise.
158 (asin_test_data): Likewise.
159 (asinh_test_data): Likewise.
160 (atan_test_data): Likewise.
161 (atanh_test_data): Likewise.
162 (atan2_test_data): Likewise.
163 (cbrt_test_data): Likewise.
164 (cos_test_data): Likewise.
165 (cosh_test_data): Likewise.
166 (erf_test_data): Likewise.
167 (erfc_test_data): Likewise.
168 (exp_test_data): Likewise.
169 (exp10_test_data): Likewise.
170 (exp2_test_data): Likewise.
171 (expm1_test_data): Likewise.
172 (hypot_test_data): Likewise.
173 (j0_test_data): Likewise.
174 (j1_test_data): Likewise.
175 (jn_test_data): Likewise.
176 (lgamma_test_data): Likewise.
177 (log_test_data): Likewise.
178 (log10_test_data): Likewise.
179 (log1p_test_data): Likewise.
180 (log2_test_data): Likewise.
181 (pow_test_data): Likewise.
182 (scalb_test_data): Likewise.
183 (sin_test_data): Likewise.
184 (sincos_test_data): Likewise.
185 (sinh_test_data): Likewise.
186 (tan_test_data): Likewise.
187 (tanh_test_data): Likewise.
188 (tgamma_test_data): Likewise.
189 (y0_test_data): Likewise.
190 (y1_test_data): Likewise.
191 (yn_test_data): Likewise.
192
66294491
JM
193 [BZ #16167]
194 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
195 argument being NaN and avoid computations with second argument in
196 that case.
197 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
198 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
199 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
200
1820b143
CL
2012013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
202
203 * locale/iso-639.def: Add Chitwani Tharu (the).
204
714bd261
AS
2052013-11-14 Andreas Schwab <schwab@suse.de>
206
207 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
208 word instead of empty string.
209
7ab44563
AZ
2102013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
211
212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
213 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
215 (__fe_nomask_env): Likewise.
216
e8470ea2
SE
2172013-11-13 Steve Ellcey <sellcey@mips.com>
218
219 * benchtests/bench-timing.h: Include time.h.
220
17c1d9f0
L
2212013-11-13 H.J. Lu <hongjiu.lu@intel.com>
222
223 [BZ #15997]
224 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
225 to 3.4.0 for x32.
226 * sysdeps/unix/sysv/linux/configure: Regenerated.
227
9310c284
JM
2282013-11-13 Joseph Myers <joseph@codesourcery.com>
229
230 [BZ #16151]
231 * stdlib/strtod_l.c (round_and_return): Do not consider
232 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
233 exponent one less than half the least subnormal exponent.
234 * stdlib/test-strtod-round-data: Add more tests.
235 * stdlib/tst-strtod-round.c (tests): Regenerated.
236
7a2ad8cf
AZ
2372013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
238
239 [BZ #14143]
240 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
241 (__fe_mask_env): Likewise.
242 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
243 libm_hidden_proto and add function prototype.
244 (__fe_mask_env): Add function prototype.
245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
246 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
248 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
250 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
251
50727aa7
MS
2522013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
253
254 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
255 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
256
a615be46
MS
2572013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
258
259 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
260 of htab_find_slot().
261
7ddace62
DM
2622013-11-11 David S. Miller <davem@davemloft.net>
263
264 [BZ #16150]
265 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
266 symbol in the non-vis3 case in static builds.
267 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
268 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
269 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
270 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
271
9182aa67
JK
2722013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
273
274 [BZ #387]
275 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
276 it is empty.
277
450a2e2d
AZ
2782013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
279
280 * benchtests/Makefile: Add bench-strtod.
281 * benchtests/bench-strtod.c: New file: strtod benchtest
282
8ec3f656
AS
2832013-11-11 Andreas Schwab <schwab@suse.de>
284
285 [BZ #16153]
286 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
287 terminating NUL in key length.
288
76a9b998
AZ
2892013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
290
291 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
292 Add artificial ODP entry for vDSO symbol for PPC64.
293 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
294 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
295
e4368156
OB
2962013-11-07 Ondřej Bílka <neleai@seznam.cz>
297
298 [BZ #15374]
299 * nss/getent.c (services_keys): Recognize services starting with digit.
300
8d6bb57c
DM
3012013-11-06 David S. Miller <davem@davemloft.net>
302
303 [BZ #15985]
304 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
305 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
306
e256c421
WN
3072013-11-06 Will Newton <will.newton@linaro.org>
308
309 * manual/memory.texi (Malloc Examples): Remove register
310 keyword from examples.
311
f6e12daa 3122013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 313
f6e12daa 314 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 315
9d880655
AS
3162013-11-04 Joseph Myers <joseph@codesourcery.com>
317
318 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
319 depending on [__GCC_IEC_559 > 0].
320 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
321 depending on [__GCC_IEC_559_COMPLEX > 0].
322
ae129d3c
CL
3232013-11-03 Chris Leonard <cjl@sugarlabs.org>
324
325 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
326 to iso-639.def.
327
4a15c2a4 3282013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
329
330 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
331
8b35e35d
OB
3322013-11-01 Ondřej Bílka <neleai@seznam.cz>
333
334 [BZ #16112]
335 * malloc/malloc (malloc_info): Do not handle first bin as
336 special case.
337
1d70fd6c
CL
3382013-11-01 Chris Leonard <cjl@sugarlabs.org>
339
340 * locale/iso-639.def: Add Central Nahuatl (nhn).
341
8c5c2600
BH
3422013-11-01 Bruno Haible <bruno@clisp.org>
343
344 [BZ #7003]
345 * manual/math.texi (BSD Random): Specify range upper bound as
346 in POSIX.
347
da5579c2
CL
3482013-10-31 Chris Leonard <cjl@sugarlabs.org>
349
350 * locale/iso-639.def: Add Meadow Mari (mhr).
351
5d30d853
OB
3522013-10-31 Ondřej Bílka <neleai@seznam.cz>
353
354 [BZ #14752], [BZ #15763]
355 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
356 Validate name.
357 * rt/tst_shm.c: Add test for escaping directory.
358
a4966c61
AS
3592013-10-31 Andreas Schwab <schwab@suse.de>
360
8a43e768 361 [BZ #15917]
a4966c61
AS
362 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
363 followed by 'x' as part of digit sequence.
364 * stdio-common/tst-sscanf.c (double_tests2): New tests.
365
28d708c4
MAP
3662013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
367
368 [BZ #16037]
369 * configure.ac: allow GNU Make 4.0 and greater.
370 * configure: Regenerated.
371
a56ee40b
WN
3722013-10-30 Will Newton <will.newton@linaro.org>
373
374 [BZ #16038]
375 * malloc/hooks.c (memalign_check): Limit alignment to the
376 maximum representable power of two.
377 * malloc/malloc.c (__libc_memalign): Likewise.
378 * malloc/tst-memalign.c (do_test): Add test for very
379 large alignment values.
380 * malloc/tst-posix_memalign.c (do_test): Likewise.
381
c6e4925d
OB
3822013-10-30 Ondřej Bílka <neleai@seznam.cz>
383
384 [BZ #11087]
385 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
386 (munmap_chunk): Likewise.
387 (mremap_chunk): Likewise.
388
3892013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 390
8a43e768 391 [BZ #15799]
bbea82f7
OB
392 * stdlib/div.c (div): Remove obsolete code.
393 * stdlib/ldiv.c (ldiv): Likewise.
394 * stdlib/lldiv.c (lldiv): Likewise.
395
977f4b31
SP
3962013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
397
398 [BZ #16071]
399 * nss/nss_files/files-XXX.c (get_contents_ret): New
400 enumerator.
401 (get_contents): New function.
402 (internal_getent): Use it. Expand size of LINEBUFLEN.
403
cb8a6dbd
MF
4042013-10-30 Mike Frysinger <vapier@gentoo.org>
405
406 * configure.in: Moved to ...
407 * configure.ac: ... here. Change reference to configure.in
408 to configure.ac.
409 * sysdeps/arm/preconfigure.ac: ... here.
410 configure.in to configure.ac.
411 * sysdeps/gnu/configure.in: Moved to ...
412 * sysdeps/gnu/configure.ac: ... here.
413 * sysdeps/i386/configure.in: Moved to ...
414 * sysdeps/i386/configure.ac: ... here.
415 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
416 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
417 * sysdeps/mach/configure.in: Moved to ...
418 * sysdeps/mach/configure.ac: ... here.
419 * sysdeps/mach/hurd/configure.in: Moved to ...
420 * sysdeps/mach/hurd/configure.ac: ... here.
421 * sysdeps/powerpc/configure.in: Moved to ...
422 * sysdeps/powerpc/configure.ac: ... here.
423 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
424 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
425 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
426 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
427 * sysdeps/s390/s390-32/configure.in: Moved to ...
428 * sysdeps/s390/s390-32/configure.ac: ... here.
429 * sysdeps/s390/s390-64/configure.in: Moved to ...
430 * sysdeps/s390/s390-64/configure.ac: ... here.
431 * sysdeps/sh/configure.in: Moved to ...
432 * sysdeps/sh/configure.ac: ... here.
433 * sysdeps/sparc/configure.in: Moved to ...
434 * sysdeps/sparc/configure.ac: ... here.
435 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
436 * sysdeps/unix/sysv/linux/configure.ac: ... here.
437 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
438 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
439 * sysdeps/x86_64/configure.in: Moved to ...
440 * sysdeps/x86_64/configure.ac: ... here.
441 * sysdeps/x86_64/preconfigure.in: Moved to ...
442 * sysdeps/x86_64/preconfigure.ac: ... here.
443 * aclocal.m4: Change reference to configure.in to configure.ac.
444 * config.h.in: Likewise.
445 * manual/install.texi: Likewise.
446 * manual/maint.texi: Likewise.
447 * Makefile: Likewise.
448 * malloc/Makefile: Likewise.
449 * nscd/Makefile: Likewise.
450 * Makeconfig: Change reference to configure.in and
451 preconfigure.in to configure.ac and preconfigure.ac
452 respectively.
453 * INSTALL: Regenerated.
454 * configure: Likewise.
455 * sysdeps/gnu/configure: Likewise.
456 * sysdeps/i386/configure: Likewise.
457 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
458 * sysdeps/mach/configure: Likewise.
459 * sysdeps/mach/hurd/configure: Likewise.
460 * sysdeps/powerpc/configure: Likewise.
461 * sysdeps/powerpc/powerpc32/configure: Likewise.
462 * sysdeps/powerpc/powerpc64/configure: Likewise.
463 * sysdeps/s390/s390-32/configure: Likewise.
464 * sysdeps/s390/s390-64/configure: Likewise.
465 * sysdeps/sh/configure: Likewise.
466 * sysdeps/sparc/configure: Likewise.
467 * sysdeps/unix/sysv/linux/configure: Likewise.
468 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
469 * sysdeps/x86_64/configure: Likewise.
470 * sysdeps/x86_64/preconfigure: Likewise.
471
36a4953a
AS
4722013-10-29 Andreas Schwab <schwab@suse.de>
473
474 * stdio-common/Makefile (tst-swscanf-ENV): Define.
475
c79a1204
SP
4762013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
477
dfa1b402
SP
478 * benchtests/pow-inputs: Add new inputs.
479
54f73d9c
SP
480 * benchtests/exp-inputs: Add new inputs.
481
c79a1204
SP
482 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
483 conditional check for return value.
484 (__cos32): Likewise.
485
67beb545 4862013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
487
488 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
489 to provide a boost for large inputs with word alignment.
490 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
491 implementation based on optimized PPC64 strcpy.
492 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
493 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
494 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
495 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
496
151659f6
OB
4972013-10-25 Ondřej Bílka <neleai@seznam.cz>
498
482a077e 499 [BZ #2801]
151659f6
OB
500 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
501
10b0f26b
OB
5022013-10-25 Ondřej Bílka <neleai@seznam.cz>
503
504 [BZ #14876]
505 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
506 * time/tst-strptime.c (day_tests): Add testcase.
507
ca42d35e
OB
5082013-10-25 Ondřej Bílka <neleai@seznam.cz>
509
482a077e 510 [BZ #14029]
ca42d35e
OB
511 * manual/pattern.texi: Acknowledge that fnmatch can fail.
512
52e6d801
FB
5132013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
514
515 [BZ #16074]
516 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
517 MAP_FAILED on error.
518
7cbcdb36
SP
5192013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
520
521 [BZ #16072]
522 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
523 heap for large requests.
524
894f3f10
AM
5252013-10-25 Aurelien Jarno <aurelien@aurel32.net>
526
527 [BZ #9954]
528 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
529 result if the result has no associated interface.
530 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
531 interface for all 127.X.Y.Z addresses.
532
b85545a6
CL
5332013-10-24 Chris Leonard <cjl@sugarlabs.org>
534
535 * locale/iso-639.def: Add Ligurian (lij)
536
d1f23d46
OB
5372013-10-21 Ondřej Bílka <neleai@seznam.cz>
538
539 [BZ #15825]
540 * sunrpc/rpc_main.c: Document rpcgen -5.
541
4db5b08f
MS
5422013-10-19 Michael Stahl <mstahl@redhat.com>
543
544 * elf/rtld.c (do_preload): Print the reason why preloading failed.
545
a471e96a
OB
5462013-10-19 Ondřej Bílka <neleai@seznam.cz>
547
d1f23d46 548 [BZ #10278]
a471e96a
OB
549 * posix/glob.c: Match only directories when trailing slash is present.
550 * posix/tst-gnuglob.c (my_opendir): Do not open files.
551 (main): Add testcase.
552
45c30c61
OB
5532013-10-19 Ondřej Bílka <neleai@seznam.cz>
554
555 [BZ #15670]
556 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
557
484c12fb
CD
5582013-10-18 Carlos O'Donell <carlos@redhat.com>
559
3d7dc513
CD
560 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
561 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
562 AUTH_DES and cindex for FIPS 140-2.
563 (DES Encryption): Add cindex FIPS 46-3.
564
484c12fb
CD
565 * locale/locarchive.h (struct locarhandle): Add fname.
566 * locale/programs/localedef.c (main): Pass ARGV[remaining]
567 if an optional argument was specified to --list-archive,
568 otherwise NULL.
569 * locale/programs/locarchive.c (show_archive_content): Take new
570 argument fname and pass it via ah.fname to open_archive.
571 * locale/programs/localedef.h: Update decl.
572 (open_archive): If AH->fname is non-null, open that file
573 rather than the default file name, and don't ignore ENOENT.
574 (create_archive): Set AH.fname to NULL.
575 (delete_locales_from_archive): Likewise.
576 (add_locales_to_archive): Likewise.
577 * locale/programs/locfile.c (write_all_categories): Likewise.
578
3c8325fb
JM
5792013-10-18 Joseph Myers <joseph@codesourcery.com>
580 Aldy Hernandez <aldyh@redhat.com>
581
582 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
583 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
584 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
585 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
586 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
587 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
588 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
589 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
590 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
591 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
592 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
593 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
594 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
595 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
596 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
597 Likewise.
598 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
599 Likewise.
600 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
601 Likewise.
602 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
603 Likewise.
604 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
605 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
606 Likewise.
607 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
608 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
609 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
610 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
611 Likewise.
612 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
613 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
614 * sysdeps/powerpc/preconfigure: Likewise.
615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
616 Likewise.
617 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
618 Replace contents of file by #include of <fenv_libc.h>.
619 * sysdeps/powerpc/soft-fp/sfp-machine.h
620 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
621 and <sys/prctl.h>.
622 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
623 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
624 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
625 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
626 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
627 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
628 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
629 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
630 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
631 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
632 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
633 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
635 Allow copysignl PLT reference to be missing.
636
5abe0682
RS
6372013-10-18 Richard Sandiford <richard@codesourcery.com>
638 Joseph Myers <joseph@codesourcery.com
639
640 [BZ #15948]
641 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
642 single character.
643 (add_to_tablewc): Assert sequence of wide characters is nonempty.
644
c7738d08
SP
6452013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
646
647 * elf/tst-tls-dlinfo.c: Don't include tls.h.
648 * elf/tst-tls1.c: Likewise.
649 * elf/tst-tls10.h: Likewise.
650 * elf/tst-tls14.c: Likewise.
651 * elf/tst-tls2.c: Likewise.
652 * elf/tst-tls3.c: Likewise.
653 * elf/tst-tls4.c: Likewise.
654 * elf/tst-tls5.c: Likewise.
655 * elf/tst-tls6.c: Likewise.
656 * elf/tst-tls7.c: Likewise.
657 * elf/tst-tls8.c: Likewise.
658 * elf/tst-tls9.c: Likewise.
659 * elf/tst-tlsmod1.c: Likewise.
660 * elf/tst-tlsmod13.c: Likewise.
661 * elf/tst-tlsmod13a.c: Likewise.
662 * elf/tst-tlsmod14a.c: Likewise.
663 * elf/tst-tlsmod16a.c: Likewise.
664 * elf/tst-tlsmod16b.c: Likewise.
665 * elf/tst-tlsmod2.c: Likewise.
666 * elf/tst-tlsmod3.c: Likewise.
667 * elf/tst-tlsmod4.c: Likewise.
668 * elf/tst-tlsmod5.c: Likewise.
669 * elf/tst-tlsmod6.c: Likewise.
670
0bfcf2c7
OB
6712013-10-18 Ondřej Bílka <neleai@seznam.cz>
672
673 [BZ #12486]
674 * malloc/malloc.c: remove checks for statistics.
675
264aad1e
OB
6762013-10-17 Ondřej Bílka <neleai@seznam.cz>
677
678 [BZ #15277]
679 * inet/inet_net.c (inet_network): Detect additional invalid strings.
680 * inet/tst-network.c: Add testcase.
681
b957ced8
AS
6822013-10-17 Andreas Schwab <schwab@suse.de>
683
684 [BZ #15218]
685 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
686 to determine canonical name.
687
c5d5d574
OB
6882013-10-17 Ondřej Bílka <neleai@seznam.cz>
689
690 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
691 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
692 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
693 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
694 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
695 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
696 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
697 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
698 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
699 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
700 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
701 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
702 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
703 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
704 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
705 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
706 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
707 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
708 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
709 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
710 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
711 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
712 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
713 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
714 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
715 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
716 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
717 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
718 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
719 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
720 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
721 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
722 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
723 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
724 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
725 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
726 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
727 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
728 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
729 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
730 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
731 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
732 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
733 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
734 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
735 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
736 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
737 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
738 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
739 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
740 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
741 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
742 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
743 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
744 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
745 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
746 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
747 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
748
e5c2c2d0
JM
7492013-10-17 Joseph Myers <joseph@codesourcery.com>
750
751 [BZ #16041]
752 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
753 make result into a quiet NaN.
754
51ca9e29
JM
7552013-10-16 Joseph Myers <joseph@codesourcery.com>
756
757 * soft-fp/adddf3.c: Fix horizontal whitespace.
758 * soft-fp/addsf3.c: Likewise.
759 * soft-fp/addtf3.c: Likewise.
760 * soft-fp/divdf3.c: Likewise.
761 * soft-fp/divsf3.c: Likewise.
762 * soft-fp/divtf3.c: Likewise.
763 * soft-fp/double.h: Likewise.
764 * soft-fp/eqdf2.c: Likewise.
765 * soft-fp/eqsf2.c: Likewise.
766 * soft-fp/eqtf2.c: Likewise.
767 * soft-fp/extenddftf2.c: Likewise.
768 * soft-fp/extended.h: Likewise.
769 * soft-fp/extendsfdf2.c: Likewise.
770 * soft-fp/extendsftf2.c: Likewise.
771 * soft-fp/extendxftf2.c: Likewise.
772 * soft-fp/fixdfdi.c: Likewise.
773 * soft-fp/fixdfsi.c: Likewise.
774 * soft-fp/fixdfti.c: Likewise.
775 * soft-fp/fixsfdi.c: Likewise.
776 * soft-fp/fixsfsi.c: Likewise.
777 * soft-fp/fixsfti.c: Likewise.
778 * soft-fp/fixtfdi.c: Likewise.
779 * soft-fp/fixtfsi.c: Likewise.
780 * soft-fp/fixtfti.c: Likewise.
781 * soft-fp/fixunsdfdi.c: Likewise.
782 * soft-fp/fixunsdfsi.c: Likewise.
783 * soft-fp/fixunsdfti.c: Likewise.
784 * soft-fp/fixunssfdi.c: Likewise.
785 * soft-fp/fixunssfsi.c: Likewise.
786 * soft-fp/fixunssfti.c: Likewise.
787 * soft-fp/fixunstfdi.c: Likewise.
788 * soft-fp/fixunstfsi.c: Likewise.
789 * soft-fp/fixunstfti.c: Likewise.
790 * soft-fp/floatdidf.c: Likewise.
791 * soft-fp/floatdisf.c: Likewise.
792 * soft-fp/floatditf.c: Likewise.
793 * soft-fp/floatsidf.c: Likewise.
794 * soft-fp/floatsisf.c: Likewise.
795 * soft-fp/floatsitf.c: Likewise.
796 * soft-fp/floattidf.c: Likewise.
797 * soft-fp/floattisf.c: Likewise.
798 * soft-fp/floattitf.c: Likewise.
799 * soft-fp/floatundidf.c: Likewise.
800 * soft-fp/floatundisf.c: Likewise.
801 * soft-fp/floatunditf.c: Likewise.
802 * soft-fp/floatunsidf.c: Likewise.
803 * soft-fp/floatunsisf.c: Likewise.
804 * soft-fp/floatunsitf.c: Likewise.
805 * soft-fp/floatuntidf.c: Likewise.
806 * soft-fp/floatuntisf.c: Likewise.
807 * soft-fp/floatuntitf.c: Likewise.
808 * soft-fp/fmadf4.c: Likewise.
809 * soft-fp/fmasf4.c: Likewise.
810 * soft-fp/fmatf4.c: Likewise.
811 * soft-fp/gedf2.c: Likewise.
812 * soft-fp/gesf2.c: Likewise.
813 * soft-fp/getf2.c: Likewise.
814 * soft-fp/ledf2.c: Likewise.
815 * soft-fp/lesf2.c: Likewise.
816 * soft-fp/letf2.c: Likewise.
817 * soft-fp/muldf3.c: Likewise.
818 * soft-fp/mulsf3.c: Likewise.
819 * soft-fp/multf3.c: Likewise.
820 * soft-fp/negdf2.c: Likewise.
821 * soft-fp/negsf2.c: Likewise.
822 * soft-fp/negtf2.c: Likewise.
823 * soft-fp/op-1.h: Likewise.
824 * soft-fp/op-2.h: Likewise.
825 * soft-fp/op-4.h: Likewise.
826 * soft-fp/op-8.h: Likewise.
827 * soft-fp/op-common.h: Likewise.
828 * soft-fp/quad.h: Likewise.
829 * soft-fp/single.h: Likewise.
830 * soft-fp/soft-fp.h: Likewise.
831 * soft-fp/sqrtdf2.c: Likewise.
832 * soft-fp/sqrtsf2.c: Likewise.
833 * soft-fp/sqrttf2.c: Likewise.
834 * soft-fp/subdf3.c: Likewise.
835 * soft-fp/subsf3.c: Likewise.
836 * soft-fp/subtf3.c: Likewise.
837 * soft-fp/truncdfsf2.c: Likewise.
838 * soft-fp/trunctfdf2.c: Likewise.
839 * soft-fp/trunctfsf2.c: Likewise.
840 * soft-fp/trunctfxf2.c: Likewise.
841 * soft-fp/unorddf2.c: Likewise.
842 * soft-fp/unordsf2.c: Likewise.
843 * soft-fp/unordtf2.c: Likewise.
844
9ebb0332
JM
8452013-10-15 Joseph Myers <joseph@codesourcery.com>
846
847 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
848 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
849
4b1a6d8b
OB
8502013-10-15 Ondřej Bílka <neleai@seznam.cz>
851
852 * elf/dl-libc.c: Clear initfini list after freeing.
853
1e145589
JM
8542013-10-14 Joseph Myers <joseph@codesourcery.com>
855
856 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
857 * soft-fp/addsf3.c: Likewise.
858 * soft-fp/addtf3.c: Likewise.
859 * soft-fp/divdf3.c: Likewise.
860 * soft-fp/divsf3.c: Likewise.
861 * soft-fp/divtf3.c: Likewise.
862 * soft-fp/double.h: Likewise.
863 * soft-fp/eqdf2.c: Likewise.
864 * soft-fp/eqsf2.c: Likewise.
865 * soft-fp/eqtf2.c: Likewise.
866 * soft-fp/extenddftf2.c: Likewise.
867 * soft-fp/extended.h: Likewise.
868 * soft-fp/extendsfdf2.c: Likewise.
869 * soft-fp/extendsftf2.c: Likewise.
870 * soft-fp/extendxftf2.c: Likewise.
871 * soft-fp/fixdfdi.c: Likewise.
872 * soft-fp/fixdfsi.c: Likewise.
873 * soft-fp/fixdfti.c: Likewise.
874 * soft-fp/fixsfdi.c: Likewise.
875 * soft-fp/fixsfsi.c: Likewise.
876 * soft-fp/fixsfti.c: Likewise.
877 * soft-fp/fixtfdi.c: Likewise.
878 * soft-fp/fixtfsi.c: Likewise.
879 * soft-fp/fixtfti.c: Likewise.
880 * soft-fp/fixunsdfdi.c: Likewise.
881 * soft-fp/fixunsdfsi.c: Likewise.
882 * soft-fp/fixunsdfti.c: Likewise.
883 * soft-fp/fixunssfdi.c: Likewise.
884 * soft-fp/fixunssfsi.c: Likewise.
885 * soft-fp/fixunssfti.c: Likewise.
886 * soft-fp/fixunstfdi.c: Likewise.
887 * soft-fp/fixunstfsi.c: Likewise.
888 * soft-fp/fixunstfti.c: Likewise.
889 * soft-fp/floatdidf.c: Likewise.
890 * soft-fp/floatdisf.c: Likewise.
891 * soft-fp/floatditf.c: Likewise.
892 * soft-fp/floatsidf.c: Likewise.
893 * soft-fp/floatsisf.c: Likewise.
894 * soft-fp/floatsitf.c: Likewise.
895 * soft-fp/floattidf.c: Likewise.
896 * soft-fp/floattisf.c: Likewise.
897 * soft-fp/floattitf.c: Likewise.
898 * soft-fp/floatundidf.c: Likewise.
899 * soft-fp/floatundisf.c: Likewise.
900 * soft-fp/floatunsidf.c: Likewise.
901 * soft-fp/floatunsisf.c: Likewise.
902 * soft-fp/floatuntidf.c: Likewise.
903 * soft-fp/floatuntisf.c: Likewise.
904 * soft-fp/floatuntitf.c: Likewise.
905 * soft-fp/fmadf4.c: Likewise.
906 * soft-fp/fmasf4.c: Likewise.
907 * soft-fp/fmatf4.c: Likewise.
908 * soft-fp/gedf2.c: Likewise.
909 * soft-fp/gesf2.c: Likewise.
910 * soft-fp/getf2.c: Likewise.
911 * soft-fp/ledf2.c: Likewise.
912 * soft-fp/lesf2.c: Likewise.
913 * soft-fp/letf2.c: Likewise.
914 * soft-fp/muldf3.c: Likewise.
915 * soft-fp/mulsf3.c: Likewise.
916 * soft-fp/multf3.c: Likewise.
917 * soft-fp/negdf2.c: Likewise.
918 * soft-fp/negsf2.c: Likewise.
919 * soft-fp/negtf2.c: Likewise.
920 * soft-fp/op-1.h: Likewise.
921 * soft-fp/op-2.h: Likewise.
922 * soft-fp/op-4.h: Likewise.
923 * soft-fp/op-8.h: Likewise.
924 * soft-fp/op-common.h: Likewise.
925 * soft-fp/quad.h: Likewise.
926 * soft-fp/single.h: Likewise.
927 * soft-fp/soft-fp.h: Likewise.
928 * soft-fp/sqrtdf2.c: Likewise.
929 * soft-fp/sqrtsf2.c: Likewise.
930 * soft-fp/sqrttf2.c: Likewise.
931 * soft-fp/subdf3.c: Likewise.
932 * soft-fp/subsf3.c: Likewise.
933 * soft-fp/subtf3.c: Likewise.
934 * soft-fp/truncdfsf2.c: Likewise.
935 * soft-fp/trunctfdf2.c: Likewise.
936 * soft-fp/trunctfsf2.c: Likewise.
937 * soft-fp/trunctfxf2.c: Likewise.
938 * soft-fp/unorddf2.c: Likewise.
939 * soft-fp/unordsf2.c: Likewise.
940 * soft-fp/unordtf2.c: Likewise.
941
17c48a60
OB
9422013-10-14 Ondřej Bílka <neleai@seznam.cz>
943
944 [BZ #15672]
945 * misc/error.c (error_tail): Fix possible buffer overflow.
946
cabba934
OB
9472013-10-14 Aurelien Jarno <aurelien@aurel32.net>
948
949 [BZ #13028]
950 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
951 address.
952
94bf958a
PM
9532013-10-14 P. J. McDermott <pj@pehjota.net>
954
955 [BZ #832]
956 * elf/ldd.bash.in (try_trace): New function. Delete previous code
957 testing pipefail option.
958
71b4dea7
JM
9592013-10-12 Joseph Myers <joseph@codesourcery.com>
960
961 * soft-fp/double.h: Indent preprocessor directives inside #if.
962 * soft-fp/extended.h: Likewise.
963 * soft-fp/op-2.h: Likewise.
964 * soft-fp/op-4.h: Likewise.
965 * soft-fp/op-common.h: Likewise.
966 * soft-fp/quad.h: Likewise.
967 * soft-fp/single.h: Likewise.
968 * soft-fp/soft-fp.h: Likewise.
969
55602758
YC
9702013-10-12 Yuri Chornoivan <yurchor@ukr.net>
971
972 * iconv/iconv_prog.c: Fix typos.
973 * stdio-common/psiginfo-data.h: Likewise.
974
9cd83302
RT
9752013-10-12 Reuben Thomas <rrt@sc3d.org>
976
977 [BZ #15764]
978 * locale/setlocale.c: Fix typo.
979
99fd9f47
JM
9802013-10-12 Joseph Myers <joseph@codesourcery.com>
981
b7ea74f0
JM
982 [BZ #16036]
983 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
984 signaling NaN arguments.
985 * soft-fp/unordsf2.c (__unordsf2): Likewise.
986 * soft-fp/unordtf2.c (__unordtf2): Likewise.
987
8a509447
JM
988 [BZ #14910]
989 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
990 unordered operands.
991 * soft-fp/gesf2.c (__gesf2): Likewise.
992 * soft-fp/getf2.c (__getf2): Likewise.
993 * soft-fp/ledf2.c (__ledf2): Likewise.
994 * soft-fp/lesf2.c (__lesf2): Likewise.
995 * soft-fp/letf2.c (__letf2): Likewise.
996
98998e9f
JM
997 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
998 * soft-fp/eqsf2.c (__eqsf2): Likewise.
999 * soft-fp/eqtf2.c (__eqtf2): Likewise.
1000 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
1001 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
1002 * soft-fp/fixdfti.c (__fixdfti): Likewise.
1003 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
1004 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
1005 * soft-fp/fixsfti.c (__fixsfti): Likewise.
1006 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
1007 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
1008 * soft-fp/fixtfti.c (__fixtfti): Likewise.
1009 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
1010 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
1011 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
1012 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
1013 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
1014 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
1015 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
1016 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
1017 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
1018 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
1019 * soft-fp/floatdisf.c (__floatdisf): Likewise.
1020 * soft-fp/floatsisf.c (__floatsisf): Likewise.
1021 * soft-fp/floattidf.c (__floattidf): Likewise.
1022 * soft-fp/floattisf.c (__floattisf): Likewise.
1023 * soft-fp/floattitf.c (__floattitf): Likewise.
1024 * soft-fp/floatundidf.c (__floatundidf): Likewise.
1025 * soft-fp/floatundisf.c (__floatundisf): Likewise.
1026 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
1027 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
1028 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
1029 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
1030 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
1031 * soft-fp/gesf2.c (__gesf2): Likewise.
1032 * soft-fp/getf2.c (__getf2): Likewise.
1033 * soft-fp/ledf2.c (__ledf2): Likewise.
1034 * soft-fp/lesf2.c (__lesf2): Likewise.
1035 * soft-fp/letf2.c (__letf2): Likewise.
1036
8edc4a11
JM
1037 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
1038 Undefine and redefine.
1039 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
1040 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
1041 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
1042 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
1043 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1044 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
1045 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1046 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
1047 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1048 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
1049 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1050 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
1051 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1052 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
1053 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1054
8399acaf
JM
1055 [BZ #16032]
1056 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
1057 without decrementing exponent if mantissa >= that for the
1058 denominator, not >.
1059 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
1060 denominator, not >. Decrement exponent in < case instead of
1061 incrementing in >= case.
1062 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
1063 without decrementing exponent if mantissa >= that for the
1064 denominator, not >.
1065
99fd9f47
JM
1066 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
1067 computing saturated result for unsigned overflow.
1068
10e1cf6b
SP
10692013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1070 Jeff Law <law@redhat.com>
1071
1072 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
1073 (atan2Mp): Add systemtap probe marker.
1074 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
1075 (__ieee754_log): Add systemtap probe marker.
1076 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
1077 (atanMp): Add systemtap probe marker.
1078 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
1079 (tanMp): Add systemtap probe marker.
1080 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
1081 (__slowexp): Add systemtap probe marker.
1082 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
1083 (__slowpow): Add systemtap probe marker.
1084 * manual/probes.texi: Document probes.
1085
3d110c7c
EB
10862013-10-11 Eric Biggers <ebiggers3@gmail.com>
1087
1088 [BZ #15362]
1089 * libio/fileops.c (_IO_new_file_write): Return count of bytes
1090 written.
1091 (_IO_new_file_xsputn): Don't return EOF if nothing has been
1092 written.
1093 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
1094 written to buffer but not flushed.
1095 * libio/iofwrite_u.c: Likewise.
1096 * libio/iopadn.c: Return bytes returned even if EOF was
1097 encountered.
1098 * libio/iowpadn.c: Likewise.
1099 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
1100 if _IO_padn does not write the whole buffer.
1101 [!COMPILE_WPRINTF] (PAD): Likewise.
1102
75b4202a
DM
11032013-10-10 David S. Miller <davem@davemloft.net>
1104
1105 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
1106 directory block.
1107
6c6352e6
JM
11082013-10-10 Joseph Myers <joseph@codesourcery.com>
1109
33b853c3
JM
1110 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
1111 instead of FSF address.
1112 * soft-fp/fixdfti.c: Likewise.
1113 * soft-fp/fixsfti.c: Likewise.
1114 * soft-fp/fixtfti.c: Likewise.
1115 * soft-fp/fixunsdfti.c: Likewise.
1116 * soft-fp/fixunssfti.c: Likewise.
1117 * soft-fp/fixunstfti.c: Likewise.
1118 * soft-fp/floattidf.c: Likewise.
1119 * soft-fp/floattisf.c: Likewise.
1120 * soft-fp/floattitf.c: Likewise.
1121 * soft-fp/floatuntidf.c: Likewise.
1122 * soft-fp/floatuntisf.c: Likewise.
1123 * soft-fp/floatuntitf.c: Likewise.
1124 * soft-fp/trunctfxf2.c: Likewise.
1125
6c6352e6
JM
1126 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
1127 * soft-fp/fixdfti.c: Likewise.
1128 * soft-fp/fixsfti.c: Likewise.
1129 * soft-fp/fixtfti.c: Likewise.
1130 * soft-fp/fixunsdfti.c: Likewise.
1131 * soft-fp/fixunssfti.c: Likewise.
1132 * soft-fp/fixunstfti.c: Likewise.
1133 * soft-fp/floattidf.c: Likewise.
1134 * soft-fp/floattisf.c: Likewise.
1135 * soft-fp/floattitf.c: Likewise.
1136 * soft-fp/floatuntidf.c: Likewise.
1137 * soft-fp/floatuntisf.c: Likewise.
1138 * soft-fp/floatuntitf.c: Likewise.
1139 * soft-fp/trunctfxf2.c: Likewise.
1140
3bf78b71
DM
11412013-10-10 David S. Miller <davem@davemloft.net>
1142
1143 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1144
6f10289e
JM
11452013-10-10 Joseph Myers <joseph@codsourcery.com>
1146
bd878fc0
JM
1147 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1148 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
1149 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
1150 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
1151 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
1152 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
1153 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
1154
6f10289e
JM
1155 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
1156 for NaNs before doing comparisons on argument.
1157 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
1158 Likewise.
1159
321e2684
WN
11602013-10-10 Will Newton <will.newton@linaro.org>
1161
1162 * malloc/hooks.c (memalign_check): Ensure the value of bytes
1163 passed to _int_memalign does not overflow.
1164
40fefba1
TR
11652013-10-10 Torvald Riegel <triegel@redhat.com>
1166
1167 * scripts/bench.pl: Add include-sources directive.
1168 * benchtests/README: Update documentation.
1169
2ae21ed2
JM
11702013-10-10 Joseph Myers <joseph@codesourcery.com>
1171
dcc2dd3f
JM
1172 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
1173 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
1174 instead of FP_INIT_ROUNDMODE.
1175 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
1176 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
1177
2ae21ed2
JM
1178 [BZ #16034]
1179 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
1180 copy class of input value.
1181 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
1182 not handle exceptions.
1183 * soft-fp/negsf2.c (__negsf2): Likewise.
1184 * soft-fp/negtf2.c (__negtf2): Likewise.
1185 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
1186
cb8f9562
JM
11872013-10-09 Joseph Myers <joseph@codesourcery.com>
1188
1189 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
1190 semicolon. From Linux kernel.
1191
5b60c59d
AB
11922013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
1193
1194 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
1195
b86835ca
YC
11962013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
1197
1198 [BZ #156]
1199 * manual/socket.texi: Added statement about buffer
1200 for gethostbyname2_r.
1201
e7044ea7
OB
12022013-10-08 Ondřej Bílka <neleai@seznam.cz>
1203
1204 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
1205 Use .p2align directive instead, throughout.
1206 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1207 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1208 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
1209 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1210 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1211 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
1212 * sysdeps/x86_64/strchr.S: Likewise.
1213 * sysdeps/x86_64/strrchr.S: Likewise.
1214
09544cbc
SP
12152013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1216
88576635
SP
1217 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
1218
e7b2d1dd
SP
1219 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
1220
09544cbc
SP
1221 * sysdeps/generic/math_private.h (__mpsin1): Remove
1222 declaration.
1223 (__mpcos1): Likewise.
1224 (__mpsin): New argument __range_reduce.
1225 (__mpcos): Likewise.
1226 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1227 (slow): Use __mpsin and __mpcos.
1228 (slow1): Likewise.
1229 (slow2): Likewise.
1230 (sloww): Likewise.
1231 (sloww1): Likewise.
1232 (sloww2): Likewise.
1233 (bsloww): Likewise.
1234 (bsloww1): Likewise.
1235 (bsloww2): Likewise.
1236 (cslow2): Likewise.
1237 (csloww): Likewise.
1238 (csloww1): Likewise.
1239 (csloww2): Likewise.
1240 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
1241 range_reduce. Merge in __mpsin1.
1242 (__mpcos): Likewise.
1243 (__mpsin1): Remove.
1244 (__mpcos1): Likewise.
1245
7602d070
JM
12462013-10-07 Joseph Myers <joseph@codesourcery.com>
1247
1248 * locale/loadlocale.c (_nl_intern_locale_data): Use
1249 LOCFILE_ALIGNED_P.
1250 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
1251 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
1252 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
1253 obstack data is appropriately aligned.
1254 (obstack_int32_grow_fast): Likewise.
1255 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
1256 * locale/programs/locfile.c (add_locale_uint32): Likewise.
1257 (add_locale_uint32_array): Likewise.
1258
a357259b
SP
12592013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1260
1261 * benchtests/Makefile: Remove ARGLIST and RET variables.
1262 ($(objpfx)bench-%.c): Pass only function name to the script.
1263 * benchtests/README: Update documentation.
1264 * benchtests/acos-inputs: Add new directives.
1265 * benchtests/acosh-inputs: Likewise.
1266 * benchtests/asin-inputs: Likewise.
1267 * benchtests/asinh-inputs: Likewise.
1268 * benchtests/atan-inputs: Likewise.
1269 * benchtests/atanh-inputs: Likewise.
1270 * benchtests/cos-inputs: Likewise.
1271 * benchtests/cosh-inputs: Likewise.
1272 * benchtests/exp-inputs: Likewise.
1273 * benchtests/log-inputs: Likewise.
1274 * benchtests/pow-inputs: Likewise.
1275 * benchtests/rint-inputs: Likewise.
1276 * benchtests/sin-inputs: Likewise.
1277 * benchtests/sinh-inputs: Likewise.
1278 * benchtests/tan-inputs: Likewise.
1279 * benchtests/tanh-inputs: Likewise.
1280 * scripts/bench.pl: Add support for new directives.
1281
9ec1b13d
AM
12822013-10-07 Alan Modra <amodra@gmail.com>
1283
1284 * README: Fix careless merge.
1285
8b7d57cd
AM
12862013-10-05 Alan Modra <amodra@gmail.com>
1287
1288 * NEWS: Mention powerpc64le support and bugs fixed.
1289 * README: Both big-endian and little-endian powerpc64 supported.
1290
7b7bab13
ST
12912013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1292
1293 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
1294 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
1295 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
1296 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
1297
d39baad1
RA
12982013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
1299
1300 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
1301 match prototype.
1302
cd78f7e7
JM
13032013-10-04 Joseph Myers <joseph@codesourcery.com>
1304
29d73d86
JM
1305 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
1306 Move -mhard-float appending from
1307 ports/sysdeps/powerpc/powerpc32/Makefile.
1308 [$(with-fp) = yes] (ASFLAGS): Likewise.
1309 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
1310 * sysdeps/powerpc/nofpu: Move directory from
1311 ports/sysdeps/powerpc/nofpu.
1312 * sysdeps/powerpc/soft-fp: Move directory from
1313 ports/sysdeps/powerpc/soft-fp.
1314 * sysdeps/powerpc/powerpc32/405: Move directory from
1315 ports/sysdeps/powerpc/powerpc32/405.
1316 * sysdeps/powerpc/powerpc32/440: Move directory from
1317 ports/sysdeps/powerpc/powerpc32/440.
1318 * sysdeps/powerpc/powerpc32/464: Move directory from
1319 ports/sysdeps/powerpc/powerpc32/464.
1320 * sysdeps/powerpc/powerpc32/476: Move directory from
1321 ports/sysdeps/powerpc/powerpc32/476.
1322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
1323 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
1324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
1325 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
1326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
1327 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
1328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
1329 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
1330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
1331 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
1332 * README: Update for powerpc-*-linux-gnu software floating point
1333 support in libc.
1334
e246b347
JM
1335 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
1336 case to powerpc/powerpc32*.
1337 * sysdeps/unix/sysv/linux/configure: Regenerated.
1338
89c2003e
JM
1339 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
1340 (_FPU_MASK_OM): Define as 0x04.
1341 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
1342 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
1343 0x00c10080.
1344 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
1345 0x0000003c.
1346 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
1347
cd78f7e7
JM
1348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
1349 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1350 getcontext_e500.
1351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
1352 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1353 setcontext_e500.
1354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1355 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
1356 and setcontext_e500.
1357
c755294d
CL
13582013-10-04 Chris Leonard <cjl@sugarlabs,.org>
1359
1360 * locale/iso-3166.def: Update iso-1366.def and related occurrences
1361
e16d221c
SP
13622013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1363
1364 * manual/threads.texi (Default Thread Attributes): Fix typo.
1365
215c7d43
WN
13662013-10-04 Will Newton <will.newton@linaro.org>
1367
1368 * malloc/Makefile: Add tst-memalign.
1369 * malloc/tst-memalign.c: New file.
1370
27d0461b
WN
1371 * malloc/tst-posix_memalign.c: Add comments.
1372 (do_test): Add comments and call free on all potentially
1373 allocated pointers. Add space after cast.
1374
1bc92709
WN
1375 * malloc/tst-pvalloc.c: Add comments.
1376 (do_test): Add comments and call free on all potentially
1377 allocated pointers. Remove duplicate check for NULL pointer.
1378 Add space after cast.
1379
66a9be9d
WN
1380 * malloc/tst-valloc.c: Add comments.
1381 (do_test): Add comments and call free on all potentially
1382 allocated pointers. Remove duplicate check for NULL pointer.
1383 Add space after cast.
1384
4cb81307
AM
13852013-10-04 Alan Modra <amodra@gmail.com>
1386
1387 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1388 Use stdint types in rather than __attribute__((mode())).
1389 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1390
f8e3e9f3
AM
13912013-10-04 Alan Modra <amodra@gmail.com>
1392
1393 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1394 Correct handling of unaligned relocs for little-endian.
1395 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1396
8f9ebb08
AM
13972013-10-04 Alan Modra <amodra@gmail.com>
1398
1399 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
1400 * configure: Regenerate.
1401 * nptl/shlib-versions: Powerpc*le starts at 2.18.
1402 * shlib-versions: Likewise.
1403
0edf96c2
AM
14042013-10-04 Alan Modra <amodra@gmail.com>
1405
1406 * string/tester.c (test_memrchr): Increment reported test cycle.
1407
e0f7a380
AM
14082013-10-04 Alan Modra <amodra@gmail.com>
1409
1410 * string/test-memcpy.c (do_one_test): When reporting errors, print
1411 string address and don't overrun end of string.
1412
466b0393
AM
14132013-10-04 Alan Modra <amodra@gmail.com>
1414
1415 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
1416 insrdi. Make better use of reg selection to speed exit slightly.
1417 Schedule entry path a little better. Remove useless "are we done"
1418 checks on entry to main loop. Handle wrapping around zero address.
1419 Correct main loop count. Handle single left-over word from main
1420 loop inline rather than by using loop_small. Remove extra word
1421 case in loop_small caused by wrong loop count. Add little-endian
1422 support.
1423 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1424 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
1425 cache hint.
1426 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1427 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
1428 support. Avoid rlwimi.
1429 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
1430
3be87c77
AM
14312013-10-04 Alan Modra <amodra@gmail.com>
1432
1433 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 1434 insrdi. Formatting.
3be87c77
AM
1435 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
1436 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1437 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1438 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1439 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1440 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
1441
759cfef3
AM
14422013-10-04 Alan Modra <amodra@gmail.com>
1443
1444 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
1445 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1446 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1447 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
1448 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1449 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1450 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1451 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
1452 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
1453 use of regs. Use power7 mtocrf. Tidy function tails.
1454
fe6e95d7
AM
14552013-10-04 Alan Modra <amodra@gmail.com>
1456
1457 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
1458 Formatting. Consistently use rXXX register defines or rN defines.
1459 Use early exit labels that avoid restoring unused non-volatile regs.
1460 Make cr field use more consistent with rWORDn compares. Rename
1461 regs used as shift registers for unaligned loop, using rN defines
1462 for short lifetime/multiple use regs.
1463 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1464 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
1465 addi 1,1,64 to pop stack frame. Simplify return value code.
1466 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1467
664318c3
AM
14682013-10-04 Alan Modra <amodra@gmail.com>
1469
1470 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
1471 support. Correct typos, formatting. Optimize tail. Use insrdi
1472 rather than rlwimi.
1473 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
1474 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
1475 little-endian support. Correct typos.
1476 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
1477 rather than rlwimi.
1478 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
1479 in loop and entry code to keep "and." results.
1480 (strchr): Add little-endian support. Comment. Move cntlzd
1481 earlier in tail.
1482 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
1483
43b84013
AM
14842013-10-04 Alan Modra <amodra@gmail.com>
1485
1486 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
1487 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
1488 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
1489 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
1490
8a7413f9
AM
14912013-10-04 Alan Modra <amodra@gmail.com>
1492
1493 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
1494 (rTMP): Define as r11.
1495 (strcmp): Add little-endian support. Optimise tail.
1496 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
1497 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1498 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1499 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1500 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1501 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1502 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1503
33ee81de
AM
15042013-10-04 Alan Modra <amodra@gmail.com>
1505
1506 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
1507 little-endian support. Remove unnecessary "are we done" tests.
1508 Handle "s" wrapping around zero and extremely large "size".
1509 Correct main loop count. Handle single left-over word from main
1510 loop inline rather than by using small_loop. Correct comments.
1511 Delete "zero" tail, use "end_max" instead.
1512 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
1513
db9b4570
AM
15142013-10-04 Alan Modra <amodra@gmail.com>
1515
1516 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
1517 support. Don't branch over align.
1518 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
1519 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
1520 support. Rearrange tmp reg use to suit. Comment.
1521 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
1522
f7c399cf
AM
15232013-10-04 Alan Modra <amodra@gmail.com>
1524
1525 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
1526
0b2c2ace
AM
15272013-10-04 Alan Modra <amodra@gmail.com>
1528
1529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
1530 conditional form of branch and link when obtaining pc.
1531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1532
02f04a6c
AM
15332013-10-04 Alan Modra <amodra@gmail.com>
1534
1535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
1536 HIWORD/LOWORD.
1537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
1538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
1539
9b874b2f
AM
15402013-10-04 Alan Modra <amodra@gmail.com>
1541
1542 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
1543 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
1544 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1545 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
1546 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1547 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1548 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
1549 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1550 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1551 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
1552
be1e5d31
AB
15532013-10-04 Anton Blanchard <anton@au1.ibm.com>
1554 Alistair Popple <alistair@ozlabs.au.ibm.com>
1555 Alan Modra <amodra@gmail.com>
1556
1557 [BZ #15723]
1558 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
1559 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
1560 _dl_hwcap access for little-endian.
1561 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
1562 destroy vmx regs when saving unaligned.
1563 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
1564 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
1565 destroy vmx regs when saving unaligned.
1566
fef13a78
AM
15672013-10-04 Alan Modra <amodra@gmail.com>
1568
1569 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
1570 Don't use a union to pack hi/low value.
1571
76a66d51
AB
15722013-10-04 Anton Blanchard <anton@au1.ibm.com>
1573
1574 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
1575 for little-endian.
1576 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1577 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1578 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1579 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1580 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1581
6a31fe7f
AM
15822013-10-04 Alan Modra <amodra@gmail.com>
1583
1584 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
1585 constants to usual value for .cst8 section, and remove redundant
1586 high address load.
1587 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
1588 constant for 0x1p52. Load little-endian words of double from
1589 correct stack offsets.
1590
7b88401f
AM
15912013-10-04 Alan Modra <amodra@gmail.com>
1592
1593 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
1594 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
1595 words of double from correct stack offsets.
1596 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1597 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
1598 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1599 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1600 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1601 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1602 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1603 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1604 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1605 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1606 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1607 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1608 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1609 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1610 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1611 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
1612 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1613
9c008155
AM
16142013-10-04 Alan Modra <amodra@gmail.com>
1615
1616 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
1617 64-bit int/double union.
1618 (_FPU_SETCW): Likewise.
1619 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1620 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
1621
da13146d
AM
16222013-10-04 Alan Modra <amodra@gmail.com>
1623
1624 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
1625 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
1626
603e8410
AM
16272013-10-04 Alan Modra <amodra@gmail.com>
1628
1629 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
1630 use vector int constants.
1631 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
1632
4a28b3ca
AB
16332013-10-04 Anton Blanchard <anton@au1.ibm.com>
1634
1635 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
1636 array with long long.
1637 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
1638 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
1639 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
1640 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
1641 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
1642 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
1643 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
1644 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
1645 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
1646 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
1647 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
1648 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
1649 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
1650
2ca85d2b
AB
16512013-10-04 Anton Blanchard <anton@au1.ibm.com>
1652
1653 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
1654 (__signbit): Likewise. Correct for little-endian.
1655 (__signbitl): Call __signbit.
1656 (lrint): Correct for little-endian.
1657 (lrintf): Call lrint.
1658
62a728ae
AM
16592013-10-04 Alan Modra <amodra@gmail.com>
1660
1661 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
1662 union 32-bit int array member with 64-bit int array.
1663 (t515, tm256): Double rather than long double.
1664 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
1665
32c301df
AM
16662013-10-04 Alan Modra <amodra@gmail.com>
1667
1668 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
1669 Delete.
1670 (IEEE854_LONG_DOUBLE_BIAS): Delete.
1671 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
1672 version of math_ldbl.h.
1673
650ef4bd
AM
16742013-10-04 Alan Modra <amodra@gmail.com>
1675
1676 [BZ #15734], [BZ #15735]
1677 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
1678 all uses of ieee875 long double macros and unions. Simplify test
1679 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
1680 ldbl_extract_mantissa value for ix,iy exponents. Properly
1681 normalize after ldbl_extract_mantissa, and don't add hidden bit
1682 already handled. Don't treat low word of ieee854 mantissa like
1683 low word of IBM long double and mask off bit when testing for
1684 zero.
1685 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
1686 all uses of ieee875 long double macros and unions. Simplify tests
1687 for 0.0L and inf. Correct double adjustment of k. Delete dead code
1688 adjusting ha,hb. Simplify code setting kld. Delete two600 and
1689 two1022, instead use their values. Recognise that tests for large
1690 "a" and small "b" are mutually exclusive. Rename vars. Comment.
1691 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
1692 Rewrite all uses of ieee875 long double macros and unions. Simplify
1693 test for 0.0L and nan. Correct negation.
1694 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
1695 ieee875 long double macros and unions. Correct output for large
1696 magnitude x. Correct absolute value calculation.
1697 (__erfcl): Likewise.
1698 * math/libm-test.inc: Add tests for errors discovered in IBM long
1699 double versions of fmodl, remainderl, erfl and erfcl.
1700
765714ca
AM
17012013-10-04 Alan Modra <amodra@gmail.com>
1702
1703 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
1704 all uses of ieee854 long double macros and unions. Simplify tests
1705 for long doubles that are fully specified by the high double.
1706 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1707 Likewise.
1708 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
1709 Remove dead code too.
1710 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1711 (__ieee754_ynl): Likewise.
1712 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
1713 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
1714 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
1715 Remove dead code too.
1716 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
1717 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
1718 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
1719 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
1720 Simplify.
1721 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
1722 Simplify.
1723 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
1724 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
1725 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
1726 Comment on variable precision.
1727 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
1728 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1729 Likewise.
1730 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1731 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1732 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1733 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
1734 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
1735
4ebd120c
AM
17362013-10-04 Alan Modra <amodra@gmail.com>
1737
1738 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
1739 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
1740 all uses of ieee854 long double macros and unions.
1741 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
1742 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1743 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
1744 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
1745 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
1746 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1747 Likewise.
1748 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
1749 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1750 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
1751 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1752 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
1753 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
1754 Simplify sign and nan test too.
1755 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
1756 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
1757 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
1758 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
1759 Likewise.
1760 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1761 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
1762 Likewise.
1763 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1764 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
1765 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
1766 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
1767 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
1768 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
1769
1b6adf88
AM
17702013-10-04 Alan Modra <amodra@gmail.com>
1771
1772 * stdio-common/printf_size.c (__printf_size): Don't use
1773 union ieee854_long_double in fpnum union.
1774 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
1775 signbit macro to retrieve sign from long double.
1776 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
1777 retrieve sign from long double.
1778 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
1779 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
1780 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
1781 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1782 * math/test-misc.c (main): Don't use union ieee854_long_double.
1783
4cf69995
AM
17842013-10-04 Alan Modra <amodra@gmail.com>
1785
1786 [BZ #15680]
1787 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
1788 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
1789 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
1790 calculation. Remove unnecessary test for denormal exponent.
1791 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
1792 Correct handling of denormals. Avoid undefined shift behaviour.
1793 Correct normalisation of low mantissa when low double is denormal.
1794 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
1795 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
1796 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
1797 Correct normalisation of low mantissa. Test for overflow of high
1798 mantissa and normalise.
1799 (ldbl_nearbyint): Use more readable constant for two52.
1800 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
1801 (__mpn_construct_long_double): Fix test for overflow of high
1802 mantissa and correct normalisation. Avoid undefined shift.
1803
9605ca6c
AM
18042013-10-04 Alan Modra <amodra@gmail.com>
1805
1806 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1807 (union ibm_extended_long_double): Define as an array of ieee754_double.
1808 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
1809 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
1810 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
1811 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1812 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1813 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
1814 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1815 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1816 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1817 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
1818 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1819
975569d0
JM
18202013-10-03 Joseph Myers <joseph@codesourcery.com>
1821
d3d23756
JM
1822 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
1823 page size instead of calling getpagesize.
1824
975569d0
JM
1825 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
1826 (LOCFILE_ALIGN_MASK): Likewise.
1827 (LOCFILE_ALIGN_UP): Likewise.
1828 (LOCFILE_ALIGNED_P): Likewise.
1829 * locale/programs/ld-collate.c (collate_output): Use the new
1830 macros instead of __alignof__ (int32_t).
1831 * locale/weight.h (findidx): Likewise.
1832
b1fe1f2b
OB
18332013-10-03 Ondřej Bílka <neleai@seznam.cz>
1834
1835 [BZ #431]
1836 * manual/string.texi: Fix strncat and wcsncat.
1837
5f855e35
BM
18382013-10-03 Brooks Moses <bmoses@google.com>
1839
1840 [BZ #15915]
1841 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
1842 * Makerules: ...here, and adjust associated comments.
1843
3cef6009
WN
18442013-10-02 Will Newton <will.newton@linaro.org>
1845
1846 * malloc/Makefile: Add tst-pvalloc.
1847 * malloc/tst-pvalloc.c: New file.
1848
7815420b
WN
18492013-10-02 Will Newton <will.newton@linaro.org>
1850
1851 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
1852 improve test coverage.
1853
4868b204
WN
18542013-10-02 Will Newton <will.newton@linaro.org>
1855
1856 * malloc/Makefile: Add tst-posix_memalign.
1857 * malloc/tst-posix_memalign.c: New file.
1858
29c793b3
EB
18592013-10-01 Eric Blake <eblake@redhat.com>
1860
1861 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
1862 Use __THROWNL rather than __THROW on static functions.
1863
fd967522
PM
18642013-09-30 Petr Machata <pmachata@redhat.com>
1865
1866 * elf/elf.h (R_AARCH64_ABS16): New macro.
1867 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
1868 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
1869 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
1870 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
1871 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
1872 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
1873 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
1874 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
1875 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
1876 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
1877 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
1878 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
1879 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
1880 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
1881 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
1882 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
1883 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
1884 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
1885 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
1886 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
1887 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
1888 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
1889 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
1890 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
1891 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
1892 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
1893 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
1894 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
1895 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
1896 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
1897 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
1898 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
1899 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
1900 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
1901 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
1902 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
1903 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
1904 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
1905 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
1906 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
1907 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
1908 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
1909 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
1910 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
1911 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
1912 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
1913 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
1914 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
1915 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
1916 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
1917 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
1918 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
1919 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
1920 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
1921 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
1922 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
1923 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
1924 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
1925 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
1926 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
1927 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
1928 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
1929 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
1930 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
1931 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
1932 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
1933 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
1934 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
1935 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
1936 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
1937 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
1938 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
1939 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
1940 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
1941 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
1942 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
1943 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
1944 (R_AARCH64_TLSDESC_LDR): Likewise.
1945 (R_AARCH64_TLSDESC_ADD): Likewise.
1946 (R_AARCH64_TLSDESC_CALL): Likewise.
1947
b2179107
AS
19482013-09-30 Andreas Schwab <schwab@suse.de>
1949
1950 [BZ #15048]
1951 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
1952 the nss database lookup.
1953 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1954 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1955
47f28d0a
MF
19562013-09-28 Mike Frysinger <vapier@gentoo.org>
1957
1958 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
1959
19602013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
1961
1962 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
1963 ${Bash-specific parameter/pattern/string} parameter expansion.
1964 * sysdeps/unix/make-syscalls.sh: Likewise.
1965
f4518a17
KK
19662013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1967
1968 * sysdeps/sh/stackguard-macros.h: New file.
1969
dc1a95c7
OB
19702013-09-26 Ondřej Bílka <neleai@seznam.cz>
1971
1972 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1973 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
1974 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
1975 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
1976 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1977 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
1978
5ebbff8f
AZ
19792013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1980
1981 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
1982 Fix thread ID register.
1983
4fd2cf9f
JM
19842013-09-25 Joseph Myers <joseph@codesourcery.com>
1985
1986 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
1987 [POSIX || UNIX98]: Require rather than permitting all symbols from
1988 <time.h>.
1989 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
1990 element of struct sched_param.
1991 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
1992 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
1993 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
1994 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
1995 constant.
1996
12c22bc4
OL
19972013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
1998
1999 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
2000 argument calculation.
2001
a03d8ea7
JM
20022013-09-24 Joseph Myers <joseph@codesourcery.com>
2003
2004 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
2005 Expect macro.
2006 [POSIX] (pthread_attr_t): Do not require type.
2007 [POSIX] (pthread_cond_t): Likewise.
2008 [POSIX] (pthread_condattr_t): Likewise.
2009 [POSIX] (pthread_key_t): Likewise.
2010 [POSIX] (pthread_mutex_t): Likewise.
2011 [POSIX] (pthread_mutexattr_t): Likewise.
2012 [POSIX] (pthread_once_t): Likewise.
2013 [POSIX] (pthread_t): Likewise.
2014 [POSIX-based standards] (pthread_atfork): Expect function.
2015
6055173a
JM
20162013-09-24 Joseph Myers <joseph@codesourcery.com>
2017 Richard Sandiford <richard@codesourcery.com>
2018
2019 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
2020 (swap_endianness_p): New extern variable.
2021 (set_big_endian): New inline function.
2022 (maybe_swap_uint32): Likewise.
2023 (maybe_swap_uint32_array): Likewise.
2024 (maybe_swap_uint32_obstack): Likewise.
2025 * locale/programs/locfile.c: Include <stdbool.h>.
2026 (swap_endianness_p): New variable.
2027 (add_locale_uint32): Call maybe_swap_uint32.
2028 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
2029 (write_locale_data): Call maybe_swap_uint32_array.
2030 * locale/programs/ld-collate.c (obstack_int32_grow): Call
2031 maybe_swap_uint32.
2032 (obstack_int32_grow_fast): Likewise.
2033 (output_weightwc): Call maybe_swap_uint32_obstack.
2034 (collate_output): Likewise.
2035 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
2036 (OPT_LITTLE_ENDIAN): Likewise.
2037 (options): Add --little-endian and --big-endian options.
2038 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
2039 * locale/programs/locarchive.c: Include "locfile.h".
2040 (GET): New macro.
2041 (SET): Likewise.
2042 (INC): Likewise.
2043 (create_archive): Use the new macros to access fields of
2044 structures directly mapped from or written to locale archives.
2045 (oldlocrecentcmp): Likewise.
2046 (enlarge_archive): Likewise.
2047 (insert_name): Likewise.
2048 (add_alias): Likewise.
2049 (add_locale): Likewise.
2050 (delete_locales_from_archive): Likewise.
2051 (show_archive_content): Likewise.
2052 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
2053 locale data.
2054
39bf0bb4
RM
20552013-09-24 Roland McGrath <roland@hack.frob.com>
2056
2057 * manual/freemanuals.texi: Updated from (newly) canonical copy at
2058 http://www.gnu.org/doc/freemanuals.texi.
2059 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
2060
f02eed10
WN
20612013-09-24 Will Newton <will.newton@linaro.org>
2062
2063 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
2064 macro.
2065
a3a6c312
JM
20662013-09-23 Joseph Myers <joseph@codesourcery.com>
2067
2068 * locale/hashval.h (compute_hashval): Interpret bytes of key as
2069 unsigned char.
2070
107375ac
MR
20712013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
2072
2073 * manual/threads.texi (POSIX Threads): Fix a typo.
2074
141f3a77
SP
20752013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2076
303e567a
SP
2077 [BZ #14547]
2078 * string/tst-strcoll-overflow.c: New test case.
2079 * string/Makefile (xtests): Add tst-strcoll-overflow.
2080 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
2081 cache if string sizes may cause integer overflow.
2082
141f3a77
SP
2083 [BZ #14547]
2084 * string/strcoll_l.c (coll_seq): New members rule, idx,
2085 save_idx and back_us.
2086 (get_next_seq_nocache): New function.
2087 (do_compare_nocache): New function.
2088 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
2089 when malloc fails.
2090
c61b4d41
CD
20912013-09-23 Carlos O'Donell <carlos@redhat.com>
2092
0b1f8e35
CD
2093 [BZ #15754]
2094 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
2095 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
2096 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
2097
c61b4d41
CD
2098 [BZ #15754]
2099 * elf/Makefile (tests): Add tst-ptrguard1.
2100 (tests-static): Add tst-ptrguard1-static.
2101 (tst-ptrguard1-ARGS): Define.
2102 (tst-ptrguard1-static-ARGS): Define.
2103 * elf/tst-ptrguard1.c: New file.
2104 * elf/tst-ptrguard1-static.c: New file.
2105 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
2106 * sysdeps/i386/stackguard-macros.h: Likewise.
2107 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2108 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2109 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2110 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2111 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2112 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2113
21142013-09-23 Hector Marco <hecmargi@upv.es>
2115 Ismael Ripoll <iripoll@disca.upv.es>
2116 Carlos O'Donell <carlos@redhat.com>
2117
2118 [BZ #15754]
2119 * sysdeps/generic/stackguard-macros.h: Define
2120 __pointer_chk_guard_local and POINTER_CHK_GUARD.
2121 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
2122 Define __pointer_chk_guard_local.
2123 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
2124 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
2125
f5f4e7b4
VV
21262013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
2127
2128 [BZ #15859]
2129 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
2130
5bb43a43
AS
21312013-09-20 Andreas Schwab <schwab@linux-m68k.org>
2132
2133 * include/string.h (__ffs): Declare as hidden.
2134 * string/ffs.c (__ffs): Define as hidden.
2135 * sysdeps/i386/ffs.c (__ffs): Likewise.
2136 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
2137 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
2138 * sysdeps/s390/ffs.c (__ffs): Likewise.
2139 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
2140
3ea5be54
AO
21412013-09-20 Alexandre Oliva <aoliva@redhat.com>
2142
ffb89e53
AO
2143 * NEWS: Mention malloc probes.
2144
322dea08
AO
2145 * malloc/arena.c (new_heap): New memory_heap_new probe.
2146 (grow_heap): New memory_heap_more probe.
2147 (shrink_heap): New memory_heap_less probe.
2148 (heap_trim): New memory_heap_free probe.
2149 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
2150 (systrim): New memory_sbrk_less probe.
2151 * manual/probes.texi: Document them.
2152
655673f3
AO
2153 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
2154 * manual/probes.texi: Document it.
2155
35fed6f1
AO
2156 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
2157 (__libc_realloc): Add memory_realloc_retry probe.
2158 (__libc_memalign): Add memory_memalign_retry probe.
2159 (__libc_valloc): Add memory_valloc_retry probe.
2160 (__libc_pvalloc): Add memory_pvalloc_retry probe.
2161 (__libc_calloc): Add memory_calloc_retry probe.
2162 * manual/probes.texi: Document them.
2163
6999d38c
AO
2164 * malloc/arena.c (get_free_list): Add probe
2165 memory_arena_reuse_free_list.
2166 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
2167 and memory_arena_reuse.
2168 (arena_get2) [!PER_THREAD]: Likewise.
2169 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
2170 memory_arena_reuse_realloc.
2171 * manual/probes.texi: Document them.
2172
0653427f
AO
2173 * malloc/malloc.c (__libc_free): Add
2174 memory_mallopt_free_dyn_thresholds probe.
2175 (__libc_mallopt): Add multiple memory_mallopt probes.
2176 * manual/probes.texi: Document them.
2177
3ea5be54
AO
2178 * malloc/malloc.c: Include stap-probe.h.
2179 (__libc_mallopt): Add memory_mallopt probe.
2180 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
2181 * manual/probes.texi: New.
2182 * manual/Makefile (chapters): Add probes.
2183 * manual/threads.texi: Set next node.
2184
e35696c3 21852013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 2186
e35696c3
CL
2187 [BZ #15963, #13985]
2188 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
2189 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
2190 Add `Chinese' to `nan' entry name.
2191
4aafb73c
SP
21922013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2193
2194 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
2195 (POLYNOMIAL): Likewise.
2196 (TAYLOR_SINCOS): Likewise.
2197 (TAYLOR_SLOW): Likewise.
2198 (__sin): Use TAYLOR_SINCOS.
2199 (__cos): Likewise.
2200 (slow): Use TAYLOR_SLOW.
2201 (sloww): Likewise.
2202 (bsloww): Likewise.
2203 (csloww): Likewise.
2204
d84f25c7
LD
22052013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2206
2207 * stdlib/strtod_l.c: Fix buffer overrun.
2208
5eea0404
SP
22092013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2210
7849ff93
SP
2211 * benchtests/Makefile (bench): Add sincos.
2212 * benchtests/bench-sincos.c: New file.
2213
cfa3c886
SP
2214 * math/libm-test.inc (cos_test_data): New test inputs.
2215 (sin_test_data): Likewise.
2216
b348e1e3
SP
2217 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
2218 macro.
2219 (__sin): Use it.
2220 (__cos): Likewise.
2221 (slow1): Likewise.
2222 (slow2): Likewise.
2223 (sloww1): Likewise.
2224 (sloww2): Likewise.
2225 (bsloww1): Likewise.
2226 (bsloww2): Likewise.
2227 (cslow2): Likewise.
2228 (csloww1): Likewise.
2229 (csloww2): Likewise.
2230
6cce25f8
SP
2231 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
2232 function.
2233 (__sin): Use it.
2234 (__cos): Likewise.
2235
5eea0404
SP
2236 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
2237 gotos.
2238 (__cos): Likewise.
2239
9c21573c
MR
22402013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
2241
2242 * config.h.in (HAVE_MIPS_NAN2008): New macro.
2243 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
2244 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
2245 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
2246 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
2247 * elf/cache.c (print_entry): Handle the new cache flags.
2248
24d22e65
JM
22492013-09-18 Joseph Myers <joseph@codesourcery.com>
2250 Aldy Hernandez <aldyh@redhat.com>
2251
2252 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
2253 Change condition to [_SOFT_FLOAT].
2254 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
2255 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
2256 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
2257 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
2258 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
2259 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
2260 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
2261 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
2262 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
2263 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
2264 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
2265 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
2266 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
2267 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
2268 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
2269 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
2270 declaration.
2271
d13ef066
JM
22722013-09-18 Joseph Myers <joseph@codesourcery.com>
2273
2e071de0
JM
2274 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
2275 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2276 (__longjmp): Use LOAD_GP to load saved GPRs.
2277 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
2278 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2279 (__sigsetjmp): Use SAVE_GP to save GPRs.
2280
d13ef066
JM
2281 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
2282 Do not append -msoft-float.
2283 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
2284
97a0650b
SP
22852013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2286
2287 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
2288
11ca09e9
JM
22892013-09-17 Joseph Myers <joseph@codesourcery.com>
2290
2291 [BZ #15966]
2292 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
2293 (_FPU_GETCW): Use initial "__" on variable and field names but not
2294 on macro parameter name.
2295 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
2296 parentheses around reference to macro parameter.
2297
08ffcf34
RS
22982013-09-13 Richard Sandiford <richard@codesourcery.com>
2299
2300 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
2301 prototype.
2302 (ctype_startup): Use uint32_t in cast and sizeof for
2303 ctype->charnames.
2304
ae7080d3
JL
23052013-09-11 Jia Liu <proljc@gmail.com>
2306
2307 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
2308 __daddr_t_defined.
2309 [__FreeBSD__]: Likewise.
2310
5905e7b3
OB
23112013-09-11 Ondřej Bílka <neleai@seznam.cz>
2312
2313 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2314 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
2315 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
2316 (strchr): Remove __strchr_sse42 ifunc selection.
2317 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
2318 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
2319
b987c776
WN
23202013-09-11 Will Newton <will.newton@linaro.org>
2321
2322 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
2323 parameter to RES. Remove hardcoded 1000 value.
2324 * benchtests/bench-skeleton.c (main): Pass RES parameter
2325 to TIMING_INIT and multiply result by 1000.
2326
ddf985af
AZ
23272013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2328
2329 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2330
ffdd3181
AS
23312013-09-11 Andreas Schwab <schwab@suse.de>
2332
2333 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
2334 if not defined.
2335 (O_TMPFILE) [__USE_GNU]: Define.
2336 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
2337 Define.
2338
b73ed247
WN
23392013-09-11 Will Newton <will.newton@linaro.org>
2340
2341 [BZ #15857]
2342 * malloc/malloc.c (__libc_memalign): Check the value of bytes
2343 does not overflow.
2344
55e17aad
WN
23452013-09-11 Will Newton <will.newton@linaro.org>
2346
2347 [BZ #15856]
2348 * malloc/malloc.c (__libc_valloc): Check the value of bytes
2349 does not overflow.
2350
1159a193
WN
23512013-09-11 Will Newton <will.newton@linaro.org>
2352
2353 [BZ #15855]
2354 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
2355 does not overflow.
2356
5905e7b3 23572013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
2358
2359 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
2360 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2361 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2362 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2363 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2364
cdfc721b
AM
23652013-09-10 Allan McRae <allan@archlinux.org>
2366
aa04af00
AM
2367 [BZ #15748]
2368 * manual/arith.texi (Parsing of Floats): Clarify
2369 cross-reference.
2370
cdfc721b
AM
2371 [BZ #15849]
2372 * manual/install.texi (Running make install): Mention
2373 --enable-pt-chown.
2374 * INSTALL: Regenerated.
2375
95e7cf29
MR
23762013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2377
2378 * csu/init-first.c (_init): Remove the !SHARED condition around
2379 FPU control word initialization.
2380 * elf/dl-support.c (_dl_fpu_control): New variable.
2381 (_dl_aux_init) <AT_FPUCW>: Initialize it.
2382 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
2383 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
2384 * math/test-fpucw-static.c: New file.
2385 * math/test-fpucw-ieee.c: New file.
2386 * math/test-fpucw-ieee-static.c: New file.
2387 * math/Makefile (tests): Add `test-fpucw-ieee' and
2388 `$(tests-static)'.
2389 (tests-static): New variable.
2390 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
2391 dependency to...
2392 [($(build-shared),yes)]
2393 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2394 ... this.
2395 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
2396 New dependency.
2397
83e43bf0
AM
23982013-09-09 Allan McRae <allan@archlinux.org>
2399
a9f5ce09
AM
2400 [BZ #15939]
2401 * manual/string.texi (Collation Functions): Fix typo in
2402 strcoll example.
2403 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
2404
34829bc2
AM
2405 [BZ #15893]
2406 * stdlib/isomac.c (get_null_defines): Fix memory leak.
2407
3932737d
AM
2408 [BZ #15892]
2409 * libio/memstream.c (open_memstream): Fix memory leak.
2410 * libio/wmemstream.c (open_wmemstream): Likewise.
2411
83e43bf0
AM
2412 [BZ #15895]
2413 * nscd/netgroupcache.c: Fix nesting of ifdefs.
2414
0c66b8e9
WN
24152013-09-09 Will Newton <will.newton@linaro.org>
2416
2417 * malloc/Makefile: Add tst-realloc to tests.
2418 * malloc/tst-realloc.c: New file.
2419
f6b00fd1
AM
24202013-09-09 Allan McRae <allan@archlinux.org>
2421
2422 [BZ #15844]
2423 * COPYING: Update from GNU website to fix FSF address.
2424 * COPYING.LIB: Likewise.
2425
eec55e16
DM
24262013-09-06 David S. Miller <davem@davemloft.net>
2427
2428 * po/zh_TW.po: Update Chinese (traditional) translation from
2429 translation project.
2430
1ecbb381
RS
24312013-09-06 Richard Sandiford <richard@codesourcery.com>
2432 Joseph Myers <joseph@codesourcery.com>
2433
2434 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
2435 "localeinfo.h".
2436 (obstack_chunk_alloc): New macro.
2437 (obstack_chunk_free): Likewise.
2438 (record_offset): New function.
2439 (init_locale_data): Likewise.
2440 (align_locale_data): Likewise.
2441 (add_locale_empty): Likewise.
2442 (add_locale_raw_data): Likewise.
2443 (add_locale_raw_obstack): Likewise.
2444 (add_locale_string): Likewise.
2445 (add_locale_wstring): Likewise.
2446 (add_locale_uint32): Likewise.
2447 (add_locale_uint32_array): Likewise.
2448 (add_locale_char): Likewise.
2449 (start_locale_structure): Likewise.
2450 (end_locale_structure): Likewise.
2451 (start_locale_prelude): Likewise.
2452 (end_locale_prelude): Likewise.
2453 (write_locale_data): Take locale_file structure rather than an
2454 iovec.
2455 * locale/programs/locfile.h: Include "obstack.h".
2456 (struct locale_file): Change to store locale file contents instead
2457 of header.
2458 (init_locale_data): New prototype.
2459 (align_locale_data): Likewise.
2460 (add_locale_empty): Likewise.
2461 (add_locale_raw_data): Likewise.
2462 (add_locale_raw_obstack): Likewise.
2463 (add_locale_string): Likewise.
2464 (add_locale_wstring): Likewise.
2465 (add_locale_uint32): Likewise.
2466 (add_locale_uint32_array): Likewise.
2467 (add_locale_char): Likewise.
2468 (start_locale_structure): Likewise.
2469 (end_locale_structure): Likewise.
2470 (start_locale_prelude): Likewise.
2471 (end_locale_prelude): Likewise.
2472 (write_locale_data): Update prototype.
2473 * locale/programs/3level.h (struct TABLE): Remove result field.
2474 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
2475 Use new locale_file interface.
2476 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
2477 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
2478 * locale/programs/ld-address.c (address_output): Use new
2479 locale_file interface.
2480 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
2481 NO_ADD_LOCALE.
2482 (collate_finish): Don't call collseq_table_finalize.
2483 (collate_output): Use new locale_file interface.
2484 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
2485 in file.
2486 (NO_FINALIZE): Change to NO_ADD_LOCALE.
2487 (TABLE): Move defines earlier in file.
2488 (ELEMENT): Likewise.
2489 (DEFAULT): Likewise.
2490 (wctrans_table_add): Move macro and inline function earlier in
2491 file.
2492 (struct wctype_table): Move type earlier in file.
2493 (add_locale_wctype_table): New static prototype.
2494 (struct locale_ctype_t): Use logical types instead of struct iovec
2495 pointers for members.
2496 (ctype_output): Use new locale_file interface.
2497 (wctype_table_finalize): Change to add_locale_wctype_table. Use
2498 new locale_file interface.
2499 (allocate_arrays): Update for use of new locale_file interface.
2500 * locale/programs/ld-identification.c (identification_output): Use
2501 new locale_file interface.
2502 * locale/programs/ld-measurement.c (measurement_output): Likewise.
2503 * locale/programs/ld-messages.c (messages_output): Likewise.
2504 * locale/programs/ld-monetary.c (monetary_output): Likewise.
2505 * locale/programs/ld-name.c (name_output): Likewise.
2506 * locale/programs/ld-numeric.c (numeric_output): Likewise.
2507 * locale/programs/ld-paper.c (paper_output): Likewise.
2508 * locale/programs/ld-telephone.c (telephone_output): Likewise.
2509 * locale/programs/ld-time.c (time_output): Likewise.
2510
e029e2e5
AZ
25112013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2512
2513 * benchtests/Makefile: Add memrchr benchmark.
2514 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
2515 benchmark as memrchr.
2516 * benchtests/bench-memrchr-ifunc.c: New file.
2517 * benchtests/bench-memrchr.c: New file.
2518
bbf6e8e4
WN
25192013-09-06 Will Newton <will.newton@linaro.org>
2520
2521 * benchtests/Makefile (string-bench): Add memcpy.
2522
6c82a2f8
CD
25232013-09-05 Carlos O'Donell <carlos@redhat.com>
2524 Cong Wang <amwang@redhat.com>
2525
2526 * sysdeps/unix/sysv/linux/bits/in.h
2527 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
2528 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
2529 before __USE_KERNEL_IPV6_DEFS uses.
2530 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
2531 IPPROTO_BEETPH.
2532 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
2533 sockaddr_in6, or ipv6_mreq.
2534
5430fc65
AZ
25352013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2536
2537 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
2538 memory access for final bytes in some large inputs.
2539 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
2540
4660856c
AZ
25412013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2542
2543 * string/test-memrchr.c: New file.
2544 * string/test-memrchr-ifunc.c: New file.
2545 * string/Makefile: Add new memrchr testcase.
2546
bb8ea713
MF
25472013-09-05 Mike Frysinger <vapier@gentoo.org>
2548
2549 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
2550 fanotify_init returns EPERM.
2551
b92a20b5
JM
25522013-09-04 Joseph Myers <joseph@codesourcery.com>
2553
2554 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
2555 errors.
2556 (top level): Treat second token from macro or constant entries for
2557 allowed headers as allowed.
2558 * include/complex.h: Condition internal declarations on
2559 [!_ISOMAC].
2560 * include/fenv.h: Condition include of <stdbool.h> and internal
2561 declarations on [!_ISOMAC].
7447ccd9
CL
2562
25632013-09-04 Chris Leonard <cjl@sugarlabs,.org>
2564
3e181dda 2565 [BZ #15923]
7447ccd9
CL
2566 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
2567
3f2e46a4
JM
25682013-09-04 Joseph Myers <joseph@codesourcery.com>
2569
2570 * configure.in (--enable-versioning): Remove configure option.
2571 (libc_cv_asm_symver_directive): Remove configure test.
2572 (libc_cv_ld_version_script_option): Likewise.
2573 (VERSIONING): Remove variable and AC_SUBST.
2574 (DO_VERSIONING): Remove AC_DEFINE.
2575 * configure: Regenerated.
2576 * config.h.in (DO_VERSIONING): Remove macro.
2577 * Makerules [$(versioning) = yes]: Change conditionals to
2578 [$(build-shared) = yes].
2579 * config.make.in (versioning): Remove variable.
2580 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
2581 [$(build-shared) = yes].
2582 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
2583 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
2584 * elf/Makefile [$(versioning) = yes]: Change conditionals to
2585 [$(build-shared) = yes].
2586 * extra-lib.mk [$(versioning) = yes]: Likewise.
2587 * hurd/Makefile [$(versioning) = yes]: Likewise.
2588 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
2589 [SHARED].
2590 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
2591 [SHARED].
2592 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2593 [SHARED && !NO_HIDDEN].
2594 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
2595 [SHARED].
2596 [SHARED && DO_VERSIONING]: Likewise..
2597 * libio/Makefile [$(versioning) = yes]: Change conditionals to
2598 [$(build-shared) = yes].
2599 * manual/install.texi (--disable-versioning): Remove
2600 documentation.
2601 * INSTALL: Regenerated.
2602 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
2603 to [SHARED].
2604 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
2605 [$(build-shared) = yes].
2606 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
2607 * sysdeps/i386/i686/multiarch/strstr-c.c
2608 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2609 [SHARED && !NO_HIDDEN].
2610 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
2611 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
2612 * sysdeps/powerpc/powerpc32/dl-machine.c
2613 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
2614 * sysdeps/powerpc/powerpc32/sysdep.h
2615 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
2616 to [SHARED && PIC && !NO_HIDDEN].
2617 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
2618 conditional to [SHARED].
2619
44558701
WN
26202013-09-04 Will Newton <will.newton@linaro.org>
2621
2622 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
2623 * benchtests/bench-string.h: Include bench-timing.h instead
2624 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
2625 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
2626 call to HP_TIMING_DIFF_INIT.
2627 * benchtests/bench-memccpy.c: Use bench-timing.h macros
2628 instead of hp-timing.h macros.
2629 * benchtests/bench-memchr.c: Likewise.
2630 * benchtests/bench-memcmp.c: Likewise.
2631 * benchtests/bench-memcpy.c: Likewise.
2632 * benchtests/bench-memmem.c: Likewise.
2633 * benchtests/bench-memmove.c: Likewise.
2634 * benchtests/bench-memset.c: Likewise.
2635 * benchtests/bench-rawmemchr.c: Likewise.
2636 * benchtests/bench-strcasecmp.c: Likewise.
2637 * benchtests/bench-strcasestr.c: Likewise.
2638 * benchtests/bench-strcat.c: Likewise.
2639 * benchtests/bench-strchr.c: Likewise.
2640 * benchtests/bench-strcmp.c: Likewise.
2641 * benchtests/bench-strcpy.c: Likewise.
2642 * benchtests/bench-strcpy_chk.c: Likewise.
2643 * benchtests/bench-strlen.c: Likewise.
2644 * benchtests/bench-strncasecmp.c: Likewise.
2645 * benchtests/bench-strncat.c: Likewise.
2646 * benchtests/bench-strncmp.c: Likewise.
2647 * benchtests/bench-strncpy.c: Likewise.
2648 * benchtests/bench-strnlen.c: Likewise.
2649 * benchtests/bench-strpbrk.c: Likewise.
2650 * benchtests/bench-strrchr.c: Likewise.
2651 * benchtests/bench-strspn.c: Likewise.
2652 * benchtests/bench-strstr.c: Likewise.
2653
cae16d66
WN
26542013-09-04 Will Newton <will.newton@linaro.org>
2655
2656 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
2657
ffa3cd7f
JM
26582013-09-03 Joseph Myers <joseph@codesourcery.com>
2659
2660 [BZ #15427]
2661 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2662 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
2663 * math/libm-test.inc (lgamma_test_data): Add more tests.
2664 * sysdeps/i386/fpu/libm-test-ulps: Update.
2665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2666
8f02859f
OB
26672013-09-03 Ondřej Bílka <neleai@seznam.cz>
2668
2669 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
2670 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2671 Add ifunc.
2672 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2673 Add strcmp-sse2-unaligned
2674 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
2675
18d43716
MF
26762013-09-02 Mike Frysinger <vapier@gentoo.org>
2677
2678 * Versions.def (libc): Add GLIBC_2.19.
2679
ac444012
MF
26802013-09-02 Mike Frysinger <vapier@gentoo.org>
2681
2682 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
2683 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
2684
b7835e32
JM
26852013-09-02 Joseph Myers <joseph@codesourcery.com>
2686
2687 [BZ #14155]
2688 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
2689 intermediate calculations in recurrence.
2690 (__ieee754_ynf): Likewise.
2691 * math/libm-test.inc (jn_test_data): Do not allow spurious
2692 underflow exception. Add more tests.
2693 (yn_test_data): Add more tests.
2694 * sysdeps/i386/fpu/libm-test-ulps: Update.
2695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2696
8220f4f0
OB
26972013-09-02 Ondřej Bílka <neleai@seznam.cz>
2698
2699 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
2700
f24a6d08
OB
27012013-08-30 Ondřej Bílka <neleai@seznam.cz>
2702
2703 * csu/init-first.c: Fix then/than typos.
2704 * locale/programs/ld-collate.c: Likewise.
2705 * locale/programs/linereader.h: Likewise.
2706 * manual/charset.texi: Likewise.
2707 * manual/filesys.texi: Likewise.
2708 * manual/stdio.texi: Likewise.
2709 * manual/string.texi: Likewise.
2710 * stdlib/fmtmsg.c: Likewise.
2711 * sysdeps/i386/stpncpy.S: Likewise.
2712 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2713 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2714 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2715 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2716
382466e0
OB
27172013-08-30 Ondřej Bílka <neleai@seznam.cz>
2718
2719 * elf/dl-open.c: Fix typos.
2720 * iconvdata/gbbig5.c: Likewise.
2721 * iconvdata/iso-2022-jp.c: Likewise.
2722 * iconv/gconv_int.h: Likewise.
2723 * iconv/loop.c: Likewise.
2724 * nis/rpcsvc/nis.h: Likewise.
2725 * resolv/ns_name.c: Likewise.
2726 * stdio-common/vfscanf.c: Likewise.
2727 * streams/stropts.h: Likewise.
2728 * sunrpc/rpc_thread.c: Likewise.
2729 * sysdeps/i386/strpbrk.S: Likewise.
2730 * sysdeps/ieee754/k_standard.c: Likewise.
2731 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2732 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2733 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2734 * sysdeps/mach/hurd/profil.c: Likewise.
2735 * sysdeps/s390/dl-procinfo.h: Likewise.
2736 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2737 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2738 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
2739 * sysdeps/x86_64/dl-trampoline.S: Likewise.
2740 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2741
0186c6e9
OB
27422013-08-30 Ondřej Bílka <neleai@seznam.cz>
2743
2744 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
2745 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
2746
d4e16af1
OB
27472013-08-29 Ondřej Bílka <neleai@seznam.cz>
2748
2749 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
2750 aix specific files.
2751 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
2752 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
2753 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
2754 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
2755 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
2756 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
2757 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
2758 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
2759
88335980
TS
27602013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2761 Roland McGrath <roland@hack.frob.com>
2762
2763 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
2764 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2765
ed479b02
ST
27662013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
2767
2768 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
2769 __executable_start symbol instead of _start.
2770
f1cc4c86
TS
27712013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2772
d821f07c
TS
2773 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
2774 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
2775 Move macros to...
2776 * sysdeps/gnu/ldsodefs.h: ... this new file.
2777
c54290cf
TS
2778 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
2779 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
2780 instead of ELFOSABI_LINUX.
2781
0007fc9b 2782 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
2783 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
2784 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
2785 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
2786 Likewise.
2787 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
2788 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
2789 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
2790 Likewise.
2791 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2792 (ibm_extended_long_double): Add ieee_nan member.
2793 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
2794 (do_test): New function.
2795
f1cc4c86
TS
2796 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
2797 TEST_TRUNC.
2798 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
2799 functions, renamed from truncdfsf_test, trunctfsf_test,
2800 trunctfdf_test.
2801 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
2802 functions.
2803 (do_test): Run all these.
2804
6f65e668
OB
28052013-08-29 Ondřej Bílka <neleai@seznam.cz>
2806
2807 * argp/argp-help.c: Fix typos.
2808 * argp/argp-parse.c: Likewise.
2809 * debug/backtracesyms.c: Likewise.
2810 * elf/elf.h: Likewise.
2811 * malloc/malloc.c: Likewise.
2812 * nis/nis_print.c: Likewise.
2813 * resolv/res_comp.c: Likewise.
2814 * stdlib/stdlib.h: Likewise.
2815 * sunrpc/clnt_tcp.c: Likewise.
2816 * sunrpc/clnt_udp.c: Likewise.
2817 * sunrpc/clnt_unix.c: Likewise.
2818 * sysdeps/unix/bsd/ptsname.c: Likewise.
2819 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2820 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
2821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
2822 Likewise.
2823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2824 Likewise.
2825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2826 Likewise.
6f65e668
OB
2827 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2828
3a309239
SP
28292013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2830
2831 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
2832 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2833
3b813b29
MF
28342013-08-27 Mike Frysinger <vapier@gentoo.org>
2835
2836 [BZ #15897]
2837 * dlfcn/Makefile (tests): Add bug-dl-leaf.
2838 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
2839 ($(objpfx)bug-dl-leaf): New rule.
2840 ($(objpfx)bug-dl-leaf.so): Likewise.
2841 ($(objpfx)bug-dl-leaf.out): Likewise.
2842 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
2843 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
2844 * dlfcn/bug-dl-leaf.c: New test.
2845 * dlfcn/bug-dl-leaf-lib.c: Likewise.
2846 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
2847 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
2848 (dlclose): Likewise.
2849 (dlmopen): Likewise.
2850
8cc3269f
RM
28512013-08-27 Roland McGrath <roland@hack.frob.com>
2852
7f9d0034
RM
2853 * include/netdb.h [!_ISOMAC]:
2854 Don't include <tls.h>.
2855 (h_errno, __libc_h_errno): Move declaration and macros out of
2856 [_LIBC_REENTRANT].
2857
fb431262
RM
2858 * include/resolv.h [_RESOLV_H_]:
2859 Don't include <tls.h>.
2860 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
2861 * resolv/res_libc.c: Don't include <tls.h>.
2862 (_res): Use __attribute__ ((nocommon)) in place of
2863 __attribute__ ((section (".bss"))).
2864
bd81123a
RM
2865 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
2866 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
2867
c4e42566
RM
2868 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
2869
f890a59b
RM
2870 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
2871 only under [SIOCGIFCONF && SIOCGIFNETMASK].
2872
2873 * resolv/res_mkquery.c: Include <sys/time.h>.
2874
5d1f0a09
RM
2875 * inet/ifreq.c: Moved to ...
2876 * sysdeps/unix/ifreq.c: ... here.
2877 * inet/ifreq.c: New file, true stub version.
2878
6fcf28b3
RM
2879 * socket/sa_len.c: New file.
2880 * socket/Makefile (aux): Add it.
2881 * sysdeps/unix/sysv/linux/Makefile
2882 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
2883 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
2884 and #include <socket/sa_len.c>.
2885 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
2886 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
2887
e041fb8b
RM
2888 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
2889 * bits/socket.h: ... here.
2890
8cc3269f
RM
2891 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
2892 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
2893 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
2894
5d228a43
AS
28952013-08-27 Andreas Schwab <schwab@suse.de>
2896
45b8accc
AS
2897 [BZ #15736]
2898 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
2899 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
2900 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
2901 * string/test-strcasecmp.c (test_main): Run tests in several
2902 locales.
2903 * string/test-strncasecmp.c (test_main): Likewise.
2904
5d228a43
AS
2905 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
2906 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
2907 to __strcasecmp_nonascii and __strncasecmp_nonascii.
2908 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
2909 (__strncasecmp_ssse3) [PIC]: Likewise.
2910
59d112a4
RM
29112013-08-26 Roland McGrath <roland@hack.frob.com>
2912
53234cc3
RM
2913 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
2914
59d112a4
RM
2915 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
2916 instead of explicitly declaring xdecrypt.
2917 * nis/nss_nis/nis-publickey.c: Likewise.
2918
595aba70
SP
29192013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2920
2921 [BZ #15890]
2922 * nscd/aicache.c: Include res_hconf.h.
2923 (addhstaiX): Initialize res_hconf.
2924
ffabd393
AS
29252013-08-26 Andreas Schwab <schwab@suse.de>
2926
2927 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
2928 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
2929
e0a69f5c
SP
29302013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2931
2932 * nscd/aicache.c (addhstaiX): Fix indentation.
2933
8c12f01d
MF
29342013-08-25 Mike Frysinger <vapier@gentoo.org>
2935
2936 * configure.ac: Quote $build_pt_chown test.
2937 * configure: Regenerated.
2938
8fe89494
JM
29392013-08-23 Joseph Myers <joseph@codesourcery.com>
2940
2941 [BZ #15532]
2942 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
2943 * math/s_cexpf.c (__cexpf): Likewise.
2944 * math/s_cexpl.c (__cexpl): Likewise.
2945 * math/libm-test.inc (cexp_test_data): Correct expected return
2946 value for NaN + i0. Add another test.
2947
75b181d6
DM
29482013-08-22 David S. Miller <davem@davemloft.net>
2949
2950 * po/ca.po: Update Catalan translation from translation project.
936241e4 2951 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 2952
acd06bb1
JM
29532013-08-21 Joseph Myers <joseph@codesourcery.com>
2954
2955 [BZ #15797]
2956 * math/s_fdim.c (__fdim): Check for infinite arguments if result
2957 is infinite, not alongside NaN test.
2958 * math/s_fdimf.c (__fdimf): Likewise.
2959 * math/s_fdiml.c (__fdiml): Likewise.
2960 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
2961 errno is unchanged.
2962
c0c3f78a
OB
29632013-08-21 Ondřej Bílka <neleai@seznam.cz>
2964
2965 * argp/argp-help.c: Fix typos.
2966 * crypt/speeds.c: Likewise.
2967 * csu/check_fds.c: Likewise.
2968 * elf/dl-load.c: Likewise.
2969 * elf/dl-open.c: Likewise.
2970 * elf/reldep3.c: Likewise.
2971 * elf/reldep.c: Likewise.
2972 * elf/sprof.c: Likewise.
2973 * iconv/iconv_charmap.c: Likewise.
2974 * iconv/skeleton.c: Likewise.
2975 * iconv/strtab.c: Likewise.
2976 * io/lockf64.c: Likewise.
2977 * libio/libioP.h: Likewise.
2978 * resolv/gai_notify.c: Likewise.
2979 * resolv/ns_name.c: Likewise.
2980 * resolv/ns_samedomain.c: Likewise.
2981 * resolv/res_send.c: Likewise.
2982 * stdlib/random.c: Likewise.
2983 * sunrpc/rpc/xdr.h: Likewise.
2984 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
2985 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2986 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2987 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2988 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2989 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2990 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2991 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2992 * sysdeps/mach/hurd/check_fds.c: Likewise.
2993 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2994 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2995 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2996 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2997 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2998 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2999 * sysdeps/pthread/aio_notify.c: Likewise.
3000 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
3001 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
3002 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
3003 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3004 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3005
46ed1038
LD
30062013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3007
3008 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
3009 version if bit_Slow_SSE4_2 is set.
3010 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3011 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3012
d400dcac
AZ
30132013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3014
3015 [BZ #15867]
3016 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
3017 trampoline stack frame information.
3018 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
3019 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
3020 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
3021 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
3022 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
3023 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3024 (_libc_vdso_platform_setup): Initialize the signal trampolines.
3025 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
3026 sa_flags value.
3027 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
3028 interrupting a syscall and set with option SA_SIGINFO.
3029
42c8fdd8
JM
30302013-08-20 Joseph Myers <joseph@codesourcery.com>
3031
c980f2f4
JM
3032 [BZ #15531]
3033 * math/s_cproj.c (__cproj): Only return an infinity if one part of
3034 argument is infinite.
3035 * math/s_cprojf.c (__cprojf): Likewise.
3036 * math/s_cprojl.c (__cprojl): Likewise.
3037 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
3038 * math/libm-test.inc (cproj_test_data): Add more tests.
3039
0716c4fc
JM
3040 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
3041
42c8fdd8
JM
3042 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
3043 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
3044 size. Use __ffs to determine corresponding shift.
3045
b31469d0
JM
30462013-08-20 Joseph Myers <joseph@codesourcery.com>
3047 Roland McGrath <roland@hack.frob.com>
3048
3049 * Makefile (INSTALL): Remove trailing blank lines from output of
3050 makeinfo.
3051
4e39af6e
AK
30522013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3053
3054 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
3055 Align 32 bit compat elf_greg to 8 bytes.
3056
f315524e
AA
30572013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
3058
3059 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
3060
1326ba1a
SP
30612013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3062
3063 * string/strcoll_l.c (coll_seq): New structure.
3064 (get_next_seq_cached): New function.
3065 (get_next_seq): New function.
3066 (do_compare): New function.
3067 (STRCOLL): Use GNU style definition. Simplify implementation
3068 by using get_next_seq, get_next_seq_cached and do_compare.
3069
91ce4085
FW
30702013-08-16 Florian Weimer <fweimer@redhat.com>
3071
3072 [BZ #14699]
3073 CVE-2013-4237
3074 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
3075 member.
3076 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
3077 member.
3078 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
3079 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
3080 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
3081 conditional.
3082 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
3083 GETDENTS_64BIT_ALIGNED.
3084 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
3085 * manual/filesys.texi (Reading/Closing Directory): Document
3086 ENAMETOOLONG return value of readdir_r. Recommend readdir more
3087 strongly.
3088 * manual/conf.texi (Limits for Files): Add portability note to
3089 NAME_MAX, PATH_MAX.
3090 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
3091
ca0a6bc4
AS
30922013-08-13 Andreas Schwab <schwab@suse.de>
3093
3094 [BZ #15749]
3095 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
3096 of fabs.
3097 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
3098 LDBL_MAX_EXP >= 16384]: Add tests for it.
3099
6c1fd795
DM
31002013-08-12 David S. Miller <davem@davemloft.net>
3101
3102 * version.h (RELEASE): Set to "development".
3103 (VERSION): Set to "2.18.90".
3104 * NEWS: Add 2.19 section.
3105
31ad488d
DM
31062013-08-03 David S. Miller <davem@davemloft.net>
3107
3108 * po/ko.po: Update Korean translation from translation project.
3109
db24e684
DM
31102013-08-01 David S. Miller <davem@davemloft.net>
3111
3112 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
3113 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
3114 Bilka.
3115
f723285b
DM
31162013-07-30 David S. Miller <davem@davemloft.net>
3117
3118 * po/fr.po: Update French translation from translation project.
3119
3cbc52db
DM
31202013-07-28 David S. Miller <davem@davemloft.net>
3121
30bbc0cc
DM
3122 * po/cs.po: Update Czech translation from translation project.
3123
3cbc52db
DM
3124 * po/sv.po: Update Swedish translation from translation project.
3125
d492e6d0
DM
31262013-07-27 David S. Miller <davem@davemloft.net>
3127
f1a7f492
DM
3128 * po/eo.po: Update Esperanto translation from translation project.
3129
90e62a4a
DM
3130 * po/vi.po: Update Vietnamese translation from translation project.
3131
d492e6d0
DM
3132 * po/de.po: Update German translation from translation project.
3133
d4baa62d
DM
31342013-07-26 David S. Miller <davem@davemloft.net>
3135
641aa7b4
DM
3136 * po/bg.po: Update Bulgarian translation from translation project.
3137
d4baa62d
DM
3138 * po/nl.po: Update Dutch translation from translation project.
3139 * po/pl.po: Update Polish translation from translation project.
3140 * po/ru.po: Update Russian translation from translation project.
3141
61a9dcb9
DM
31422013-07-24 David S. Miller <davem@davemloft.net>
3143
3144 * po/libc.pot: Update.
3145
7b1f8b58
AZ
31462013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3147
3148 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
3149 variable page size.
3150 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
3151 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
3152 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
3153
a8fc7a03
AK
31542013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3155
3156 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
3157
e4608715
CD
31582013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3159 Andreas Schwab <schwab@suse.de>
3160 Roland McGrath <roland@hack.frob.com>
3161 Joseph Myers <joseph@codesourcery.com>
3162 Carlos O'Donell <carlos@redhat.com>
3163
3164 [BZ #15755]
3165 * config.h.in: Define HAVE_PT_CHOWN.
3166 * config.make.in (build-pt-chown): New variable.
3167 * configure.in (--enable-pt_chown): New configure option.
3168 * configure: Regenerate.
3169 * login/Makefile: Include Makeconfig. Build pt_chown only if
3170 build-pt-chown is enabled.
3171 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
3172 pt_chown to fix pty ownership.
3173 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
3174 CLOSE_ALL_FDS.
3175 * manual/install.texi (Configuring and compiling): Mention
3176 --enable-pt_chown. Add @findex for grantpt.
3177 * INSTALL: Regenerate.
3178
da2d62df
DM
31792013-07-20 David S. Miller <davem@davemloft.net>
3180
3181 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
3182 difference between 32-bit and 64-bit.
3183
d7e06450
CD
31842013-07-15 Carlos O'Donell <carlos@redhat.com>
3185
3186 [BZ #15711]
3187 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
3188 Avoid system header dependency with -ffreestanding.
3189 ($(objpfx)bits/syscall%d): Likewise.
3190
f959cfd7
DM
31912013-07-13 David S. Miller <davem@davemloft.net>
3192
3193 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
3194 underflows from atanl/atan2l due to bug 15319.
3195 (casinh_test_data): Likewise.
3196
c61f8513
DM
31972013-07-07 David S. Miller <davem@davemloft.net>
3198
3199 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3200
72c90ed0
JA
32012013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
3202
3203 * sysdeps/i386/fpu/libm-test-ulps: Update.
3204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3205
52dfbe13
SP
32062013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3207
3208 * configure.in (--enable-lock-elision): Fix message text.
3209 * INSTALL: Regenerate.
3210 * configure: Regenerate.
3211
3f169543
AZ
32122013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3213
3214 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3215
521c6785
AJ
32162013-07-03 Andreas Jaeger <aj@suse.de>
3217
3218 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
3219 define.
3220 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
3221 (ptrace_peeksiginfo_args): Add.
3222 (__ptrace_peeksiginfo_flags): Add.
3223 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3224 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3225 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3226
d2cc15cb
AM
32272013-07-03 Allan McRae <allan@archlinux.org>
3228
3229 * sysdeps/i386/fpu/libm-test-ulps: Update.
3230
3aaeeca7
DM
32312013-07-02 David S. Miller <davem@davemloft.net>
3232
3233 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3234
5314ed1a
MT
32352013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
3236
3237 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3238
67338156
JM
32392013-07-02 Joseph Myers <joseph@codesourcery.com>
3240
3241 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3243
1717da59
AK
32442013-07-02 Andi Kleen <ak@linux.intel.com>
3245
3246 * config.h.in (ENABLE_LOCK_ELISION): Add.
3247 * configure.in (--enable-lock-elision): Add option.
3248 * manual/install.texi: Document --enable lock elision.
3249 * configure: Regenerate
3250 * INSTALL: Regenerate.
3251
1c81621c
L
32522013-07-02 H.J. Lu <hongjiu.lu@intel.com>
3253
3254 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
3255 SSE4.2 strcasecmp for libc.a.
3256 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3257
77f01ab5
JM
32582013-07-02 Joseph Myers <joseph@codesourcery.com>
3259
3260 [BZ #13304]
3261 * soft-fp/op-common.h (_FP_FMA): New macro.
3262 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
3263 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
3264 (_FP_MUL_MEAT_1_imm): ... here.
3265 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
3266 (_FP_MUL_MEAT_1_wide): ... here.
3267 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
3268 (_FP_MUL_MEAT_1_hard): ... here.
3269 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
3270 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
3271 (_FP_MUL_MEAT_2_wide): ... here.
3272 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
3273 (_FP_MUL_MEAT_2_wide_3mul): ... here.
3274 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
3275 (_FP_MUL_MEAT_2_gmp): ... here.
3276 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
3277 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
3278 (_FP_MUL_MEAT_4_wide): ... here.
3279 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
3280 (_FP_MUL_MEAT_4_gmp): ... here.
3281 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
3282 (_FP_WFRACBITS_DW_S): Likewise.
3283 (_FP_WFRACXBITS_DW_S): Likewise.
3284 (_FP_HIGHBIT_DW_S): Likewise.
3285 (FP_FMA_S): Likewise.
3286 (_FP_FRAC_HIGH_DW_S): Likewise.
3287 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
3288 (_FP_WFRACBITS_DW_D): Likewise.
3289 (_FP_WFRACXBITS_DW_D): Likewise.
3290 (_FP_HIGHBIT_DW_D): Likewise.
3291 (FP_FMA_D): Likewise.
3292 (_FP_FRAC_HIGH_DW_D): Likewise.
3293 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
3294 (_FP_WFRACBITS_DW_E): Likewise.
3295 (_FP_WFRACXBITS_DW_E): Likewise.
3296 (_FP_HIGHBIT_DW_E): Likewise.
3297 (FP_FMA_E): Likewise.
3298 (_FP_FRAC_HIGH_DW_E): Likewise.
3299 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
3300 (_FP_WFRACBITS_DW_Q): Likewise.
3301 (_FP_WFRACXBITS_DW_Q): Likewise.
3302 (_FP_HIGHBIT_DW_Q): Likewise.
3303 (FP_FMA_Q): Likewise.
3304 (_FP_FRAC_HIGH_DW_Q): Likewise.
3305 * soft-fp/fmasf4.c: New file.
3306 * soft-fp/fmadf4.c: Likewise.
3307 * soft-fp/fmatf4.c: Likewise.
3308
6308fd9a
LD
33092013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3310
3311 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
3312 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
3313 Silvermont.
3314 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
3315 macro.
3316 (index_Slow_SSE4_2): Likewise.
3317 (index_Prefer_PMINUB_for_stringop): Likewise.
3318 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
3319 bit_Slow_SSE4_2 is set.
3320 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3321 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3322
89cd9569
RA
33232013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3324
3325 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
3326 rtld_global._dl_hwcap2.
3327 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
3328 POWER8.
3329 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
3330 POWER8 feature descriptions defined in _dl_hwcap2.
3331 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
3332 string handling for POWER8 feature bits.
3333 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
3334 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
3335 _dl_powerpc_cap_flags.
3336 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
3337 * sysdeps/powerpc/rtld-global-offsets.sym
3338 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
3339 _dl_hwcap2 in the rtld_global_ro structure.
3340
1ae8bfe0
RA
33412013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3342
3343 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
3344 hardware capabilities in support of AT_HWCAP2.
3345 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
3346 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
3347 GLRO(dl_hwcap2).
3348 (_dl_show_auxv): Add support for calling _dl_procinfo to display
3349 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
3350 explicitly the unknown a_type display mechanism is used.
3351 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
3352 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
3353 struct member.
3354 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
3355 to macro prototype for AT_HWCAP2 support.
3356 * sysdeps/i386/dl-procinfo.h: Likewise.
3357 * sysdeps/s390/dl-procinfo.h: Likewise.
3358 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
3359 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
3360 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
3361 return -1 for unknown a_type display fallback.
3362 * sysdeps/sparc/dl-procinfo.h: Likewise.
3363 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
3364 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3365
8fbec010
JM
33662013-06-28 Joseph Myers <joseph@codesourcery.com>
3367
3368 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
3369 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
3370
0432680e
PY
33712013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
3372
3373 [BZ #12492]
3374 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
3375 mprotect making __stack_prot writable.
3376
ce61a2ad
NF
33772013-06-28 Nathan Froyd <froydnj@codesourcery.com>
3378 Joseph Myers <joseph@codesourcery.com>
3379
3380 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
3381 as being properly aligned.
3382
f91f1c0f
MR
33832013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
3384
3d0f5d0c
MR
3385 * dlfcn/modstatic5.c: New file.
3386 * dlfcn/tststatic5.c: New file.
3387 * dlfcn/Makefile (tests): Add tststatic5.
3388 (tests-static): Likewise.
3389 (modules-names): Add modstatic5.
3390 (tststatic5-ENV): New variable.
3391 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
3392
f91f1c0f
MR
3393 [BZ #15022]
3394 * elf/dl-support.c (_dl_main_map): New variable.
3395 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
3396 (_dl_nns, _dl_load_adds): Set to 1.
3397 (_dl_initial_searchlist): Refer to _dl_main_map.
3398 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
3399 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
3400 call to _dl_get_origin.
3401 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
3402 around call_map.
3403 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
3404 * dlfcn/modstatic3.c: New file.
3405 * dlfcn/tststatic3.c: New file.
3406 * dlfcn/tststatic4.c: New file.
3407 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
3408 (tests-static): Likewise.
3409 (modules-names): Add modstatic3.
3410 (tststatic3-ENV, tststatic4-ENV): New variables.
3411 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
3412 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
3413
cbe7d24b
JM
34142013-06-26 Joseph Myers <joseph@codesourcery.com>
3415
3416 * configure.in (CC): Require GCC version 4.4 or later.
3417 * configure: Regenerated.
3418 * manual/install.texi (Tools for Compilation): Update GCC version
3419 requirement.
3420 * INSTALL: Regenerated.
3421
11b8a0e1
LD
34222013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3423
3424 [BZ #15674]
bb5bb87c
L
3425 * string/test-memcmp.c (check2): New.
3426 (main): Call check2.
3427
11b8a0e1
LD
3428 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
3429
b0037103
MR
34302013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
3431
3432 [BZ #15022]
3433 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
3434 over to...
3435 (dl_open_worker) [!SHARED]: ... here.
3436
c18c701d
RA
34372013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3438
3439 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
3440
1d17fa5f
RH
34412013-06-25 Richard Henderson <rth@redhat.com>
3442
3443 * locale/programs/locarchive.c: Include <libc-internal.h>
3444
8fcb833a
JM
34452013-06-25 Joseph Myers <joseph@codesourcery.com>
3446
3447 * manual/texinfo.tex: Update to version 2013-06-21.17, with
3448 trailing whitespace removed.
3449
17db6e8d
MF
34502013-06-24 Mike Frysinger <vapier@gentoo.org>
3451
3452 [BZ #10283]
17db6e8d
MF
3453 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
3454 * locale/programs/locarchive.c: Include libc-mmap.h.
3455 (prepare_address_space): Take two new outputs (the mmap base and len).
3456 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
3457 values.
3458 (create_archive): Declare new mmap base and len values for
3459 prepare_address_space, and store the result in ah.
3460 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
3461 (enlarge_archive): If ah->mmap_base is not NULL, use that and
3462 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3463 Declare new mmap base and len values for
3464 prepare_address_space, and store the result in new_ah.
3465 (open_archive): Declare new mmap base and len values for
3466 prepare_address_space, and store the result in ah.
3467 (close_archive): If ah->mmap_base is not NULL, use that and
3468 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3469 * sysdeps/generic/libc-mmap.h: New file.
3470
d605071e
MF
34712013-06-24 Mike Frysinger <vapier@gentoo.org>
3472
3473 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
3474 (ALIGN_UP): Likewise.
3475 (PTR_ALIGN_DOWN): Likewise.
3476 (PTR_ALIGN_UP): Likewise.
3477
2f063a6e
RA
34782013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3479
3480 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
3481 entry mapped to PPC_PLATFORM_POWER8.
3482 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
3483 POWER8.
3484 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
3485 (_dl_string_platform): Add case for exporting platform position for
3486 POWER8.
3487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
3488 search path to sysdeps/powerpc/powerpc32/power8 directory.
3489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
3490 search path to sysdeps/powerpc/powerpc64/power8 directory.
3491 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
3492 power7 directories.
3493 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
3494 power7 directories.
3495
a31ee4b3
SP
34962013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3497
a74ca98f
SP
3498 * INSTALL: Regenerate.
3499
a31ee4b3
SP
3500 * nscd/connections.c (nscd_init): Fix comment.
3501
695c378f
JM
35022013-06-22 Joseph Myers <joseph@codesourcery.com>
3503
d8412221
JM
3504 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
3505
695c378f
JM
3506 [BZ #15667]
3507 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
3508 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
3509
d1d54715
MR
35102013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
3511
3512 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
3513 DL_DST_REQ_STATIC.
3514 (DL_DST_REQ_STATIC): Remove macro.
3515
8fdda7af
JM
35162013-06-21 Joseph Myers <joseph@codesourcery.com>
3517
3518 [BZ #7006]
3519 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
3520 with a shift of 0 bits.
3521
f3bc5e5a
MR
35222013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
3523
3524 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
3525 $(tststatic-ENV).
3526
be09e8c9
KK
35272013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3528
3529 [BZ #15655]
3530 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
3531
85c2e611
AZ
35322013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3533
3534 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
3535 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
3536 accepts -fno-tree-loop-distribute-patterns.
3537 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
3538 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
3539 recursive call.
3540 * string/memset.c (memset): Likewise.
3541 * string/test-memmove.c (simple_memmove): Disable loop transformation
3542 to library calls.
3543 * string/test-memset.c (simple_memset): Likewise.
3544 * benchtests/bench-memmove.c (simple_memmove): Likewise.
3545 * benchtests/bench-memset.c (simple_memset): Likewise.
3546 * configure: Regenerated.
3547
c91e0825
JM
35482013-06-20 Joseph Myers <joseph@codesourcery.com>
3549
b8c792af
JM
3550 * math/test-misc.c (main): Ignore fesetround failure when failures
3551 of subsequent rounding tests would be ignored.
3552
c91e0825
JM
3553 [BZ #15654]
3554 * math/fedisblxcpt.c (fedisableexcept): Return 0.
3555 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
3556 * math/fegetenv.c (__fegetenv): Return 0.
3557 * math/fegetexcept.c (fegetexcept): Return 0.
3558 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
3559 FE_TONEAREST.
3560 * math/feholdexcpt.c (feholdexcept): Return 0.
3561 * math/fesetenv.c (__fesetenv): Return 0.
3562 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
3563 argument FE_TONEAREST.
3564 * math/feupdateenv.c (__feupdateenv): Return 0.
3565 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
3566
bfcacbde
RM
35672013-06-18 Roland McGrath <roland@hack.frob.com>
3568
3569 * elf/rtld-Rules (rtld-compile-command.S): New variable.
3570 (rtld-compile-command.s, rtld-compile-command.c): New variables.
3571 ($(objpfx)rtld-%.os rules): Use them.
3572
e55a9b25
AZ
35732013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3574
3575 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
3576 fields.
3577
346d65b3
RM
35782013-06-17 Roland McGrath <roland@hack.frob.com>
3579
12086fb4
RM
3580 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
3581 length of target pattern, then descending length of dependency pattern.
3582 * configure.in (AWK): Require gawk 3.1.2 or newer.
3583 * manual/install.texi (Tools for Compilation): Say that we do.
3584 * configure: Regenerated.
3585
346d65b3
RM
3586 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
3587 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
3588 * scripts/sysd-rules.awk: ... this new script.
3589 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
3590 than a glob-style pattern.
3591
1a846317
JM
35922013-06-17 Joseph Myers <joseph@codesourcery.com>
3593
3594 * math/test-misc.c (main): Do not treat incorrectly rounded
3595 conversions as failure unless ROUNDING_TESTS passes.
3596
8fc75e6f
JM
35972013-06-15 Joseph Myers <joseph@codesourcery.com>
3598
3711a167
JM
3599 [BZ #15631]
3600 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
3601 restore exception state around main square root computation, then
3602 check for inexactness explicitly.
3603
8fc75e6f
JM
3604 * math/libm-test.inc (fma_test_data): Add another test.
3605
61dd6208
SP
36062013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3607
adf23d2c
SP
3608 * manual/threads.texi (Non-POSIX Extensions): New document
3609 node. Document pthread_getattr_default_np and
3610 pthread_setattr_default_np.
3611
61dd6208
SP
3612 * Versions.def (libpthread): Add GLIBC_2.18.
3613 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
3614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3615 Likewise.
3616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3617 Likewise.
3618 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3619 Likewise.
3620 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3621 Likewise.
3622 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
3623 Likewise.
3624 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3625 Likewise.
3626 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3627 Likewise.
3628 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3629 Likewise.
3630 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3631 Likewise.
3632
d086fc7b
LD
36332013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3634
3635 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3636 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
3637
747ef469
SP
36382013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3639 H.J. Lu <hjl.tools@gmail.com>
3640
3641 [BZ #15627]
3642 * sysdeps/x86_64/rtld-memset.c: Remove file.
3643 * sysdeps/x86_64/rtld-memset.S: New file.
3644
1b2feed2
JM
36452013-06-14 Joseph Myers <joseph@codesourcery.com>
3646
3647 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
3648 (test_in_one_mode): Take arguments for whether the rounding mode
3649 is supported for each floating-point type.
3650 (do_test): Pass new arguments to test_in_one_mode using
3651 ROUNDING_TESTS.
3652
a58ad3f8
RM
36532013-06-13 Roland McGrath <roland@hack.frob.com>
3654
3655 * posix/tst-waitid.c (do_test): Distinguish different instances of
3656 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
3657 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
3658 before entering the kernel for waitpid.
3659
c204ab28
SP
36602013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3661
3662 * NEWS: Fix note on clock function precision. Text by Roland
3663 McGrath.
3664
f4a29fba
RM
36652013-06-13 Roland McGrath <roland@hack.frob.com>
3666
3667 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
3668 it into place only when and if the sanity check passes.
3669
1f24b9ad
JM
36702013-06-13 Joseph Myers <joseph@codesourcery.com>
3671
3672 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
3673 output for whether conversion result is exact. Take argument
3674 indicating whether type is IBM long double.
3675 (round_for_all): Change need_exact field to ibm_ld.
3676 * stdlib/tst-strtod-round.c (struct exactness): New type.
3677 (struct test): Change bool ld_ok field to struct exactness exact.
3678 (TEST): Update all definitions for change to field.
3679 (tests): Regenerate array contents.
3680 (test_in_one_mode): Take pointer to new field instead of old ld_ok
3681 field value. Check for IBM long double here.
3682 (do_test): Update calls to test_in_one_mode.
3683
58206c68
SP
36842013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3685
3686 [BZ #12515]
3687 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
3688 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
3689
2d6f4c5b 36902013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
3691
3692 [BZ #15605]
3693 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
3694 generated by the compiler on loop optimizations.
3695 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
3696 general definitions.
3697
94f2c076
JM
36982013-06-12 Joseph Myers <joseph@codesourcery.com>
3699
3700 * math/bug-nextafter.c: Include <math-tests.h>.
3701 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3702 the relevant type.
3703 * math/bug-nexttoward.c: Include <math-tests.h>.
3704 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3705 the relevant type.
3706 * math/test-misc.c: Include <math-tests.h>.
3707 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3708 the relevant type.
3709
e0e50a0a
AJ
37102013-06-12 Andreas Jaeger <aj@suse.de>
3711
3712 * po/ia.po: Update Interlingua translation from translation
3713 project.
3714
25061094
SP
37152013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3716
3717 * include/fenv.h: Include stdbool.h.
3718 (struct rm_ctx): New structure.
3719 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
3720 Define macro.
3721 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
3722 (SET_RESTORE_ROUNDF): Likewise.
3723 (SET_RESTORE_ROUNDL): Likewise.
3724 (SET_RESTORE_ROUND_NOEX): Likewise.
3725 (SET_RESTORE_ROUND_NOEXF): Likewise.
3726 (SET_RESTORE_ROUND_NOEXL): Likewise.
3727 (SET_RESTORE_ROUND_53BIT): Likewise.
3728 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
3729 (libc_feresetround_noexf_ctx): Likewise.
3730 (libc_feresetround_noexl_ctx): Likewise.
3731 (libc_feholdsetround_53bit_ctx): Likewise.
3732 (libc_feresetround_53bit_ctx): Likewise.
3733 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
3734 (libc_feholdexcept_setround_sse_ctx): New function.
3735 (libc_fesetenv_sse_ctx): Likewise.
3736 (libc_feupdateenv_sse_ctx): Likewise.
3737 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
3738 (libc_feholdexcept_setround_387_ctx): Likewise.
3739 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
3740 (libc_feholdsetround_387_prec_ctx): Likewise.
3741 (libc_feholdsetround_387_ctx): Likewise.
3742 (libc_feholdsetround_387_53bit_ctx): Likewise.
3743 (libc_feholdsetround_sse_ctx): Likewise.
3744 (libc_feresetround_sse_ctx): Likewise.
3745 (libc_feresetround_387_ctx): Likewise.
3746 (libc_feupdateenv_387_ctx): Likewise.
3747 (libc_feholdexcept_setroundf_ctx): Define macro.
3748 (libc_fesetenvf_ctx): Likewise.
3749 (libc_feupdateenvf_ctx): Likewise.
3750 (libc_feholdsetroundf_ctx): Likewise.
3751 (libc_feresetroundf_ctx): Likewise.
3752 (libc_feholdexcept_setround_ctx): Likewise.
3753 (libc_fesetenv_ctx): Likewise.
3754 (libc_feupdateenv_ctx): Likewise.
3755 (libc_feholdsetround_ctx): Likewise.
3756 (libc_feresetround_ctx): Likewise.
3757 (libc_feholdexcept_setroundl_ctx): Likewise.
3758 (libc_feupdateenvl_ctx): Likewise.
3759 (libc_feholdsetroundl_ctx): Likewise.
3760 (libc_feresetroundl_ctx): Likewise.
3761 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
3762 (libc_feresetround_53bit_ctx): Likewise.
3763
59b30555
SP
37642013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3765
3766 * locale/iso-639.def: Convert to UTF-8.
3767
f1d73d30
JM
37682013-06-11 Joseph Myers <joseph@codesourcery.com>
3769
3770 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
3771 (EXCEPTION_TESTS_double): Likewise.
3772 (EXCEPTION_TESTS_long_double): Likewise.
3773 (EXCEPTION_TESTS): Likewise.
3774 * math/libm-test.inc (test_exceptions): Only test exceptions if
3775 EXCEPTION_TESTS (FLOAT).
3776
94aca5e7
SP
37772013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3778
3779 * benchtests/Makefile (string-bench): Add strcpy_chk and
3780 stpcpy_chk.
3781 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
3782 * benchtests/bench-stpcpy_chk.c: New file.
3783 * benchtests/bench-strcpy_chk-ifunc.c: New file.
3784 * benchtests/bench-strcpy_chk.c: New file.
3785 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
3786 code.
3787 (do_test): Likewise.
3788
fac0c5f2
RA
37892013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3790
3791 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
3792 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
3793 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
3794 with tabs where appropriate.
3795 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
3796 dl-procinfo.h.
3797 [PPC_PLATFORM_PPC440]: Likewise.
3798 [PPC_PLATFORM_PPC464]: Likewise.
3799 [PPC_PLATFORM_PPC476]: Likewise.
3800 (_dl_string_platform): Add support for detecting ppc405, ppc440,
3801 ppc464, and ppc476 platform strings merging from ports/
3802 dl-procinfo.h.
3803
f22bc486
AS
38042013-06-11 Andreas Schwab <schwab@suse.de>
3805
3806 [BZ #14991]
3807 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
3808 (from_ucs4_idx): Regenerate.
3809 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
3810 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
3811 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
3812 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
3813 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
3814 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
3815 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
3816 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
3817 from FROM_LOOP and TO_LOOP specific macros.
3818 (BODY): Handle combining characters.
3819 * iconvdata/BIG5HKSCS.irreversible: Update.
3820 * iconvdata/BIG5HKSCS.precomposed: New file.
3821 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
3822 characters.
3823 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
3824
c1f75dc3
SP
38252013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3826
4eacded2
SP
3827 * include/sys/time.h: Fix indentation and add copyright header.
3828
fec799f8
SP
3829 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
3830 (do_test): Likewise.
3831 * string/test-memchr.c (do_one_test): Likewise.
3832 (do_test): Likewise.
3833 * string/test-memcmp.c (do_one_test): Likewise.
3834 (do_test): Likewise.
3835 * string/test-memcpy.c (do_one_test): Likewise.
3836 (do_test): Likewise.
3837 * string/test-memmem.c (do_one_test): Likewise.
3838 (do_test): Likewise.
3839 (do_random_tests): Likewise.
3840 * string/test-memmove.c (do_one_test): Likewise.
3841 (do_test): Likewise.
3842 * string/test-memset.c (do_one_test): Likewise.
3843 (do_test): Likewise.
3844 * string/test-rawmemchr.c (do_one_test): Likewise.
3845 (do_test): Likewise.
3846 * string/test-strcasecmp.c (do_one_test): Likewise.
3847 (do_test): Likewise.
3848 * string/test-strcasestr.c (do_one_test): Likewise.
3849 (do_test): Likewise.
3850 * string/test-strcat.c (do_one_test): Likewise.
3851 (do_test): Likewise.
3852 * string/test-strchr.c (do_one_test): Likewise.
3853 (do_test): Likewise.
3854 * string/test-strcmp.c (do_one_test): Likewise.
3855 (do_test): Likewise.
3856 * string/test-strcpy.c (do_one_test): Likewise.
3857 (do_test): Likewise.
3858 * string/test-string.h: Likewise.
3859 (test_init): Likewise.
3860 * string/test-strlen.c (do_one_test): Likewise.
3861 (do_test): Likewise.
3862 * string/test-strncasecmp.c (do_one_test): Likewise.
3863 (do_test): Likewise.
3864 * string/test-strncat.c (do_one_test): Likewise.
3865 (do_test): Likewise.
3866 * string/test-strncmp.c (do_one_test): Likewise.
3867 (do_test_limit): Likewise.
3868 (do_test): Likewise.
3869 * string/test-strncpy.c (do_one_test): Likewise.
3870 (do_test): Likewise.
3871 * string/test-strnlen.c (do_one_test): Likewise.
3872 (do_test): Likewise.
3873 * string/test-strpbrk.c (do_one_test): Likewise.
3874 (do_test): Likewise.
3875 * string/test-strrchr.c (do_one_test): Likewise.
3876 (do_test): Likewise.
3877 * string/test-strspn.c (do_one_test): Likewise.
3878 (do_test): Likewise.
3879 * string/test-strstr.c (do_one_test): Likewise.
3880 (do_test): Likewise.
3881
97020474
SP
3882 * benchtests/Makefile (string-bench): Add string benchmarks.
3883 * benchtests/bench-bcopy-ifunc.c: New file.
3884 * benchtests/bench-bcopy.c: New file.
3885 * benchtests/bench-bzero-ifunc.c: New file.
3886 * benchtests/bench-bzero.c: New file.
3887 * benchtests/bench-memccpy-ifunc.c: New file.
3888 * benchtests/bench-memccpy.c: New file.
3889 * benchtests/bench-memchr-ifunc.c: New file.
3890 * benchtests/bench-memchr.c: New file.
3891 * benchtests/bench-memcmp-ifunc.c: New file.
3892 * benchtests/bench-memcmp.c: New file.
3893 * benchtests/bench-memmem-ifunc.c: New file.
3894 * benchtests/bench-memmem.c: New file.
3895 * benchtests/bench-memmove-ifunc.c: New file.
3896 * benchtests/bench-memmove.c: New file.
3897 * benchtests/bench-mempcpy-ifunc.c: New file.
3898 * benchtests/bench-mempcpy.c: New file.
3899 * benchtests/bench-memset-ifunc.c: New file.
3900 * benchtests/bench-memset.c: New file.
3901 * benchtests/bench-rawmemchr-ifunc.c: New file.
3902 * benchtests/bench-rawmemchr.c: New file.
3903 * benchtests/bench-stpcpy-ifunc.c: New file.
3904 * benchtests/bench-stpcpy.c: New file.
3905 * benchtests/bench-stpncpy-ifunc.c: New file.
3906 * benchtests/bench-stpncpy.c: New file.
3907 * benchtests/bench-strcasecmp-ifunc.c: New file.
3908 * benchtests/bench-strcasecmp.c: New file.
3909 * benchtests/bench-strcasestr-ifunc.c: New file.
3910 * benchtests/bench-strcasestr.c: New file.
3911 * benchtests/bench-strcat-ifunc.c: New file.
3912 * benchtests/bench-strcat.c: New file.
3913 * benchtests/bench-strchr-ifunc.c: New file.
3914 * benchtests/bench-strchr.c: New file.
3915 * benchtests/bench-strchrnul-ifunc.c: New file.
3916 * benchtests/bench-strchrnul.c: New file.
3917 * benchtests/bench-strcmp-ifunc.c: New file.
3918 * benchtests/bench-strcmp.c: New file.
3919 * benchtests/bench-strcpy-ifunc.c: New file.
3920 * benchtests/bench-strcpy.c: New file.
3921 * benchtests/bench-strcspn-ifunc.c: New file.
3922 * benchtests/bench-strcspn.c: New file.
3923 * benchtests/bench-strlen-ifunc.c: New file.
3924 * benchtests/bench-strlen.c: New file.
3925 * benchtests/bench-strncasecmp-ifunc.c: New file.
3926 * benchtests/bench-strncasecmp.c: New file.
3927 * benchtests/bench-strncat-ifunc.c: New file.
3928 * benchtests/bench-strncat.c: New file.
3929 * benchtests/bench-strncmp-ifunc.c: New file.
3930 * benchtests/bench-strncmp.c: New file.
3931 * benchtests/bench-strncpy-ifunc.c: New file.
3932 * benchtests/bench-strncpy.c: New file.
3933 * benchtests/bench-strnlen-ifunc.c: New file.
3934 * benchtests/bench-strnlen.c: New file.
3935 * benchtests/bench-strpbrk-ifunc.c: New file.
3936 * benchtests/bench-strpbrk.c: New file.
3937 * benchtests/bench-strrchr-ifunc.c: New file.
3938 * benchtests/bench-strrchr.c: New file.
3939 * benchtests/bench-strspn-ifunc.c: New file.
3940 * benchtests/bench-strspn.c: New file.
3941 * benchtests/bench-strstr-ifunc.c: New file.
3942 * benchtests/bench-strstr.c: New file.
3943
c1f75dc3
SP
3944 * benchtests/Makefile: Disable parallel execution of targets.
3945 (string-bench): Add memcpy.
3946 (benchset): New variable to store a list of benchmark sets.
3947 (bench-func): Renamed from bench.
3948 (bench-set): New target.
3949 (bench): Depend on bench-func and bench-set.
3950 * benchtests/README: Add section on benchmark sets.
3951 * benchtests/bench-memcpy-ifunc.c: New file.
3952 * benchtests/bench-memcpy.c: New file.
3953 * benchtests/bench-string.h: New file.
3954
50fd745b
AS
39552013-06-11 Andreas Schwab <schwab@suse.de>
3956
3957 [BZ #15577]
3958 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
3959 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
3960 values in the triple.
3961 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
3962 terminator in the group key.
3963
3ee7e9fe
AJ
39642013-06-11 Andreas Jaeger <aj@suse.de>
3965
3966 * po/zh_TW.po: Update Chinese (traditional) translation from
3967 translation project.
3968
89fb6835
SP
39692013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3970
3971 * include/time.h (__clock_gettime): Add libc_hidden_proto.
3972 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
3973 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
3974 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3975 (clock_getcpuclockid): Likewise.
3976 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
3977 Add weak_alias and libc_hidden_def.
3978 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
3979 * rt/clock_gettime.c (clock_gettime): Rename to
3980 __clock_gettime. Add weak_alias and libc_hidden_def.
3981 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
3982 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
3983 __clock_nanosleep. Add weak_alias and libc_hidden_def.
3984 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
3985 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
3986 Likewise.
3987 * rt/clock_settime.c (clock_settime): Rename to
3988 __clock_settime. Add weak_alias and libc_hidden_def.
3989 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
3990
0efa6f8b
JM
39912013-06-10 Joseph Myers <joseph@codesourcery.com>
3992
b8c61b4b
JM
3993 * mach/err_boot.sub: Remove trailing whitespace.
3994 * mach/err_ipc.sub: Likewise.
3995 * mach/err_mach.sub: Likewise.
3996
0efa6f8b
JM
3997 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
3998 (ROUNDING_TESTS_double): Likewise.
3999 (ROUNDING_TESTS_long_double): Likewise.
4000 (ROUNDING_TESTS): Likewise.
4001 * math/libm-test.inc: Include <math-tests.h>.
4002 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
4003 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4004 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4005 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4006
50b818bf
SP
40072013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4008
4009 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
4010 of assigning.
4011
60d2f8f3
JM
40122013-06-08 Joseph Myers <joseph@codesourcery.com>
4013
4902d2c3
JM
4014 * sysdeps/gnu/errlist.awk: Do not generate space at end of
4015 otherwise empty TRANS lines.
4016 * sysdeps/gnu/errlist.c: Regenerated.
4017
60d2f8f3
JM
4018 * catgets/gencat.c (error_print): Use (void) in function
4019 definition.
4020 * crypt/crypt_util.c (__init_des): Likewise.
4021 * crypt/speeds.c (Stop): Likewise.
4022 (main): Likewise.
4023 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
4024 * inet/ruserpass.c (token): Likewise.
4025 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
4026 * intl/localealias.c (extend_alias_table): Likewise.
4027 * intl/plural-exp.c (init_germanic_plural): Likewise.
4028 * libio/fcloseall.c (__fcloseall): Likewise.
4029 * libio/genops.c (_IO_flush_all): Likewise.
4030 (_IO_flush_all_linebuffered): Likewise.
4031 (_IO_cleanup): Likewise.
4032 (_IO_iter_begin): Likewise.
4033 (_IO_iter_end): Likewise.
4034 (_IO_list_lock): Likewise.
4035 (_IO_list_unlock): Likewise.
4036 (_IO_list_resetlock): Likewise.
4037 * libio/getchar.c (getchar): Likewise.
4038 * libio/getchar_u.c (getchar_unlocked): Likewise.
4039 * libio/getwchar.c (getwchar): Likewise.
4040 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
4041 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
4042 * login/getpt.c (__getpt): Likewise.
4043 * login/tst-utmp.c (main): Likewise.
4044 * malloc/hooks.c (__malloc_check_init): Likewise.
4045 * malloc/malloc.c (__malloc_stats): Likewise.
4046 * malloc/mtrace.c (tr_break): Likewise.
4047 (mtrace): Likewise.
4048 (muntrace): Likewise.
4049 * misc/fstab.c (endfsent): Likewise.
4050 * misc/getclktck.c (__getclktck): Likewise.
4051 * misc/getdtsz.c (__getdtablesize): Likewise.
4052 * misc/gethostid.c (gethostid): Likewise.
4053 * misc/getpagesize.c (__getpagesize): Likewise.
4054 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
4055 (__get_nprocs): Likewise.
4056 (__get_phys_pages): Likewise.
4057 (__get_avphys_pages): Likewise.
4058 * misc/getttyent.c (getttyent): Likewise.
4059 (setttyent): Likewise.
4060 (endttyent): Likewise.
4061 * misc/getusershell.c (getusershell): Likewise.
4062 (endusershell): Likewise.
4063 (setusershell): Likewise.
4064 (initshells): Likewise.
4065 * misc/hsearch.c (__hdestroy): Likewise.
4066 * misc/sync.c (sync): Likewise.
4067 * misc/syslog.c (closelog_internal): Likewise.
4068 (closelog): Likewise.
4069 * misc/ttyslot.c (ttyslot): Likewise.
4070 * misc/vhangup.c (vhangup): Likewise.
4071 * posix/fork.c (__fork): Likewise.
4072 * posix/getegid.c (__getegid): Likewise.
4073 * posix/geteuid.c (__geteuid): Likewise.
4074 * posix/getgid.c (__getgid): Likewise.
4075 * posix/getpid.c (__getpid): Likewise.
4076 * posix/getppid.c (__getppid): Likewise.
4077 * posix/getuid.c (__getuid): Likewise.
4078 * posix/pause.c (pause): Likewise.
4079 * posix/setpgrp.c (setpgrp): Likewise.
4080 * posix/setsid.c (__setsid): Likewise.
4081 * posix/test-vfork.c (noop): Likewise.
4082 * resolv/gethnamaddr.c (_endhtent): Likewise.
4083 (_gethtent): Likewise.
4084 (ht_endhostent): Likewise.
4085 (gethostent): Likewise.
4086 (dns_service): Likewise.
4087 * stdlib/drand48.c (drand48): Likewise.
4088 * stdlib/lrand48.c (lrand48): Likewise.
4089 * stdlib/mrand48.c (mrand48): Likewise.
4090 * stdlib/rand.c (rand): Likewise.
4091 * stdlib/random.c (__random): Likewise.
4092 * stdlib/setenv.c (clearenv): Likewise.
4093 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
4094 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
4095 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
4096 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
4097 (__get_nprocs): Likewise.
4098 (__get_phys_pages): Likewise.
4099 (__get_avphys_pages): Likewise.
4100 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
4101 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
4102 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
4103 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
4104 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
4105 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
4106 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
4107 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
4108 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
4109 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
4110 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
4111 * sysdeps/mach/hurd/sync.c (sync): Likewise.
4112 * sysdeps/posix/clock.c (clock): Likewise.
4113 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
4114 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
4115 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
4116 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
4117 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
4118 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
4119 (__get_nprocs_conf): Likewise.
4120 (__get_phys_pages): Likewise.
4121 (__get_avphys_pages): Likewise.
4122 * time/clock.c (clock): Likewise.
4123 * time/tzset.c (__tzname_max): Likewise.
4124
2e09a79a
JM
41252013-06-07 Joseph Myers <joseph@codesourcery.com>
4126
4127 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
4128 (__bswap_32): Do not use "register".
4129 * crypt/crypt.c (_ufc_doit_r): Likewise.
4130 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4131 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4132 * gmon/gmon.c (__monstartup): Likewise.
4133 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
4134 * hurd/hurdmalloc.c (more_memory): Likewise.
4135 (malloc): Likewise.
4136 (free): Likewise.
4137 (realloc): Likewise.
4138 (malloc_fork_prepare): Likewise.
4139 (malloc_fork_parent): Likewise.
4140 (malloc_fork_child): Likewise.
4141 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
4142 (_svcauth_des): Likewise.
4143 * inet/inet_lnaof.c (inet_lnaof): Likewise.
4144 * inet/inet_net.c (inet_network): Likewise.
4145 * inet/inet_netof.c (inet_netof): Likewise.
4146 * inet/rcmd.c (__validuser2_sa): Likewise.
4147 * io/fts.c (fts_open): Likewise.
4148 (fts_load): Likewise.
4149 (fts_close): Likewise.
4150 (fts_read): Likewise.
4151 (fts_children): Likewise.
4152 (fts_build): Likewise.
4153 (fts_stat): Likewise.
4154 (fts_sort): Likewise.
4155 (fts_alloc): Likewise.
4156 (fts_lfree): Likewise.
4157 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
4158 (_IO_file_xsgetn): Likewise.
4159 (_IO_file_xsgetn_mmap): Likewise.
4160 * libio/iofopncook.c (_IO_cookie_read): Likewise.
4161 (_IO_cookie_write): Likewise.
4162 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
4163 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
4164 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
4165 * malloc/obstack.c (_obstack_begin): Likewise.
4166 (_obstack_begin_1): Likewise.
4167 (_obstack_newchunk): Likewise.
4168 (_obstack_allocated_p): Likewise.
4169 (obstack_free): Likewise.
4170 (_obstack_memory_used): Likewise.
4171 * misc/getttyent.c (getttynam): Likewise.
4172 (getttyent): Likewise.
4173 (skip): Likewise.
4174 (value): Likewise.
4175 * misc/getusershell.c (initshells): Likewise.
4176 * misc/syslog.c (__vsyslog_chk): Likewise.
4177 * misc/ttyslot.c (ttyslot): Likewise.
4178 * nis/nis_hash.c (__nis_hash): Likewise.
4179 * posix/fnmatch_loop.c (FCT): Likewise.
4180 * posix/getconf.c (print_all): Likewise.
4181 (main): Likewise.
4182 * posix/getopt.c (exchange): Likewise.
4183 * posix/glob.c (globfree): Likewise.
4184 (prefix_array): Likewise.
4185 (__glob_pattern_type): Likewise.
4186 * resolv/arpa/nameser.h (NS_GET16): Likewise.
4187 (NS_GET32): Likewise.
4188 (NS_PUT16): Likewise.
4189 (NS_PUT32): Likewise.
4190 * resolv/gethnamaddr.c (getanswer): Likewise.
4191 (gethostbyname2): Likewise.
4192 (gethostbyaddr): Likewise.
4193 (_gethtent): Likewise.
4194 (_gethtbyname2): Likewise.
4195 (_gethtbyaddr): Likewise.
4196 * resolv/ns_print.c (dst_s_get_int16): Likewise.
4197 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4198 * resolv/res_init.c (__res_vinit): Likewise.
4199 (net_mask): Likewise.
4200 * resolv/res_mkquery.c (outchar): Likewise.
4201 (PRINT): Likewise.
4202 * stdio-common/printf_fp.c (outchar): Likewise.
4203 (PRINT): Likewise.
4204 * stdio-common/printf_fphex.c (outchar): Likewise.
4205 (PRINT): Likewise.
4206 * stdio-common/printf_size.c (outchar): Likewise.
4207 (PRINT): Likewise.
4208 * stdio-common/test_rdwr.c (main): Likewise.
4209 * stdio-common/tfformat.c (matches): Likewise.
4210 * stdio-common/vfprintf.c (outchar): Likewise.
4211 (printf_unknown): Likewise.
4212 (buffered_vfprintf): Likewise.
4213 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4214 * stdio-common/xbug.c (AppendToBuffer): Likewise.
4215 (ReadFile): Likewise.
4216 * stdlib/qsort.c (SWAP): Likewise.
4217 (_quicksort): Likewise.
4218 * stdlib/setenv.c (__add_to_environ): Likewise.
4219 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4220 * stdlib/strtol_l.c (__strtol_l): Likewise.
4221 * stdlib/tst-strtod.c (main): Likewise.
4222 * stdlib/tst-strtol.c (main): Likewise.
4223 * stdlib/tst-strtoll.c (main): Likewise.
4224 * string/bits/string2.h (__strcmp_cc): Likewise.
4225 (__strcmp_cg): Likewise.
4226 (__strcspn_c1): Likewise.
4227 (__strcspn_c2): Likewise.
4228 (__strcspn_c3): Likewise.
4229 (__strspn_c1): Likewise.
4230 (__strspn_c2): Likewise.
4231 (__strspn_c3): Likewise.
4232 (__strsep_1c): Likewise.
4233 (__strsep_2c): Likewise.
4234 (__strsep_3c): Likewise.
4235 * string/memccpy.c (__memccpy): Likewise.
4236 * string/stpcpy.c (__stpcpy): Likewise.
4237 * string/strcmp.c (strcmp): Likewise.
4238 * string/strrchr.c (strrchr): Likewise.
4239 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
4240 Likewise.
4241 * sysdeps/mach/hurd/getcwd.c
4242 (_hurd_canonicalize_directory_name_internal): Likewise.
4243 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
4244 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
4245 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
4246 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
4247 Likewise, in both definitions.
4248 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
4249 definitions.
4250 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
4251 64] (__bswap_64): Likewise.
4252 * time/test_time.c (main): Likewise.
4253 * time/tzfile.c (__tzfile_read): Likewise.
4254 (__tzfile_compute): Likewise.
4255 * time/tzset.c (__tzset_parse_tz): Likewise.
4256 (tzset_internal): Likewise.
4257 (compute_change): Likewise.
4258 * wcsmbs/wcscat.c (__wcscat): Likewise.
4259 * wcsmbs/wcschr.c (wcschr): Likewise.
4260 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
4261 * wcsmbs/wcscspn.c (wcscspn): Likewise.
4262 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
4263 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
4264 * wcsmbs/wcsspn.c (wcsspn): Likewise.
4265 * wcsmbs/wcsstr.c (wcsstr): Likewise.
4266 * wcsmbs/wmemchr.c (wmemchr): Likewise.
4267 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4268 * wcsmbs/wmemset.c (wmemset): Likewise.
4269
9e54314b
JM
42702013-06-06 Joseph Myers <joseph@codesourcery.com>
4271
4272 * scripts/config.guess: Update to version 2013-05-16.
4273 * scripts/config.sub: Update to version 2013-04-24.
4274 * scripts/install-sh: Update to version 2011-11-20.07.
4275 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
4276 * scripts/move-if-change: Update to version 2012-01-06 07:23.
4277
350635a5
OB
42782013-06-06 Ondřej Bílka <neleai@seznam.cz>
4279
4280 * debug/fgetws_u_chk.c: Fix leading whitespaces.
4281 * elf/sln.c: Likewise.
4282 * hurd/hurd/ioctl.h: Likewise.
4283 * hurd/hurdmalloc.c: Likewise.
4284 * hurd/xattr.c: Likewise.
4285 * include/shlib-compat.h: Likewise.
4286 * inet/ruserpass.c: Likewise.
4287 * libio/iofgets_u.c: Likewise.
4288 * libio/iofgetws_u.c: Likewise.
4289 * locale/programs/ld-identification.c: Likewise.
4290 * locale/programs/ld-time.c: Likewise.
4291 * mach/msg-destroy.c: Likewise.
4292 * nss/nss_files/files-netgrp.c: Likewise.
4293 * resolv/res_data.c: Likewise.
4294 * soft-fp/op-1.h: Likewise.
4295 * soft-fp/op-2.h: Likewise.
4296 * soft-fp/op-4.h: Likewise.
4297 * soft-fp/op-common.h: Likewise.
4298 * stdio-common/printf_fphex.c: Likewise.
4299 * stdlib/strtod_l.c: Likewise.
4300 * sunrpc/rpc/clnt.h: Likewise.
4301 * sysdeps/generic/framestate.c: Likewise.
4302 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4303 * sysdeps/i386/bsd-setjmp.S: Likewise.
4304 * sysdeps/i386/__longjmp.S: Likewise.
4305 * sysdeps/i386/setjmp.S: Likewise.
4306 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4307 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4308 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4309 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4310 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4311 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4312 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4313 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4314 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4315 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4316 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4317 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4318 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4319 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4320 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4321 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4322 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4323 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
4324 * sysdeps/ieee754/support.c: Likewise.
4325 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4326 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
4327 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
4328 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
4329 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
4330 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
4331 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
4332 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
4333 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
4334 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
4335 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
4336 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
4337 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
4338 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
4339 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
4340 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
4341 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4343
44a988af
OB
43442013-06-05 Ondřej Bílka <neleai@seznam.cz>
4345
25506f09 4346 * posix/transbug.c: Remove executable mode.
44a988af 4347
9c84384c
JM
43482013-06-05 Joseph Myers <joseph@codesourcery.com>
4349
4350 * crypt/speeds.c: Remove trailing whitespace.
4351 * dlfcn/default.c: Likewise.
4352 * elf/ifuncdep2.c: Likewise.
4353 * elf/ifuncmain1.c: Likewise.
4354 * elf/ifuncmain1vis.c: Likewise.
4355 * elf/testobj.h: Likewise.
4356 * elf/tst-stackguard1.c: Likewise.
4357 * gmon/sys/gmon.h: Likewise.
4358 * hurd/hurdmsg.c: Likewise.
4359 * hurd/new-fd.c: Likewise.
4360 * hurd/ports-get.c: Likewise.
4361 * iconvdata/ibm1008_420.c: Likewise.
4362 * inet/tst-getni1.c: Likewise.
4363 * inet/tst-getni2.c: Likewise.
4364 * libio/ioungetc.c: Likewise.
4365 * libio/wfiledoalloc.c: Likewise.
4366 * manual/libm-err-tab.pl: Likewise.
4367 * math/w_dremf.c: Likewise.
4368 * misc/ftruncate.c: Likewise.
4369 * posix/bug-glob2.c: Likewise.
4370 * posix/tst-pcre.c: Likewise.
4371 * posix/wait4.c: Likewise.
4372 * resolv/README: Likewise.
4373 * resolv/res_debug.h: Likewise.
4374 * resolv/tst-inet_ntop.c: Likewise.
4375 * setjmp/bug269-setjmp.c: Likewise.
4376 * soft-fp/extended.h: Likewise.
4377 * soft-fp/op-1.h: Likewise.
4378 * soft-fp/op-2.h: Likewise.
4379 * soft-fp/op-4.h: Likewise.
4380 * soft-fp/op-8.h: Likewise.
4381 * soft-fp/testit.c: Likewise.
4382 * stdio-common/bug16.c: Likewise.
4383 * stdlib/random.c: Likewise.
4384 * sunrpc/rpcsvc/rquota.x: Likewise.
4385 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
4386 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4387 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4388 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4389 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4390 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4391 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4392 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4393 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4394 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4395 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4396 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4397 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4398 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4399 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4400 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4401 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4402 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4403 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4404 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4405 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4406 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4407 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4408 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4409 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4410 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4411 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4412 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4413 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4414 * sysdeps/ieee754/s_lib_version.c: Likewise.
4415 * sysdeps/mach/hurd/check_fds.c: Likewise.
4416 * sysdeps/mach/hurd/getsockname.c: Likewise.
4417 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
4418 * sysdeps/mach/hurd/recvfrom.c: Likewise.
4419 * sysdeps/powerpc/bits/link.h: Likewise.
4420 * sysdeps/powerpc/dl-procinfo.c: Likewise.
4421 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
4422 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
4423 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
4424 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4425 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4426 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
4427 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4428 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
4429 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4430 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4431 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4432 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
4433 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4434 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4435 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4436 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4437 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4438 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4439 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4440 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4441 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
4442 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4443 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4444 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
4445 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4446 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4447 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4448 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4449 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4450 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4451 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4452 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4453 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4454 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
4455 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4456 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
4457 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4458 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4459 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
4460 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
4461 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
4462 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
4463 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
4464 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4465 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
4466 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
4467 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4468 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
4469 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
4470 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4471 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4472 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4473 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4474 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
4475 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4476 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4477 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4478 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
4479 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4480 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
4481 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
4482 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
4483 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4484 * sysdeps/powerpc/sysdep.h: Likewise.
4485 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4486 * sysdeps/s390/s390-64/sub_n.S: Likewise.
4487 * sysdeps/sh/dl-trampoline.S: Likewise.
4488 * sysdeps/sh/memset.S: Likewise.
4489 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
4490 * sysdeps/sh/strlen.S: Likewise.
4491 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
4492 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
4493 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
4494 * sysdeps/sparc/sparc32/rem.S: Likewise.
4495 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
4496 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
4497 * sysdeps/sparc/sparc32/strchr.S: Likewise.
4498 * sysdeps/sparc/sparc32/udiv.S: Likewise.
4499 * sysdeps/sparc/sparc32/urem.S: Likewise.
4500 * sysdeps/sparc/sparc64/add_n.S: Likewise.
4501 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4502 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
4503 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
4504 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
4505 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
4506 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4507 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
4508 * sysdeps/unix/bsd/times.c: Likewise.
4509 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
4510 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
4511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4514 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
4515 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4516 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
4517 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
4518 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
4519 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
4520 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
4521 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
4522 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4523 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
4524 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4525 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
4526 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
4527 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
4528 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
4529 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
4530 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
4531 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4532 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
4533 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
4534 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4535 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
4536 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4537 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
4538 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
4539 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
4540 * sysdeps/x86_64/strcspn.S: Likewise.
4541
869378a5
RA
45422013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4543
4544 * locale/C-translit.h: Revert #include <stdint.h> because this is a
4545 generated file. Regenerate properly from gen-translit.pl.
4546 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
4547 locale/C-translit.h.
4548
840e2943
AS
45492013-06-05 Andreas Schwab <schwab@suse.de>
4550
4551 [BZ #15100]
4552 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
4553 week as 6 instead of -1.
4554 * time/tst-strptime.c (day_tests): Add test case.
4555
4c60cb0c
SP
45562013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4557
4558 * sysdeps/generic/math_private.h
4559 (libc_feholdexcept_setround_53bit): Replace with
4560 libc_feholdsetround_53bit.
4561 (libc_feupdateenv_53bit): Replace with
4562 libc_feresetround_53bit.
4563 (SET_RESTORE_ROUND_53BIT): Adjust.
4564
d180203e
SP
45652013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4566
96df079a
SP
4567 * string/test-strchrnul.c: Add copyright header.
4568
d180203e
SP
4569 * posix/tst-getaddrinfo4.c: Increase test timeout.
4570
8b0ccb2d
CD
45712013-06-03 Carlos O'Donell <carlos@redhat.com>
4572
4573 [BZ #15536]
4574 * math/libm-test.inc (MAX_EXP): Remove
4575 (MIN_EXP): Define.
4576 (ulp): Use MIN_EXP - MANT_DIG.
4577 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
4578
3b3c4d40
CD
45792013-05-31 Carlos O'Donell <carlos@redhat.com>
4580
4581 * po/be.po: Revert last change.
4582 * po/zh_CN.po: Likewise.
4583 * po/header.pot: Likewise.
4584
fab7ce3f
JM
45852013-05-31 Joseph Myers <joseph@codesourcery.com>
4586
4587 * Makefile ($(common-objpfx)linkobj/libc.so): Define
4588 link-libc-deps to empty as target-specific variable.
4589 * Makerules (link-libc-args): New variable.
4590 (libc-for-link): Likewise.
4591 (link-libc-deps): Likewise.
4592 (lib%.so): Depend on $(link-libc-deps). Link with
4593 $(link-libc-args).
4594 (build-module): Link with $(link-libc-args).
4595 (build-module-asneeded): Likewise.
4596 (build-module-helper-objlist): Filter out $(link-libc-deps) from
4597 list of objects.
4598 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
4599 target-specific variable.
4600 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
4601 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
4602 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
4603 libc.
4604 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
4605 libc and ld.so.
4606 ($(objpfx)libpcprofile.so): Likewise.
4607 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
4608 libc_nonshared.a.
4609 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
4610 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
4611 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
4612 $(link-libc-deps).
4613 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
4614 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
4615 * login/Makefile ($(objpfx)libutil.so): Likewise.
4616 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
4617 * math/Makefile ($(objpfx)libm.so): Likewise.
4618 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
4619 $(objpfx)libnsl.so): Define libc-for-link as target-specific
4620 variable instead of depending directly on libc.
4621 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
4622 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
4623 $(link-libc-deps).
4624 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
4625 libc.
4626 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
4627 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
4628 ($(objpfx)libanl.so): Likewise.
4629 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
4630 ld.so.
4631 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
4632 $(link-libc-deps).
4633 * sysdeps/i386/fpu/Makefile: Remove file.
4634 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
4635 ($(objpfx)libm.so): Remove dependency on ld.so.
4636
eca5920c
PF
46372013-05-30 Patsy Franklin <pfrankli@redhat.com>
4638
4639 [BZ # 15553]
4640 * nis/yp_xdr.c (XDRMAXNAME): Define.
4641 (XDRMAXRECORD): Define.
4642 (xdr_domainname): Use XDRMAXNAME.
4643 (xdr_mapname): Likewise.
4644 (xdr_peername): Likewise.
4645 (xdr_keydat): Use XDRMAXRECORD.
4646 (xdr_valdat): Likewise.
4647
46482013-05-30 Jeff Law <law@redhat.com>
96945714
JL
4649
4650 [BZ #14256]
4651 * manual/errno.texi (ESTALE): Update to account for more than
4652 just NFS file systems.
4653 * sysdeps/gnu/errlist.c: Regenerated.
4654
b9375348
SP
46552013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4656
4657 [BZ #15465]
4658 * elf/Makefile (tests): Add tst-null-argv.
4659 (modules-names): Add tst-null-argv-lib.
4660 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
4661 (tst-null-argv-ENV): Set environment for tst-null-argv.
4662 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
4663 (RTLD_PROGNAME): New macro.
4664 * elf/tst-null-argv.c: New test case.
4665 * elf/tst-null-argv-lib.c: Library for test case.
4666 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
4667 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4668 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
4669 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
4670 * elf/dl-init.c (call_init): Likewise.
4671 (_dl_init): Likewise.
4672 * elf/dl-load.c (print_search_path): Likewise.
4673 (_dl_map_object): Likewise.
4674 * elf/dl-lookup.c (do_lookup_x): Likewise.
4675 (add_dependency): Likewise.
4676 (_dl_lookup_symbol_x): Likewise.
4677 (_dl_debug_bindings): Likewise.
4678 * elf/dl-open.c (_dl_show_scope): Likewise.
4679 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4680 * elf/dl-version.c (match_symbol): Likewise.
4681 (_dl_check_map_versions): Likewise.
4682 * elf/rtld.c (dl_main): Likewise.
4683 (print_unresolved): Use RTLD_PROGNAME.
4684 (print_missing_version): Likewise.
4685 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
4686 (elf_machine_rela): Likewise.
4687 * sysdeps/powerpc/powerpc32/dl-machine.c
4688 (__process_machine_rela): Likewise.
4689 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4690 Likewise.
4691 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
4692 Likewise.
4693 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4694 Likewise.
4695 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4696 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
4697 Likewise.
4698 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
4699 Likewise.
4700 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4701
8a9f20c8
CD
47022013-05-28 Carlos O'Donell <carlos@redhat.com>
4703
4704 * po/be.po: Add descriptive title.
4705 * po/zh_CN.po: Likewise.
4706 * po/header.pot: Likewise.
4707
0e60d68e
MF
47082013-05-28 Mike Frysinger <vapier@gentoo.org>
4709
4710 * locale/programs/locarchive.c (create_archive): Inlucde fname in
4711 error message.
4712 (enlarge_archive): Likewise.
4713
56b672e9
BN
47142013-05-28 Ben North <ben@redfrontdoor.org>
4715
4716 * manual/arith.texi (frexp): It is the magnitude of the return
4717 value which lies in [0.5, 1), not the return value itself.
4718
5e056687
AZ
47192013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4720
4721 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4722
2b66ef5d
TS
47232013-05-26 Thomas Schwinge <thomas@codesourcery.com>
4724
528c2405
TS
4725 * stdio-common/bug26.c (main): Correct fscanf template.
4726
07b4c13d
TS
4727 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
4728 declare _dl_skip_args.
4729
ec9dd97c
TS
4730 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
4731 Don't declare.
4732
2b66ef5d
TS
4733 * manual/platform.texi: Add missing @end deftypefun.
4734
4f8dfe27
JM
47352013-05-24 Joseph Myers <joseph@codesourcery.com>
4736
0323d086
JM
4737 [BZ #15529]
4738 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
4739 bit of mantissa of 2^16382.
4740 * math/libm-test.inc (hypot_test_data): Add more tests.
4741
dd4259b9
JM
4742 * math/libm-test.inc: Add drem and pow10 to list of tested
4743 functions.
4744 (pow10_test): New function.
4745 (drem_test): Likewise.
4746 (drem_test_tonearest): Likewise.
4747 (drem_test_towardzero): Likewise.
4748 (drem_test_downward): Likewise.
4749 (drem_test_upward): Likewise.
4750 (main): Call the new functions.
4751
4f8dfe27
JM
4752 * math/libm-test.inc (finite_test_data): Remove.
4753 (finite_test): Run tests from isfinite_test_data.
4754 (gamma_test_data): Remove.
4755 (gamma_test): Run tests from lgamma_test_data.
4756 * sysdeps/i386/fpu/libm-test-ulps: Update.
4757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4758
d116b7c4
AZ
47592013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4760
4761 * manual/platform.texi: Add PowerPC PPR function set documentation.
4762 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
4763 implementation.
4764
e96e3767
CD
47652013-05-24 Carlos O'Donell <carlos@redhat.com>
4766
4767 * math/libm-test.inc (MAX_EXP): Define.
4768 (ULPDIFF): Define.
4769 (ulp): New function.
4770 (check_float_internal): Use ULPDIFF.
4771 (cpow_test): Disable failing test.
4772 (check_ulp): Test ulp() implemetnation.
4773 (main): Call check_ulp before starting tests.
4774
b679a606
JM
47752013-05-24 Joseph Myers <joseph@codesourcery.com>
4776
e8bdba36
JM
4777 * math/gen-libm-test.pl (generate_testfile): Do not handle
4778 START_DATA and END_DATA.
4779 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
4780 END_DATA.
4781 (acos_tonearest_test_data): Likewise.
4782 (acos_towardzero_test_data): Likewise.
4783 (acos_downward_test_data): Likewise.
4784 (acos_upward_test_data): Likewise.
4785 (acosh_test_data): Likewise.
4786 (asin_test_data): Likewise.
4787 (asin_tonearest_test_data): Likewise.
4788 (asin_towardzero_test_data): Likewise.
4789 (asin_downward_test_data): Likewise.
4790 (asin_upward_test_data): Likewise.
4791 (asinh_test_data): Likewise.
4792 (atan_test_data): Likewise.
4793 (atanh_test_data): Likewise.
4794 (atan2_test_data): Likewise.
4795 (cabs_test_data): Likewise.
4796 (cacos_test_data): Likewise.
4797 (cacosh_test_data): Likewise.
4798 (carg_test_data): Likewise.
4799 (casin_test_data): Likewise.
4800 (casinh_test_data): Likewise.
4801 (catan_test_data): Likewise.
4802 (catanh_test_data): Likewise.
4803 (cbrt_test_data): Likewise.
4804 (ccos_test_data): Likewise.
4805 (ccosh_test_data): Likewise.
4806 (ceil_test_data): Likewise.
4807 (cexp_test_data): Likewise.
4808 (cimag_test_data): Likewise.
4809 (clog_test_data): Likewise.
4810 (clog10_test_data): Likewise.
4811 (conj_test_data): Likewise.
4812 (copysign_test_data): Likewise.
4813 (cos_test_data): Likewise.
4814 (cos_tonearest_test_data): Likewise.
4815 (cos_towardzero_test_data): Likewise.
4816 (cos_downward_test_data): Likewise.
4817 (cos_upward_test_data): Likewise.
4818 (cosh_test_data): Likewise.
4819 (cosh_tonearest_test_data): Likewise.
4820 (cosh_towardzero_test_data): Likewise.
4821 (cosh_downward_test_data): Likewise.
4822 (cosh_upward_test_data): Likewise.
4823 (cpow_test_data): Likewise.
4824 (cproj_test_data): Likewise.
4825 (creal_test_data): Likewise.
4826 (csin_test_data): Likewise.
4827 (csinh_test_data): Likewise.
4828 (csqrt_test_data): Likewise.
4829 (ctan_test_data): Likewise.
4830 (ctan_tonearest_test_data): Likewise.
4831 (ctan_towardzero_test_data): Likewise.
4832 (ctan_downward_test_data): Likewise.
4833 (ctan_upward_test_data): Likewise.
4834 (ctanh_test_data): Likewise.
4835 (ctanh_tonearest_test_data): Likewise.
4836 (ctanh_towardzero_test_data): Likewise.
4837 (ctanh_downward_test_data): Likewise.
4838 (ctanh_upward_test_data): Likewise.
4839 (erf_test_data): Likewise.
4840 (erfc_test_data): Likewise.
4841 (exp_test_data): Likewise.
4842 (exp_tonearest_test_data): Likewise.
4843 (exp_towardzero_test_data): Likewise.
4844 (exp_downward_test_data): Likewise.
4845 (exp_upward_test_data): Likewise.
4846 (exp10_test_data): Likewise.
4847 (exp2_test_data): Likewise.
4848 (expm1_test_data): Likewise.
4849 (fabs_test_data): Likewise.
4850 (fdim_test_data): Likewise.
4851 (finite_test_data): Likewise.
4852 (floor_test_data): Likewise.
4853 (fma_test_data): Likewise.
4854 (fma_towardzero_test_data): Likewise.
4855 (fma_downward_test_data): Likewise.
4856 (fma_upward_test_data): Likewise.
4857 (fmax_test_data): Likewise.
4858 (fmin_test_data): Likewise.
4859 (fmod_test_data): Likewise.
4860 (fpclassify_test_data): Likewise.
4861 (frexp_test_data): Likewise.
4862 (gamma_test_data): Likewise.
4863 (hypot_test_data): Likewise.
4864 (ilogb_test_data): Likewise.
4865 (isfinite_test_data): Likewise.
4866 (isgreater_test_data): Likewise.
4867 (isgreaterequal_test_data): Likewise.
4868 (isinf_test_data): Likewise.
4869 (isless_test_data): Likewise.
4870 (islessequal_test_data): Likewise.
4871 (islessgreater_test_data): Likewise.
4872 (isnan_test_data): Likewise.
4873 (isnormal_test_data): Likewise.
4874 (issignaling_test_data): Likewise.
4875 (isunordered_test_data): Likewise.
4876 (j0_test_data): Likewise.
4877 (j1_test_data): Likewise.
4878 (jn_test_data): Likewise.
4879 (ldexp_test_data): Likewise.
4880 (lgamma_test_data): Likewise.
4881 (lrint_test_data): Likewise.
4882 (lrint_tonearest_test_data): Likewise.
4883 (lrint_towardzero_test_data): Likewise.
4884 (lrint_downward_test_data): Likewise.
4885 (lrint_upward_test_data): Likewise.
4886 (llrint_test_data): Likewise.
4887 (llrint_tonearest_test_data): Likewise.
4888 (llrint_towardzero_test_data): Likewise.
4889 (llrint_downward_test_data): Likewise.
4890 (llrint_upward_test_data): Likewise.
4891 (log_test_data): Likewise.
4892 (log10_test_data): Likewise.
4893 (log1p_test_data): Likewise.
4894 (log2_test_data): Likewise.
4895 (logb_test_data): Likewise.
4896 (logb_downward_test_data): Likewise.
4897 (lround_test_data): Likewise.
4898 (llround_test_data): Likewise.
4899 (modf_test_data): Likewise.
4900 (nearbyint_test_data): Likewise.
4901 (nextafter_test_data): Likewise.
4902 (nexttoward_test_data): Likewise.
4903 (pow_test_data): Likewise.
4904 (pow_tonearest_test_data): Likewise.
4905 (pow_towardzero_test_data): Likewise.
4906 (pow_downward_test_data): Likewise.
4907 (pow_upward_test_data): Likewise.
4908 (remainder_test_data): Likewise.
4909 (remainder_tonearest_test_data): Likewise.
4910 (remainder_towardzero_test_data): Likewise.
4911 (remainder_downward_test_data): Likewise.
4912 (remainder_upward_test_data): Likewise.
4913 (remquo_test_data): Likewise.
4914 (rint_test_data): Likewise.
4915 (rint_tonearest_test_data): Likewise.
4916 (rint_towardzero_test_data): Likewise.
4917 (rint_downward_test_data): Likewise.
4918 (rint_upward_test_data): Likewise.
4919 (round_test_data): Likewise.
4920 (scalb_test_data): Likewise.
4921 (scalbn_test_data): Likewise.
4922 (scalbln_test_data): Likewise.
4923 (signbit_test_data): Likewise.
4924 (sin_test_data): Likewise.
4925 (sin_tonearest_test_data): Likewise.
4926 (sin_towardzero_test_data): Likewise.
4927 (sin_downward_test_data): Likewise.
4928 (sin_upward_test_data): Likewise.
4929 (sincos_test_data): Likewise.
4930 (sinh_test_data): Likewise.
4931 (sinh_tonearest_test_data): Likewise.
4932 (sinh_towardzero_test_data): Likewise.
4933 (sinh_downward_test_data): Likewise.
4934 (sinh_upward_test_data): Likewise.
4935 (sqrt_test_data): Likewise.
4936 (tan_test_data): Likewise.
4937 (tan_tonearest_test_data): Likewise.
4938 (tan_towardzero_test_data): Likewise.
4939 (tan_downward_test_data): Likewise.
4940 (tan_upward_test_data): Likewise.
4941 (tanh_test_data): Likewise.
4942 (tgamma_test_data): Likewise.
4943 (trunc_test_data): Likewise.
4944 (y0_test_data): Likewise.
4945 (y1_test_data): Likewise.
4946 (yn_test_data): Likewise.
4947 (significand_test_data): Likewise.
4948
b679a606
JM
4949 * math/gen-libm-test.pl (@functions): Remove variable.
4950 (generate_testfile): Don't handle START and END lines.
4951 * math/libm-test.inc (START): New macro.
4952 (END): Likewise.
4953 (END_COMPLEX): Likewise.
4954 (acos_test): Use END macro without arguments.
4955 (acos_test_tonearest): Likewise.
4956 (acos_test_towardzero): Likewise.
4957 (acos_test_downward): Likewise.
4958 (acos_test_upward): Likewise.
4959 (acosh_test): Likewise.
4960 (asin_test): Likewise.
4961 (asin_test_tonearest): Likewise.
4962 (asin_test_towardzero): Likewise.
4963 (asin_test_downward): Likewise.
4964 (asin_test_upward): Likewise.
4965 (asinh_test): Likewise.
4966 (atan_test): Likewise.
4967 (atanh_test): Likewise.
4968 (atan2_test): Likewise.
4969 (cabs_test): Likewise.
4970 (cacos_test): Use END_COMPLEX macro without arguments.
4971 (cacosh_test): Likewise.
4972 (carg_test): Use END macro without arguments.
4973 (casin_test): Use END_COMPLEX macro without arguments.
4974 (casinh_test): Likewise.
4975 (catan_test): Likewise.
4976 (catanh_test): Likewise.
4977 (cbrt_test): Use END macro without arguments.
4978 (ccos_test): Use END_COMPLEX macro without arguments.
4979 (ccosh_test): Likewise.
4980 (ceil_test): Use END macro without arguments.
4981 (cexp_test): Use END_COMPLEX macro without arguments.
4982 (cimag_test): Use END macro without arguments.
4983 (clog_test): Use END_COMPLEX macro without arguments.
4984 (clog10_test): Likewise.
4985 (conj_test): Likewise.
4986 (copysign_test): Use END macro without arguments.
4987 (cos_test): Likewise.
4988 (cos_test_tonearest): Likewise.
4989 (cos_test_towardzero): Likewise.
4990 (cos_test_downward): Likewise.
4991 (cos_test_upward): Likewise.
4992 (cosh_test): Likewise.
4993 (cosh_test_tonearest): Likewise.
4994 (cosh_test_towardzero): Likewise.
4995 (cosh_test_downward): Likewise.
4996 (cosh_test_upward): Likewise.
4997 (cpow_test): Use END_COMPLEX macro without arguments.
4998 (cproj_test): Likewise.
4999 (creal_test): Use END macro without arguments.
5000 (csin_test): Use END_COMPLEX macro without arguments.
5001 (csinh_test): Likewise.
5002 (csqrt_test): Likewise.
5003 (ctan_test): Likewise.
5004 (ctan_test_tonearest): Likewise.
5005 (ctan_test_towardzero): Likewise.
5006 (ctan_test_downward): Likewise.
5007 (ctan_test_upward): Likewise.
5008 (ctanh_test): Likewise.
5009 (ctanh_test_tonearest): Likewise.
5010 (ctanh_test_towardzero): Likewise.
5011 (ctanh_test_downward): Likewise.
5012 (ctanh_test_upward): Likewise.
5013 (erf_test): Use END macro without arguments.
5014 (erfc_test): Likewise.
5015 (exp_test): Likewise.
5016 (exp_test_tonearest): Likewise.
5017 (exp_test_towardzero): Likewise.
5018 (exp_test_downward): Likewise.
5019 (exp_test_upward): Likewise.
5020 (exp10_test): Likewise.
5021 (exp2_test): Likewise.
5022 (expm1_test): Likewise.
5023 (fabs_test): Likewise.
5024 (fdim_test): Likewise.
5025 (finite_test): Likewise.
5026 (floor_test): Likewise.
5027 (fma_test): Likewise.
5028 (fma_test_towardzero): Likewise.
5029 (fma_test_downward): Likewise.
5030 (fma_test_upward): Likewise.
5031 (fmax_test): Likewise.
5032 (fmin_test): Likewise.
5033 (fmod_test): Likewise.
5034 (fpclassify_test): Likewise.
5035 (frexp_test): Likewise.
5036 (gamma_test): Likewise.
5037 (hypot_test): Likewise.
5038 (ilogb_test): Likewise.
5039 (isfinite_test): Likewise.
5040 (isgreater_test): Likewise.
5041 (isgreaterequal_test): Likewise.
5042 (isinf_test): Likewise.
5043 (isless_test): Likewise.
5044 (islessequal_test): Likewise.
5045 (islessgreater_test): Likewise.
5046 (isnan_test): Likewise.
5047 (isnormal_test): Likewise.
5048 (issignaling_test): Likewise.
5049 (isunordered_test): Likewise.
5050 (j0_test): Likewise.
5051 (j1_test): Likewise.
5052 (jn_test): Likewise.
5053 (ldexp_test): Likewise.
5054 (lgamma_test): Likewise.
5055 (lrint_test): Likewise.
5056 (lrint_test_tonearest): Likewise.
5057 (lrint_test_towardzero): Likewise.
5058 (lrint_test_downward): Likewise.
5059 (lrint_test_upward): Likewise.
5060 (llrint_test): Likewise.
5061 (llrint_test_tonearest): Likewise.
5062 (llrint_test_towardzero): Likewise.
5063 (llrint_test_downward): Likewise.
5064 (llrint_test_upward): Likewise.
5065 (log_test): Likewise.
5066 (log10_test): Likewise.
5067 (log1p_test): Likewise.
5068 (log2_test): Likewise.
5069 (logb_test): Likewise.
5070 (logb_test_downward): Likewise.
5071 (lround_test): Likewise.
5072 (llround_test): Likewise.
5073 (modf_test): Likewise.
5074 (nearbyint_test): Likewise.
5075 (nextafter_test): Likewise.
5076 (nexttoward_test): Likewise.
5077 (pow_test): Likewise.
5078 (pow_test_tonearest): Likewise.
5079 (pow_test_towardzero): Likewise.
5080 (pow_test_downward): Likewise.
5081 (pow_test_upward): Likewise.
5082 (remainder_test): Likewise.
5083 (remainder_test_tonearest): Likewise.
5084 (remainder_test_towardzero): Likewise.
5085 (remainder_test_downward): Likewise.
5086 (remainder_test_upward): Likewise.
5087 (remquo_test): Likewise.
5088 (rint_test): Likewise.
5089 (rint_test_tonearest): Likewise.
5090 (rint_test_towardzero): Likewise.
5091 (rint_test_downward): Likewise.
5092 (rint_test_upward): Likewise.
5093 (round_test): Likewise.
5094 (scalb_test): Likewise.
5095 (scalbn_test): Likewise.
5096 (scalbln_test): Likewise.
5097 (signbit_test): Likewise.
5098 (sin_test): Likewise.
5099 (sin_test_tonearest): Likewise.
5100 (sin_test_towardzero): Likewise.
5101 (sin_test_downward): Likewise.
5102 (sin_test_upward): Likewise.
5103 (sincos_test): Likewise.
5104 (sinh_test): Likewise.
5105 (sinh_test_tonearest): Likewise.
5106 (sinh_test_towardzero): Likewise.
5107 (sinh_test_downward): Likewise.
5108 (sinh_test_upward): Likewise.
5109 (sqrt_test): Likewise.
5110 (tan_test): Likewise.
5111 (tan_test_tonearest): Likewise.
5112 (tan_test_towardzero): Likewise.
5113 (tan_test_downward): Likewise.
5114 (tan_test_upward): Likewise.
5115 (tanh_test): Likewise.
5116 (tgamma_test): Likewise.
5117 (trunc_test): Likewise.
5118 (y0_test): Likewise.
5119 (y1_test): Likewise.
5120 (yn_test): Likewise.
5121 (significand_test): Likewise.
5122
bae143d2
OB
51232013-05-24 Ondřej Bílka <neleai@seznam.cz>
5124
5125 [BZ #15381]
5126 * libio/genops.c (_IO_no_init): Initialize wide struct info.
5127
9323d39b
EM
51282013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
5129
d4ea44a0 5130 [BZ #14894]
9323d39b
EM
5131 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
5132 __ppc_mdoio and __ppc_mdoom.
5133 * manual/platform.texi: Document new functions __ppc_yield,
5134 __ppc_mdoio and __ppc_mdoom.
5135
13e23af7
CD
51362013-05-22 Carlos O'Donell <carlos@redhat.com>
5137
5138 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
5139 (main): Mention "tls" pseudo-hwcap is legacy.
5140 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
5141
351fe550
JM
51422013-05-22 Joseph Myers <joseph@codesourcery.com>
5143
5144 * math/gen-libm-test.pl (parse_args): Output only string of
5145 arguments as text for test name, not full call or descriptions of
5146 tests for extra outputs.
5147 (generate_testfile): Do not pass function name to parse_args.
5148 Generate this_func variable from START.
5149 * math/libm-test.inc (struct test_f_f_data): Rename test_name
5150 field to arg_str.
5151 (struct test_ff_f_data): Likewise.
5152 (test_ff_f_data_nexttoward): Likewise.
5153 (struct test_fi_f_data): Likewise.
5154 (struct test_fl_f_data): Likewise.
5155 (struct test_if_f_data): Likewise.
5156 (struct test_fff_f_data): Likewise.
5157 (struct test_c_f_data): Likewise.
5158 (struct test_f_f1_data): Likewise. Remove field extra_name.
5159 (struct test_fF_f1_data): Likewise.
5160 (struct test_ffI_f1_data): Likewise.
5161 (struct test_c_c_data): Rename test_name field to arg_str.
5162 (struct test_cc_c_data): Likewise.
5163 (struct test_f_i_data): Likewise.
5164 (struct test_ff_i_data): Likewise.
5165 (struct test_f_l_data): Likewise.
5166 (struct test_f_L_data): Likewise.
5167 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
5168 and extra2_name.
5169 (COMMON_TEST_SETUP): New macro.
5170 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
5171 (COMMON_TEST_CLEANUP): Likewise.
5172 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
5173 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
5174 macros.
5175 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
5176 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
5177 macros.
5178 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
5179 (RUN_TEST_fff_f): Take argument string. Call new setup and
5180 cleanup macros.
5181 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
5182 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
5183 macros.
5184 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
5185 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
5186 macros.
5187 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5188 (RUN_TEST_fF_f1): Take argument string. Call new setup and
5189 cleanup macros.
5190 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5191 (RUN_TEST_fI_f1): Take argument string. Call new setup and
5192 cleanup macros.
5193 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5194 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
5195 cleanup macros.
5196 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5197 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
5198 macros.
5199 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
5200 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
5201 macros.
5202 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
5203 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
5204 macros.
5205 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
5206 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
5207 cleanup macros.
5208 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
5209 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
5210 cleanup macros.
5211 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
5212 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
5213 macros.
5214 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
5215 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
5216 cleanup macros.
5217 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
5218 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
5219 macros.
5220 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
5221 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
5222 macros.
5223 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
5224 (RUN_TEST_fFF_11): Take argument string. Call new setup and
5225 cleanup macros.
5226 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
5227
85118d4d
EBM
52282013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5229
5230 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
5231 to _sifields.sigfault.
5232 (si_addr_lsb): Define new macro.
5233 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5234 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5235 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
5236
7a44c18f
CD
52372013-05-03 Carlos O'Donell <carlos at redhat.com>
5238
5239 [BZ #15441]
5240 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
5241 returns -1.
5242 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
5243 null return -1.
5244 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
5245 loading the domain.
5246
b50a7181
JM
52472013-05-22 Joseph Myers <joseph@codesourcery.com>
5248
5249 * math/gen-libm-test.pl (parse_args): Do not include expected
5250 result in test name.
5251 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
5252 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5253 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5254 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5255 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5257
051063c8
SP
52582013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5259
3ce9e010
SP
5260 * benchtests/Makefile: Sort function entries.
5261
051063c8
SP
5262 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
5263 tanh, asinh, acosh, atanh.
5264 * benchtests/acos-inputs: New file.
5265 * benchtests/acosh-inputs: New file.
5266 * benchtests/asin-inputs: New file.
5267 * benchtests/asinh-inputs: New file.
5268 * benchtests/atanh-inputs: New file.
5269 * benchtests/cosh-inputs: New file.
5270 * benchtests/log-inputs: New file.
5271 * benchtests/sinh-inputs: New file.
5272 * benchtests/tanh-inputs: New file.
5273
47c22455
DL
52742013-05-21 Dmitry V. Levin <ldv@altlinux.org>
5275
5276 [BZ #15339]
5277 * posix/tst-getaddrinfo4.c: New test.
5278 * posix/Makefile (tests): Add it.
5279
3d04f5db
SP
52802013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5281
5282 [BZ #15339]
5283 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
5284 when no services were used.
5285 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
5286 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
5287
d5dd6189
AS
52882013-05-21 Andreas Schwab <schwab@suse.de>
5289
5290 [BZ #15014]
5291 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
5292 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
5293 successful.
5294 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
5295 redundant variable declarations and reallocation of buffer when
5296 parsing as IPv6 address. Always set NSS status when called from
5297 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
5298 buffer too small. Correct computation of needed size.
5299 * nss/Makefile (tests): Add test-digits-dots.
5300 * nss/test-digits-dots.c: New test.
5301
fef94eab
SP
53022013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5303
5304 * benchtests/Makefile: Remove instructions for adding
5305 benchmark tests.
5306 * benchtests/README: New file to explain how to execute and
5307 enhance the benchmark tests.
5308
e39adf43
AS
53092013-05-21 Andreas Schwab <schwab@suse.de>
5310
5311 [BZ #15493]
5312 * setjmp/Makefile (tests): Add tst-sigsetjmp.
5313 * setjmp/tst-sigsetjmp.c: New test.
5314
b2b671b6
OB
53152013-05-20 Ondřej Bílka <neleai@seznam.cz>
5316
5317 * sysdeps/x86_64/memset.S (memset): New implementation.
5318 (__bzero): Likewise.
5319 (__memset_tail): New function.
5320
2d48b41c
OB
53212013-05-20 Ondřej Bílka <neleai@seznam.cz>
5322
5323 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
5324 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
5325 __memcpy_sse2_unaligned ifunc selection.
5326 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5327 Add memcpy-sse2-unaligned.S.
5328 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5329 Add: __memcpy_sse2_unaligned.
5330
f16cc3eb
JM
53312013-05-19 Joseph Myers <joseph@codesourcery.com>
5332
3e694268
JM
5333 [BZ #15490]
5334 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
5335 math_force_eval before restoring floating-point envrionment.
5336 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
5337 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
5338 Likewise.
5339 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
5340 <math_private.h>.
5341 (__nearbyintl): Use math_force_eval before restoring
5342 floating-point environment.
5343 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
5344
db62a907
JM
5345 * math/gen-libm-test.pl (special_functions): Remove.
5346 (parse_args): Don't handle TEST_extra. Handle functions with no
5347 return value.
5348 * math/libm-test.inc (struct test_sincos_data): Replace with
5349 struct test_fFF_11_data.
5350 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
5351 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
5352 (sincos_test_data): Change element type to struct
5353 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
5354 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
5355 RUN_TEST_LOOP_sincos.
5356 * math/README.libm-test: Don't mention special handling of
5357 individual functions.
5358 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
5359 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5360 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5361 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5362 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5364
f16cc3eb
JM
5365 * math/gen-libm-test.pl (get_variable): Remove function.
5366 (parse_args): Don't show pointer parameters to call in test
5367 names. Use "extra output N" in test names for extra outputs
5368 rather than naming variables.
5369
3779b5b6
JM
53702013-05-18 Joseph Myers <joseph@codesourcery.com>
5371
2ee094ff
JM
5372 [BZ #15488]
5373 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
5374 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
5375 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
5376 double tests.
5377 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
5378 disable.
5379 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
5380 check_long_double.
5381
3779b5b6
JM
5382 * math/gen-libm-test.pl (@tests): Remove variable.
5383 ($count): Likewise.
5384 (new_test): Remove function.
5385 (show_exceptions): New function.
5386 (special_functions): Use show_exceptions instead of new_test.
5387 (parse_args): Likewise.
5388 (generate_testfile): Pass only function name in generated call to
5389 print_max_error or print_complex_max_error.
5390 (get_ulps): Do not handle complex tests specially.
5391 (output_test): Rename to ...
5392 (get_all_ulps_for_test): ... this. Return a string rather than
5393 printing to a file. Require ulps to be present.
5394 (output_ulps): Generate arrays rather than #defines.
5395 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
5396 (struct ulp_data): New type.
5397 (BUILD_COMPLEX_ULP): Remove macro.
5398 (compare_ulp_data): New function.
5399 (find_ulps): Likewise.
5400 (find_test_ulps): Likewise.
5401 (find_function_ulps): Likewise.
5402 (find_complex_function_ulps): Likewise.
5403 (print_max_error): Determine allowed ulps using
5404 find_function_ulps.
5405 (print_complex_max_error): Determine allowed ulps using
5406 find_complex_function_ulps.
5407 (check_float_internal): Determine max ulps using find_test_ulps.
5408 (check_float): Do not take max_ulp parameter. Update call to
5409 check_float_internal.
5410 (check_complex): Likewise.
5411 (check_int): Do not take max_ulp parameter.
5412 (check_long): Likewise.
5413 (check_bool): Likewise.
5414 (check_longlong): Likewise.
5415 (struct test_f_f_data): Remove max_ulp field.
5416 (struct test_ff_f_data): Likewise.
5417 (struct test_ff_f_data_nexttoward): Likewise.
5418 (struct test_fi_f_data): Likewise.
5419 (struct test_fl_f_data): Likewise.
5420 (struct test_if_f_data): Likewise.
5421 (struct test_fff_f_data): Likewise.
5422 (struct test_c_f_data): Likewise.
5423 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
5424 (struct test_fF_f1_data): Likewise.
5425 (struct test_ffI_f1_data): Likewise.
5426 (struct test_c_c_data): Remove max_ulp field.
5427 (struct test_cc_c_data): Likewise.
5428 (struct test_f_i_data): Likewise.
5429 (struct test_ff_i_data): Likewise.
5430 (struct test_f_l_data): Likewise.
5431 (struct test_f_L_data): Likewise.
5432 (struct test_sincos_data): Likewise.
5433 (RUN_TEST_f_f): Do not handle ulps.
5434 (RUN_TEST_LOOP_f_f): Likewise.
5435 (RUN_TEST_2_f): Likewise.
5436 (RUN_TEST_LOOP_2_f): Likewise.
5437 (RUN_TEST_fff_f): Likewise.
5438 (RUN_TEST_LOOP_fff_f): Likewise.
5439 (RUN_TEST_c_f): Likewise.
5440 (RUN_TEST_LOOP_c_f): Likewise.
5441 (RUN_TEST_f_f1): Likewise.
5442 (RUN_TEST_LOOP_f_f1): Likewise.
5443 (RUN_TEST_fF_f1): Likewise.
5444 (RUN_TEST_LOOP_fF_f1): Likewise.
5445 (RUN_TEST_fI_f1): Likewise.
5446 (RUN_TEST_LOOP_fI_f1): Likewise.
5447 (RUN_TEST_ffI_f1): Likewise.
5448 (RUN_TEST_LOOP_ffI_f1): Likewise.
5449 (RUN_TEST_c_c): Likewise.
5450 (RUN_TEST_LOOP_c_c): Likewise.
5451 (RUN_TEST_cc_c): Likewise.
5452 (RUN_TEST_LOOP_cc_c): Likewise.
5453 (RUN_TEST_f_i): Likewise.
5454 (RUN_TEST_LOOP_f_i): Likewise.
5455 (RUN_TEST_f_i_tg): Likewise.
5456 (RUN_TEST_LOOP_f_i_tg): Likewise.
5457 (RUN_TEST_ff_i_tg): Likewise.
5458 (RUN_TEST_LOOP_ff_i_tg): Likewise.
5459 (RUN_TEST_f_b): Likewise.
5460 (RUN_TEST_LOOP_f_b): Likewise.
5461 (RUN_TEST_f_b_tg): Likewise.
5462 (RUN_TEST_LOOP_f_b_tg): Likewise.
5463 (RUN_TEST_f_l): Likewise.
5464 (RUN_TEST_LOOP_f_l): Likewise.
5465 (RUN_TEST_f_L): Likewise.
5466 (RUN_TEST_LOOP_f_L): Likewise.
5467 (RUN_TEST_sincos): Likewise.
5468 (RUN_TEST_LOOP_sincos): Likewise.
5469
8269107f
JM
54702013-05-17 Joseph Myers <joseph@codesourcery.com>
5471
bb38759d
JM
5472 [BZ #15480]
5473 [BZ #15485]
5474 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
5475 main case of finite arguments, set rounding mode to FE_TONEAREST
5476 and discard exceptions.
5477 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
5478 exceptions.
5479 (remainder_tonearest_test_data): New variable.
5480 (remainder_test_tonearest): New function.
5481 (remainder_towardzero_test_data): New variable.
5482 (remainder_test_towardzero): New function.
5483 (remainder_downward_test_data): New variable.
5484 (remainder_test_downward): New function.
5485 (remainder_upward_test_data): New variable.
5486 (remainder_test_upward): New function.
5487 (main): Call the new test functions.
5488
a00bdcf0
JM
5489 * math/libm-test.inc (struct test_f_f1_data): Remove field
5490 extra_init.
5491 (struct test_fF_f1_data): Likewise.
5492 (struct test_ffI_f1_data): Likewise.
5493 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
5494 based on value of EXTRA_EXPECTED.
5495 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5496 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
5497 EXTRA_VAR based on value of EXTRA_EXPECTED.
5498 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5499 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
5500 EXTRA_VAR based on value of EXTRA_EXPECTED.
5501 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5502 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
5503 EXTRA_VAR based on value of EXTRA_EXPECTED.
5504 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5505 * math/gen-libm-test.pl (parse_args): Don't output initializers
5506 for extra output values.
5507
de407f79
JM
5508 * math/libm-test.inc (check_int): Expect result to be exactly
5509 equal to expected value and do not handle ulps.
5510 (check_long): Likewise.
5511 (check_longlong): Likewise.
5512
8269107f
JM
5513 * math/libm-test.inc (ceil_test_data): Test for "inexact"
5514 exceptions.
5515 (cimag_test_data): Likewise.
5516 (conj_test_data): Likewise.
5517 (copysign_test_data): Likewise.
5518 (cproj_test_data): Likewise.
5519 (creal_test_data): Likewise.
5520 (fabs_test_data): Likewise.
5521 (fdim_test_data): Likewise.
5522 (finite_test_data): Likewise.
5523 (floor_test_data): Likewise.
5524 (fmax_test_data): Likewise.
5525 (fmin_test_data): Likewise.
5526 (fmod_test_data): Likewise.
5527 (fpclassify_test_data): Likewise.
5528 (frexp_test_data): Likewise.
5529 (ilogb_test_data): Likewise.
5530 (isfinite_test_data): Likewise.
5531 (isgreater_test_data): Likewise.
5532 (isgreaterequal_test_data): Likewise.
5533 (isinf_test_data): Likewise.
5534 (isless_test_data): Likewise.
5535 (islessequal_test_data): Likewise.
5536 (islessgreater_test_data): Likewise.
5537 (isnan_test_data): Likewise.
5538 (isnormal_test_data): Likewise.
5539 (issignaling_test_data): Likewise.
5540 (isunordered_test_data): Likewise.
5541 (ldexp_test_data): Likewise.
5542 (lrint_test_data): Likewise.
5543 (lrint_test_data) [TEST_FLOAT]: Disable one test.
5544 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
5545 (lrint_tonearest_test_data): Test for "inexact" exceptions.
5546 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5547 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
5548 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5549 test input.
5550 (lrint_towardzero_test_data): Test for "inexact" exceptions.
5551 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5552 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
5553 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
5554 that test input.
5555 (lrint_downward_test_data): Test for "inexact" exceptions.
5556 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5557 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
5558 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5559 test input.
5560 (lrint_upward_test_data): Test for "inexact" exceptions.
5561 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
5562 test input.
5563 (llrint_test_data): Test for "inexact" exceptions.
5564 (llrint_test_data) [TEST_FLOAT]: Disable one test.
5565 (llrint_tonearest_test_data): Test for "inexact" exceptions.
5566 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5567 (llrint_towardzero_test_data): Test for "inexact" exceptions.
5568 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5569 (llrint_downward_test_data): Test for "inexact" exceptions.
5570 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5571 (llrint_upward_test_data): Test for "inexact" exceptions.
5572 (logb_test_data): Likewise.
5573 (logb_downward_test_data): Likewise.
5574 (nextafter_test_data): Likewise.
5575 (nexttoward_test_data): Likewise.
5576 (remainder_test_data): Likewise.
5577 (remquo_test_data): Likewise.
5578 (scalbn_test_data): Likewise.
5579 (scalbln_test_data): Likewise.
5580 (signbit_test_data): Likewise.
5581 (sqrt_test_data): Likewise.
5582 (significand_test_data): Likewise.
5583
48a18de1
SP
55842013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5585
5586 [BZ #15424]
5587 * benchtests/bench-modf.c (struct args): Mark arg0 as
5588 volatile.
5589 * scripts/bench.pl: Mark members of struct args as volatile.
5590
13d3b41a
AZ
55912013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5592
68191c1d 5593 [BZ # 15497]
13d3b41a
AZ
5594 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
5595 negative infinity on POWER6 or lower.
5596 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
5597
2848b105
MR
55982013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5599
5600 [BZ #15442]
5601 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
5602 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
5603 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
5604 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
5605 (_FP_SETQNAN): New macro.
5606 (_FP_SETQNAN_SEMIRAW): Likewise.
5607 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
5608 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
5609 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
5610 (FP_EXTEND): Use _FP_FRAC_SNANP.
5611 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
5612 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
5613 into account.
5614 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5615 New macro.
5616 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5617 Likewise.
5618
323e5cb7
JM
56192013-05-16 Joseph Myers <joseph@codesourcery.com>
5620
c58b274f
JM
5621 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
5622 with DIVIDE_BY_ZERO_EXCEPTION.
5623 (gamma_test_data): Likewise.
5624 (lgamma_test_data): Likewise.
5625 (log_test_data): Likewise.
5626 (log10_test_data): Likewise.
5627 (log2_test_data): Likewise.
5628 (tgamma_test_data): Likewise.
5629
0ab34904
JM
5630 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
5631 (acos_test_tonearest): Likewise.
5632 (acos_test_towardzero): Likewise.
5633 (acos_test_downward): Likewise.
5634 (acos_test_upward): Likewise.
5635 (acosh_test): Likewise.
5636 (asin_test): Likewise.
5637 (asin_test_tonearest): Likewise.
5638 (asin_test_towardzero): Likewise.
5639 (asin_test_downward): Likewise.
5640 (asin_test_upward): Likewise.
5641 (asinh_test): Likewise.
5642 (atan_test): Likewise.
5643 (atanh_test): Likewise.
5644 (atan2_test): Likewise.
5645 (cabs_test): Likewise.
5646 (cacos_test): Likewise.
5647 (cacosh_test): Likewise.
5648 (casin_test): Likewise.
5649 (casinh_test): Likewise.
5650 (catan_test): Likewise.
5651 (catanh_test): Likewise.
5652 (cbrt_test): Likewise.
5653 (ccos_test): Likewise.
5654 (ccosh_test): Likewise.
5655 (cexp_test): Likewise.
5656 (clog_test): Likewise.
5657 (clog10_test): Likewise.
5658 (cos_test): Likewise.
5659 (cos_test_tonearest): Likewise.
5660 (cos_test_towardzero): Likewise.
5661 (cos_test_downward): Likewise.
5662 (cos_test_upward): Likewise.
5663 (cosh_test): Likewise.
5664 (cosh_test_tonearest): Likewise.
5665 (cosh_test_towardzero): Likewise.
5666 (cosh_test_downward): Likewise.
5667 (cosh_test_upward): Likewise.
5668 (cpow_test): Likewise.
5669 (csin_test): Likewise.
5670 (csinh_test): Likewise.
5671 (csqrt_test): Likewise.
5672 (ctan_test): Likewise.
5673 (ctan_test_tonearest): Likewise.
5674 (ctan_test_towardzero): Likewise.
5675 (ctan_test_downward): Likewise.
5676 (ctan_test_upward): Likewise.
5677 (ctanh_test): Likewise.
5678 (ctanh_test_tonearest): Likewise.
5679 (ctanh_test_towardzero): Likewise.
5680 (ctanh_test_downward): Likewise.
5681 (ctanh_test_upward): Likewise.
5682 (erf_test): Likewise.
5683 (erfc_test): Likewise.
5684 (exp_test): Likewise.
5685 (exp_test_tonearest): Likewise.
5686 (exp_test_towardzero): Likewise.
5687 (exp_test_downward): Likewise.
5688 (exp_test_upward): Likewise.
5689 (exp10_test): Likewise.
5690 (exp2_test): Likewise.
5691 (expm1_test): Likewise.
5692 (fmod_test): Likewise.
5693 (gamma_test): Likewise.
5694 (hypot_test): Likewise.
5695 (j0_test): Likewise.
5696 (j1_test): Likewise.
5697 (jn_test): Likewise.
5698 (lgamma_test): Likewise.
5699 (log_test): Likewise.
5700 (log10_test): Likewise.
5701 (log1p_test): Likewise.
5702 (log2_test): Likewise.
5703 (logb_test_downward): Likewise.
5704 (pow_test): Likewise.
5705 (pow_test_tonearest): Likewise.
5706 (pow_test_towardzero): Likewise.
5707 (pow_test_downward): Likewise.
5708 (pow_test_upward): Likewise.
5709 (remainder_test): Likewise.
5710 (remquo_test): Likewise.
5711 (sin_test): Likewise.
5712 (sin_test_tonearest): Likewise.
5713 (sin_test_towardzero): Likewise.
5714 (sin_test_downward): Likewise.
5715 (sin_test_upward): Likewise.
5716 (sincos_test): Likewise.
5717 (sinh_test): Likewise.
5718 (sinh_test_tonearest): Likewise.
5719 (sinh_test_towardzero): Likewise.
5720 (sinh_test_downward): Likewise.
5721 (sinh_test_upward): Likewise.
5722 (sqrt_test): Likewise.
5723 (tan_test): Likewise.
5724 (tan_test_tonearest): Likewise.
5725 (tan_test_towardzero): Likewise.
5726 (tan_test_downward): Likewise.
5727 (tan_test_upward): Likewise.
5728 (tanh_test): Likewise.
5729 (tgamma_test): Likewise.
5730 (y0_test): Likewise.
5731 (y1_test): Likewise.
5732 (yn_test): Likewise.
5733
323e5cb7
JM
5734 * math/gen-libm-test.pl (adjust_arg): Remove function.
5735 (special_function): Remove argument $in_func. Only handle
5736 generating output for tables of tests, not inside functions.
5737 (parse_args): Likewise.
5738 (generate_testfile): Remove variable $in_func. Update call to
5739 parse_args.
5740 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
5741 (MINUS_ZERO_INIT): Rename macro to minus_zero.
5742 (PLUS_INFTY_INIT): Rename macro to plus_infty.
5743 (MINUS_INFTY_INIT): Rename macro to minus_infty.
5744 (QNAN_VALUE_INIT): Rename macro to qnan_value.
5745 (MAX_VALUE_INIT): Rename macro to max_value.
5746 (MIN_VALUE_INIT): Rename macro to min_value.
5747 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
5748 (plus_zero): Remove variable.
5749 (minus_zero): Likewise.
5750 (plus_infty): Likewise.
5751 (minus_infty): Likewise.
5752 (qnan_value): Likewise.
5753 (max_value): Likewise.
5754 (min_value): Likewise.
5755 (min_subnorm_value): Likewise.
5756
e054f494
RA
57572013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5758
5759 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
5760 uint64_t or uint32_t usage.
5761 * crypt/sha256-block.c: Likewise.
5762 * crypt/sha256-crypt.c: Likewise.
5763 * crypt/sha256.c: Likewise.
5764 * crypt/sha512-block.c: Likewise.
5765 * crypt/sha512-crypt.c: Likewise.
5766 * crypt/sha512.c: Likewise.
5767 * debug/backtrace-tst.c: Likewise.
5768 * debug/pcprofiledump.c: Likewise.
5769 * elf/cache.c: Likewise.
5770 * elf/dl-cache.c: Likewise.
5771 * elf/dl-misc.c: Likewise.
5772 * elf/dl-profile.c: Likewise.
5773 * elf/dl-support.c: Likewise.
5774 * elf/ldconfig.c: Likewise.
5775 * elf/sprof.c: Likewise.
5776 * iconv/dummy-repertoire.c: Likewise.
5777 * iconv/iconv_charmap.c: Likewise.
5778 * iconv/skeleton.c: Likewise.
5779 * iconvdata/8bit-generic.c: Likewise.
5780 * iconvdata/cp737.h: Likewise.
5781 * iconvdata/cp775.h: Likewise.
5782 * iconvdata/ibm1008.h: Likewise.
5783 * iconvdata/ibm1025.h: Likewise.
5784 * iconvdata/ibm1046.h: Likewise.
5785 * iconvdata/ibm1097.h: Likewise.
5786 * iconvdata/ibm1112.h: Likewise.
5787 * iconvdata/ibm1122.h: Likewise.
5788 * iconvdata/ibm1123.h: Likewise.
5789 * iconvdata/ibm1124.h: Likewise.
5790 * iconvdata/ibm1129.h: Likewise.
5791 * iconvdata/ibm1130.h: Likewise.
5792 * iconvdata/ibm1132.h: Likewise.
5793 * iconvdata/ibm1133.h: Likewise.
5794 * iconvdata/ibm1137.h: Likewise.
5795 * iconvdata/ibm1140.h: Likewise.
5796 * iconvdata/ibm1141.h: Likewise.
5797 * iconvdata/ibm1142.h: Likewise.
5798 * iconvdata/ibm1143.h: Likewise.
5799 * iconvdata/ibm1144.h: Likewise.
5800 * iconvdata/ibm1145.h: Likewise.
5801 * iconvdata/ibm1146.h: Likewise.
5802 * iconvdata/ibm1147.h: Likewise.
5803 * iconvdata/ibm1148.h: Likewise.
5804 * iconvdata/ibm1149.h: Likewise.
5805 * iconvdata/ibm1153.h: Likewise.
5806 * iconvdata/ibm1154.h: Likewise.
5807 * iconvdata/ibm1155.h: Likewise.
5808 * iconvdata/ibm1156.h: Likewise.
5809 * iconvdata/ibm1157.h: Likewise.
5810 * iconvdata/ibm1158.h: Likewise.
5811 * iconvdata/ibm1160.h: Likewise.
5812 * iconvdata/ibm1161.h: Likewise.
5813 * iconvdata/ibm1162.h: Likewise.
5814 * iconvdata/ibm1163.h: Likewise.
5815 * iconvdata/ibm1164.h: Likewise.
5816 * iconvdata/ibm1166.h: Likewise.
5817 * iconvdata/ibm1167.h: Likewise.
5818 * iconvdata/ibm12712.h: Likewise.
5819 * iconvdata/ibm1390.h: Likewise.
5820 * iconvdata/ibm1399.h: Likewise.
5821 * iconvdata/ibm16804.h: Likewise.
5822 * iconvdata/ibm4517.h: Likewise.
5823 * iconvdata/ibm4899.h: Likewise.
5824 * iconvdata/ibm4909.h: Likewise.
5825 * iconvdata/ibm4971.h: Likewise.
5826 * iconvdata/ibm5347.h: Likewise.
5827 * iconvdata/ibm803.h: Likewise.
5828 * iconvdata/ibm856.h: Likewise.
5829 * iconvdata/ibm901.h: Likewise.
5830 * iconvdata/ibm902.h: Likewise.
5831 * iconvdata/ibm9030.h: Likewise.
5832 * iconvdata/ibm9066.h: Likewise.
5833 * iconvdata/ibm921.h: Likewise.
5834 * iconvdata/ibm922.h: Likewise.
5835 * iconvdata/ibm9448.h: Likewise.
5836 * iconvdata/isiri-3342.h: Likewise.
5837 * iconvdata/jis0201.h: Likewise.
5838 * include/link.h: Likewise.
5839 * include/netdb.h: Likewise.
5840 * inet/check_native.c: Likewise.
5841 * inet/check_pf.c: Likewise.
5842 * inet/getipv4sourcefilter.c: Likewise.
5843 * inet/getnameinfo.c: Likewise.
5844 * inet/getsourcefilter.c: Likewise.
5845 * inet/htonl.c: Likewise.
5846 * inet/setipv4sourcefilter.c: Likewise.
5847 * inet/setsourcefilter.c: Likewise.
5848 * inet/test-inet6_opt.c: Likewise.
5849 * inet/tst-network.c: Likewise.
5850 * locale/C-collate.c: Likewise.
5851 * locale/C-ctype.c: Likewise.
5852 * locale/C-time.c: Likewise.
5853 * locale/C-translit.h: Likewise.
5854 * locale/loadarchive.c: Likewise.
5855 * locale/programs/3level.h: Likewise.
5856 * locale/programs/charmap.c: Likewise.
5857 * locale/programs/charmap.h: Likewise.
5858 * locale/programs/ld-address.c: Likewise.
5859 * locale/programs/ld-collate.c: Likewise.
5860 * locale/programs/ld-ctype.c: Likewise.
5861 * locale/programs/ld-identification.c: Likewise.
5862 * locale/programs/ld-measurement.c: Likewise.
5863 * locale/programs/ld-messages.c: Likewise.
5864 * locale/programs/ld-monetary.c: Likewise.
5865 * locale/programs/ld-name.c: Likewise.
5866 * locale/programs/ld-numeric.c: Likewise.
5867 * locale/programs/ld-paper.c: Likewise.
5868 * locale/programs/ld-telephone.c: Likewise.
5869 * locale/programs/ld-time.c: Likewise.
5870 * locale/programs/linereader.c: Likewise.
5871 * locale/programs/locale.c: Likewise.
5872 * locale/programs/locarchive.c: Likewise.
5873 * locale/programs/locfile.h: Likewise.
5874 * locale/programs/repertoire.c: Likewise.
5875 * locale/programs/simple-hash.c: Likewise.
5876 * locale/programs/simple-hash.h: Likewise.
5877 * malloc/memusage.c: Likewise.
5878 * malloc/memusagestat.c: Likewise.
5879 * nis/nis_defaults.c: Likewise.
5880 * nis/nis_hash.c: Likewise.
5881 * nis/nis_print.c: Likewise.
5882 * nis/nis_xdr.c: Likewise.
5883 * nscd/connections.c: Likewise.
5884 * nscd/hstcache.c: Likewise.
5885 * nscd/nscd_gethst_r.c: Likewise.
5886 * nscd/nscd_getserv_r.c: Likewise.
5887 * nscd/nscd_helper.c: Likewise.
5888 * nscd/servicescache.c: Likewise.
5889 * nss/makedb.c: Likewise.
5890 * nss/nss_db/db-XXX.c: Likewise.
5891 * nss/nss_db/db-initgroups.c: Likewise.
5892 * nss/nss_db/db-netgrp.c: Likewise.
5893 * nss/nss_files/files-network.c: Likewise.
5894 * nss/nss_files/files-parse.c: Likewise.
5895 * posix/bug-regex5.c: Likewise.
5896 * posix/fnmatch_loop.c: Likewise.
5897 * posix/regcomp.c: Likewise.
5898 * posix/regexec.c: Likewise.
5899 * posix/tst-rfc3484-2.c: Likewise.
5900 * posix/tst-rfc3484-3.c: Likewise.
5901 * posix/tst-rfc3484.c: Likewise.
5902 * resolv/nss_dns/dns-canon.c: Likewise.
5903 * resolv/nss_dns/dns-network.c: Likewise.
5904 * resolv/res_init.c: Likewise.
5905 * resolv/res_mkquery.c: Likewise.
5906 * resolv/tst-aton.c: Likewise.
5907 * stdlib/cxa_atexit.c: Likewise.
5908 * stdlib/cxa_finalize.c: Likewise.
5909 * stdlib/gen-fpioconst.c: Likewise.
5910 * stdlib/strtol_l.c: Likewise.
5911 * string/tst-endian.c: Likewise.
5912 * sunrpc/auth_des.c: Likewise.
5913 * sunrpc/clnt_udp.c: Likewise.
5914 * sunrpc/rtime.c: Likewise.
5915 * sunrpc/svcauth_des.c: Likewise.
5916 * sunrpc/xdr.c: Likewise.
5917 * sunrpc/xdr_intXX_t.c: Likewise.
5918 * sunrpc/xdr_rec.c: Likewise.
5919 * sysdeps/generic/ldconfig.h: Likewise.
5920 * sysdeps/generic/ldsodefs.h: Likewise.
5921 * sysdeps/generic/memusage.h: Likewise.
5922 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5923 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
5924 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
5925 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5926 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5927 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5928 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5929 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5930 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5931 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5932 * sysdeps/posix/getaddrinfo.c: Likewise.
5933 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5934 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5935 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5936 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5937 * sysdeps/powerpc/test-gettimebase.c: Likewise.
5938 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5939 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
5940 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
5941 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
5942 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
5943 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5944 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5945 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
5946 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
5947 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
5948 * sysdeps/x86_64/dl-tls.h: Likewise.
5949 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
5950 * time/alt_digit.c: Likewise.
5951 * time/era.c: Likewise.
5952 * wcsmbs/tst-c16c32-1.c: Likewise.
5953
8c75f674
JM
59542013-05-16 Joseph Myers <joseph@codesourcery.com>
5955
5956 * math/libm-test.inc (struct test_sincos_data): New type.
5957 (RUN_TEST_LOOP_sincos): New macro.
5958 (sincos_test_data): New variable.
5959 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
5960
e6e49e59
RH
59612013-05-16 Richard Henderson <rth@redhat.com>
5962
5963 * math/atest-exp2.c (LIMB64): New macro.
5964 (CONSTSZ): New macro.
5965 (mp_exp1, mp_exp_m1, mp_log2): New variables.
5966 (hexdig): Move ...
5967 (print_mpn_fp): ... to function scope.
5968 (read_mpn_hex): Remove.
5969 (get_log2): Remove.
5970 (exp2_mpn): Use mp_log2.
5971 (main): Use mp_exp1.
5972
15c7c18d
JM
59732013-05-16 Joseph Myers <joseph@codesourcery.com>
5974
105a07df
JM
5975 * math/libm-test.inc: Remove comment about not testing "inexact"
5976 exceptions.
5977 (INEXACT_EXCEPTION): New macro.
5978 (NO_INEXACT_EXCEPTION): Likewise.
5979 (INVALID_EXCEPTION_OK): Update value.
5980 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5981 (OVERFLOW_EXCEPTION_OK): Likewise.
5982 (UNDERFLOW_EXCEPTION_OK): Likewise.
5983 (IGNORE_ZERO_INF_SIGN): Likewise.
5984 (ERRNO_UNCHANGED): Likewise.
5985 (ERRNO_EDOM): Likewise.
5986 (ERRNO_ERANGE): Likewise.
5987 (test_exceptions): Handle testing "inexact" exceptions.
5988 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
5989 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
5990 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
5991 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
5992 INEXACT_EXCEPTION.
5993 (rint_towardzero_test_data): Likewise.
5994 (rint_downward_test_data): Likewise.
5995 (rint_upward_test_data): Likewise.
5996
e9eee333
JM
5997 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
5998 with OVERFLOW_EXCEPTION.
5999 (exp10_test_data): Likewise.
6000 (exp2_test_data): Likewise.
6001 (expm1_test_data): Likewise.
6002 (lgamma_test_data): Likewise.
6003 (pow_test_data): Likewise.
6004 (tgamma_test_data): Likewise.
6005 (yn_test_data): Remove duplicate test of overflow.
6006
1c38ff73
JM
6007 * math/libm-test.inc (struct test_cc_c_data): New type.
6008 (RUN_TEST_LOOP_cc_c): New macro.
6009 (cpow_test_data): New variable.
6010 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
6011
15c7c18d
JM
6012 * math/libm-test.inc (struct test_f_L_data): New type.
6013 (RUN_TEST_LOOP_f_L): New macro.
6014 (llrint_test_data): New variable.
6015 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
6016 (llrint_tonearest_test_data): New variable.
6017 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
6018 (llrint_towardzero_test_data): New variable.
6019 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
6020 (llrint_downward_test_data): New variable.
6021 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
6022 (llrint_upward_test_data): New variable.
6023 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
6024 (llround_test_data): New variable.
6025 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
6026
f137ff13
PC
60272013-05-13 Peter Collingbourne <pcc@google.com>
6028
6029 * math/atest-exp2.c (get_log2): Remove const attribute.
6030
3608cb24
JM
60312013-05-15 Joseph Myers <joseph@codesourcery.com>
6032
6033 * math/libm-test.inc (struct test_f_l_data): New type.
6034 (RUN_TEST_LOOP_f_l): New macro.
6035 (lrint_test_data): New variable.
6036 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
6037 (lrint_tonearest_test_data): New variable.
6038 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
6039 (lrint_towardzero_test_data): New variable.
6040 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
6041 (lrint_downward_test_data): New variable.
6042 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
6043 (lrint_upward_test_data): New variable.
6044 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
6045 (lround_test_data): New variable.
6046 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
6047
39b1f617
PC
60482013-05-15 Peter Collingbourne <pcc@google.com>
6049
1deff3dc
PC
6050 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
6051 (EXTRACT_WORDS64) Use where appropriate.
6052 (INSERT_WORDS64) Likewise.
6053
791f3ba0
PC
6054 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
6055 constraints with x constraints.
6056 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
6057
39b1f617
PC
6058 * malloc/obstack.c (_obstack_compat): Add initializer.
6059
12fba011
EM
60602013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
6061
6062 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
6063 si_trapno and add si_addr_lsb to _sifields.sigfault.
6064 (si_trapno): Remove macro.
6065 (si_addr_lsb): Define new macro.
6066 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6067
d369f531
JM
60682013-05-15 Joseph Myers <joseph@codesourcery.com>
6069
b861c6c4
JM
6070 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
6071 instead of TEST_f_l.
6072 (llrint_test_tonearest): Likewise.
6073 (llrint_test_towardzero): Likewise.
6074 (llrint_test_downward): Likewise.
6075 (llrint_test_upward): Likewise.
6076 (llround_test): Likewise.
6077
7abeee12
JM
6078 * math/libm-test.inc (struct test_f_i_data): Add comment.
6079 (RUN_TEST_LOOP_f_b): New macro.
6080 (RUN_TEST_LOOP_f_b_tg): Likewise.
6081 (finite_test_data): New variable.
6082 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
6083 (isfinite_test_data): New variable.
6084 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6085 (isinf_test_data): New variable.
6086 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6087 (isnan_test_data): New variable.
6088 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6089 (isnormal_test_data): New variable.
6090 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6091 (issignaling_test_data): New variable.
6092 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6093 (signbit_test_data): New variable.
6094 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6095
cbe8c4d3
JM
6096 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
6097 with INVALID_EXCEPTION.
6098 (acosh_test_data): Likewise.
6099 (asin_test_data): Likewise.
6100 (atanh_test_data): Likewise.
6101 (fmod_test_data): Likewise.
6102 (log_test_data): Likewise.
6103 (log10_test_data): Likewise.
6104 (log2_test_data): Likewise.
6105 (pow_test_data): Likewise.
6106 (sqrt_test_data): Likewise.
6107 (y0_test_data): Likewise.
6108 (y1_test_data): Likewise.
6109 (yn_test_data): Likewise.
6110
5575c0e5
JM
6111 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
6112 function contents.
6113
d369f531
JM
6114 * math/libm-test.inc (struct test_ff_i_data): New type.
6115 (RUN_TEST_LOOP_ff_i_tg): New macro.
6116 (isgreater_test_data): New variable.
6117 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6118 (isgreaterequal_test_data): New variable.
6119 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6120 (isless_test_data): New variable.
6121 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6122 (islessequal_test_data): New variable.
6123 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6124 (islessgreater_test_data): New variable.
6125 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6126 (isunordered_test_data): New variable.
6127 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6128
781fd748
DM
61292013-05-14 David S. Miller <davem@davemloft.net>
6130
6131 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6132
87aa21df
JM
61332013-05-14 Joseph Myers <joseph@codesourcery.com>
6134
5e908270
JM
6135 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
6136
f71172e5
JM
6137 * math/libm-test.inc (struct test_fF_f1_data): Change type of
6138 extra_test to int.
6139 (struct test_f_i_data): Change type of max_ulp to int.
6140
8cfa635a
JM
6141 * math/libm-test.inc (test_ffI_f1_data): New type.
6142 (RUN_TEST_LOOP_ffI_f1): New macro.
6143 (remquo_test_data): New variable.
6144 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
6145
2bcb36b2
JM
6146 * setjmp/tst-setjmp-fp.c: New file.
6147 * setjmp/Makefile (tests): Add tst-setjmp-fp.
6148 (link-libm): New variable.
6149 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
6150
acbd839a
JM
6151 * math/libm-test.inc (struct test_f_i_data): New type.
6152 (RUN_TEST_LOOP_f_i): New macro.
6153 (RUN_TEST_LOOP_f_i_tg): Likewise.
6154 (fpclassify_test_data): New variable.
6155 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
6156 (ilogb_test_data): New variable.
6157 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
6158
e414d745
JM
6159 * math/libm-test.inc (scalbln_test): Correct function name in END
6160 call.
6161
d9c2a0fd
JM
6162 * math/libm-test.inc (struct test_f_f1_data): Add comment.
6163 (RUN_TEST_LOOP_fI_f1): New macro.
6164 (frexp_test_data): New variable.
6165 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
6166
9dc9095d
JM
6167 * math/libm-test.inc (struct test_fF_f1_data): New type.
6168 (RUN_TEST_LOOP_fF_f1): New macro.
6169 (modf_test_data): New variable.
6170 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
6171
87aa21df
JM
6172 * math/libm-test.inc (struct test_f_f1_data): New type.
6173 (RUN_TEST_LOOP_f_f1): New macro.
6174 (gamma_test_data): New variable.
6175 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6176 (lgamma_test_data): New variable.
6177 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6178
141af660
CD
61792013-05-13 Carlos O'Donell <carlos@redhat.com>
6180
6181 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
6182 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
6183 (main): Comment "tls" pseudo-hwcap.
6184
6d33265c
JM
61852013-05-13 Joseph Myers <joseph@codesourcery.com>
6186
68fc074c
JM
6187 * math/libm-test.inc (struct test_fl_f_data): New type.
6188 (RUN_TEST_LOOP_fl_f): New variable.
6189 (scalbln_test_data): New variable.
6190 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
6191
243216e1
JM
6192 * math/libm-test.inc (struct test_fi_f_data): New type.
6193 (RUN_TEST_LOOP_fi_f): New macro.
6194 (ldexp_test_data): New variable.
6195 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
6196 (scalbn_test_data): New variable.
6197 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
6198
6a1992e2
JM
6199 * math/libm-test.inc (struct test_c_f_data): New type.
6200 (RUN_TEST_LOOP_c_f): New macro.
6201 (cabs_test_data): New variable.
6202 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
6203 (carg_test_data): New variable.
6204 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
6205 (cimag_test_data): New variable.
6206 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
6207 (creal_test_data): New variable.
6208 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
6209
0e400df5
JM
6210 * math/libm-test.inc (struct test_if_f_data): New type.
6211 (RUN_TEST_LOOP_if_f): New macro.
6212 (jn_test_data): New variable.
6213 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
6214 (yn_test_data): New variable.
6215 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
6216
6d33265c
JM
6217 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
6218
f98ece5f
AZ
62192013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6220
6221 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
6222 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
6223
0f7d347b
SP
62242013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6225
43fe811b
SP
6226 * benchtests/Makefile (CPPFLAGS-nonlib): Add
6227 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
6228 (bench-deps): Add bench-timing.h.
6229 * benchtests-bench-skeleton.c: Include bench-timing.h.
6230 (main): Use TIMING_* macros instead of clock_gettime.
6231 * benchtests/bench-timing.h: New file.
6232
0f7d347b
SP
6233 [BZ #14582]
6234 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
6235 Renamed from _LIB_VERSION.
6236 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
6237
601a3a5f
JM
62382013-05-12 Joseph Myers <joseph@codesourcery.com>
6239
4f184d30
JM
6240 * math/libm-test.inc (struct test_fff_f_data): New type.
6241 (RUN_TEST_LOOP_fff_f): New macro.
6242 (fma_test_data): New variable.
6243 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
6244 (fma_towardzero_test_data): New variable.
6245 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
6246 (fma_downward_test_data): New variable.
6247 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
6248 (fma_upward_test_data): New variable.
6249 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
6250
08198877
JM
6251 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
6252 (struct test_c_c_data): New type.
6253 (RUN_TEST_LOOP_c_c): New macro.
6254 (cacos_test_data): New variable.
6255 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
6256 (cacosh_test_data): New variable.
6257 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
6258 (casin_test_data): New variable.
6259 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
6260 (casinh_test_data): New variable.
6261 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
6262 (catan_test_data): New variable.
6263 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
6264 (catanh_test_data): New variable.
6265 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
6266 (ccos_test_data): New variable.
6267 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
6268 (ccosh_test_data): New variable.
6269 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
6270 (cexp_test_data): New variable.
6271 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
6272 (clog_test_data): New variable.
6273 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
6274 (clog10_test_data): New variable.
6275 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
6276 (conj_test_data): New variable.
6277 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
6278 (cproj_test_data): New variable.
6279 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
6280 (csin_test_data): New variable.
6281 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
6282 (csinh_test_data): New variable.
6283 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
6284 (csqrt_test_data): New variable.
6285 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
6286 (ctan_test_data): New variable.
6287 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
6288 (ctan_tonearest_test_data): New variable.
6289 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6290 (ctan_towardzero_test_data): New variable.
6291 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6292 (ctan_downward_test_data): New variable.
6293 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6294 (ctan_upward_test_data): New variable.
6295 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6296 (ctanh_test_data): New variable.
6297 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
6298 (ctanh_tonearest_test_data): New variable.
6299 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6300 (ctanh_towardzero_test_data): New variable.
6301 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6302 (ctanh_downward_test_data): New variable.
6303 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6304 (ctanh_upward_test_data): New variable.
6305 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6306 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
6307 of BUILD_COMPLEX.
6308
601a3a5f
JM
6309 * math/libm-test.inc (struct test_ff_f_data): New type.
6310 (struct test_ff_f_data_nexttoward): Likewise.
6311 (RUN_TEST_LOOP_2_f): New macro.
6312 (RUN_TEST_LOOP_ff_f): Likewise.
6313 (atan2_test_data): New variable.
6314 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
6315 (copysign_test_data): New variable.
6316 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
6317 (fdim_test_data): New variable.
6318 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
6319 (fmax_test_data): New variable.
6320 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
6321 (fmin_test_data): New variable.
6322 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
6323 (fmod_test_data): New variable.
6324 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
6325 (hypot_test_data): New variable.
6326 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
6327 (nextafter_test_data): New variable.
6328 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
6329 (nexttoward_test_data): New variable.
6330 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
6331 (pow_test_data): New variable.
6332 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
6333 (pow_tonearest_test_data): New variable.
6334 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
6335 (pow_towardzero_test_data): New variable.
6336 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
6337 (pow_downward_test_data): New variable.
6338 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
6339 (pow_upward_test_data): New variable.
6340 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
6341 (remainder_test_data): New variable.
6342 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
6343 (scalb_test_data): New variable.
6344 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
6345 * sysdeps/i386/fpu/libm-test-ulps: Update.
6346
74c57478
JM
63472013-05-11 Joseph Myers <joseph@codesourcery.com>
6348
8329e4da
JM
6349 * math/libm-test.inc (fma_test): Use max_value instead of local
6350 variable fltmax.
6351 (nextafter_test): Likewise.
6352
74c57478
JM
6353 * math/libm-test.inc (acos_towardzero_test_data): New variable.
6354 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6355 (acos_downward_test_data): New variable.
6356 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6357 (acos_upward_test_data): New variable.
6358 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6359 (acosh_test_data): New variable.
6360 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
6361 (asin_test_data): New variable.
6362 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
6363 (asin_tonearest_test_data): New variable.
6364 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6365 (asin_towardzero_test_data): New variable.
6366 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6367 (asin_downward_test_data): New variable.
6368 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6369 (asin_upward_test_data): New variable.
6370 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6371 (asinh_test_data): New variable.
6372 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
6373 (atan_test_data): New variable.
6374 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
6375 (atanh_test_data): New variable.
6376 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
6377 (cbrt_test_data): New variable.
6378 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
6379 (ceil_test_data): New variable.
6380 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
6381 (cos_test_data): New variable.
6382 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
6383 (cos_tonearest_test_data): New variable.
6384 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6385 (cos_towardzero_test_data): New variable.
6386 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6387 (cos_downward_test_data): New variable.
6388 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6389 (cos_upward_test_data): New variable.
6390 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6391 (cosh_test_data): New variable.
6392 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
6393 (cosh_tonearest_test_data): New variable.
6394 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6395 (cosh_towardzero_test_data): New variable.
6396 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6397 (cosh_downward_test_data): New variable.
6398 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6399 (cosh_upward_test_data): New variable.
6400 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6401 (erf_test_data): New variable.
6402 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
6403 (erfc_test_data): New variable.
6404 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
6405 (exp_test_data): New variable.
6406 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
6407 (exp_tonearest_test_data): New variable.
6408 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6409 (exp_towardzero_test_data): New variable.
6410 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6411 (exp_downward_test_data): New variable.
6412 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6413 (exp_upward_test_data): New variable.
6414 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6415 (exp10_test_data): New variable.
6416 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
6417 (exp2_test_data): New variable.
6418 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
6419 (expm1_test_data): New variable.
6420 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
6421 (fabs_test_data): New variable.
6422 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
6423 (floor_test_data): New variable.
6424 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
6425 (j0_test_data): New variable.
6426 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
6427 (j1_test_data): New variable.
6428 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
6429 (log_test_data): New variable.
6430 (log_test): Run tests with RUN_TEST_LOOP_f_f.
6431 (log10_test_data): New variable.
6432 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
6433 (log1p_test_data): New variable.
6434 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
6435 (log2_test_data): New variable.
6436 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
6437 (logb_test_data): New variable.
6438 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
6439 (logb_downward_test_data): New variable.
6440 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6441 (nearbyint_test_data): New variable.
6442 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
6443 (rint_test_data): New variable.
6444 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
6445 (rint_tonearest_test_data): New variable.
6446 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6447 (rint_towardzero_test_data): New variable.
6448 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6449 (rint_downward_test_data): New variable.
6450 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6451 (rint_upward_test_data): New variable.
6452 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6453 (round_test_data): New variable.
6454 (round_test): Run tests with RUN_TEST_LOOP_f_f.
6455 (sin_test_data): New variable.
6456 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
6457 (sin_tonearest_test_data): New variable.
6458 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6459 (sin_towardzero_test_data): New variable.
6460 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6461 (sin_downward_test_data): New variable.
6462 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6463 (sin_upward_test_data): New variable.
6464 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6465 (sinh_test_data): New variable.
6466 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
6467 (sinh_tonearest_test_data): New variable.
6468 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6469 (sinh_towardzero_test_data): New variable.
6470 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6471 (sinh_downward_test_data): New variable.
6472 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6473 (sinh_upward_test_data): New variable.
6474 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6475 (sqrt_test_data): New variable.
6476 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
6477 (tan_test_data): New variable.
6478 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
6479 (tan_tonearest_test_data): New variable.
6480 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6481 (tan_towardzero_test_data): New variable.
6482 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6483 (tan_downward_test_data): New variable.
6484 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6485 (tan_upward_test_data): New variable.
6486 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6487 (tanh_test_data): New variable.
6488 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
6489 (tgamma_test_data): New variable.
6490 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
6491 (trunc_test_data): New variable.
6492 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
6493 (y0_test_data): New variable.
6494 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
6495 (y1_test_data): New variable.
6496 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
6497 (significand_test_data): New variable.
6498 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
6499
7187d844
CG
65002013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
6501
6502 [BZ #12387]
6503 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
6504
f63fae73
PT
65052013-05-10 Pino Toscano <toscano.pino@tiscali.it>
6506
6507 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
6508
8a67a4b3
AJ
65092013-05-10 Andreas Jaeger <aj@suse.de>
6510
6511 [BZ #15448]
6512 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
6513 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
6514
51df539d
JM
65152013-05-10 Joseph Myers <joseph@codesourcery.com>
6516
6517 * math/gen-libm-test.pl (adjust_arg): New function.
6518 (special_functions): Handle generating output in both functions
6519 and arrays.
6520 (parse_args): Likewise.
6521 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
6522 $in_func argument to parse_args.
6523 * math/libm-test.inc (struct test_f_f_data): New type.
6524 (IF_ROUND_INIT_): New macro.
6525 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
6526 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6527 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6528 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6529 (ROUND_RESTORE_): Likewise.
6530 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
6531 (ROUND_RESTORE_FE_TONEAREST): Likewise.
6532 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
6533 (ROUND_RESTORE_FE_UPWARD): Likewise.
6534 (RUN_TEST_LOOP_f_f): New macro.
6535 (acos_test_data): New variable.
6536 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
6537 (acos_tonearest_test_data): New variable.
6538 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6539
5c637fe5
SP
65402013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6541
6542 * benchtests/bench-skeleton.c (startup): Fix coding style.
6543
ab2b9461
JM
65442013-05-10 Joseph Myers <joseph@codesourcery.com>
6545
6546 [BZ #6809]
6547 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
6548 negative infinity argument.
6549 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
6550 negative infinity argument.
6551 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
6552 negative infinity argument.
6553 * math/libm-test.inc (tgamma_test): Expect errno to be set for
6554 domain errors.
6555
4c0fe6fe
FW
65562013-05-10 Florian Weimer <fweimer@redhat.com>
6557
6558 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
6559 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
6560 * iconv/iconv_prog.c (main): Likewise.
6561 * locale/programs/charmap-dir.c (charmap_readdir)
6562 (fopen_uncompressed): Likewise.
6563 * locale/programs/locfile.c (siblings_uncached)
6564 (write_locale_data): Use lstat64 instead of lstat.
6565 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
6566 stat.
6567
a3375d29
AJ
65682013-05-10 Andreas Jaeger <aj@suse.de>
6569
6570 [BZ #15395]
6571 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
6572 localization.
6573 Include <locale.h>.
6574
36129722
CD
65752013-05-09 Carlos O'Donell <carlos@redhat.com>
6576
6577 * elf/dl-close.c (_dl_close_worker): Add comments.
6578
faa7f811
JM
65792013-05-09 Joseph Myers <joseph@codesourcery.com>
6580
ed41ffef
JM
6581 [BZ #15359]
6582 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
6583 high part of pi/2.
6584 (__ieee754_rem_pio2l): Update comments.
6585
d0213cd0
JM
6586 [BZ #15429]
6587 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
6588 high part of pi/2.
6589 (__ieee754_rem_pio2l): Update comments.
6590
0d3e777a
JM
6591 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
6592 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
6593
24f56066
JM
6594 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
6595 M_PI_4l.
6596
faa7f811
JM
6597 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
6598 (M_PI_34_LOG10El): Likewise.
6599 (M_PI2_LOG10El): Likewise.
6600 (M_PI4_LOG10El): Likewise.
6601 (M_PI_LOG10El): Likewise.
6602
e9a5e0fd
AZ
66032013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6604
6605 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6606
d8cd06db
JM
66072013-05-08 Joseph Myers <joseph@codesourcery.com>
6608
a0d9f9d7
JM
6609 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
6610 (MINUS_ZERO_INIT): Likewise.
6611 (PLUS_INFTY_INIT): Likewise.
6612 (MINUS_INFTY_INIT): Likewise.
6613 (QNAN_VALUE_INIT): Likewise.
6614 (MAX_VALUE_INIT): Likewise.
6615 (MIN_VALUE_INIT): Likewise.
6616 (MIN_SUBNORM_VALUE_INIT): Likewise.
6617 (plus_zero): Initialize with PLUS_ZERO_INIT.
6618 (minus_zero): Initialize with MINUS_ZERO_INIT.
6619 (plus_infty): Initialize with PLUS_INFTY_INIT.
6620 (minus_infty): Initialize with MINUS_INFTY_INIT.
6621 (qnan_value): Initialize with QNAN_VALUE_INIT.
6622 (max_value): Initialize with MAX_VALUE_INIT.
6623 (min_value): Initialize with MIN_VALUE_INIT.
6624 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
6625
ae08db3b
JM
6626 * math/libm-test.inc (RUN_TEST_if_f): New macro.
6627 (jn_test): Use TEST_if_f instead of TEST_ff_f.
6628 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
6629 (yn_test): Use TEST_if_f instead of TEST_ff_f.
6630
f44bf14a
JM
6631 * math/libm-test.inc (RUN_TEST_f_f): New macro.
6632 (RUN_TEST_2_f): Likewise.
6633 (RUN_TEST_ff_f): Likewise.
6634 (RUN_TEST_fi_f): Likewise.
6635 (RUN_TEST_fl_f): Likewise.
6636 (RUN_TEST_fff_f): Likewise.
6637 (RUN_TEST_c_f): Likewise.
6638 (RUN_TEST_f_f1): Likewise.
6639 (RUN_TEST_fF_f1): Likewise.
6640 (RUN_TEST_fI_f1): Likewise.
6641 (RUN_TEST_ffI_f1): Likewise.
6642 (RUN_TEST_c_c): Likewise.
6643 (RUN_TEST_cc_c): Likewise.
6644 (RUN_TEST_f_i): Likewise.
6645 (RUN_TEST_f_i_tg): Likewise.
6646 (RUN_TEST_ff_i_tg): Likewise.
6647 (RUN_TEST_f_b): Likewise.
6648 (RUN_TEST_f_b_tg): Likewise.
6649 (RUN_TEST_f_l): Likewise.
6650 (RUN_TEST_f_L): Likewise.
6651 (RUN_TEST_sincos): Likewise.
6652 * math/gen-libm-test.pl (new_test): Take new argument to indicate
6653 whether to show exceptions. Do not include ");\n" in return
6654 value.
6655 (special_functions): Output call to RUN_TEST_sincos instead of
6656 check_float calls. Update calls to new_test.
6657 (parse_args): Output call to single RUN_TEST_* macro instead of
6658 check_* calls and other assignments. Update calls to new_test.
6659
d8cd06db
JM
6660 [BZ #2546]
6661 [BZ #2560]
6662 [BZ #5159]
6663 [BZ #15426]
6664 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
6665 input to result for tgamma overflow.
6666 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
6667 (gamma_coeff): New variable.
6668 (NCOEFF): New macro.
6669 (gamma_positive): New function.
6670 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
6671 underflow here. Use gamma_positive instead of exp (lgamma) for
6672 other arguments.
6673 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
6674 (gamma_coeff): New variable.
6675 (NCOEFF): New macro.
6676 (gammaf_positive): New function.
6677 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
6678 underflow here. Use gamma_positive instead of exp (lgamma) for
6679 other arguments.
6680 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
6681 (gamma_coeff): New variable.
6682 (NCOEFF): New macro.
6683 (gammal_positive): New function.
6684 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
6685 underflow here. Use gamma_positive instead of exp (lgamma) for
6686 other arguments.
6687 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
6688 (gamma_coeff): New variable.
6689 (NCOEFF): New macro.
6690 (gammal_positive): New function.
6691 (__ieee754_gammal_r): Handle positive infinity, overflow and
6692 underflow here. Handle NaN the same as positive infinity. Remove
6693 check x < 0xffffffff for negative integers. Use gamma_positive
6694 instead of exp (lgamma) for other arguments.
6695 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
6696 (gamma_coeff): New variable.
6697 (NCOEFF): New macro.
6698 (gammal_positive): New function.
6699 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
6700 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
6701 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6702 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
6703 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
6704 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6705 * sysdeps/generic/math_private.h (__gamma_productf): New
6706 prototype.
6707 (__gamma_product): Likewise.
6708 (__gamma_productl): Likewise.
6709 * math/Makefile (libm-calls): Add gamma_product.
6710 * math/libm-test.inc (tgamma_test): Add more tests.
6711 * sysdeps/i386/fpu/libm-test-ulps: Update.
6712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6713
bb7cf681
OB
67142013-05-08 Ondřej Bílka <neleai@seznam.cz>
6715
6716 * benchtests/bench-skeleton.c (main): Preheat CPU.
6717
ba853947
AJ
67182013-05-07 Aurelien Jarno <aurelien@aurel32.net>
6719
6720 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
6721
8347c74c
RM
67222013-05-07 Roland McGrath <roland@hack.frob.com>
6723
6724 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
6725 and _dl_skip_args_internal.
6726
e8dd4791
CD
67272013-05-07 Carlos O'Donell <carlos@redhat.com>
6728
6729 * manual/message.texi (Message Translation): Talk about users.
6730 Message to key mapping impacts design.
6731
c7405830
RM
67322013-05-06 Roland McGrath <roland@hack.frob.com>
6733
a9173057
RM
6734 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
6735
976e2f03
RM
6736 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
6737
9723ffc5
RM
6738 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
6739 * sysdeps/wordsize-64/glob64.c: ... here.
6740
962e6658
RM
6741 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
6742 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
6743 New macros.
6744
ee586a6d
RM
6745 * debug/getlogin_r_chk.c: Moved to ...
6746 * login/getlogin_r_chk.c: ... here.
6747 * debug/Makefile (routines): Move getlogin_r_chk to ...
6748 * login/Makefile (routines): ... here.
6749 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
6750 * login/Versions (libc: GLIBC_2.4): ... here.
6751
355f9165
RM
6752 * io/poll.c (__poll): Renamed from poll.
6753 Add libc_hidden_def.
6754 (poll): Define as weak alias.
6755
bd9ffde6
RM
6756 * debug/ptsname_r_chk.c: Moved to ...
6757 * login/ptsname_r_chk.c: ... here.
6758 * debug/Makefile (routines): Move ptsname_r_chk to ...
6759 * login/Makefile (routines): ... here.
6760 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
6761 * login/Versions (libc: GLIBC_2.4): ... here.
6762
8fb16a04
RM
6763 * posix/getlogin.c: Moved to ...
6764 * login/getlogin.c: ... here.
6765 * posix/getlogin_r.c: Moved to ...
6766 * login/getlogin_r.c: ... here.
6767 * posix/getlogin_r.c: Moved to ...
6768 * login/getlogin_r.c: ... here.
6769 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
6770 * login/Makefile (routines): ... here.
6771 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
6772 * login/Versions (libc: GLIBC_2.0): ... here.
6773
b99b892f
RM
6774 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
6775 (setrlimit): Define as weak alias.
6776
c7405830
RM
6777 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
6778 Call __ names for open, ftruncate, and close.
6779 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
6780 (truncate): Define as weak alias.
6781
5bf96de5
JM
67822013-05-06 Joseph Myers <joseph@codesourcery.com>
6783
9ea3513c
JM
6784 * math/gen-libm-test.pl (parse_args): Initialize x before each
6785 test of frexp, modf and remquo.
6786
5bf96de5
JM
6787 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
6788 test signgam value.
6789
16e616a7
AZ
67902013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6791
6792 [BZ #15418]
6793 [BZ #15419]
6794 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
6795 internal tests.
6796 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6797
d5e82754
RM
67982013-05-06 Roland McGrath <roland@hack.frob.com>
6799
6800 * elf/dl-writev.h: New file.
6801 * elf/dl-misc.c: Include it.
6802 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
6803 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
6804
a7548d41
JM
68052013-05-04 Joseph Myers <joseph@codesourcery.com>
6806
b7dab1e4
JM
6807 * math/libm-test.inc (noXFails): Remove variable.
6808 (noXPasses): Likewise.
6809 (BUILD_COMPLEX_INT): Remove macro.
6810 (print_screen): Remove xfail argument.
6811 (print_screen_max_error): Likewise.
6812 (update_stats): Likewise.
6813 (print_max_error): Likewise. Update calls to other affected
6814 functions.
6815 (print_complex_max_error): Likewise.
6816 (test_single_exception): Update calls to print_screen.
6817 (test_single_errno): Likewise.
6818 (check_float_internal): Remove xfail argument. Update calls to
6819 other affected functions.
6820 (check_float): Likewise.
6821 (check_complex): Likewise.
6822 (check_int): Likewise.
6823 (check_long): Likewise.
6824 (check_bool): Likewise.
6825 (check_longlong): Likewise.
6826 (main): Don't print noXFails and noXPasses.
6827 * math/gen-libm-test.pl (top level): Don't mention expected
6828 failure handling in comment.
6829 (new_test): Don't handle expected failures.
6830 (parse_args): Don't mention expected failure handling in comment.
6831 (generate_testfile): Don't handle expected failures.
6832 (parse_ulps): Likewise.
6833 (print_ulps_file): Likewise.
6834 (get_failure): Remove function.
6835 (output_test): Don't handle expected failures.
6836 * make/README.libm-test: Don't mention expected failure handling.
6837
a7548d41
JM
6838 * math/libm-test.inc (plus_zero): Make const. Add initializer.
6839 (minus_zero): Likewise.
6840 (plus_infty): Likewise.
6841 (minus_infty): Likewise.
6842 (qnan_value): Likewise.
6843 (max_value): Likewise.
6844 (min_value): Likewise.
6845 (min_subnorm_value): Likewise.
6846 (initialize): Do not initialize those variables dynamically.
6847
60bfd54c
RM
68482013-05-03 Roland McGrath <roland@hack.frob.com>
6849
cc0e6ed8
RM
6850 * io/open.c (__open_2): Moved to ...
6851 * io/open_2.c: ... this new file.
6852 * io/open64.c (__open64_2): Moved to ...
6853 * io/open64_2.c: ... this new file.
6854 * io/openat.c (__openat_2): Moved to ...
6855 * io/openat_2.c: ... this new file.
6856 * io/openat64.c (__openat64_2): Moved to ...
6857 * io/openat64_2.c: ... this new file.
6858 * io/Makefile (routines): Add them.
6859 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
6860 * sysdeps/unix/sysv/linux/open_2.c: File removed.
6861 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
6862 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
6863 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
6864 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
6865 (__openat64): Add hidden_ver.
6866 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
6867 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
6868
60bfd54c
RM
6869 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
6870 Separately conditionalize setting of GLRO(dl_sysinfo) so
6871 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
6872 as well, but the actual setting is only under [NEED_DL_SYSINFO].
6873
83e7640f
AZ
68742013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6875
6876 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
6877 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
6878 definition.
6879 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
6880 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6881 (_libc_vdso_platform_setup): Add __vdso_time initialization.
6882 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
6883 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
6884
d5dc2af3
JM
68852013-05-03 Joseph Myers <joseph@codesourcery.com>
6886
c31a5b1e
JM
6887 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
6888 test signgam value.
6889
d5dc2af3
JM
6890 * math/libm-test.inc (hypot_test): Do not use
6891 IGNORE_ZERO_INF_SIGN.
6892
164fd39d
AJ
68932013-05-03 Andreas Jaeger <aj@suse.de>
6894
6895 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
6896 Linux 3.9.
6897 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
6898 (PF_MAX): Adjust for VSOCK change.
6899
8237f48c
AZ
69002013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6901
6902 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6903
9df02941
CD
69042013-05-02 Carlos O'Donell <carlos@redhat.com>
6905
6906 [BZ #15264]
6907 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
6908 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
6909 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
6910
d422395e
DM
69112013-05-02 David S. Miller <davem@davemloft.net>
6912
6913 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6914
a07c5731
OB
69152013-05-01 Ondřej Bílka <neleai@seznam.cz>
6916
6917 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
6918
1324e37f
RM
69192013-05-01 Roland McGrath <roland@hack.frob.com>
6920
6921 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
6922
0695940b
RS
69232013-05-01 Richard Smith <richard@metafoo.co.uk>
6924
bb5f27ad 6925 [BZ #14952]
0695940b
RS
6926 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
6927 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6928 Use __attribute__ ((__gnu_inline__)).
6929 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6930 Don't use __attribute__ ((__gnu_inline__)).
6931
10de07f5
JM
69322013-05-01 Joseph Myers <joseph@codesourcery.com>
6933
6934 [BZ #15423]
6935 * math/s_catan.c (__catan): Handle small real or imaginary part of
6936 input specially to avoid spurious underflow.
6937 * math/s_catanf.c (__catanf): Likewise.
6938 * math/s_catanh.c (__catanh): Likewise.
6939 * math/s_catanhf.c (__catanhf): Likewise.
6940 * math/s_catanhl.c (__catanhl): Likewise.
6941 * math/s_catanl.c (__catanl): Likewise.
6942 * math/libm-test.inc (catan_test): Add more tests.
6943 (catanh_test): Likewise.
6944 * sysdeps/i386/fpu/libm-test-ulps: Update.
6945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6946
cb4d5414
AZ
69472013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6948
6949 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6950
caf84319
JM
69512013-04-30 Joseph Myers <joseph@codesourcery.com>
6952
6953 [BZ #15416]
6954 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
6955 accurately for denominator in atan2.
6956 * math/s_catanf.c (__catanf): Likewise.
6957 * math/s_catanh.c (__catanh): Likewise.
6958 * math/s_catanhf.c (__catanhf): Likewise.
6959 * math/s_catanhl.c (__catanhl): Likewise.
6960 * math/s_catanl.c (__catanl): Likewise.
6961 * math/libm-test.inc (catan_test): Add more tests.
6962 (catanh_test): Likewise.
6963 * sysdeps/i386/fpu/libm-test-ulps: Update.
6964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6965
d569c6ee
SP
69662013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6967
6dbe713d
SP
6968 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
6969
f0ee064b
SP
6970 * benchtests/Makefile (bench): Remove slow benchmarks.
6971 * benchtests/atan-inputs: Add slow benchmark inputs.
6972 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
6973 (BENCH_FUNC): Accept variant offset.
6974 (VARIANT): Define.
6975 * benchtests/bench-skeleton.c (main): Run benchmark for each
6976 variant.
6977 * benchtests/cos-inputs: Add slow benchmark inputs.
6978 * benchtests/exp-inputs: Likewise.
6979 * benchtests/pow-inputs: Likewise.
6980 * benchtests/sin-inputs: Likewise.
6981 * benchtests/slowatan-inputs: Remove.
6982 * benchtests/slowatan.c: Remove.
6983 * benchtests/slowcos-inputs: Remove.
6984 * benchtests/slowcos.c: Remove.
6985 * benchtests/slowexp-inputs: Remove.
6986 * benchtests/slowexp.c: Remove.
6987 * benchtests/slowpow-inputs: Remove.
6988 * benchtests/slowpow.c: Remove.
6989 * benchtests/slowsin-inputs: Remove.
6990 * benchtests/slowsin.c: Remove.
6991 * benchtests/slowtan-inputs: Remove.
6992 * benchtests/slowtan.c: Remove.
6993 * benchtests/tan-inputs: Add slow benchmark inputs.
6994 * scripts/bench.pl: Parse comments and directives.
6995
d569c6ee
SP
6996 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
6997 in CPPFLAGS.
6998 ($(objpfx)bench-%.c): Remove *-ITER.
6999 * benchtests/bench-modf.c: Remove definition of ITER.
7000 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
7001 (main): Loop for DURATION seconds instead of fixed number of
7002 iterations.
7003 * scripts/bench.pl: Don't expect iterations in parameters.
7004
a6a242fe
RM
70052013-04-29 Roland McGrath <roland@hack.frob.com>
7006
7007 * io/fchdir.c (__fchdir): Renamed from fchdir.
7008 (fchdir): Define as weak alias.
7009
f2da7793
JM
70102013-04-29 Joseph Myers <joseph@codesourcery.com>
7011
7012 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
7013 (ERRNO_EDOM): Likewise.
7014 (ERRNO_ERANGE): Likewise.
7015 (noErrnoTests): New variable.
7016 (init_max_error): Set errno to 0.
7017 (test_single_errno): New function.
7018 (test_errno): Likewise.
7019 (check_float_internal): Call test_errno. Set errno to 0.
7020 (check_complex): Refer to errno tests in comment.
7021 (check_int): Call test_errno. Set errno to 0.
7022 (check_long): Likewise.
7023 (check_bool): Likewise.
7024 (check_longlong): Likewise.
7025 (cos_test): Use ERRNO_* flags for errno tests instead of
7026 check_int.
7027 (expm1_test): Likewise.
7028 (fmod_test): Likewise.
7029 (ilogb_test): Likewise.
7030 (lgamma_test): Likewise.
7031 (pow_test): Likewise.
7032 (remainder_test): Likewise.
7033 (sin_test): Likewise.
7034 (tan_test): Likewise.
7035 (yn_test): Likewise.
7036 (initialize): Set errno to 0.
7037 (main): Print number of errno tests.
7038 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
7039
b1a36ceb
AJ
70402013-04-29 Andreas Jaeger <aj@suse.de>
7041
c3ed8088
AJ
7042 [BZ #15084]
7043 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
7044 and RES_USEVC.
7045
f1a24198
AJ
7046 [BZ #15085]
7047 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
7048 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
7049 unimplemented.
7050
9ce3b2cb
AJ
7051 [BZ #15380]
7052 * stdlib/random.c (__initstate): Return NULL if
7053 __initstate fails.
7054
f1a24198 7055 [BZ #15086]
b1a36ceb
AJ
7056 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
7057 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
7058 RES_SNGLKUPREOP.
7059
7e7b6f36
AZ
70602013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7061
7062 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7063
4d14f449
JM
70642013-04-29 Joseph Myers <joseph@codesourcery.com>
7065
7066 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
7067 of individual tests.
7068 (casin_test): Likewise.
7069 (casinh_test): Likewise.
7070
5b4217d7
JM
70712013-04-27 Joseph Myers <joseph@codesourcery.com>
7072
7073 [BZ #15409]
7074 * math/s_catan.c (__catan): Handle arguments with large real or
7075 imaginary part separately without squaring.
7076 * math/s_catanf.c (__catanf): Likewise.
7077 * math/s_catanh.c (__catanh): Likewise.
7078 * math/s_catanhf.c (__catanhf): Likewise.
7079 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7080 and redefine.
7081 (__catanhl): Handle arguments with large real or imaginary part
7082 separately without squaring.
7083 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7084 and redefine.
7085 (__catanl): Handle arguments with large real or imaginary part
7086 separately without squaring.
7087 * math/libm-test.inc (catan_test): Add more tests.
7088 (catanh_test): Likewise.
7089 * sysdeps/i386/fpu/libm-test-ulps: Update.
7090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7091
4220c3ef
AJ
70922013-04-27 Andreas Jaeger <aj@suse.de>
7093
7094 [BZ #15007]
7095 * stdlib/stdlib.h: Update guards for qecvt.
7096 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
7097 <stdlib.h>.
7098
4721b2d1
AM
70992013-04-27 Allan McRae <allan@archlinux.org>
7100
7101 * sysdeps/i386/fpu/libm-test-ulps: Update.
7102
f0302940
JM
71032013-04-26 Joseph Myers <joseph@codesourcery.com>
7104
9457fd95
JM
7105 [BZ #15406]
7106 * math/s_catan.c: Include <float.h>.
7107 (__catan): Ensure underflow exception occurs for underflowed
7108 result.
7109 * math/s_catanf.c: Include <float.h>.
7110 (__catanf): Ensure underflow exception occurs for underflowed
7111 result.
7112 * math/s_catanh.c: Include <float.h>.
7113 (__catanh): Ensure underflow exception occurs for underflowed
7114 result.
7115 * math/s_catanhf.c: Include <float.h>.
7116 (__catanhf): Ensure underflow exception occurs for underflowed
7117 result.
7118 * math/s_catanhl.c: Include <float.h>.
7119 (__catanhl): Ensure underflow exception occurs for underflowed
7120 result.
7121 * math/s_catanl.c: Include <float.h>.
7122 (__catanl): Ensure underflow exception occurs for underflowed
7123 result.
7124 * math/libm-test.inc (catan_test): Add more tests.
7125 (catanh_test): Likewise.
7126
f0302940
JM
7127 [BZ #15405]
7128 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
7129 underflowed result.
7130 * math/s_ccoshf.c (__ccoshf): Likewise.
7131 * math/s_ccoshl.c (__ccoshl): Likewise.
7132 * math/s_csin.c (__csin): Likewise.
7133 * math/s_csinf.c (__csinf): Likewise.
7134 * math/s_csinh.c (__csinh): Likewise.
7135 * math/s_csinhf.c (__csinhf): Likewise.
7136 * math/s_csinhl.c (__csinhl): Likewise.
7137 * math/s_csinl.c (__csinl): Likewise.
7138 * math/libm-test.inc (ccos_test): Add more tests.
7139 (ccosh_test): Likewise.
7140 (csin_test): Likewise.
7141 (csinh_test): Likewise.
7142
aa630f59
AZ
71432013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7144
7145 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
7146 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
7147 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
7148 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
7149 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
7150 powerpc/power5+/fpu folders.
7151 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
7152
7153
1b835983
MT
71542013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
7155
7156 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7157
73709b26
JM
71582013-04-25 Joseph Myers <joseph@codesourcery.com>
7159
7160 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
7161 additions to variable.
7162 [$(config-machine) = x86_64] (modules-names): Likewise.
7163 ($(objpfx)tst-audit3): Remove dependency.
7164 ($(objpfx)tst-audit3.out): Likewise.
7165 ($(objpfx)tst-audit4): Likewise.
7166 ($(objpfx)tst-audit4.out): Likewise.
7167 ($(objpfx)tst-audit5): Likewise.
7168 ($(objpfx)tst-audit5.out): Likewise.
7169 ($(objpfx)tst-audit6): Likewise.
7170 ($(objpfx)tst-audit6.out): Likewise.
7171 ($(objpfx)tst-audit7): Likewise.
7172 ($(objpfx)tst-audit7.out): Likewise.
7173 (tst-audit3-ENV): Remove variable.
7174 (tst-audit4-ENV): Likewise.
7175 (tst-audit5-ENV): Likewise.
7176 (tst-audit6-ENV): Likewise.
7177 (tst-audit7-ENV): Likewise.
7178 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
7179 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
7180 addition to variable.
7181 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
7182 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
7183 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
7184 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
7185 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
7186 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
7187 tst-audit3, tst-audit4 and tst-audit5.
7188 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
7189 tst-audit6 and tst-audit7.
7190 [$(subdir) = elf] (modules-names): Add audit modules for those
7191 tests.
7192 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
7193 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
7194 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
7195 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
7196 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
7197 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
7198 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
7199 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
7200 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
7201 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
7202 [$(subdir) = elf] (tst-audit3-ENV): New variable.
7203 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
7204 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
7205 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
7206 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
7207 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
7208 Likewise.
7209 [$(subdir) = elf && $(config-cflags-avx) = yes]
7210 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
7211 [$(subdir) = elf && $(config-cflags-avx) = yes]
7212 (CFLAGS-tst-auditmod4a.c): Likewise.
7213 [$(subdir) = elf && $(config-cflags-avx) = yes]
7214 (CFLAGS-tst-auditmod4b.c): Likewise.
7215 [$(subdir) = elf && $(config-cflags-avx) = yes]
7216 (CFLAGS-tst-auditmod6b.c): Likewise.
7217 [$(subdir) = elf && $(config-cflags-avx) = yes]
7218 (CFLAGS-tst-auditmod6c.c): Likewise.
7219 [$(subdir) = elf && $(config-cflags-avx) = yes]
7220 (CFLAGS-tst-auditmod7b.c): Likewise.
7221 * elf/tst-audit3.c: Move to ...
7222 * sysdeps/x86_64/tst-audit3.c: ... here.
7223 * elf/tst-audit4.c: Move to ...
7224 * sysdeps/x86_64/tst-audit4.c: ... here.
7225 * elf/tst-audit5.c: Move to ...
7226 * sysdeps/x86_64/tst-audit5.c: ... here.
7227 * elf/tst-audit6.c: Move to ...
7228 * sysdeps/x86_64/tst-audit6.c: ... here.
7229 * elf/tst-audit7.c: Move to ...
7230 * sysdeps/x86_64/tst-audit7.c: ... here.
7231 * elf/tst-auditmod3a.c: Move to ...
7232 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
7233 * elf/tst-auditmod3b.c: Move to ...
7234 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
7235 * elf/tst-auditmod4a.c: Move to ...
7236 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
7237 * elf/tst-auditmod4b.c: Move to ...
7238 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
7239 * elf/tst-auditmod5a.c: Move to ...
7240 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
7241 * elf/tst-auditmod5b.c: Move to ...
7242 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
7243 * elf/tst-auditmod6a.c: Move to ...
7244 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
7245 * elf/tst-auditmod6b.c: Move to ...
7246 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
7247 * elf/tst-auditmod6c.c: Move to ...
7248 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
7249 * elf/tst-auditmod7a.c: Move to ...
7250 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
7251 * elf/tst-auditmod7b.c: Move to ...
7252 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
7253
1ef74943
PP
72542013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
7255
7256 [BZ #15366]
7257 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
7258 define unconditionally.
7259 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
7260 define unconditionally.
7261 (INT8_C, INT16_C, etc.): Likewise.
7262
93fd48c5
MR
72632013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
7264
ae9552cf
MR
7265 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
7266 __ehdr_start with hidden visibility.
7267
93fd48c5
MR
7268 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
7269
418601aa
CD
72702013-04-24 Carlos O'Donell <carlos@redhat.com>
7271
7272 * math/libm-test.inc (cos_test): Use accurate hex constants.
7273 (sincost_test): Likewise.
7274
2f38fbfe
JM
72752013-04-24 Joseph Myers <joseph@codesourcery.com>
7276
5e221800
JM
7277 * math/libm-test.inc (catan_test): Add more tests.
7278 (catanh_test): Likewise.
7279
77f143fd
JM
7280 * math/s_catanf.c (__catanf): Use suffixed floating-point
7281 constants.
7282 * math/s_catanhf.c (__catanhf): Likewise.
7283 * math/s_catanhl.c (__catanhl): Likewise.
7284 * math/s_catanl.c (__catanl): Likewise.
7285
2f38fbfe
JM
7286 [BZ #15394]
7287 * math/s_catan.c (__catan): Calculate imaginary part of result
7288 with log1p not log unless computing log of number close to 0.
7289 * math/s_catanf.c (__catanf): Likewise.
7290 * math/s_catanl.c (__catanl): Likewise.
7291 * math/s_catanh.c (__catanh): Calculate real part of result with
7292 log1p not log unless computing log of number close to 0.
7293 * math/s_catanhf.c (__catanhf): Likewise.
7294 * math/s_catanhl.c (__catanhl): Likewise.
7295 * math/libm-test.inc (catan_test): Add more tests.
7296 (catanh_test): Likewise.
7297 * sysdeps/i386/fpu/libm-test-ulps: Update.
7298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7299
45d69176
SP
73002013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7301
7302 * benchtests/Makefile: Mention files in which fast and slow
7303 paths of math functions are implemented.
7304
87f51853
RM
73052013-04-23 Roland McGrath <roland@hack.frob.com>
7306
7307 * sysdeps/posix/timespec_get.c: New file.
7308
3c026539
AZ
73092013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7310
7311 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
7312 POWER.
7313 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
7314 for POWER.
7315 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
7316 powerpc/power5/fpu folders.
7317 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
7318 * benchtests/Makefile: Add modf testcase.
7319 * benchtests/bench-modf.c: New file: Benchmark test for mo
7320
ff491d14
SP
73212013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7322
7323 [BZ #14888]
7324 * time/Makefile (tests): Add tst-strptime-whitespace.
7325 * time/strptime_l.c (get_number): Use ISSPACE.
7326 (__strptime_internal): Likewise.
7327 * time/tst-strptime-whitespace.c: New test case.
7328
7ed3f4e8
AS
73292013-04-23 Andreas Schwab <schwab@linux-m68k.org>
7330
7331 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
7332 member.
7333 (_nss_files_init): Set it here.
7334
5c95f7b6
HC
73352013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
7336
7337 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
7338 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
7339 unsigned.
7340
d34c9158
JBG
73412013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
7342
7343 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
7344
2169712d
SP
73452013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7346
7347 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
7348 size just once.
7349
29c5de99
DM
73502013-04-21 David S. Miller <davem@davemloft.net>
7351
7352 * po/ru.po: Update Russion translation from translation project.
7353
ccdad15d
AC
73542013-04-17 Adam Conrad <adconrad@0c3.net>
7355
7356 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
7357 and setfsgid.
7358
0f122b8d
CD
73592013-04-17 Carlos O'Donell <carlos@redhat.com>
7360
5c5b07da 7361 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 7362 * configure: Regenerate.
5c5b07da 7363 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
7364 Add example to error message.
7365 * sysdeps/i386/configure: Regenerate.
7366
037714dd
SP
73672013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7368
7369 * benchtests/Makefile (bench): Add cos, tan, slowcos and
7370 slowtan.
7371 * benchtests/cos-inputs: New file.
7372 * benchtests/slowcos-inputs: New file.
7373 * benchtests/slowcos.c: New file.
7374 * benchtests/slowtan-inputs: New file.
7375 * benchtests/slowtan.c: New file.
7376 * benchtests/tan-inputs: New file.
7377
e913141d
RM
73782013-04-16 Roland McGrath <roland@hack.frob.com>
7379
7380 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
7381 considered kosher.
7382
a2964074
SP
73832013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7384
4856bcd2
SP
7385 * benchtests/Makefile: Include cppflags-iterator.mk to add
7386 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
7387
a2964074
SP
7388 * Makefile.in (bench-clean): New target.
7389 * benchtests/Makefile (bench-clean): Likewise.
7390
9fbf9aca
DH
73912013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
7392
7393 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
7394
207d1e2a
TS
73952013-04-15 Thomas Schwinge <thomas@codesourcery.com>
7396
7397 * stdio-common/tstdiomisc.c: Fix coding-style violation.
7398
306dfba9
AS
73992013-04-15 Andreas Schwab <schwab@suse.de>
7400
7401 * nscd/grpcache.c (cache_addgr): Properly check for short write.
7402 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7403 * nscd/pwdcache.c (cache_addpw): Likewise.
7404 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
7405 more than recsize.
7406
206a6699
SP
74072013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7408
7409 * benchtests/Makefile (bench): Write all output to
7410 bench-out.tmp together.
7411
0582f6b3
AS
74122013-04-15 Andreas Schwab <schwab@suse.de>
7413
7414 * nscd/nscd.c (main): Don't fork again after closing files.
7415
acb4325f
SP
74162013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7417
5cb26d0a
SP
7418 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
7419
acb4325f
SP
7420 * benchtests/Rules (bench-deps): Collect dependencies into a
7421 single variable. Add Makefile to dependencies.
7422 ($(objpfx)bench-%.c): Depend on bench-deps.
7423
47792506
RM
74242013-04-12 Roland McGrath <roland@hack.frob.com>
7425 Xavier Roche <roche+kml2@exalead.com>
7426
7427 [BZ #15361]
7428 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
7429 just that it's a file descriptor.
7430 * manual/llio.texi (Synchronizing AIO Operations): Update description
7431 for EBADF error from aio_fsync.
7432
8fc1bee5
SP
74332013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7434
7435 * Rules (bench): Move target definition...
7436 * benchtests/Makefile: ... here.
7437
aba5e333
CD
74382013-04-11 Carlos O'Donell <carlos@redhat.com>
7439
7440 * math/libm-test.inc (cos_test): Fix PI/2 test.
7441 (sincos_test): Likewise.
7442 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7443 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
7444
273cdee8
AS
74452013-04-11 Andreas Schwab <schwab@suse.de>
7446
6ecec3b6
AS
7447 [BZ #13988]
7448 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
7449 accept exponent character only when digits were seen.
7450 * stdio-common/Makefile (tests): Add bug26.
7451 * stdio-common/bug26.c: New file.
7452
273cdee8
AS
7453 [BZ #14293]
7454 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
7455 non-freeable.
7456
8da491f5
SP
74572013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7458
01dc6df9
SP
7459 * Makeconfig (rtld-prefix): Define built linker prefix.
7460 * Rules (run-bench): Use it.
7461 * math/Makefile (run-regen-ulps): Likewise.
7462
8da491f5
SP
7463 * Rules (bench): Remove eval.
7464
abe7f530
SP
74652013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7466 Roland McGrath <roland@hack.frob.com>
7467 Ondrej Bilka <neleai@seznam.cz>
7468
7469 [BZ #15346]
7470 * time/getdate.c: Include ctype.h and alloca.h.
7471 (__getdate_r): Trim leading and trailing spaces of input.
7472 * time/tst-getdate.c (tests): Add tests with leading and
7473 trailing spaces.
7474
61c23e62
RM
74752013-04-08 Roland McGrath <roland@hack.frob.com>
7476
7477 [BZ #14280]
7478 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
7479 when computing value.
7480
7208a313
CD
74812013-04-06 Carlos O'Donell <carlos@redhat.com>
7482
085b2d41
CD
7483 * math/README.libm-test (How can I generate "libm-test-ulps"?):
7484 Use testrun.sh to run libm tests.
7485
7208a313
CD
7486 [BZ #15309]
7487 * elf/dl-open.c (dl_open_worker): memset all of seen array.
7488
872c0acd
MM
74892013-04-06 Marko Myllynen <myllynen@redhat.com>
7490
7491 [BZ #15264]
7492 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
7493
26510bdd
CD
74942013-04-06 Carlos O'Donell <carlos@redhat.com>
7495
7496 * Makefile.in (regen-ulps): New target.
7497 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
7498 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
7499 [ifneq (no,$(PERL)] (regen-ulps): New target.
7500 [ifeq (no,$(PERL)] (regen-ulps): New target.
7501 * math/libm-test.inc (ulps_file_name): Define.
7502 (output_dir): New variable.
7503 (options): Add "output-dir" option.
7504 (parse_opt): Handle 'o' case.
7505 (main): If output_dir is non-NULL use it as a prefix
7506 otherwise use "".
7507 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
7508
a01f19c8
CD
75092013-04-06 Carlos O'Donell <carlos@redhat.com>
7510
7511 [BZ #10060, #10062]
7512 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
7513 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
7514 fail configure if __sync_val_compare_and_swap is not inlined.
7515 * sysdeps/i386/configure: Regenerate.
7516 * configure.in: Build for i686 when configured for i386.
7517 * configure: Regenerate.
7518 * README: Remove i386 reference.
7519
b7a329a5
CD
75202013-04-06 Carlos O'Donell <carlos@redhat.com>
7521
7522 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
7523 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7524
bf0f50df
TS
75252013-04-05 Thomas Schwinge <thomas@codesourcery.com>
7526
ee091edf
TS
7527 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
7528 (lmsnanval): New variables.
7529 (F): Add conversion tests.
7530 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
7531 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
7532
a8b792d6
TS
7533 * stdio-common/tstdiomisc.c (F): Properly collect individual
7534 tests' results.
7535
a1cbf437
TS
7536 [BZ #14686, #15336]
7537 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
7538 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
7539 Instead, use input NaN values or generate a qNaN by arithmetic
7540 operation. Also fix bugs to comply with the standard.
7541 * math/libm-test.inc (remainder_test): Add more tests.
7542
8b43a0c9
TS
7543 [BZ #15335, #15342]
7544 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
7545 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
7546 input NaN values or generate a qNaN by arithmetic operation.
7547
d91da4ce
TS
7548 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
7549 unreachable code.
7550
bf0f50df
TS
7551 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
7552 definitions.
7553
05e166c8
JM
75542013-04-03 Joseph Myers <joseph@codesourcery.com>
7555
7556 [BZ #14478]
7557 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
7558 underflowed result.
7559 * math/s_cexpf.c (__cexpf): Likewise.
7560 * math/s_cexpl.c (__cexpl): Likewise.
7561 * math/libm-test.inc (cexp_test): Add more tests.
7562
1cef1b19
AS
75632013-04-03 Andreas Schwab <schwab@suse.de>
7564
7565 [BZ #15330]
7566 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
7567 order arrays from heap if bigger than alloca cutoff.
7568
74d87055
TS
75692013-04-03 Thomas Schwinge <thomas@codesourcery.com>
7570
7571 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
7572 (SNAN_TESTS_double): Refer to GCC PR56831.
7573 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
7574 GCC PR56828.
7575
d755bba4
SP
75762013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7577
90d5d5bb
SP
7578 * Rules (bench): Move bench.out after the run is complete.
7579
73e0cd5d
SP
7580 * Rules (bench): Echo currently running benchmark.
7581
64aabd4b
SP
7582 * benchtests/Makefile (bench): Add atan and slowatan.
7583 * benchtests/atan-inputs: New file.
7584 * benchtests/slowatan-inputs: New file.
7585 * benchtests/slowatan.c: New file.
7586
c871eccd
SP
7587 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
7588 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
7589 its value.
7590
d755bba4
SP
7591 [BZ #15305]
7592 * sysdeps/unix/sysv/linux/kernel-features.h
7593 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
7594 __ASSUME_XFS_RESTRICTED_CHOWN.
7595 * sysdeps/unix/sysv/linux/pathconf.c
7596 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7597 Save and restore errno.
7598
52ce4860
JM
75992013-04-02 Joseph Myers <joseph@codesourcery.com>
7600
7601 [BZ #15327]
7602 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
7603 arguments using __kernel_casinh.
7604 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
7605 arguments using __kernel_casinhf.
7606 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
7607 arguments using __kernel_casinhl.
7608 * math/libm-test.inc (cacosh_test): Add more tests.
7609 * sysdeps/i386/fpu/libm-test-ulps: Update.
7610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7611
81f311c2
SP
76122013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7613
e7906a47
SP
7614 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
7615 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
7616
92e3664b
SP
7617 * bench/Makefile (bench): Add sin and slowsin.
7618 * benchtests/sin-inputs: New file.
7619 * benchtests/slowsin-inputs: New file.
7620 * benchtests/slowsin.c: New file.
7621
81f311c2
SP
7622 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
7623 (bench): Add slowexp and slowpow.
7624 (exp-ITER): Increase iterations.
7625 (pow-ITER): Likewise.
7626 * benchtests/exp-inputs: Change input.
7627 * benchtests/pow-inputs: Likewise.
7628 * benchtests/slowexp-inputs: New file.
7629 * benchtests/slowexp.c: New file.
7630 * benchtests/slowpow-inputs: New file.
7631 * benchtests/slowpow.c: New file.
7632
ab0f1aa9
AZ
76332013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7634
7635 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
7636 instructions.
7637 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7638 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
7639 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
7640 * benchtests/Makefile: Add rint benchtest.
7641 * benchtests/rint-inputs: Input for rint benchtest.
7642
57267616
TS
76432013-04-02 Thomas Schwinge <thomas@codesourcery.com>
7644
7645 * Versions.def (libm): Add GLIBC_2.18.
7646 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
7647 hidden libm prototypes.
7648 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
7649 * math/Makefile (libm-calls): Add s_issignaling.
7650 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
7651 __issignalingf, __issignalingl. Adjust all libm.abilist files.
7652 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
7653 declaration.
7654 * math/math.h [__USE_GNU] (issignaling): New macro.
7655 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
7656 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
7657 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
7658 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
7659 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
7660 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
7661 * manual/arith.texi (issignaling): New section.
7662 * manual/libm-err-tab.pl (@all_functions): Update comment.
7663 * math/gen-libm-test.pl (parse_args): Apply special handling for
7664 issignaling.
7665 * math/libm-test.inc (print_float, issignaling_test): New
7666 functions.
7667 (check_float_internal): Add issignaling checks.
7668 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
7669 default definition.
7670 * sysdeps/powerpc/math-tests.h: New file.
7671 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
7672 tests.
7673 * math/test-snan.c (TEST_FUNC): Likewise.
7674
6142896d
DM
76752013-03-30 David S. Miller <davem@davemloft.net>
7676
7677 * po/de.po: Update from translation team.
7678
ccc8cadf
JM
76792013-03-30 Joseph Myers <joseph@codesourcery.com>
7680
7681 [BZ #10357]
7682 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7683 imaginary part less than 1.0 and real part less than 0.5
7684 specially.
7685 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7686 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7687 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
7688 (cacos_test): Add more tests.
7689 (casin_test): Likewise.
7690 (casinh_test): Likewise.
7691 * sysdeps/i386/fpu/libm-test-ulps: Update.
7692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7693
0f6a8d4b
SP
76942013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7695
0d1029de
SP
7696 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
7697 ONE with its value.
7698
c2d94018
SP
7699 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
7700 (__pow_mp): Replace ONE and MONE with their values.
7701 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7702 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
7703 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7704 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
7705 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7706 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7707
27ec37f1
SP
7708 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
7709
a64d7e0e
SP
7710 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
7711 (__pow_mp): Replace ZERO and MZERO with their values.
7712 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7713 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7714 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7715 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7716 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7717 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
7718 (__sqr): Likewise.
7719
d26dd3eb
SP
7720 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
7721
0f6a8d4b
SP
7722 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
7723
e57b0c61
RM
77242013-03-28 Roland McGrath <roland@hack.frob.com>
7725
7726 * include/stdlib.h [!SHARED] (__call_tls_dtors):
7727 Declare with __attribute__ ((weak)).
7728 * stdlib/exit.c (__libc_atexit) [!SHARED]:
7729 Call __call_tls_dtors only if it's not NULL.
7730
356b3480
RM
77312013-03-28 Roland McGrath <roland@hack.frob.com>
7732
288f7d79
RM
7733 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
7734 didn't do it already, then set _dl_phdr and _dl_phnum based on the
7735 magic __ehdr_start linker symbol if it's defined.
7736 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
7737 them up here if it was already done.
7738
dc0a0263
RM
7739 * elf/dl-support.c (_dl_phdr): Make pointer to const.
7740 (_dl_aux_init): Use const in cast when setting it.
7741 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
7742 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
7743 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
7744
3d3436ae
RM
7745 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
7746 Declare them here.
7747 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
7748 * csu/libc-tls.c: Nor here.
7749 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
7750
356b3480
RM
7751 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
7752 (__libc_message): Never call vsyslog.
7753
b0f1246a
AM
77542013-03-28 Alan Modra <amodra@gmail.com>
7755
7756 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
7757 Define as empty.
7758 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
7759 Likewise.
7760
fbbe2b9a
AZ
77612013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7762
7763 [BZ #15214]
7764 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
7765 underflow.
7766 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7767
1728ab37
SP
77682013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7769
7a86be6e
SP
7770 [BZ #15304]
7771 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7772 Don't add gid passed as argument.
7773
1728ab37
SP
7774 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
7775
3a7182a1
JM
77762013-03-27 Joseph Myers <joseph@codesourcery.com>
7777
7778 [BZ #15307]
7779 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7780 imaginary part between 1.0 and 1.5 and real part less than 0.5
7781 specially.
7782 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7783 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7784 * math/libm-test.inc (cacos_test): Add more tests.
7785 (casin_test): Likewise.
7786 (casinh_test): Likewise.
7787 * sysdeps/i386/fpu/libm-test-ulps: Update.
7788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7789
6f2e90e7
SP
77902013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7791
5739f705
SP
7792 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
7793 constants.
7794 (norm): Likewise.
7795 (denorm): Likewise.
7796 (__dbl_mp): Likewise.
7797 (add_magnitudes): Likewise.
7798 (sub_magnitudes): Likewise.
7799 (__add): Likewise.
7800 (__sub): Likewise.
7801 (__mul): Likewise.
7802 (__sqr): Likewise.
7803 (__inv): Likewise.
7804 (__dvd): Likewise.
7805
e375e83d
SP
7806 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
7807 commented code.
7808 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
7809 (__dubcos): Likewise.
7810 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
7811 (__ieee754_acos): Likewise.
7812 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7813 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
7814 (__exp1): Likewise.
7815 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7816 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7817 (log1): Likewise.
7818 (my_log2): Likewise.
7819 (checkint): Likewise.
7820 * sysdeps/ieee754/dbl-64/e_remainder.c
7821 (__ieee754_remainder): Likewise.
7822 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7823 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
7824 (bsloww): Likewise.
7825 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7826
6f2e90e7
SP
7827 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7828 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
7829 MANTISSA_STORE_T to store computations on mantissa. Use
7830 macros for rounding and division.
7831 (denorm): Likewise.
7832 (__dbl_mp): Likewise.
7833 (add_magnitudes): Likewise.
7834 (sub_magnitudes): Likewise.
7835 (__mul): Likewise.
7836 (__sqr): Likewise.
7837 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
7838 powers of two in terms of TWOPOW macro.
7839 (mp_no): Make type of mantissa as MANTISSA_T.
7840 [!RADIXI]: Define RADIXI.
7841 [!TWO52]: Define TWO52.
7842 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7843
fce14d4e
AZ
78442013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7845
7846 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
7847 llroundl symbol when building for PPC32.
7848
9ad027fb
MW
78492013-03-24 Mark H Weaver <mhw@netris.org>
7850
7851 * manual/arith.texi (Normalization Functions): Fix prototypes for
7852 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
7853
e42a38dd
AZ
78542013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7855
7856 [BZ #13889]
7857 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
7858 high value to check if expl overflow.
7859 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
7860 to check for underflow and overflow.
7861 * math/libm-test.inc: Add exp test.
7862
2e0fb521
DL
78632013-03-21 Dmitry V. Levin <ldv@altlinux.org>
7864
7865 [BZ #11120]
7866 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
7867 with NOT_IN_libc.
7868
b5784d95
AZ
78692013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7870
7871 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
7872 symbol.
7873
5aa4a1a1
TS
78742013-03-21 Thomas Schwinge <thomas@codesourcery.com>
7875
bdef0be7
TS
7876 * math/gen-libm-test.pl (parse_args, special_functions): Properly
7877 wrap blocks consisting of several statements.
7878
5aa4a1a1
TS
7879 * sysdeps/generic/math-tests.h: New file.
7880 * sysdeps/i386/fpu/math-tests.h: Likewise.
7881 * math/test-snan.c: Include it.
7882 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
7883
98c48fe5
JM
78842013-03-21 Joseph Myers <joseph@codesourcery.com>
7885
7886 [BZ #15285]
7887 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
7888 (__ieee754_j0l): Do not improve calculations using cos of twice
7889 input for inputs above LDBL_MAX / 2.0L.
7890 (__ieee754_y0l): Likewise.
7891 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
7892 (__ieee754_j1l): Do not improve calculations using cos of twice
7893 input for inputs above LDBL_MAX / 2.0L.
7894 (__ieee754_y1l): Likewise.
7895 * math/libm-test.inc (j0_test): Add another test.
7896 (j1_test): Likewise.
7897 (y0_test): Likewise.
7898 (y1_test): Likewise.
7899 * sysdeps/i386/fpu/libm-test-ulps: Update.
7900
3775a8bc
SP
79012013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7902
7903 * Rules ($(objpfx)bench-%.c): Include code from a C source
7904 file.
7905
0a1b2ae6
JM
79062013-03-21 Joseph Myers <joseph@codesourcery.com>
7907
7908 [BZ #15287]
7909 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7910 imaginary part 1.0 and real part less than 0.5 specially.
7911 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7912 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7913 * math/libm-test.inc (cacos_test): Add more tests.
7914 (casin_test): Likewise.
7915 (casinh_test): Likewise.
7916 * sysdeps/i386/fpu/libm-test-ulps: Update.
7917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7918
b33d4ce4
SP
79192013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7920
7921 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
7922 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
7923
bef0b507
JM
79242013-03-20 Joseph Myers <joseph@codesourcery.com>
7925
7926 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
7927 * config.make.in (config-cflags-sse4): Remove variable.
7928 (config-cflags-avx): Likewise.
7929 (config-cflags-sse2avx): Likewise.
7930 (config-cflags-novzeroupper): Likewise.
7931 (config-asflags-i686): Likewise.
7932 (have-mfma4): Likewise.
7933 (have-as-vis3): Likewise.
7934 (MIG): Likewise.
7935 * configure.in (MIG): Do not AC_SUBST.
7936 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
7937 (libc_cv_cc_sse4): Do not AC_SUBST.
7938 (libc_cv_cc_avx): Likewise.
7939 (libc_cv_cc_sse2avx): Likewise.
7940 (libc_cv_cc_novzeroupper): Likewise.
7941 (libc_cv_cc_fma4): Likewise.
7942 (libc_cv_as_i686): Likewise.
7943 (libc_cv_sparc_as_vis3): Likewise.
7944 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
7945 LIBC_CONFIG_VAR.
7946 (config-asflags-i686): Likewise.
7947 (config-cflags-avx): Likewise.
7948 (config-cflags-sse2avx): Likewise.
7949 (have-mfma4): Likewise.
7950 (config-cflags-novzeroupper): Likewise.
7951 * sysdeps/mach/configure.in (MIG): Likewise.
7952 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
7953 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
7954 LIBC_CONFIG_VAR.
7955 (config-cflags-avx): Likewise.
7956 (config-cflags-sse2avx): Likewise.
7957 (have-mfma4): Likewise.
7958 (config-cflags-novzeroupper): Likewise.
7959 * configure: Regenerated.
7960 * sysdeps/i386/configure: Likewise.
7961 * sysdeps/mach/configure: Likewise.
7962 * sysdeps/sparc/configure: Likewise.
7963 * sysdeps/x86_64/configure: Likewise.
7964
912cc4b3
RM
79652013-03-20 Roland McGrath <roland@hack.frob.com>
7966
7967 [BZ #14812]
7968 * locale/programs/localedef.c (options): Put N_ translation marker
7969 on argument names, not just descriptions.
7970
04eed2b0
MS
79712013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7972
7973 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
7974
a065ceff
OB
79752013-03-20 Ondřej Bílka <neleai@seznam.cz>
7976
9bb2a810 7977 [BZ #14176]
a065ceff
OB
7978 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
7979
a600e5ce
RM
79802013-03-19 Roland McGrath <roland@hack.frob.com>
7981
7982 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
7983 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
7984 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
7985 [!BEFORE_ABORT] (before_abort): New function.
7986 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
7987 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
7988 (writev_for_fatal): New function.
7989 (WRITEV_FOR_FATAL): New macro; call that.
7990 (backtrace_and_maps): New function.
7991 (BEFORE_ABORT): New macro; call that.
7992 (struct str_list): Type removed.
7993 (__libc_message, __libc_fatal): Functions removed.
7994 Include <sysdeps/posix/libc_fatal.c> instead.
7995
6b18bea6
JM
79962013-03-19 Joseph Myers <joseph@codesourcery.com>
7997
7998 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
7999 constants.
8000 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
8001 double constants.
8002
aaa8cb4b
AS
80032013-03-19 Andreas Schwab <schwab@suse.de>
8004
44673770
AS
8005 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
8006 * sysdeps/gnu/configure: Regenerate.
8007
aaa8cb4b
AS
8008 * configure.in: Substitute libc_cv_rtlddir.
8009 * configure: Regenerate.
8010 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
8011 * Makeconfig (rtlddir, inst_rtlddir): New variables.
8012 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
8013 * elf/Makefile (install-others, CFLAGS-interp.c)
8014 (ldso_install, common-ldd-rewrite): Likewise.
8015 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
8016 $(inst_slibdir)/$(rtld-installed-name).
8017 * scripts/rellns-sh: Add -p option.
8018 * Makerules (make-shlib-link): Use rellns-sh to get relative name
8019 for source.
8020
d3cfc668
SP
80212013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8022
8023 * manual/nptl.texi: Renamed to ...
8024 * manual/threads.texi: ... this.
8025 * manual/Makefile (chapters): Update.
8026
0e2b9cdd
RM
80272013-03-18 Roland McGrath <roland@hack.frob.com>
8028
8029 [BZ #14812]
8030 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
8031 on argument names, not just descriptions.
0e2b9cdd
RM
8032 * malloc/memusagestat.c (options): Likewise.
8033 * nss/getent.c (options): Likewise.
63270c24
RM
8034
80352013-03-18 Benno Schulenberg <bensberg@justemail.net>
8036
8037 [BZ #14812]
8038 * iconv/iconv_prog.c (options): Put N_ translation marker
8039 on argument names, not just descriptions.
8040 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 8041
b2e1393c
OB
80422013-03-18 Ondrej Bilka <neleai@seznam.cz>
8043
8044 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
8045 implementation which is faster on all x86_64 architectures.
8046 Tested on AMD, Intel Nehalem, SNB, IVB.
8047 * sysdeps/x86_64/strnlen.S: Likewise.
8048
8049 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8050 Remove all multiarch strlen and strnlen versions.
8051 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8052 Remove strlen and strnlen related parts.
8053
8054 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
8055 Inline strlen part.
8056 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8057
8058 * sysdeps/x86_64/multiarch/strlen.S: Remove.
8059 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
8060 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
8061 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
8062 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8063 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
8064
ec4ff04d
CD
80652013-03-17 Carlos O'Donell <carlos@redhat.com>
8066
8067 * manual/memory.texi (Malloc Tunable Parameters):
8068 Sort parameters alphabetically. Add comments for missing entries.
8069
cd18e90a
DM
80702013-03-17 David S. Miller <davem@davemloft.net>
8071
8072 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8073
2a185d32
JM
80742013-03-16 Joseph Myers <joseph@codesourcery.com>
8075
d2f9799e
JM
8076 [BZ #15283]
8077 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
8078 for arguments at most half maximum finite value.
8079 * math/libm-test.inc (j0_test): Add more tests.
8080 (j1_test): Likewise.
8081 (y0_test): Likewise.
8082 (y1_test): Likewise.
8083 * sysdeps/i386/fpu/libm-test-ulps: Update.
8084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8085
2a185d32
JM
8086 [BZ #14155]
8087 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
8088 1 / x and functions P and Q for arguments above 0x1p256L.
8089 (__ieee754_y0l): Likewise.
8090 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
8091 (__ieee754_y1l): Likewise.
8092 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
8093 (j1_test): Likewise.
8094 (y0_test): Likewise.
8095 (y1_test): Likewise.
8096
6cbec759
TS
80972013-03-16 Thomas Schwinge <thomas@codesourcery.com>
8098
8099 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
8100 variable.
8101
bc16e260
RM
81022013-03-15 Roland McGrath <roland@hack.frob.com>
8103
aefc9b8c
RM
8104 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
8105 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
8106 zero since it's initialized to EXEC_PAGESIZE.
8107
bc16e260
RM
8108 * sysdeps/unix/sysv/linux/ldsodefs.h
8109 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
8110 * sysdeps/generic/ldsodefs.h: ... here.
8111
a57da955
TS
81122013-03-15 Thomas Schwinge <thomas@codesourcery.com>
8113
af00a34d
TS
8114 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
8115
495ded2c
TS
8116 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
8117 math/test-snan.c.
8118 * math/test-snan.c: Renamed from
8119 sysdeps/powerpc/fpu/test-powerpc-snan.c.
8120 * math/Makefile (tests): Add test-snan.
8121 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
8122 test-powerpc-snan.
8123
777b0332
TS
8124 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
8125 SUFFIX. Initialize qNaN_var with __builtin_nan family of
8126 functions.
8127 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
8128 __builtin_nan family of functions.
8129 * math/libm-test.inc (initialize): Initialize qnan_value with
8130 __builtin_nan family of functions.
8131 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
8132 Remove variables.
8133 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
8134 Remove functions.
8135 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
8136 storage class. Initialize qNaN_var and sNaN_var with
8137 __builtin_nan and __builtin_nans families of functions,
8138 respectively.
8139
64d063b8
TS
8140 * math/libm-test.inc (acosh_test): Also test with qNaN input.
8141 (sqrt_test): Remove duplicate test with qNaN input.
8142 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
8143 (round_test, signbit_test, significand_test): Note missing +/-Inf
8144 as well as qNaN tests.
8145
67e971f1
TS
8146 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
8147 qNaN_var. Fix a few strings, too.
8148 * math/libm-test.inc (nan_value): Rename to qnan_value.
8149 * math/gen-libm-test.pl (%beautify): Adjust to that.
8150 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
8151 * math/test-misc.c (main): Likewise.
8152 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
8153 to __qnan_bytes, and __qnan_union, respectively.
8154 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
8155 Likewise.
8156 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
8157 and lqnanval, respectively.
8158 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
8159 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
8160 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
8161 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
8162
64487e12
TS
8163 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
8164 * math/test-misc.c (main) [__x86_64__]: Enable test for long
8165 doubles.
8166
e015e27b
TS
8167 * math/test-misc.c (main): Fix copy'n'pastos.
8168 * misc/tst-efgcvt.c (special): Likewise.
8169
a57da955
TS
8170 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
8171 Remove declarations.
8172
1e380345
SP
81732013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8174
8175 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
8176 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
8177 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
8178 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
8179
ef26eece
AZ
81802013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8181
8182 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
8183 macro to return vdso values correctly in IFUNC implementations.
8184 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8185 Optimization by using IFUNC.
8186
8cfdb7e0
SP
81872013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8188 Richard Henderson <rth@redhat.com>
8189 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8190
8191 * Makefile.in (bench): New target.
8192 * NEWS: Mention the benchmark framework.
8193 * Rules (bench): Likewise.
8194 (binaries-bench): Generate binaries for functions to
8195 benchmark.
8196 * benchtests/Makefile: New makefile for benchmark tests.
8197 * benchtests/bench-skeleton.c: New skeleton file for benchmark
8198 programs.
8199 * benchtests/exp-inputs: New input file for EXP function.
8200 * benchtests/pow-inputs: New input file for POW function.
8201 * scripts/bench.pl: New script to generate source files for
8202 benchmark programs.
8203
bcda9880
SP
82042013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8205
d22ca8cd
SP
8206 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8207 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
8208 computations on mantissa. Use macros for rounding and
8209 division.
8210 (denorm): Likewise.
8211 (__dbl_mp): Likewise.
8212 (add_magnitudes): Likewise.
8213 (sub_magnitudes): Likewise.
8214 (__mul): Likewise.
8215 (__sqr): Likewise.
8216 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
8217 powers of two in terms of TWOPOW macro.
8218 (mp_no): Make type of mantissa as MANTISSA_T.
8219 [!RADIXI]: Define RADIXI.
8220 [!TWO52]: Define TWO52.
8221 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8222
bcda9880
SP
8223 * manual/nptl.texi (cindex): Modify threads to pthreads.
8224
06d5adfb
JM
82252013-03-15 Joseph Myers <joseph@codesourcery.com>
8226
8227 * sysdeps/x86_64/preconfigure: Regenerated.
8228
41c7328e
JM
82292013-03-14 Joseph Myers <joseph@codesourcery.com>
8230
8231 [BZ #14155]
8232 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
8233 0x1p28 and above.
8234 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
8235 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
8236 0x1p28 and above.
8237 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
8238 * math/libm-test.inc (j0_test): Do not allow one spurious
8239 underflow exception.
8240 (y1_test): Likewise.
8241
e25cfa60
SP
82422013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8243
0409959c
SP
8244 * manual/Makefile (chapters): Add nptl.
8245 * manual/debug.texi (Debugging Support): Add link to Threads
8246 chapter.
8247 * manual/nptl.texi: New file.
8248
e25cfa60
SP
8249 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
8250
58a1335e
PB
82512013-03-14 Petr Baudis <pasky@ucw.cz>
8252
8253 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
8254 for non-NULL pointer before the memory validity test. Pointed
8255 out by Holger Brunck <holger.brunck@keymile.com>.
8256
9dc7c64f
AS
82572013-03-13 Andreas Schwab <schwab@suse.de>
8258
8259 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
8260 instead of .os.
8261
54206aa6
JM
82622013-03-13 Joseph Myers <joseph@codesourcery.com>
8263
8264 * timezone/zic.c: Update from tzcode 2013b.
8265
e98cdb38
CD
82662013-03-12 Carlos O'Donell <carlos@redhat.com>
8267
8268 * manual/install.texi (Configuring and compiling):
8269 Mention i686 and i586.
8270 * INSTALL: Regenerate.
8271
9967e003
RM
82722013-03-12 Roland McGrath <roland@hack.frob.com>
8273
8274 * sysdeps/init_array/elf-init.c: New file.
8275 * csu/elf-init.c
8276 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
8277 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
8278
8279 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
8280 __gmon_start__ as global, but as static with a .preinit_array pointer.
8281 * sysdeps/init_array/gmon-start.c: New file. Use that.
8282 * sysdeps/init_array/crti.S: New file, empty except for comments.
8283 * sysdeps/init_array/crtn.S: Likewise.
8284
e6b5a293 82852013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
8286
8287 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
8288 definining bcopy.
80f844c9
OB
8289 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8290 Remove Prefer_SSE_for_memop.
8291 * sysdeps/x86_64/multiarch/init-arch.h: Remove
8292 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
8293 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
8294 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8295 memset-x86-64.
80f844c9 8296 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 8297 Remove bzero, memset ifunc support.
80f844c9
OB
8298 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
8299 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
8300 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8301 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8302
fb6b0fcb
AS
83032013-03-11 Andreas Schwab <schwab@suse.de>
8304
8305 [BZ #15234]
8306 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
8307 by SHLIB_COMPAT.
8308 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
8309 (GLIBC_2.16): Remove pthread_atfork.
8310
3e6bd4b1
PP
83112013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
8312
8313 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
8314 (ptestcases.h): Likewise.
8315
222d7f00
RM
83162013-03-08 Roland McGrath <roland@hack.frob.com>
8317
8318 * Makeconfig ($(common-objpfx)config.status): Depend on
8319 sysdeps/*/preconfigure{,.in} too.
8320
1ba4f030
JM
83212013-03-08 Joseph Myers <joseph@codesourcery.com>
8322
a222d91a
JM
8323 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
8324 (__free_hook): Use void * instead of __malloc_ptr_t.
8325 (__malloc_hook): Likewise.
8326 (__realloc_hook): Likewise.
8327 (__memalign_hook): Likewise.
8328 (__after_morecore_hook): Likewise.
8329 * malloc/arena.c (save_malloc_hook): Likewise.
8330 (save_free_hook): Likewise.
8331 * malloc/hooks.c (malloc_hook_ini): Likewise.
8332 (realloc_hook_ini): Likewise.
8333 (memalign_hook_ini): Likewise.
8334 * malloc/malloc.c (malloc_hook_ini): Likewise.
8335 (realloc_hook_ini): Likewise.
8336 (memalign_hook_ini): Likewise.
8337 (__free_hook): Likewise.
8338 (__malloc_hook): Likewise.
8339 (__realloc_hook): Likewise.
8340 (__memalign_hook): Likewise.
8341 (__libc_malloc): Likewise.
8342 (__libc_free): Likewise.
8343 (__libc_realloc): Likewise.
8344 (__libc_memalign): Likewise.
8345 (__libc_valloc): Likewise.
8346 (__libc_pvalloc): Likewise.
8347 (__libc_calloc): Likewise.
8348 (__posix_memalign): Likewise.
8349 * malloc/morecore.c (__sbrk): Likewise.
8350 (__default_morecore): Likewise.
8351
5cc45e10
JM
8352 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
8353
dd54b864
JM
8354 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
8355 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
8356 __malloc_ptrdiff_t.
8357
1ba4f030
JM
8358 * malloc/malloc.h (__malloc_size_t): Remove macro.
8359 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
8360 __malloc_size_t.
8361 (old_memalign_hook): Likewise.
8362 (old_realloc_hook): Likewise.
8363 (struct hdr): Likewise.
8364 (flood): Likewise.
8365 (mallochook): Likewise.
8366 (memalignhook): Likewise.
8367 (reallochook): Likewise.
8368 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
8369 (tr_old_realloc_hook): Likewise.
8370 (tr_old_memalign_hook): Likewise.
8371 (tr_mallochook): Likewise.
8372 (tr_reallochook): Likewise.
8373 (tr_memalignhook): Likewise.
8374
edf66e57
AZ
83752013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8376
8377 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
8378 default_ldbl_pack and using as default implementation.
8379 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
8380 implementation.
8381 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
8382 redundant definition.
8383 (ldbl_insert_mantissa): Likewise.
8384 (ldbl_canonicalize): Likewise.
8385 (ldbl_nearbyint): Likewise.
8386 (ldbl_pack): Rename to ldbl_pack_ppc.
8387 (ldbl_unpack): Rename to ldbl_unpack_ppc.
8388 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
8389 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
8390
6d9145d8
SP
83912013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8392
8393 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
8394 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
8395 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
8396 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
8397 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
8398 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
8399 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
8400 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
8401
4dd4e157
AJ
84022013-03-07 Andreas Jaeger <aj@suse.de>
8403
8404 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8405 bits/mman-linux.h.
8406
adbb8027
SP
84072013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8408
ce544b5b
SP
8409 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
8410 Include mpa.h and declare __MPEXP.
8411 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
8412 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8413 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8414 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
8415 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8416 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8417 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
8418
4cc149fd
SP
8419 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
8420 (__slowpow): Use long double EXPL and LOGL functions to
8421 compute POW.
8422 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8423 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8424 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
8425 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8426 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8427 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
8428
e6ebd4a7
SP
8429 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
8430 intermediate variable to calculate exponent.
8431 (__sqr): Likewise.
8432 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8433 Likewise.
8434 (__sqr): Likewise.
8435
82a9811d
SP
8436 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
8437 [!NO__SQR]: Define __sqr.
8438 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
8439 and NO__SQR. Remove all code except __mul and __sqr. Include
8440 sysdeps/ieee754/dbl-64/mpa.c.
8441 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8442
adbb8027
SP
8443 [BZ #12723]
8444 * posix/Makefile (tests): Add tst-pathconf.
8445 * posix/tst-pathconf.c: New test case.
8446 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
8447 _PC_PIPE_BUF.
8448 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
8449
39120df9
PF
84502013-03-06 Patsy Franklin <pfrankli@redhat.com>
8451
8452 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
8453
67525cb8
AJ
84542013-03-06 Andreas Jaeger <aj@suse.de>
8455
664a9ce4
AJ
8456 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
8457 definition via __MAP_ANONYMOUS.
8458
8e39047d
AJ
8459 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
8460 it's not part of Linux headers.
8461
67525cb8
AJ
8462 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
8463 (MAP_HUGE_MASK): Define.
8464
8465 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8466 Define.
8467 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8468 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8469 Define.
8470 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8471 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8472 Define.
8473 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8474 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
8475 Define.
8476 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8477
8478 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
8479 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
8480 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
8481 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
8482 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
8483 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
8484
8485 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
8486 Handle f2fs.
8487
8488 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8489 Handle f2fs and efivarfs.
8490
8491 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
8492 f2fs.
8493
8494 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
8495 (EFIVARFS_MAGIC): Add.
8496 (F2FS_LINK_MAX): Add.
8497
e1b42695
PP
84982013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8499
8500 * stdio-common/vfprintf.c: Replace __builtin_expect with
8501 __glibc_unlikely.
8502
2d67d91a
JM
85032013-03-06 Joseph Myers <joseph@codesourcery.com>
8504
8505 [BZ #13550]
8506 * sysdeps/generic/bp-sym.h: Remove file.
8507 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
8508 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
8509 <bp-sym.h> and <bp-asm.h>.
8510 (__longjmp): Don't use BP_SYM.
8511 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
8512 and <bp-asm.h>.
8513 (memcpy): Don't use BP_SYM.
8514 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
8515 <bp-sym.h> and <bp-asm.h>.
8516 (memcpy): Don't use BP_SYM.
8517 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
8518 <bp-asm.h>.
8519 (memcpy): Don't use BP_SYM.
8520 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
8521 <bp-asm.h>.
8522 (memset): Don't use BP_SYM.
8523 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8524 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8525 (__bzero): Don't use BP_SYM.
8526 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8527 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8528 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
8529 <bp-sym.h> and <bp-asm.h>.
8530 (memcmp): Don't use BP_SYM. Remove comment about bounded
8531 pointers.
8532 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
8533 <bp-sym.h> and <bp-asm.h>.
8534 (memcpy): Don't use BP_SYM.
8535 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
8536 <bp-sym.h> and <bp-asm.h>.
8537 (memset): Don't use BP_SYM.
8538 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8539 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8540 (__bzero): Don't use BP_SYM.
8541 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8542 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8543 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
8544 <bp-sym.h> and <bp-asm.h>.
8545 (strncmp): Don't use BP_SYM. Remove comment about bounded
8546 pointers.
8547 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
8548 <bp-sym.h> and <bp-asm.h>.
8549 (memcpy): Don't use BP_SYM.
8550 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
8551 <bp-sym.h> and <bp-asm.h>.
8552 (memset): Don't use BP_SYM.
8553 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8554 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8555 (__bzero): Don't use BP_SYM.
8556 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8557 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8558 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
8559 <bp-sym.h> and <bp-asm.h>.
8560 (__memchr): Don't use BP_SYM.
8561 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
8562 <bp-sym.h> and <bp-asm.h>.
8563 (memcmp): Don't use BP_SYM. Remove comment about bounded
8564 pointers.
8565 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
8566 <bp-sym.h> and <bp-asm.h>.
8567 (memcpy): Don't use BP_SYM.
8568 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
8569 <bp-sym.h> and <bp-asm.h>.
8570 (__mempcpy): Don't use BP_SYM.
8571 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
8572 <bp-sym.h> and <bp-asm.h>.
8573 (__memrchr): Don't use BP_SYM.
8574 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
8575 <bp-sym.h> and <bp-asm.h>.
8576 (memset): Don't use BP_SYM.
8577 (__bzero): Likewise.
8578 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
8579 <bp-sym.h> and <bp-asm.h>.
8580 (__rawmemchr): Don't use BP_SYM.
8581 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
8582 <bp-sym.h> and <bp-asm.h>.
8583 (__STRCMP): Don't use BP_SYM.
8584 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
8585 <bp-sym.h> and <bp-asm.h>.
8586 (strchr): Don't use BP_SYM.
8587 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
8588 <bp-sym.h> and <bp-asm.h>.
8589 (__strchrnul): Don't use BP_SYM.
8590 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
8591 <bp-sym.h> and <bp-asm.h>.
8592 (strlen): Don't use BP_SYM.
8593 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
8594 <bp-sym.h> and <bp-asm.h>.
8595 (strncmp): Don't use BP_SYM. Remove comment about bounded
8596 pointers.
8597 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
8598 <bp-sym.h> and <bp-asm.h>.
8599 (__strnlen): Don't use BP_SYM.
8600 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
8601 <bp-sym.h> and <bp-asm.h>.
8602 (__GI__setjmp): Don't use BP_SYM.
8603 (_setjmp): Likewise.
8604 (__sigsetjmp): Likewise.
8605 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
8606 (L(start_addresses)): Don't use BP_SYM.
8607 (_start): Likewise.
8608 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
8609 <bp-asm.h>.
8610 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
8611 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
8612 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8613 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8614 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
8615 <bp-asm.h>.
8616 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
8617 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
8618 about bounded pointers.
8619 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8620 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8621 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
8622 <bp-asm.h>.
8623 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
8624 about bounded pointers. Remove GKM FIXME comments.
8625 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8626 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
8627 <bp-asm.h>.
8628 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
8629 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
8630 Remove GKM FIXME comments.
8631 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8632 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8633 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
8634 <bp-asm.h>.
8635 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
8636 about bounded pointers. Remove GKM FIXME comment.
8637 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
8638 and <bp-asm.h>.
8639 (strncmp): Don't use BP_SYM. Remove comment about bounded
8640 pointers.
8641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
8642 <bp-sym.h> and <bp-asm.h>.
8643 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
8645 <bp-sym.h> and <bp-asm.h>.
8646 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
8647 comment.
8648
cdcf361f
PP
86492013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8650
8651 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
8652 call free(NULL).
8653
3c4a2b15
DM
86542013-03-05 David S. Miller <davem@davemloft.net>
8655
8656 * po/es.po: Update from translation team.
8657
cdcf361f 86582013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
8659
8660 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
8661 <bits/mman-linux.h>.
8662 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8663 is fine.
8664 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
8665 <bits/mman-linux.h> to end of file.
8666 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8667 is fine.
8668 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
8669 <bits/mman-linux.h> to end of file.
8670 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8671 is fine.
8672 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
8673 <bits/mman-linux.h> to end of file.
8674
8675 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
8676 (MCL_CURRENT, MCL_FUTURE): Define here.
8677
5f67c04f
AK
86782013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8679
8a4473cc 8680 [BZ #15232]
5f67c04f
AK
8681 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
8682 attribute_hidden.
8683 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8684
c3e94a95
AK
86852013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8686
8687 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
8688 fourth parameter needed for rt_sigprocmask syscall.
8689 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8690 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8691 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
8692 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8693 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8694 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
8695
cfb6382a
JM
86962013-03-04 Joseph Myers <joseph@codesourcery.com>
8697
8698 [BZ #13550]
8699 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
8700 comment about bounded pointers.
8701 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
8702 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
8703
539d8e01
AJ
87042013-03-04 Andreas Jaeger <aj@suse.de>
8705
8706 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
8707 common definitions.
8708
8709 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
8710 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
8711 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
8712 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8713 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
8714 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8715
2e167a70 87162013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
8717
8718 [BZ #15055]
8719 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8720 __ieee754_sqrl instead of __sqrl.
8721
68508633
JM
87222013-03-01 Joseph Myers <joseph@codesourcery.com>
8723
8724 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
8725 * sysdeps/powerpc/fpu_control.h: ... here.
8726 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
8727 * sysdeps/powerpc/bits/fenvinline.h: ... here.
8728 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
8729 * sysdeps/powerpc/bits/mathinline.h: ... here.
8730
7775448e
RM
87312013-03-01 Roland McGrath <roland@hack.frob.com>
8732
8733 * elf/dl-hwcaps.c (_dl_important_hwcaps):
8734 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
8735 to just [NEED_DL_SYSINFO_DSO].
8736 * elf/dl-support.c: Likewise.
8737 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8738 * elf/rtld.c (dl_main): Likewise.
8739 * elf/setup-vdso.h (setup_vdso): Likewise.
8740 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
8741 * sysdeps/unix/sysv/linux/dl-sysdep.c
8742 (_dl_discover_osversion): Likewise.
8743
4e9b5995
CD
87442013-03-01 Carlos O'Donell <carlos@redhat.com>
8745
8746 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
8747 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8748
e23872c8
SP
87492013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8750
e5c74c63
SP
8751 * NEWS: Mention libm performance improvements and non-x86 PI
8752 futex support.
8753
e23872c8
SP
8754 * csu/libc-start.c (__pthread_initialize_minimal): Change
8755 function arguments.
8756 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8757
b5510883
JM
87582013-02-28 Joseph Myers <joseph@codesourcery.com>
8759
8760 [BZ #13550]
8761 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
8762 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
8763 <bp-sym.h> and <bp-asm.h>.
8764 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8765 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
8766 and <bp-asm.h>.
8767 (memcpy): Don't use BP_SYM.
8768 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
8769 <bp-asm.h>.
8770 (__mpn_add_n): Don't use BP_SYM.
8771 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
8772 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
8773 and <bp-asm.h>.
8774 (__mpn_addmul_1): Don't use BP_SYM.
8775 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8776 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
8777 <bp-sym.h>.
8778 (_setjmp): Don't use BP_SYM.
8779 (__novmx_setjmp): Likewise.
8780 (__GI__setjmp): Likewise.
8781 (__vmx_setjmp): Likewise.
8782 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
8783 <bp-sym.h>.
8784 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
8785 (__bzero): Don't use BP_SYM.
8786 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8787 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8788 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
8789 <bp-sym.h> and <bp-asm.h>.
8790 (memcpy): Don't use BP_SYM.
8791 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
8792 <bp-sym.h> and <bp-asm.h>.
8793 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8794 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
8795 <bp-sym.h> and <bp-asm.h>.
8796 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8797 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
8798 <bp-asm.h>.
8799 (__mpn_lshift): Don't use BP_SYM.
8800 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8801 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
8802 <bp-asm.h>.
8803 (memset): Don't use BP_SYM.
8804 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8805 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8806 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
8807 <bp-asm.h>.
8808 (__mpn_mul_1): Don't use BP_SYM.
8809 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8810 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
8811 <bp-sym.h> and <bp-asm.h>.
8812 (memcmp): Don't use BP_SYM.
8813 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
8814 <bp-sym.h> and <bp-asm.h>.
8815 (memcpy): Don't use BP_SYM.
8816 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
8817 <bp-sym.h> and <bp-asm.h>.
8818 (memset): Don't use BP_SYM.
8819 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
8820 <bp-sym.h> and <bp-asm.h>.
8821 (strncmp): Don't use BP_SYM.
8822 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
8823 <bp-sym.h> and <bp-asm.h>.
8824 (memcpy): Don't use BP_SYM.
8825 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
8826 <bp-sym.h> and <bp-asm.h>.
8827 (memset): Don't use BP_SYM.
8828 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
8829 <bp-sym.h> and <bp-asm.h>.
8830 (__memchr): Don't use BP_SYM.
8831 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
8832 <bp-sym.h> and <bp-asm.h>.
8833 (memcmp): Don't use BP_SYM.
8834 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
8835 <bp-sym.h> and <bp-asm.h>.
8836 (memcpy): Don't use BP_SYM.
8837 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
8838 <bp-sym.h> and <bp-asm.h>.
8839 (__mempcpy): Don't use BP_SYM.
8840 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
8841 <bp-sym.h> and <bp-asm.h>.
8842 (__memrchr): Don't use BP_SYM.
8843 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
8844 <bp-sym.h> and <bp-asm.h>.
8845 (memset): Don't use BP_SYM.
8846 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
8847 <bp-sym.h> and <bp-asm.h>.
8848 (__rawmemchr): Don't use BP_SYM.
8849 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
8850 <bp-sym.h> and <bp-asm.h>.
8851 (__STRCMP): Don't use BP_SYM.
8852 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
8853 <bp-sym.h> and <bp-asm.h>.
8854 (strchr): Don't use BP_SYM.
8855 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
8856 <bp-sym.h> and <bp-asm.h>.
8857 (__strchrnul): Don't use BP_SYM.
8858 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
8859 <bp-sym.h> and <bp-asm.h>.
8860 (strlen): Don't use BP_SYM.
8861 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
8862 <bp-sym.h> and <bp-asm.h>.
8863 (strncmp): Don't use BP_SYM.
8864 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
8865 <bp-sym.h> and <bp-asm.h>.
8866 (__strnlen): Don't use BP_SYM.
8867 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
8868 <bp-asm.h>.
8869 (__mpn_rshift): Don't use BP_SYM.
8870 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8871 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
8872 <bp-sym.h> and <bp-asm.h>.
8873 (__sigsetjmp): Don't use BP_SYM.
8874 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
8875 (L(start_addresses)): Don't use BP_SYM.
8876 (_start): Likewise.
8877 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
8878 <bp-asm.h>.
8879 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
8880 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8881 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8882 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
8883 <bp-asm.h>.
8884 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
8885 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8886 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8887 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
8888 <bp-asm.h>.
8889 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
8890 comments.
8891 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8892 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
8893 <bp-asm.h>.
8894 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
8895 FIXME comments.
8896 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8897 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8898 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
8899 <bp-asm.h>.
8900 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
8901 comment.
8902 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
8903 and <bp-asm.h>.
8904 (strncmp): Don't use BP_SYM,
8905 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
8906 <bp-asm.h>.
8907 (__mpn_sub_n): Don't use BP_SYM.
8908 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8909 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
8910 and <bp-asm.h>.
8911 (__mpn_submul_1): Don't use BP_SYM.
8912 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
8914 <bp-sym.h> and <bp-asm.h>.
8915 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
8917 <bp-sym.h> and <bp-asm.h>.
8918 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
8919 comment.
8920
8d19fe64
SP
89212013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8922
8923 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
8924 Use ZK to minimize writes to Z.
8925 (sub_magnitudes): Simplify code a bit.
8926 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
8927 Use ZK to minimize writes to Z.
8928 (sub_magnitudes): Simplify code a bit.
8929
85bd816a
RM
89302013-02-27 Roland McGrath <roland@hack.frob.com>
8931
8932 * csu/gmon-start.c: Add special exception to license text.
8933
b5977bf2
RH
89342013-02-27 Richard Henderson <rth@redhat.com>
8935
8936 * scripts/config.guess: Update from config.git.
8937 * scripts/config.sub: Likewise.
8938
11d6e2f2
SP
89392013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8940
09c14ed2
SP
8941 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
8942
a688864e
SP
8943 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
8944
6295157a
SP
8945 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
8946
b8de2202
SP
8947 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
8948
11d6e2f2
SP
8949 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
8950
7e80ddb8
RM
89512013-02-26 Roland McGrath <roland@hack.frob.com>
8952
8953 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
8954 [$(build-shared = yes].
7e80ddb8 8955
7da6d9ed
SP
89562013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8957
45f05884
SP
8958 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
8959 (__mul): Reduce iterations for calculating mantissa.
8960
2236d359
SP
8961 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
8962 MPTWO.
8963 (__mpranred): Likewise.
8964
7da6d9ed
SP
8965 [BZ #15160]
8966 * malloc/memusagestat.c (main): Draw graphs for heap and stack
8967 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
8968
b7688c42
PE
89692013-02-26 Paul Eggert <eggert@cs.ucla.edu>
8970
8971 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
8972 Define __attribute__.
8973
53a5c423
SP
89742013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8975
8976 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
8977 unused.
8978 * posix/regex_internal.h (__attribute): Remove.
8979 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
8980 (re_string_context_at): Likewise.
8981 (bitset_not): Use __attribute__ and mark function as possibly
8982 unused.
8983 (bitset_merge): Likewise.
8984 (bitset_mask): Likewise.
8985 (re_string_char_size_at): Likewise.
8986 (re_string_wchar_at): Likewise.
8987 (re_string_elem_size_at): Likewise.
8988
60f5a8b5
SP
89892013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8990
2a983a2e
SP
8991 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
8992 code.
8993 (cc32): Likewise.
8994
e69804d1
SP
8995 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
8996 (__acr): Likewise.
8997 (__cpy): Likewise.
8998 (norm): Likewise.
8999 (denorm): Likewise.
9000 (__dbl_mp): Likewise.
9001 (add_magnitudes): Likewise.
9002 (sub_magnitudes): Likewise.
9003 (__mul): Likewise.
9004 (__inv): Likewise.
9005
2f22a1e8
SP
9006 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
9007 style.
9008
8930ddc7
SP
9009 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
9010 style.
9011
dc60cb11
SP
9012 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
9013 code.
9014
60f5a8b5
SP
9015 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
9016 up changes with default code.
9017 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
9018 Likewise.
9019
b4d1fd33
AM
90202013-02-24 Allan McRae <allan@archlinux.org>
9021
faf6f8bc
AM
9022 * manual/socket.texi (The Internet Namespace): Order menu items
9023 to match that in the file.
9024
b4d1fd33
AM
9025 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
9026 node listing of the info page menu.
9027
2366713d
JM
90282013-02-21 Joseph Myers <joseph@codesourcery.com>
9029
9030 [BZ #13550]
9031 * sysdeps/i386/bp-asm.h: Remove file.
9032 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9033 (PARMS): Do not use macros from bp-asm.h.
9034 (S1): Likewise.
9035 (S2): Likewise.
9036 (SIZE): Likewise.
9037 (__mpn_add_n): Do not use BP_SYM
9038 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
9039 "bp-asm.h".
9040 (PARMS): Do not use macros from bp-asm.h.
9041 (S1): Likewise.
9042 (SIZE): Likewise.
9043 (__mpn_addmul_1): Do not use BP_SYM
9044 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
9045 "bp-asm.h".
9046 (PARMS): Do not use macros from bp-asm.h.
9047 (SIGMSK): Likewise.
9048 (_setjmp): Likewise. Do not use BP_SYM.
9049 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
9050 "bp-asm.h".
9051 (PARMS): Do not use macros from bp-asm.h.
9052 (SIGMSK): Likewise.
9053 (setjmp): Likewise. Do not use BP_SYM.
9054 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
9055 "bp-asm.h".
9056 (PARMS): Do not use macros from bp-asm.h.
9057 (__frexp): Do not use BP_SYM.
9058 (frexp): Likewise.
9059 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
9060 "bp-asm.h".
9061 (PARMS): Do not use macros from bp-asm.h.
9062 (__frexpf): Do not use BP_SYM.
9063 (frexpf): Likewise.
9064 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
9065 "bp-asm.h".
9066 (PARMS): Do not use macros from bp-asm.h.
9067 (__frexpl): Do not use BP_SYM.
9068 (frexpl): Likewise.
9069 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
9070 "bp-asm.h".
9071 (PARMS): Do not use macros from bp-asm.h.
9072 (__remquo): Do not use BP_SYM.
9073 (remquo): Likewise.
9074 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
9075 "bp-asm.h".
9076 (PARMS): Do not use macros from bp-asm.h.
9077 (__remquof): Do not use BP_SYM.
9078 (remquof): Likewise.
9079 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
9080 "bp-asm.h".
9081 (PARMS): Do not use macros from bp-asm.h.
9082 (__remquol): Do not use BP_SYM.
9083 (remquol): Likewise.
9084 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
9085 "bp-asm.h".
9086 (PARMS): Do not use macros from bp-asm.h.
9087 (DEST): Likewise.
9088 (SRC): Likewise.
9089 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
9090 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
9091 "bp-asm.h".
9092 (PARMS): Do not use macros from bp-asm.h.
9093 (strlen): Do not use BP_SYM.
9094 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
9095 "bp-asm.h".
9096 (PARMS): Do not use macros from bp-asm.h.
9097 (S1): Likewise.
9098 (S2): Likewise.
9099 (SIZE): Likewise.
9100 (__mpn_add_n): Do not use BP_SYM.
9101 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
9102 "bp-asm.h".
9103 (PARMS): Do not use macros from bp-asm.h.
9104 (S1): Likewise.
9105 (SIZE): Likewise.
9106 (__mpn_addmul_1): Do not use BP_SYM.
9107 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
9108 weak_alias.
9109 (bzero): Likewise.
9110 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
9111 "bp-asm.h".
9112 (PARMS): Do not use macros from bp-asm.h.
9113 (S): Likewise.
9114 (SIZE): Likewise.
9115 (__mpn_lshift): Do not use BP_SYM.
9116 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
9117 "bp-asm.h".
9118 (PARMS): Do not use macros from bp-asm.h.
9119 (DEST): Likewise.
9120 (SRC): Likewise.
9121 (LEN): Likewise.
9122 (memcpy): Likewise. Do not use BP_SYM.
9123 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
9124 libc_hidden_def and weak_alias.
9125 (mempcpy): Do not use BP_SYM in weak_alias.
9126 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
9127 "bp-asm.h".
9128 (PARMS): Do not use macros from bp-asm.h.
9129 (DEST): Likewise.
9130 (LEN): Likewise.
9131 [!BZERO_P] (CHR): Likewise.
9132 (memset): Likewise. Do not use BP_SYM.
9133 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
9134 "bp-asm.h".
9135 (PARMS): Do not use macros from bp-asm.h.
9136 (S1): Likewise.
9137 (SIZE): Likewise.
9138 (__mpn_mul_1): Do not use BP_SYM.
9139 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
9140 "bp-asm.h".
9141 (PARMS): Do not use macros from bp-asm.h.
9142 (S): Likewise.
9143 (SIZE): Likewise.
9144 (__mpn_rshift): Do not use BP_SYM.
9145 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
9146 "bp-asm.h".
9147 (PARMS): Do not use macros from bp-asm.h.
9148 (STR): Likewise.
9149 (CHR): Likewise.
9150 (strchr): Likewise. Do not use BP_SYM.
9151 (index): Do not use BP_SYM in weak_alias.
9152 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
9153 "bp-asm.h".
9154 (PARMS): Do not use macros from bp-asm.h.
9155 (DEST): Likewise.
9156 (SRC): Likewise.
9157 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
9158 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
9159 "bp-asm.h".
9160 (PARMS): Do not use macros from bp-asm.h.
9161 (strlen): Do not use BP_SYM.
9162 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
9163 "bp-asm.h".
9164 (PARMS): Do not use macros from bp-asm.h.
9165 (S1): Likewise.
9166 (S2): Likewise.
9167 (SIZE): Likewise.
9168 (__mpn_sub_n): Do not use BP_SYM.
9169 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
9170 "bp-asm.h".
9171 (PARMS): Do not use macros from bp-asm.h.
9172 (S1): Likewise.
9173 (SIZE): Likewise.
9174 (__mpn_submul_1): Do not use BP_SYM.
9175 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
9176 "bp-asm.h".
9177 (PARMS): Do not use macros from bp-asm.h.
9178 (S1): Likewise.
9179 (S2): Likewise.
9180 (SIZE): Likewise.
9181 (__mpn_add_n): Do not use BP_SYM.
9182 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
9183 weak_alias.
9184 (bzero): Likewise.
9185 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
9186 "bp-asm.h".
9187 (PARMS): Do not use macros from bp-asm.h.
9188 (BLK2): Likewise.
9189 (LEN): Likewise.
9190 (memcmp): Do not use BP_SYM.
9191 (bcmp): Do not use BP_SYM in weak_alias.
9192 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
9193 "bp-asm.h".
9194 (PARMS): Do not use macros from bp-asm.h.
9195 (DEST): Likewise.
9196 (SRC): Likewise.
9197 (LEN): Likewise.
9198 (memcpy): Likewise. Do not use BP_SYM.
9199 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
9200 "bp-asm.h".
9201 (PARMS): Do not use macros from bp-asm.h.
9202 (DEST): Likewise.
9203 (SRC): Likewise.
9204 (LEN): Likewise.
9205 (memmove): Likewise. Do not use BP_SYM.
9206 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
9207 "bp-asm.h".
9208 (PARMS): Do not use macros from bp-asm.h.
9209 (DEST): Likewise.
9210 (SRC): Likewise.
9211 (LEN): Likewise.
9212 (__mempcpy): Likewise. Do not use BP_SYM.
9213 (mempcpy): Do not use BP_SYM in weak_alias.
9214 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
9215 "bp-asm.h".
9216 (PARMS): Do not use macros from bp-asm.h.
9217 (DEST): Likewise.
9218 (LEN): Likewise.
9219 [!BZERO_P] (CHR): Likewise.
9220 (memset): Likewise. Do not use BP_SYM.
9221 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
9222 "bp-asm.h".
9223 (PARMS): Do not use macros from bp-asm.h.
9224 (STR2): Likewise.
9225 (strcmp): Do not use BP_SYM.
9226 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
9227 "bp-asm.h".
9228 (PARMS): Do not use macros from bp-asm.h.
9229 (STR): Likewise.
9230 (DELIM): Likewise.
9231 [USE_AS_STRTOK_R] (SAVE): Likewise.
9232 (FUNCTION): Likewise. Do not use BP_SYM.
9233 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
9234 aliases.
9235 (strtok_r): Likewise.
9236 (__GI___strtok_r): Likewise.
9237 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9238 (PARMS): Do not use macros from bp-asm.h.
9239 (S): Likewise.
9240 (SIZE): Likewise.
9241 (__mpn_lshift): Do not use BP_SYM.
9242 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9243 (PARMS): Do not use macros from bp-asm.h.
9244 (STR): Likewise.
9245 (CHR): Likewise.
9246 (__memchr): Do not use BP_SYM.
9247 (memchr): Do not use BP_SYM in weak_alias.
9248 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9249 (PARMS): Do not use macros from bp-asm.h.
9250 (BLK2): Likewise.
9251 (LEN): Likewise.
9252 (memcmp): Do not use BP_SYM.
9253 (bcmp): Do not use BP_SYM in weak_alias.
9254 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
9255 (PARMS): Do not use macros from bp-asm.h.
9256 (S1): Likewise.
9257 (SIZE): Likewise.
9258 (__mpn_mul_1): Do not use BP_SYM.
9259 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
9260 "bp-asm.h".
9261 (PARMS): Do not use macros from bp-asm.h.
9262 (STR): Likewise.
9263 (CHR): Likewise.
9264 (__rawmemchr): Do not use BP_SYM.
9265 (rawmemchr): Do not use BP_SYM in weak_alias.
9266 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9267 (PARMS): Do not use macros from bp-asm.h.
9268 (S): Likewise.
9269 (SIZE): Likewise.
9270 (__mpn_rshift): Do not use BP_SYM.
9271 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9272 (PARMS): Do not use macros from bp-asm.h.
9273 (SIGMSK): Likewise.
9274 (__sigsetjmp): Likewise. Do not use BP_SYM.
9275 * sysdeps/i386/start.S: Do not include "bp-sym.h".
9276 (_start): Do not use BP_SYM.
9277 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
9278 (PARMS): Do not use macros from bp-asm.h.
9279 (DEST): Likewise.
9280 (SRC): Likewise.
9281 (__stpcpy): Likewise. Do not use BP_SYM.
9282 (stpcpy): Do not use BP_SYM in weak_alias.
9283 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
9284 "bp-asm.h".
9285 (PARMS): Do not use macros from bp-asm.h.
9286 (DEST): Likewise.
9287 (SRC): Likewise.
9288 (LEN): Likewise.
9289 (__stpncpy): Likewise. Do not use BP_SYM.
9290 (stpncpy): Do not use BP_SYM in weak_alias.
9291 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9292 (PARMS): Do not use macros from bp-asm.h.
9293 (STR): Likewise.
9294 (CHR): Likewise.
9295 (strchr): Likewise. Do not use BP_SYM.
9296 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
9297 "bp-asm.h".
9298 (PARMS): Do not use macros from bp-asm.h.
9299 (STR): Likewise.
9300 (CHR): Likewise.
9301 (__strchrnul): Likewise. Do not use BP_SYM.
9302 (strchrnul): Do not use BP_SYM in weak_alias.
9303 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
9304 "bp-asm.h".
9305 (PARMS): Do not use macros from bp-asm.h.
9306 (STOP): Likewise.
9307 (strcspn): Do not use BP_SYM.
9308 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
9309 "bp-asm.h".
9310 (PARMS): Do not use macros from bp-asm.h.
9311 (STR): Likewise.
9312 (STOP): Likewise.
9313 (strpbrk): Likewise. Do not use BP_SYM.
9314 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
9315 "bp-asm.h".
9316 (PARMS): Do not use macros from bp-asm.h.
9317 (STR): Likewise.
9318 (CHR): Likewise.
9319 (strrchr): Likewise. Do not use BP_SYM.
9320 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
9321 (PARMS): Do not use macros from bp-asm.h.
9322 (SKIP): Likewise.
9323 (strspn): Do not use BP_SYM.
9324 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
9325 (PARMS): Do not use macros from bp-asm.h.
9326 (STR): Likewise.
9327 (DELIM): Likewise.
9328 (SAVE): Likewise.
9329 (FUNCTION): Likewise. Do not use BP_SYM.
9330 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
9331 aliases.
9332 (strtok_r): Likewise.
9333 (__GI___strtok_r): Likewise.
9334 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9335 (PARMS): Do not use macros from bp-asm.h.
9336 (S1): Likewise.
9337 (S2): Likewise.
9338 (SIZE): Likewise.
9339 (__mpn_sub_n): Do not use BP_SYM.
9340 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
9341 "bp-asm.h".
9342 (PARMS): Do not use macros from bp-asm.h.
9343 (S1): Likewise.
9344 (SIZE): Likewise.
9345 (__mpn_submul_1): Do not use BP_SYM.
9346 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
9347 <bp-sym.h>.
9348 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
9349 and <bp-asm.h>.
9350 (PARMS): Do not use macros from bp-asm.h.
9351 (FLAGS): Likewise.
9352 (PTID): Likewise.
9353 (TLS): Likewise.
9354 (CTID): Likewise.
9355 (__clone): Do not use BP_SYM.
9356 (clone): Do not use BP_SYM in weak_alias.
9357 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
9358 and <bp-asm.h>.
9359 (PARMS): Do not use macros from bp-asm.h.
9360 (LEN): Likewise.
9361 (__mmap64): Do not use BP_SYM.
9362 (mmap64): Do not use BP_SYM in weak_alias.
9363 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9364 <bp-sym.h> and <bp-asm.h>.
9365 (PARMS): Do not use macros from bp-asm.h.
9366 (__posix_fadvise64_l64): Do not use BP_SYM.
9367 * sysdeps/unix/sysv/linux/i386/semtimedop.S
9368 (PARMS): Do not use macros from bp-asm.h.
9369 (NSOPS): Likewise.
9370 (semtimedop): Do not use BP_SYM.
9371 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
9372 and <bp-asm.h>.
9373
582a3cff
AM
93742013-02-21 Allan McRae <allan@archlinux.org>
9375
9376 * manual/message.texi (Charset conversion in gettext):
9377 Move @end statement to beginning of line.
9378
bab8a695
SP
93792013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9380
80945231
SP
9381 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
9382 static.
9383 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9384 Likewise.
9385
bab8a695
SP
9386 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
9387 (denorm): Likewise.
9388 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
9389 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
9390
e21d7aa7
AK
93912013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9392
9393 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
9394 tail-call to the resolved function if pltexit isn't needed.
9395
4c7a4263
SP
93962013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9397
9398 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
9399 or Y being zero as being unlikely.
9400 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9401 Likewise.
9402
41f49342
CD
94032013-02-20 Carlos O'Donell <carlos@redhat.com>
9404
9405 * manual/nss.texi (System Databases and Name Service Switch):
9406 Remove frobnicate @pxref.
9407
50022a93
TS
94082013-02-20 Thomas Schwinge <thomas@codesourcery.com>
9409
9410 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9411 __attribute__ ((unused)) to __attribute__ ((__unused__)).
9412
08cbd996
PM
94132013-02-20 Petr Machata <pmachata@redhat.com>
9414
9415 * elf/elf.h (R_ARM_TARGET1): New macro.
9416 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
9417 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
9418 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
9419 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
9420 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
9421 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
9422 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
9423 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
9424 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
9425 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
9426 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
9427 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
9428 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
9429 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
9430 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
9431 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
9432 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
9433 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
9434 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
9435 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
9436 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
9437 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
9438 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
9439 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
9440 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
9441 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
9442 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
9443 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
9444 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
9445 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
9446 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
9447 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
9448 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
9449 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
9450 (R_ARM_THM_GOT_BREL12): Likewise.
9451 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
9452 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
9453 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
9454 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
9455 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
9456 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
9457 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
9458 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
9459 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
9460
c7b275d6
TS
94612013-02-20 Thomas Schwinge <thomas@codesourcery.com>
9462
9463 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9464 __attribute_used__ to __attribute__ ((unused)).
9465
20cd7fb3
SP
94662013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9467
9468 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
9469 powerpc mpa.c.
9470 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
9471 comment formatting.
9472 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
9473
92945b52
JM
94742013-02-19 Joseph Myers <joseph@codesourcery.com>
9475
9476 [BZ #13550]
9477 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
9478 Remove macro.
9479 (ENTER): Remove both macro definitions.
9480 (LEAVE): Likewise.
9481 (CHECK_BOUNDS_LOW): Likewise.
9482 (CHECK_BOUNDS_HIGH): Likewise.
9483 (CHECK_BOUNDS_BOTH): Likewise.
9484 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
9485 (RETURN_BOUNDED_POINTER): Likewise.
9486 (RETURN_NULL_BOUNDED_POINTER): Likewise.
9487 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
9488 (POP_ERRNO_LOCATION_RETURN): Likewise.
9489 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
9490 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9491 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
9492 macros.
9493 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9494 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
9495 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
9496 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
9497 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
9498 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
9499 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
9500 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
9501 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
9502 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
9503 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
9504 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
9505 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9506 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
9507 removed macros.
9508 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9509 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
9510 macros.
9511 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9512 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
9513 * sysdeps/i386/i586/memset.S (memset): Likewise.
9514 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
9515 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9516 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
9517 macros.
9518 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9519 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
9520 Change uses of L(2) to L(out).
9521 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
9522 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
9523 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
9524 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9525 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
9526 removed macros.
9527 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9528 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
9529 macros.
9530 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9531 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
9532 (RETURN): Do not use macro LEAVE.
9533 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
9534 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
9535 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
9536 * sysdeps/i386/i686/memset.S (memset): Likewise.
9537 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
9538 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
9539 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9540 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
9541 Likewise.
9542 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9543 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
9544 L(1_2) and L(1_3) into L(1).
9545 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9546 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
9547 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9548 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
9549 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9550 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
9551 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
9552 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9553 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
9554 macros.
9555 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
9556 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9557 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
9558 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
9559 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
9560 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9561 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
9562 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
9563 * sysdeps/i386/strcspn.S (strcspn): Likewise.
9564 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
9565 * sysdeps/i386/strrchr.S (strrchr): Likewise.
9566 * sysdeps/i386/strspn.S (strspn): Likewise.
9567 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
9568 conditional code.
9569 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9570 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
9571 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9572 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
9573 L(1_3) into L(1_1).
9574 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
9575 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9576 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
9577 macros.
9578 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9579
2389741a
JJ
95802013-02-19 Jakub Jelinek <jakub@redhat.com>
9581
9582 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
9583 macro.
9584
2016b3cd
SP
95852013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9586
e4f22324
SP
9587 * math/atest-exp.c (exp_mpn): Remove ROUND.
9588 * math/atest-exp2.c (exp_mpn): Likewise.
9589 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
9590
2016b3cd
SP
9591 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
9592 * stdlib/tst-tls-atexit-lib.c: Likewise.
9593 * stdlib/tst-tls-atexit.c: Likewise.
9594
4be9b544
MF
95952013-02-18 Mike Frysinger <vapier@gentoo.org>
9596
9597 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
9598 and __attribute_alloc_size__.
9599
2f62b9ee
MF
96002013-02-18 Mike Frysinger <vapier@gentoo.org>
9601
9602 * include/programs/xmalloc.h: Change __attribute_alloc_size to
9603 __attribute_alloc_size__.
9604 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
9605 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
9606
6ff444c4
MF
96072013-02-18 Mike Frysinger <vapier@gentoo.org>
9608
9609 * include/programs/xmalloc.h: New file.
9610 * catgets/gencat.c: Include it.
9611 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
9612 * elf/pldd.c: Likewise.
9613 * iconv/iconv_charmap.c: Likewise.
9614 * iconv/iconvconfig.c: Likewise.
9615 * iconv/strtab.c: Likewise.
9616 * locale/programs/locale.c: Likewise.
9617 * locale/programs/localedef.h: Likewise.
9618 * locale/programs/simple-hash.c: Likewise.
9619 * nscd/nscd.h: Likewise.
9620 * nss/makedb.c: Likewise.
9621 * sysdeps/generic/ldconfig.h: Likewise.
9622
be179c8a
SP
96232013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9624
ba384f6e
SP
9625 * Versions.def: Add GLIBC_2.18.
9626 * include/link.h (struct link_map): New member l_tls_dtor_count.
9627 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
9628 (__call_tls_dtors): Likewise.
9629 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
9630 __cxa_thread_atexit_impl.
9631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9632 Likewise.
9633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9634 Likewise.
9635 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9636 Likewise.
9637 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9638 Likewise.
9639 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9640 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
9641 Likewise.
9642 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
9643 Likewise.
9644 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9645 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9646 Likewise.
9647 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
9648 (tests): Add test case tst-tls-atexit.
9649 (modules-names): Add shared library for tst-tls-atexit.
85891aca 9650 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
9651 (GLIBC_PRIVATE): Add __call_tls_dtors.
9652 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
9653 for libstdc++.
9654 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
9655 * stdlib/tst-tls-atexit.c: New test case.
9656 * stdlib/tst-tls-atexit-lib.c: New test case.
9657
ffaa74cf 9658 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 9659
be179c8a
SP
9660 * elf/Versions (ld): Add _dl_find_dso_for_object.
9661 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
9662 * elf/dl-open.c (_dl_find_dso_for_object): New function.
9663 (dl_open_worker): Use _dl_find_dso_for_object.
9664 * elf/dl-sym.c (do_sym): Likewise.
9665 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
9666
f78b5caa
AK
96672013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9668
9669 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
9670 Syntactic changes only.
9671 (_dl_runtime_profile): Do a tail-call to the resolved function.
9672
29691210
JM
96732013-02-17 Joseph Myers <joseph@codesourcery.com>
9674
9675 [BZ #13550]
9676 * sysdeps/x86_64/bp-asm.h: Remove file.
9677 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
9678 <bp-sym.h> and <bp-asm.h>.
9679 (__clone): Do not use BP_SYM.
9680 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
9681 <bp-sym.h> and <bp-asm.h>.
9682 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9683 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
9684 "bp-asm.h".
9685 (_setjmp): Do not use BP_SYM.
9686 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
9687 "bp-asm.h".
9688 (setjmp): Do not use BP_SYM.
9689 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
9690 libc_hidden_def.
9691 (mempcpy): Do not use BP_SYM in weak_alias.
9692 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
9693 "bp-asm.h".
9694 (strchr): Do not use BP_SYM.
9695 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
9696 "bp-asm.h".
9697 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
9698 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
9699 (_start): Do not use BP_SYM.
9700 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
9701 "bp-asm.h".
9702 (strcat): Do not use BP_SYM.
9703 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
9704 "bp-asm.h".
9705 (STRCMP): Do not use BP_SYM.
9706 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
9707 "bp-asm.h".
9708 (STRCPY): Do not use BP_SYM.
9709 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
9710 "bp-asm.h".
9711 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
9712 "bp-asm.h".
9713 (FUNCTION): Do not use BP_SYM.
9714 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
9715 weak_alias.
9716 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
9717
f238fd19
AJ
97182013-02-17 Andreas Jaeger <aj@suse.de>
9719
9720 * time/Versions: Sort entries.
9721 * string/Versions: Likewise.
9722 * resolv/Versions: Likewise.
9723 * posix/Versions: Likewise.
9724 * iconv/Versions: Likewise.
9725 * elf/Versions: Likewise.
9726 * wcsmbs/Versions: Likewise.
9727
bd07f23c 97282013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 9729
22af19f9
SP
9730 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
9731 loop termination condition.
9732
4709fe76
SP
9733 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
9734 variable to calculate EZ.
9735 (__sqr): Likewise.
2d0e0f29
SP
9736
9737 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
9738 the lower precision input.
9739
daaa7713
JM
97402013-02-15 Joseph Myers <joseph@codesourcery.com>
9741
9742 [BZ #13550]
9743 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
9744 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
9745 (run-via-rtld-prefix): Do not handle %-bp tests.
9746 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
9747 (all-object-suffixes): Remove .ob.
9748 (bppfx): Remove variable.
9749 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
9750 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
9751 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
9752 [$(build-bounded) = yes] (libtype.ob): Likewise.
9753 * Makerules (elide-routines.ob): Remove variable.
9754 (do-tests-clean): Do not handle *-bp.out.
9755 (common-mostlyclean): Do not handle *-bp and *-bp.out.
9756 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
9757 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
9758 (tests): Do not include $(tests-bp.out).
9759 (xtests): Do not include $(xtests-bp.out).
9760 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
9761 [$(build-bounded) = yes] ($(addprefix
9762 $(objpfx),$(binaries-bounded))): Remove rule.
9763 ($(objpfx)%-bp.out): Remove rule.
9764 * config.make.in (build-bounded): Remove variable.
9765 * crypt/Makefile [$(build-bounded) = yes]
9766 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
9767 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
9768 append to variable.
9769 [$(build-bounded) = yes] (install-lib): Likewise.
9770 [$(build-bounded) = yes] (generated): Likewise.
9771 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
9772 Remove rule.
9773 * intl/Makefile [$(build-bounded) = yes]
9774 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
9775 * math/Makefile [$(build-bounded) = yes]
9776 ($(tests:%=$(objpfx)%-bp): Likewise.
9777 * misc/Makefile [$(build-bounded) = yes]
9778 ($(objpfx)tst-tsearch-bp): Likewise.
9779 * nptl/Makeconfig (bounded-thread-library): Remove variable.
9780 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
9781 Remove dependency.
9782 * string/Makefile (o-objects.ob): Remove variable.
9783 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
9784 (CFLAGS-.ob): Remove variable.
9785 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
9786 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
9787 both definitions of variable.
9788 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
9789 (ASFLAGS-.ob): Remove variable.
9790
e97ed6dd
JM
97912013-02-14 Joseph Myers <joseph@codesourcery.com>
9792
2bdd4ca6
JM
9793 [BZ #13550]
9794 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
9795 Remove __BOUNDED_POINTERS__ from condition.
9796 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
9797 * string/bits/string2.h [!__NO_STRING_INLINES &&
9798 !__BOUNDED_POINTERS__]: Likewise.
9799 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
9800 Likewise.
9801 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
9802 Remove conditional code.
9803 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
9804 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
9805 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
9806 condition.
9807
e97ed6dd
JM
9808 [BZ #13550]
9809 * csu/libc-start.c: Do not include <bp-sym.h>.
9810 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
9811 * elf/dl-open.c: Do not include <bp-sym.h>.
9812 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
9813 * math/fegetenv.c: Do not include <bp-sym.h>.
9814 (fegetenv): Do not use BP_SYM in versioned symbols.
9815 * nptl/sysdeps/pthread/bits/libc-lockP.h
9816 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
9817 <bp-sym.h>.
9818 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9819 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
9820 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9821 (__pthread_mutex_destroy): Likewise.
9822 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9823 (__pthread_mutex_lock): Likewise.
9824 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9825 (__pthread_mutex_trylock): Likewise.
9826 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9827 (__pthread_mutex_unlock): Likewise.
9828 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9829 (__pthread_mutexattr_init): Likewise.
9830 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9831 (__pthread_mutexattr_destroy): Likewise.
9832 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9833 (__pthread_mutexattr_settype): Likewise.
9834 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9835 (__pthread_rwlock_init): Likewise.
9836 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9837 (__pthread_rwlock_destroy): Likewise.
9838 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9839 (__pthread_rwlock_rdlock): Likewise.
9840 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9841 (__pthread_rwlock_tryrdlock): Likewise.
9842 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9843 (__pthread_rwlock_wrlock): Likewise.
9844 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9845 (__pthread_rwlock_trywrlock): Likewise.
9846 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9847 (__pthread_rwlock_unlock): Likewise.
9848 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9849 (__pthread_key_create): Likewise.
9850 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9851 (__pthread_setspecific): Likewise.
9852 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9853 (__pthread_getspecific): Likewise.
9854 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
9855 Likewise.
9856 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9857 (_pthread_cleanup_push_defer): Likewise.
9858 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9859 (_pthread_cleanup_pop_restore): Likewise.
9860 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9861 (pthread_setcancelstate): Likewise.
9862 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
9863 <bp-sym.h>.
9864 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
9865 (memchr): Do not use BP_SYM in weak_alias.
9866 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
9867 (fegetenv): Do not use BP_SYM in versioned symbols.
9868 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
9869 (fesetenv): Do not use BP_SYM in versioned symbols.
9870 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9871 (feupdateenv): Do not use BP_SYM in versioned symbols.
9872 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9873 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9874 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
9875 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
9876 (open64): Do not use BP_SYM in weak_alias.
9877 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
9878 (fegetenv): Do not use BP_SYM in versioned symbols.
9879 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
9880 (fesetenv): Do not use BP_SYM in versioned symbols.
9881 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9882 (feupdateenv): Do not use BP_SYM in versioned symbols.
9883 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
9884 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
9885 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
9886 (feraiseexcept): Do not use BP_SYM in versioned symbols.
9887 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9888 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9889 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
9890 <bp-sym.h>.
9891 (__libc_start_main): Do not use BP_SYM.
9892
d6752ccd
SP
98932013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9894
cb57ce60
SP
9895 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
9896 redundant return line.
9897 (norm): Likewise.
9898 (denorm): Likewise.
9899 (dbl_mp): Likewise.
9900 (sub_magnitudes): Likewise.
9901 (__add): Likewise.
9902 (__sub): Likewise.
9903 (__mul): Likewise.
9904 (__inv): Likewise.
9905 (__dvd): Likewise.
9906 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
9907 (norm): Likewise.
9908 (denorm): Likewise.
9909 (dbl_mp): Likewise.
9910 (sub_magnitudes): Likewise.
9911 (__add): Likewise.
9912 (__sub): Likewise.
9913 (__mul): Likewise.
9914 (__inv): Likewise.
9915 (__dvd): Likewise.
9916
f414520d
SP
9917 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
9918 instead of __mul.
9919 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9920 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
9921 (cc32): Likewise.
9922
d6752ccd
SP
9923 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
9924 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
9925 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
9926 of __mul for squares.
9927 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
9928 function
9929 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
9930 Likewise.
9931 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
9932 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9933
70d9946a
JM
99342013-02-13 Joseph Myers <joseph@codesourcery.com>
9935
9936 [BZ #13550]
9937 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
9938 code.
9939 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
9940 prototype or function definition. Rename ubp_* variables and
9941 parameters. Remove argv definitions conditional on
9942 [__BOUNDED_POINTERS__].
9943 * debug/backtrace.c (__backtrace): Do not use __unbounded.
9944 * elf/dl-runtime.c (_dl_fixup): Likewise.
9945 * include/set-hooks.h (RUN_HOOK): Likewise.
9946 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
9947 definition.
9948 * string/strcpy.c (strcpy): Do not use __unbounded.
9949 * sysdeps/generic/frame.h (struct layout): Likewise.
9950 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
9951 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
9952 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
9953 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
9954 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
9955 (__backtrace): Likewise.
9956 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
9957 use __ptrvalue.
9958 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
9959 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9960 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
9961 Likewise.
9962 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
9963 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
9964 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9965 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9966 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
9967 Do not use __unbounded.
9968 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
9969 Rename __unboundedrlimits parameter to rlimits in prototype.
9970 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
9971 Do not use __unbounded.
9972 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
9973 not use __ptrvalue.
9974 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9975 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
9976 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9977 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
9978 __ptrvalue or __unbounded.
9979 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
9980 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
9981 use __unbounded.
9982 (__new_msgctl): Do not use __ptrvalue.
9983 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
9984 __unbounded.
9985 (__libc_msgrcv): Do not use __ptrvalue.
9986 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
9987 startup_info): Do not use __unbounded.
9988 (__libc_start_main): Likewise. Rename ubp_* variables and
9989 parameters. Remove argv definitions conditional on
9990 [__BOUNDED_POINTERS__].
9991 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
9992 __ptrvalue.
9993 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
9994 use __unbounded.
9995 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
9996 or __ptrvalue.
9997 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
9998 use __unbounded.
9999 (__new_shmctl): Do not use __ptrvalue.
10000 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
10001 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
10002 Likewise.
10003 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
10004 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
10005 (__libc_sigaction): Likewise.
10006 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
10007 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
10008 Likewise.
10009 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10010
cc7834d6
OB
100112013-02-13 Ondřej Bílka <neleai@seznam.cz>
10012
ffb1ec7b 10013 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
10014
10015 * string/mempcpy.c: Implement by calling memcpy.
10016
bdf02814
SP
100172013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10018
c2af38aa
SP
10019 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
10020
4e92d59e
SP
10021 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
10022 evaluation.
10023
909279a5
SP
10024 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
10025 values in the mantissa.
10026
bdf02814
SP
10027 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
10028 minimize writes to Z.
10029 (sub_magnitudes): Simplify code a bit.
10030
cd525923
RM
100312013-02-12 Roland McGrath <roland@hack.frob.com>
10032
10033 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
10034 from the message. The linker prefixes all warnings with that already.
10035
7e2f0d2d
AS
100362013-02-12 Andreas Schwab <schwab@suse.de>
10037
a445af0b
AS
10038 [BZ #15078]
10039 * posix/regexec.c (extend_buffers): Add parameter min_len.
10040 (check_matching): Pass minimum needed length.
10041 (clean_state_log_if_needed): Likewise.
10042 (get_subexp): Likewise.
10043 * posix/Makefile (tests): Add bug-regex34.
10044 (bug-regex34-ENV): Define.
10045 * posix/bug-regex34.c: New file.
10046
7e2f0d2d
AS
10047 [BZ #11561]
10048 * posix/regcomp.c (parse_bracket_exp): When looking up collating
10049 elements compare against the byte sequence of it, not its name.
10050 * posix/Makefile (tests): Add bug-regex35.
10051 (bug-regex35-ENV): Define.
10052 * posix/bug-regex35.c: New file.
10053
a175b684
TV
100542013-02-11 Tom de Vries <tom@codesourcery.com>
10055
10056 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
10057 comment.
10058 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
10059 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
10060 (CHECK_EOL): Add undef.
10061
310998fe 100622013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
10063
10064 * bits/stdlib-bsearch.h: New file.
10065 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 10066 * stdlib/stdlib.h: Likewise.
41eda41d 10067
8ded91fb
RM
100682013-02-11 Roland McGrath <roland@hack.frob.com>
10069
10070 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
10071 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
10072 declaration.
10073 * manual/search.texi (Array Search Function): Add missing const in
10074 lfind prototype.
10075 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
10076 declaration to use rlim_t.
10077 (Basic Scheduling Functions): Remove erroneous const from
10078 sched_getparam prototype. Remove erroneous * from
10079 sched_get_priority_max and sched_get_priority_min prototypes.
10080 (Resource Usage): Fix summary @comment on vtimes to refer to
10081 sys/vtimes.h rather than vtimes.h.
10082 Add missing *s in vtimes prototype.
10083 (Limits on Resources): Fix ulimit prototype to return long int.
10084 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
10085 prototypes to use long int rather than double.
10086 (BSD Random): Fix initstate and setstate to use char *, not void *.
10087 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
10088 prototype to make second argument 'struct aiocb64 *const[]'.
10089 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
10090 (Status of AIO Operations): Remove erroneous const in aio_return and
10091 aio_return64 prototypes.
10092 (Synchronizing I/O): Fix sync prototype to return void.
10093 * manual/startup.texi (Suboptions): Remove an erroneous const in
10094 getsubopt prototype.
10095 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
10096 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
10097 use size_t rather than int.
10098 (Scanning All Users): Likewise for getpwent_r.
10099 (Setting Groups): Add missing const to setgroups prototype.
10100 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
10101 * manual/socket.texi (Host Names): Fix gethostbyaddr and
10102 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
10103 'const void *' rather than 'const char *'.
10104 (Host Address Functions): Likewise for inet_ntop.
10105 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
10106 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
10107 ssize_t for return value.
10108 (Sending Data): Likewise for send, sendto, sendmsg.
10109 (Socket Option Functions): Add a missing const in setsockopt prototype.
10110 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
10111 use wchar_t for the argument.
10112 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
10113 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
10114 take no arguments.
10115 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
10116 double/float/long double for second argument.
10117 Fix return types of significand, significandf, significandl.
10118 * manual/filesys.texi (Setting Permissions): Use mode_t for second
10119 argument in fchmod prototype.
10120 (File Owner): Use uid_t and gid_t in fchown prototype.
10121 (File Times): Add const to utimes, futimes, and lutimes prototypes.
10122 (Making Special Files): Use mode_t and dev_t in mknod prototype.
10123 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
10124 use 'const struct dirent **' as argument types to CMP function pointer
10125 argument.
10126 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
10127 (File Times): Fix summary magic @comment for struct utimbuf and utime
10128 to refer to utime.h, not time.h.
10129 * manual/string.texi (Argz Functions): Add missing const in
10130 argz_extract and argz_next prototypes.
10131 (Finding Tokens in a String): Likewise for basename.
10132 (String/Array Comparison): Fix typo in wcscasecmp prototype.
10133 (Copying and Concatenation): Fix typo in wmemmove prototype.
10134 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
10135 (Signal Stack): Remove erroneous const in sigstack prototype.
10136 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
10137 prototype.
10138 (Simple Calendar Time): Likewise for stime.
10139 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
10140 prototype.
10141 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
10142 say sys/sysctl.h instead.
10143 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
10144 and vsyslog prototypes.
10145
fe77fe6d
TV
101462013-02-11 Tom de Vries <tom@codesourcery.com>
10147
10148 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
10149 Remove.
10150
3a09b620
RM
101512013-02-11 Roland McGrath <roland@hack.frob.com>
10152
10153 * misc/sys/mman.h: Fix typo in mremap comment.
10154
550a0b89
RM
101552013-02-08 Roland McGrath <roland@hack.frob.com>
10156
10157 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
10158 the '\0' terminator.
10159
a2da1673
JM
101602013-02-08 Joseph Myers <joseph@codesourcery.com>
10161
10162 [BZ #13550]
10163 * debug/segfault.c: Don't include <bp-checks.h>.
10164 * sysdeps/generic/bp-checks.h: Remove file.
10165 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
10166 (__GETDENTS): Don't use CHECK_N.
10167 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
10168 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10169 (__getgroups): Don't use CHECK_N.
10170 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
10171 (setgroups): Don't use CHECK_N.
10172 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
10173 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
10174 (__libc_msgrcv): Don't use CHECK_N.
10175 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
10176 (__libc_msgsnd): Don't use CHECK_N.
10177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
10178 <bp-checks.h>.
10179 (__libc_pread): Don't use CHECK_N.
10180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
10181 include <bp-checks.h>.
10182 (__libc_pread64): Don't use CHECK_N.
10183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
10184 include <bp-checks.h>.
10185 (__libc_pwrite): Don't use CHECK_N.
10186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
10187 include <bp-checks.h>.
10188 (__libc_pwrite64): Don't use CHECK_N.
10189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
10190 <bp-checks.h>.
10191 (__libc_pread): Don't use CHECK_N.
10192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
10193 include <bp-checks.h>.
10194 (__libc_pread64): Don't use CHECK_N.
10195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
10196 include <bp-checks.h>.
10197 (__libc_pwrite): Don't use CHECK_N.
10198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
10199 include <bp-checks.h>.
10200 (__libc_pwrite64): Don't use CHECK_N.
10201 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
10202 (do_pread): Don't use CHECK_N.
10203 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
10204 (do_pread64): Don't use CHECK_N.
10205 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
10206 (do_pwrite): Don't use CHECK_N.
10207 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
10208 (do_pwrite64): Don't use CHECK_N.
10209 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
10210 (__libc_readv): Don't use CHECK_N.
10211 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
10212 (semop): Don't use CHECK_N.
10213 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
10214 <bp-checks.h>.
10215 (semtimedop): Don't use CHECK_N.
10216 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
10217 (__libc_pread): Don't use CHECK_N.
10218 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
10219 <bp-checks.h>.
10220 (__libc_pread64): Don't use CHECK_N.
10221 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
10222 <bp-checks.h>.
10223 (__libc_pwrite): Don't use CHECK_N.
10224 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
10225 <bp-checks.h>.
10226 (__libc_pwrite64): Don't use CHECK_N.
10227 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
10228 <bp-checks.h>.
10229 (__libc_msgrcv): Don't use CHECK_N.
10230 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
10231 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
10232 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
10233 (__libc_writev): Don't use CHECK_N.
10234
b84660a8
RM
102352013-02-08 Roland McGrath <roland@hack.frob.com>
10236
7f3e75f8
RM
10237 * string/strcpy.c: Removed unused variable.
10238
b84660a8
RM
10239 * Makeconfig (+sysdep-includes): Define with := rather than =.
10240 Use an existing include/ subdir of each sysdeps dir before it.
10241
471514d3
CD
102422013-02-08 Carlos O'Donell <carlos@redhat.com>
10243
10244 * nscd/connection.c (register_traced_file): Comment function.
10245 [HAVE_INOTIFY] (union __inev): Define.
10246 [HAVE_INOTIFY] (inotify_check_files): New function.
10247 [HAVE_INOTIFY] (clear_db_cache): Likewise.
10248 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
10249 clear_db_cache.
10250 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
10251
b2d3c3be
CD
102522013-02-08 Carlos O'Donell <carlos@redhat.com>
10253
10254 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
10255 loaded if not already and that a failure is permanent.
10256
b39949d2
CD
102572013-02-08 Carlos O'Donell <carlos@redhat.com>
10258
ddacd1db 10259 [BZ #15006]
b39949d2
CD
10260 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
10261 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
10262
b2c9eff4
JM
102632013-02-08 Joseph Myers <joseph@codesourcery.com>
10264
f3aae3f3
JM
10265 [BZ #13550]
10266 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
10267 (CHECK_1_NULL_OK): Likewise.
10268 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
10269 (__fxstat): Do not use CHECK_1.
10270 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
10271 <bp-checks.h>.
10272 (___fxstat64): Do not use CHECK_1.
10273 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10274 <bp-checks.h>.
10275 (__fxstatat): Do not use CHECK_1.
10276 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10277 <bp-checks.h>.
10278 (__fxstatat64): Do not use CHECK_1.
10279 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
10280 <bp-checks.h>.
10281 (__fxstat): Do not use CHECK_1.
10282 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10283 <bp-checks.h>.
10284 (__fxstatat): Do not use CHECK_1.
10285 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10286 <bp-checks.h>.
10287 (__getresgid): Do not use CHECK_1.
10288 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10289 <bp-checks.h>.
10290 (__getresuid): Do not use CHECK_1.
10291 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
10292 <bp-checks.h>.
10293 (__lxstat): Do not use CHECK_1.
10294 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10295 <bp-checks.h>.
10296 (__old_msgctl): Do not use CHECK_1.
10297 (__new_msgctl): Likewise.
10298 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
10299 <bp-checks.h>.
10300 (__new_setrlimit): Do not use CHECK_1.
10301 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10302 <bp-checks.h>.
10303 (__old_shmctl): Do not use CHECK_1.
10304 (__new_shmctl): Likewise.
10305 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
10306 <bp-checks.h>.
10307 (__xstat): Do not use CHECK_1.
10308 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
10309 (__lxstat): Do not use CHECK_1.
10310 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
10311 <bp-checks.h>.
10312 (___lxstat64): Do not use CHECK_1.
10313 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
10314 (__old_msgctl): Do not use CHECK_1.
10315 (__new_msgctl): Likewise.
10316 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
10317 <bp-checks.h>.
10318 (__gettimeofday): Do not use CHECK_1.
10319 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
10320 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
10321 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
10322 <bp-checks.h>.
10323 (__gettimeofday): Do not use CHECK_1.
10324 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
10325 (__old_shmctl): Do not use CHECK_1_NULL_OK.
10326 (__new_shmctl): Do not use CHECK_1.
10327 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
10328 <bp-checks.h>.
10329 (do_sigtimedwait): Do not use CHECK_1.
10330 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
10331 <bp-checks.h>.
10332 (do_sigwaitinfo): Do not use CHECK_1.
10333 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
10334 <bp-checks.h>.
10335 (msgctl): Do not use CHECK_1.
10336 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
10337 <bp-checks.h>.
10338 (shmctl): Do not use CHECK_1.
10339 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
10340 (ustat): Do not use CHECK_1.
10341 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
10342 <bp-checks.h>.
10343 (__fxstat): Do not use CHECK_1.
10344 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10345 <bp-checks.h>.
10346 (__fxstatat): Do not use CHECK_1.
10347 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
10348 <bp-checks.h>.
10349 (__lxstat): Do not use CHECK_1.
10350 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
10351 <bp-checks.h>.
10352 (__xstat): Do not use CHECK_1.
10353 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
10354 (__xstat): Do not use CHECK_1.
10355 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
10356 (___xstat64): Do not use CHECK_1.
10357
b2c9eff4
JM
10358 [BZ #13550]
10359 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
10360 definitions.
10361 (CHECK_BOUNDS_HIGH): Likewise.
10362 * string/strcpy.c: Do not include <bp-checks.h>.
10363 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
10364
f1d70dad
RM
103652013-02-07 Roland McGrath <roland@hack.frob.com>
10366
10367 * nscd/nscd-client.h (__nscd_drop_map_ref):
10368 Add __attribute__ ((unused)).
10369 * nis/nss-nisplus.h (niserr2nss): Likewise.
10370
10371 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
10372 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
10373
10374 * csu/libc-tls.c (init_static_tls, init_slotinfo):
10375 Remove inline keyword.
10376 * include/rounding-mode.h (round_away): Likewise.
10377 * libio/wfileops.c (adjust_wide_data): Likewise.
10378 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
10379 (__m128i_strloadu_tolower): Likewise.
10380 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
10381 (__m128i_strloadu_tolower): Likewise.
10382 * time/mktime.c (ydhms_diff): Likewise.
10383 * locale/elem-hash.h (elem_hash): Likewise.
10384 * locale/setlocale.c (setdata): Likewise.
10385 * posix/regex_internal.h (re_string_char_size_at): Likewise.
10386 (re_string_wchar_at): Likewise.
10387 (bitset_not, bitset_merge, bitset_mask): Likewise.
10388 [!(__GNUC__ > 3)] (inline): Remove macro.
10389 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
10390 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
10391 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
10392 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
10393 * string/memcmp.c (memcmp_bytes): Likewise.
10394 * locale/programs/locarchive.c (compute_hashval): Likewise.
10395 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
10396 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
10397 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
10398 * nss/getent.c (print_rpc, print_protocols): Likewise.
10399 (print_passwd, print_group, print_aliases): Likewise.
10400 * nis/nss-nisplus.h (niserr2nss): Likewise.
10401 * nscd/connections.c (restart_p): Likewise.
10402 Change return type to bool.
10403
eab55bfb
RM
104042013-02-05 Roland McGrath <roland@hack.frob.com>
10405
7bd642f5
RM
10406 * Makeconfig (all-Depend-files): Add existing
10407 $(sorted-subdirs:=/Depend) files.
10408 (all-subdirs): Remove nss.
10409 * sysdeps/unix/inet/Subdirs: Add it here instead.
10410 * hesiod/Depend: New file.
10411
573c29b2
RM
10412 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
10413 instead of calling alloca.
10414
b2e25af0
RM
10415 * io/lseek.c (__lseek): Rename to __libc_lseek.
10416 Define __lseek as an alias.
10417
eab55bfb
RM
10418 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
10419
9a0d1941
CD
104202013-02-04 Carlos O'Donell <carlos@redhat.com>
10421
10422 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
10423 else clause and remove check for non-standard endianness.
10424
b83bbec4
DM
104252013-02-04 David S. Miller <davem@davemloft.net>
10426
10427 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10428
6277fdab
JM
104292013-02-04 Joseph Myers <joseph@codesourcery.com>
10430
10431 [BZ #13550]
10432 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
10433 (__ubp_memchr): Remove prototype.
10434 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
10435 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10436 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
10437 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10438 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
10439 Remove alias.
10440 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
10441 (__ubp_memchr): Likewise.
10442 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
10443 (__ubp_memchr): Likewise.
10444 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
10445 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
10446 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
10447 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
10448 CHECK_STRING.
10449 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10450 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
10451 (__getcwd): Do not use CHECK_STRING.
10452 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10453 <bp-checks.h>.
10454 (__real_chown): Do not use CHECK_STRING.
10455 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
10456 <bp-checks.h>.
10457 (fchownat): Do not use CHECK_STRING.
10458 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
10459 CHECK_STRING.
10460 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10461 <bp-checks.h>.
10462 (__lchown): Do not use CHECK_STRING.
10463 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10464 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10465 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10466 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10468 include <bp-checks.h>.
10469 (truncate64): Do not use CHECK_STRING.
10470 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10471 <bp-checks.h>.
10472 (__real_chown): Do not use CHECK_STRING.
10473 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10474 <bp-checks.h>.
10475 (__lchown): Do not use CHECK_STRING.
10476 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10477 <bp-checks.h>.
10478 (__chown): Do not use CHECK_STRING.
10479 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
10480 <bp-checks.h>.
10481 (truncate64): Do not use CHECK_STRING.
10482 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
10483 Likewise.
10484 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
10485 (__xmknod): Do not use CHECK_STRING.
10486 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10487 <bp-checks.h>.
10488 (__xmknodat): Do not use CHECK_STRING.
10489 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10490 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
10491
903ae060
AS
104922013-02-04 Andreas Schwab <schwab@suse.de>
10493
10494 [BZ #14142]
10495 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
10496 * include/netdb.h: Likewise for h_errno.
10497 * elf/tst-stackguard1.c: Include <tls.h>.
10498
542f9466
JK
104992013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10500
10501 * elf/link.h (struct link_map): Extend the l_addr comment.
10502 * include/link.h (struct link_map): Likewise.
10503
e782a927
JM
105042013-02-01 Joseph Myers <joseph@codesourcery.com>
10505
10506 [BZ #13550]
10507 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
10508 (BOUNDED_1): Remove macro.
10509 * debug/backtrace.c: Don't include <bp-checks.h>.
10510 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
10511 (__backtrace): Likewise.
10512 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
10513 <bp-checks.h>.
10514 (__backtrace): Don't use BOUNDED_1.
10515 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
10516 <bp-checks.h>.
10517 (__backtrace): Don't use BOUNDED_1.
10518 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
10519 (__backtrace): Don't use BOUNDED_1.
10520 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
10521 (shmat): Don't use BOUNDED_N.
10522
8cf28c5e
JM
105232013-01-31 Joseph Myers <joseph@codesourcery.com>
10524
3a7ac8a0
JM
10525 [BZ #13550]
10526 * sysdeps/generic/bp-start.h: Remove file.
10527 * csu/libc-start.c: Don't include <bp-start.h>.
10528 (LIBC_START_MAIN): Set up __environ directly instead of using
10529 INIT_ARGV_and_ENVIRON.
10530 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
10531 <bp-start.h>.
10532
f3499f95
JM
10533 [BZ #13550]
10534 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
10535 definitions.
10536 (CHECK_FCNTL): Likewise.
10537 (CHECK_N_PAGES): Likewise.
10538
32a45bea
JM
10539 [BZ #13550]
10540 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
10541 definitions.
10542 (CHECK_SIGSET_NULL_OK): Likewise.
10543 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
10544 <bp-checks.h>.
10545 (sigpending): Don't use CHECK_SIGSET.
10546 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
10547 <bp-checks.h>.
10548 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10549 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
10550 <bp-checks.h>.
10551 (do_sigsuspend): Don't use CHECK_SIGSET.
10552 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
10553 use CHECK_SIGSET.
10554 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
10555 (do_sigwait): Don't use CHECK_SIGSET.
10556 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
10557 use CHECK_SIGSET.
10558 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
10559 include <bp-checks.h>.
10560 (sigpending): Don't use CHECK_SIGSET.
10561 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
10562 include <bp-checks.h>.
10563 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10564 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
10565 <bp-checks.h>.
10566 (sigpending): Don't use CHECK_SIGSET.
10567 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
10568 <bp-checks.h>.
10569 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10570
2e8a5c8c
JM
10571 [BZ #13550]
10572 * sysdeps/generic/bp-semctl.h: Remove file.
10573 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
10574 <bp-checks.h> and <bp-semctl.h>.
10575 (__old_semctl): Don't use CHECK_SEMCTL.
10576 (__new_semctl): Likewise.
10577 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
10578 and <bp-semctl.h>.
10579 (__old_semctl): Don't use CHECK_SEMCTL.
10580 (__new_semctl): Likewise.
10581 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
10582 <bp-checks.h> and <bp-semctl.h>.
10583 (__old_semctl): Don't use CHECK_SEMCTL.
10584 (__new_semctl): Likewise.
10585 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
10586 <bp-checks.h> and <bp-semctl.h>.
10587 (semctl): Don't use CHECK_SEMCTL.
10588
c2d54929
JM
10589 [BZ #13550]
10590 * Makerules (elide-bp-thunks): Remove variable.
10591 (elide-routines.oS): Don't use $(elide-bp-thunks).
10592 (elide-routines.os): Likewise.
10593 (elide-routines.o): Likewise.
10594 (elide-routines.op): Likewise.
10595 (elide-routines.og): Likewise.
10596 (objects): Don't use $(bp-thunks).
10597 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
10598 include.
10599 (common-generated): Do not add s-proto-bp.d.
10600 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
10601 (int): Likewise.
10602 (typ): Likewise.
10603 Do not generate makefile rules for bounded-pointer thunks.
10604 * sysdeps/generic/bp-thunks.h: Remove file.
10605 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
10606 * sysdeps/unix/s-proto-bp.S: Likewise.
10607
8cf28c5e
JM
10608 [BZ #15062]
10609 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
10610 parts of result separately when argument is not close to line from
10611 -i to i and one part of argument is small.
10612 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10613 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10614 * math/libm-test.inc (cacos_test): Add more tests.
10615 (casin_test): Likewise.
10616 (casinh_test): Likewise.
10617 * sysdeps/i386/fpu/libm-test-ulps: Update.
10618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10619
c4e33b8d
DM
106202013-01-31 David S. Miller <davem@davemloft.net>
10621
10622 * po/de.po: Update from translation team.
10623
3b60b421
MK
106242013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
10625
10626 * time/tzfile.c: Include stdint.h for SIZE_MAX.
10627
bb931195
TS
106282013-01-25 Thomas Schwinge <thomas@codesourcery.com>
10629
b5a5da23
TS
10630 * configure.in (_AC_PROG_CC_C89): New definition.
10631 * configure: Regenerate.
10632
bb931195
TS
10633 * configure.in (AC_PROG_CPP): New definition.
10634 * configure: Regenerate.
10635
8c53a12c
JM
106362013-01-23 Joseph Myers <joseph@codesourcery.com>
10637
10638 * debug/tst-backtrace.h: New file.
10639 * debug/tst-backtrace2.c: Include tst-backtrace.h.
10640 (ret): Remove variable.
10641 (x): Likewise.
10642 (FAIL): Remove macro.
10643 (NO_INLINE): Likewise.
10644 (fn1): Use match function instead of strstr.
10645 * debug/tst-backtrace3.c: Include tst-backtrace.h.
10646 (ret): Remove variable.
10647 (x): Likewise.
10648 (FAIL): Remove macro.
10649 (NO_INLINE): Likewise.
10650 (fn): Use match function instead of strstr.
10651 * debug/tst-backtrace4.c: Include tst-backtrace.h.
10652 (ret): Remove variable.
10653 (x): Likewise.
10654 (FAIL): Remove macro.
10655 (NO_INLINE): Likewise.
10656 (handle_signal): Use match function instead of strstr.
10657 * debug/tst-backtrace5.c: Include tst-backtrace.h.
10658 (ret): Remove variable.
10659 (x): Likewise.
10660 (FAIL): Remove macro.
10661 (NO_INLINE): Likewise.
10662 (handle_signal): Use match function instead of strstr.
10663
4858fa2a
RM
106642013-01-23 Roland McGrath <roland@hack.frob.com>
10665
10666 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
10667
bae8e7f5
DM
106682013-01-23 David S. Miller <davem@davemloft.net>
10669
10670 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
10671 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
10672 argument of CAS if possible.
10673 * sysdeps/sparc/sparc64/bits/atomic.h
10674 (__arch_compare_and_exchange_val_32_acq): Likewise.
10675 (__arch_compare_and_exchange_val_64_acq): Likewise.
10676
9cbbc4ae
PT
106772013-01-23 Pino Toscano <toscano.pino@tiscali.it>
10678
10679 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
10680 * sysdeps/posix/ulimit.c: ... this.
92a601b8 10681 Include <limits.h>.
67b3f58c 10682 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 10683
5655a0b5
AC
106842013-01-23 Adam Conrad <adconrad@0c3.net>
10685
10686 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
10687 (LDFLAGS-tst-array5): Likewise.
10688
052aff95
JM
106892013-01-23 Joseph Myers <joseph@codesourcery.com>
10690
10691 [BZ #15036]
10692 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
10693 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
10694 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
10695 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
10696
7c1e01aa
DM
106972013-01-21 David S. Miller <davem@davemloft.net>
10698
10699 * sysdeps/sparc/backtrace.c: New file.
10700 * sysdeps/sparc/sparc32/backtrace.h: New file.
10701 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
10702 * sysdeps/sparc/sparc64/backtrace.h: New file.
10703 * sysdeps/sparc/sparc64/backtrace.c: Delete.
10704 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
10705 -funwind-tables.
10706
ab087e0a
AS
107072013-01-21 Andreas Schwab <schwab@suse.de>
10708
10709 [BZ #15020]
10710 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
10711 closed its stdout.
10712
ed689c2f
AS
107132013-01-20 Andreas Schwab <schwab@linux-m68k.org>
10714
10715 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
10716 "mpa2.h".
10717 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10718
31d470ac
JM
107192013-01-18 Joseph Myers <joseph@codesourcery.com>
10720 Mark Mitchell <mark@codesourcery.com>
10721 Tom de Vries <tom@codesourcery.com>
10722 Paul Pluzhnikov <ppluzhnikov@google.com>
10723
10724 * debug/tst-backtrace2.c: New file.
10725 * debug/tst-backtrace3.c: Likewise.
10726 * debug/tst-backtrace4.c: Likewise.
10727 * debug/tst-backtrace5.c: Likewise.
10728 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
10729 (CFLAGS-tst-backtrace3.c): Likewise.
10730 (CFLAGS-tst-backtrace4.c): Likewise.
10731 (CFLAGS-tst-backtrace5.c): Likewise.
10732 (LDFLAGS-tst-backtrace2): Likewise.
10733 (LDFLAGS-tst-backtrace3): Likewise.
10734 (LDFLAGS-tst-backtrace4): Likewise.
10735 (LDFLAGS-tst-backtrace5): Likewise.
10736 (tests): Add new tests tst-backtrace2, tst-backtrace3,
10737 tst-backtrace4 and tst-backtrace5.
10738
90567f30 107392013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
10740 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10741
10742 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
10743 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
10744 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
10745 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
10746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10747 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
10748 "+r" and remove output regs list as redundant. Add explicit inline
10749 asm to specify register of return val to work around compiler codegen
10750 bug. Remove (int) cast on return value. Add return type parameter to
10751 use in macro so that this macro does not truncate return value for
10752 64-bit values.
10753 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
10754 pass to INTERNAL_VSYSCALL_NCS.
10755 (INLINE_VSYSCALL): Add 'long int' as return type to
10756 INTERNAL_VSYSCALL_NCS macro invocation.
10757 (INTERNAL_VSYSCALL): Add 'long int' as return type to
10758 INTERNAL_VSYSCALL_NCS macro invocation.
10759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10760
d3b9ea61
SP
107612013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10762
0b57daeb
SP
10763 [BZ #14496]
10764 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
10765 Fix application of SIMD FP exception mask.
10766
caa99d06
SP
10767 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
10768 mp_no from a power of two.
10769 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
10770 __mpexp_twomm1. Use __pow_mp.
10771
d3b9ea61
SP
10772 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
10773 multiplication.
10774
1dbaee3c
DM
107752013-01-17 David S. Miller <davem@davemloft.net>
10776
10777 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10778
728d7b43
JM
107792013-01-17 Joseph Myers <joseph@codesourcery.com>
10780
10781 [BZ #15023]
10782 * include/complex.h: Condition contents on [!_COMPLEX_H].
10783 (__kernel_casinhf): New prototype.
10784 (__kernel_casinh): Likewise.
10785 (__kernel_casinhl): Likewise.
10786 * math/Makefile (libm_calls): Add k_casinh.
10787 * math/k_casinh.c: New file.
10788 * math/k_casinhf.c: Likewise.
10789 * math/k_casinhl.c: Likewise.
10790 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
10791 finite nonzero arguments.
10792 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
10793 finite nonzero arguments.
10794 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
10795 finite nonzero arguments.
10796 * math/s_casinh.c: Do not include <float.h>.
10797 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
10798 * math/s_casinhf.c: Do not include <float.h>.
10799 (__casinhf): Move code for finite nonzero arguments to
10800 k_casinhf.c.
10801 * math/s_casinhl.c: Do not include <float.h>.
10802 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
10803 redefine.
10804 (__casinhl): Move code for finite nonzero arguments to
10805 k_casinhl.c.
10806 * math/libm-test.inc (cacos_test): Add more tests.
10807 * sysdeps/i386/fpu/libm-test-ulps: Update.
10808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10809
2a26ef3a
PT
108102013-01-17 Pino Toscano <toscano.pino@tiscali.it>
10811
10812 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
10813 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
10814 [!HAVE_MREMAP]: Remove [defined linux] case.
10815 * malloc/arena.c: Do not include <malloc-sysdep.h>.
10816
a897655d
SP
108172013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10818
10819 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
10820
881ebe89 108212013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
10822
10823 * elf/elf.h (R_386_SIZE32): New relocation.
10824 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
10825 R_386_SIZE32.
10826 (elf_machine_rela): Likewise.
10827 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10828 R_X86_64_SIZE64 and R_X86_64_SIZE32.
10829
59981e9b
JM
108302013-01-17 Joseph Myers <joseph@codesourcery.com>
10831
10832 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
10833 (FP_FAST_FMA): Do not define.
10834 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
10835 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
10836 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
10837 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
10838 !_SOFT_FLOAT]: Likewise.
10839 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
10840 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
10841 value.
10842 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
10843 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
10844 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
10845 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
10846 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
10847 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
10848 file.
10849
cfa8054f
AS
108502013-01-16 Andreas Schwab <schwab@suse.de>
10851
10852 [BZ #14327]
10853 * include/stdlib.h (__mktemp): Add declaration.
10854 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
10855 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
10856
dd930cc5
SP
108572013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10858
881ebe89
SP
10859 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
10860 definitions.
10861 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10862 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
10863 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
10864 definitions here.
10865 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
10866 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
10867 definitions.
10868 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
10869 and ONE.
10870 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
10871 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
10872 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
10873 definitions.
10874 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
10875 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
10876 definitions.
10877 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 10878
dd930cc5
SP
10879 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
10880
c19a9f89
DM
108812013-01-15 David S. Miller <davem@davemloft.net>
10882
1aa61767
DM
10883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10884 trunc{,f} to libm-sysdep_routes.
10885 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
10887 file.
10888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
10889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
10890 file.
10891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
10892 file.
10893 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
10894 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
10895 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
10896 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
10897 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
10898 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
10899 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
10900 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
10901
c42d5e98
DM
10902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10903 nearbyint{,f} to libm-sysdep_routes.
10904 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
10906 New file.
10907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
10908 file.
10909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
10910 New file.
10911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
10912 file.
10913 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
10914 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
10915 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
10916 file.
10917 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
10918 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
10919 file.
10920 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
10921 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
10922 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
10923
c19a9f89
DM
10924 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10925 libc_feholdexcept and libc_fesetenv.
10926
357679d2
MF
109272013-01-15 Mike Frysinger <vapier@gentoo.org>
10928
10929 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
10930
65a82e3d
DM
109312013-01-14 David S. Miller <davem@davemloft.net>
10932
8b954ab9
DM
10933 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
10934 (SPARC_ASM_VIS2_IFUNC): Likewise.
10935 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
10936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
10937 use of 'siam' instruction.
10938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
10939 Likewise.
10940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
10941 Likewise.
10942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
10943 Likewise.
10944 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
10945 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
10946 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
10947 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
10948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
10949 file.
10950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
10951 file.
10952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
10953 file.
10954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
10955 file.
10956 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
10957 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
10958 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
10959 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
10960 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
10961 new VIS2 routines.
10962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10965 Likewise.
10966 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10967 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10968 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10969 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
10971 routines to libm-sysdep_routines.
10972 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10973
65a82e3d
DM
10974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10975 fdim/fdimf to libm-sysdep_routines.
10976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
10977 file.
10978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
10979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
10980 file.
10981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
10982 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
10983 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
10984 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
10985 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
10986 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
10987 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
10988
e34ab705
SP
109892013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10990
2a91b573
SP
10991 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
10992 to optimize copies.
10993
1066a534
SP
10994 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
10995 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10996 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10997
e34ab705
SP
10998 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
10999 local variable MPTWO.
11000 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11001 Likewise.
11002
aba5e596
MF
110032013-01-13 Mike Frysinger <vapier@gentoo.org>
11004
11005 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
11006 GLOB_NOESCAPE.
11007
e557e9e5
MF
110082013-01-13 Mike Frysinger <vapier@gentoo.org>
11009
11010 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
11011
0428cec9
MF
110122013-01-13 Mike Frysinger <vapier@gentoo.org>
11013
11014 * manual/pattern.texi (glob_t): Document gl_flags.
11015 (glob64_t): Likewise.
11016
8794a964
DM
110172013-01-11 David S. Miller <davem@davemloft.net>
11018
66438c3f
RM
11019 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
11020 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
11021 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
11022 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
11023 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
11024 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
11025 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
11026 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
11027 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
11028 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
11029 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
11030 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
11031 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
11032
4ae4244d
DM
11033 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11034 sparc V9 rather than using V8 code.
11035 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11036 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11037
8794a964
DM
11038 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
11039 Move to...
11040 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
11041 Here.
11042
6270516e
RM
110432013-01-11 Roland McGrath <roland@hack.frob.com>
11044
11045 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
11046 not in the main loop.
11047 * configure: Regenerated.
11048
6a57d931
JM
110492013-01-11 Joseph Myers <joseph@codesourcery.com>
11050
11051 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
11052 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
11053 to just #else.
11054 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
11055 [!__GLIBC_HAVE_LONG_LONG] case.
11056 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
11057 condition to just #else.
11058 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
11059 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
11060 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
11061 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
11062 unconditional.
11063 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
11064 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11065 #elif condition to just #else.
11066 * sysdeps/unix/sysv/linux/sys/sysmacros.h
11067 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
11068 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11069 #elif condition to just #else.
11070
0e8529e9
SE
110712013-01-11 Steve Ellcey <sellcey@mips.com>
11072
11073 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
11074 (EF_MIPS_ARCH_64): Fix value.
11075 (EF_MIPS_ARCH_32R2): New.
11076 (EF_MIPS_ARCH_64R2): New.
11077
740b3dbe
L
110782013-01-11 H.J. Lu <hongjiu.lu@intel.com>
11079
11080 * Makeconfig (+link-pie-before-libc): New.
11081 (+link-pie-after-libc): Likewise.
11082 (+link-pie-tests): Likewise.
11083 (+link-pie): Rewritten.
11084 (link-before-libc): Remove $(config-LDFLAGS).
11085 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
11086 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
11087 (config-LDFLAGS): Renamed to ...
11088 (rtld-LDFLAGS): This.
11089 (rtld-tests-LDFLAGS): New macro.
11090 (link-libc-rpath-link): Likewise.
11091 (link-libc-tests-rpath-link): Likewise.
11092 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
11093 (link-libc): Prepand $(link-libc-rpath-link).
11094 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
11095 (test-program-prefix): New macro.
11096 (test-via-rtld-prefix): Likewise.
11097 (test-program-cmd): Likewise.
11098 (host-test-program-cmd): Likewise.
11099 * Makefile ($(common-objpfx)testrun.sh): Replace
11100 $(run-program-prefix) with $(test-program-prefix).
11101 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
11102 $(rtld-LDFLAGS).
11103 ($(common-objpfx)shlib.lds): Likewise.
11104 (build-module-helper): Likewise.
11105 ($(common-objpfx)format.lds): Likewise.
11106 * Rules (binaries-pie-tests): New.
11107 (binaries-pie-notests): Likewise.
11108 (binaries-pie): Rewritten.
11109 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
11110 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
11111 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
11112 (make-test-out): Replace $(host-built-program-cmd) with
11113 $(host-test-program-cmd).
11114 * config.make.in (build-hardcoded-path-in-tests): New variable.
11115 * configure.in (--enable-hardcoded-path-in-tests): New configure
11116 option.
11117 (hardcoded_path_in_tests): New AC_SUBST.
11118 * configure: Regenerated.
11119 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
11120 $(built-program-cmd) with $(test-program-cmd).
11121 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
11122 (test_program_cmd): This.
11123 * elf/Makefile ($(objpfx)order.out): Run test with
11124 $(test-program-prefix).
11125 ($(objpfx)order2.out): Likewise.
11126 ($(objpfx)tst-initorder.out): Likewise.
11127 ($(objpfx)tst-initorder2.out): Likewise.
11128 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
11129 $(test-program-cmd).
11130 ($(objpfx)tst-array1-static.out): Likewise.
11131 ($(objpfx)tst-array2.out): Likewise.
11132 ($(objpfx)tst-array3.out): Likewise.
11133 ($(objpfx)tst-array4.out): Likewise.
11134 ($(objpfx)tst-array5.out): Likewise.
11135 ($(objpfx)tst-array5-static.out): Likewise.
11136 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
11137 $(test-program-cmd).
11138 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
11139 $(run-program-prefix) with $(test-program-prefix).
11140 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
11141 (test_program_prefix): This.
11142 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
11143 $(run-program-prefix) with $(test-program-prefix).
11144 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
11145 (test_program_prefix): This.
11146 * iconvdata/tst-tables.sh: Likewise.
11147 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
11148 $(run-program-prefix) with $(test-program-prefix).
11149 ($(objpfx)tst-translit.out): Likewise.
11150 ($(objpfx)tst-gettext2.out): Likewise.
11151 ($(objpfx)tst-gettext4.out): Likewise.
11152 ($(objpfx)tst-gettext6.out): Likewise.
11153 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
11154 (test_program_prefix): This.
11155 * intl/tst-gettext2.sh: Likewise.
11156 * intl/tst-gettext4.sh Likewise.
11157 * intl/tst-gettext6.sh: Likewise.
11158 * intl/tst-translit.sh: Likewise.
11159 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
11160 with $(test-program-cmd).
11161 * libio/Makefile ($(objpfx)test-freopen.out): Replace
11162 $(run-program-prefix) with $(test-program-prefix).
11163 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
11164 (test_program_prefix): This.
11165 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
11166 $(run-program-prefix) with $(test-program-prefix).
11167 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
11168 (test_program_prefix): This.
11169 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
11170 * posix/Makefile ($(objpfx)globtest.out): Replace
11171 $(run-via-rtld-prefix) and $(test-wrapper) with
11172 $(test-program-prefix) and $(test-via-rtld-prefix).
11173 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
11174 $(test-program-prefix).
11175 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
11176 $(host-test-program-cmd).
11177 (tst-spawn-ARGS): Likewise.
11178 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
11179 $(test-program-prefix).
11180 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
11181 (test_via_rtld_prefix): This.
11182 (test_wrapper): Renamed to ...
11183 (test_program_prefix): This.
11184 (run_program_prefix): Replaced by test_program_prefix.
11185 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
11186 (test_program_prefix): This.
11187 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
11188 with $(host-test-program-cmd).
11189 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
11190 $(run-program-prefix) with $(test-program-prefix).
11191 ($(objpfx)tst-printf.out): Likewise.
11192 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
11193 $(test-program-cmd).
11194 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
11195 (test_program_prefix): This.
11196 * stdio-common/tst-unbputc.sh: Likewise.
11197 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
11198 $(run-program-prefix) with $(test-program-prefix).
11199 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
11200 (test_program_prefix): This.
11201 * string/Makefile ($(objpfx)tst-svc.out): Replace
11202 $(built-program-cmd) with $(test-program-cmd).
11203
c6fe55cf
AJ
112042013-01-11 Andreas Jaeger <aj@suse.de>
11205
11206 [BZ #15003]
11207 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
11208 value. Sync with Linux 3.7.
11209
9e6919c8
DM
112102013-01-10 David S. Miller <davem@davemloft.net>
11211
11212 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
11213 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11214 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11215
1c9f1a02
RM
112162013-01-10 Roland McGrath <roland@hack.frob.com>
11217
11218 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
11219 never set.
11220 * configure: Regenerated.
11221
b9de2dde
DM
112222013-01-10 David S. Miller <davem@davemloft.net>
11223
11224 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11225 sparc V9 rather than using V8 code.
11226 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11227 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11228
e7f68ef4
RM
112292013-01-10 Roland McGrath <roland@hack.frob.com>
11230
11231 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
11232 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
11233 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
11234 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
11235 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
11236 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
11237 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
11238 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
11239 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
11240 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
11241 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
11242 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
11243 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
11244 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
11245 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
11246 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
11247 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
11248 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
11249 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
11250 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
11251 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
11252 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
11253 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
11254 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
11255 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
11256 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
11257 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
11258
5a47cc9c
DM
112592013-01-10 David S. Miller <davem@davemloft.net>
11260
11261 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11262
4cf8f209
L
112632013-01-10 H.J. Lu <hongjiu.lu@intel.com>
11264
11265 * posix/Makefile (tests-static): New variable.
11266 (tests): Add $(tests-static).
11267 (tst-exec-static-ARGS): New variable.
11268 (tst-spawn-static-ARGS): Likewise.
11269 * posix/tst-exec-static.c: New file.
11270 * posix/tst-spawn-static.c: Likewise.
11271 * posix/tst-exec.c: Support run directly.
11272 * posix/tst-spawn.c: Likewise.
11273
fed0faa1
JM
112742013-01-10 Joseph Myers <joseph@codesourcery.com>
11275
828beb13
JM
11276 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
11277 long.
11278 * math/bits/mathcalls.h (llrint): Likewise.
11279 (llround): Likewise.
11280 * stdlib/stdlib.h (struct drand48_data): Likewise.
11281 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
11282 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
11283 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
11284 Likewise.
11285 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
11286 Likewise.
11287 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
11288 (elf_greg_t): Likewise.
11289 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
11290 (__jmp_buf): Likewise.
11291 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
11292 definitions.
11293 (llrint): Likewise, for all definitions.
11294 (llrintl): Likewise.
11295
fed0faa1
JM
11296 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
11297 Remove [__GNUC__] condition.
11298 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
11299 condition to just [__USE_ISOC99].
11300 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
11301
1a20cb20
L
113022013-01-10 H.J. Lu <hongjiu.lu@intel.com>
11303
11304 [BZ #14200]
11305 * sysdeps/unix/sysv/linux/x86/bits/environments.h
11306 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
11307 defined.
11308 (_POSIX_V6_ILP32_OFF32): Likewise.
11309 (_XBS5_ILP32_OFF32): Likewise.
11310 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
11311 (__ILP32_OFFBIG_LDFLAGS): Likewise.
11312
751b85f7
SP
113132013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11314
7490eb81
SP
11315 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
11316
751b85f7
SP
11317 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
11318 doubles __mpexp_twomm1. Adjust usage.
11319 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
11320 Remove.
11321
988197f0
AS
113222013-01-10 Andreas Schwab <schwab@suse.de>
11323
11324 [BZ #14964]
11325 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
11326 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
11327
e83d7298
DM
113282013-01-09 David S. Miller <davem@davemloft.net>
11329
034ed64b 11330 [BZ #15003]
e83d7298
DM
11331 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
11332 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
11333 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
11334 TCP_FASTOPEN): Define.
11335 (tcp_repair_opt): New structure.
11336 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
11337 enum values.
11338 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
11339 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
11340 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
11341 (tcp_cookie_transactions): New structure.
11342
d5e0b9bd
AB
113432013-01-09 Anton Blanchard <anton@samba.org>
11344
11345 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
11346 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
11347 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
11348 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
11349
0c07e3ea
JM
113502013-01-09 Joseph Myers <joseph@codesourcery.com>
11351
11352 * include/features.h (__USE_ANSI): Remove.
11353
232f7002
RM
113542013-01-09 Roland McGrath <roland@hack.frob.com>
11355
ad98e30c
RM
11356 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
11357
232f7002
RM
11358 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
11359
950c99ca
SP
113602013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
11361
b5792741
SP
11362 * sysdeps/s390/fpu/libm-test-ulps: Update.
11363
47cf2278
SP
11364 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11365
950c99ca
SP
11366 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
11367 (__acr): Likewise.
11368 (__cpy): Likewise.
11369 (norm): Likewise.
11370 (denorm): Likewise.
11371 (__mp_dbl): Likewise.
11372 (__dbl_mp): Likewise.
11373 (add_magnitudes): Likewise.
11374 (sub_magnitudes): Likewise.
11375 (__add): Likewise.
11376 (__sub): Likewise.
11377 (__mul): Likewise.
11378 (__inv): Likewise.
11379 (__dvd): Likewise.
11380 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
11381 (__acr): Likewise.
11382 (__cpy): Likewise.
11383 (norm): Likewise.
11384 (denorm): Likewise.
11385 (__mp_dbl): Likewise.
11386 (__dbl_mp): Likewise.
11387 (add_magnitudes): Likewise.
11388 (sub_magnitudes): Likewise.
11389 (__add): Likewise.
11390 (__sub): Likewise.
11391 (__mul): Likewise.
11392 (__inv): Likewise.
11393 (__dvd): Likewise.
11394 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
11395 (__acr): Likewise.
11396 (__cpy): Likewise.
11397 (norm): Likewise.
11398 (denorm): Likewise.
11399 (__mp_dbl): Likewise.
11400 (__dbl_mp): Likewise.
11401 (add_magnitudes): Likewise.
11402 (sub_magnitudes): Likewise.
11403 (__add): Likewise.
11404 (__sub): Likewise.
11405 (__mul): Likewise.
11406 (__inv): Likewise.
11407 (__dvd): Likewise.
11408
eede9df9
JM
114092013-01-08 Joseph Myers <joseph@codesourcery.com>
11410
11411 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
11412 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
11413 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
11414 2 && __USE_EXTERN_INLINES]: Likewise.
11415
c40ea3d9
AJ
114162013-01-08 Andreas Jaeger <aj@suse.de>
11417
11418 [BZ# 14985]
11419 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
11420 Remove.
11421 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11422 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11423
2ccdea26
AB
114242013-01-07 Anton Blanchard <anton@samba.org>
11425
11426 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
11427 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11428 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
11429 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11430 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11431 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11432 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
11433 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11434 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11435 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11436 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11437 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11438 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11439 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11440 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11441 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11442 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11443 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11444 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11445 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11446 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11447 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
11448 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11449 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11450 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
11451 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11452 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11453 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11454 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
11455 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11456 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11457 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11458 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11459 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11460 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11461 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11462 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11463 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
11464 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
11465 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11466 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
11467 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11468 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11469
a9708fed
JM
114702013-01-07 Joseph Myers <joseph@codesourcery.com>
11471
375607b9
JM
11472 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
11473 (__MALLOC_PMT): Likewise.
11474 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
11475 [__GNUC__], only on [_LIBC].
11476 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11477 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
11478 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11479 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
11480 forward declaration.
11481 (realloc_hook_ini): Likewise.
11482 (memalign_hook_ini): Likewise.
11483 (__libc_memalign): Do not use __MALLOC_PMT in variable
11484 declaration.
11485 (__libc_valloc): Likewise.
11486 (__libc_pvalloc): Likewise.
11487 (__libc_calloc): Likewise.
11488 (__posix_memalign): Likewise.
11489
a9708fed
JM
11490 [BZ #14996]
11491 * math/s_casinh.c: Include <float.h>.
11492 (__casinh): Do not do computation with squaring and square root
11493 for large arguments.
11494 * math/s_casinhf.c: Include <float.h>.
11495 (__casinhf): Do not do computation with squaring and square root
11496 for large arguments.
11497 * math/s_casinhl.c: Include <float.h>.
11498 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
11499 (__casinhl): Do not do computation with squaring and square root
11500 for large arguments.
11501 * math/libm-test.inc (casin_test): Add more tests.
11502 (casinh_test): Likewise.
11503 * sysdeps/i386/fpu/libm-test-ulps: Update.
11504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11505
afec409a
L
115062013-01-04 H.J. Lu <hongjiu.lu@intel.com>
11507
11508 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
11509 (__x86_64_raw_data_cache_size): Likewise.
11510 (__x86_64_data_cache_size_half): Likewise.
11511 (__x86_64_raw_data_cache_size_half): Likewise.
11512 (__x86_64_shared_cache_size): Likewise.
11513 (__x86_64_raw_shared_cache_size): Likewise.
11514 (__x86_64_shared_cache_size_half): Likewise.
11515 (__x86_64_raw_shared_cache_size_half): Likewise.
11516 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
11517 to ...
11518 (__x86_data_cache_size): This.
11519 (__x86_64_raw_data_cache_size): Renamed to ...
11520 (__x86_raw_data_cache_size): This.
11521 (__x86_64_data_cache_size_half): Renamed to ...
11522 (__x86_data_cache_size_half): This.
11523 (__x86_64_raw_data_cache_size_half): Renamed to ...
11524 (__x86_raw_data_cache_size_half): This.
11525 (__x86_64_shared_cache_size): Renamed to ...
11526 (__x86_shared_cache_size): This.
11527 (__x86_64_raw_shared_cache_size): Renamed to ...
11528 (__x86_raw_shared_cache_size): This.
11529 (__x86_64_shared_cache_size_half): Renamed to ...
11530 (__x86_shared_cache_size_half): This.
11531 (__x86_64_raw_shared_cache_size_half): Renamed to ...
11532 (__x86_raw_shared_cache_size_half): This.
11533 * sysdeps/x86_64/memcpy.S: Updated.
11534 * sysdeps/x86_64/memset.S: Likewise.
11535 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11536 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11537 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11538
0b3986d0
DM
115392013-01-04 David S. Miller <davem@davemloft.net>
11540
11541 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11542
e47686e9
AS
115432013-01-04 Andreas Schwab <schwab@linux-m68k.org>
11544
d643bac1
AS
11545 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
11546 1 to avoid redefinition warning.
11547 (__USE_GNU): Don't define.
11548 (init_signaling_nan): Protoize.
11549
e47686e9
AS
11550 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11551
b18decba
SP
115522013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11553
fffb407f
SP
11554 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
11555 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
11556 (__cpymn): Likewise.
11557 (norm): Remove commented code.
11558 (denorm): Likewise.
11559 (__mp_dbl): Likewise.
11560 (__inv): Likewise.
11561 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
11562 (__cpymn): Likewise.
11563 (norm): Remove commented code.
11564 (denorm): Likewise.
11565 (__mp_dbl): Likewise.
11566 (__inv): Likewise.
11567
b18decba
SP
11568 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
11569 mp_no value for 1.0 and 2.0.
11570 (norm): Use RADIXI instead of radixi.d.
11571 (denorm): Likewise.
11572 (__mul): Use 0.0 instead of zero.d.
11573 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
11574 mp_no value for 1.0 and 2.0.
11575 (norm): Use RADIXI instead of radixi.d.
11576 (denorm): Likewise.
11577 (__mul): Use 0.0 instead of zero.d.
11578
cdc1c96f
JM
115792013-01-04 Joseph Myers <joseph@codesourcery.com>
11580
11581 [BZ #14994]
11582 * math/s_casinh.c (__casinh): Reduce finite argument to first
11583 quadrant then set signs of results at the end.
11584 * math/s_casinhf.c (__casinhf): Likewise.
11585 * math/s_casinhl.c (__casinhl): Likewise.
11586 * math/libm-test.inc (casin_test): Add more tests.
11587 (casinh_test): Likewise.
11588 * sysdeps/i386/fpu/libm-test-ulps: Update.
11589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11590
302913e1
SP
115912013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11592
6420d207
SP
11593 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
11594
a9e48ab4
SP
11595 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
11596
b7837264
SP
11597 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
11598 declarations.
11599 (denorm): Likewise.
11600 (__mp_dbl): Likewise.
11601 (__inv): Likewise.
11602
f8af25d2
SP
11603 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
11604 and adjust the header comment.
11605
302913e1
SP
11606 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
11607 variable name from declaration.
11608
5d7dd1ca
L
116092013-01-03 H.J. Lu <hongjiu.lu@intel.com>
11610
11611 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11612 Initialize COMMON_CPUID_INDEX_7 element.
11613 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
11614 (CPUID_RTM): Likewise.
11615 (HAS_RTM): Likewise.
11616 (COMMON_CPUID_INDEX_7): New enum.
11617
2f5f40f4
AS
116182013-01-03 Andreas Schwab <schwab@linux-m68k.org>
11619
11620 [BZ #14981]
11621 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
11622 size is zero, record memory as freed.
11623
4056f4a0
AJ
116242013-01-03 Andreas Jaeger <aj@suse.de>
11625
11626 * po/ia.po: Add new Interlingua translation.
11627
ab15736f 116282012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
11629
11630 * locale/programs/localedef.c: Fix description of '--posix' flag.
11631
568035b7
JM
116322013-01-02 Joseph Myers <joseph@codesourcery.com>
11633
e6898b8d
JM
11634 * NEWS: Update dates in second copyright notice.
11635 * README: Update copyright dates in example.
11636 * manual/libc.texinfo: Update copyright dates.
11637 * scripts/test-installation.pl: Update copyright date in --version
11638 output.
11639
0e2f9562
JM
11640 * hurd/ctty-input.c: Fix copyright notice formatting.
11641 * hurd/ctty-output.c: Likewise.
11642 * hurd/dtable.c: Likewise.
11643 * hurd/hurd-raise.c: Likewise.
11644 * hurd/hurdprio.c: Likewise.
11645 * hurd/msgportdemux.c: Likewise.
11646 * misc/sys/file.h: Likewise.
11647 * misc/sys/ioctl.h: Likewise.
11648 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11649 * sysdeps/mach/hurd/chdir.c: Likewise.
11650 * sysdeps/mach/hurd/fchdir.c: Likewise.
11651 * sysdeps/mach/hurd/rename.c: Likewise.
11652 * sysdeps/mach/hurd/rmdir.c: Likewise.
11653 * sysdeps/mach/hurd/seekdir.c: Likewise.
11654 * sysdeps/mach/hurd/setsid.c: Likewise.
11655 * sysdeps/posix/wait3.c: Likewise.
11656
568035b7
JM
11657 * All files with FSF copyright notices: Update copyright dates
11658 using scripts/update-copyrights.
11659 * intl/plural.c: Regenerated.
11660 * locale/programs/charmap-kw.h: Likewise.
11661 * locale/programs/locfile-kw.h: Likewise.
11662
da08f647
SP
116632013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11664
0f5477af
SP
11665 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
11666 four values.
11667
44e0d4c2
SP
11668 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
11669 calculation loop and add branch prediction.
11670
4d55b4e5
SP
11671 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
11672 check access beyond bounds of m1np.
11673
da08f647
SP
11674 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11675 MPTWO.
11676 (__inv): Remove local variable MPTWO to use the global
11677 constant.
11678 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
11679 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11680 variable MPTWO.
11681 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
11682 MP3HALFS static const.
11683
8e051029
DM
116842013-01-01 David S. Miller <davem@davemloft.net>
11685
11686 * po/ca.po: Update from translation team.
11687
f4cf5f2d
JM
116882013-01-01 Joseph Myers <joseph@codesourcery.com>
11689
11690 * scripts/update-copyrights: New file.
11691 * Makeconfig: Reformat copyright notice.
11692 * ctype/ctype.h: Likewise.
11693 * debug/swprintf_chk.c: Likewise.
11694 * elf/dl-cache.c: Likewise.
11695 * elf/dl-debug.c: Likewise.
11696 * elf/dl-object.c: Likewise.
11697 * grp/initgroups.c: Likewise.
11698 * hurd/Makefile: Likewise.
11699 * hurd/hurd/signal.h: Likewise.
11700 * hurd/hurdfault.c: Likewise.
11701 * hurd/hurdioctl.c: Likewise.
11702 * hurd/hurdlookup.c: Likewise.
11703 * hurd/intr-msg.c: Likewise.
11704 * iconv/gconv_open.c: Likewise.
11705 * libio/swprintf.c: Likewise.
11706 * locale/lc-ctype.c: Likewise.
11707 * locale/nl_langinfo.c: Likewise.
11708 * mach/Machrules: Likewise.
11709 * mach/Makefile: Likewise.
11710 * malloc/obstack.h: Likewise.
11711 * manual/Makefile: Likewise.
11712 * manual/tsort.awk: Likewise.
11713 * misc/bits/stab.def: Likewise.
11714 * nis/nis_print_group_entry.c: Likewise.
11715 * nis/nis_table.c: Likewise.
11716 * nis/nss_compat/compat-pwd.c: Likewise.
11717 * nis/nss_compat/compat-spwd.c: Likewise.
11718 * po/Makefile: Likewise.
11719 * posix/fnmatch.c: Likewise.
11720 * posix/regex.h: Likewise.
11721 * resolv/Makefile: Likewise.
11722 * resolv/nss_dns/dns-network.c: Likewise.
11723 * resolv/res_hconf.c: Likewise.
11724 * scripts/gen-sorted.awk: Likewise.
11725 * soft-fp/soft-fp.h: Likewise.
11726 * stdio-common/printf.h: Likewise.
11727 * stdlib/monetary.h: Likewise.
11728 * stdlib/random.c: Likewise.
11729 * stdlib/random_r.c: Likewise.
11730 * sysdeps/generic/Makefile: Likewise.
11731 * sysdeps/gnu/Makefile: Likewise.
11732 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11733 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11734 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11735 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11736 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11737 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11738 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11739 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11740 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11741 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11742 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11743 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11744 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11745 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11746 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
11747 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11748 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11749 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11750 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11751 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11752 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11753 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11754 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11755 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11756 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
11757 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11758 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11759 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
11760 * sysdeps/mach/hurd/errnos.awk: Likewise.
11761 * sysdeps/mach/hurd/fork.c: Likewise.
11762 * sysdeps/mach/hurd/getcwd.c: Likewise.
11763 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
11764 * sysdeps/mach/hurd/mmap.c: Likewise.
11765 * sysdeps/mach/hurd/utimes.c: Likewise.
11766 * sysdeps/mach/hurd/xmknod.c: Likewise.
11767 * sysdeps/posix/profil.c: Likewise.
11768 * sysdeps/posix/readdir_r.c: Likewise.
11769 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11770 * sysdeps/powerpc/bits/setjmp.h: Likewise.
11771 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
11772 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11773 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11774 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11775 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11776 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11777 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11778 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11779 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11780 * sysdeps/pthread/lio_listio.c: Likewise.
11781 * sysdeps/sparc/dl-procinfo.h: Likewise.
11782 * sysdeps/unix/i386/sysdep.S: Likewise.
11783 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
11784 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
11785 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
11786 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
11787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11788 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11789 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11790 * sysdeps/unix/sysv/linux/speed.c: Likewise.
11791 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
11792 * sysdeps/wordsize-32/divdi3.c: Likewise.
11793 * time/sys/time.h: Likewise.
11794 * wcsmbs/Makefile: Likewise.
11795
0549fbba
DM
117962013-01-01 David S. Miller <davem@davemloft.net>
11797
a141f1a7
DM
11798 * po/fr.po: Update from translation team.
11799
0549fbba
DM
11800 * catgets/gencat.c: Update copyright year.
11801 * csu/version.c: Likewise.
11802 * debug/catchsegv.sh: Likewise.
11803 * debug/pcprofiledump.c: Likewise.
11804 * debug/xtrace.sh: Likewise.
11805 * elf/ldconfig.c: Likewise.
11806 * elf/ldd.bash.in: Likewise.
11807 * elf/pldd.c: Likewise.
11808 * elf/sotruss.ksh: Likewise.
11809 * elf/sprof.c: Likewise.
11810 * iconv/iconv_prog.c: Likewise.
11811 * iconv/iconvconfig.c: Likewise.
11812 * locale/programs/locale.c: Likewise.
11813 * locale/programs/localedef.c: Likewise.
11814 * login/programs/pt_chown.c: Likewise.
11815 * malloc/memusage.sh: Likewise.
11816 * malloc/memusagestat.c: Likewise.
11817 * malloc/mtrace.pl: Likewise.
11818 * nscd/nscd.c: Likewise.
11819 * nss/getent.c: Likewise.
11820 * nss/makedb.c: Likewise.
11821 * posix/getconf.c: Likewise.
11822
18ea052c
SP
118232012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11824
11825 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
11826 numbers.
11827
9c89fca6
MF
118282012-12-30 Mike Frysinger <vapier@gentoo.org>
11829
11830 * math/bits/mathcalls.h (modf): Use __nonnull.
11831
085ec079
SP
118322012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11833
11834 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
11835 (split): Use macro CN instead of the bare value.
11836 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
11837 could be used.
11838 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
11839 instead of the bare value.
11840 (power1): Likewise.
11841
6d9f97e1
SP
118422012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11843
d63f73be
SP
11844 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
11845 __ATAN_TWOM.
11846 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11847
6d9f97e1
SP
11848 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
11849 their values.
11850 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11851 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11852 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
11853 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
11854
4c4febf5
AJ
118552012-12-28 Andreas Jaeger <aj@suse.de>
11856
af5843ef
AJ
11857 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
11858 values are from Linux 3.7.
11859
4c4febf5
AJ
11860 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
11861 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
11862
99136f82
SP
118632012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11864
2f216c3c 11865 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
11866 TRUE case.
11867
99136f82
SP
11868 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
11869 (norm): Likewise.
11870 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
11871 variables with preprocessor constants.
11872 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11873 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11874 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11875
7fffbdff
BH
118762012-12-27 Bruno Haible <bruno@clisp.org>
11877
11878 [BZ #14317]
11879 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
11880 only if needed.
11881
b76eb5f0
SP
118822012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11883
31a7fe5c
SP
11884 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
11885 and use variable directly.
11886 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
11887
b76eb5f0
SP
11888 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11889 MPONE.
11890 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
11891 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11892 variable MPONE.
11893 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11894 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11895 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
11896 include directive. Remove local variable MPONE.
11897 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
11898 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
11899 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11900
2c8bfe7d
DM
119012012-12-25 David S. Miller <davem@davemloft.net>
11902
11903 * version.h (RELEASE): Set to "development".
11904 (VERSION): Set to "2.17.90".
11905 * NEWS: Add 2.18 section.
11906
147d03b0
DM
119072012-12-21 David S. Miller <davem@davemloft.net>
11908
11909 * po/hr.po: Update from translation team.
11910
a8ebb2b9
AK
119112012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11912
11913 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
11914
95b4f1b6
SE
119152012-12-19 Steve Ellcey <sellcey@mips.com>
11916
b2d94007 11917 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 11918
cedb2a90
MS
119192012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11920
11921 * manual/contrib.texi (Contributors): Spelling correction.
11922
bbf527d6
DM
119232012-12-15 David S. Miller <davem@davemloft.net>
11924
11925 * po/ru.po: Update from translation team.
11926
bc38c906
DM
119272012-12-13 David S. Miller <davem@davemloft.net>
11928
85429b1a
DM
11929 * NEWS: Mention IFUNC testsuite enhancements.
11930
d283e353
DM
11931 * po/pl.po: Update from translation team.
11932 * po/bg.po: Likewise.
11933
bc38c906
DM
11934 * manual/contrib.texi (Contributors): Update entries for Hongjiu
11935 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
11936
a181b0d7
DM
119372012-12-11 David S. Miller <davem@davemloft.net>
11938
4641d57e
DM
11939 * po/sv.po: Update from translation team.
11940
f7bc6495
DM
11941 * po/vi.po: Update from translation team.
11942
6fc9048f
DM
11943 * po/cs.po: Update from translation team.
11944
a181b0d7
DM
11945 * po/de.po: Update from translation team.
11946 * po/eo.po: Likewise.
11947 * po/nl.po: Likewise.
11948
f70bfe80
SP
119492012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11950
3c8b4190
SP
11951 [BZ #14246]
11952 * manual/argp.texi (Argp Helper Functions): Move node to follow
11953 Argp Parsing State.
11954
f70bfe80
SP
11955 [BZ #14872]
11956 * manual/conf.texi (Limits on File System Capacity): Mention if
11957 terminating null is included in the max size.
11958
188f0adf
AJ
119592012-12-10 Andreas Jaeger <aj@suse.de>
11960
11961 * po/cs.po: Update from translation team.
11962
56e7d3ad
SP
119632012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11964
11965 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
11966 void pointer and cast to uintptr_t.
11967 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
11968 path.
11969 * sysdeps/s390/s390-64/memcpy.S: Likewise.
11970 * sysdeps/s390/s390-64/memset.S: Likewise.
11971
76f2d2ea 119722012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
11973
11974 [BZ #14833]
11975 * menual/message.texi (Message Translation): Fix typos.
11976 (Helper programs for gettext): Likewise.
11977
67cbf9a2
AS
119782012-12-07 Andreas Schwab <schwab@linux-m68k.org>
11979
11980 [BZ #14898]
11981 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
11982 Change to -1.
11983
682d0e9a
DM
119842012-12-07 David S. Miller <davem@davemloft.net>
11985
11986 * po/libc.pot: Update.
11987
573cd484
RH
119882012-12-07 Richard Henderson <rth@redhat.com>
11989
7e9da188 11990 [BZ #10114]
573cd484
RH
11991 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
11992 normal/normal case to before the switch.
11993 (_FP_DIV): Likewise.
11994
e933a943
MF
119952012-12-06 Carlos O'Donell <carlos@systemhalted.org>
11996 Mike Frysinger <vapier@gentoo.org>
11997
11998 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
11999 check for __NR_fadvise64_64.
12000
82123268
CM
120012012-12-06 Chris Metcalf <cmetcalf@tilera.com>
12002
12003 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
12004 0, not just to plain "0" as a statement.
12005 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
12006 with cw.
12007
d9814526
JM
120082012-12-06 Joseph Myers <joseph@codesourcery.com>
12009
12010 * NEWS: Use sourceware.org in Bugzilla URL.
12011
7728c574
SP
120122012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
12013
f16946dd
SP
12014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12015 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12016
5704bbcb
SP
12017 * stdio-common/tst-put-error.c (do_test): Add newline to the
12018 padded test to ensure flush.
12019
17aa0516
JL
120202012-12-05 Jeff Law <law@redhat.com>
12021
12022 * sunrpc/etc.rpc (fedfs_admin): Add entry.
12023
363313b5
JM
120242012-12-05 Joseph Myers <joseph@codesourcery.com>
12025
effbd42a
JM
12026 * README: Don't refer to ports add-on as distributed separately.
12027 Mention AArch64 in list of systems supported in the ports add-on.
12028
87600365
JM
12029 * LICENSES: Add more non-FSF copyright and license notices.
12030
a0d7066a
JM
12031 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
12032 ((unused)).
12033
66ca5a5b
JM
12034 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
12035
363313b5
JM
12036 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
12037 10000 as width of padded output.
12038
b37984ad
JM
120392012-12-04 Joseph Myers <joseph@codesourcery.com>
12040
9003570a
JM
12041 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
12042
b37984ad
JM
12043 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
12044 variable LX with __attribute__ ((unused)).
12045 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12046 Likewise.
12047 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12048 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12049 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
12050 with __attribute__ ((unused)).
12051
c8df52ec
DM
120522012-12-04 David S. Miller <davem@abraco.davemloft.net>
12053
12054 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
12055
b3b099af
JM
120562012-12-04 Joseph Myers <joseph@codesourcery.com>
12057
c33aa6e3
JM
12058 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
12059 (CFLAGS-nldbl-acos.c): New variable.
12060 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
12061 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
12062 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
12063 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
12064 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
12065 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
12066 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
12067 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
12068 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
12069 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
12070 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
12071 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
12072 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
12073 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
12074 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
12075 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
12076 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
12077 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
12078 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
12079 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
12080 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
12081 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
12082 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
12083 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
12084 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
12085 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
12086 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
12087 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
12088 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
12089 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
12090 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
12091 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
12092 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
12093 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
12094 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
12095 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
12096 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
12097 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
12098 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
12099 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
12100 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
12101 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
12102 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
12103 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
12104 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
12105 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
12106 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
12107 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
12108 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
12109 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
12110 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
12111 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
12112 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
12113 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
12114 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
12115 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
12116 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
12117 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
12118 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
12119 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
12120 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
12121 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
12122 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
12123 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
12124 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
12125 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
12126 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
12127 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
12128 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
12129 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
12130 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
12131 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
12132 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
12133 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
12134 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
12135 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
12136 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
12137 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
12138 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
12139 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
12140 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
12141 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
12142 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
12143 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
12144 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
12145 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
12146 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
12147 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
12148 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
12149 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
12150 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
12151 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
12152 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
12153 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
12154 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
12155 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
12156 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
12157
20f0018d
JM
12158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12159 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12160
b3b099af
JM
12161 [BZ #14914]
12162 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
12163 whole low double instead of just low 47 bits when splitting values
12164 into two parts.
12165
029264d1
AM
121662012-12-03 Allan McRae <allan@archlinux.org>
12167
12168 * manual/stdio.texi (Predefined Printf Handlers): Remove
12169 @hsep and @vsep usage.
12170
c9d6789e
MF
121712012-12-03 Mike Frysinger <vapier@gentoo.org>
12172
12173 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
12174 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
12175
4b7634a5
JL
121762012-12-03 Jeff Law <law@redhat.com>
12177
12178 * time/sys/time.h (settimeofday): Do not mark TV argument
12179 as __nonnull.
12180
eb6cbd24
MF
121812012-12-01 Mike Frysinger <vapier@gentoo.org>
12182
12183 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
12184 when currently writing and seek to current position when not.
12185 * libio/Makefile (tests): Remove bug-fclose1.
12186 * libio/bug-fclose1.c: Delete.
12187
f638872a
JM
121882012-12-01 Joseph Myers <joseph@codesourcery.com>
12189
12190 * manual/arith.texi (feenableexcept): Fix typo.
12191 (fedisableexcept): Likewise.
12192
48085d14
RM
121932012-11-30 Roland McGrath <roland@hack.frob.com>
12194
12195 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
12196 second, differently-typed declaration, rather than a cast.
12197
1a538b9f
SP
121982012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12199
12200 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
12201 * include/rpc/svc.h: ... here.
12202
d07f2ff1 122032012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
12204
12205 [BZ #13013]
12206 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
12207 depending n and resplen2 to catch cases where answer
12208 equals answerp2.
12209
c93ec1f0
CD
122102012-11-29 Carlos O'Donell <carlos@systemhalted.org>
12211
12212 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
12213 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
12214
37db69de
MF
122152012-11-29 Mike Frysinger <vapier@gentoo.org>
12216
12217 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
12218
e10c4e4f
RM
122192012-11-29 Roland McGrath <roland@hack.frob.com>
12220
12221 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
12222
2af1b328
JL
122232012-11-28 Jeff Law <law@redhat.com>
12224
12225 [BZ #13761]
12226 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
12227 dataset_temporary. Track alloca usage into alloca_used.
12228 If dataset is large allocate and release it via malloc/free.
12229
111db5b1
FW
122302012-06-04 Florian Weimer <fweimer@redhat.com>
12231
f06cc227 12232 [BZ #14197]
111db5b1
FW
12233 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
12234
dd694abd
DM
122352012-11-28 David S. Miller <davem@davemloft.net>
12236
12237 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12238
9984dd01
JM
122392012-11-28 Joseph Myers <joseph@codesourcery.com>
12240
12241 [BZ #14803]
12242 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
12243 of pi/2 rounded to nearest to 64 bits.
12244 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
12245 nearest to 64 bits.
12246 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
12247 bits.
12248
14bc93a9
JL
122492012-11-28 Jeff Law <law@redhat.com>
12250 Martin Osvald <mosvald@redhat.com>
12251
12252 [BZ #14889]
12253 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
12254 * sunrpc/svc.c: Include time.h.
12255 (__svc_accept_failed): New function.
12256 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
12257 any reason other than EINTR, call __svc_accept_failed.
12258 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
12259 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
12260
e3c6aa3a
AS
122612012-11-28 Andreas Schwab <schwab@suse.de>
12262
12263 * scripts/abilist.awk: Also handle indirect functions in .opd
12264 section.
12265
1bead169
JM
122662012-11-28 Joseph Myers <joseph@codesourcery.com>
12267
12268 [BZ #13881]
12269 * sysdeps/x86/fpu/powl_helper.c: New file.
12270 * sysdeps/x86/fpu/Makefile: Likewise.
12271 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
12272 (p3): New object.
12273 (__ieee754_powl): Use __powl_helper for finite arguments except
12274 integer exponents below 8.
12275 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
12276 (p3): New object.
12277 (__ieee754_powl): Use __powl_helper for finite arguments except
12278 integer exponents below 8.
12279 * math/libm-test.inc (pow_test): Add more tests and enable some
12280 previously disabled tests.
12281 * sysdeps/i386/fpu/libm-test-ulps: Update.
12282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12283
0817d63d
SP
122842012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12285 Carlos O'Donell <carlos_odonell@mentor.com>
12286
12287 * nss/makedb.c (is_prime): Assert that input is odd and greater
12288 than 4. Note that fact in a comment too.
12289 (next_prime): Add 4 to input.
12290
de2fd463
SP
122912012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12292
12293 [BZ #11741]
12294 * libio/Makefile (tests): Add test case tst-fwrite-error.
12295 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
12296 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
12297 * libio/tst-fwrite-error.c: New test case.
12298
c515fb51
L
122992012-11-26 H.J. Lu <hongjiu.lu@intel.com>
12300
12301 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
12302 before casting to void *.
12303 * include/libc-internal.h (__pointer_type): New macro.
12304 (__integer_if_pointer_type_sub): Likewise.
12305 (__integer_if_pointer_type): Likewise.
12306 (cast_to_integer): Likewise.
12307 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
12308 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
12309 before casting to atomic64_t.
12310 (atomic_exchange_acq): Likewise.
12311 (__arch_exchange_and_add_body): Likewise.
12312 (__arch_add_body): Likewise.
12313 (atomic_add_negative): Likewise.
12314 (atomic_add_zero): Likewise.
12315
4cf77aa9
JM
123162012-11-26 Joseph Myers <joseph@codesourcery.com>
12317
12318 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
12319 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
12320 (add_fdes): Likewise.
12321 (linear_search_fdes): Likewise.
12322 (binary_search_unencoded_fdes): Likewise.
12323
d260b3b4
AS
123242012-11-26 Andreas Schwab <schwab@linux-m68k.org>
12325
12326 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
12327
67060746
AC
123282012-11-24 Adam Conrad <adconrad@0c3.net>
12329
12330 * configure.in: Autodetect C++ header directories.
12331 * configure: Regenerated.
12332
800938a1
MF
123332012-11-23 Mike Frysinger <vapier@gentoo.org>
12334
12335 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
12336
4e6e34e6
AS
123372012-11-23 Andreas Schwab <schwab@linux-m68k.org>
12338
12339 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12340
7c7feb47
JM
123412012-11-22 Joseph Myers <joseph@codesourcery.com>
12342
7184dcdf
JM
12343 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
12344 LDBL_MANT_DIG == 106]: Disable some tests.
12345 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12346 Likewise.
12347 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12348 Likewise.
12349
0a42601f
JM
12350 [BZ #14871]
12351 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
12352 input for small inputs. Return +/- pi/2 for large inputs.
12353 * math/libm-test.inc (atan_test): Add more tests.
12354
79c9b9fe
JM
12355 * sysdeps/generic/unwind-dw2-fde-glibc.c
12356 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
12357 __attribute__ ((unused)).
12358
c60d3bf2
JM
12359 [BZ #14645]
12360 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
12361 x * y if x and y are nonzero and z is zero.
12362
ef1e0867
JM
12363 [BZ #14811]
12364 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
12365 nonzero exponents with absolute value below 0x1p-117 to +/-
12366 0x1p-117.
12367
1468ded3
JM
12368 [BZ #14869]
12369 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
12370 up arguments below 2**-450, not just those below 2**-500.
12371 * math/libm-test.inc (hypot_test): Add another test.
12372
8e27e3cc
JM
12373 [BZ #14868]
12374 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12375 Return a+b for ratio over 2**120, not 2**60.
12376 * math/libm-test.inc (hypot_test): Add another test.
12377
c9c0279b
JM
12378 * math/libm-test.inc (clog_test): Use
12379 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
12380 (clog10_test): Likewise.
12381
7c7feb47
JM
12382 [BZ #6778]
12383 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
12384
fff1530e
AS
123852012-11-22 Andreas Schwab <schwab@suse.de>
12386
12387 * sysdeps/i386/fpu/libm-test-ulps: Update.
12388
94558d30
PT
123892012-11-22 Pino Toscano <toscano.pino@tiscali.it>
12390
12391 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
12392 printf output with newline.
12393
7e1be741
L
123942012-11-21 H.J. Lu <hongjiu.lu@intel.com>
12395
6bfea974
L
12396 [BZ #14865]
12397 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
12398 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
12399 -z nodlopen, -z initfirst and -z execstack support.
12400 * configure: Regenerated.
12401
7e1be741
L
12402 * elf/elf.h (DF_1_NODIRECT): New macro.
12403 (DF_1_IGNMULDEF): Likewise.
12404 (DF_1_NOKSYMS): Likewise.
12405 (DF_1_NOHDR): Likewise.
12406 (DF_1_EDITED): Likewise.
12407 (DF_1_NORELOC): Likewise.
12408 (DF_1_SYMINTPOSE): Likewise.
12409 (DF_1_GLOBAUDIT): Likewise.
12410 (DF_1_SINGLETON): Likewise.
12411 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
12412 DT_1_SUPPORTED_MASK bits.
12413 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
12414
105ce2ce
CD
124152012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
12416
12417 * sysdeps/unix/make-syscalls.sh: Document prefixes.
12418
123be9de
TS
124192012-11-20 Thomas Schwinge <thomas@codesourcery.com>
12420
d072f3f7
TS
12421 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
12422 macro.
12423
123be9de
TS
12424 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
12425 (sendmmsg): Move declarations...
12426 * socket/sys/socket.h: ... here.
12427 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
12428 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
12429 include it from...
12430 * socket/recvmmsg.c: ... this new file.
12431 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
12432 (sendmmsg): Rename to __sendmmsg, create weak alias and make
12433 definition of __sendmmsg hidden.
12434 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
12435 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
12436 Move ENOSYS stub into and include it from...
12437 * socket/sendmmsg.c: ... this new file.
12438 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
12439 (sysdep_routines): Move recvmmsg and sendmmsg...
12440 * socket/Makefile (routines): ... here.
12441 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
12442 (GLIBC_PRIVATE): Add __sendmmsg.
12443 * include/sys/socket.h (__sendmmsg): Add declarations.
12444 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
12445 sendmmsg.
12446
cf9a5d18
JM
124472012-11-20 Joseph Myers <joseph@codesourcery.com>
12448
12449 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
12450 variable I1 with __attribute__ ((unused)).
12451 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12452
ecd4caf9
JM
124532012-11-19 Joseph Myers <joseph@codesourcery.com>
12454
be14d48f
JM
12455 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
12456 DUMMY variables with __attribute__ ((unused)).
12457
ecd4caf9
JM
12458 * bits/byteswap.h: Include <bits/types.h>.
12459 (__bswap_64): Use __uint64_t instead of unsigned long long int.
12460
986cab95
PT
124612012-11-19 Pino Toscano <toscano.pino@tiscali.it>
12462
12463 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
12464 string_t. Do not manually set errno.
12465 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
12466 length with __strnlen. Make sure to both set errno and return it on
12467 failure.
12468
6d33cc9d
DM
124692012-11-19 David S. Miller <davem@davemloft.net>
12470
12471 With help from Joseph Myers.
12472 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
12473 very large arguments properly.
12474 * math/libm-test.inc (atan_test): New tests.
12475 (atan2_test): New tests.
12476 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12477 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12478
ee663277
JM
124792012-11-19 Joseph Myers <joseph@codesourcery.com>
12480
877f2d8e
JM
12481 [BZ #14856]
12482 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
12483 Define to 3.
12484
116fc08a
JM
12485 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
12486 [POSIX] (EADDRNOTAVAIL): Likewise.
12487 [POSIX] (EAFNOSUPPORT): Likewise.
12488 [POSIX] (EALREADY): Likewise.
12489 [POSIX] (ECONNABORTED): Likewise.
12490 [POSIX] (ECONNREFUSED): Likewise.
12491 [POSIX] (ECONNRESET): Likewise.
12492 [POSIX] (EDESTADDRREQ): Likewise.
12493 [POSIX] (EDQUOT): Likewise.
12494 [POSIX] (EHOSTUNREACH): Likewise.
12495 [POSIX] (EIDRM): Likewise.
12496 [POSIX] (EISCONN): Likewise.
12497 [POSIX] (ELOOP): Likewise.
12498 [POSIX] (EMULTIHOP): Likewise.
12499 [POSIX] (ENETDOWN): Likewise.
12500 [POSIX] (ENETUNREACH): Likewise.
12501 [POSIX] (ENOBUFS): Likewise.
12502 [POSIX] (ENODATA): Likewise.
12503 [POSIX] (ENOLINK): Likewise.
12504 [POSIX] (ENOMSG): Likewise.
12505 [POSIX] (ENOPROTOOPT): Likewise.
12506 [POSIX] (ENOSR): Likewise.
12507 [POSIX] (ENOSTR): Likewise.
12508 [POSIX] (ENOTCONN): Likewise.
12509 [POSIX] (ENOTSOCK): Likewise.
12510 [POSIX] (EOPNOTSUPP): Likewise.
12511 [POSIX] (EOVERFLOW): Likewise.
12512 [POSIX] (EPROTO): Likewise.
12513 [POSIX] (EPROTONOSUPPORT): Likewise.
12514 [POSIX] (EPROTOTYPE): Likewise.
12515 [POSIX] (ESTALE): Likewise.
12516 [POSIX] (ETIME): Likewise.
12517 [POSIX] (ETXTBSY): Likewise.
12518 [POSIX] (EWOULDBLOCK): Likewise.
12519 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
12520 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
12521 [POSIX] (SEEK_CUR): Likewise.
12522 [POSIX] (SEEK_END): Likewise.
12523 [POSIX || UNIX98] (mode_t): Do not require.
12524 [POSIX] (off_t): Likewise.
12525 [POSIX] (pid_t): Likewise.
12526 [POSIX] (sys/stat.h): Do not allow header.
12527 [POSIX] (unistd.h): Likewise.
12528 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
12529 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
12530 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
12531 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
12532 require.
12533 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
12534 sigevent): Specify elements.
12535 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
12536 entry.
12537 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
12538 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
12539
a483863f
JM
12540 * conform/data/cpio.h-data [POSIX]: Disable whole file.
12541 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
12542 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
12543 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
12544 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
12545 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
12546 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
12547 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
12548 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
12549 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
12550 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
12551 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
12552 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
12553 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
12554 Likewise.
12555 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
12556 Likewise.
12557 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
12558 Likewise.
12559 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
12560 Likewise.
12561 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
12562 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
12563 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
12564 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
12565 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
12566 Specify lower bound on value.
12567 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
12568 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
12569 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
12570 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
12571 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
12572 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
12573 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
12574 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
12575 value.
12576 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
12577 as optional.
12578 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
12579 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
12580 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
12581 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
12582 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
12583 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
12584 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
12585 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
12586 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
12587 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
12588 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
12589 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
12590 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
12591 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
12592 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
12593 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
12594 entry.
12595 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
12596 optional.
12597 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
12598 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
12599 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
12600 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
12601 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
12602 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
12603 Likewise.
12604 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
12605 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
12606 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
12607 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
12608 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
12609 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
12610 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
12611 as optional.
12612 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
12613 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
12614 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
12615 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
12616 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
12617 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
12618 specify as optional.
12619 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
12620 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
12621 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
12622 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
12623 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
12624 [XPG3] (NL_LANGMAX): Likewise.
12625 [POSIX || XPG3] (NL_MSGMAX): Likewise.
12626 [POSIX || XPG3] (NL_NMAX): Likewise.
12627 [POSIX || XPG3] (NL_SETMAX): Likewise.
12628 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
12629 [XPG3] (NZERO): Likewise.
12630 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
12631 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
12632 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
12633 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
12634 (REG_ERANGE): Expect.
12635 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
12636 optional-constant.
12637 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
12638 Use (void) in prototype.
12639 [POSIX] (*_t): Allow.
12640 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
12641 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
12642 (WRDE_BADVAL): Expect.
12643
5ba924e3
JM
12644 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
12645 expect.
12646 [XPG3 || XPG4] (O_RSYNC): Likewise.
12647 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
12648 Likewise.
12649 [XPG3 || XPG4] (pthread_sigmask): Likewise.
12650 [XPG3 || XPG4] (sigqueue): Likewise.
12651 [XPG3 || XPG4] (sigtimedwait): Likewise.
12652 [XPG3 || XPG4] (sigwaitinfo): Likewise.
12653 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
12654 [XPG3 || XPG4] (vsnprintf): Likewise.
12655 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
12656 Likewise.
12657 [XPG3 || XPG4] (blksize_t): Likewise.
12658 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
12659 Likewise.
12660 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
12661 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12662 [XPG3 || XPG4] (struct itimerspec): Likewise.
12663 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
12664 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
12665 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
12666 [XPG3 || XPG4] (clockid_t): Likewise.
12667 [XPG3 || XPG4] (timer_t): Likewise.
12668 [XPG3 || XPG4] (clock_getres): Likewise.
12669 [XPG3 || XPG4] (clock_gettime): Likewise.
12670 [XPG3 || XPG4] (clock_settime): Likewise.
12671 [XPG3 || XPG4] (nanosleep): Likewise.
12672 [XPG3 || XPG4] (timer_create): Likewise.
12673 [XPG3 || XPG4] (timer_delete): Likewise.
12674 [XPG3 || XPG4] (timer_gettime): Likewise.
12675 [XPG3 || XPG4] (timer_getoverrun): Likewise.
12676 [XPG3 || XPG4] (timer_settime): Likewise.
12677 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
12678 [XPG3 || XPG4] (getlogin_r): Likewise.
12679 [XPG3 || XPG4] (pread): Likewise.
12680 [XPG3 || XPG4] (pthread_atfork): Likewise.
12681 [XPG3 || XPG4] (pwrite): Likewise.
12682
ee663277
JM
12683 [BZ #14835]
12684 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
12685 <bits/siginfo.h>.
12686
942caa16
PT
126872012-11-19 Pino Toscano <toscano.pino@tiscali.it>
12688
e19af380
PT
12689 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
12690 finalizing MALLSTREAM.
12691
942caa16
PT
12692 * sysdeps/mach/hurd/syncfs.c: New file.
12693
cfde9b46
SP
126942012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12695
12696 [BZ #14719]
12697 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
12698 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
12699 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
12700 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
12701 (_nss_dns_gethostbyname4_r): Likewise.
12702 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
12703 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
12704
f6da27e5
PH
127052012-11-19 Peng Haitao <penght@cn.fujitsu.com>
12706
12707 [BZ #13763]
12708 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
12709
6665d4a2
SM
127102012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
12711
1f51ee92
SM
12712 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
12713 * elf/cache.c (print_entry): Print ",AArch64" for
12714 FLAG_AARCH64_LIB64
12715
6665d4a2
SM
12716 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
12717 * elf/cache.c (print_entry): Print ",hard-float" for
12718 FLAG_ARM_LIBHF.
12719
05b227bd
DM
127202012-11-18 David S. Miller <davem@davemloft.net>
12721
12722 With help from Joseph Myers.
12723 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
12724 cutoff to 2**-13.
12725 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
12726 cutoff to 2**-25.
12727 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
12728 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
12729 small.
12730 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
12731 * math/libm-test.inc (y0_test): New tests.
12732 (y1_test): New tests.
12733 * sysdeps/i386/fpu/libm-test-ulps: Update.
12734 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12735 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12736
786b0b67
AS
127372012-11-18 Andreas Schwab <schwab@linux-m68k.org>
12738
12739 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
12740 64-bit targets.
12741 * configure: Regenerated.
12742
8e18b86d
DM
127432012-11-17 David S. Miller <davem@davemloft.net>
12744
12745 [BZ #14811]
12746 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
12747 nonzero exponents with absolute value below 0x1p-128 to +/-
12748 0x1p-128.
12749
531f1ae0
JM
127502012-11-17 Joseph Myers <joseph@codesourcery.com>
12751
12df29e2
JM
12752 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
12753
150dc1a0
JM
12754 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
12755
531f1ae0
JM
12756 * posix/getconf-speclist.c: New file.
12757 * posix/posix-envs.def: Likewise.
12758 * posix/confstr.c (START_ENV_GROUP): New macro.
12759 (END_ENV_GROUP): Likewise.
12760 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12761 (KNOWN_PRESENT_ENV_STRING): Likewise.
12762 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12763 (UNKNOWN_ENVIRONMENT): Likewise.
12764 (confstr): Include posix-envs.def instead of handling
12765 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
12766 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
12767 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
12768 (END_ENV_GROUP): Likewise.
12769 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12770 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12771 (UNKNOWN_ENVIRONMENT): Likewise.
12772 (__sysconf): Include posix-envs.def instead of handling associated
12773 cases directly here.
12774 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
12775 preprocessing getconf-speclist.c rather than running getconf or
12776 generating empty file.
12777
a93f9cbc
PT
127782012-11-16 Pino Toscano <toscano.pino@tiscali.it>
12779
12780 * scripts/check-local-headers.sh: Ignore 'mach' headers.
12781
d64d9f87
AL
127822012-11-16 Andrej Lajovic <natrij@gmail.com>
12783
12784 [BZ #14672]
12785 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
12786
447885eb
DM
127872012-11-16 David S. Miller <davem@davemloft.net>
12788
12789 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
12790 smaller than LDBL_EPSILON/2.0L, just return xm1.
12791
bcbf9830
L
127922012-11-16 H.J. Lu <hongjiu.lu@intel.com>
12793
12794 * elf/tst-array1.c (init): Set constructor priority to 1000.
12795 (fini): Set destructor priority to 1000.
12796 * elf/tst-array2dep.c: Likewise.
12797
2b766585
SP
127982012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12799
12800 [BZ #11741]
12801 * libio/fileops.c (_IO_new_file_write): Correctly return error.
12802 (_IO_new_file_xsputn): Also return EOF if none of the input
12803 data was written when overflow failed.
12804 * libio/iopadn.c (_IO_padn): Likewise.
12805 * libio/iowpadn.c (_IO_wpadn): Likewise.
12806 * stdio-common/tst-put-error.c: Add copyright notice.
12807 (do_test): Add case for printing padded string.
12808 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
12809 _IO_padn returned error.
12810 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
12811 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
12812 return EOF.
12813
b1848fde
SP
128142012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12815
12816 * libio/libioP.h: Add comment note that the references to C++
12817 bits are now obsolete.
12818
2fd89785
MS
128192012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12820
12821 * math/libm-test.inc (check_complex): Use asprintf.
12822
e3ea5409
JM
128232012-11-14 Joseph Myers <joseph@codesourcery.com>
12824
12825 * debug/pcprofiledump.c (print_version): Update copyright year.
12826 * malloc/memusagestat.c (print_version): Likewise.
12827
2e64d265
L
128282012-11-14 H.J. Lu <hongjiu.lu@intel.com>
12829
12830 [BZ #14831]
12831 * elf/Makefile (tests): Add tst-audit8.
12832 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
12833 ($(objpfx)tst-audit8.out): New target.
12834 (tst-audit8-ENV): New variable.
12835 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
12836 audit if l_reloc_result is NULL.
12837 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
12838 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
12839 * elf/tst-audit8.c: New file.
12840
c485e4d2
MS
128412012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12842
12843 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
12844 * misc/Makefile (CFLAGS-select.c): Define.
12845 * posix/Makefile (CFLAGS-pause.c): Define.
12846
3a0d900a
DM
128472012-11-13 David S. Miller <davem@davemloft.net>
12848
12849 * crypt/Makefile: Move test targets after toplevel Rules
12850 inclusion. Grab any necessary sysdep routines when linking.
12851 * crypt/md5.c (md5_process_block): Remove define, we will always
12852 name it __md5_process_block.
12853 (md5_finish_ctx): Update md5_process_block call.
12854 (md5_stream): Likewise.
12855 (md5_process_bytes): Likewise.
12856 (md5_process_block): Rename to __md5_process_block and move to ...
12857 * crypt/md5-block.c: ... here.
12858 * crypt/sha256.c (sha256_process_block): Move to ...
12859 * crypt/sha256-block.c: ... here.
12860 * crypt/sha512.c (sha512_process_block): Move to ...
12861 * crypt/sha512-block.c: ... here.
12862 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
12863 path.
12864 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
12865 * sysdeps/sparc/sparc64/multiarch/Makefile
12866 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
12867 crypt subdir.
12868 (localedef-aux): Add md5 crypto assembler when in locale subdir.
12869 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
12870 multiarch changes.
12871 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
12872 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
12873 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
12874 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
12875 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
12876 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
12877 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
12878 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
12879 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
12880 file.
12881 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
12882 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
12883 file.
12884 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
12885
8ca89318
JM
128862012-11-13 Joseph Myers <joseph@codesourcery.com>
12887
e27d476a
JM
12888 * timezone/tzselect.ksh: Update from tzcode git revision
12889 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
12890 * timezone/zdump.c: Likewise.
12891 * timezone/zic.c: Likewise.
12892 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
12893 in TZVERSION setting, not $(PKGVERSION).
12894 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
12895 REPORT_BUGS_TO settings.
12896
8ca89318
JM
12897 [BZ #14838]
12898 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
12899 macro.
12900
47594329
MS
129012012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12902
12903 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
12904 detection to immediately after _FP_ROUND().
12905 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
12906 bits are 0.
12907
640ac3f1
DM
129082012-11-11 David S. Miller <davem@davemloft.net>
12909
12910 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
12911 inttypes.h
12912 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
12913 __close rather than their public counterparts.
12914
3d2577bb
JM
129152012-11-10 Joseph Myers <joseph@codesourcery.com>
12916
12917 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
12918 file.
12919 [UNIX98] (sem_timedwait): Do not expect.
12920 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
12921 [XPG4 || UNIX98] (sockatmark): Do not expect.
12922 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
12923 (clock_getcpuclockid): Do not expect.
12924 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
12925 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
12926 Do not expect.
12927 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
12928 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
12929 [UNIX98] (vwscanf): Likewise.
12930 [UNIX98] (vswscanf): Likewise.
12931
fb1ae1ee
JM
129322012-11-09 Joseph Myers <joseph@codesourcery.com>
12933
9ec6f8bd
JM
12934 * timezone/version.h: Remove file.
12935 * timezone/README: Do not refer to version.h.
12936 * timezone/Makefile ($(objpfx)zic.o): New dependency on
12937 $(objpfx)version.h.
12938 ($(objpfx)zdump.o): Likewise.
c3f81911 12939 ($(objpfx)version.h): New target.
9ec6f8bd 12940
0aa8f8a1
JM
12941 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
12942 2012i.
12943 * timezone/README: Don't mention modification to tzselect.ksh.
12944 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
12945 work on unmodified tzselect.ksh. Substitute version numbers in
12946 tzselect.ksh.
12947
4e87147f
JM
12948 * Makefile (format-me): Remove.
12949 (INSTALL): Adjust indentation. Use commands directly instead of
12950 using $(format-me).
12951
8b748aed
JM
12952 * aclocal.m4 (ACX_PKGVERSION): New macro.
12953 (ACX_BUGURL): Likewise.
12954 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
12955 (PKGVERSION): New AC_DEFINE_UNQUOTED.
12956 (REPORT_BUGS_TO): Likewise.
12957 * configure: Regenerated.
12958 * config.h.in (PKGVERSION): New macro.
12959 (REPORT_BUGS_TO): Likewise.
12960 * config.make.in (PKGVERSION): New variable.
12961 (PKGVERSION_TEXI): Likewise.
12962 (REPORT_BUGS_TO): Likewise.
12963 (REPORT_BUGS_TEXI): Likewise.
12964 * Makefile (format-me): Use -I$(common-objpfx)manual.
12965 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
12966 ($(common-objpfx)manual/%): New target.
12967 (manual/%): Remove target.
12968 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
12969 (print_version): Use PKGVERSION.
12970 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
12971 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
12972 and REPORT_BUGS_TO.
12973 ($(objpfx)xtrace): Likewise.
12974 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
12975 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
12976 (print_version): Use PKGVERSION.
12977 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
12978 (do_version): Use PKGVERSION.
12979 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
12980 REPORT_BUGS_TO.
12981 (common-ldd-rewrite): Likewise.
12982 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
12983 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
12984 (print_version): Use PKGVERSION.
12985 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
12986 * elf/pldd.c (argp_program_bug_address): Remove variable.
12987 (more_help): New function.
12988 (argp): Use more_help.
12989 (print_version): Use PKGVERSION.
12990 * elf/sln.c (main): Use PKGVERSION.
12991 (usage): Use REPORT_BUGS_TO.
12992 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
12993 (top level): Use PKGVERSION.
12994 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
12995 (print_version): Use PKGVERSION.
12996 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
12997 (print_version): Use PKGVERSION.
12998 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
12999 (print_version): Use PKGVERSION.
13000 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
13001 (print_version): Use PKGVERSION.
13002 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
13003 (print_version): Use PKGVERSION.
13004 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
13005 (print_version): Use PKGVERSION.
13006 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
13007 and BUGURL.
13008 ($(objpfx)memusage): Likewise.
13009 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
13010 (do_version): Use PKGVERSION.
13011 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
13012 (print_version): Use PKGVERSION.
13013 * malloc/mtrace.pl ($PACKAGE): Remove variable.
13014 ($PKGVERSION): New variable.
13015 ($REPORT_BUGS_TO): Likewise.
13016 (usage): Use $REPORT_BUGS_TO.
13017 (top level): Use $PKGVERSION.
13018 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
13019 ($(objpfx)pkgvers.texi): New rule.
13020 ($(objpfx)stamp-pkgvers): Likewise.
13021 * manual/install.texi: Include pkgvers.texi.
13022 (--with-pkgversion): Document new configure option.
13023 (--with-bugurl): Likewise.
13024 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
13025 than necessarily for this particular distribution. Use
13026 REPORT_BUGS_TO for where to report bugs.
13027 * INSTALL: Regenerated.
13028 * manual/libc.texinfo: Include pkgvers.texi.
13029 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
13030 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
13031 (print_version): Use PKGVERSION.
13032 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
13033 (print_version): Use PKGVERSION.
13034 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
13035 (print_version): Use PKGVERSION.
13036 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
13037 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
13038 macro.
13039 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
13040 (print_version): Use PKGVERSION.
13041 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
13042 (print_version): Use PKGVERSION.
13043 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
13044 and PKGVERSION.
13045
92e4b6a9
JM
13046 * timezone/checktab.awk: Update from tzcode 2012i.
13047 * timezone/ialloc.c: Likewise.
13048 * timezone/private.h: Likewise.
13049 * timezone/scheck.c: Likewise.
13050 * timezone/tzfile.h: Likewise.
13051 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
13052 (TZVERSION): Hardcode tzcode version number.
13053 * timezone/zdump.c: Update from tzcode 2012i.
13054 * timezone/zic.c: Likewise.
13055 * timezone/version.h: New file.
13056 * timezone/README: Describe version.h. Update upstream location.
13057
9bde902c
JM
13058 [BZ #14824]
13059 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
13060 (mktemp): Enable declaration.
13061 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
13062 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
13063 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
13064 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
13065 Likewise.
13066 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
13067 Likewise.
13068 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
13069 Likewise.
13070 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
13071 Likewise.
13072 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
13073 Likewise.
13074 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
13075 Likewise.
13076
fb1ae1ee
JM
13077 [BZ #14821]
13078 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
13079 offset in buffer as u_int32_t not u_long. Consistently use memcpy
13080 for copies of such integer values.
13081 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13082 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13083
2c1adbcb
AJ
130842012-11-09 Andreas Jaeger <aj@suse.de>
13085
13086 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
13087 definitions and declarations that are provided by
13088 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13089
d0f8457e
AK
130902012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13091
3a235abb 13092 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
13093 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
13094 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
13095 definition.
13096
57241e26
MS
130972012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13098
13099 * elf/elf.h: Update comment before AArch64 relocations.
13100
60e8270d
DM
131012012-11-07 David S. Miller <davem@davemloft.net>
13102
13103 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
13104 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13105 (__start_context): Declare.
13106 (__makecontext_ret): Delete.
13107 (__makecontext): Hook up __start_context instead of
13108 __makecontext_ret.
13109 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
13110 (sysdep_routines): Add __start_context when in stdlib.
13111
0fbb0fbc
JM
131122012-11-07 Joseph Myers <joseph@codesourcery.com>
13113
13114 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
13115 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
13116 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
13117 hardcoded "nm".
13118 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
13119 (READELF): New variable. Use it instead of hardcoded "readelf".
13120
eb48db7e
L
131212012-11-07 H.J. Lu <hongjiu.lu@intel.com>
13122
13123 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
13124 * sysdeps/x86/Makefile: Here.
13125 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
13126 * sysdeps/x86/tst-xmmymm.sh: This.
13127
05bcf62a
JM
131282012-11-07 Joseph Myers <joseph@codesourcery.com>
13129
c4b6cf53
JM
13130 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
13131 expectations.
13132 [UNIX98] (pthread_barrier_t): Do not expect.
13133 [UNIX98] (pthread_barrierattr_t): Likewise.
13134 [UNIX98] (pthread_spinlock_t): Likewise.
13135 [UNIX98] (pthread_barrier_destroy): Likewise.
13136 [UNIX98] (pthread_barrier_init): Likewise.
13137 [UNIX98] (pthread_barrier_wait): Likewise.
13138 [UNIX98] (pthread_barrierattr_destroy): Likewise.
13139 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
13140 [UNIX98] (pthread_barrierattr_init): Likewise.
13141 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
13142 [UNIX98] (pthread_getcpuclockid): Likewise.
13143 [UNIX98] (pthread_mutex_timedlock): Likewise.
13144 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
13145 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
13146 [UNIX98] (pthread_sigmask): Likewise.
13147 [UNIX98] (pthread_spin_destroy): Likewise.
13148 [UNIX98] (pthread_spin_init): Likewise.
13149 [UNIX98] (pthread_spin_lock): Likewise.
13150 [UNIX98] (pthread_spin_trylock): Likewise.
13151 [UNIX98] (pthread_spin_unlock): Likewise.
13152 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
13153 Do not expect.
13154 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
13155 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
13156 [XPG3 || XPG4] (pthread_cond_t): Likewise.
13157 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
13158 [XPG3 || XPG4] (pthread_key_t): Likewise.
13159 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
13160 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
13161 [XPG3 || XPG4] (pthread_once_t): Likewise.
13162 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
13163 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
13164 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
13165 [XPG3 || XPG4] (pthread_t): Likewise.
13166
cbe6e120
JM
13167 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
13168 not expect.
13169 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
13170
1b126443
JM
13171 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
13172 Change function return type to int.
13173
b961a573
JM
13174 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
13175 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
13176 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
13177 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
13178 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
13179 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
13180 [!POSIX] (posix_madvise): Likewise.
13181 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
13182 && !UNIX98].
13183 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
13184 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
13185 (mode_t): Likewise.
13186 (posix_mem_offset): Likewise.
13187 (posix_typed_mem_get_info): Likewise.
13188 (posix_typed_mem_open): Likewise.
13189
9e188909
JM
13190 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
13191 Change condition to [XOPEN2K8].
13192
05bcf62a
JM
13193 * conform/conformtest.pl: Preprocess allow-header data with -x c
13194 instead of from stdin.
13195 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
13196 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
13197 [C99-based standards] (cerfc): Likewise.
13198 [C99-based standards] (cexp2): Likewise.
13199 [C99-based standards] (cexpm1): Likewise.
13200 [C99-based standards] (clog10): Likewise.
13201 [C99-based standards] (clog1p): Likewise.
13202 [C99-based standards] (clog2): Likewise.
13203 [C99-based standards] (clgamma): Likewise.
13204 [C99-based standards] (ctgamma): Likewise.
13205 [C99-based standards] (cerff): Likewise.
13206 [C99-based standards] (cerfcf): Likewise.
13207 [C99-based standards] (cexp2f): Likewise.
13208 [C99-based standards] (cexpm1f): Likewise.
13209 [C99-based standards] (clog10f): Likewise.
13210 [C99-based standards] (clog1pf): Likewise.
13211 [C99-based standards] (clog2f): Likewise.
13212 [C99-based standards] (clgammaf): Likewise.
13213 [C99-based standards] (ctgammaf): Likewise.
13214 [C99-based standards] (cerfl): Likewise.
13215 [C99-based standards] (cerfcl): Likewise.
13216 [C99-based standards] (cexp2l): Likewise.
13217 [C99-based standards] (cexpm1l): Likewise.
13218 [C99-based standards] (clog10l): Likewise.
13219 [C99-based standards] (clog1pl): Likewise.
13220 [C99-based standards] (clog2l): Likewise.
13221 [C99-based standards] (clgammal): Likewise.
13222 [C99-based standards] (ctgammal): Likewise.
13223 * conform/data/inttypes.h-data [C99-based standards]: Include
13224 stdint.h-data. Remove all expectations for stdint.h contents.
13225 [C99-based standards] (PRI*): Do not allow.
13226 [C99-based standards] (SCN*): Likewise.
13227 [C99-based standards] (*_t): Likewise.
13228 [C99-based-standards] (PRId8): Expect macro.
13229 [C99-based-standards] (PRIi8): Likewise.
13230 [C99-based-standards] (PRIo8): Likewise.
13231 [C99-based-standards] (PRIu8): Likewise.
13232 [C99-based-standards] (PRIx8): Likewise.
13233 [C99-based-standards] (PRIX8): Likewise.
13234 [C99-based-standards] (SCNd8): Likewise.
13235 [C99-based-standards] (SCNi8): Likewise.
13236 [C99-based-standards] (SCNo8): Likewise.
13237 [C99-based-standards] (SCNu8): Likewise.
13238 [C99-based-standards] (SCNx8): Likewise.
13239 [C99-based-standards] (PRIdLEAST8): Likewise.
13240 [C99-based-standards] (PRIiLEAST8): Likewise.
13241 [C99-based-standards] (PRIoLEAST8): Likewise.
13242 [C99-based-standards] (PRIuLEAST8): Likewise.
13243 [C99-based-standards] (PRIxLEAST8): Likewise.
13244 [C99-based-standards] (PRIXLEAST8): Likewise.
13245 [C99-based-standards] (SCNdLEAST8): Likewise.
13246 [C99-based-standards] (SCNiLEAST8): Likewise.
13247 [C99-based-standards] (SCNoLEAST8): Likewise.
13248 [C99-based-standards] (SCNuLEAST8): Likewise.
13249 [C99-based-standards] (SCNxLEAST8): Likewise.
13250 [C99-based-standards] (PRIdFAST8): Likewise.
13251 [C99-based-standards] (PRIiFAST8): Likewise.
13252 [C99-based-standards] (PRIoFAST8): Likewise.
13253 [C99-based-standards] (PRIuFAST8): Likewise.
13254 [C99-based-standards] (PRIxFAST8): Likewise.
13255 [C99-based-standards] (PRIXFAST8): Likewise.
13256 [C99-based-standards] (SCNdFAST8): Likewise.
13257 [C99-based-standards] (SCNiFAST8): Likewise.
13258 [C99-based-standards] (SCNoFAST8): Likewise.
13259 [C99-based-standards] (SCNuFAST8): Likewise.
13260 [C99-based-standards] (SCNxFAST8): Likewise.
13261 [C99-based-standards] (PRId16): Likewise.
13262 [C99-based-standards] (PRIi16): Likewise.
13263 [C99-based-standards] (PRIo16): Likewise.
13264 [C99-based-standards] (PRIu16): Likewise.
13265 [C99-based-standards] (PRIx16): Likewise.
13266 [C99-based-standards] (PRIX16): Likewise.
13267 [C99-based-standards] (SCNd16): Likewise.
13268 [C99-based-standards] (SCNi16): Likewise.
13269 [C99-based-standards] (SCNo16): Likewise.
13270 [C99-based-standards] (SCNu16): Likewise.
13271 [C99-based-standards] (SCNx16): Likewise.
13272 [C99-based-standards] (PRIdLEAST16): Likewise.
13273 [C99-based-standards] (PRIiLEAST16): Likewise.
13274 [C99-based-standards] (PRIoLEAST16): Likewise.
13275 [C99-based-standards] (PRIuLEAST16): Likewise.
13276 [C99-based-standards] (PRIxLEAST16): Likewise.
13277 [C99-based-standards] (PRIXLEAST16): Likewise.
13278 [C99-based-standards] (SCNdLEAST16): Likewise.
13279 [C99-based-standards] (SCNiLEAST16): Likewise.
13280 [C99-based-standards] (SCNoLEAST16): Likewise.
13281 [C99-based-standards] (SCNuLEAST16): Likewise.
13282 [C99-based-standards] (SCNxLEAST16): Likewise.
13283 [C99-based-standards] (PRIdFAST16): Likewise.
13284 [C99-based-standards] (PRIiFAST16): Likewise.
13285 [C99-based-standards] (PRIoFAST16): Likewise.
13286 [C99-based-standards] (PRIuFAST16): Likewise.
13287 [C99-based-standards] (PRIxFAST16): Likewise.
13288 [C99-based-standards] (PRIXFAST16): Likewise.
13289 [C99-based-standards] (SCNdFAST16): Likewise.
13290 [C99-based-standards] (SCNiFAST16): Likewise.
13291 [C99-based-standards] (SCNoFAST16): Likewise.
13292 [C99-based-standards] (SCNuFAST16): Likewise.
13293 [C99-based-standards] (SCNxFAST16): Likewise.
13294 [C99-based-standards] (PRId32): Likewise.
13295 [C99-based-standards] (PRIi32): Likewise.
13296 [C99-based-standards] (PRIo32): Likewise.
13297 [C99-based-standards] (PRIu32): Likewise.
13298 [C99-based-standards] (PRIx32): Likewise.
13299 [C99-based-standards] (PRIX32): Likewise.
13300 [C99-based-standards] (SCNd32): Likewise.
13301 [C99-based-standards] (SCNi32): Likewise.
13302 [C99-based-standards] (SCNo32): Likewise.
13303 [C99-based-standards] (SCNu32): Likewise.
13304 [C99-based-standards] (SCNx32): Likewise.
13305 [C99-based-standards] (PRIdLEAST32): Likewise.
13306 [C99-based-standards] (PRIiLEAST32): Likewise.
13307 [C99-based-standards] (PRIoLEAST32): Likewise.
13308 [C99-based-standards] (PRIuLEAST32): Likewise.
13309 [C99-based-standards] (PRIxLEAST32): Likewise.
13310 [C99-based-standards] (PRIXLEAST32): Likewise.
13311 [C99-based-standards] (SCNdLEAST32): Likewise.
13312 [C99-based-standards] (SCNiLEAST32): Likewise.
13313 [C99-based-standards] (SCNoLEAST32): Likewise.
13314 [C99-based-standards] (SCNuLEAST32): Likewise.
13315 [C99-based-standards] (SCNxLEAST32): Likewise.
13316 [C99-based-standards] (PRIdFAST32): Likewise.
13317 [C99-based-standards] (PRIiFAST32): Likewise.
13318 [C99-based-standards] (PRIoFAST32): Likewise.
13319 [C99-based-standards] (PRIuFAST32): Likewise.
13320 [C99-based-standards] (PRIxFAST32): Likewise.
13321 [C99-based-standards] (PRIXFAST32): Likewise.
13322 [C99-based-standards] (SCNdFAST32): Likewise.
13323 [C99-based-standards] (SCNiFAST32): Likewise.
13324 [C99-based-standards] (SCNoFAST32): Likewise.
13325 [C99-based-standards] (SCNuFAST32): Likewise.
13326 [C99-based-standards] (SCNxFAST32): Likewise.
13327 [C99-based-standards] (PRId64): Likewise.
13328 [C99-based-standards] (PRIi64): Likewise.
13329 [C99-based-standards] (PRIo64): Likewise.
13330 [C99-based-standards] (PRIu64): Likewise.
13331 [C99-based-standards] (PRIx64): Likewise.
13332 [C99-based-standards] (PRIX64): Likewise.
13333 [C99-based-standards] (SCNd64): Likewise.
13334 [C99-based-standards] (SCNi64): Likewise.
13335 [C99-based-standards] (SCNo64): Likewise.
13336 [C99-based-standards] (SCNu64): Likewise.
13337 [C99-based-standards] (SCNx64): Likewise.
13338 [C99-based-standards] (PRIdLEAST64): Likewise.
13339 [C99-based-standards] (PRIiLEAST64): Likewise.
13340 [C99-based-standards] (PRIoLEAST64): Likewise.
13341 [C99-based-standards] (PRIuLEAST64): Likewise.
13342 [C99-based-standards] (PRIxLEAST64): Likewise.
13343 [C99-based-standards] (PRIXLEAST64): Likewise.
13344 [C99-based-standards] (SCNdLEAST64): Likewise.
13345 [C99-based-standards] (SCNiLEAST64): Likewise.
13346 [C99-based-standards] (SCNoLEAST64): Likewise.
13347 [C99-based-standards] (SCNuLEAST64): Likewise.
13348 [C99-based-standards] (SCNxLEAST64): Likewise.
13349 [C99-based-standards] (PRIdFAST64): Likewise.
13350 [C99-based-standards] (PRIiFAST64): Likewise.
13351 [C99-based-standards] (PRIoFAST64): Likewise.
13352 [C99-based-standards] (PRIuFAST64): Likewise.
13353 [C99-based-standards] (PRIxFAST64): Likewise.
13354 [C99-based-standards] (PRIXFAST64): Likewise.
13355 [C99-based-standards] (SCNdFAST64): Likewise.
13356 [C99-based-standards] (SCNiFAST64): Likewise.
13357 [C99-based-standards] (SCNoFAST64): Likewise.
13358 [C99-based-standards] (SCNuFAST64): Likewise.
13359 [C99-based-standards] (SCNxFAST64): Likewise.
13360 [C99-based-standards] (PRIdMAX): Likewise.
13361 [C99-based-standards] (PRIiMAX): Likewise.
13362 [C99-based-standards] (PRIoMAX): Likewise.
13363 [C99-based-standards] (PRIuMAX): Likewise.
13364 [C99-based-standards] (PRIxMAX): Likewise.
13365 [C99-based-standards] (PRIXMAX): Likewise.
13366 [C99-based-standards] (SCNdMAX): Likewise.
13367 [C99-based-standards] (SCNiMAX): Likewise.
13368 [C99-based-standards] (SCNoMAX): Likewise.
13369 [C99-based-standards] (SCNuMAX): Likewise.
13370 [C99-based-standards] (SCNxMAX): Likewise.
13371 [C99-based-standards] (PRIdPTR): Likewise.
13372 [C99-based-standards] (PRIiPTR): Likewise.
13373 [C99-based-standards] (PRIoPTR): Likewise.
13374 [C99-based-standards] (PRIuPTR): Likewise.
13375 [C99-based-standards] (PRIxPTR): Likewise.
13376 [C99-based-standards] (PRIXPTR): Likewise.
13377 [C99-based-standards] (SCNdPTR): Likewise.
13378 [C99-based-standards] (SCNiPTR): Likewise.
13379 [C99-based-standards] (SCNoPTR): Likewise.
13380 [C99-based-standards] (SCNuPTR): Likewise.
13381 [C99-based-standards] (SCNxPTR): Likewise.
13382 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
13383 allow.
13384 * conform/data/stdint.h-data: Update comments to clarify
13385 requirements.
13386 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
13387 type.
13388 [C99-based standards] (INT8_MAX): Likewise.
13389 [C99-based standards] (INT16_MIN): Likewise.
13390 [C99-based standards] (INT16_MAX): Likewise.
13391 [C99-based standards] (INT32_MIN): Likewise.
13392 [C99-based standards] (INT32_MAX): Likewise.
13393 [C99-based standards] (INT64_MIN): Likewise.
13394 [C99-based standards] (INT64_MAX): Likewise.
13395 [C99-based standards] (UINT8_MAX): Likewise.
13396 [C99-based standards] (UINT16_MAX): Likewise.
13397 [C99-based standards] (UINT32_MAX): Likewise.
13398 [C99-based standards] (UINT64_MAX): Likewise.
13399 [C99-based standards] (INT_LEAST8_MIN): Likewise.
13400 [C99-based standards] (INT_LEAST8_MAX): Likewise.
13401 [C99-based standards] (INT_LEAST16_MIN): Likewise.
13402 [C99-based standards] (INT_LEAST16_MAX): Likewise.
13403 [C99-based standards] (INT_LEAST32_MIN): Likewise.
13404 [C99-based standards] (INT_LEAST32_MAX): Likewise.
13405 [C99-based standards] (INT_LEAST64_MIN): Likewise.
13406 [C99-based standards] (INT_LEAST64_MAX): Likewise.
13407 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
13408 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
13409 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
13410 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
13411 [C99-based standards] (INT_FAST8_MIN): Likewise.
13412 [C99-based standards] (INT_FAST8_MAX): Likewise.
13413 [C99-based standards] (INT_FAST16_MIN): Likewise.
13414 [C99-based standards] (INT_FAST16_MAX): Likewise.
13415 [C99-based standards] (INT_FAST32_MIN): Likewise.
13416 [C99-based standards] (INT_FAST32_MAX): Likewise.
13417 [C99-based standards] (INT_FAST64_MIN): Likewise.
13418 [C99-based standards] (INT_FAST64_MAX): Likewise.
13419 [C99-based standards] (UINT_FAST8_MAX): Likewise.
13420 [C99-based standards] (UINT_FAST16_MAX): Likewise.
13421 [C99-based standards] (UINT_FAST32_MAX): Likewise.
13422 [C99-based standards] (UINT_FAST64_MAX): Likewise.
13423 [C99-based standards] (INTPTR_MIN): Likewise.
13424 [C99-based standards] (INTPTR_MAX): Likewise.
13425 [C99-based standards] (UINTPTR_MAX): Likewise.
13426 [C99-based standards] (INTMAX_MIN): Likewise.
13427 [C99-based standards] (INTMAX_MAX): Likewise.
13428 [C99-based standards] (UINTMAX_MAX): Likewise.
13429 [C99-based standards] (PTRDIFF_MIN): Likewise.
13430 [C99-based standards] (PTRDIFF_MAX): Likewise.
13431 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
13432 [C99-based standards] (SIZE_MAX): Likewise.
13433 [C99-based standards] (WCHAR_MAX): Likewise.
13434 [C99-based standards] (WINT_MAX): Likewise.
13435 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
13436 constraint on value.
13437 [C99-based standards] (WCHAR_MIN): Likewise.
13438 [C99-based standards] (WINT_MIN): Likewise.
13439 [C99-based standards] (*_t): Allow.
13440 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
13441 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
13442 Include math.h-data and complex.h-data. Remove all expectations
13443 of math.h and complex.h contents.
13444 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
13445 at end of line.
13446 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
13447 (struct tm): Expect tag.
13448 [C99-based-standards] (wcstof): Expect function.
13449 [C99-based-standards] (wcstold): Likewise.
13450 [C99-based-standards] (wcstoll): Likewise.
13451 [C99-based-standards] (wcstoull): Likewise.
13452 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
13453 macro-int-constant. Specify type.
13454 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
13455 constraint on value.
13456 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13457 Specify type.
13458 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
13459 Specify value.
13460 [ISO C standards]: Do not allow headers.
13461 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
13462 wcs[abcdefghijklmnopqrstuvwxyz]*.
13463 [ISO C standards] (*_t): Do not allow.
13464 * conform/data/wctype.h-data [C99-based standards] (iswblank):
13465 Expect function.
13466 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
13467 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13468 Specify type.
13469 [ISO C standards]: Do not allow headers.
13470 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
13471 is[abcdefghijklmnopqrstuvwxyz]*.
13472 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
13473 to[abcdefghijklmnopqrstuvwxyz]*.
13474 [ISO C standards] (*_t): Do not allow.
13475 * conform/data/stdalign.h-data: New file.
13476 * conform/data/stdbool.h-data: Likewise.
13477 * conform/data/stdnoreturn.h-data: Likewise.
13478
7514feb8
RM
134792012-11-07 Roland McGrath <roland@hack.frob.com>
13480
13481 [BZ #14815]
13482 * manual/filesys.texi (Directory Entries): Typo fix.
13483 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
13484
19b2ecfc
MS
134852012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13486
13487 * elf/elf.h (EM_AARCH64): New macro.
13488 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
13489 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
13490 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
13491 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
13492 (R_AARCH64_TLSDESC): Likewise.
13493 (NT_ARM_TLS): Likewise.
13494 (NT_ARM_HW_BREAK): Likewise.
13495 (NT_ARM_HW_WATCH): Likewise.
13496
60e235ee
JM
134972012-11-07 Joseph Myers <joseph@codesourcery.com>
13498
13499 [BZ #14811]
13500 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
13501 (__ieee754_powl): Saturate nonzero exponents with absolute value
13502 below 0x1p-79 to +/- 0x1p-79.
13503 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
13504 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
13505 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
13506 nonzero exponents with absolute value below 0x1p-32 to +/-
13507 0x1p-32.
13508 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
13509 (__ieee754_powl): Saturate nonzero exponents with absolute value
13510 below 0x1p-79 to +/- 0x1p-79.
13511 * math/libm-test.inc (pow_test): Add more tests.
13512
0ab234b7
AK
135132012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13514
13515 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
13516 _dl_s390_cap_flags with kernel. Increase string length.
13517 (_dl_s390_platforms): Add z196 and zEC12.
13518
45832f74
JM
135192012-11-07 Joseph Myers <joseph@codesourcery.com>
13520
13521 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
13522 Change XOPEN21K to XOPEN2K.
13523
19218757
MK
135242012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
13525
13526 * string/memmove.c: Use memcpy when possible.
13527
c5f45721
AJ
135282012-11-06 Andreas Jaeger <aj@suse.de>
13529
13530 * po/eo.po: Update from translation team.
13531
82477c28
JM
135322012-11-06 Joseph Myers <joseph@codesourcery.com>
13533
13534 [BZ #14793]
13535 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
13536 exponent and small x and y exponents, scale x or y up. Increase
13537 by 2 the exponent used in scaling up.
13538 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13539 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13540 * math/libm-test.inc (fma_test): Add more tests.
13541 (fma_test_towardzero): Likewise.
13542 (fma_test_downward): Likewise.
13543 (fma_test_upward): Likewise.
13544
99252c8c
JM
135452012-11-05 Joseph Myers <joseph@codesourcery.com>
13546
acfa885f
JM
13547 [BZ #14805]
13548 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
13549 fenv_t *.
13550
99252c8c
JM
13551 [BZ #14801]
13552 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
13553 namespace for names of struct fields.
13554 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
13555 fenv_t fields.
13556 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
13557 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
13558
d6d98dea
ST
135592012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13560
13561 [BZ #3665]
13562 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
13563
e10bb107
TS
135642012-11-04 Thomas Schwinge <thomas@codesourcery.com>
13565
13566 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
13567 PTR_DEMANGLE.
13568
13569 [BZ #5246]
13570 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
13571 PTR_DEMANGLE.
13572
a0c2940d
JM
135732012-11-04 Joseph Myers <joseph@codesourcery.com>
13574
13575 [BZ #14797]
13576 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
13577 definitely overflow as x * y not x * y + z.
13578 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13579 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13580 * math/libm-test.inc (fma_test): Add more tests.
13581 (fma_test_towardzero): Likewise.
13582 (fma_test_downward): Likewise.
13583 (fma_test_upward): Likewise.
13584
b830319d
TS
135852012-11-04 Thomas Schwinge <thomas@codesourcery.com>
13586
13587 [BZ #157]
13588
13589 * include/stub-tag.h: Remove file.
13590 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
13591 '#include' of it.
13592 * manual/maint.texi (Porting): Don't reference it.
13593 * Makerules ($(objpfx)stubs): Likewise.
13594 * dirent/closedir.c: Don't include <stub-tag.h>.
13595 * dirent/dirfd.c: Likewise.
13596 * dirent/fdopendir.c: Likewise.
13597 * dirent/getdents.c: Likewise.
13598 * dirent/getdents64.c: Likewise.
13599 * dirent/opendir.c: Likewise.
13600 * dirent/readdir.c: Likewise.
13601 * dirent/readdir64.c: Likewise.
13602 * dirent/readdir64_r.c: Likewise.
13603 * dirent/readdir_r.c: Likewise.
13604 * dirent/rewinddir.c: Likewise.
13605 * dirent/seekdir.c: Likewise.
13606 * dirent/telldir.c: Likewise.
13607 * gmon/profil.c: Likewise.
13608 * grp/setgroups.c: Likewise.
13609 * inet/if_index.c: Likewise.
13610 * io/access.c: Likewise.
13611 * io/chdir.c: Likewise.
13612 * io/chmod.c: Likewise.
13613 * io/chown.c: Likewise.
13614 * io/close.c: Likewise.
13615 * io/dup.c: Likewise.
13616 * io/dup2.c: Likewise.
13617 * io/dup3.c: Likewise.
13618 * io/euidaccess.c: Likewise.
13619 * io/faccessat.c: Likewise.
13620 * io/fchdir.c: Likewise.
13621 * io/fchmod.c: Likewise.
13622 * io/fchmodat.c: Likewise.
13623 * io/fchown.c: Likewise.
13624 * io/fchownat.c: Likewise.
13625 * io/fcntl.c: Likewise.
13626 * io/flock.c: Likewise.
13627 * io/fstatfs.c: Likewise.
13628 * io/fstatfs64.c: Likewise.
13629 * io/fstatvfs.c: Likewise.
13630 * io/fstatvfs64.c: Likewise.
13631 * io/futimens.c: Likewise.
13632 * io/fxstat.c: Likewise.
13633 * io/fxstat64.c: Likewise.
13634 * io/fxstatat.c: Likewise.
13635 * io/fxstatat64.c: Likewise.
13636 * io/getcwd.c: Likewise.
13637 * io/isatty.c: Likewise.
13638 * io/lchmod.c: Likewise.
13639 * io/lchown.c: Likewise.
13640 * io/link.c: Likewise.
13641 * io/linkat.c: Likewise.
13642 * io/lseek.c: Likewise.
13643 * io/lseek64.c: Likewise.
13644 * io/lxstat64.c: Likewise.
13645 * io/mkdir.c: Likewise.
13646 * io/mkdirat.c: Likewise.
13647 * io/mkfifo.c: Likewise.
13648 * io/mkfifoat.c: Likewise.
13649 * io/open.c: Likewise.
13650 * io/open64.c: Likewise.
13651 * io/openat.c: Likewise.
13652 * io/openat64.c: Likewise.
13653 * io/pipe.c: Likewise.
13654 * io/pipe2.c: Likewise.
13655 * io/poll.c: Likewise.
13656 * io/posix_fadvise.c: Likewise.
13657 * io/posix_fadvise64.c: Likewise.
13658 * io/posix_fallocate.c: Likewise.
13659 * io/posix_fallocate64.c: Likewise.
13660 * io/read.c: Likewise.
13661 * io/readlink.c: Likewise.
13662 * io/readlinkat.c: Likewise.
13663 * io/rmdir.c: Likewise.
13664 * io/sendfile.c: Likewise.
13665 * io/sendfile64.c: Likewise.
13666 * io/statfs.c: Likewise.
13667 * io/statfs64.c: Likewise.
13668 * io/statvfs.c: Likewise.
13669 * io/statvfs64.c: Likewise.
13670 * io/symlink.c: Likewise.
13671 * io/symlinkat.c: Likewise.
13672 * io/ttyname.c: Likewise.
13673 * io/ttyname_r.c: Likewise.
13674 * io/umask.c: Likewise.
13675 * io/unlink.c: Likewise.
13676 * io/unlinkat.c: Likewise.
13677 * io/utime.c: Likewise.
13678 * io/utimensat.c: Likewise.
13679 * io/write.c: Likewise.
13680 * io/xmknod.c: Likewise.
13681 * io/xmknodat.c: Likewise.
13682 * io/xstat.c: Likewise.
13683 * io/xstat64.c: Likewise.
13684 * login/getpt.c: Likewise.
13685 * login/grantpt.c: Likewise.
13686 * login/unlockpt.c: Likewise.
13687 * math/e_acoshl.c: Likewise.
13688 * math/e_acosl.c: Likewise.
13689 * math/e_asinl.c: Likewise.
13690 * math/e_atan2l.c: Likewise.
13691 * math/e_atanhl.c: Likewise.
13692 * math/e_coshl.c: Likewise.
13693 * math/e_expl.c: Likewise.
13694 * math/e_fmodl.c: Likewise.
13695 * math/e_gammal_r.c: Likewise.
13696 * math/e_hypotl.c: Likewise.
13697 * math/e_j0l.c: Likewise.
13698 * math/e_j1l.c: Likewise.
13699 * math/e_jnl.c: Likewise.
13700 * math/e_lgammal_r.c: Likewise.
13701 * math/e_log10l.c: Likewise.
13702 * math/e_log2l.c: Likewise.
13703 * math/e_logl.c: Likewise.
13704 * math/e_powl.c: Likewise.
13705 * math/e_rem_pio2l.c: Likewise.
13706 * math/e_sinhl.c: Likewise.
13707 * math/e_sqrtl.c: Likewise.
13708 * math/fclrexcpt.c: Likewise.
13709 * math/fedisblxcpt.c: Likewise.
13710 * math/feenablxcpt.c: Likewise.
13711 * math/fegetenv.c: Likewise.
13712 * math/fegetexcept.c: Likewise.
13713 * math/fegetround.c: Likewise.
13714 * math/feholdexcpt.c: Likewise.
13715 * math/fesetenv.c: Likewise.
13716 * math/fesetround.c: Likewise.
13717 * math/feupdateenv.c: Likewise.
13718 * math/fgetexcptflg.c: Likewise.
13719 * math/fraiseexcpt.c: Likewise.
13720 * math/fsetexcptflg.c: Likewise.
13721 * math/ftestexcept.c: Likewise.
13722 * math/k_cosl.c: Likewise.
13723 * math/k_rem_pio2l.c: Likewise.
13724 * math/k_sinl.c: Likewise.
13725 * math/k_tanl.c: Likewise.
13726 * math/s_asinhl.c: Likewise.
13727 * math/s_atanl.c: Likewise.
13728 * math/s_cbrtl.c: Likewise.
13729 * math/s_erfl.c: Likewise.
13730 * math/s_expm1l.c: Likewise.
13731 * math/s_log1pl.c: Likewise.
13732 * math/s_tanhl.c: Likewise.
13733 * misc/acct.c: Likewise.
13734 * misc/brk.c: Likewise.
13735 * misc/chflags.c: Likewise.
13736 * misc/chroot.c: Likewise.
13737 * misc/fchflags.c: Likewise.
13738 * misc/fgetxattr.c: Likewise.
13739 * misc/flistxattr.c: Likewise.
13740 * misc/fremovexattr.c: Likewise.
13741 * misc/fsetxattr.c: Likewise.
13742 * misc/fsync.c: Likewise.
13743 * misc/ftruncate.c: Likewise.
13744 * misc/futimes.c: Likewise.
13745 * misc/futimesat.c: Likewise.
13746 * misc/getdomain.c: Likewise.
13747 * misc/getdtsz.c: Likewise.
13748 * misc/gethostid.c: Likewise.
13749 * misc/gethostname.c: Likewise.
13750 * misc/getloadavg.c: Likewise.
13751 * misc/getpagesize.c: Likewise.
13752 * misc/getsysstats.c: Likewise.
13753 * misc/getxattr.c: Likewise.
13754 * misc/gtty.c: Likewise.
13755 * misc/ioctl.c: Likewise.
13756 * misc/lgetxattr.c: Likewise.
13757 * misc/listxattr.c: Likewise.
13758 * misc/llistxattr.c: Likewise.
13759 * misc/lremovexattr.c: Likewise.
13760 * misc/lsetxattr.c: Likewise.
13761 * misc/lutimes.c: Likewise.
13762 * misc/madvise.c: Likewise.
13763 * misc/mincore.c: Likewise.
13764 * misc/mlock.c: Likewise.
13765 * misc/mlockall.c: Likewise.
13766 * misc/mmap.c: Likewise.
13767 * misc/mprotect.c: Likewise.
13768 * misc/msync.c: Likewise.
13769 * misc/munlock.c: Likewise.
13770 * misc/munlockall.c: Likewise.
13771 * misc/munmap.c: Likewise.
13772 * misc/preadv.c: Likewise.
13773 * misc/preadv64.c: Likewise.
13774 * misc/ptrace.c: Likewise.
13775 * misc/pwritev.c: Likewise.
13776 * misc/pwritev64.c: Likewise.
13777 * misc/readv.c: Likewise.
13778 * misc/reboot.c: Likewise.
13779 * misc/remap_file_pages.c: Likewise.
13780 * misc/removexattr.c: Likewise.
13781 * misc/revoke.c: Likewise.
13782 * misc/select.c: Likewise.
13783 * misc/setdomain.c: Likewise.
13784 * misc/setegid.c: Likewise.
13785 * misc/seteuid.c: Likewise.
13786 * misc/sethostid.c: Likewise.
13787 * misc/sethostname.c: Likewise.
13788 * misc/setregid.c: Likewise.
13789 * misc/setreuid.c: Likewise.
13790 * misc/setxattr.c: Likewise.
13791 * misc/sstk.c: Likewise.
13792 * misc/stty.c: Likewise.
13793 * misc/swapoff.c: Likewise.
13794 * misc/swapon.c: Likewise.
13795 * misc/sync.c: Likewise.
13796 * misc/syncfs.c: Likewise.
13797 * misc/syscall.c: Likewise.
13798 * misc/truncate.c: Likewise.
13799 * misc/ualarm.c: Likewise.
13800 * misc/usleep.c: Likewise.
13801 * misc/ustat.c: Likewise.
13802 * misc/utimes.c: Likewise.
13803 * misc/vhangup.c: Likewise.
13804 * misc/writev.c: Likewise.
13805 * posix/_exit.c: Likewise.
13806 * posix/alarm.c: Likewise.
13807 * posix/execve.c: Likewise.
13808 * posix/fexecve.c: Likewise.
13809 * posix/fork.c: Likewise.
13810 * posix/fpathconf.c: Likewise.
13811 * posix/getaddrinfo.c: Likewise.
13812 * posix/getegid.c: Likewise.
13813 * posix/geteuid.c: Likewise.
13814 * posix/getgid.c: Likewise.
13815 * posix/getgroups.c: Likewise.
13816 * posix/getlogin.c: Likewise.
13817 * posix/getlogin_r.c: Likewise.
13818 * posix/getpgid.c: Likewise.
13819 * posix/getpid.c: Likewise.
13820 * posix/getppid.c: Likewise.
13821 * posix/getresgid.c: Likewise.
13822 * posix/getresuid.c: Likewise.
13823 * posix/getsid.c: Likewise.
13824 * posix/getuid.c: Likewise.
13825 * posix/glob64.c: Likewise.
13826 * posix/nanosleep.c: Likewise.
13827 * posix/pathconf.c: Likewise.
13828 * posix/pause.c: Likewise.
13829 * posix/posix_madvise.c: Likewise.
13830 * posix/pread.c: Likewise.
13831 * posix/pread64.c: Likewise.
13832 * posix/pwrite.c: Likewise.
13833 * posix/pwrite64.c: Likewise.
13834 * posix/sched_getaffinity.c: Likewise.
13835 * posix/sched_getp.c: Likewise.
13836 * posix/sched_gets.c: Likewise.
13837 * posix/sched_primax.c: Likewise.
13838 * posix/sched_primin.c: Likewise.
13839 * posix/sched_rr_gi.c: Likewise.
13840 * posix/sched_setaffinity.c: Likewise.
13841 * posix/sched_setp.c: Likewise.
13842 * posix/sched_sets.c: Likewise.
13843 * posix/sched_yield.c: Likewise.
13844 * posix/setgid.c: Likewise.
13845 * posix/setlogin.c: Likewise.
13846 * posix/setpgid.c: Likewise.
13847 * posix/setresgid.c: Likewise.
13848 * posix/setresuid.c: Likewise.
13849 * posix/setsid.c: Likewise.
13850 * posix/setuid.c: Likewise.
13851 * posix/sleep.c: Likewise.
13852 * posix/spawni.c: Likewise.
13853 * posix/sysconf.c: Likewise.
13854 * posix/times.c: Likewise.
13855 * posix/wait.c: Likewise.
13856 * posix/wait3.c: Likewise.
13857 * posix/wait4.c: Likewise.
13858 * posix/waitpid.c: Likewise.
13859 * resolv/gai_sigqueue.c: Likewise.
13860 * resource/getpriority.c: Likewise.
13861 * resource/getrlimit.c: Likewise.
13862 * resource/getrusage.c: Likewise.
13863 * resource/nice.c: Likewise.
13864 * resource/setpriority.c: Likewise.
13865 * resource/setrlimit.c: Likewise.
13866 * resource/ulimit.c: Likewise.
13867 * rt/aio_cancel.c: Likewise.
13868 * rt/aio_fsync.c: Likewise.
13869 * rt/aio_read.c: Likewise.
13870 * rt/aio_sigqueue.c: Likewise.
13871 * rt/aio_suspend.c: Likewise.
13872 * rt/aio_write.c: Likewise.
13873 * rt/clock_getres.c: Likewise.
13874 * rt/clock_gettime.c: Likewise.
13875 * rt/clock_nanosleep.c: Likewise.
13876 * rt/clock_settime.c: Likewise.
13877 * rt/lio_listio.c: Likewise.
13878 * rt/mq_close.c: Likewise.
13879 * rt/mq_getattr.c: Likewise.
13880 * rt/mq_notify.c: Likewise.
13881 * rt/mq_open.c: Likewise.
13882 * rt/mq_receive.c: Likewise.
13883 * rt/mq_send.c: Likewise.
13884 * rt/mq_setattr.c: Likewise.
13885 * rt/mq_timedreceive.c: Likewise.
13886 * rt/mq_timedsend.c: Likewise.
13887 * rt/mq_unlink.c: Likewise.
13888 * rt/shm_open.c: Likewise.
13889 * rt/shm_unlink.c: Likewise.
13890 * rt/timer_create.c: Likewise.
13891 * rt/timer_delete.c: Likewise.
13892 * rt/timer_getoverr.c: Likewise.
13893 * rt/timer_gettime.c: Likewise.
13894 * rt/timer_settime.c: Likewise.
13895 * setjmp/__longjmp.c: Likewise.
13896 * setjmp/setjmp.c: Likewise.
13897 * signal/kill.c: Likewise.
13898 * signal/killpg.c: Likewise.
13899 * signal/raise.c: Likewise.
13900 * signal/sigaction.c: Likewise.
13901 * signal/sigaltstack.c: Likewise.
13902 * signal/sigblock.c: Likewise.
13903 * signal/sigignore.c: Likewise.
13904 * signal/sigintr.c: Likewise.
13905 * signal/signal.c: Likewise.
13906 * signal/sigpause.c: Likewise.
13907 * signal/sigpending.c: Likewise.
13908 * signal/sigqueue.c: Likewise.
13909 * signal/sigreturn.c: Likewise.
13910 * signal/sigset.c: Likewise.
13911 * signal/sigsetmask.c: Likewise.
13912 * signal/sigstack.c: Likewise.
13913 * signal/sigsuspend.c: Likewise.
13914 * signal/sigtimedwait.c: Likewise.
13915 * signal/sigvec.c: Likewise.
13916 * signal/sigwait.c: Likewise.
13917 * signal/sigwaitinfo.c: Likewise.
13918 * signal/sysv_signal.c: Likewise.
13919 * socket/accept.c: Likewise.
13920 * socket/accept4.c: Likewise.
13921 * socket/bind.c: Likewise.
13922 * socket/connect.c: Likewise.
13923 * socket/getpeername.c: Likewise.
13924 * socket/getsockname.c: Likewise.
13925 * socket/getsockopt.c: Likewise.
13926 * socket/isfdtype.c: Likewise.
13927 * socket/listen.c: Likewise.
13928 * socket/recv.c: Likewise.
13929 * socket/recvfrom.c: Likewise.
13930 * socket/recvmsg.c: Likewise.
13931 * socket/send.c: Likewise.
13932 * socket/sendmsg.c: Likewise.
13933 * socket/sendto.c: Likewise.
13934 * socket/setsockopt.c: Likewise.
13935 * socket/shutdown.c: Likewise.
13936 * socket/sockatmark.c: Likewise.
13937 * socket/socket.c: Likewise.
13938 * socket/socketpair.c: Likewise.
13939 * stdio-common/ctermid.c: Likewise.
13940 * stdio-common/cuserid.c: Likewise.
13941 * stdio-common/remove.c: Likewise.
13942 * stdio-common/rename.c: Likewise.
13943 * stdio-common/renameat.c: Likewise.
13944 * stdio-common/tempname.c: Likewise.
13945 * stdlib/getcontext.c: Likewise.
13946 * stdlib/makecontext.c: Likewise.
13947 * stdlib/setcontext.c: Likewise.
13948 * stdlib/swapcontext.c: Likewise.
13949 * stdlib/system.c: Likewise.
13950 * streams/fattach.c: Likewise.
13951 * streams/fdetach.c: Likewise.
13952 * streams/getmsg.c: Likewise.
13953 * streams/getpmsg.c: Likewise.
13954 * streams/putmsg.c: Likewise.
13955 * streams/putpmsg.c: Likewise.
13956 * sysdeps/unix/bsd/getpt.c: Likewise.
13957 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
13958 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
13959 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13961 Likewise.
13962 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
13963 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13964 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
13965 * sysvipc/msgctl.c: Likewise.
13966 * sysvipc/msgget.c: Likewise.
13967 * sysvipc/msgrcv.c: Likewise.
13968 * sysvipc/msgsnd.c: Likewise.
13969 * sysvipc/semctl.c: Likewise.
13970 * sysvipc/semget.c: Likewise.
13971 * sysvipc/semop.c: Likewise.
13972 * sysvipc/semtimedop.c: Likewise.
13973 * sysvipc/shmat.c: Likewise.
13974 * sysvipc/shmctl.c: Likewise.
13975 * sysvipc/shmdt.c: Likewise.
13976 * sysvipc/shmget.c: Likewise.
13977 * termios/tcdrain.c: Likewise.
13978 * termios/tcflow.c: Likewise.
13979 * termios/tcflush.c: Likewise.
13980 * termios/tcgetattr.c: Likewise.
13981 * termios/tcgetpgrp.c: Likewise.
13982 * termios/tcsendbrk.c: Likewise.
13983 * termios/tcsetattr.c: Likewise.
13984 * termios/tcsetpgrp.c: Likewise.
13985 * time/adjtime.c: Likewise.
13986 * time/clock.c: Likewise.
13987 * time/getitimer.c: Likewise.
13988 * time/gettimeofday.c: Likewise.
13989 * time/setitimer.c: Likewise.
13990 * time/settimeofday.c: Likewise.
13991 * time/stime.c: Likewise.
13992 * time/time.c: Likewise.
13993
139942012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 13995
a20492cf
PT
13996 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
13997 /usr/old/bin.
13998
72e182e3
PT
13999 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
14000 instead of spaces.
14001 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
14002
fbeafede
JM
140032012-11-03 Joseph Myers <joseph@codesourcery.com>
14004
5b5b04d6
JM
14005 [BZ #14796]
14006 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
14007 FE_TONEAREST before applying Dekker multiplication and Knuth
14008 addition. Clear inexact exceptions and check for exact zero
14009 results afterwards.
14010 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14011 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14012 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14013 * math/libm-test.inc (fma_test): Add more tests.
14014 (fma_test_towardzero): Likewise.
14015 (fma_test_downward): Likewise.
14016 (fma_test_upward): Likewise.
14017 * sysdeps/generic/math_private.h (default_libc_fesetround): New
14018 function.
14019 (libc_fesetround): New macro.
14020 (libc_fesetroundf): Likewise.
14021 (libc_fesetroundl): Likewise.
14022 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
14023 function.
14024 (libc_fesetround_387): Likewise.
14025 (libc_fesetroundf): New macro.
14026 (libc_fesetround): Likewise.
14027 (libc_fesetroundl): Likewise.
14028 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
14029 function.
14030 (libc_fesetroundf): New macro.
14031 (libc_fesetround): Likewise.
14032 (libc_fesetroundl): Likewise.
14033 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
14034 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
14035 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
14036 libm_hidden_ver.
14037 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
14038 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
14039 libm_hidden_def.
14040 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
14041 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
14042 libm_hidden_ver.
14043 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
14044 libm_hidden_def.
14045
fbeafede
JM
14046 [BZ #3439]
14047 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
14048 integer constant usable in #if and use that to give value to enum
14049 constant.
14050 (FE_DIVBYZERO): Likewise.
14051 (FE_UNDERFLOW): Likewise.
14052 (FE_OVERFLOW): Likewise.
14053 (FE_INVALID): Likewise.
14054 (FE_INVALID_SNAN): Likewise.
14055 (FE_INVALID_ISI): Likewise.
14056 (FE_INVALID_IDI): Likewise.
14057 (FE_INVALID_ZDZ): Likewise.
14058 (FE_INVALID_IMZ): Likewise.
14059 (FE_INVALID_COMPARE): Likewise.
14060 (FE_INVALID_SOFTWARE): Likewise.
14061 (FE_INVALID_SQRT): Likewise.
14062 (FE_INVALID_INTEGER_CONVERSION): Likewise.
14063 (FE_TONEAREST): Likewise.
14064 (FE_TOWARDZERO): Likewise.
14065 (FE_UPWARD): Likewise.
14066 (FE_DOWNWARD): Likewise.
14067 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
14068 (FE_DIVBYZERO): Likewise.
14069 (FE_OVERFLOW): Likewise.
14070 (FE_UNDERFLOW): Likewise.
14071 (FE_INEXACT): Likewise.
14072 (FE_TONEAREST): Likewise.
14073 (FE_DOWNWARD): Likewise.
14074 (FE_UPWARD): Likewise.
14075 (FE_TOWARDZERO): Likewise.
14076 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
14077 (FE_UNDERFLOW): Likewise.
14078 (FE_OVERFLOW): Likewise.
14079 (FE_DIVBYZERO): Likewise.
14080 (FE_INVALID): Likewise.
14081 (FE_TONEAREST): Likewise.
14082 (FE_TOWARDZERO): Likewise.
14083 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
14084 (FE_OVERFLOW): Likewise.
14085 (FE_UNDERFLOW): Likewise.
14086 (FE_DIVBYZERO): Likewise.
14087 (FE_INEXACT): Likewise.
14088 (FE_TONEAREST): Likewise.
14089 (FE_TOWARDZERO): Likewise.
14090 (FE_UPWARD): Likewise.
14091 (FE_DOWNWARD): Likewise.
14092 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
14093 (FE_DIVBYZERO): Likewise.
14094 (FE_OVERFLOW): Likewise.
14095 (FE_UNDERFLOW): Likewise.
14096 (FE_INEXACT): Likewise.
14097 (FE_TONEAREST): Likewise.
14098 (FE_DOWNWARD): Likewise.
14099 (FE_UPWARD): Likewise.
14100 (FE_TOWARDZERO): Likewise.
14101
105ca950
CM
141022012-11-02 Chris Metcalf <cmetcalf@tilera.com>
14103
14104 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
14105
a542b389
AS
141062012-11-03 Andreas Schwab <schwab@linux-m68k.org>
14107
14108 * scripts/cross-test-ssh.sh (command): Use newlines to separate
14109 commands. Quote $PWD.
14110 (blacklist_exports): Don't use remove_newlines. Replace "declare
14111 -x" by "export".
14112 (remove_newlines): Remove.
14113
f62c8abc
L
141142012-11-02 H.J. Lu <hongjiu.lu@intel.com>
14115
14116 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
14117 * stdlib/stdlib.h (atof): Moved to ...
14118 * include/bits/stdlib-float.h: Here. New file.
14119 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
14120 * stdlib/bits/stdlib-float.h: New file.
14121 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
14122 -mno-sse -mno-mmx.
14123 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
14124 <xmmintrin.h>.
14125
0155d5b2
JM
141262012-11-02 Joseph Myers <joseph@codesourcery.com>
14127
a68d0680
JM
14128 * conform/conformtest.pl (@headers): Add fenv.h.
14129 * conform/data/fenv.h-data: New file.
14130 * include/fenv.h [_ISOMAC]: Disable all contents of file except
14131 include of <math/fenv.h>.
14132
caf7f573
JM
14133 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
14134 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
14135 && !UNIX98]. Enables tests for XOPEN2K8.
14136 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
14137 POSIX2008]: Likewise.
14138
6c073ad6
JM
14139 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
14140 (struct rusage): Do not expect type or its members.
14141
0155d5b2
JM
14142 [BZ #3439]
14143 * math/math.h (FP_NAN): Define macro to integer constant usable in
14144 #if and use that to give value to enum constant.
14145 (FP_INFINITE): Likewise.
14146 (FP_ZERO): Likewise.
14147 (FP_SUBNORMAL): Likewise.
14148 (FP_NORMAL): Likewise.
14149
b5dcacb4
AS
141502012-11-02 Andreas Schwab <schwab@linux-m68k.org>
14151
14152 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
14153 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
14154 arguments.
14155
f7934be8
RM
141562012-11-02 Roland McGrath <roland@hack.frob.com>
14157
14158 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
14159 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
14160 autoconf-time if not.
14161 * configure.in: Remove AC_PREREQ.
14162
d7d08bde
TMQMF
141632012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14164
14165 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
14166 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
14167 of the internal implementation.
14168
dcdae19a
JM
141692012-11-02 Joseph Myers <joseph@codesourcery.com>
14170
14171 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
14172 except include of <misc/sys/syslog.h>.
14173
d6cffd3e
AS
141742012-11-01 Andreas Schwab <schwab@linux-m68k.org>
14175
14176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
14177 function returns with a NULL context exit with zero.
14178
b3563932
TMQMF
141792012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14180
14181 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
14182
b288a93d
L
141832012-11-01 H.J. Lu <hongjiu.lu@intel.com>
14184
14185 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
14186 (run_program_cmd): This.
14187 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
14188 (tst_langinfo): New variable. Use it.
14189
a2421a68
SAS
141902012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
14191
14192 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
14193 floating point opcodes.
14194
6f796e1b
TS
141952012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14196
7402596b
TS
14197 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
14198 variable.
14199
d0d4f868
TS
14200 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
14201
6f796e1b
TS
14202 * sysdeps/mach/hurd/powerpc: Remove directory.
14203 * sysdeps/mach/powerpc: Likewise.
14204
4da224a2
AS
142052012-11-01 Andreas Schwab <schwab@linux-m68k.org>
14206
14207 * scripts/check-local-headers.sh: Ignore c++ headers.
14208
341dd673
TS
142092012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14210
14211 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
14212 __libc_cleanup_region_start argument.
14213
473611b2
JM
142142012-11-01 Joseph Myers <joseph@codesourcery.com>
14215
14216 [BZ #14784]
14217 [BZ #14785]
14218 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
14219 x * y using scaling, not as x * y + z.
14220 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14221 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14222 * math/libm-test.inc (fma_test): Add more tests.
14223 (fma_test_towardzero): Likewise.
14224 (fma_test_downward): Likewise.
14225 (fma_test_upward): Likewise.
14226
4078da3d
TS
142272012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14228
14229 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
14230
903252aa
JM
142312012-10-31 Joseph Myers <joseph@codesourcery.com>
14232
14233 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
14234 New variable.
14235
cbc818d0
TS
142362012-10-31 Thomas Schwinge <thomas@codesourcery.com>
14237
14238 * rt/tst-shm.c (worker): Correct checking for mmap failure.
14239
5a03cb1e
AS
142402012-10-31 Andreas Schwab <schwab@linux-m68k.org>
14241
14242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14243 Fix sort order.
14244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14245 Likewise.
14246
90aff2ff
TMQMF
142472012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14248
14249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14250 Fix the order of the list for glibc 2.17.
14251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14252 Likewise.
14253
1818fcb7
AS
142542012-10-31 Andreas Schwab <schwab@linux-m68k.org>
14255
14256 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14257
ef82f4da
JM
142582012-10-31 Joseph Myers <joseph@codesourcery.com>
14259
16a0e2ec
JM
14260 [BZ #14610]
14261 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
14262 for low part of x being zero before using __atanl (y).
14263 * math/libm-test.inc (atan2_test): Add another test.
14264
0eb69512
JM
14265 * manual/install.texi (Configuring and compiling): Document
14266 general use of test-wrapper and test-wrapper-env.
14267 * INSTALL: Regenerated.
14268
ef82f4da
JM
14269 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
14270 (__fma): Do not extract and scale down low bits on after-rounding
14271 systems when result rounded to normal precision would have normal
14272 exponent.
14273 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
14274 (__fmal): Do not extract and scale down low bits on after-rounding
14275 systems when result rounded to normal precision would have normal
14276 exponent.
14277 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
14278 (__fmal): Do not extract and scale down low bits on after-rounding
14279 systems when result rounded to normal precision would have normal
14280 exponent.
14281 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
14282 macro.
14283 (fma_test): Add more tests.
14284 (fma_test_towardzero): Likewise.
14285 (fma_test_downward): Likewise.
14286 (fma_test_upward): Likewise.
14287
954ef0d9
L
142882012-10-30 H.J. Lu <hongjiu.lu@intel.com>
14289
14290 * sysdeps/i386/tininess.h: Renamed to ...
14291 * sysdeps/x86/tininess.h: This.
14292 * sysdeps/x86_64/tininess.h: Removed.
14293
df61ffb2
JM
142942012-10-30 Joseph Myers <joseph@codesourcery.com>
14295
14296 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
14297 input. Use $(build-program-cmd).
14298 ($(objpfx)tst-array1-static.out): Likewise.
14299 ($(objpfx)tst-array2.out): Likewise.
14300 ($(objpfx)tst-array3.out): Likewise.
14301 ($(objpfx)tst-array4.out): Likewise.
14302 ($(objpfx)tst-array5.out): Likewise.
14303 ($(objpfx)tst-array5-static.out): Likewise.
14304
01767843
CM
143052012-10-30 Chris Metcalf <cmetcalf@tilera.com>
14306
47cc1490
CM
14307 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
14308 if defined.
14309
01767843
CM
14310 * nss/nsswitch.h (nss_interface_function): Provide new
14311 macro for use with NSS functions.
14312 * grp/initgroups.c: Use new macro.
14313 * nss/getXXbyYY.c: Likewise.
14314 * nss/getXXbyYY_r.c: Likewise.
14315 * nss/getXXent.c: Likewise.
14316 * nss/getXXent_r.c: Likewise.
14317 * sysdeps/posix/getaddrinfo.c: Likewise.
14318
8321aa97
AJ
143192012-10-30 Andreas Jaeger <aj@suse.de>
14320
14321 * po/ru.po: Update Russion translation from translation project.
14322
2a27fd6d
JM
143232012-10-30 Joseph Myers <joseph@codesourcery.com>
14324
8627a232
JM
14325 [BZ #14152]
14326 [BZ #14783]
14327 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
14328 result and shift together with sticky bit instead of replicating
14329 round-to-nearest rounding.
14330 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14331 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14332 * math/libm-test.inc (fma_test): Add more tests. Do not permit
14333 missing underflow exceptions.
14334 (fma_test_towardzero): Add more tests.
14335 (fma_test_downward): Likewise.
14336 (fma_test_upward): Likewise.
14337
2a27fd6d
JM
14338 [BZ #14047]
14339 * sysdeps/generic/tininess.h: New file.
14340 * sysdeps/i386/tininess.h: Likewise.
14341 * sysdeps/sh/tininess.h: Likewise.
14342 * sysdeps/x86_64/tininess.h: Likewise.
14343 * stdlib/tst-strtod-underflow.c: Likewise.
14344 * stdlib/tst-tininess.c: Likewise.
14345 * stdlib/strtod_l.c: Include <tininess.h>.
14346 (round_and_return): Do not set errno for exact underflow cases.
14347 Force an underflow exception when setting errno for underflow.
14348 Determine underflow based on rounding to normal precision if
14349 TININESS_AFTER_ROUNDING.
14350 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
14351 ERANGE for exact underflow cases.
14352 * stdlib/Makefile (tests): Add tst-tininess and
14353 tst-strtod-underflow.
14354 ($(objpfx)tst-tininess): Use $(link-libm).
14355 ($(objpfx)tst-strtod-underflow): Likewise.
14356
e7170363
AJ
143572012-10-30 Andreas Jaeger <aj@suse.de>
14358
e5088dc6
AJ
14359 [BZ#14767]
14360 * elf/Makefile (tests): Remove conditional for have-initfini-array
14361 since this is now always required and the variable does not exist
14362 anymore.
14363 (tests-static): Likewise.
14364 (modules-names): Likewise.
14365
e7170363 14366 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
14367
14368 * elf/tst-array1.c (fini_array): Make writeable so that it can be
14369 merged with constructor/destructor.
14370 (init_array): Likewise.
14371 * elf/tst-array2dep.c (fini_array): Likewise.
14372 (init_array): Likewise.
14373
60457d8a
MF
143742012-10-29 Mike Frysinger <vapier@gentoo.org>
14375
14376 * manual/message.texi: Delete @cartouche tags.
14377
8bece752
PT
143782012-10-29 Pino Toscano <toscano.pino@tiscali.it>
14379
94ce799f
PT
14380 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
14381 EOPNOTSUPP.
14382 * sysdeps/mach/hurd/fsync.c: Likewise.
14383
8bece752
PT
14384 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
14385 [_POSIX_REALTIME_SIGNALS]: Change condition to
14386 [_POSIX_REALTIME_SIGNALS > 0].
14387
86ebe6b1
AJ
143882012-10-27 Andreas Jaeger <aj@suse.de>
14389
14390 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
14391 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
14392 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
14393 [__WORDSIZE != 64]: Likewise.
14394
54399c08
L
143952012-10-26 H.J. Lu <hongjiu.lu@intel.com>
14396
14397 * iconvdata/tst-table.sh: Remove ${SHELL}.
14398 * iconvdata/tst-tables.sh: Likewise.
14399
e2211bed
DM
144002012-10-25 David S. Miller <davem@davemloft.net>
14401
14402 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14403 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
14404 of strtoull.
14405
f303f97c
DM
14406 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
14407 ifunc-impl-list.c
14408 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14409 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
14410 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
14411 file.
14412
1e9d84cd
RM
144132012-10-25 Roland McGrath <roland@hack.frob.com>
14414
14415 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14416 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
14417 __getdirentries.
14418
df381762
JM
144192012-10-25 Joseph Myers <joseph@codesourcery.com>
14420 Jim Blandy <jimb@codesourcery.com>
14421
14422 * scripts/cross-test-ssh.sh: New file.
14423 * manual/install.texi (Configuring and compiling): Document use of
14424 cross-test-ssh.sh.
14425 * INSTALL: Regenerated.
14426
bff64913
PT
144272012-10-25 Pino Toscano <toscano.pino@tiscali.it>
14428
14429 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
14430 EOPNOTSUPP.
14431
25fe8932
JM
144322012-10-25 Joseph Myers <joseph@codesourcery.com>
14433
14434 * Makeconfig (run-program-prefix): Fix comment.
14435
cc1290d0
JM
144362012-10-24 Joseph Myers <joseph@codesourcery.com>
14437 Jim Blandy <jimb@codesourcery.com>
14438
14439 * Makeconfig (test-wrapper): New variable,
14440 (test-wrapper-env): Likewise.
14441 [$(cross-compiling) = yes && $(test-wrapper) != ""]
14442 (run-built-tests): Define to yes.
14443 (run-program-prefix): Use $(test-wrapper).
14444 (built-program-cmd): Likewise.
14445 * Rules (make-test-out): Use $(test-wrapper-env) and
14446 $(host-built-program-cmd).
14447 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
14448 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
14449 tst-pathopt.sh.
14450 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
14451 $(test-wrapper-env) to tst-rtld-load-self.sh.
14452 ($(objpfx)order2.out): Use $(test-wrapper).
14453 ($(objpfx)tst-initorder.out): Likewise.
14454 ($(objpfx)tst-initorder2.out): Likewise.
14455 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
14456 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
14457 (test_wrapper_env): New variable. Use it to run ld.so.
14458 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
14459 Use it to run ld.so.
14460 (test_wrapper_env): Likewise.
14461 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
14462 $(test-wrapper) to run-iconv-test.sh.
14463 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
14464 (ICONV): Use $test_wrapper.
14465 * posix/Makefile ($(objpfx)globtest.out): Pass
14466 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
14467 globtest.sh, not $(run-program-prefix).
14468 * posix/globtest.sh (run_via_rtld_prefix): New variable.
14469 (test_wrapper): Likewise.
14470 (test_wrapper_env): Likewise. Use it to run globtest with HOME
14471 set together with run_via_rtld_prefix.
14472 (run_program_prefix): Define in terms of test_wrapper and
14473 run_via_rtld_prefix.
14474
6e6249d0
RM
144752012-10-24 Roland McGrath <roland@hack.frob.com>
14476
14477 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
14478 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
14479 Targets removed.
14480
14481 [BZ #14743]
14482 * include/time.h: Remove librt_hidden_proto (clock_gettime).
14483 Declare __clock_getres, __clock_gettime, __clock_settime,
14484 __clock_nanosleep, and __clock_getcpuclockid.
14485 * rt/clock_gettime.c: Define __clock_gettime as an alias.
14486 Remove librt_hidden_def (clock_gettime).
14487 * sysdeps/unix/clock_gettime.c: Likewise.
14488 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
14489 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14490 * rt/clock_getres.c: Define __clock_getres as an alias.
14491 * sysdeps/posix/clock_getres.c: Likewise.
14492 * rt/clock_settime.c: Define __clock_settime as an alias.
14493 * sysdeps/unix/clock_settime.c: Likewise.
14494 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
14495 * sysdeps/unix/clock_nanosleep.c: Likewise.
14496 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14497 * rt/clock-compat.c: New file.
14498 * rt/Makefile (librt-routines): Add clock-compat and move
14499 $(clock-routines) to ...
14500 (routines): ... here, new variable.
14501 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
14502 Don't add get_clockfreq here.
14503 * rt/Versions (libc: GLIBC_2.17): New version set.
14504 Add clock_* symbols here.
14505 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
14506 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
14507 (GLIBC_2.17): Add clock_* symbols.
14508 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14509 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14510 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14512 Likewise.
14513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14514 Likewise.
14515 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14516 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
14517 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14518 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14519 * NEWS: Mention the move.
14520
14521 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
14522 Use __open, __read, __close rather than their public counterparts.
14523 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14524 (__get_clockfreq_via_cpuinfo): Likewise.
14525 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
14526 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
14527
14528 * config.h.in (HAVE_IFUNC): New #undef.
14529 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
14530 was successful.
14531 * configure: Regenerated.
14532
0cae3f4b
MF
145332012-10-24 Mike Frysinger <vapier@gentoo.org>
14534
14535 * configure.in: Move READELF check to start of file.
14536 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
14537 libc_cv_asm_gnu_indirect_function in the process.
14538 * configure: Regenerated.
14539
8175a253
MF
145402012-10-24 Mike Frysinger <vapier@gentoo.org>
14541
14542 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
14543 send the output to /dev/null.
14544 (libc_cv_cc_with_libunwind): Likewise.
14545 (libc_cv_as_noexecstack): Likewise.
14546 * configure: Regenerate.
14547
0708a7d1
JM
145482012-10-24 Joseph Myers <joseph@codesourcery.com>
14549
10b40d85
JM
14550 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
14551
0708a7d1
JM
14552 * posix/globtest.sh (TMPDIR): Do not set.
14553 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
14554 (testout): Likewise.
14555
9fddec1a
AJ
145562012-10-24 Andreas Jaeger <aj@suse.de>
14557
3a8db22f
AJ
14558 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
14559 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
14560 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
14561 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
14562 posix_fadvise64, posix_fallocate64.
14563
9fddec1a
AJ
14564 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
14565 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
14566 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
14567 Likewise.
14568 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
14569 Likewise.
14570 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
14571
14572 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
14573 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
14574 <bits/fcntl-linux.h>.
14575 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
14576
14577 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
14578 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
14579 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
14580 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
14581 [__WORDSIZE != 64]: Likewise.
14582
ebfd1bbd
JM
145832012-10-23 Joseph Myers <joseph@codesourcery.com>
14584
03ac099f
JM
14585 * Makeconfig (run-built-tests): New variable.
14586 * Rules [$(cross-compiling) = yes]: Change condition to
14587 [$(run-built-tests) = no].
14588 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
14589 to [$(run-built-tests) = yes].
14590 * elf/Makefile [$(cross-compiling) = no]: Likewise
14591 * grp/Makefile [$(cross-compiling) = no]: Likewise.
14592 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
14593 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
14594 * intl/Makefile [$(cross-compiling) = no]: Likewise.
14595 * io/Makefile [$(cross-compiling) = no]: Likewise.
14596 * libio/Makefile [$(cross-compiling) = no]: Likewise.
14597 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
14598 * misc/Makefile [$(cross-compiling) = no]: Likewise.
14599 * posix/Makefile [$(cross-compiling) = no]: Likewise.
14600 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
14601 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
14602 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
14603 * string/Makefile [$(cross-compiling) = no]: Likewise.
14604
ebfd1bbd
JM
14605 * posix/Makefile ($(objpfx)globtest.out): Pass
14606 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
14607 $(rtld-installed-name).
14608 * posix/globtest.sh (elf_objpfx): Remove variable.
14609 (rtld_installed_name): Likewise.
14610 (library_path): Likewise.
14611 (run_program_prefix): New variable. Use for running globtest
14612 binary.
14613
166bca24
JB
146142012-10-23 Jim Blandy <jimb@codesourcery.com>
14615 Joseph Myers <joseph@codesourcery.com>
14616
14617 * Makeconfig (host-built-program-cmd): New variable.
14618 * elf/Makefile (tst-stackguard1-ARGS): Use
14619 $(host-built-program-cmd).
14620 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
14621 (tst-spawn-ARGS): Likewise.
14622 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
14623
88866099
JM
146242012-10-23 Joseph Myers <joseph@codesourcery.com>
14625 Jim Blandy <jimb@codesourcery.com>
14626
14627 * Makeconfig (run-via-rtld-prefix): New variable.
14628 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
14629 (built-program-cmd): Likewise.
14630
b4b4c296
AJ
146312012-10-22 Andreas Jaeger <aj@suse.de>
14632
14633 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
14634 __O_RSYNC if it exists, otherwise to O_SYNC.
14635
6fb54a22
JB
146362012-10-22 Jim Blandy <jimb@codesourcery.com>
14637 Joseph Myers <joseph@codesourcery.com>
14638
14639 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
14640 /dev/null.
14641 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
14642 from /dev/null
14643 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
14644 /dev/null.
14645
481b90b9
AJ
146462012-10-22 Andreas Jaeger <aj@suse.de>
14647
2a0e2669
AJ
14648 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
14649 Define always.
14650 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
14651
76e38f9a
AJ
14652 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14653 bits/fcntl-linux.h.
14654
7cd37b43
AJ
14655 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
14656 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
14657
481b90b9
AJ
14658 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
14659 to __O_LARGEFILE.
14660 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
14661 to __O_LARGEFILE.
14662
aba75984
JB
146632012-10-21 Jim Blandy <jimb@codesourcery.com>
14664 Joseph Myers <joseph@codesourcery.com>
14665
14666 * config.make.in (NM): New variable.
14667
88d4247f
AJ
146682012-10-21 Andreas Jaeger <aj@suse.de>
14669
14670 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
14671 definitions and declarations that are provided by
14672 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14673
f2eed205
L
146742012-10-20 H.J. Lu <hongjiu.lu@intel.com>
14675
14676 [BZ #14683]
14677 * elf/Makefile (tests-static): Add tst-leaks1-static.
14678 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
14679 ($(objpfx)tst-leaks1-static): New rule.
14680 ($(objpfx)tst-leaks1-static-mem): Likewise.
14681 (tst-leaks1-static-ENV): New macro.
14682 * elf/dl-open.c (dl_open_worker): Check the main application
14683 only if SHARED is defined.
14684 * elf/tst-leaks1-static.c: New file.
14685
335e6931
AJ
146862012-10-20 Andreas Jaeger <aj@suse.de>
14687
14688 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
14689 generic values for Linux.
14690 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
14691 and declarations that are provided by <bits/fcntl-linux.h> and
14692 include <bits/fcntl-linux.h>.
14693 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14694 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14695
ac5c94d3
RM
146962012-10-20 Roland McGrath <roland@hack.frob.com>
14697
14698 * io/fcntl.h: Move include of <bits/types.h> to the top and
14699 include it unconditionally.
14700
de54b33a
L
147012012-10-20 H.J. Lu <hongjiu.lu@intel.com>
14702
228cfb01
L
14703 * wcsmbs/Makefile (tests-ifunc): New variable.
14704 (tests): Add $(tests-ifunc).
14705 * wcsmbs/test-wcschr-ifunc.c: New file.
14706 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
14707 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
14708 * wcsmbs/test-wcslen-ifunc.c: Likewise.
14709 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
14710 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
14711
69f07e5f
L
14712 * string/Makefile (tests-ifunc): New variable.
14713 (tests): Add $(tests-ifunc).
14714 * string/test-memccpy.c (TEST_NAME): New macro.
14715 * string/test-memchr.c (TEST_NAME): Likewise.
14716 * string/test-memcmp.c (TEST_NAME): Likewise.
14717 * string/test-memcpy.c (TEST_NAME): Likewise.
14718 * string/test-memmem.c (TEST_NAME): Likewise.
14719 * string/test-memmove.c (TEST_NAME): Likewise.
14720 * string/test-memset.c (TEST_NAME): Likewise.
14721 * string/test-rawmemchr.c (TEST_NAME): Likewise.
14722 * string/test-stpcpy.c (TEST_NAME): Likewise.
14723 * string/test-stpncpy.c (TEST_NAME): Likewise.
14724 * string/test-strcasecmp.c (TEST_NAME): Likewise.
14725 * string/test-strcasestr.c (TEST_NAME): Likewise.
14726 * string/test-strcat.c (TEST_NAME): Likewise.
14727 * string/test-strchr.c (TEST_NAME): Likewise.
14728 * string/test-strcmp.c(TEST_NAME): Likewise.
14729 * string/test-strcpy.c (TEST_NAME): Likewise.
14730 * string/test-strcspn.c (TEST_NAME): Likewise.
14731 * string/test-strlen.c (TEST_NAME): Likewise.
14732 * string/test-strncasecmp.c (TEST_NAME): Likewise.
14733 * string/test-strncmp.c (TEST_NAME): Likewise.
14734 * string/test-strncpy.c (TEST_NAME): Likewise.
14735 * string/test-strnlen.c (TEST_NAME): Likewise.
14736 * string/test-strpbrk.c (TEST_NAME): Likewise.
14737 * string/test-strrchr.c (TEST_NAME): Likewise.
14738 * string/test-strspn.c (TEST_NAME): Likewise.
14739 * string/test-strstr.c (TEST_NAME): Likewise.
14740 * string/test-bcopy-ifunc.c: New file.
14741 * string/test-bzero-ifunc.c: Likewise.
14742 * string/test-memccpy-ifunc.c: Likewise.
14743 * string/test-memchr-ifunc.c: Likewise.
14744 * string/test-memcmp-ifunc.c: Likewise.
14745 * string/test-memcpy-ifunc.c: Likewise.
14746 * string/test-memmem-ifunc.c: Likewise.
14747 * string/test-memmove-ifunc.c: Likewise.
14748 * string/test-mempcpy-ifunc.c: Likewise.
14749 * string/test-memset-ifunc.c: Likewise.
14750 * string/test-rawmemchr-ifunc.c: Likewise.
14751 * string/test-stpcpy-ifunc.c: Likewise.
14752 * string/test-stpncpy-ifunc.c: Likewise.
14753 * string/test-strcasecmp-ifunc.c: Likewise.
14754 * string/test-strcasestr-ifunc.c: Likewise.
14755 * string/test-strcat-ifunc.c: Likewise.
14756 * string/test-strchr-ifunc.c: Likewise.
14757 * string/test-strchrnul-ifunc.c: Likewise.
14758 * string/test-strcmp-ifunc.c: Likewise.
14759 * string/test-strcpy-ifunc.c: Likewise.
14760 * string/test-strcspn-ifunc.c: Likewise.
14761 * string/test-strlen-ifunc.c: Likewise.
14762 * string/test-strncasecmp-ifunc.c: Likewise.
14763 * string/test-strncat-ifunc.c: Likewise.
14764 * string/test-strncmp-ifunc.c: Likewise.
14765 * string/test-strncpy-ifunc.c: Likewise.
14766 * string/test-strnlen-ifunc.c: Likewise.
14767 * string/test-strpbrk-ifunc.c: Likewise.
14768 * string/test-strrchr-ifunc.c: Likewise.
14769 * string/test-strspn-ifunc.c: Likewise.
14770 * string/test-strstr-ifunc.c: Likewise.
14771
de54b33a
L
14772 * debug/Makefile (tests-ifunc): New variable.
14773 (tests): Add $(tests-ifunc).
14774 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
14775 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
14776 * debug/test-stpcpy_chk-ifunc.c: New file.
14777 * debug/test-strcpy_chk-ifunc.c: Likewise.
14778
88481c16
SP
147792012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14780
14781 [BZ #13601]
14782 * elf/dl-load.c (open_verify): Retry read if the entire ELF
14783 header is not read in.
14784
135948bd
JM
147852012-10-19 Joseph Myers <joseph@codesourcery.com>
14786
89f1c388
JM
14787 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
14788 script to $(SHELL) as $<. Pass $(common-objpfx) to script
14789 directly. Pass built executable to script as
14790 $(built-program-cmd).
14791 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
14792 $testprogram without using LD_LIBRARY_PATH and $ldso.
14793
e40a0d21
JM
14794 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
14795 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
14796 $(rtld-installed-name).
14797 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
14798 (rtld_installed_name): Likewise.
14799 (library_path): Likewise.
14800 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
14801 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
14802 $(run-program-prefix) to tst-tables.sh.
14803 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
14804 it to run tst-table-from and tst-table-to.
14805 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
14806 Pass it to tst-table.sh.
14807 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
14808 $(run-program-prefix) to tst-gettext.sh.
14809 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
14810 tst-translit.sh.
14811 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
14812 tst-gettext2.sh.
14813 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
14814 to run tst-gettext.
14815 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
14816 to run tst-gettext2.
14817 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
14818 to run tst-translit.
14819 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
14820 $(run-program-prefix) to tst-mtrace.sh.
14821 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
14822 to run tst-mtrace.
14823 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
14824 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
14825 $(rtld-installed-name).
14826 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
14827 (rtld_installed_name): Likewise.
14828 (run_program_prefix): New variable. Use it to run wordexp-test.
14829
728e272a
JM
14830 * Makeconfig (ARCH): Remove all definitions.
14831 (machine): Likewise.
14832 [ARCH]: Remove conditional code.
14833 [!objdir]: Give error.
14834 [!objdir] (objpfx): Remove.
14835 [!objdir] (common-objpfx): Likewise.
14836 [!objdir] (common-objdir): Likewise.
14837 * configure.in (config_makefile): Remove. Hardcode Makefile in
14838 AC_CONFIG_FILES call.
14839 * configure: Regenerated.
14840
d528cdcf
JM
14841 [BZ #13888]
14842 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
14843 or TMPDIR.
14844 (testout): Likewise.
14845
135948bd
JM
14846 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
14847 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
14848 $(rtld-installed-name).
14849 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
14850 (rtld_installed_name): Likwise.
14851 (runit): Remove function.
14852 (run_getconf): New variable, Use it for running getconf binary.
14853
38c78296
L
148542012-10-18 H.J. Lu <hongjiu.lu@intel.com>
14855
14856 [BZ #14716]
14857 * string/test-memmem.c (check_result): New function.
14858 (do_one_test): Use it.
14859 (check1): New function.
14860 (test_main): Use it.
14861
d077f65f
MT
148622012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
14863
14864 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
14865
ced52c71
JM
148662012-10-18 Joseph Myers <joseph@codesourcery.com>
14867
14868 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
14869 (_G_LSEEK64): Likewise.
14870 (_G_MMAP64): Likewise.
14871 (_G_FSTAT64): Likewise.
14872 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
14873 (_G_LSEEK64): Likewise.
14874 (_G_MMAP64): Likewise.
14875 (_G_FSTAT64): Likewise.
14876 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
14877 unconditional. Call __mmap64 directly.
14878 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
14879 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
14880 __lseek64 directly.
14881 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
14882 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
14883 __mmap64 directly.
14884 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
14885 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
14886 __lseek64 directly.
14887 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
14888 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
14889 __lseek64 directly.
14890 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
14891 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
14892 __lseek64 directly.
14893 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
14894 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
14895 __fxstat64 directly.
14896 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
14897 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
14898 unconditional.
14899 (freopen64) [!_G_OPEN64]: Remove conditional code.
14900 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
14901 unconditional.
14902 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
14903 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
14904 unconditional.
14905 (ftello64) [!_G_LSEEK64]: Remove conditional code.
14906 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
14907 unconditional.
14908 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14909 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
14910 unconditional.
14911 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
14912 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
14913 unconditional.
14914 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14915 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
14916 unconditional.
14917 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14918 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
14919 unconditional.
14920 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14921
b741de23
SP
149222012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14923
14924 [BZ #12140]
14925 * manual/memory.texi (Malloc Tunable Parameters): Add note
14926 about free list pointers overwriting some perturb bytes.
14927 Wording suggested by Roland McGrath.
14928
f9b9d9c9
JM
149292012-10-17 Joseph Myers <joseph@codesourcery.com>
14930
14931 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
14932 (lgamma_test): Likewise.
14933 (tgamma_test): Likewise.
14934
172a631a
FW
149352012-10-16 Florian Weimer <fweimer@redhat.com>
14936
14937 [BZ #14700]
14938 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
14939 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
14940
e9f37252
MK
149412012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
14942
14943 * NEWS: Mention BZ #14716.
14944 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
14945 when removing AVAILABLE1_USES_J macro.
14946
d394eb74
L
149472012-10-12 H.J. Lu <hongjiu.lu@intel.com>
14948
14949 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
14950 (__bswap_64): __uint64_t for unsigned 64-bit int.
14951
ca38dc17
AS
149522012-10-12 Andreas Schwab <schwab@linux-m68k.org>
14953
14954 * include/string.h (memmem): Declare libc hidden alias.
14955 * string/memmem.c (memmem): Define libc hidden alias.
14956 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
14957 __read, __close instead of open, read, close.
14958
9a387d1f
L
149592012-10-11 H.J. Lu <hongjiu.lu@intel.com>
14960
ac49ecaf
L
14961 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
14962 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
14963 global and hidden.
14964 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
14965 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
14966 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
14967 Likewise.
14968 (__rawmemchr_sse2): Likewise.
14969 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
14970 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
14971 (__strchr_sse2): Likewise.
14972 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
14973 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
14974 (__strcasecmp_sse2): Likewise.
14975 (__strncasecmp_sse2): Likewise.
14976 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
14977 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
14978 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
14979 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
14980 (__strrchr_sse2): Likewise.
14981 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
14982 ifunc-impl-list.c.
14983 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14984 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14985 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14986 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14987 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14988 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14989 * sysdeps/x86_64/multiarch/memset.S: Likewise.
14990 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14991 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
14992 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
14993 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
14994 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
14995 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
14996 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14997 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14998 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14999 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
15000 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
15001 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
15002 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
15003 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
15004 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
15005 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
15006 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15007 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
15008 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15009 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
15010 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15011 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
15012 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
15013
b090e8ea
L
15014 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
15015 global and hidden.
15016 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
15017 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
15018 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
15019 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
15020 Likewise.
15021 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
15022 Likewise.
15023 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
15024 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
15025 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
15026 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
15027 ifunc-impl-list.c.
15028 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15029 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15030 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15031 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15032 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15033 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15034 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15035 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15036 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15037 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15038 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15039 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15040 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15041 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
15042 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
15043 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15044 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
15045 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
15046 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15047 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15048 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15049 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15050 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15051 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15052 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15053 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
15054 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
15055 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
15056 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
15057 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15058 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
15059 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15060 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15061 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
15062 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15063 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15064 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15065 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15066 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15067 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15068 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
15069
11dd4af6
L
15070 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
15071 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
15072 * include/ifunc-impl-list.h: New file.
15073 * misc/ifunc-impl-list.c: Likewise.
15074 * misc/Makefile (routines): Add ifunc-impl-list.
15075 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
15076 * string/test-string.h: Include <ifunc-impl-list.h>.
15077 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
15078 impl_array): New variables.
15079 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
15080 are defined.
15081 (test_init): Call __libc_ifunc_impl_list to initialize
15082 func_list if TEST_IFUNC and TEST_NAME are defined.
15083
9a387d1f
L
15084 * string/Makefile (strop-tests): Add bcopy and bzero.
15085 * string/test-bcopy.c: New file.
15086 * string/test-bzero.c: Likewise.
15087 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
15088 defined.
15089 * string/test-memset.c: Support bzero test if TEST_BZERO is
15090 defined.
15091 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
15092 __libc_memmove.
15093 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
15094 __libc_memset.
15095 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
15096 of memset.
15097
472371b9
JM
150982012-10-10 Joseph Myers <joseph@codesourcery.com>
15099
1e4a9536
JM
15100 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
15101 * configure: Regenerated.
15102
d173d12e
JM
15103 * Makeconfig (+link-static-before-libc): Don't include
15104 $(link-static-libc).
15105
472371b9
JM
15106 * libio/libio.h (_IO_pos_t): Remove.
15107
89a3ad0b
AO
151082012-10-10 Alexandre Oliva <aoliva@redhat.com>
15109
15110 * NEWS: Add note about FIPS mode. Wording suggested by Roland
15111 McGrath.
15112
e7451425
AO
151132012-10-10 Alexandre Oliva <aoliva@redhat.com>
15114
15115 * crypt/crypt-entry.c: Include fips-private.h.
15116 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
15117 * crypt/md5c-test.c (main): Tolerate disabled MD5.
15118 * sysdeps/unix/sysv/linux/fips-private.h: New file.
15119 * sysdeps/generic/fips-private.h: New file, dummy fallback.
15120
4ba74a35
AO
151212012-10-10 Alexandre Oliva <aoliva@redhat.com>
15122
15123 * crypt/crypt-private.h: Include stdbool.h.
15124 (_ufc_setup_salt_r): Return bool.
15125 * crypt/crypt-entry.c: Include errno.h.
15126 (__crypt_r): Return NULL with EINVAL for bad salt.
15127 * crypt/crypt_util.c (bad_for_salt): New.
15128 (_ufc_setup_salt_r): Check that salt is long enough and within
15129 the specified alphabet.
15130 * crypt/badsalttest.c: New file.
15131 * crypt/Makefile (tests): Add it.
15132 ($(objpfx)badsalttest): New.
15133
f96f1242
MK
151342012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
15135
15136 * NEWS: Add entry for BZ #14602.
15137
0e8e0c1c
JM
151382012-10-09 Joseph Myers <joseph@codesourcery.com>
15139
15140 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
15141 type-generic.
15142 * math/libm-test.inc: Update comment listing what functions and
15143 macros are tested.
15144 (isgreater_test): New function.
15145 (isgreaterequal_test): Likewise.
15146 (isless_test): Likewise.
15147 (islessequal_test): Likewise.
15148 (islessgreater_test): Likewise.
15149 (isunordered_test): Likewise.
15150 (main): Call the new functions.
15151
273edc5e
RM
151522012-10-09 Roland McGrath <roland@hack.frob.com>
15153
b8493de0
RM
15154 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
15155 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
15156 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
15157 * sysdeps/i386/configure: Regenerated.
15158 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
15159 * sysdeps/mach/configure: Regenerated.
15160 * sysdeps/mach/hurd/configure: Regenerated.
15161 * sysdeps/powerpc/configure: Regenerated.
15162 * sysdeps/powerpc/powerpc32/configure: Regenerated.
15163 * sysdeps/powerpc/powerpc64/configure: Regenerated.
15164 * sysdeps/s390/s390-32/configure: Regenerated.
15165 * sysdeps/s390/s390-64/configure: Regenerated.
15166 * sysdeps/sh/configure: Regenerated.
15167 * sysdeps/sparc/configure: Regenerated.
15168 * sysdeps/unix/sysv/linux/configure: Regenerated.
15169 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
15170 * sysdeps/x86_64/configure: Regenerated.
15171
273edc5e
RM
15172 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
15173 defined. Don't check if MAP is NULL.
15174
c8450f70
JM
151752012-10-09 Joseph Myers <joseph@codesourcery.com>
15176
15177 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
15178 (_G_stat64): Likewise.
15179 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
15180 (_G_stat64): Likewise.
15181 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
15182 instead of struct _G_stat64.
15183 * libio/fileops.c (mmap_remap_check): Likewise.
15184 (decide_maybe_mmap): Likewise.
15185 (_IO_new_file_seekoff): Likewise.
15186 (_IO_file_stat): Likewise.
15187 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
15188 _G_off64_t.
15189 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
15190 instead of struct _G_stat64.
15191 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15192
57e605ba
MK
151932012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
15194
15195 [BZ #14602]
15196 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15197 Replace with ...
15198 (CHECK_EOL): New macro.
15199 (two_way_short_needle): Check beginning of haystack for EOL. Use
15200 CHECK_EOL.
15201 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15202 Replace with CHECK_EOL.
15203 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15204 Replace with CHECK_EOL.
15205
ef1bb361
JM
152062012-10-08 Joseph Myers <joseph@codesourcery.com>
15207
15208 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
15209 type-generic.
15210 * math/libm-test.inc: Update comment listing what functions and
15211 macros are tested.
15212 (finite_test): New function.
15213 (isinf_test): Likewise.
15214 (isnan_test): Likewise.
15215 (fpclassify_test): Test subnormal input.
15216 (isfinite_test): Likewise.
15217 (isnormal_test): Likewise.
15218 (main): Call the new functions.
15219
55f11534
JN
152202012-10-08 Jonathan Nieder <jrnieder@gmail.com>
15221
15222 [BZ #14660]
15223 * Makerules (%.dynsym): Force C locale when running
15224 $(OBJDUMP) --dynamic-syms.
15225
1ab29350
AS
152262012-10-08 Andreas Schwab <schwab@linux-m68k.org>
15227
15228 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
15229 <stdint.h>.
15230
f1ecb7ef
DM
152312012-10-06 David S. Miller <davem@davemloft.net>
15232
15233 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
15234 upper 32-bits of the length value in %o2 since we use branch-on-register
15235 tests which consider the entire 64-bit register.
15236
5d41d91a
L
152372012-10-06 H.J. Lu <hongjiu.lu@intel.com>
15238
15239 * string/test-strstr.c (check2): Add a test for page boundary.
15240
3baddb72
DM
152412012-10-05 David S. Miller <davem@davemloft.net>
15242
15243 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
15244 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
15245 file.
15246 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15247 sysdep_routines.
15248 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15249 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
15250 and bzero when HWCAP_SPARC_CRYPTO is present.
15251
9cee5585
L
152522012-10-05 H.J. Lu <hongjiu.lu@intel.com>
15253
d7e0dab9
L
15254 [BZ #14602]
15255 * string/test-strstr.c (check2): New function.
15256 (test_main): Call check2.
15257
03759f47
L
15258 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
15259 and bug-strchr1.
15260 * string/bug-strcasestr1.c (do_test): Moved to ...
15261 * string/test-strcasestr.c (check1): Here. New function.
15262 (do_one_test): Break out result checking code into ...
15263 (check_result): This. New function.
15264 (do_one_test): Call check_result.
15265 (test_main): Call check1.
15266 * string/bug-strchr1.c (do_test): Moved to ...
15267 * string/test-strchr.c (check1): Here. New function.
15268 (do_one_test): Break out result checking code into ...
15269 (check_result): This. New function.
15270 (do_one_test): Call check_result.
15271 (test_main): Call check1.
15272 * string/bug-strstr1.c (main): Moved to ...
046f153e 15273 * string/test-strstr.c (check1): Here. New function.
03759f47
L
15274 (do_one_test): Break out result checking code into ...
15275 (check_result): This. New function.
15276 (do_one_test): Call check_result.
15277 (test_main): Call check1.
15278 * string/bug-strcasestr1.c: Removed.
15279 * string/bug-strchr1.c: Likewise.
15280 * string/bug-strstr1.c: Likewise.
15281
53cea63e
L
15282 * elf/Makefile (dl-routines): Add hwcaps.
15283 * elf/dl-support.c (_dl_important_hwcaps): Removed.
15284 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
15285 (_dl_important_hwcaps): Moved to ...
15286 * elf/dl-hwcaps.c: Here. New file.
15287 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
15288
9cee5585 15289 [BZ #14557]
bb859b06
L
15290 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
15291 if IS_IN_rtld isn't defined.
15292
9cee5585
L
15293 * elf/dl-support.c (_dl_sysinfo_map): New.
15294 Include "get-dynamic-info.h" and "setup-vdso.h".
15295 (_dl_non_dynamic_init): Call setup_vdso.
15296 * elf/dynamic-link.h: Don't include <assert.h>.
15297 (elf_get_dynamic_info): Moved to ...
15298 * elf/get-dynamic-info.h: Here. New file.
15299 * elf/dynamic-link.h: Include "get-dynamic-info.h".
15300 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
15301 * elf/setup-vdso.h: Here. New file.
15302 * elf/rtld.c: Include "setup-vdso.h".
15303 (dl_main): Call setup_vdso.
15304
23c31b76
JM
153052012-10-05 Joseph Myers <joseph@codesourcery.com>
15306
28234b07
JM
15307 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
15308 creal in comment listing functions tested. List finite, isinf,
15309 isnan, isless, islessequal, isgreater, isgreaterequal,
15310 islessgreater, isunordered, lgamma_r and pow10 as functions and
15311 macros not tested. Mention which functions not tested are aliases
15312 for other functions. Fix typo. Note that signs of NaNs are not
15313 tested.
15314
23c31b76
JM
15315 * scripts/config.guess: Update from config.git.
15316 * scripts/config.sub: Likewise.
15317
9043e228
RM
153182012-10-04 Roland McGrath <roland@hack.frob.com>
15319
15320 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
15321 * misc/madvise.c (madvise): Renamed to __madvise.
15322 Make madvise a weak alias.
15323 * include/sys/mman.h: Declare __madvise.
15324 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
15325 * sysdeps/unix/syscalls.list
15326 (madvise): Make __madvise the strong name, and madvise a weak alias.
15327 * sysdeps/unix/sysv/linux/syscalls.list
15328 (madvise, mmap): Remove redundant entries.
15329 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
15330 * malloc/malloc.c (mtrim): Likewise.
15331 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
15332
f57f8055
RM
153332012-10-03 Roland McGrath <roland@hack.frob.com>
15334
15335 * sysdeps/mach/hurd/dl-cache.c: File removed.
15336 * config.h.in (USE_LDCONFIG): New #undef.
15337 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
15338 * configure: Regenerated.
15339 * elf/Makefile (dl-routines): Add dl-cache only under
15340 [$(use-ldconfig) = yes].
15341 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
15342 cache on [USE_LDCONFIG].
15343 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
15344 [USE_LDCONFIG].
15345 * elf/rtld.c (dl_main): Likewise.
15346
5bb0c10a
PT
153472012-10-03 Pino Toscano <toscano.pino@tiscali.it>
15348
15349 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
15350 _SC_LEVEL4_CACHE_LINESIZE.
15351
010188c6
RM
153522012-10-03 Roland McGrath <roland@hack.frob.com>
15353
15354 * sysdeps/unix/bsd/confstr.h: File removed.
15355
b6c5ec07
AO
153562012-10-02 Alexandre Oliva <aoliva@redhat.com>
15357
15358 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
15359 sys/sdt-config.h.
15360
408223d4
RM
153612012-10-02 Roland McGrath <roland@hack.frob.com>
15362
15363 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
15364 Make 'mapoff' field ElfW(Off) rather than off_t.
15365
bb9510dc
DL
153662012-10-02 Dmitry V. Levin <ldv@altlinux.org>
15367
fc997c6e
DL
15368 * nscd/Makefile: Remove nscd-cflags and all its users.
15369 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
15370 (CFLAGS-nonlib): Add compiler flags for nscd modules.
15371
bb9510dc
DL
15372 [BZ #10631]
15373 * malloc.c (malloc_printerr): Clarify error message.
15374
05699367
L
153752012-10-02 H.J. Lu <hongjiu.lu@intel.com>
15376
15377 [BZ #14648]
15378 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15379 Set bit_FMA_Usable if FMA is supported.
15380 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
15381 macro.
15382 (bit_FMA4_Usable): Updated.
15383 (index_FMA_Usable): New macro.
15384 (CPUID_FMA): Likewise
15385 (HAS_FMA): Defined with bit_FMA_Usable.
15386
51367701
RM
153872012-10-01 Roland McGrath <roland@hack.frob.com>
15388
15389 * bits/types.h (__swblk_t): Type removed.
15390 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
15391 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
15392 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15393 (__SWBLK_T_TYPE): Likewise.
15394 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15395 (__SWBLK_T_TYPE): Likewise.
15396 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15397 (__SWBLK_T_TYPE): Likewise.
15398 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15399 (__SWBLK_T_TYPE): Likewise.
15400
4d57bf63 154012012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 15402 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
15403
15404 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
15405 (xdr_mapname): Use YPMAXMAP as maxsize.
15406 (xdr_peername): Use YPMAXPEER as maxsize.
15407 (xdr_keydat): Use YPAXRECORD as maxsize.
15408 (xdr_valdat): Use YPMAXRECORD as maxsize.
15409
93c65d43
RM
154102012-10-01 Roland McGrath <roland@hack.frob.com>
15411
497a03d6
RM
15412 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
15413
93c65d43
RM
15414 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
15415 * csu/init-first.c: ... here.
15416 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
15417 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
15418 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
15419 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15420 * sysdeps/i386/init-first.c: File removed.
15421 * sysdeps/sh/init-first.c: File removed.
15422
bec749fd
JM
154232012-10-01 Joseph Myers <joseph@codesourcery.com>
15424
15425 [BZ #14645]
15426 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
15427 if x * y might underflow to zero and z is zero.
15428 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15429 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15430 * math/libm-test.inc (min_subnorm_value): New variable.
15431 (fma_test): Add more tests.
15432 (fma_test_towardzero): Likewise.
15433 (fma_test_downward): Likewise
15434 (fma_test_upward): Likewise.
15435 (initialize): Set min_subnorm_value.
15436
8ec5b013
JM
154372012-09-29 Joseph Myers <joseph@codesourcery.com>
15438
15439 [BZ #14638]
15440 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
15441 0 + 0.
15442 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
15443 mode for addition resulting in exact zero.
15444 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
15445 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
15446 exact 0 + 0.
15447 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15448 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15449 * math/libm-test.inc (fma_test): Add more tests.
15450 (fma_test_towardzero): New function.
15451 (fma_test_downward): Likewise.
15452 (fma_test_upward): Likewise.
15453 (main): Call the new functions.
15454
b1fa802e
DM
154552012-09-28 David S. Miller <davem@davemloft.net>
15456
15457 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
15458
d3b9fd9e
RM
154592012-09-28 Roland McGrath <roland@hack.frob.com>
15460
ea4d37b3
RM
15461 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
15462 instead of SIGALRM.
15463
ac51c949
RM
15464 * sysdeps/gnu/_G_config.h: Moved to ...
15465 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
15466 * sysdeps/mach/hurd/_G_config.h: Moved to ...
15467 * sysdeps/generic/_G_config.h: ... here.
15468
28c195f7
RM
15469 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
15470
848917f9
RM
15471 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
15472
6bacf05b
RM
15473 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
15474 Conditionalize target on [libnss_test1.so-version].
15475
91363dbb
RM
15476 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
15477
cc87f7d8
RM
15478 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
15479 (elfobjdir): Move out of conditionals.
15480
b1c608fe
RM
15481 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
15482 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
15483 (__nss_lookup_function): Conditionalize label remove_from_tree on
15484 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 15485
1d9a6d96
DM
154862012-09-28 David S. Miller <davem@davemloft.net>
15487
15488 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
15489 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
15490 file.
15491 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15492 sysdep_routines.
15493 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15494 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
15495 when HWCAP_SPARC_CRYPTO is present.
15496
72581615
PT
154972012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15498
15499 * io/tst-mknodat.c: Create a FIFO instead of a socket.
15500
715a900c
JL
155012012-09-28 Andreas Schwab <schwab@linux-m68k.org>
15502
15503 [BZ #6530]
15504 * stdio-common/vfprintf.c (process_string_arg): Revert
15505 2000-07-22 change.
15506
155072011-09-28 Jonathan Nieder <jrnieder@gmail.com>
15508
15509 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
15510 for testcase.
15511 * stdio-common/tst-sprintf.c: Include <locale.h>
15512 (main): Test sprintf's handling of incomplete multibyte
15513 characters.
15514
9bac1d86
L
155152012-09-28 H.J. Lu <hongjiu.lu@intel.com>
15516
15517 * elf/dl-runtime.c (VERSYMIDX): Removed.
15518 * elf/dl-version.c (VERSYMIDX): Likewise.
15519 * elf/do-rel.h (VERSYMIDX): Likewise.
15520 (VALIDX): Likewise.
15521 * elf/dynamic-link.h (VERSYMIDX): Likewise.
15522 * elf/rtld.c (VALIDX): Likewise.
15523 (ADDRIDX): Likewise.
9bac1d86
L
15524 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
15525 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
15526 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
15527 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
15528 (VALIDX): Likewise.
15529 (ADDRIDX): Likewise.
9bac1d86 15530
b31606c0
PT
155312012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15532
15533 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
15534
11541177
JL
155352012-09-28 Dmitry V. Levin <ldv@altlinux.org>
15536
15537 [BZ #11438]
15538 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
15539 to global scope.
15540 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
15541 addresses are in the same scope as 192.0.2/24.
15542 * posix/gai.conf: Document new scope table defaults.
15543
adb26fae
SP
155442012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15545
15546 [BZ #5298]
15547 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
15548 for ftell. Compute offsets from write pointers instead.
15549 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15550
4573c6b0
SP
155512012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15552
15553 [BZ #14543]
15554 * libio/Makefile (tests): New test case tst-fseek.
15555 * libio/tst-fseek.c: New test case to verify that fseek/ftell
15556 combination works in wide mode.
15557 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
15558 state when the external buffer state changes.
15559
aa9bbfe6
DM
155602012-09-27 David S. Miller <davem@davemloft.net>
15561
15562 [BZ #14376]
15563 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
15564 pass reloc->r_addend in as the 'high' argument to
15565 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
15566
784421e7
DM
15567 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15568
c39bc8b8
PT
155692012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15570
15571 * rt/tst-aio2.c: Include <pthread.h>.
15572 * rt/tst-aio3.c: Likewise.
15573
1ccc2399
SE
155742012-09-27 Steve Ellcey <sellcey@mips.com>
15575
15576 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
15577
31ed4153
L
155782012-09-27 H.J. Lu <hongjiu.lu@intel.com>
15579
25f5f885
L
15580 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
15581 contents on [SHARED].
31ed4153 15582
b7bfe116
MP
155832012-09-26 Marek Polacek <polacek@redhat.com>
15584
15585 [BZ #14530]
15586 [BZ #13741]
15587 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
15588 for C++ and GCC <4.3 as well as for non GCC compilers.
15589
43c4edba
MT
155902012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15591
15592 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15593
6a1bf82f
RM
155942012-09-25 Roland McGrath <roland@hack.frob.com>
15595
15596 * Makefile.in (all, install): Declare with .PHONY.
15597 Reported by Michael Hope <michael.hope@linaro.org>.
15598
8ad11b9a
TMQMF
155992012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15600
15601 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
15602 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
15603 system header.
15604 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
15605 Likewise.
15606 (sydep_routines): Add the new and the internal functions.
15607 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
15608 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
15609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
15610 (GLIBC_2.17): Add the new function.
15611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15612 (GLIBC_2.17): Likewise.
15613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
15614 (GLIBC_2.17): Likewise.
15615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
15616 (GLIBC_2.17): Likewise.
15617 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
15618
7e2fca8d
AM
156192012-09-25 Alan Modra <amodra@gmail.com>
15620
15621 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
15622 Add release barrier before setting once_control to say
15623 initialisation is done. Add hints on lwarx. Use macro in
15624 place of isync.
15625 (clear_once_control): Add release barrier.
15626
b87c4b24
JM
156272012-09-25 Joseph Myers <joseph@codesourcery.com>
15628
d032e0d2
JM
15629 [BZ #13629]
15630 * math/s_clog.c (__clog): Handle more values close to |z| = 1
15631 specially.
15632 * math/s_clog10.c (__clog10): Likewise.
15633 * math/s_clog10f.c (__clog10f): Likewise.
15634 * math/s_clog10l.c (__clog10l): Likewise.
15635 * math/s_clogf.c (__clogf): Likewise.
15636 * math/s_clogl.c (__clogl): Likewise.
15637 * math/Makefile (libm-calls): Add x2y2m1.
15638 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
15639 (__x2y2m1): Likewise.
15640 (__x2y2m1l): Likewise.
15641 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
15642 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
15643 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15644 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15645 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
15646 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
15647 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
15648 * sysdeps/i386/fpu/libm-test-ulps: Update.
15649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15650
b87c4b24
JM
15651 [BZ #14621]
15652 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
15653 int as type of variable DEPTH.
15654 (glob): Use size_t instead of int as type of variables NEWCOUNT
15655 and OLD_PATHC.
15656
6d3bf199
LD
156572012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15658
22bf5c17
LD
15659 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15660 Add s_sincosf-sse2.
15661 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
15662 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
15663 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
15664 macros for using routine as __sincosf_ia32.
15665 Use macro for function declaration and weak_alias.
15666 * sysdeps/i386/fpu/libm-test-ulps: Update.
15667
15668 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
15669 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15670
15671 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
15672 subnormal argument.
15673 * math/s_cexpf.c (__cexpf): Likewise.
15674 * math/s_csinf.c (__csinf): Likewise.
15675 * math/s_csinhf.c (__csinhf): Likewise.
15676 * math/s_ctanf.c (__ctanf): Likewise.
15677 * math/s_ctanhf.c (__ctanhf): Likewise.
15678 * math/s_ccosh.c (__ccoshf): Likewise.
15679 * math/s_cexp.c (__cexpl): Likewise.
15680 * math/s_csin.c (__csin): Likewise.
15681 * math/s_csinh.c (__csinh): Likewise.
15682 * math/s_ctan.c (__ctan): Likewise.
15683 * math/s_ctanh.c (ctanh): Likewise.
15684 * math/s_ccoshl.c (__ccoshl): Likewise.
15685 * math/s_cexpl.c (__cexpl): Likewise.
15686 * math/s_csinl.c (__csinl): Likewise.
15687 * math/s_csinhl.c (__csinhl): Likewise.
15688 * math/s_ctanl.c (__ctanl): Likewise.
15689 * math/s_ctanhl.c (__ctanhl): Likewise.
15690
203e5603
JM
156912012-09-25 Joseph Myers <joseph@codesourcery.com>
15692
15693 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
15694 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
15695 (_IO_off_t): Define to __off_t, not _G_off_t.
15696 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
15697 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
15698 (_IO_wint_t): Define to wint_t, not _G_wint_t.
15699 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
15700 type of __dummy and __dummy2 fields.
15701 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
15702 (_G_ssize_t): Likewise.
15703 (_G_off_t): Likewise.
15704 (_G_pid_t): Likewise.
15705 (_G_uid_t): Likewise.
15706 (_G_wchar_t): Likewise.
15707 (_G_wint_t): Likewise.
15708 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
15709 (_G_ssize_t): Likewise.
15710 (_G_off_t): Likewise.
15711 (_G_pid_t): Likewise.
15712 (_G_uid_t): Likewise.
15713 (_G_wchar_t): Likewise.
15714 (_G_wint_t): Likewise.
15715 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
15716 (_G_ssize_t): Likewise.
15717 (_G_off_t): Likewise.
15718 (_G_pid_t): Likewise.
15719 (_G_uid_t): Likewise.
15720 (_G_wchar_t): Likewise.
15721 (_G_wint_t): Likewise.
15722
9fab36eb
SP
157232012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15724
15725 * malloc/arena.c: Include malloc-sysdep.h.
15726 (shrink_heap): Use check_may_shrink_heap to decide if madvise
15727 is sufficient to shrink the heap or an unmap is needed.
15728 * sysdeps/generic/malloc-sysdep.h: New file. Define
15729 new function check_may_shrink_heap.
15730 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
15731 new function check_may_shrink_heap.
15732
2b4f00d1
SP
157332012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15734
15735 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
15736 comments.
15737
9a9028b1
DL
157382012-09-24 Dmitry V. Levin <ldv@altlinux.org>
15739
57c69bef
DL
15740 * catgets/test-gencat.sh: Add "set -e".
15741 * elf/tst-pathopt.sh: Likewise.
15742 * grp/tst_fgetgrent.sh: Likewise.
15743 * iconvdata/run-iconv-test.sh: Likewise.
15744 * intl/tst-gettext.sh: Likewise.
15745 * intl/tst-gettext2.sh: Likewise.
15746 * intl/tst-gettext4.sh: Likewise.
15747 * intl/tst-gettext6.sh: Likewise.
15748 * intl/tst-translit.sh: Likewise.
15749 * io/ftwtest-sh: Likewise.
15750 * libio/test-freopen.sh: Likewise.
15751 * malloc/tst-mtrace.sh: Likewise.
15752 * posix/globtest.sh: Likewise.
15753 * posix/tst-getconf.sh: Likewise.
15754 * posix/wordexp-tst.sh: Likewise.
15755 * stdio-common/tst-printf.sh: Likewise.
15756 * stdio-common/tst-unbputc.sh: Likewise.
15757 * stdlib/tst-fmtmsg.sh: Likewise.
15758 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15759 * catgets/Makefile: Do not specify -e option when running
15760 testsuite shell scripts.
15761 * elf/Makefile: Likewise.
15762 * grp/Makefile: Likewise.
15763 * iconvdata/Makefile: Likewise.
15764 * intl/Makefile: Likewise.
15765 * io/Makefile: Likewise.
15766 * libio/Makefile: Likewise.
15767 * malloc/Makefile: Likewise.
15768 * posix/Makefile: Likewise.
15769 * stdio-common/Makefile: Likewise.
15770 * stdlib/Makefile: Likewise.
15771 * sysdeps/x86_64/Makefile: Likewise.
15772
9a9028b1
DL
15773 * io/ftwtest-sh: Add copyright header.
15774 * posix/globtest.sh: Likewise.
15775 * posix/tst-getconf.sh: Likewise.
15776 * posix/wordexp-tst.sh: Likewise.
15777 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15778
ced6f16e
L
157792012-09-24 H.J. Lu <hongjiu.lu@intel.com>
15780
94b32c39
L
15781 [BZ #13679]
15782 * Makeconfig (+link): Defined as $(+link-static) if
15783 $(build-shared) isn't yes.
15784 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
15785 isn't yes.
15786 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
15787
189e935b
L
15788 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
15789
ced6f16e
L
15790 [BZ #14562]
15791 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
15792 new chunk size with MALLOC_ALIGN_MASK.
15793
a9f8e53a
JM
157942012-09-24 Joseph Myers <joseph@codesourcery.com>
15795
15796 [BZ #5044]
15797 * stdio-common/printf_fphex.c: Include <stdbool.h> and
15798 <rounding-mode.h>.
15799 (__printf_fphex): Determine rounding using get_rounding_mode and
15800 round_away.
15801 * stdio-common/tst-printf-round.c (struct hex_test): New
15802 structure.
15803 (hex_tests): New variable.
15804 (test_hex_in_one_mode): New function.
15805 (do_test): Also run tests for hex float output.
15806
43153109
JM
158072012-09-21 Joseph Myers <joseph@codesourcery.com>
15808
15809 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15810 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15811 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
15812 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15813 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15814 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
15815 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15816 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15817
8a26625d
JM
158182012-09-20 Joseph Myers <joseph@codesourcery.com>
15819
15820 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
15821 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
15822 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
15823 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
15824
f3fd569c
DL
158252012-09-19 Dmitry V. Levin <ldv@altlinux.org>
15826
15827 [BZ #14579]
15828 * elf/rtld.c (dl_main): Limit the check for self loading to normal
15829 mode only.
15830 * elf/tst-rtld-load-self.sh: New test.
15831 * elf/Makefile: Run it.
15832
63bbedd4
JM
158332012-09-18 Joseph Myers <joseph@codesourcery.com>
15834
15835 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
15836 (tst-writev-ENV): Remove.
15837 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
15838
626f8b6a
CM
158392012-09-17 Chris Metcalf <cmetcalf@tilera.com>
15840
15841 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
15842
b7aaa4d6
JM
158432012-09-17 Joseph Myers <joseph@codesourcery.com>
15844
15845 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
15846 unconditional.
15847 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
15848 Likewise.
15849 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
15850 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
15851 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
15852 Likewise.
15853
65513990
L
158542012-09-14 H.J. Lu <hongjiu.lu@intel.com>
15855
15856 [BZ #14587]
15857 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
15858 * config.make.in (have-cpp-asm-debuginfo): Removed.
15859 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
15860 * configure: Regenerated.
15861
784761be
JM
158622012-09-14 Joseph Myers <joseph@codesourcery.com>
15863
15864 [BZ #5044]
15865 * stdio-common/printf_fp.c: Include <stdbool.h> and
15866 <rounding-mode.h>.
15867 (___printf_fp): Determine rounding using get_rounding_mode and
15868 round_away.
15869 * stdio-common/tst-printf-round.c: New file.
15870 * stdio-common/Makefile (tests): Add tst-printf-round.
15871 (link-libm): New variable.
15872 ($(objpfx)tst-printf-round): Depend in $(link-libm).
15873
9503345f
L
158742012-09-13 H.J. Lu <hongjiu.lu@intel.com>
15875
15876 [BZ #14576]
15877 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
15878 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
15879 Likewise.
15880 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
15881 Likewise.
15882
ad35fc00
JM
158832012-09-13 Joseph Myers <joseph@codesourcery.com>
15884
15885 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
15886 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15887 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15888 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15889
6c9b0f68
JM
158902012-09-12 Joseph Myers <joseph@codesourcery.com>
15891
15892 [BZ #14518]
15893 * include/rounding-mode.h: New file.
15894 * sysdeps/generic/get-rounding-mode.h: Likewise.
15895 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
15896 * stdlib/strtod_l.c: Include <rounding-mode.h>.
15897 (MAX_VALUE): New macro.
15898 (MIN_VALUE): Likewise.
15899 (overflow_value): New function.
15900 (underflow_value): Likewise.
15901 (round_and_return): Use overflow_value and underflow_value to
15902 determine return values in overflow and underflow cases. Use
15903 round_away to determine rounding depending on rounding mode.
15904 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
15905 determine return values in overflow and underflow cases.
15906 * stdlib/tst-strtod-round.c: Include <fenv.h>.
15907 (struct test_results): New structure.
15908 (struct test): Use struct test_results to store expected results
15909 for all rounding modes.
15910 (TEST): Include expected results for all rounding modes.
15911 (test_in_one_mode): New function.
15912 (do_test): Use test_in_one_mode to compute and check results.
15913 Check results for all rounding modes.
15914 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
15915 $(link-libm).
15916
19fcedd5
AM
159172012-12-09 Allan McRae <allan@archlinux.org>
15918
1e9d84cd 15919 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 15920
8bbfd2f1
JM
159212012-09-11 Joseph Myers <joseph@codesourcery.com>
15922
15923 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
15924 (_G_int32_t): Likewise.
15925 (_G_uint16_t): Likewise.
15926 (_G_uint32_t): Likewise.
15927 (_G_HAVE_BOOL): Likewise.
15928 (_G_HAVE_ATEXIT): Likewise.
15929 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15930 (_G_HAVE_IO_FILE_OPEN): Likewise.
15931 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
15932 (_G_int32_t): Likewise.
15933 (_G_uint16_t): Likewise.
15934 (_G_uint32_t): Likewise.
15935 (_G_HAVE_BOOL): Likewise.
15936 (_G_HAVE_ATEXIT): Likewise.
15937 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15938 (_G_HAVE_IO_FILE_OPEN): Likewise.
15939 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
15940 (_G_int32_t): Likewise.
15941 (_G_uint16_t): Likewise.
15942 (_G_uint32_t): Likewise.
15943 (_G_HAVE_BOOL): Likewise.
15944 (_G_HAVE_ATEXIT): Likewise.
15945 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15946 (_G_HAVE_IO_FILE_OPEN): Likewise.
15947
b1dc5912
L
159482012-09-11 H.J. Lu <hongjiu.lu@intel.com>
15949
15950 * csu/libc-tls.c: Update copyright years.
15951
0e886ef9
JM
159522012-09-10 Joseph Myers <joseph@codesourcery.com>
15953
28361c5e
JM
15954 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
15955 [!_G_USING_THUNKS]: Remove conditional code.
15956 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
15957 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
15958
0e886ef9
JM
15959 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
15960 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
15961 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15962 (_G_VTABLE_LABEL_PREFIX): Likewise.
15963 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15964 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15965 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15966 (_G_VTABLE_LABEL_PREFIX): Likewise.
15967 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15968 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15969 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15970 (_G_VTABLE_LABEL_PREFIX): Likewise.
15971 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15972
bcba7aa2
L
159732012-09-10 H.J. Lu <hongjiu.lu@intel.com>
15974
15975 * libio/Makefile: Include ../Makeconfig before tests.
15976 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
15977 only if $(build-shared) is yes.
15978
06585ee8
L
15979 * iconv/gconv_db.c: Update copyright years.
15980
80ccd52c
LD
159812012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15982
15983 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
15984 unwind info if defined PIC. Fix special cases description.
15985 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
15986
15987 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
15988 DP_HI_MASK entry.
15989 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
15990
691bc9c1
L
159912012-09-07 H.J. Lu <hongjiu.lu@intel.com>
15992
3d9b46b3
L
15993 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
15994
de2139a9
L
15995 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
15996 is NULL.
15997
5ca78dd0
L
15998 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
15999 (LDLIBS-tst-chk4): This.
16000 (LDFLAGS-tst-chk5): Renamed to ...
16001 (LDLIBS-tst-chk5): This.
16002 (LDFLAGS-tst-chk6): Renamed to ...
16003 (LDLIBS-tst-chk6): This.
16004 (LDFLAGS-tst-lfschk4): Renamed to ...
16005 (LDLIBS-tst-lfschk4): This.
16006 (LDFLAGS-tst-lfschk5): Renamed to ...
16007 (LDLIBS-tst-lfschk5): This.
16008 (LDFLAGS-tst-lfschk6): Renamed to ...
16009 (LDLIBS-tst-lfschk6): This.
16010
691bc9c1
L
16011 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
16012 on $(common-objpfx)soversions.mk.
16013
65cafb1c
JM
160142012-09-07 Joseph Myers <joseph@codesourcery.com>
16015
16016 [BZ #10014]
16017 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
16018 example host name.
16019
c78ab094
SP
160202012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16021
16022 * malloc/arena.c (arena_get_retry): New function that gets
16023 another arena for the caller to try its request on.
16024 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
16025 current arena cannot fulfill the request.
16026 (__libc_memalign): Likewise.
16027 (__libc_memalign): Likewise.
16028 (__libc_pvalloc): Likewise.
16029 (__libc_calloc): Likewise.
16030
01f49f59
JT
160312012-09-05 John Tobey <john.tobey@gmail.com>
16032
16033 [BZ #13542]
16034 * manual/arith.texi (Operations on Complex): Fix description
16035 of carg branch cut.
16036
4c23fed5
JM
160372012-09-06 Joseph Myers <joseph@codesourcery.com>
16038
1d3c8572
JM
16039 [BZ #10014]
16040 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
16041 host name.
16042
4c23fed5
JM
16043 [BZ #10038]
16044 * manual/memory.texi (Memory): Make order of menu items match
16045 order of sections.
16046
04570aaa
L
160472012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16048
16049 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
16050 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
16051 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
16052
b80af2f4
L
160532012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16054
16055 * csu/libc-tls.c (static_dtv): Renamed to ...
16056 (_dl_static_dtv): This. Make it global.
16057 (_dl_initial_dtv): Removed.
16058 (__libc_setup_tls): Updated.
16059 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
16060 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
16061 DL_INITIAL_DTV.
16062
2abe9f15
PM
160632012-09-06 Petr Machata <pmachata@redhat.com>
16064
16065 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
16066 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
16067 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
16068 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
16069
0948c3af
L
160702012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16071
16072 [BZ #14545]
16073 * csu/libc-tls.c (_dl_initial_dtv): New variable.
16074 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
16075 freeing dtv[-1].
16076
a5055ad1
L
160772012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16078
16079 [BZ #14544]
16080 * Makeconfig (link-static-before-libc): Replace $(+prector)
16081 with $(+prectorT).
16082 (link-static-after-libc): Replace $(+postctor) with
16083 $(+postctorT).
16084 (link-bounded): Replace $(+prector)/$(+postctor) with
16085 $(+prectorT)/$(+postctorT).
16086 (+prectorT): New macro.
16087 (+postctorT): Likewise.
16088
ed8c2ecd
JM
160892012-09-06 Joseph Myers <joseph@codesourcery.com>
16090
16091 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
16092 (round_str): Handle values above the maximum for IBM long double
16093 as inexact.
16094 * stdlib/tst-strtod-round.c (tests): Regenerated.
16095
14c996c8
AK
160962012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16097
16098 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
16099 assembler flag.
16100 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
16101 zarch_nohighgprs around the zarch optimized routines.
16102 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
16103 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
16104 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
16105 for zarch.
16106
430d6ce6
DM
161072012-09-05 David S. Miller <davem@davemloft.net>
16108
16109 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16110
ff04dda4
DM
16111 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
16112 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
16113 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
16114 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16115 entries.
16116
24d4e01b
AO
161172012-09-05 Alexandre Oliva <aoliva@redhat.com>
16118
16119 * malloc/arena.c: Fold copyright years.
16120 * malloc/mcheck.c, malloc/memusage.c: Likewise.
16121
61d58174
AO
161222012-09-05 Alexandre Oliva <aoliva@redhat.com>
16123
16124 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
16125
20196a5e
AO
161262012-09-05 Alexandre Oliva <aoliva@redhat.com>
16127
16128 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
16129
5c447383
AO
161302012-09-05 Alexandre Oliva <aoliva@redhat.com>
16131
16132 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
16133 change internal state upon failure.
16134
fad64255
AO
161352012-09-05 Alexandre Oliva <aoliva@redhat.com>
16136
16137 * malloc/mcheck.c (mcheck_check_all): Fix typo.
16138 * malloc/memusage.c (mmap): Likewise.
16139 (mmap64, mremap): Likewise. Adjust name in comment.
16140
1ffb8c90
SP
161412012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16142
16143 * libio/fileops.c: Fix typos in comments.
16144 * libio/oldfileops.c: Likewise.
16145 * libio/wfileops.c: Likewise.
16146
6ef9cc37
SP
161472012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16148
16149 [BZ #1349]
16150 * malloc/Makefile (tests): Add tst-malloc-usable test case.
16151 (tst-malloc-usable-ENV): Set environment for test case.
16152 * malloc/hooks.c (malloc_check_get_size): New function to get
16153 requested size.
16154 * malloc/malloc.c (musable): Use malloc_check_get_size.
16155 * malloc/tst-malloc-usable.c: New test case.
16156
4d038ae3
AS
161572012-09-05 Andreas Schwab <schwab@linux-m68k.org>
16158
16159 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
16160
c4e85184
AM
161612012-09-05 Allan McRae <allan@archlinux.org>
16162
b9dafc56 16163 [BZ #13966]
c4e85184
AM
16164 * configure.in (CXX_SYSINCLUDES): Use compiler output to
16165 determine header location.
16166 * configure: Regenerated.
16167
e1343020
AS
161682012-09-05 Andreas Schwab <schwab@linux-m68k.org>
16169
16170 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
16171 float format.
16172 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
16173 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
16174 format.
e1343020
AS
16175 (test): Regenerate.
16176
0a9f1987
DM
161772012-09-04 David S. Miller <davem@davemloft.net>
16178
16179 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
16180 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
16181 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
16182
29237804
FW
161832012-09-04 Florian Weimer <fweimer@redhat.com>
16184
16185 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
16186 failures.
16187
edb3cb88
FW
16188 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
16189
60160d83
JM
161902012-09-04 Joseph Myers <joseph@codesourcery.com>
16191
16192 [BZ #9914]
16193 * libio/iogetdelim.c: Include <limits.h>.
16194 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
16195 + len + 1 would overflow.
16196
bcd6c8dc
AJ
161972012-09-03 Andreas Jaeger <aj@suse.de>
16198
16199 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16200 * sysdeps/i386/fpu/libm-test-ulps: Update.
16201
4ffffbd2
LD
162022012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16203
16204 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16205 Add s_sinf-sse2, s_conf-sse2.
16206
16207 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
16208 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
16209 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
16210 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
16211
16212 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
16213 for using routine as __sinf_ia32.
16214 Use macro for function declaration and weak_alias.
16215 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
16216 for using routine as __cosf_ia32.
16217 Use macro for function declaration and weak_alias.
16218
16219 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
16220 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
16221
16222 * sysdeps/x86_64/fpu/s_sinf.S: New file.
16223 * sysdeps/x86_64/fpu/s_cosf.S: New file.
16224 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16225
16226 * math/libm-test.inc (cos_test): Add more test cases.
16227 (sin_test): Likewise.
16228 (sincos_test): Likewise.
16229
511fa286
AK
162302012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16231
16232 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
16233 (IFUNC_RESOLVE): Make pointers to the specialized implementations
16234 hidden.
16235 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16236
5f30cfec
L
162372012-09-02 H.J. Lu <hongjiu.lu@intel.com>
16238
16239 [BZ #14538]
16240 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
16241 first element of the GOT.
16242 (elf_machine_load_address): Return the difference between
16243 the runtime address of _DYNAMIC and elf_machine_dynamic ().
16244
0786794f
AM
162452012-09-01 Allan McRae <allan@archlinux.org>
16246
5f30cfec
L
16247 [BZ #13412]
16248 * configure.in (AWK): Require gawk version 3.0 or later.
16249 * configure: Regenerated.
0786794f 16250
26889eac
JM
162512012-09-01 Joseph Myers <joseph@codesourcery.com>
16252
16253 * sysdeps/unix/sysv/linux/kernel-features.h
16254 (__ASSUME_POSIX_CPU_TIMERS): Remove.
16255 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16256 [__NR_clock_getres]: Make code unconditional.
16257 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
16258 (clock_getcpuclockid): Remove code left unreachable by removal of
16259 conditionals.
16260 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
16261 code unconditional.
16262 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16263 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16264 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
16265 Make code unconditional.
16266 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16267 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16268 * sysdeps/unix/sysv/linux/clock_settime.c
16269 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
16270 conditional code.
16271 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
16272 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16273
d22e28b0
L
162742012-08-29 H.J. Lu <hongjiu.lu@intel.com>
16275
16276 [BZ #14476]
16277 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
16278 scripts/test-installation.pl.
16279
16280 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
16281 and $ld_so_version if it is set.
16282
050af9c4
SP
162832012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16284
16285 [BZ #14516]
16286 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
16287 failure if reading from procfs failed.
16288 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
16289
ad845c0b
JM
162902012-08-27 Joseph Myers <joseph@codesourcery.com>
16291
16292 * sysdeps/unix/sysv/linux/kernel-features.h
16293 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
16294 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16295 Remove conditional code.
16296 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16297 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
16298 Remove conditional code.
16299 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16300 * sysdeps/unix/sysv/linux/i386/fxstat.c
16301 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16302 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16303 * sysdeps/unix/sysv/linux/i386/fxstatat.c
16304 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16305 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16306 * sysdeps/unix/sysv/linux/i386/lxstat.c
16307 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16308 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16309 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
16310 Remove conditional code.
16311 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16312 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16313 Remove conditional code.
16314 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16315 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
16316 <kernel-features.h>.
16317 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
16318 Remove.
16319 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
16320 Remove conditional code.
16321 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16322 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
16323 Remove conditional.
16324
5dbf56af
MF
163252012-08-27 Mike Frysinger <vapier@gentoo.org>
16326
16327 [BZ #5400]
16328 * NEWS: Add fixed bug number.
16329
d6e70f43
JM
163302012-08-27 Joseph Myers <joseph@codesourcery.com>
16331
7efb4737
JM
16332 [BZ #14519]
16333 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
16334 underflowing exponent in case of negative sign.
16335 * stdlib/tst-strtod-round-data: Add more tests.
16336 * stdlib/tst-strtod-round.c (tests): Regenerated.
16337
af92131a
JM
16338 [BZ #3479]
16339 * stdlib/strtod_l.c (NDIG): Remove.
16340 (HEXNDIG): Likewise.
16341 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
16342 smallest representable value.
16343 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
16344 lie within an exact representation of 1/2 ulp of the result.
16345 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
16346 unconditionally.
16347 (TENS_P9_IDX): Define unconditionally.
16348 (TENS_P9_SIZE): Likewise.
16349 (TENS_P10_IDX): Likewise.
16350 (TENS_P10_SIZE): Likewise.
16351 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
16352 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
16353 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
16354 entries for 10^2^13 and 10^2^14.
16355 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
16356 (TENS_P13_IDX): Define.
16357 (TENS_P13_SIZE): Likewise.
16358 (TENS_P14_IDX): Likewise.
16359 (TENS_P14_SIZE): Likewise.
16360 (_fpioconst_pow10): Change array size to
16361 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
16362 unconditional.
16363 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
16364 1024]: Add entries for 10^2^13 and 10^2^14.
16365 [LAST_POW10 > _LAST_POW10]: Remove #error.
16366 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
16367 (_fpioconst_pow10): Change array size to
16368 FPIOCONST_POW10_ARRAY_SIZE.
16369 * stdlib/gen-fpioconst.c: New file.
16370 * stdlib/gen-tst-strtod-round.c: Likewise.
16371 * stdlib/tst-strtod-round-data: Likewise.
16372 * stdlib/tst-strtod-round.c: Likewise.
16373 * stdlib/Makefile (tests): Add tst-strtod-round.
16374
d6e70f43
JM
16375 [BZ #14459]
16376 * stdlib/strtod_l.c: Include <stdint.h>.
16377 (NDEBUG): Do not define.
16378 (round_and_return): Change EXPONENT parameter to type intmax_t.
16379 Rearrange calculations to avoid internal overflow possibilities.
16380 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
16381 Rearrange calculations to avoid internal overflow possibilities.
16382 Assert that number fits inside MPNSIZE limbs.
16383 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
16384 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
16385 calculations and add assertions to avoid internal overflow
16386 possibilities. Add casts to avoid signed/unsigned operations.
16387 * stdlib/tst-strtod-overflow.c: New file.
16388 * stdlib/Makefile (tests): Add tst-strtod-overflow.
16389
1f529f7d
MP
163902012-08-25 Marek Polacek <polacek@redhat.com>
16391
16392 * time/time.h: Fix some typos in comments.
16393
59a629f1
RM
163942012-08-23 Roland McGrath <roland@hack.frob.com>
16395
16396 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
16397 * posix/tst-rfc3484-2.c: Likewise.
16398 * posix/tst-rfc3484-3.c: Likewise.
16399
d3bafbc9
SM
164002012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
16401
16402 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
16403 (EF_ARM_ABI_FLOAT_HARD): Likewise.
16404
4efcc022
JM
164052012-08-23 Joseph Myers <joseph@codesourcery.com>
16406
16407 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
16408 #include of fxstatat64.c.
16409
3cc3ef96
RM
164102012-08-22 Roland McGrath <roland@hack.frob.com>
16411
f04e2132
RM
16412 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
16413 * shadow/getspent_r.c: Likewise.
16414 * shadow/getspnam.c: Likewise.
16415 * shadow/getspnam_r.c: Likewise.
16416 * gshadow/getsgent.c: Likewise.
16417 * gshadow/getsgent_r.c: Likewise.
16418 * gshadow/getsgnam.c: Likewise.
16419 * gshadow/getsgnam_r.c: Likewise.
16420 * inet/getnetbyad.c: Likewise.
16421 * inet/getnetbyad_r.c: Likewise.
16422 * inet/getnetbynm.c: Likewise.
16423 * inet/getnetbynm_r.c: Likewise.
16424 * inet/getnetent.c: Likewise.
16425 * inet/getnetent_r.c: Likewise.
16426 * inet/getproto.c: Likewise.
16427 * inet/getproto_r.c: Likewise.
16428 * inet/getprtent.c: Likewise.
16429 * inet/getprtent_r.c: Likewise.
16430 * inet/getprtname.c: Likewise.
16431 * inet/getprtname_r.c: Likewise.
16432 * inet/getrpcbyname.c: Likewise.
16433 * inet/getrpcbyname_r.c: Likewise.
16434 * inet/getrpcbynumber.c: Likewise.
16435 * inet/getrpcbynumber_r.c: Likewise.
16436 * inet/getrpcent.c: Likewise.
16437 * inet/getrpcent_r.c: Likewise.
16438 * inet/getaliasent.c: Likewise.
16439 * inet/getaliasent_r.c: Likewise.
16440 * inet/getaliasname.c: Likewise.
16441 * inet/getaliasname_r.c: Likewise.
16442 * nscd/getgrgid_r.c: Likewise.
16443 * nscd/getgrnam_r.c: Likewise.
16444 * nscd/gethstbyad_r.c: Likewise.
16445 * nscd/gethstbynm3_r.c: Likewise.
16446 * nscd/getpwnam_r.c: Likewise.
16447 * nscd/getpwuid_r.c: Likewise.
16448 * nscd/getsrvbynm_r.c: Likewise.
16449 * nscd/getsrvbypt_r.c: Likewise.
16450 * nscd/gai.c: Likewise.
16451
c53d909c
RM
16452 * configure.in (build_nscd): New substituted variable, set
16453 by --disable-build-nscd and defaults to $use_nscd.
16454 * configure: Regenerated.
16455 * config.make.in (build-nscd): New substituted variable.
16456 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
16457 Change conditional to require [$(build-nscd) = yes] as well.
16458 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
16459
3cc3ef96
RM
16460 [BZ# 13696]
16461 * configure.in (use_nscd): New substituted variable, set by
16462 --disable-nscd. If enabled, define USE_NSCD.
16463 * configure: Regenerated.
16464 * config.h.in: Add USE_NSCD.
16465 * config.make.in (use-nscd): New substituted variable.
16466 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
16467 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
16468 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
16469 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
16470 (CFLAGS-getgrnam_r.c): Likewise.
16471 (CFLAGS-initgroups.c): Likewise.
16472 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
16473 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
16474 Variables removed.
16475 * inet/getnetgrent_r.c
16476 (nscd_setnetgrent): New function, broken out of ...
16477 (setnetgrent): ... here. Call it.
16478 (innetgr): Conditionalize nscd bits on [USE_NSCD].
16479 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
16480 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
16481 * nscd/Makefile (routines, aux): Move definitions after include of
16482 Makeconfig. Conditionalize on [$(use-nscd) != no].
16483 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
16484 Conditionalize on [USE_NSCD].
16485 (is_nscd, nscd_init_cb): Likewise.
16486 (nss_load_library): Conditionalize init callback on [USE_NSCD].
16487 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
16488 * nss/nss_db/db-init.c: Likewise.
16489 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
16490 [USE_NSCD].
16491 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
16492 (make_request): Use it.
16493 (cache_valid_p): New function.
16494 (__check_pf): Use it.
16495 * NEWS: Add item for --disable-nscd.
16496
07e51550
DL
164972012-08-22 Dmitry V. Levin <ldv@altlinux.org>
16498
16499 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
16500 to support sed >= 4.2.1-20-ga9bf076.
16501 * configure: Regenerated.
16502
35a5b08b
RM
165032012-08-22 Roland McGrath <roland@hack.frob.com>
16504
16505 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
16506 Conditionalize whole body on [IREL].
16507
8479f23a
JL
165082012-08-22 Jeff Law <law@redhat.com>
16509
16510 [BZ #14505]
16511 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
16512 if the family is PF_UNSPEC.
16513
48da0b21
MF
165142012-08-22 Mike Frysinger <vapier@gentoo.org>
16515
16516 * Makerules (lib-version): Rename from V.
16517 (install-lib-nosubdir): Change V to lib-version.
16518
15d0da8c
WS
165192012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
16520
16521 [BZ #14252]
16522 * powerpc32/power6/wcschr.c: New file.
16523 * powerpc32/power6/wcscpy.c: New file.
16524 * powerpc32/power6/wcsrchr.c: New file.
16525 * powerpc64/power6/wcschr.c: New file.
16526 * powerpc64/power6/wcscpy.c: New file.
16527 * powerpc64/power6/wcsrchr.c: New file.
16528
bcca0895
MK
165292012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
16530
16531 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
16532 (two_way_short_needle): Use it.
5a4aaa33
RM
16533 * string/strstr.c (AVAILABLE1_USES_J): Define.
16534 * string/strcasestr.c: Likewise.
99677e57
MK
16535
16536 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
16537 array references.
16538 * string/strcasestr.c (TOLOWER): Make side-effect safe.
16539
400726de
MK
16540 [BZ #11607]
16541 * NEWS: Add an entry.
16542 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
16543 define their defaults.
16544 (two_way_short_needle): Detect end-of-string on-the-fly.
16545 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
16546 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
16547 * string/bug-strcasestr1.c: New test.
16548 * string/Makefile: Run it.
16549
20a71f2c
MK
165502012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
16551
16552 [BZ #11607]
16553 * string/str-two-way.h (two_way_short_needle): Optimize matching of
16554 the first character.
16555
21ad0558
RM
165562012-08-21 Roland McGrath <roland@hack.frob.com>
16557
16558 * csu/elf-init.c (__libc_csu_irel): Function removed.
16559 * csu/libc-start.c (apply_irel): New function.
16560 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
16561
0e1d9911
JM
165622012-08-21 Joseph Myers <joseph@codesourcery.com>
16563
16564 * sysdeps/unix/sysv/linux/kernel-features.h
16565 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
16566 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16567 <kernel-features.h>.
16568 [__NR_fadvise64_64]: Make code unconditional.
16569 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
16570 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16571 !__NR_fadvise64_64)]: Likewise.
16572 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16573 !__NR_fadvise64_64))]: Likewise.
16574 [__NR_fadvise64]: Make code unconditional.
16575 [!__NR_fadvise64]: Remove conditional code.
16576 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
16577 <kernel-features.h>.
16578 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16579 unconditional.
16580 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16581 conditional code.
16582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
16583 not include <kernel-features.h>.
16584 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16585 unconditional.
16586 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16587 conditional code.
16588 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
16589 include <kernel-features.h>.
16590 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16591 unconditional.
16592 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16593 conditional code.
16594
14a50c9d
WS
165952012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16596
16597 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
16598 slight instruction rearrangements per scrollpipe analysis.
16599 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16600
c0f4faf0
RM
166012012-08-20 Roland McGrath <roland@hack.frob.com>
16602
696da859
RM
16603 * manual/syslog.texi (syslog; vsyslog, closelog):
16604 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
16605 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
16606
c0f4faf0
RM
16607 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
16608 DSOCAPS to match condition on defining it.
16609
348363b2
JM
166102012-08-20 Joseph Myers <joseph@codesourcery.com>
16611
a35cbf28
JM
16612 * sysdeps/unix/sysv/linux/kernel-features.h
16613 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
16614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
16615 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16616 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
16618 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16619 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
16621 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16622 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16623
445f7ecd
JM
16624 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
16625 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
16626
348363b2
JM
16627 * sysdeps/unix/sysv/linux/kernel-features.h
16628 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
16629 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
16630 unconditional.
16631 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16632 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
16633 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16634 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16635 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
16636 Make code unconditional.
16637 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16638 (__mmap64) [!__NR_mmap2]: Likewise.
16639 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
16640 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16641 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16642 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
16643 [__NR_mmap2]: Make code unconditional.
16644 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16645 (__mmap64) [!__NR_mmap2]: Likewise.
16646
bc5bc0e5
AK
166472012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16648
16649 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
16650
88d506de
AJ
166512012-08-18 Andreas Jaeger <aj@suse.de>
16652
16653 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
16654
493387d2
MF
166552012-08-18 Mike Frysinger <vapier@gentoo.org>
16656
16657 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
16658 * include/unistd.h (__have_sock_cloexec): Likewise.
16659 (__have_pipe2): Likewise.
16660 (__have_dup3): Likewise.
16661
a277af22
MF
166622012-08-18 Mike Frysinger <vapier@gentoo.org>
16663
16664 [BZ #9685]
16665 * include/unistd.h (__have_pipe2): Change define into an extern int.
16666 (__have_dup3): Likewise.
16667 * socket/have_sock_cloexec.c: Include fcntl.h.
16668 (__have_pipe2): New variable.
16669 (__have_dup3): Likewise.
16670
fdab8fd3
MF
166712012-08-17 Mike Frysinger <vapier@gentoo.org>
16672
16673 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
16674
31035e80
MP
166752012-08-17 Marek Polacek <polacek@redhat.com>
16676
16677 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
16678 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
16679
3bd9e993
RM
166802012-08-17 Roland McGrath <roland@hack.frob.com>
16681
c91c505f
RM
16682 * configure.in: Add AC_SUBST for sysheaders.
16683 * configure: Regenerated.
16684 * config.make.in (sysheaders): New substituted variable.
16685
7c6f9d53
RM
16686 * sysdeps/unix/mkfifo.c: Moved ...
16687 * sysdeps/posix/mkfifo.c: ... here.
16688 * sysdeps/unix/mkfifoat.c: Moved ...
16689 * sysdeps/posix/mkfifoat.c: ... here.
16690
16691 * sysdeps/unix/utime.c: Moved ...
16692 * sysdeps/posix/utime.c: ... here.
16693
16694 * sysdeps/unix/time.c: Moved ...
16695 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
16696 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
16697 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
16698
16699 * sysdeps/unix/nice.c: Moved ...
16700 * sysdeps/posix/nice.c: ... here.
16701
16702 * sysdeps/unix/alarm.c: Moved ...
16703 * sysdeps/posix/alarm.c: ... here.
16704
3bd9e993
RM
16705 * intl/Makefile ($(codeset_mo)): Depend on the input file.
16706
d1f09384
JL
167072012-08-17 Jeff Law <law@redhat.com>
16708
16709 * intl/Makefile (codeset_mo): New variable.
16710 ($(codeset_mo)): New target.
16711 (tst-codeset.out): Depend on that. Remove explicit rule.
16712 (tst-gettext3.out, tst-gettext5.out): Likewise.
16713 (LOCPATH-ENV, tst-codeset-ENV): New variables.
16714 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
16715 * intl/tst-codeset.sh: Remove.
16716 * intl/tst-gettext3.sh: Likewise.
16717 * intl/tst-gettext5.sh: Likewise.
16718
2ae1ae5c
RM
167192012-08-17 Roland McGrath <roland@hack.frob.com>
16720
c31fdb83
RM
16721 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
16722 * sysdeps/unix/syscalls.list: ... here.
16723
a0844057
RM
16724 * sysdeps/posix/getaddrinfo.c
16725 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
16726 (gaiconf_init, gaiconf_reload): Use them.
16727 [!_STATBUF_ST_NSEC]
16728 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
16729 Define using time_t rather than struct timespec.
16730
750c1f2a
RM
16731 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
16732 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
16733 Macros removed.
16734 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
16735 [!NO_THREADS].
16736 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
16737 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
16738 Likewise.
16739
2ae1ae5c
RM
16740 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
16741 __libc_cleanup_push argument.
16742
e66a42f5
RM
16743 * bits/param.h: New file.
16744 * misc/sys/param.h: New file.
16745 * include/sys/param.h: New file.
16746 * misc/Makefile (headers): Add bits/param.h.
16747 * sysdeps/generic/sys/param.h: File removed.
16748 * sysdeps/unix/sysv/linux/bits/param.h: New file.
16749 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
16750 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 16751 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 16752
b7c08a66
RM
16753 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
16754 last change.
16755
b2e1c562
RM
16756 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
16757 [_IO_MTSAFE_IO].
16758 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
16759 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
16760 New macros.
16761
c75ccd4c
RM
16762 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
16763 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
16764 rather than -D_IO_MTSAFE_IO conditionally.
16765 * stdio-common/Makefile (CPPFLAGS): Likewise.
16766 * wcsmbs/Makefile (CPPFLAGS): Likewise.
16767 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
16768 Use $(libio-mtsafe).
16769 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
16770 of -D_IO_MTSAFE_IO.
16771 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
16772 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
16773 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
16774 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
16775 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
16776 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
16777 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
16778 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
16779 (CFLAGS-fread_u_chk.c): Likewise.
16780 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
16781 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
16782 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
16783 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
16784 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
16785 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
16786 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
16787 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
16788 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
16789
16790 * libio/Makefile: Test [$(libc-reentrant) = yes]
16791 instead of [$(filter %REENTRANT, $(defines)) nonempty].
16792
16793 * Makeconfig
16794 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
16795 * sysdeps/pthread/configure: File removed.
16796 * sysdeps/pthread/Makeconfig: New file.
16797 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
16798 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
16799
d9195db8
GB
168002012-08-16 Gary Benson <gbenson@redhat.com>
16801
16802 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
16803 unmapping the first object in a namespace.
16804
86466cd9
RM
168052012-08-16 Roland McGrath <roland@hack.frob.com>
16806
16807 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
16808 (__internal_setnetgrent): ... this. Add internal_function to
16809 definition. Add libc_hidden_def.
16810 (setnetgrent): Update caller.
16811 (internal_endnetgrent): Renamed to ...
16812 (__internal_endnetgrent): ... this. Add internal_function to
16813 definition. Add libc_hidden_def.
16814 (endnetgrent): Update caller.
16815 (internal_getnetgrent_r): Renamed to ...
16816 (__internal_getnetgrent_r): ... this. Add internal_function to
16817 definition. Add libc_hidden_def.
16818 (__getnetgrent_r): Update caller.
16819 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
16820
c3c8283c
JM
168212012-08-16 Joseph Myers <joseph@codesourcery.com>
16822
16823 * stdlib/longlong.h: Update from GCC.
16824
db1ee0a8
RM
168252012-08-16 Roland McGrath <roland@hack.frob.com>
16826
16827 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
16828 on _QL, which is set by umul_ppmm but never used.
16829 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
16830 variables, which are set by GMP macros but never used.
16831 * stdio-common/_itowa.c (_itowa): Likewise.
16832 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
16833 * stdlib/mod_1.c (mpn_mod_1): Likewise.
16834
30f69637
CD
168352012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
16836
16837 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
16838 struct La_sh_regs is not constant.
16839 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
16840 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
16841 and struct La_sparc64_regs are not constant.
16842
93a78ac4
JM
168432012-08-16 Joseph Myers <joseph@codesourcery.com>
16844
16845 * sysdeps/unix/sysv/linux/kernel-features.h
16846 (__ASSUME_POSIX_TIMERS): Remove.
16847 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16848 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16849 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
16850 Make code unconditional.
16851 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16852 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
16853 Make code unconditional.
16854 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16855 * sysdeps/unix/sysv/linux/clock_nanosleep.c
16856 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
16857 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16858 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
16859 Make code unconditional.
16860 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16861 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
16862 (__libc_missing_posix_timers): Remove.
16863
dd924cd7
RM
168642012-08-15 Roland McGrath <roland@hack.frob.com>
16865
4b4f2771
RM
16866 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
16867 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
16868
601c888b
RM
16869 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
16870
176790a7
RM
16871 * elf/dl-sym.c: Include <stdlib.h>.
16872
329bc018
RM
16873 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
16874 constants, which avoids warnings in 32-bit builds.
16875
e04e272d
RM
16876 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
16877 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
16878
952bf94a
RM
16879 * misc/lseek.c: File moved to ...
16880 * io/lseek.c: ... here.
16881
7c99b50a
RM
16882 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
16883
dd924cd7
RM
16884 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
16885 shifting LEN more than 31 bits at once.
16886
b3f479a8
LD
168872012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16888
16889 [BZ #14195]
8c4ae0d4
RM
16890 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
16891 segmentation fault for a case of two empty input strings.
b3f479a8
LD
16892 * string/test-strncasecmp.c (check1): Renamed to...
16893 (bz12205): ...this.
16894 (bz14195): Add new testcase for two empty input strings and N > 0.
16895 (test_main): Call new testcase, adapt for renamed function.
16896
9c55864e
AJ
168972012-08-15 Andreas Jaeger <aj@suse.de>
16898
16899 [BZ #14090]
16900 * crypt/md5test2.c: New test, based on test supplied by Serge
16901 Belyshev <belyshev@depni.sinp.msu.ru>.
16902 * crypt/Makefile (xtests): Add md5test-giant..
16903 * crypt/Makefile ($(objpfx)md5test-giant): Add.
16904
02dcb6c5
PE
169052012-08-15 Paul Eggert <eggert@cs.ucla.edu>
16906
16907 [BZ #14090]
16908 * crypt/md5.c (md5_process_block): Don't assume the buffer
16909 length is less than 2**32.
16910 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
16911 length is less than 2**64.
16912
a3f95dcc
RM
169132012-08-15 Roland McGrath <roland@hack.frob.com>
16914
be75d758
RM
16915 * string/str-two-way.h: Include <sys/param.h>.
16916 (MAX): Macro removed.
16917
7312ca90
RM
16918 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
16919 Move #define and #undef of memmove to just before and after
16920 including <string.h>.
16921
9a0a5486
RM
16922 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
16923 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
16924 and after including <string.h>. Move declarations of
16925 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
16926 to before #include "string/memmove.c".
16927
67cc348d
RM
16928 * include/dirent.h: Declare __getdirentries.
16929
a3f95dcc
RM
16930 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
16931 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
16932
ca98e171
MF
169332012-08-14 Mike Frysinger <vapier@gentoo.org>
16934
16935 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
16936 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
16937 * sysdeps/i386/configure: Regenerated.
16938 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
16939 STABS_CURRENT_FILE, and STABS_FUN.
16940 (END): Remove call to STABS_FUN_END.
16941 (STABS_CURRENT_FILE1): Delete.
16942 (STABS_CURRENT_FILE): Likewise.
16943 (STABS_FUN): Likewise.
16944 (STABS_FUN_END): Likewise.
16945 (STABS_FUN2): Likewise.
16946 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
16947 * sysdeps/x86_64/configure: Regenerated.
16948
5908bf46
RM
169492012-08-14 Roland McGrath <roland@hack.frob.com>
16950
16951 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 16952 * elf/dl-lookup.c: Likewise.
5908bf46 16953
f2c05b9e
JM
169542012-08-14 Joseph Myers <joseph@codesourcery.com>
16955
16956 * sysdeps/unix/sysv/linux/kernel-features.h
16957 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
16958 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
16959 unconditionally.
16960 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
16961 unconditionally.
16962 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
16963 condition on __ASSUME_CLONE_THREAD_FLAGS.
16964
e11f5155
AJ
169652012-08-14 Andreas Jaeger <aj@suse.de>
16966
16967 * sysdeps/i386/fpu/libm-test-ulps: Update.
16968
51a9ba86
MK
169692012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
16970
2fdd4f78
AJ
16971 * include/atomic.h (atomic_exchange_and_add): Split into ...
16972 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
16973 New atomic macros.
51a9ba86 16974
ba6cba9e
MT
169752012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
16976
16977 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16978
42443a47
JL
169792012-08-13 Jeff Law <law@redhat.com>
16980
16981 * manual/stdio.texi (snprintf): Clarify handling of the trailing
16982 null byte in the output string.
16983
121dce05
JM
169842012-08-10 Joseph Myers <joseph@codesourcery.com>
16985
16986 * sysdeps/unix/sysv/linux/kernel-features.h
16987 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
16988 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
16989 (__ASSUME_ARG_MAX_STACK_BASED): Define.
16990 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
16991 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
16992 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
16993 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
16994
bf51f568
JL
169952012-08-09 Jeff Law <law@redhat.com>
16996
16997 [BZ #13939]
16998 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
16999 When avoid_arena is set, don't retry in the that arena. Pick the
17000 next one, whatever it might be.
17001 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
17002 (arena_lock): Pass in new parameter to arena_get2.
17003 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
17004 arena_get2.
17005 (__libc_malloc): Unify retrying after main arena failure with
17006 __libc_memalign version.
17007 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
17008
f85fa270
L
170092012-08-09 H.J. Lu <hongjiu.lu@intel.com>
17010
17011 [BZ #14166]
17012 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
17013 to __redirect_strstr.
17014 (__strstr_sse42): Use typeof __redirect_strstr.
17015 (__strstr_ia32): Likewise.
17016 (__libc_strstr): New prototype.
17017 (strstr): Renamed to ...
17018 (__libc_strstr): This.
17019 (strstr): New strong alias of __libc_strstr.
17020 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
17021 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
17022 __redirect_time.
17023 Include <time.h>.
17024 (__libc_time): New prototype.
17025 (time_ifunc): Replace time with __libc_time.
17026 (time): New strong alias and hidden definition of __libc_time.
17027 (__GI_time): Remove strong alias.
17028 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
17029 Include <stddef.h>.
17030 (memmove): Redefined to __redirect_memmove.
17031 (__memmove_sse2): Use typeof __redirect_memmove.
17032 (__memmove_ssse3): Likewise.
17033 (__memmove_ssse3_back): Likewise.
17034 (__libc_memmove): New prototype.
17035 (memmove): Renamed to ...
17036 (__libc_memmove): This.
17037 (memmove): New strong alias of __libc_memmove.
17038
33b4a91e
MS
170392012-08-08 Mark Salter <msalter@redhat.com>
17040
17041 * elf/elf.h
17042 (R_MN10300_TLS_GD): Define.
17043 (R_MN10300_TLS_LD): Likewise.
17044 (R_MN10300_TLS_LDO): Likewise.
17045 (R_MN10300_TLS_GOTIE): Likewise.
17046 (R_MN10300_TLS_IE): Likewise.
17047 (R_MN10300_TLS_LE): Likewise.
17048 (R_MN10300_TLS_DTPMOD): Likewise.
17049 (R_MN10300_TLS_DTPOFF): Likewise.
17050 (R_MN10300_TLS_TPOFF): Likewise.
17051 (R_MN10300_SYM_DIFF): Likewise.
17052 (R_MN10300_ALIGN): Likewise.
17053 (R_MN10300_NUM): Update.
17054
b36137f1
JM
170552012-08-08 Joseph Myers <joseph@codesourcery.com>
17056
17057 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
17058 Remove.
17059
cdd915fd
RM
170602012-08-08 Roland McGrath <roland@hack.frob.com>
17061
a2433aac
RM
17062 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
17063
cdd915fd
RM
17064 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
17065 sysdeps/unix -> sysdeps/posix move.
17066 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17067
bf9b740a
AM
170682012-08-07 Allan McRae <allan@archlinux.org>
17069
17070 [BZ #14303]
17071 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
17072 (SUNOS_CPP): Likewise.
17073 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
17074 not found.
17075 (open_input): Call CPP using execvp.
17076
93df14ee
JM
170772012-08-07 Joseph Myers <joseph@codesourcery.com>
17078
17079 * sysdeps/unix/sysv/linux/kernel-features.h
17080 (__ASSUME_PROT_GROWSUPDOWN): Remove.
17081 (__ASSUME_NO_CLONE_DETACHED): Likewise.
17082 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17083 (__ASSUME_WAITID_SYSCALL): Likewise.
17084 * sysdeps/unix/sysv/linux/dl-execstack.c
17085 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
17086 code unconditional.
17087 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
17088 conditional code.
17089 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
17090 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
17091 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
17092 code.
17093 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
17094 unconditional.
17095 [__ASSUME_WAITID_SYSCALL]: Likewise.
17096 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
17097
d34689de
RM
170982012-08-07 Roland McGrath <roland@hack.frob.com>
17099
a281decc
RM
17100 * sysdeps/unix/closedir.c: Renamed to ...
17101 * sysdeps/posix/closedir.c: ... here.
17102 * sysdeps/unix/dirfd.c: Renamed to ...
17103 * sysdeps/posix/dirfd.c: ... here.
17104 * sysdeps/unix/dirstream.h: Renamed to ...
17105 * sysdeps/posix/dirstream.h: ... here.
17106 * sysdeps/unix/fdopendir.c: Renamed to ...
17107 * sysdeps/posix/fdopendir.c: ... here.
17108 * sysdeps/unix/opendir.c: Renamed to ...
17109 * sysdeps/posix/opendir.c: ... here.
17110 * sysdeps/unix/readdir.c: Renamed to ...
17111 * sysdeps/posix/readdir.c: ... here.
17112 * sysdeps/unix/readdir_r.c: Renamed to ...
17113 * sysdeps/posix/readdir_r.c: ... here.
17114 * sysdeps/unix/rewinddir.c: Renamed to ...
17115 * sysdeps/posix/rewinddir.c: ... here.
17116 * sysdeps/unix/seekdir.c: Renamed to ...
17117 * sysdeps/posix/seekdir.c: ... here.
17118 * sysdeps/unix/telldir.c: Renamed to ...
17119 * sysdeps/posix/telldir.c: ... here.
17120 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
17121 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
17122 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
17123 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
17124
22895b47
RM
17125 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
17126 * bits/fcntl.h: ... here.
17127
707a53b6
RM
17128 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
17129 not 0.
17130 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
17131 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
17132 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
17133 (struct flock): Move l_start, l_len to the beginning.
17134 Use __pid_t for l_pid.
17135 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
17136 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
17137 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
17138 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
17139 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
17140 [__USE_LARGEFILE64] (struct flock64): New type.
17141 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
17142
f0bd3e25
RM
17143 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
17144 * bits/dirent.h: ... here.
17145
d34689de
RM
17146 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
17147 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
17148
6dad2c06
JM
171492012-08-07 Joseph Myers <joseph@codesourcery.com>
17150
17151 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17152 Change from 2.6.0 to 2.6.16.
17153 * sysdeps/unix/sysv/linux/configure: Regenerated.
17154 * sysdeps/unix/sysv/linux/kernel-features.h
17155 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
17156 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
17157 version.
17158 (__ASSUME_UTIMES): Likewise.
17159 (__ASSUME_CLONE_STOPPED): Remove.
17160 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
17161 architectures, not kernel version.
17162 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
17163 (__ASSUME_NO_CLONE_DETACHED): Likewise.
17164 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17165 (__ASSUME_WAITID_SYSCALL): Likewise.
17166 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
17167 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
17168 * README: State 2.6.16 as minimum Linux kernel version. Do not
17169 refer to older versions.
17170
03af9520
RM
171712012-08-06 Roland McGrath <roland@hack.frob.com>
17172
8e49df1d
RM
17173 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
17174 Define alphasort64 as an alias.
17175 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
17176 Define versionsort64 as an alias.
17177 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
17178 Define scandir64 as an alias.
17179 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
17180 Define scandirat64 as an alias.
17181 * dirent/alphasort64.c (alphasort64):
17182 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
17183 * dirent/versionsort64.c: Likewise.
17184 * dirent/scandir64.c: Likewise.
17185 * dirent/scandirat64.c: Likewise.
17186 * sysdeps/wordsize-64/alphasort.c: File removed.
17187 * sysdeps/wordsize-64/alphasort64.c: File removed.
17188 * sysdeps/wordsize-64/scandir.c: File removed.
17189 * sysdeps/wordsize-64/scandir64.c: File removed.
17190 * sysdeps/wordsize-64/scandirat.c: File removed.
17191 * sysdeps/wordsize-64/scandirat64.c: File removed.
17192 * sysdeps/wordsize-64/versionsort.c: File removed.
17193 * sysdeps/wordsize-64/versionsort64.c: File removed.
17194 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
17195 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
17196 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
17197 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
17198 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
17199 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
17200 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
17201 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
17202
17203 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
17204 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17205 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
17206 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17207 [defined __arch64__ || defined __sparcv9]
17208 (__INO_T_MATCHES_INO64_T): New macro.
17209 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17210 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
17211 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
17212 * sysdeps/unix/sysv/linux/bits/dirent.h
17213 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
17214 (_DIRENT_MATCHES_DIRENT64): New macro.
17215
03af9520
RM
17216 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
17217 Define lockf64 as an alias.
17218 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
17219 Define fseeko64 as an alias.
17220 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
17221 Define ftello64 as an alias.
17222 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
17223 Define _IO_fgetpos64 and fgetpos64 as aliases.
17224 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
17225 Define _IO_fsetpos64 and fsetpos64 as aliases.
17226 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
17227 Conditionalize body on this.
17228 * libio/fseeko64.c: Likewise.
17229 * libio/ftello64.c: Likewise.
17230 * libio/iofgetpos64.c: Likewise.
17231 * libio/iofsetpos64.c: Likewise.
17232 * sysdeps/wordsize-64/lockf.c: File removed.
17233 * sysdeps/wordsize-64/lockf64.c: File removed.
17234 * sysdeps/wordsize-64/fseeko.c: File removed.
17235 * sysdeps/wordsize-64/fseeko64.c: File removed.
17236 * sysdeps/wordsize-64/ftello.c: File removed.
17237 * sysdeps/wordsize-64/ftello64.c: File removed.
17238 * sysdeps/wordsize-64/iofgetpos.c: File removed.
17239 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
17240 * sysdeps/wordsize-64/iofsetpos.c: File removed.
17241 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
17242 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
17243 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
17244 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
17245 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
17246 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
17247 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
17248 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
17249 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
17250 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
17251 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
17252
17253 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17254 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17255 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
17256 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17257 [defined __arch64__ || defined __sparcv9]
17258 (__OFF_T_MATCHES_OFF64_T): New macro.
17259 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17260 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17261 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17262 (__OFF_T_MATCHES_OFF64_T): New macro.
17263
c5757acd
L
172642012-08-06 H.J. Lu <hongjiu.lu@intel.com>
17265
17266 * stdlib/secure-getenv.c (__secure_getenv): Replace
17267 GLIBC_2_16 with GLIBC_2_17.
17268
3a31811e
L
172692012-08-06 H.J. Lu <hongjiu.lu@intel.com>
17270
17271 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
17272 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17273
faa2bccb
DM
172742012-08-03 David S. Miller <davem@davemloft.net>
17275
17276 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17277
85fe1997
JM
172782012-08-03 Joseph Myers <joseph@codesourcery.com>
17279
17280 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
17281 Remove.
17282 (__ASSUME_CORRECT_SI_PID): Likewise.
17283 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
17284 (__ASSUME_TMPFS_NAME): Likewise.
17285 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
17286 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
17287 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
17288 (HAVE_AUX_SECURE): Make definition unconditional.
17289 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
17290 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
17291
4f75b7a0
RM
172922012-08-03 Roland McGrath <roland@hack.frob.com>
17293
17294 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
17295 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
17296 * sysdeps/mach/hurd/eloop-threshold.h: New file.
17297 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17298 __eloop_threshold instead of SYMLOOP_MAX.
17299
17300 * sysdeps/generic/eloop-threshold.h: New file.
17301 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
17302 of MAXSYMLINKS.
17303 * elf/chroot_canon.c (chroot_canon): Likewise.
17304
7aab07e4
JM
173052012-08-03 Joseph Myers <joseph@codesourcery.com>
17306
17307 [BZ #13717]
17308 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17309 Change to 2.6.0 everywhere.
17310 * sysdeps/unix/sysv/linux/configure: Regenerated.
17311 * sysdeps/unix/sysv/linux/kernel-features.h
17312 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
17313 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
17314 kernel versions.
17315 (__ASSUME_POSIX_TIMERS): Define unconditionally.
17316 (__ASSUME_FUTEX_REQUEUE): Remove.
17317 (__ASSUME_STATFS64): Define unconditionally.
17318 (__ASSUME_AT_SECURE): Likewise.
17319 (__ASSUME_CORRECT_SI_PID): Likewise.
17320 (__ASSUME_TGKILL): Define without depending on kernel version for
17321 i386.
17322 (__ASSUME_UTIMES): Likewise.
17323 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
17324 kernel version.
17325 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
17326 (__ASSUME_TMPFS_NAME): Likewise.
17327 * README: Update reference to Linux kernel versions.
17328
b67e9372
MP
173292012-08-02 Marek Polacek <polacek@redhat.com>
17330
1f529f7d 17331 [BZ# 14150]
b67e9372
MP
17332 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
17333 libc_cv_asm_type_prefix with %.
17334 * configure: Regenerated.
d2441631
RM
17335 * include/libc-symbols.h: Remove comment about
17336 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
17337 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
17338 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
17339 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
17340 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
17341 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17342 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
17343 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
17344 * elf/tst-unique2mod1.c: Likewise.
17345 * elf/tst-unique1mod2.c: Likewise.
17346 * elf/tst-unique1mod1.c: Likewise.
17347 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
17348 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
17349 Replace ASM_TYPE_DIRECTIVE with .type.
17350 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17351 * sysdeps/i386/sysdep.h: Likewise.
17352 * sysdeps/x86_64/sysdep.h: Likewise.
17353 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
17354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17355 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 17356 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
17357 * sysdeps/powerpc/powerpc32/sysdep.h:
17358 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
17359 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17360 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17361 * sysdeps/i386/fpu/e_powf.S: Likewise.
17362 * sysdeps/i386/fpu/e_expl.S: Likewise.
17363 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17364 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17365 * sysdeps/i386/fpu/e_pow.S: Likewise.
17366 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17367 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17368 * sysdeps/i386/fpu/s_expm1.S: Likewise.
17369 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17370 * sysdeps/i386/fpu/e_log2.S: Likewise.
17371 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17372 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17373 * sysdeps/i386/fpu/e_powl.S: Likewise.
17374 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17375 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17376 * sysdeps/i386/fpu/e_logl.S: Likewise.
17377 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17378 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17379 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17380 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17381 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17382 * sysdeps/i386/fpu/e_log.S: Likewise.
17383 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17384 * sysdeps/i386/fpu/e_logf.S: Likewise.
17385 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17386 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17387 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17388 * sysdeps/i386/fpu/e_log10.S: Likewise.
17389 * sysdeps/i386/fpu/s_frexp.S: Likewise.
17390 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17391 * sysdeps/i386/fpu/s_asinh.S: Likewise.
17392 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17393 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17394 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
17395 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17396 * sysdeps/i386/i686/strtok.S: Likewise.
17397 * sysdeps/i386/i386-mcount.S: Likewise.
17398 * sysdeps/i386/strtok.S: Likewise.
17399 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
17400 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17401 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17402 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17403 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17404 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17405 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17406 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17407 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17408 * sysdeps/x86_64/_mcount.S: Likewise.
17409 * sysdeps/x86_64/strtok.S: Likewise.
17410 * sysdeps/sh/_mcount.S: Likewise.
17411
2747bf9a
RM
174122012-08-01 Roland McGrath <roland@hack.frob.com>
17413
17414 * libio/iofopen.c: Include <fcntl.h>.
17415 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
17416 (_IO_fopen64, fopen64): Define as aliases.
17417 * libio/iofopen64.c: Include <fcntl.h>.
17418 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
17419 Conditionalize body on this.
17420 * sysdeps/wordsize-64/iofopen.c: File removed.
17421 * sysdeps/wordsize-64/iofopen64.c: File removed.
17422
3fb791b8
MP
174232012-08-01 Marek Polacek <polacek@redhat.com>
17424
17425 * libc/Makeconfig: Use elf in place of binfmt-subdir.
17426 Use dlfcn directly instead of a variable.
17427 (binfmt-subdir): Do not define.
17428 (dlfcn): Likewise.
17429
a9f1039f
JM
174302012-08-01 Joseph Myers <joseph@codesourcery.com>
17431
23bddc06
JM
17432 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
17433 Remove all definitions.
17434 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
17435 <kernel-features.h>.
17436 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17437 (miss_F_GETOWN_EX): Remove all definitions.
17438 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
17439 macro definition.
17440 [!__ASSUME_FCNTL64]: Remove conditional code.
17441 [__ASSUME_FCNTL64]: Make code unconditional.
17442 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
17443 <kernel-features.h>.
17444 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17445 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
17446 (lockf64) [__NR_fcntl64]: Make code unconditional.
17447 (lockf64) [__ASSUME_FCNTL64]: Likewise.
17448
a9f1039f
JM
17449 * sysdeps/unix/sysv/linux/kernel-features.h
17450 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
17451 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
17452 Make code unconditional.
17453 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17454 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
17456 [__NR_vfork]: Make code unconditional.
17457 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17458 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
17460 [__NR_vfork]: Make code unconditional.
17461 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17462 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17463
09c0ee5f
RM
174642012-08-01 Roland McGrath <roland@hack.frob.com>
17465
48aec5b9
RM
17466 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
17467 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
17468
cd97c966
RM
17469 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17470 Define mkstemp64 as an alias.
3f55550c
RM
17471 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17472 Define mkstemps64 as an alias.
cd97c966
RM
17473 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17474 Define mkostemp64 as an alias.
b8625cfc
RM
17475 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17476 Define mkostemps64 as an alias.
cd97c966
RM
17477 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
17478 Conditionalize body on this.
17479 * misc/mkostemp64.c: Likewise.
b8625cfc 17480 * misc/mkostemps64.c: Likewise.
3f55550c 17481 * misc/mkstemps64.c: Likewise.
cd97c966
RM
17482 * sysdeps/wordsize-64/mkstemp64.c: File removed.
17483 * sysdeps/wordsize-64/mkostemp64.c: File removed.
17484 * sysdeps/wordsize-64/mkostemp.c: File removed.
17485 * sysdeps/wordsize-64/mkstemp.c: File removed.
17486 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
17487 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
17488 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
17489 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
17490
09c0ee5f
RM
17491 [BZ #14138]
17492 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
17493 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
17494 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
17495 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
17496
17497 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
17498 compat_symbol macros from <shlib-compat.h> rather than the underlying
17499 default_symbol_version and symbol_version macros, so that DEFAULT
17500 lines in shlib-versions are respected.
17501 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
17502
7e66ee51
FW
175032012-08-01 Florian Weimer <fweimer@redhat.com>
17504
17505 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
17506 Declare with warn_unused_result.
17507 (setgid, setregid, setegid, setresgid): Likewise.
17508 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
17509 Likewise.
17510 * WUR-REPORT: Remove set*id functions.
17511
d2a54255
PT
175122012-07-31 Pino Toscano <toscano.pino@tiscali.it>
17513
17514 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
17515
7ecdb005
RM
175162012-07-31 Roland McGrath <roland@hack.frob.com>
17517
b4180a5e 17518 [BZ #10191]
789bd351
RM
17519 * include/sys/socket.h (__libc_accept, __libc_accept4):
17520 Add attribute_hidden.
17521 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
17522
40ce302d
RM
17523 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
17524 use of PTR_MANGLE.
17525 * inet/getnetgrent_r.c (setup): Likewise.
17526
7ecdb005
RM
17527 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
17528
e2eabb2c
DM
175292012-07-31 David S. Miller <davem@davemloft.net>
17530
17531 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17532
d0419dbf
JM
175332012-07-31 Joseph Myers <joseph@codesourcery.com>
17534
17535 [BZ #13629]
17536 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
17537 value between 1.0 and 2.0 and smaller part has absolute value less
17538 than 1.0.
17539 * math/s_clog10.c (__clog10): Likewise.
17540 * math/s_clog10f.c (__clog10f): Likewise.
17541 * math/s_clog10l.c (__clog10l): Likewise.
17542 * math/s_clogf.c (__clogf): Likewise.
17543 * math/s_clogl.c (__clogl): Likewise.
17544 * math/libm-test.inc (clog_test): Add more tests.
17545 (clog10_test): Likewise.
17546 * sysdeps/i386/fpu/libm-test-ulps: Update.
17547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17548
2bc13872
FW
175492012-07-31 Florian Weimer <fweimer@redhat.com>
17550
17551 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
17552 Exit with zero in case no suitable GID is found, and write a
17553 message to standard error.
17554
bea9b193
RM
175552012-07-30 Roland McGrath <roland@hack.frob.com>
17556
17557 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
17558 rather than to 1.
17559 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
17560 (MAXPATHLEN): Removed.
17561 (NOGROUP, NODEV): New macros.
17562 (setbit, clrbit, isset, isclr): New macros.
17563 (howmany, roundup, powerof2): New macros.
17564 (DEV_BSIZE): New macro.
17565
17566 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
17567 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
17568
17569 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
17570 definition on [!__NO_LONG_DOUBLE_MATH].
17571
17572 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
17573 PTR_MANGLE and PTR_DEMANGLE.
17574
17575 * socket/accept4.c (accept4): Rename to __libc_accept4.
17576 Define accept4 as a weak alias.
17577
17578 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
17579 on [_DIRENT_HAVE_D_TYPE].
17580 * io/ftw.c (ftw_dir): Likewise.
17581
17582 * io/xmknod.c (__xmknod): Don't check PATH for being null.
17583
17584 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
17585
17586 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
17587 Use the BSD numbers rather than the arbitrary ones we had.
17588 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
17589 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
17590 (SIGXCPU, SIGXFSZ): New macros.
17591 (_NSIG): Now 32.
17592
17593 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
17594 initializer on [_LIBC_REENTRANT].
17595
17596 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
17597 definitions inside [_POSIX_MAPPED_FILES].
17598
17599 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
17600
17601 * dirent/opendir.c: Include <fcntl.h>.
17602
17603 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
17604 (__libc_getspecific): Likewise.
17605 (__libc_key_create): Likewise.
17606
17607 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
17608 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
17609 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
17610 (tmpfile64): Define as alias.
17611 * sysdeps/wordsize-64/tmpfile.c: File removed.
17612 * sysdeps/wordsize-64/tmpfile64.c: File removed.
17613 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
17614 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
17615
17616 * stdio-common/vfscanf.c: Include <stdbool.h>.
17617 * nss/makedb.c: Likewise.
17618 * stdio-common/_i18n_number.h: Likewise.
17619 * argp/argp-help.c: Likewise.
17620 * posix/wordexp.c: Likewise.
17621 * sysdeps/posix/spawni.c: Likewise.
17622 * nss/nss_files/files-initgroups.c: Likewise.
17623 * stdio-common/reg-modifier.c: Include <stdlib.h>.
17624 * nss/nss_files/files-initgroups.c: Likewise.
17625 * nss/nss_db/db-netgrp.c: Likewise.
17626 * nss/nss_db/db-initgroups.c: Likewise.
17627 * io/fchmodat.c: Include <sys/stat.h>.
17628
17629 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
17630 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
17631
17632 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
17633 [HAVE_MMAP].
17634
17635 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
17636 Add multiple inclusion protection.
17637
e5abc686
DM
176382012-07-27 David S. Miller <davem@davemloft.net>
17639
17640 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17641
815e6fa3
GB
176422012-07-27 Gary Benson <gbenson@redhat.com>
17643
17644 [BZ #14298]
17645 * elf/rtld.c: Include <stap-probe.h>.
17646 (dl_main): Added static probes "init_start" and "init_complete".
17647 * elf/dl-load.c: Include <stap-probe.h>.
17648 (lose): Take new parameter "nsid".
17649 Added static probe "map_failed".
17650 (_dl_map_object_from_fd): Pass namespace id to lose.
17651 Added static probe "map_start".
17652 (open_verify): Pass namespace id to lose.
17653 * elf/dl-open.c: Include <stap-probe.h>.
17654 (dl_open_worker) Added static probes "map_complete", "reloc_start"
17655 and "reloc_complete".
17656 * elf/dl-close.c: Include <stap-probe.h>.
17657 (_dl_close_worker): Added static probes "unmap_start" and
17658 "unmap_complete".
17659 * elf/rtld-debugger-interface.txt: New file documenting the above.
17660
9f98c16c
RM
176612012-07-26 Roland McGrath <roland@hack.frob.com>
17662
17663 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
17664 rather than a string variable.
17665 * sunrpc/rpc_main.c (h_output): Likewise.
17666 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
17667
f3c22df3
PT
176682012-07-26 Pino Toscano <toscano.pino@tiscali.it>
17669
17670 * inet/check_native.c: New file.
17671
3129cfc6
JM
176722012-07-26 Joseph Myers <joseph@codesourcery.com>
17673
da865e95
JM
17674 [BZ #13629]
17675 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
17676 if larger part has absolute value 1.0.
17677 * math/s_clog10.c (__clog10): Likewise.
17678 * math/s_clog10f.c (__clog10f): Likewise.
17679 * math/s_clog10l.c (__clog10l): Likewise.
17680 * math/s_clogf.c (__clogf): Likewise.
17681 * math/s_clogl.c (__clogl): Likewise.
17682 * math/libm-test.inc (clog_test): Add more tests.
17683 (clog10_test): Likewise.
17684 * sysdeps/i386/fpu/libm-test-ulps: Update.
17685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17686
3129cfc6
JM
17687 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
17688 (pltexit): Likewise.
17689 (La_regs): Likewise.
17690 (La_retval): Likewise.
17691 (int_retval): Likewise.
17692 Update #error for removed macros to refer only to definitions in
17693 tst-audit.h.
17694 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
17695 macro.
17696 (pltexit): Likewise.
17697 (La_regs): Likewise.
17698 (La_retval): Likewise.
17699 (int_retval): Likewise.
17700 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
17701 macro.
17702 (pltexit): Likewise.
17703 (La_regs): Likewise.
17704 (La_retval): Likewise.
17705 (int_retval): Likewise.
17706 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
17707 macro.
17708 (pltexit): Likewise.
17709 (La_regs): Likewise.
17710 (La_retval): Likewise.
17711 (int_retval): Likewise.
17712 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
17713 macro.
17714 (pltexit): Likewise.
17715 (La_regs): Likewise.
17716 (La_retval): Likewise.
17717 (int_retval): Likewise.
17718 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
17719 macro.
17720 (pltexit): Likewise.
17721 (La_regs): Likewise.
17722 (La_retval): Likewise.
17723 (int_retval): Likewise.
17724 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
17725 macro.
17726 (pltexit): Likewise.
17727 (La_regs): Likewise.
17728 (La_retval): Likewise.
17729 (int_retval): Likewise.
17730 * sysdeps/generic/tst-audit.h: Update comment to refer only to
17731 macro definitions in tst-audit.h.
17732 * sysdeps/i386/tst-audit.h: New file.
17733 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
17734 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
17735 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
17736 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
17737 * sysdeps/sh/tst-audit.h: Likewise.
17738 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
17739 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
17740 * sysdeps/x86_64/tst-audit.h: Likewise.
17741
bfc07087
AJ
177422012-07-26 Andreas Jaeger <aj@suse.de>
17743
b1b2aaf8
AJ
17744 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
17745 ptrace.
17746
17747 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
17748 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
17749 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
17750 PTRACE_O_MASK.
17751 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
17752 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
17753 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
17754
bfc07087
AJ
17755 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
17756 value.
17757
17758 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
17759 _sigsys.
17760 (si_call_addr, si_syscall, si_arch): Define new macro.
17761 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
17762 _sigsys.
17763 (si_call_addr, si_syscall, si_arch): Define new marcro.
17764 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
17765 _sigsys.
17766 (si_call_addr, si_syscall, si_arch): Define new macro.
17767 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
17768 _sigsys.
17769 (si_call_addr, si_syscall, si_arch): Define new macro.
17770
89b4b02f
JM
177712012-07-25 Joseph Myers <joseph@codesourcery.com>
17772
17773 [BZ #13717]
17774 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17775 Change to 2.4.21 where previously 2.4.1.
17776 * sysdeps/unix/sysv/linux/configure: Regenerated.
17777 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
17778 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
17779 Linux kernel version.
17780 (__ASSUME_STD_AUXV): Remove.
17781 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
17782 kernel version.
17783 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
17784 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
17785 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
17786 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
17787 (__ASSUME_NETLINK_SUPPORT): Likewise.
17788 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
17789 (__no_netlink_support): Remove conditional definition.
17790 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
17791 Remove.
17792 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17793 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
17794 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
17795 (if_nameindex_ioctl): Remove.
17796 (if_nameindex_netlink): Do not handle __no_netlink_support.
17797 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17798 code.
17799 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
17800 Remove conditional code.
17801 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17802 code.
17803 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
17804 unconditional.
17805 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17806 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
17807 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
17808 Remove.
17809 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
17810 [!__ASSUME_STD_AUXV]: Remove conditional code.
17811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
17812 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
17813 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
17814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
17815 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
17816 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17817 code.
17818 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17820 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
17821 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17822 conditional code.
17823 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17825 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17826 code.
17827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17828 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17829 conditional code.
17830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
17831 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17832 code unconditional.
17833 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17834 conditional code.
17835 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17836 unconditional.
17837 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17838 conditional code.
17839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17840 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17841 unconditional.
17842 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17843 conditional code.
17844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
17845 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17846 code unconditional.
17847 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17848 conditional code.
17849 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17850 unconditional.
17851 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17852 conditional code.
17853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
17854 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17855 code unconditional.
17856 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17857 conditional code.
17858 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17859 unconditional.
17860 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17861 conditional code.
17862
842a39cd
AS
178632012-07-25 Andreas Schwab <schwab@linux-m68k.org>
17864
17865 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
17866 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
17867 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17868 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
17869 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
17870 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
17871 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17872 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
17873 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
17874 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
17875 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
17876 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
17877 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
17878 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17879 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
17880 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
17881 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
17882 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
17883 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
17884 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
17885 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
17886 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
17887 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17888
84b3fd84
FW
178892012-07-25 Florian Weimer <fweimer@redhat.com>
17890
17891 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
17892 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
17893 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
17894 Introduce __libc_secure_getenv.
0c7936d5
FW
17895 * stdlib/Versions (2.17): Add secure_getenv
17896 (GLIBC_PRIVATE): Add __libc_secure_getenv.
17897 * stdlib/secure-getenv.c: Rename __secure_getenv to
17898 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
17899 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
17900 * stdlib/tst-secure-getenv.c: New.
17901 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
17902 * manual/startup.texi (Environment Access): Document
17903 secure_getenv.
84b3fd84
FW
17904 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
17905 __libc_secure_getenv.
17906 * inet/ruserpass.c (ruserpass): Likewise.
17907 * malloc/mtrace.c (mtrace): Likewise.
17908 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 17909 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
17910 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
17911 * sysdeps/posix/tempname.c: Likewise. Evaluate
17912 HAVE_SECURE_GETENV.
17913 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 17914 __secure_getenv to __libc_secure_getenv.
84b3fd84 17915 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
17916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17917 Likewise.
17918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17919 Likewise.
17920 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17921 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17922 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17923 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17924 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17925 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17926 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 17927
56e49b71
JM
179282012-07-25 Joseph Myers <joseph@codesourcery.com>
17929
17930 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
17931 (struct La_i86_retval): Likewise.
17932 (struct La_x86_64_regs): Likewise.
17933 (struct La_x86_64_retval): Likewise.
17934 (struct La_x32_regs): Likewise.
17935 (struct La_x32_retval): Likewise.
17936 (struct La_ppc32_regs): Likewise.
17937 (struct La_ppc32_retval): Likewise.
17938 (struct La_ppc64_regs): Likewise.
17939 (struct La_ppc64_retval): Likewise.
17940 (struct La_sh_regs): Likewise.
17941 (struct La_sh_retval): Likewise.
17942 (struct La_s390_32_regs): Likewise.
17943 (struct La_s390_32_retval): Likewise.
17944 (struct La_s390_64_regs): Likewise.
17945 (struct La_s390_64_retval): Likewise.
17946 (struct La_sparc32_regs): Likewise.
17947 (struct La_sparc32_retval): Likewise.
17948 (struct La_sparc64_regs): Likewise.
17949 (struct La_sparc64_retval): Likewise.
17950 (struct audit_ifaces): Remove architecture-specific pltenter and
17951 pltexit members.
17952 * sysdeps/i386/ldsodefs.h: New file.
17953 * sysdeps/powerpc/ldsodefs.h: Likewise.
17954 * sysdeps/s390/ldsodefs.h: Likewise.
17955 * sysdeps/sh/ldsodefs.h: Likewise.
17956 * sysdeps/sparc/ldsodefs.h: Likewise.
17957 * sysdeps/x86_64/ldsodefs.h: Likewise.
17958
354691b7
MP
179592012-07-25 Marek Polacek <polacek@redhat.com>
17960
17961 [BZ #6808]
17962 * math/libm-test.inc (yn_test): Add another test.
17963 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
17964 to ERANGE when the result is +-Inf.
17965 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17966 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
17967 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
17968 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
17969
bf9e2071
JM
179702012-07-24 Joseph Myers <joseph@codesourcery.com>
17971
17972 * conform/data/time.h-data (NULL): Use macro-constant. Require
17973 equal to 0.
17974 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
17975 clock_t.
17976 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
17977
57633811
TS
179782012-07-23 Thomas Schwinge <thomas@codesourcery.com>
17979
17980 * configure.in <sysdeps resolving>: Correct printing
17981 Implies_before.
17982 * configure: Regenerate.
17983
c23c33b0
TS
179842012-07-22 Thomas Schwinge <thomas@codesourcery.com>
17985
17986 * math/w_ilogb.c: Include <limits.h>.
17987 * math/w_ilogbl.c: Likewise.
17988
b5982523
JM
179892012-07-20 Joseph Myers <joseph@codesourcery.com>
17990
17991 * manual/lang.texi (__va_copy): Document primarily as ISO C99
17992 va_copy. Document allowing for unavailable va_copy only as
17993 pre-C99 compatibility.
17994 * manual/string.texi (Copying and Concatenation): Use va_copy
17995 instead of __va_copy in concat example.
17996
ac4ea442
PT
179972012-07-20 Pino Toscano <toscano.pino@tiscali.it>
17998
17999 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
18000 (__sendto): Use create_address_port. Initialize APORT and deallocate
18001 it if not null.
18002
f98eafbd
PT
18003 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
18004 with O_NOLINK passed to __file_name_lookup.
18005
898c7aab
PT
18006 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
18007 with O_NOLINK passed to __file_name_lookup.
18008
0ced335a
PT
18009 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
18010 negative N or less than NGIDS.
18011
b3404dbd
PT
18012 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
18013 type to string_t. Set ERANGE as errno and return it if NAME is not big
18014 enough. Use memcpy instead of strncpy.
18015
0f48659e
JM
180162012-07-20 Joseph Myers <joseph@codesourcery.com>
18017
18018 * elf/Makefile (check-data): Remove.
18019 (localplt.data): New vpath directive.
18020 ($(objpfx)check-localplt.out): Use localplt.data from vpath
18021 instead of $(check-data).
18022 * scripts/data/localplt-generic.data: Move to ...
18023 * sysdeps/generic/localplt.data: ... here.
18024 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
18025 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
18026 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
18027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
18028 ... here.
18029 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
18030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
18031 ... here.
18032 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
18033 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
18034 ... here.
18035 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
18036 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
18037 ... here.
18038 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
18039 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
18040 ... here.
18041 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
18042 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
18043 ... here.
18044
d37cbdaa
AZ
180452012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18046
18047 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
18048 PPC32 and PPC64 files.
18049 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
18050 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
18051
46f85fc2
AK
180522012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18053
18054 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
18055 __makecontext_ret to ...
18056 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
18057 ... here and call exit if uc_link is NULL. New file.
18058 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
18059 __makecontext_ret.S.
18060 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
18061 __makecontext_ret to ...
18062 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
18063 ... here and call exit if uc_link is NULL. New file.
18064 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
18065 __makecontext_ret.S.
18066
08f43f9b
AK
180672012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18068
18069 * elf/elf.h (R_390_IRELATIVE): New definition.
18070 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
18071 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
18072 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
18073 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18074 (elf_machine_lazy_rel): Likewise.
18075 * sysdeps/s390/dl-irel.h: New file.
18076 * sysdeps/s390/s390-64/memcpy.S: New asm code.
18077 * sysdeps/s390/s390-64/memset.S: New asm code.
18078 * sysdeps/s390/s390-64/memcmp.S: New asm code.
18079 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
18080 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
18081 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
18082 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
18083 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
18084 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
18085 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
18086 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
18087 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
18088 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
18089 * sysdeps/s390/s390-32/memcpy.S: New asm code.
18090 * sysdeps/s390/s390-32/memset.S: New asm code.
18091 * sysdeps/s390/s390-32/memcmp.S: New asm code.
18092
3b05db33
MP
180932012-07-17 Marek Polacek <polacek@redhat.com>
18094
18095 [BZ #14349]
18096 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
18097 * sysdeps/s390/s390-64/configure.in: Likewise.
18098 * sysdeps/sparc/configure.in: Likewise.
18099 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
18100 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
18101 * sysdeps/i386/configure.in: Likewise.
18102 * sysdeps/x86_64/configure.in: Likewise.
18103 * sysdeps/sh/configure.in: Likewise.
18104 * sysdeps/s390/s390-32/configure: Regenerated.
18105 * sysdeps/s390/s390-64/configure: Likewise.
18106 * sysdeps/x86_64/configure: Likewise.
18107 * sysdeps/sh/configure: Likewise.
18108 * sysdeps/powerpc/powerpc64/configure: Likewise.
18109 * sysdeps/powerpc/powerpc32/configure: Likewise.
18110 * sysdeps/sparc/configure: Likwise.
18111 * sysdeps/i386/configure: Likewise.
18112
a66877c6
MP
18113 * elf/dl-open.c: Comment fixes.
18114
cfc82fd8
JM
181152012-07-17 Joseph Myers <joseph@codesourcery.com>
18116
bd29910a
JM
18117 * Makefile [CXX] (check-data): Remove.
18118 [CXX] (c++-types.data): New vpath directive.
18119 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
18120 vpath. Do not allow for C++ type data being missing.
18121 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
18122 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
18123 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
18124 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
18125 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
18126 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
18127 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
18128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
18129 ... here.
18130 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
18131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
18132 ... here.
18133 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
18134 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
18135 ... here.
18136 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
18137 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
18138 ... here.
18139 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
18140 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
18141 ... here.
18142 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
18143 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
18144 ... here.
18145 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
18146 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
18147 ... here.
18148 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
18149 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
18150
cfc82fd8
JM
18151 * elf/tls-macros.h (TLS_LE): Move architecture-specific
18152 definitions to architecture-specific files.
18153 (TLS_IE): Likewise.
18154 (TLS_LD): Likewise.
18155 (TLS_GD): Likewise.
18156 * sysdeps/i386/tls-macros.h: New file.
18157 * sysdeps/powerpc/tls-macros.h: Likewise.
18158 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
18159 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
18160 * sysdeps/sh/tls-macros.h: Likewise.
18161 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
18162 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
18163 * sysdeps/x86_64/tls-macros.h: Likewise.
18164
f7db3170
TS
181652012-07-17 Thomas Schwinge <thomas@codesourcery.com>
18166
07cbfc23
TS
18167 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
18168 zero value for regular exit case.
18169
f7db3170
TS
18170 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
18171 (__start_context): Preserve zero value for regular exit case.
18172
dc97c227
TS
181732012-07-17 Thomas Schwinge <thomas@codesourcery.com>
18174 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18175
18176 * manual/setjmp.texi (setcontext): Clarify normal process
18177 termination when uc_link is the null pointer.
18178 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
18179 exit call.
18180
d0cd7d02
AS
181812012-07-16 Andreas Schwab <schwab@linux-m68k.org>
18182
18183 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
18184 preprocessor. Test for each exception mask separately.
18185
dd318934
AJ
181862012-07-16 Andreas Jaeger <aj@suse.de>
18187
18188 * po/ru.po: Update from translation team.
18189
8048311a
JM
181902012-07-15 Joseph Myers <joseph@codesourcery.com>
18191
18192 * conform/data/string.h-data (NULL): Use macro-constant. Require
18193 equal to 0.
18194 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18195 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18196 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
18197 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
18198 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18199
b637d46e
AJ
182002012-07-13 Andreas Jaeger <aj@suse.de>
18201
18202 * po/fr.po: Update from translation team.
18203
541428fe
MP
182042012-07-12 Marek Polacek <polacek@redhat.com>
18205
18206 [BZ #14173]
18207 * math/libm-test.inc (yn_test): Add test for BZ #14173.
18208 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
18209 loop condition.
18210
ec332e94
JM
182112012-07-12 Joseph Myers <joseph@codesourcery.com>
18212
18213 [BZ #13717]
18214 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18215 Change to 2.4.1 where previously 2.4.0.
18216 * sysdeps/unix/sysv/linux/configure: Regenerated.
18217 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
18218 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
18219 version.
18220 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
18221 (__ASSUME_AT_CLKTCK): Remove.
18222 (__ASSUME_AT_PAGESIZE): Likewise.
18223 (__ASSUME_AT_XID): Likewise.
18224 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
18225 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
18226 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
18227 unconditionally.
18228 (HAVE_AUX_PAGESIZE): Likewise.
18229 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
18230 [__ASSUME_AT_CLKTCK]: Make code unconditional.
18231 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
18232
7b6e99be
JB
182332012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
18234
18235 [BZ #14307]
18236 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
18237 the temporary buffer used to invoke __gethostbyname2_r,
18238 __gethostbyaddr_r and gethostbyname4_r to make room for struct
18239 host_data / struct gaih_addrtuple.
18240 * resolv/nss_dns/dns-host.c (global scope): Move definition of
18241 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
18242 header file nss/nsswitch.h.
18243 * nss/nsswitch.h (global scope): Add definition of implementation
18244 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
18245 resolv/nss_dns/dns-host.c).
18246
608404eb
AJ
182472012-07-11 Andreas Jaeger <aj@suse.de>
18248
18249 * po/fr.po: Update from translation team.
18250
71220aca
AJ
18251 * po/sv.po: Update from translation team
18252 * po/fr.po: Another update from translation team.
18253
28cfe843
AZ
182542012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18255
18256 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
18257 for subnormals or multiply small sinh result by itself.
18258 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18259 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18260
6b90f981
DM
182612012-07-11 David S. Miller <davem@davemloft.net>
18262
18263 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18264
c6825772
AS
182652012-07-10 Andreas Schwab <schwab@linux-m68k.org>
18266
18267 [BZ #14347]
18268 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
18269 (INTERNAL_MARK): Shift it here.
18270
7b8e0d49
MP
182712012-07-10 Marek Polacek <polacek@redhat.com>
18272
18273 [BZ #14151]
18274 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
18275 libc_cv_asm_global_directive with .globl.
18276 * configure: Regenerated.
18277 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
18278 with .globl.
18279 * sysdeps/i386/configure: Regenerated.
18280 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
18281 with .globl.
18282 * sysdeps/x86_64/configure: Regenerated.
18283 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
18284 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
18285 * elf/tst-unique2mod2.c: Likewise.
18286 * elf/tst-unique2mod1.c: Likewise.
18287 * elf/tst-unique1mod2.c: Likewise.
18288 * elf/tst-unique1mod1.c: Likewise.
18289 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18290 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18291 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18292 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18293 * sysdeps/mach/sysdep.h: Likewise.
18294 * sysdeps/i386/sysdep.h: Likewise.
18295 * sysdeps/i386/i386-mcount.S: Likewise.
18296 * sysdeps/x86_64/_mcount.S: Likewise.
18297 * sysdeps/x86_64/sysdep.h: Likewise.
18298 * sysdeps/sh/_mcount.S: Likewise.
18299 * sysdeps/sh/sysdep.h: Likewise.
18300 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
18301 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
18302 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
18303 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18304 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
18305 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
18306 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
18307 * locale/localeinfo.h: Likewise.
18308 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
18309 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
18310
6c55cda3
RM
183112012-07-09 Roland McGrath <roland@hack.frob.com>
18312
18313 [BZ #14336]
18314 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
18315 system".
18316 * manual/message.texi (The Uniforum approach): Likewise.
18317 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
18318 (glibc iconv Implementation): Likewise.
18319
638a572e
JM
183202012-07-09 Joseph Myers <joseph@codesourcery.com>
18321
18322 [BZ #14337]
18323 * math/s_clog.c (__clog): Avoid scaling a value down where that
18324 could result in underflow.
18325 * math/s_clog10.c (__clog10): Likewise.
18326 * math/s_clog10f.c (__clog10f): Likewise.
18327 * math/s_clog10l.c (__clog10l): Likewise.
18328 * math/s_clogf.c (__clogf): Likewise.
18329 * math/s_clogl.c (__clogl): Likewise.
18330 * math/libm-test.inc (clog_test): Add more tests.
18331 (clog10_test): Likewise.
18332 * sysdeps/i386/fpu/libm-test-ulps: Update.
18333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18334
261f4859
AS
183352012-07-06 Andreas Schwab <schwab@linux-m68k.org>
18336
0abaf3e4
AS
18337 [BZ #14283]
18338 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
18339 by 7 not 8 to examine high bit of fractional part.
18340
261f4859
AS
18341 [BZ #14042]
18342 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
18343 for call to __mcount_internal.
18344 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
18345 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
18346 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
18347
f17ac40d
JM
183482012-07-06 Joseph Myers <joseph@codesourcery.com>
18349
9ad63c23
JM
18350 [BZ #14154]
18351 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
18352 approximation for values within 0x1p-13f of an odd multiple of
18353 pi/4.
18354 * math/libm-test.inc (tan_test): Do not allow spurious underflow
18355 exception. Add more tests.
18356 * sysdeps/i386/fpu/libm-test-ulps: Update.
18357
f17ac40d
JM
18358 [BZ #6778]
18359 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
18360 inputs and return -1 for them. Do not check for +Inf in case not
18361 reachable for +Inf.
18362 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18363 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
18364 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18365 and return -1 for them. Do not check for +Inf in case not
18366 reachable for +Inf.
18367 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
18368 define.
18369 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18370 and return -1 for them. Do not check for +Inf in case not
18371 reachable for +Inf.
18372 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
18373 spurious underflow.
18374 * sysdeps/i386/fpu/libm-test-ulps: Update.
18375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18376
fb21f89b
MF
183772012-07-06 Mike Frysinger <vapier@gentoo.org>
18378
18379 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
18380
cdfe2c5e
JM
183812012-07-05 Joseph Myers <joseph@codesourcery.com>
18382
18383 [BZ #14157]
18384 [BZ #14331]
18385 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
18386 could result in spurious underflow. Scale down values above
18387 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
18388 * math/s_csqrtf.c (__csqrtf): Likewise.
18389 * math/s_csqrtl.c (__csqrtl): Likewise.
18390 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
18391 spurious underflow.
18392 * sysdeps/i386/fpu/libm-test-ulps: Update.
18393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18394
70d35b67
AS
183952012-07-04 Andreas Schwab <schwab@linux-m68k.org>
18396
704bc459
AS
18397 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
18398 xopen-msg.sed.
18399 * catgets/xopen-msg.awk: New file.
18400 * catgets/xopen-msg.sed: Removed.
18401
70d35b67
AS
18402 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
18403 po2text.sed.
18404 * intl/po2test.awk: New file.
18405 * intl/po2test.sed: Removed.
18406
ca61cf32
JM
184072012-07-04 Joseph Myers <joseph@codesourcery.com>
18408
18409 [BZ #14328]
18410 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
18411 or multiply small sinh result by itself.
18412 * math/s_ctanf.c (__ctanf): Likewise.
18413 * math/s_ctanh.c (__ctanh): Likewise.
18414 * math/s_ctanhf.c (__ctanhf): Likewise.
18415 * math/s_ctanhl.c (__ctanhl): Likewise.
18416 * math/s_ctanl.c (__ctanl): Likewise.
18417 * math/libm-test.inc (ctan_test_tonearest): New function.
18418 (ctan_test_towardzero): Likewise.
18419 (ctan_test_downward): Likewise.
18420 (ctan_test_upward): Likewise.
18421 (ctanh_test_tonearest): Likewise.
18422 (ctanh_test_towardzero): Likewise.
18423 (ctanh_test_downward): Likewise.
18424 (ctanh_test_upward): Likewise.
18425 (main): Call these new functions.
18426 * sysdeps/i386/fpu/libm-test-ulps: Update.
18427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18428
ca48a46a
MF
184292012-07-03 Mike Frysinger <vapier@gentoo.org>
18430
18431 * .gitignore: Delete /ports entry.
18432
9d63d37d
AJ
184332012-07-03 Andreas Jaeger <aj@suse.de>
18434
18435 * po/bg.po: Update from translation team.
18436 * po/cs.po: Likewise.
18437 * po/de.po: Likewise.
18438 * po/hr.po: Likewise.
18439 * po/nl.pl: Likewise.
18440 * po/pl.po: Likewise.
18441 * po/vi.po: Likewise.
18442
370ca3d2
JM
184432012-07-03 Joseph Myers <joseph@codesourcery.com>
18444
95f5a9a8
JM
18445 * Makeconfig [!+link] (+link-before-libc): New variable.
18446 [!+link] (+link-after-libc): Likewise.
18447 [!+link] (+link-tests): Likewise.
18448 [!+link] (+link): Define in terms of $(+link-before-libc) and
18449 $(+link-after-libc).
18450 [!+link-static] (+link-static-before-libc): New variable.
18451 [!+link-static] (+link-static-after-libc): Likewise.
18452 [!+link-static] (+link-static-tests): Likewise.
18453 [!+link-static] (+link-static): Define in terms of
18454 $(+link-static-before-libc) and $(+link-static-after-libc).
18455 [build-shared] (link-libc-before-gnulib): New variable.
18456 [build-shared] (link-libc-tests): Likewise.
18457 [build-shared] (link-libc): Define in terms of
18458 $(link-libc-before-gnulib).
18459 [!build-shared] (link-libc-tests): New variable.
18460 (link-libc-static-tests): New variable.
18461 [!gnulib] (gnulib-arch): New variable.
18462 [!gnulib] (gnulib-tests): Likewise.
18463 [!gnulib] (static-gnulib-arch): Likewise.
18464 [!gnulib] (static-gnulib-tests): Likewise.
18465 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
18466 Define with "=" instead of ":=".
18467 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
18468 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
18469 * Rules (binaries-all-notests): New variable.
18470 (binaries-all-tests): Likewise.
18471 (binaries-static-notests): Likewise.
18472 (binaries-static-tests): Likewise.
18473 (binaries-all): Define using $(binaries-all-notests) and
18474 $(binaries-all-tests).
18475 (binaries-static): Define using $(binaries-static-notests) and
18476 $(binaries-static-tests).
18477 (binaries-shared-tests): New variable.
18478 (binaries-shared-notests): Likewise.
18479 (binaries-shared): Remove variable.
18480 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
18481 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
18482 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
18483 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
18484 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
18485 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
18486 * elf/Makefile (sln-modules): New variable.
18487 (extra-objs): Add $(sln-modules:=.o).
18488 (ldconfig-modules): Add static-stubs.
18489 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
18490 * elf/static-stubs.c: New file.
18491
7a845b2c
JM
18492 [BZ #14283]
18493 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
18494 by 7 not 8 to examine high bit of fractional part. Use volatile
18495 variables when splitting into final array of floats if
18496 __FLT_EVAL_METHOD__ != 0.
18497 * math/libm-test.inc (cos_test): Add another test.
18498 (sin_test): Likewise.
18499 * sysdeps/i386/fpu/libm-test-ulps: Update.
18500
e2283f38
JM
18501 [BZ #14273]
18502 * math/libm-test.inc (cosh_test): Add more tests.
18503
370ca3d2
JM
18504 * version.h (RELEASE): Set to "development".
18505 (VERSION): Set to "2.16.90".
18506
ee9247c3
CD
185072012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
18508
18509 * NEWS: Update copyright. Remove last-updated date.
18510 Mention math library bug fixes and timezone data changes.
18511 * README: Mention GNU/Hurd, x32, and HPPA support status.
18512
4648c381
TS
185132012-06-28 Thomas Schwinge <thomas@codesourcery.com>
18514
18515 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
18516
aac78a43
AJ
185172012-06-27 Andreas Jaeger <aj@suse.de>
18518
18519 * manual/contrib.texi (Contributors): Add Samuel Thibault.
18520
ed3dbfad
AJ
185212012-06-25 Andreas Jaeger <aj@suse.de>
18522
18523 * sysdeps/s390/fpu/libm-test-ulps: Update.
18524
4d0ee855
AS
185252012-06-23 Andreas Schwab <schwab@linux-m68k.org>
18526 Thomas Schwinge <thomas@codesourcery.com>
18527
18528 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
18529 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
18530 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
18531 fanotify_mark.
18532
af1bce34
TS
185332012-06-23 Thomas Schwinge <thomas@codesourcery.com>
18534
a9fa33ba
TS
18535 * sysdeps/mach/start.c: Remove file.
18536 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
18537 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
18538 * sysdeps/sh/init-first.c: Likewise.
18539
58f902b8
TS
18540 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
18541 registers for frame unwinding purposes, add CFI directives.
18542 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18543 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
18544 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
18545 Likewise.
18546
1518f58b
TS
18547 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
18548 __fortify_fail returning.
18549 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18550
db9b5059
TS
18551 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
18552 sysdeps/sh/____longjmp_chk.S.
18553 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
18554 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
18555 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
18556 (gen-as-const-headers): Append sigaltstack-offsets.sym.
18557
967705fe
TS
18558 * sysdeps/sh/abort-instr.h: New file.
18559 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
18560 process in case exit returns.
18561
a9def8c4
TS
18562 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
18563 initialize the GOT register before use.
18564
2a649725
TS
18565 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
18566 calculation of ARGC > 4.
18567
af1bce34
TS
18568 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
18569 meaningful names to some local labels.
18570
d230f50a
KK
185712012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18572 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18573
18574 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
18575 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
18576 (__arch_compare_and_exchange_val_16_acq): Likewise.
18577 (__arch_compare_and_exchange_val_32_acq): Likewise.
18578 (atomic_exchange_and_add): Fix gUSA sequence.
18579 (atomic_add): Likewise.
18580 (atomic_add_negative): Likewise.
18581 (atomic_add_zero): Likewise.
18582 (atomic_bit_test_set): Likewise.
18583
0479b305
AS
185842012-06-22 Andreas Schwab <schwab@redhat.com>
18585
18586 [BZ #13579]
18587 * include/link.h (struct link_map): Add l_free_initfini.
18588 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
18589 l_initfini.
18590 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
18591 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
18592 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
18593 set.
18594
0e3933b9
CD
185952012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
18596
18597 * configure.in: Use AC_LANG_SOURCE.
18598 * configure: Regenerate.
18599
4248b1b1
RM
186002012-06-22 Roland McGrath <roland@hack.frob.com>
18601
18602 * configure.in (libc_cv_localstatedir): New substituted variable.
18603 * configure: Regenerated.
18604 * config.make.in (localstatedir): New variable, substituted from
18605 libc_cv_localstatedir.
18606 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
18607 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
18608 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
18609 * sysdeps/gnu/configure: Regenerated.
18610
006dd861
JL
186112012-06-21 Jeff Law <law@redhat.com>
18612
18613 [BZ #14277]
18614 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
18615 free. Simplify list management for _LIBC case.
18616
79662d42
JM
186172012-06-21 Joseph Myers <joseph@codesourcery.com>
18618
b7abb4bf
JM
18619 [BZ #14273]
18620 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
18621 Clear sign bit of 64-bit integer value before comparing against
18622 overflow value.
18623
79662d42
JM
18624 * sysdeps/mach/configure: Regenerated.
18625
1f150908
L
186262012-06-21 H.J. Lu <hongjiu.lu@intel.com>
18627
18628 [BZ #14278]
18629 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
18630
28363bbf
JL
186312012-06-21 Jeff Law <law@redhat.com>
18632
18633 [BZ #13882]
18634 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
18635 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 18636 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
18637 * elf/dl-open.c (dl_open_worker): Likewise.
18638
09615db4
CD
186392012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
18640
18641 * scripts/list-sources.sh: Scan PORTS for translations.
18642 * po/libc.pot: Regenerated.
18643
2174c6dd
AJ
186442012-06-21 Andreas Jaeger <aj@suse.de>
18645
18646 [BZ #12194]
18647 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
18648 warning.
18649 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
18650 * bits/byteswap-16.h (__bswap_16): Likewise.
18651 * bits/byteswap.h (__bswap_constant_16): Likewise.
18652
3ee947b1
L
186532012-06-18 H.J. Lu <hongjiu.lu@intel.com>
18654
18655 [BZ #14117]
a2f34833
L
18656 * sysdeps/i386/fpu_control.h: Removed.
18657 * sysdeps/x86_64/fpu_control.h: Moved to ...
18658 * sysdeps/x86/fpu_control.h: Here.
18659
3ee947b1
L
18660 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
18661 (_FPU_SETCW): Likewise.
18662
ed1825f8
L
186632012-06-15 H.J. Lu <hongjiu.lu@intel.com>
18664
25f1282a
L
18665 [BZ #14117]
18666 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
18667 * sysdeps/x86/fpu/bits/mathinline.h: This.
18668 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
18669
ed1825f8
L
18670 [BZ #14050]
18671 [BZ #14117]
18672 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
18673 functions if __x86_64__ is defined.
18674
36d54b74
CLT
186752012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
18676
18677 * string/endian.h: Add !__ASSEMBLER__ condition for including
18678 conversion interfaces.
18679
10285c21
JM
186802012-06-15 Joseph Myers <joseph@codesourcery.com>
18681
18682 [BZ #14241]
18683 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
18684 of ABS(x) in calculating zero to negative powers other than odd
18685 integers.
18686 * math/libm-test.inc (pow_test): Add more tests.
18687
06c5abbd
AJ
186882012-06-15 Andreas Jaeger <aj@suse.de>
18689
18690 * manual/contrib.texi (Contributors): Update entry of Liubov
18691 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
18692 Machado Filho.
18693
a3aeac40
CH
186942012-06-15 Cyril Hrubis <metan@ucw.cz>
18695
18696 * string/string.h: Add __wur to GNU version of strerror_r.
18697
49bdf4c1
L
186982012-06-14 H.J. Lu <hongjiu.lu@intel.com>
18699
18700 [BZ #14229]
18701 * string/Makefile (tests): Add tst-strtok_r.
18702 * string/tst-strtok_r.c: New file.
18703 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
18704 RAX_LP/RDX_LP on SAVE_PTR.
18705
834f9b8d
RM
187062012-06-14 Roland McGrath <roland@hack.frob.com>
18707
18708 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
18709
75fa1921
JM
187102012-06-14 Joseph Myers <joseph@codesourcery.com>
18711
18712 * libm_test.inc (csqrt_test): Allow more spurious underflow
18713 exceptions.
18714 (j0_test): Likewise.
18715 (j1_test): Likewise.
18716 (y0_test): Likewise.
18717 (y1_test): Likewise.
18718
771766df
CD
187192012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
18720
18721 * po/Makefile (libc.pot): Use UTF-8 charset.
18722
ceb9e56b
PP
187232012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
18724
18725 [BZ #14210]
18726 Suppress sign-conversion warning from FD_SET.
18727 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
18728 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
18729 not unsigned long int.
18730 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
18731
ddb28975
L
187322012-06-12 H.J. Lu <hongjiu.lu@intel.com>
18733
18734 [BZ #14050]
18735 [BZ #14117]
18736 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
18737 __extern_always_inline instead of __extern_inline.
18738 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
18739 (__signbit): Likewise.
18740 (__signbitl): Support C++ namespace.
18741 (lrintf): New inline function.
18742 (lrint): Likewise.
18743 (llrintf): Likewise.
18744 (llrint): Likewise.
18745 (fmaxf): Likewise.
18746 (fmax): Likewise.
18747 (fminf): Likewise.
18748 (fmin): Likewise.
18749 (rint): Likewise.
18750 (rintf): Likewise.
18751 (ceil): Likewise.
18752 (ceilf): Likewise.
18753 (floor): Likewise.
18754 (floorf): Likewise.
18755 (nearbyint): Likewise.
18756 (nearbyintf): Likewise.
18757
d7b4fb26
TS
187582012-06-12 Thomas Schwinge <thomas@codesourcery.com>
18759
18760 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
18761 non-default versions.
18762
eb55f5c2
RM
187632012-06-11 Roland McGrath <roland@hack.frob.com>
18764
18765 [BZ #14218]
18766 * manual/argp.texi (Argp): Reword argp_parse description slightly.
18767
366af02c
TS
187682012-06-09 Thomas Schwinge <thomas@codesourcery.com>
18769
99ff6e5c
TS
18770 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
18771 (FE_UPWARD, FE_DOWNWARD): Don't define.
18772 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
18773 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18774
366af02c
TS
18775 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
18776 reading it.
18777 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18778 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18779
793ea851
KK
187802012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18781
18782 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18783 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
18784 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
18785 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
18786
a728a38f
L
187872012-06-06 H.J. Lu <hongjiu.lu@intel.com>
18788
18789 [BZ #14117]
c08010c7
L
18790 * sysdeps/i386/fpu/bits/fenv.h: Removed.
18791 * sysdeps/i386/fpu/Implies: New file.
18792 * sysdeps/x86_64/fpu/Implies: Likewise.
18793 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
18794 * sysdeps/x86/fpu/bits/fenv.h: This.
18795
a728a38f
L
18796 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
18797 __SSE_MATH__.
18798
6e230d11
SP
187992012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18800
18801 [BZ #14134]
18802 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
18803 character 0xffff that matches the last element of the
18804 conversion table.
18805
1b671feb
AZ
188062012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18807
18808 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
18809 fmodl commit.
18810
6043738b
AZ
188112012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18812
18813 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
18814 values higher than 25.6283.
18815
34ae0b32
AZ
188162012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18817
18818 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
18819 subnormal exponent extraction and add some __builtin_expect.
18820 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
18821 Fix for subnormal mantissa calculation.
18822
1214ec8f
MF
188232012-06-04 Mike Frysinger <vapier@gentoo.org>
18824
18825 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
18826 cpu2 is -1 and errno is not ENOSYS.
18827
f3d1f93c
L
188282012-06-04 H.J. Lu <hongjiu.lu@intel.com>
18829
18830 [BZ #14117]
0e4a3cd7
L
18831 * sysdeps/i386/i486/bits/string.h: Renamed to ...
18832 * sysdeps/x86/bits/string.h: This.
18833 * sysdeps/x86_64/bits/string.h: Removed.
18834
6704c645
L
18835 * sysdeps/i386/i486/bits/string.h: Define inline functions only
18836 if not compiling for x86-64, but compiling for >= i486.
18837
48495318
L
18838 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
18839 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
18840
14adcbfc
L
18841 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
18842 New macro from Linux kernel 3.4.0.
18843 (FP_XSTATE_MAGIC2): Likewise.
18844 (FP_XSTATE_MAGIC2_SIZE): Likewise.
18845 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
18846 (struct _fpx_sw_bytes): New struct.
18847 (struct _xsave_hdr): Likewise.
18848 (struct _ymmh_state): Likewise.
18849 (struct _xstate): Likewise.
18850
68e408ab
L
18851 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
18852 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
18853 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
18854 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
18855 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
18856 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
18857
f3d1f93c
L
18858 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
18859 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
18860 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
18861 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
18862 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
18863 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
18864
d9dc34cd
TMQMF
188652012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18866
18867 [BZ #13743]
18868 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
18869 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
18870 (sysdep_headers): Include sys/platform/ppc.h.
18871 * sysdeps/powerpc/test-gettimebase.c: Test for
18872 __ppc_get_timebase() to catch future ISA opcode/insn changes.
18873 * manual/Makefile (appendices): Include platform.texi.
18874 * manual/contrib.texi (Contributors): Update @node pointers.
18875 * manual/maint.texi (Maintenance): Likewise.
18876 (Platform): New node.
18877 * manual/platform.texi: New file. Document the new features.
18878
4af3879c
SP
188792012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18880 Jakub Jelinek <jakub@redhat.com>
18881
18882 [BZ #14188]
18883 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
18884 where __builtin_expect is unavailable.
18885
2fd6ff13
DM
188862012-06-03 David S. Miller <davem@davemloft.net>
18887
18888 * stdlib/longlong.h: Updated from GCC.
18889
173f7220
AS
188902012-06-02 Andreas Schwab <schwab@linux-m68k.org>
18891
18892 [BZ #14042]
18893 * sysdeps/powerpc/powerpc32/mcount.c: New file.
18894 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
18895 __mcount_internal.
18896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18897 (GLIBC_2.16): Likewise.
18898
f34a1c6f
L
188992012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18900
18901 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
18902
88a4576f
JM
189032012-06-01 Joseph Myers <joseph@codesourcery.com>
18904
ea32bcdd
JM
18905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
18906 (default-abi): New variable.
18907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
18908 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
18909 variable.
18910 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
18911 Likewise.
18912 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
18913 Likewise.
18914 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
18915 Likewise.
18916
88a4576f
JM
18917 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
18918 definition. Document in comment.
18919
402fe938
DM
189202012-06-01 David S. Miller <davem@davemloft.net>
18921
18922 * stdlib/longlong.h: Updated from GCC.
18923
3553723f
L
189242012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18925
18926 [BZ #14117]
3bd872c4
L
18927 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
18928 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
18929 sys/debugreg.h sys/io.h here.
18930 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
18931 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
18932 sys/io.h.
18933 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
18934 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
18935 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
18936 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
18937 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
18938 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
18939
3553723f
L
18940 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
18941 Define only if __x86_64__ is defined.
18942
4842e4fe
JM
189432012-06-01 Joseph Myers <joseph@codesourcery.com>
18944
c5bfe3d5
JM
18945 [BZ #14048]
18946 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
18947 Use int64_t for variable i.
18948 * math/libm-test.inc (fmod_test): Add more tests.
18949
4842e4fe
JM
18950 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
18951 z computation is not scheduled after fetestexcept.
18952 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
18953 Use math_force_eval instead of asm to ensure calculation scheduled
18954 before exception test.
18955 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
18956 Ensure a1 + u.d computation is not scheduled after fetestexcept.
18957
efb73488
AJ
189582012-06-01 Aurelien Jarno <aurelien@aurel32.net>
18959
18960 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
18961 computation is not scheduled after fetestexcept.
18962
29bcce7c
L
189632012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18964
18965 [BZ #14117]
18966 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
18967 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
18968
73a68f94
AZ
189692012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18970
18971 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
18972 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18973
67b6df78
L
189742012-05-31 H.J. Lu <hongjiu.lu@intel.com>
18975
edf2933a 18976 [BZ #14117]
ebc64a18
L
18977 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
18978 <bits/wordsize.h>.
18979 (__WCHAR_MIN): Support __WORDSIZE == 64.
18980 (__WCHAR_MAX): Likewise.
18981
edf2933a
L
18982 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
18983 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
18984
57c6cf40
L
18985 [BZ #14183]
18986 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
18987 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
18988
67b6df78 18989 [BZ #14117]
8eb6281e
L
18990 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
18991 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
18992
aac639f4
L
18993 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
18994 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
18995
67b6df78
L
18996 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
18997 Defined to 1 if __x86_64__ isn't defined.
18998 (_STAT_VER_LINUX_OLD): New.
18999 (st_atime): Remove duplicate.
19000 (st_mtime): Likewise.
19001 (st_ctime): Likewise.
19002
1c2cfe81
DM
190032012-05-31 David S. Miller <davem@davemloft.net>
19004
19005 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
19006 entries.
19007
5be8418c
AS
190082012-06-01 Andreas Schwab <schwab@linux-m68k.org>
19009
e7725326
AS
19010 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
19011 gen-libm-test.pl.
19012
5be8418c
AS
19013 [BZ #14132]
19014 * elf/dl-reloc.c: Include <_itoa.h>.
19015 (_dl_reloc_bad_type): Remove use of INTUSE.
19016 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
19017 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
19018 * stdio-common/psiginfo.c (psiginfo): Likewise.
19019 * stdio-common/psignal.c (psignal): Likewise.
19020 * string/strsignal.c (strsignal): Likewise.
19021 * include/signal.h (_sys_siglist): Declare hidden proto.
19022 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
19023 INTVARDEF with libc_hidden_data_def.
19024 * stdio-common/itoa-udigits.c: Likewise.
19025 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
19026 (_itoa_lower_digits_internal): Remove declaration.
19027 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
19028 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
19029 (_sys_sigabbrev_internal): Remove aliases.
19030 (_sys_siglist): Define hidden alias.
19031
507352f1
MT
190322012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
19033
19034 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19035 bits/sysctl.h.
19036
42bbb1c3
L
190372012-05-31 H.J. Lu <hongjiu.lu@intel.com>
19038
19039 [BZ #14117]
6bd784b6
L
19040 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
19041 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
19042
8bca20f0
L
19043 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
19044 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
19045 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
19046 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
19047 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
19048 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
19049
f9e890a9
L
19050 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
19051 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
19052 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
19053
471101a1
L
19054 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
19055 with __addr.
19056 (insw): Likewise.
19057 (insl): Likewise.
19058 (outsb): Likewise.
19059 (outsw): Likewise.
19060 (outsl): Likewise.
19061
6451c862
L
19062 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
19063 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
19064 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
19065
a254b8c9
L
19066 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
19067 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
19068 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
19069 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
19070 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
19071 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
19072
b8dfdd92
L
19073 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
19074 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
19075
578cd270
L
19076 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
19077 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
19078
de662f5f
L
19079 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
19080 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
19081 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
19082
25653439
L
19083 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
19084 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
19085 to ...
19086 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
19087
6bad24a0
L
19088 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
19089 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
19090 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
19091
42bbb1c3
L
19092 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
19093 for x86-64.
19094 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
19095
2d10d547
JM
190962012-05-31 Joseph Myers <joseph@codesourcery.com>
19097
19098 * math/math.h (M_El): Use two more decimal places.
19099 (M_LOG2El): Likewise.
19100 (M_LOG10El): Likewise.
19101 (M_LN2l): Likewise.
19102 (M_LN10l): Likewise.
19103 (M_PIl): Likewise.
19104 (M_PI_2l): Likewise.
19105 (M_PI_4l): Likewise.
19106 (M_1_PIl): Likewise.
19107 (M_2_PIl): Likewise.
19108 (M_2_SQRTPIl): Likewise.
19109 (M_SQRT2l): Likewise.
19110 (M_SQRT1_2l): Likewise.
19111
f230c29b
DM
191122012-05-31 David S. Miller <davem@davemloft.net>
19113
19114 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
19115 values between float registers.
19116 * sysdeps/sparc/sparc64/memset.S: Likewise.
19117 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19118
fed806c3
MF
191192012-05-31 Mike Frysinger <vapier@gentoo.org>
19120
19121 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
19122 -D_FORTIFY_SOURCE=1.
19123 (CPPFLAGS-tst-longjmp_chk.c): Define.
19124 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
19125 (CPPFLAGS-tst-longjmp_chk2.c): Define.
19126 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
19127 CFLAGS-tst-wchar-h.c.
19128
30917259
MP
191292012-05-31 Marek Polacek <polacek@redhat.com>
19130
19131 [BZ #14132]
19132 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
19133 __endmntent_internal): Remove declaration.
19134 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
19135 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
19136 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
19137
1c58d5dc
DM
191382012-05-30 David S. Miller <davem@davemloft.net>
19139
19140 * sysdeps/sparc/sparc32/soft-fp/q_util.c
19141 (___Q_simulate_exceptions): Use real FP ops rather than writing
19142 into the %fsr.
19143 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
19144 Likewise.
19145
7dc00e0d
L
191462012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19147
19148 [BZ #14117]
0bd53985
L
19149 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
19150 * sysdeps/x86/bits/xtitypes.h: This.
19151
3a257e66
L
19152 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
19153 * sysdeps/x86/bits/wordsize.h: This.
19154
62f62904
L
19155 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
19156 * sysdeps/x86/bits/huge_vall.h: This.
19157
404fe9d9
L
19158 * sysdeps/i386/bits/select.h: Removed.
19159 * sysdeps/x86_64/bits/select.h: Renamed to ...
19160 * sysdeps/x86/bits/select.h: This.
19161
d48d0446
L
19162 * sysdeps/i386/bits/setjmp.h: Removed.
19163 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
19164 * sysdeps/x86/bits/setjmp.h: This.
19165
7dc00e0d
L
19166 * sysdeps/i386/bits/mathdef.h: Removed.
19167 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
19168 * sysdeps/x86/bits/mathdef.h: This.
19169
03277f8f
AS
191702012-05-30 Andreas Schwab <schwab@linux-m68k.org>
19171
19172 [BZ #14132]
19173 * include/sys/socket.h (__connect_internal)
19174 (__libc_sa_len_internal): Remove declaration.
19175 (__connect, __libc_sa_len): Declare hidden_proto.
19176 (SA_LEN): Remove use of INTUSE.
19177 * socket/connect.c: Add libc_hidden_def.
19178 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
19179 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
19180 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
19181 alias.
19182 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
19183 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
19184 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
19185 of adding _internal alias.
19186
13764867
L
191872012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19188
19189 [BZ #14117]
6bd97696
L
19190 * sysdeps/i386/bits/link.h: Removed.
19191 * sysdeps/i386/bits/linkmap.h: Likewise.
19192 * sysdeps/x86_64/bits/link.h: Renamed to ...
19193 * sysdeps/x86/bits/link.h: This.
19194 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
19195 * sysdeps/x86/bits/linkmap.h: This.
19196
f726f0bb
L
19197 * sysdeps/i386/bits/endian.h: Removed.
19198 * sysdeps/x86_64/bits/endian.h: Renamed to ...
19199 * sysdeps/x86/bits/endian.h: This.
19200
13764867
L
19201 * sysdeps/i386/bits/byteswap.h: Removed.
19202 * sysdeps/i386/bits/byteswap-16.h: Likewise.
19203 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
19204 * sysdeps/x86/bits/byteswap.h: This.
19205 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
19206 * sysdeps/x86/bits/byteswap-16.h: This.
19207 * sysdeps/i386/Implies: Add x86.
19208 * sysdeps/x86_64/Implies: Likewise.
19209
ae251b0b
DM
192102012-05-30 David S. Miller <davem@davemloft.net>
19211
19212 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
19213 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
19214 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
19215 (FP_TRAPPING_EXCEPTIONS): Define.
19216 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
19217 (FP_TRAPPING_EXCEPTIONS): Define.
19218 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
19219 subnormals only when inexact has been signalled or underflow
19220 exceptions are enabled.
19221 (_FP_PACK_CANONICAL): Likewise.
19222
d5c90867
L
192232012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19224
19225 [BZ #14183]
19226 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
19227 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
19228
63f1549e
RH
192292012-05-30 Richard Henderson <rth@twiddle.net>
19230
8d8f2279
RH
19231 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
19232 with #ifndef NOT_IN_libc.
19233
63f1549e
RH
19234 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
19235 marked to avoid plt entry.
19236
0ab0291b
L
192372012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19238
19239 [BZ #14112]
19240 * Makeconfig (default-abi): New macro.
19241 (abi-includes): Likewise.
19242 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
19243 $(abi-$(default-abi)-lib-soname) for soname if defined.
19244 ($(common-objpfx)gnu/lib-names.stmp): Generate from
19245 abi-variants.
19246 * Makefile (installed-stubs): Likewise.
19247 * include/stubs-biarch.h: Removed.
19248 * scripts/lib-names.awk: Only handle one library at a time.
19249 * scripts/soversions.awk: Remove WORDSIZE support.
19250 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
19251 entries.
19252 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
19253 Removed.
19254 (syscall-list-default-condition): Likewise.
19255 (syscall-list-default-condition): Likewise.
19256 (syscall-list-includes): Likewise.
19257 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
19258 syscall-list-* with abi-*. Handle undefined abi-variants.
19259 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
19260 * sysdeps/unix/sysv/linux/i386/Implies: New file.
19261 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
19262 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
19263 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
19264 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
19265 Removed.
19266 (syscall-list-32-options): Likewise.
19267 (syscall-list-32-condition): Likewise.
19268 (syscall-list-64-options): Likewise.
19269 (syscall-list-64-condition): Likewise.
19270 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
19271 macro.
19272 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
19273 Renamed to ...
19274 (abi-*): This.
19275 (abi-64-ld-soname): New macro.
19276 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
19277 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
19278 Renamed to ...
19279 (abi-*): This.
19280 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
19281 * sysdeps/x86_64/x32/shlib-versions: Likewise.
19282
4da0431d
JM
192832012-05-30 Joseph Myers <joseph@codesourcery.com>
19284
3a85279c
JM
19285 * sysdeps/unix/sysv/linux/kernel-features.h
19286 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
19287 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
19288 include <kernel-features.h>.
19289 [!__NR_ftruncate64]: Remove conditional code.
19290 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19291 [__NR_ftruncate64]: Make code unconditional.
19292 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19293 * sysdeps/unix/sysv/linux/truncate64.c: Do not
19294 include <kernel-features.h>.
19295 [!__NR_ftruncate64]: Remove conditional code.
19296 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19297 [__NR_ftruncate64]: Make code unconditional.
19298 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
19300 include <kernel-features.h>.
19301 [!__NR_ftruncate64]: Remove conditional code.
19302 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19303 [__NR_ftruncate64]: Make code unconditional.
19304 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19306 include <kernel-features.h>.
19307 [!__NR_ftruncate64]: Remove conditional code.
19308 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19309 [__NR_ftruncate64]: Make code unconditional.
19310 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19311
4da0431d
JM
19312 * configure.in (libc_cv_fpie): Weaken to a compile test using
19313 LIBC_TRY_CC_OPTION.
19314 * configure: Regenerated.
19315
11ef492c
AK
193162012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19317
19318 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
19319 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
19320 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
19321 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19322 Refreshed.
19323 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
19324 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
19325 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
19326 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
19327 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
19328 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19329 Refreshed.
19330
d66ef399
DM
193312012-05-27 David S. Miller <davem@davemloft.net>
19332
19333 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
19334 (___Q_zero): New.
19335 (__Q_simulate_exceptions): Return void. Change to simulate
19336 exceptions by writing into the %fsr.
19337 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
19338 (__Qp_handle_exceptions): Likewise.
19339 (numbers): Delete.
19340 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
19341 __Qp_handle_exceptions.
19342 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
19343 __Qp_handle_exceptions.
19344 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19345 as unused and give dummy FP_RND_NEAREST initializer.
19346 (FP_INHIBIT_RESULTS): Define.
19347 (___Q_simulate_exceptions): Update declaration.
19348 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
19349 formatting.
19350 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19351 as unused and give dummy FP_RND_NEAREST initializer.
19352 (__Qp_handle_exceptions): Update declaration.
19353 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
19354 formatting.
19355
04fb54b5
TS
193562012-05-27 Thomas Schwinge <thomas@codesourcery.com>
19357
19358 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
19359 the temporary FPU control word.
19360 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19361 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
19362 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
19363 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19364 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19365 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
19366 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
19367 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19368 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19369 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
19370 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19371
3f99608f
KK
193722012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19373
19374 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
19375 fields.
19376
65a4de4e
CLT
193772012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
19378
19379 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
19380 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
19381 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
19382 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
19383 Likewise.
19384 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
19385 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
19386 Likewise.
19387
15749d40
UD
193882012-05-27 Ulrich Drepper <drepper@gmail.com>
19389
19390 * po/h.po: Update from translation team.
19391
25dbcb27
AS
193922012-05-26 Andreas Schwab <schwab@linux-m68k.org>
19393
3d3f8e55
AS
19394 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
19395
25dbcb27
AS
19396 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
19397 handling of denormals.
19398 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19399 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19400 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19401 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19402 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19403 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
19404 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
19405 Likewise.
19406
7ad47a80 194072012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
19408
19409 [BZ #14152]
19410 * math/libm-test.inc (fma_test): Don't always expect underflow
19411 exception.
19412
9c6ea9fa
SP
194132012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19414
19415 [BZ #12416]
19416 * elf/tst-execstack.c: Include stackinfo.h.
19417 (do_test): Adjust test case to ensure that pthread_getattr_np
19418 behaviour remains the same after marking stack executable.
19419
a8239222
JM
194202012-05-25 Joseph Myers <joseph@codesourcery.com>
19421
19422 * sysdeps/unix/sysv/linux/kernel-features.h
19423 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
19424 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
19425 kernel-features.h.
19426 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19427 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19428 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
19429 kernel-features.h.
19430 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19431 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19432
918b5606
L
194332012-05-25 H.J. Lu <hongjiu.lu@intel.com>
19434
19435 * configure.in: Define the default includes to being none.
19436 * configure: Regenerated.
19437
3a097cc7
RM
194382012-05-25 Roland McGrath <roland@hack.frob.com>
19439
8422c9a5
RM
19440 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
19441 * sysdeps/x86_64/setjmp.S: Likewise.
19442 * sysdeps/i386/bsd-setjmp.S: Likewise.
19443 * sysdeps/i386/bsd-_setjmp.S: Likewise.
19444 * sysdeps/i386/setjmp.S: Likewise.
19445 * sysdeps/i386/__longjmp.S: Likewise.
19446 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19447 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
19448
3a097cc7
RM
19449 * include/stap-probe.h: New file.
19450 * configure.in: Handle --enable-systemtap.
19451 * configure: Regenerated.
19452 * config.h.in (USE_STAP_PROBE): New #undef.
19453 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
19454 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
19455 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19456
21708942
JM
194572012-05-25 Joseph Myers <joseph@codesourcery.com>
19458
19459 [BZ #13717]
19460 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19461 to 2.4.0 where earlier.
19462 * sysdeps/unix/sysv/linux/configure: Regenerated.
19463 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19464 <kernel-features.h>.
19465 [__ASSUME_32BITUIDS]: Make code unconditional.
19466 [!__ASSUME_32BITUIDS]: Remove conditional code.
19467 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
19468 <kernel-features.h>.
19469 [__ASSUME_32BITUIDS]: Make code unconditional.
19470 [!__ASSUME_32BITUIDS]: Remove conditional code.
19471 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
19472 [__ASSUME_32BITUIDS]: Make code unconditional.
19473 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
19474 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/getresuid.c: Do not include
19495 <kernel-features.h>.
19496 [__ASSUME_32BITUIDS]: Make code unconditional.
19497 [!__ASSUME_32BITUIDS]: Remove conditional code.
19498 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
19499 <kernel-features.h>.
19500 [__ASSUME_32BITUIDS]: Make code unconditional.
19501 [!__ASSUME_32BITUIDS]: Remove conditional code.
19502 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19503 <kernel-features.h>.
19504 [__ASSUME_32BITUIDS]: Make code unconditional.
19505 [!__ASSUME_32BITUIDS]: Remove conditional code.
19506 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19507 <kernel-features.h>.
19508 [__ASSUME_32BITUIDS]: Make code unconditional.
19509 [!__ASSUME_32BITUIDS]: Remove conditional code.
19510 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
19511 <kernel-features.h>.
19512 [__ASSUME_32BITUIDS]: Make code unconditional.
19513 [!__ASSUME_32BITUIDS]: Remove conditional code.
19514 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
19515 <kernel-features.h>.
19516 [__NR_setresgid] (__setresgid): Do not declare.
19517 [__ASSUME_32BITUIDS]: Make code unconditional.
19518 [!__ASSUME_32BITUIDS]: Remove conditional code.
19519 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
19520 <kernel-features.h>.
19521 [__NR_setresuid] (__setresuid): Do not declare.
19522 [__ASSUME_32BITUIDS]: Make code unconditional.
19523 [!__ASSUME_32BITUIDS]: Remove conditional code.
19524 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/i386/setresgid.c: Do not include
19545 <kernel-features.h>.
19546 [__ASSUME_32BITUIDS]: Make code unconditional.
19547 [!__ASSUME_32BITUIDS]: Remove conditional code.
19548 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
19549 <kernel-features.h>.
19550 [__ASSUME_32BITUIDS]: Make code unconditional.
19551 [!__ASSUME_32BITUIDS]: Remove conditional code.
19552 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
19553 <kernel-features.h>.
19554 [__ASSUME_32BITUIDS]: Make code unconditional.
19555 [!__ASSUME_32BITUIDS]: Remove conditional code.
19556 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
19557 <kernel-features.h>.
19558 [__ASSUME_32BITUIDS]: Make code unconditional.
19559 [!__ASSUME_32BITUIDS]: Remove conditional code.
19560 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19561 <kernel-features.h>.
19562 [__ASSUME_32BITUIDS]: Make code unconditional.
19563 [!__ASSUME_32BITUIDS]: Remove conditional code.
19564 * sysdeps/unix/sysv/linux/kernel-features.h
19565 (__ASSUME_SETRESUID_SYSCALL): Remove.
19566 (__ASSUME_SETRESGID_SYSCALL): Likewise.
19567 (__ASSUME_32BITUIDS): Likewise.
19568 (__ASSUME_LDT_WORKS): Likewise.
19569 (__ASSUME_O_DIRECTORY): Likewise.
19570 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
19571 architecture but not kernel version.
19572 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19573 (__ASSUME_MMAP2_SYSCALL): Likewise.
19574 (__ASSUME_STAT64_SYSCALL): Likewise.
19575 (__ASSUME_IPC64): Likewise.
19576 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
19577 <kernel-features.h>.
19578 [__ASSUME_32BITUIDS]: Make code unconditional.
19579 [!__ASSUME_32BITUIDS]: Remove conditional code.
19580 * sysdeps/unix/sysv/linux/opendir.c: Do not include
19581 <kernel-features.h>.
19582 [__ASSUME_O_DIRECTORY]: Make code unconditional.
19583 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
19584 132096]: Remove conditional code.
19585 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
19586 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19587 <kernel-features.h>.
19588 [__ASSUME_32BITUIDS]: Make code unconditional.
19589 [!__ASSUME_32BITUIDS]: Remove conditional code.
19590 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19591 <kernel-features.h>.
19592 [__ASSUME_32BITUIDS]: Make code unconditional.
19593 [!__ASSUME_32BITUIDS]: Remove conditional code.
19594 * sysdeps/unix/sysv/linux/setegid.c: Do not include
19595 <kernel-features.h>.
19596 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
19597 unconditional.
19598 (__setresgid): Do not declare.
19599 [__ASSUME_32BITUIDS]: Make code unconditional.
19600 [!__ASSUME_32BITUIDS]: Remove conditional code.
19601 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
19602 <kernel-features.h>.
19603 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
19604 unconditional.
19605 (__setresuid): Do not declare.
19606 [__ASSUME_32BITUIDS]: Make code unconditional.
19607 [!__ASSUME_32BITUIDS]: Remove conditional code.
19608 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19609 <kernel-features.h>.
19610 [__ASSUME_32BITUIDS]: Make code unconditional.
19611 [!__ASSUME_32BITUIDS]: Remove conditional code.
19612 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
19613 <kernel-features.h>.
19614 [__ASSUME_32BITUIDS]: Make code unconditional.
19615 [!__ASSUME_32BITUIDS]: Remove conditional code.
19616
a386f1cc
RH
196172012-05-25 Richard Henderson <rth@twiddle.net>
19618
19619 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
19620 dl_hwcap to ifunc resolver.
19621 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
19622 elf_ifunc_invoke.
19623 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
19624 dl_hwcap to ifunc resolver.
19625 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
19626
b6550497
JM
196272012-05-24 Joseph Myers <joseph@codesourcery.com>
19628
19629 [BZ #14153]
19630 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
19631 for |x| <= 2**-26, not 2**-57.
19632 * math/libm-test.inc (acos_test): Do not allow spurious underflow
19633 exception.
19634
b0bc23a1
JL
196352012-05-24 Jeff Law <law@redhat.com>
19636
19637 * stdio-common/Makefile (tests): Add bug25.
19638 * stdio-common/bug25.c: New test.
19639
347c92e9
L
196402012-05-24 H.J. Lu <hongjiu.lu@intel.com>
19641
19642 [BZ #13576]
19643 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
19644 multiple of MALLOC_ALIGNMENT in size.
19645 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
19646
6bcc8b3f
JM
196472012-05-24 Joseph Myers <joseph@codesourcery.com>
19648
19649 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
19650 Require >= 256.
19651 (FILENAME_MAX): Use macro-int-constant.
19652 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
19653 (_IOFBF): Use macro-int-constant.
19654 (_IOLBF): Likewise.
19655 (_IONBF): Likewise.
19656 (SEEK_CUR): Likewise.
19657 (SEEK_END): Likewise.
19658 (SEEK_SET): Likewise.
19659 (TMP_MAX): Likewise.
19660 (EOF): Use macro-int-constant. Require < 0.
19661 (NULL): Use macro-constant. Require == 0.
19662 (stdin): Require type to be FILE *.
19663 (stdout): Likewise.
19664 (stderr): Likewise.
19665 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
19666 macro-int-constant.
19667 (EXIT_SUCCESS): Likewise.
19668 (NULL): Use macro-constant. Require == 0.
19669 (RAND_MAX): Use macro-int-constant.
19670 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
19671 [C99-based standards] (strtof): Require function.
19672 [C99-based standards] (strtold): Likewise.
19673 [C99-based standards] (strtoll): Likewise.
19674 [C99-based standards] (strtoull): Likewise.
19675 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19676 [ISO || ISO99 || ISO11] (limits.h): Likewise.
19677 [ISO || ISO99 || ISO11] (math.h): Likewise.
19678 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
19679 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19680 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19681
d18ea0c5
AS
196822012-05-24 Andreas Schwab <schwab@linux-m68k.org>
19683
19684 [BZ #14132]
56d25bb8
AS
19685 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
19686 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
19687 * intl/dgettext.c (DCGETTEXT): Likewise.
19688 * intl/gettext.c (DCGETTEXT): Likewise.
19689 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
19690 * posix/regex_internal.h (gettext): Likewise.
19691 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
19692 Remove declaration.
19693 * include/argz.h (__argz_count_internal)
19694 (__argz_stringify_internal): Remove declaration.
19695 (__argz_count, __argz_stringify): Declare hidden proto.
19696 * intl/dcgettext.c: Remove use of INTDEF.
19697 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
19698 * string/argz-stringify.c: Likewise.
19699 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19700 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19701 Declare hidden proto.
d18ea0c5
AS
19702 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19703 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19704 Declare hidden proto.
19705 * include/stdio.h (__asprintf_internal): Don't declare.
19706 (__asprintf): Don't define as macro. Declare hidden proto.
19707 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
19708 (__fsetlocking): Declare hidden proto.
19709 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
19710 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
19711 hidden proto.
19712 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
19713 (_IO_setlinebuf): Remove use of INTUSE.
19714 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
19715 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
19716 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
19717 Remove declaration.
19718 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
19719 (_IO_do_flush): Remove use of INTUSE.
19720 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
19721 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
19722 (_IO_adjust_column, _IO_least_wmarker)
19723 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
19724 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
19725 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
19726 (_IO_default_doallocate, _IO_wdefault_doallocate)
19727 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
19728 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
19729 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
19730 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
19731 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
19732 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
19733 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
19734 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
19735 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
19736 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
19737 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
19738 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
19739 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
19740 proto.
19741 (_IO_flush_all_internal, _IO_adjust_column_internal)
19742 (_IO_default_uflow_internal, _IO_default_finish_internal)
19743 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
19744 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
19745 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
19746 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
19747 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
19748 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
19749 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
19750 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
19751 (_IO_file_close_internal, _IO_file_close_it_internal)
19752 (_IO_file_underflow_internal, _IO_file_overflow_internal)
19753 (_IO_file_init_internal, _IO_file_attach_internal)
19754 (_IO_file_fopen_internal, _IO_file_read_internal)
19755 (_IO_file_sync_internal, _IO_file_seek_internal)
19756 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
19757 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
19758 (_IO_str_underflow_internal, _IO_str_overflow_internal)
19759 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
19760 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
19761 (_IO_list_all_internal, _IO_link_in_internal)
19762 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
19763 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
19764 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
19765 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
19766 (_IO_do_write_internal, _IO_padn_internal)
19767 (_IO_getline_info_internal, _IO_getline_internal)
19768 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
19769 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
19770 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
19771 (_IO_vfscanf_internal, _IO_vfprintf_internal)
19772 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
19773 (_IO_init_internal, _IO_un_link_internal): Don't declare.
19774 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
19775 with libc_hidden_ver, remove use of INTUSE.
19776 * libio/genops.c: Likewise.
19777 * libio/freopen.c: Likewise.
19778 * libio/freopen64.c: Likewise.
19779 * libio/iofclose.c: Likewise.
19780 * libio/iofdopen.c: Likewise.
19781 * libio/iofflush.c: Likewise.
19782 * libio/iofflush_u.c: Likewise.
19783 * libio/iofgets.c: Likewise.
19784 * libio/iofgets_u.c: Likewise.
19785 * libio/iofopen.c: Likewise.
19786 * libio/iofopncook.c: Likewise.
19787 * libio/iofread.c: Likewise.
19788 * libio/iofread_u.c: Likewise.
19789 * libio/ioftell.c: Likewise.
19790 * libio/iofwrite.c: Likewise.
19791 * libio/iogetline.c: Likewise.
19792 * libio/iogets.c: Likewise.
19793 * libio/iogetwline.c: Likewise.
19794 * libio/iopadn.c: Likewise.
19795 * libio/iopopen.c: Likewise.
19796 * libio/ioseekoff.c: Likewise.
19797 * libio/ioseekpos.c: Likewise.
19798 * libio/iosetbuffer.c: Likewise.
19799 * libio/iosetvbuf.c: Likewise.
19800 * libio/ioungetc.c: Likewise.
19801 * libio/ioungetwc.c: Likewise.
19802 * libio/iovdprintf.c: Likewise.
19803 * libio/iovsprintf.c: Likewise.
19804 * libio/iovsscanf.c: Likewise.
19805 * libio/memstream.c: Likewise.
19806 * libio/obprintf.c: Likewise.
19807 * libio/oldfileops.c: Likewise.
19808 * libio/oldiofclose.c: Likewise.
19809 * libio/oldiofdopen.c: Likewise.
19810 * libio/oldiofopen.c: Likewise.
19811 * libio/oldiopopen.c: Likewise.
19812 * libio/oldstdfiles.c: Likewise.
19813 * libio/putc.c: Likewise.
19814 * libio/setbuf.c: Likewise.
19815 * libio/setlinebuf.c: Likewise.
19816 * libio/stdfiles.c: Likewise.
19817 * libio/strops.c: Likewise.
19818 * libio/vasprintf.c: Likewise.
19819 * libio/vscanf.c: Likewise.
19820 * libio/vsnprintf.c: Likewise.
19821 * libio/vswprintf.c: Likewise.
19822 * libio/wfiledoalloc.c: Likewise.
19823 * libio/wfileops.c: Likewise.
19824 * libio/wgenops.c: Likewise.
19825 * libio/wmemstream.c: Likewise.
19826 * libio/wstrops.c: Likewise.
19827 * libio/__fpurge.c: Likewise.
19828 * libio/__fsetlocking.c: Likewise.
19829 * assert/assert.c: Likewise.
19830 * debug/fgets_chk.c: Likewise.
19831 * debug/fgets_u_chk.c: Likewise.
19832 * debug/fread_chk.c: Likewise.
19833 * debug/fread_u_chk.c: Likewise.
19834 * debug/gets_chk.c: Likewise.
19835 * debug/obprintf_chk.c: Likewise.
19836 * debug/vasprintf_chk.c: Likewise.
19837 * debug/vdprintf_chk.c: Likewise.
19838 * debug/vsnprintf_chk.c: Likewise.
19839 * debug/vsprintf_chk.c: Likewise.
19840 * malloc/mtrace.c: Likewise.
19841 * misc/error.c: Likewise.
19842 * misc/syslog.c: Likewise.
19843 * stdio-common/asprintf.c: Likewise.
19844 * stdio-common/fxprintf.c: Likewise.
19845 * stdio-common/getw.c: Likewise.
19846 * stdio-common/isoc99_fscanf.c: Likewise.
19847 * stdio-common/isoc99_scanf.c: Likewise.
19848 * stdio-common/isoc99_vfscanf.c: Likewise.
19849 * stdio-common/isoc99_vscanf.c: Likewise.
19850 * stdio-common/isoc99_vsscanf.c: Likewise.
19851 * stdio-common/printf-prs.c: Likewise.
19852 * stdio-common/printf_fp.c: Likewise.
19853 * stdio-common/printf_fphex.c: Likewise.
19854 * stdio-common/printf_size.c: Likewise.
19855 * stdio-common/putw.c: Likewise.
19856 * stdio-common/scanf.c: Likewise.
19857 * stdio-common/sprintf.c: Likewise.
19858 * stdio-common/tmpfile.c: Likewise.
19859 * stdio-common/vfprintf.c: Likewise.
19860 * stdio-common/vfscanf.c: Likewise.
19861 * stdlib/strfmon_l.c: Likewise.
19862 * sunrpc/openchild.c: Likewise.
19863 * sunrpc/xdr_stdio.c: Likewise.
19864 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
19865 * sysdeps/mach/hurd/tmpfile.c: Likewise.
19866
d6c33fda
RM
198672012-05-24 Roland McGrath <roland@hack.frob.com>
19868
c1487492
RM
19869 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19870
19871 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
19872 in the third column, to generate for the shared library an IFUNC
19873 that uses _dl_vdso_vsym.
19874 * Makerules (COMPILE.c, compile-stdin.c): New variables.
19875 * Makeconfig (object-suffixes-noshared): New variable.
19876
19877 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
19878 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
19879 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
19880 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
19881
d6c33fda
RM
19882 [BZ #14132]
19883 * include/sys/time.h (__gettimeofday): Remove macro.
19884 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
19885 * time/gettimeofday.c (__gettimeofday): Remove #undef.
19886 Remove INTDEF.
19887 (__gettimeofday): Add libc_hidden_def.
19888 (gettimeofday): Add libc_hidden_weak.
19889 * sysdeps/mach/gettimeofday.c: Likewise.
19890 * sysdeps/posix/gettimeofday.c: Likewise.
19891 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
19892 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
19893 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
19894 (__gettimeofday_internal): Remove strong_alias.
19895 (__gettimeofday): Add libc_hidden_def.
19896 (gettimeofday): Add libc_hidden_weak.
19897 * sysdeps/unix/syscalls.list (gettimeofday):
19898 Remove __gettimeofday_internal alias.
19899
b5a2bbe6
L
199002012-05-24 Daniel Jacobowitz <drow@false.org>
19901 H.J. Lu <hongjiu.lu@intel.com>
19902
19903 [BZ #12495]
19904 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
19905 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
19906 (largebin_index_32_big): New.
19907 (largebin_index): Use it for 16-byte alignment.
19908 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
19909 correction with front_misalign.
19910
cfba4fda
L
199112012-05-24 H.J. Lu <hongjiu.lu@intel.com>
19912
7f907421
L
19913 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
19914 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19915 Likewise.
19916 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
19917 Likewise.
19918 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19919 Likewise.
19920 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
19921 Likewise.
19922 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
19923 Likewise.
19924 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
19925 Likewise.
19926 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
19927 Likewise.
19928 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19929 Likewise.
19930 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
19931 Likewise.
19932 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
19933 Likewise.
19934 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
19935 Likewise.
19936 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
19937 Likewise.
19938
cfba4fda
L
19939 * scripts/data/c++-types-x32-linux-gnu.data: New file.
19940 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
19941
80bad0cc
JM
199422012-05-24 Joseph Myers <joseph@codesourcery.com>
19943
7a25eb06
JM
19944 [BZ #10846]
19945 [BZ #14036]
19946 * math/libm-test.inc (exp_test): Add test from bug 14036.
19947 (pow_test): Add test from bug 10846.
19948
795405f9
JM
19949 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
19950 and other flags.
19951 (special_function): Do not include flags in test name.
19952 (parse_args): Likewise.
19953 * sysdeps/i386/fpu/libm-test-ulps: Update.
19954 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19955 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19956 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19958
80bad0cc
JM
19959 * math/gen-libm-test.pl (%beautify): Add entries for underflow
19960 exceptions.
19961 * math/libm-test.inc ("Philosophy"): Update comment about
19962 exception testing.
19963 (UNDERFLOW_EXCEPTION): New macro.
19964 (UNDERFLOW_EXCEPTION_OK): Likewise.
19965 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
19966 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
19967 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
19968 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
19969 (INVALID_EXCEPTION_OK): Update value.
19970 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19971 (OVERFLOW_EXCEPTION_OK): Likewise.
19972 (IGNORE_ZERO_INF_SIGN): Likewise.
19973 (test_exceptions): Handle underflow exceptions.
19974 (acos_test): Update for underflow exception expectations.
19975 (cexp_test): Likewise.
19976 (clog_test): Likewise.
19977 (clog10_test): Likewise.
19978 (csqrt_test): Likewise.
19979 (ctan_test): Likewise.
19980 (ctanh_test): Likewise.
19981 (exp_test): Likewise.
19982 (exp10_test): Likewise.
19983 (exp2_test): Likewise.
19984 (expm1_test): Likewise.
19985 (fma_test): Likewise.
19986 (j0_test): Likewise.
19987 (jn_test): Likewise.
19988 (nexttoward_test): Likewise.
19989 (pow_test): Likewise.
19990 (scalbn_test): Likewise.
19991 (scalbln_test): Likewise.
19992 (tan_test): Likewise.
19993 (y1_test): Likewise.
19994 * sysdeps/i386/fpu/libm-test-ulps: Update.
19995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19996
9e0e3d0b
DM
199972012-05-23 David S. Miller <davem@davemloft.net>
19998
19999 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20000 (__libc_sigaction): Remove unused local variables.
20001
ccd0a08f
L
200022012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20003
20004 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
20005
62bdf9a6
PE
200062012-05-23 Paul Eggert <eggert@cs.ucla.edu>
20007
f8591f80
PE
20008 mktime: avoid signed integer overflow
20009 * time/mktime.c (__mktime_internal): Do not mishandle the case
20010 where diff == INT_MIN.
20011
94c7d826
PE
20012 mktime: simplify computation of average
20013 * time/mktime.c (ranged_convert): Use new time_t_avg function
20014 instead of rolling our own (probably-slower) code.
20015
ce73d683
PE
20016 mktime: do not assume signed right shift propagates sign bit
20017 * time/mktime.c (isdst_differ): New static function.
20018 (__mktime_internal): No need to normalize tm_isdst now.
20019 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
20020 tm_isdst values.
20021
72a22e59
PE
20022 mktime: merge another wrapv change from gnulib
20023 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
20024 from some compilers.
20025
68605433
PE
20026 mktime: remove incorrect attempt at unusual arithmetics
20027 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
20028 The code didn't really work on such machines anyway.
20029 (TYPE_MINIMUM): Assume two's complement.
20030 (twos_complement_arithmetic): Verify that long_int and time_t
20031 are two's complement (or unsigned, in the latter case).
20032
03cf7fe3
PE
20033 mktime: check signed shifts on long_int and time_t, too
20034 * time/mktime.c (SHR): Check that shifts work as desired
20035 on the types long_int and time_t too, as SHR is used on
20036 such types.
20037
f04dfbc2
PE
20038 mktime: do not assume 'long' is wide enough
20039 * time/mktime.c (verify): Move decl up.
20040 (long_int): New type.
20041 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
20042 to remove assumption in the code that 'long' is wide enough to
20043 store year values. This assumption is not true on x32 and on
20044 some non-glibc platforms.
20045
62bdf9a6
PE
20046 mktime: merge wrapv change from gnulib
20047 * time/mktime.c (WRAPV): New macro.
20048 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
20049 (guess_time_tm, __mktime_internal): Do not assume that signed
20050 integer overflow wraps around; modern compilers generate code
20051 where this assumption is no longer valid.
20052
5e292e4f
L
200532012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20054
20055 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20056 Replace "jmp L(pseudo_end)" with "ret".
20057 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
20058 Likewise.
20059
8caf8c87
AJ
200602012-05-23 Andreas Jaeger <aj@suse.de>
20061
20062 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
20063 * sysdeps/unix/sysv/linux/poll.c: Remove file.
20064
1a09dc56
AJ
200652012-05-23 Andreas Jaeger <aj@suse.de>
20066 Maximilian Attems <max@stro.at>
20067
20068 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
20069 New macros.
20070
1c87aba0
L
200712012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20072
20073 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
20074 code so that pseudo_end is just ret and the stack pointer is
20075 correct also for static library in error case.
20076
40e45bd5
JM
200772012-05-23 Joseph Myers <joseph@codesourcery.com>
20078
c2670533
JM
20079 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
20080 move to syscalls.list.
20081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
20082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
20083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
20084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
20085
40e45bd5
JM
20086 * manual/install.texi (Running make install): Do not mention Linux
20087 kernel version for which pt_chown is not needed.
20088 (Linux): Do not mention problems with nscd with 2.0 kernels.
20089 * INSTALL: Regenerated.
20090
be08eda5
AJ
200912012-05-23 Andreas Jaeger <aj@suse.de>
20092
20093 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
20094 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
20095 macro.
20096 * sysdeps/unix/sysv/linux/s390/bits/mman.h
20097 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20098 * sysdeps/unix/sysv/linux/sh/bits/mman.h
20099 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20100 * sysdeps/unix/sysv/linux/i386/bits/mman.h
20101 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20102 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
20103 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20104 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
20105 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20106 * sysdeps/unix/sysv/linux/bits/in.h
20107 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
20108
a6a056bb
RM
201092012-05-22 Roland McGrath <roland@hack.frob.com>
20110
20111 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
20112 (PREPARE_VERSION): Just use assert instead, it will be elided
20113 under [NDEBUG] anyway.
20114
c9009328
L
201152012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20116
20117 * sysdeps/unix/sysv/linux/Makefile: Include
20118 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 20119 (sysdep_routines): Remove sysctl.
c9009328
L
20120 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
20121 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
20122 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
20123 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
20124 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
20125
73338355
AJ
201262012-05-22 Andreas Jaeger <aj@suse.de>
20127
20128 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
20129 that pseudo_end is just ret and the stack pointer is correct also
20130 for static library in error case.
20131
d44638b0
PP
201322012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
20133
20134 [BZ #14122]
20135 * nss/nsswitch.c (defconfig_entries): New variable.
20136 (__nss_database_lookup): Don't leak defconfig entries.
20137 (nss_parse_service_list): Don't leak on error paths.
20138 (free_database_entries): New function.
20139 (free_defconfig): New function.
20140 (free_mem): Move common code to free_database_entries.
20141
31a39bd8
L
201422012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20143
da0331a8
L
20144 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
20145 Add arch_prctl.
20146 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
20147
31a39bd8
L
20148 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20149 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
20150 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
20151 New macro.
20152 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
20153 (INTERNAL_SYSCALL_TYPES): Likewise.
20154 (LOAD_ARGS_TYPES_[1-6]): Likewise.
20155 (LOAD_REGS_TYPES_[1-6]): Likewise.
20156 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
20157 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
20158
45470df3
AZ
201592012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20160
20161 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
20162 copysignl for GLIBC_2_0.
20163 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
20164 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
20165 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
20166 logbl for GLIBC_2_0.
20167 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
20168 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
20169
98a61bcb
L
201702012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20171
a4f6e481
L
20172 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
20173 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20174
f63d5db6
L
20175 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20176 Use "neg %eax".
20177
98a61bcb
L
20178 * time/mktime.c: Update copyright years.
20179
95770f14
PE
201802012-05-22 Paul Eggert <eggert@cs.ucla.edu>
20181
6226efbd
PE
20182 mktime: merge comment-quoting-style change from gnulib
20183 * time/mktime.c: Quote 'like this' in comments.
20184 The GNU coding standards suggest that we no longer quote `like this',
20185 as "`" and "'" are typically rendered asymmetrically nowadays.
20186 The typical gnulib style is to quote 'like this' when quoting
20187 code, and "like this" when quoting English.
20188
b99e4f78
PE
20189 * time/mktime.c (compile-command): Add "-I.".
20190
643e01e6
PE
20191 mktime: merge mktime-internal.h change from gnulib
20192 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
20193
2554247d
PE
20194 mktime: merge time_r change from gnulib
20195 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
20196
826dd0ab
PE
20197 mktime: merge DEBUG change from gnulib
20198 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
20199 case system <time.h> has a #define.
20200
bd83aabe
PE
20201 mktime: merge <sys/types.h> change from gnulib
20202 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
20203 since <time.t> is now guaranteed to define time_t.
20204
95770f14
PE
20205 mktime: merge HAVE_CONFIG_H change from gnulib
20206 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
20207
5e1a27a9
L
202082012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20209
0e44a77e
L
20210 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20211 Use "neg %eax".
20212
5e1a27a9
L
20213 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
20214 __rlim_t cast.
20215 (struct rusage): Use anonymous union to pad each field to
20216 __syscall_slong_t.
20217
46259bec
DM
202182012-05-21 David S. Miller <davem@davemloft.net>
20219
20220 * Makefules (o-iterator): Remove .s cases.
20221 (compile-command.s): Delete.
20222 (COMPILE.s): Delete.
20223 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
20224
59f0c22e
JM
202252012-05-21 Joseph Myers <joseph@codesourcery.com>
20226
20227 * configure.in (libc_cv_predef_stack_protector): Only consider
20228 "foobar" and "__stack_chk_fail" lines in libc_undefs.
20229 * configure: Regenerated.
20230
20c07380
L
202312012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20232
bbb3154b
L
20233 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20234 New macro. Use R*LP on int and pointer.
20235 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
20236 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
20237 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
20238 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
20239
20c07380
L
20240 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
20241 [__WORDSIZE_TIME64_COMPAT32] instead of
20242 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
20243 (struct utmp): Likewise.
20244 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
20245 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
20246 Renamed to ...
20247 (__WORDSIZE_TIME64_COMPAT32): This.
20248 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
20249 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
20250 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
20251 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
20252 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
20253 (__WORDSIZE_TIME64_COMPAT32): New macro.
20254
d8d1017e
AJ
202552012-05-21 Andreas Jaeger <aj@suse.de>
20256
20257 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
20258 only if [SHARED]. Add prototype for __wcschr_ia32.
20259
6c7fb145
RM
202602012-05-21 Roland McGrath <roland@hack.frob.com>
20261
20262 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
20263 of %rbp unmolested in the jmp_buf while mangling the low bits.
20264 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
20265 unmolested high bits of %rbp while demangling the low bits.
20266 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20267
66274218
AJ
202682012-05-21 Andreas Jaeger <aj@suse.de>
20269
07c58f8f
AJ
20270 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
20271 * sunrpc/svc_simple.c: Use it for registerrpc.
20272 * sunrpc/xcrypt.c: Use it for passwd2des.
20273
66274218
AJ
20274 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
20275
61f65140
L
202762012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20277
20278 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
20279 Don't define if [__SYSCALL_WORDSIZE != 32].
20280 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
20281 New macro.
20282
5fefb436
AJ
202832012-05-21 Bruno Haible <bruno@clisp.org>
20284 Andreas Jaeger <aj@suse.de>
20285
20286 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
20287 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
20288 inptr and inend for must_buffer_ch.
20289 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
20290 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
20291 * stdio-common/Makefile (tests): Remove bug15.
20292 (bug15-ENV): Remove macro.
20293 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
20294 anymore.
20295
d8e272ab
AJ
202962012-05-19 Andreas Jaeger <aj@suse.de>
20297 Roland McGrath <roland@hack.frob.com>
20298
20299 * manual/contrib.texi: Completely rewritten. It contains now an
20300 alphabetical list of contributors and their contributions.
20301
4a56a162
RH
203022012-05-21 Richard Henderson <rth@twiddle.net>
20303
20304 * misc/getauxval.c (__getauxval): Use unsigned long int.
20305 * misc/sys/auxv.h: Include <sys/cdefs.h>.
20306 (getauxval): Use unsigned long int.
20307
d024d23c
L
203082012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20309
20310 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20311
cbc00a03
RM
203122012-05-21 Roland McGrath <roland@hack.frob.com>
20313
20314 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
20315 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
20316 __alignof__ (long double).
20317
478143fa
AZ
203182012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20319
20320 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20321
c7683a6d
RH
203222012-05-20 Richard Henderson <rth@twiddle.net>
20323
20324 * misc/getauxval.c: New file.
20325 * misc/sys/auxv.h: New file.
20326 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
20327 (routines): Add getauxval.
20328 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
20329 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
20330 * elf/dl-sysdep.c (_dl_auxv): Remove.
20331 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
20332 * elf/dl-support.c (_dl_auxv): New variable.
20333 (_dl_aux_init): Initialize it.
20334 * manual/startup.texi (Auxiliary Vector): New node.
20335 * sysdeps/generic/bits/hwcap.h: New file.
20336 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
20337 * sysdeps/powerpc/sysdep.h: ... here. Include it.
20338 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
20339 * sysdeps/sparc/sysdep.h: ... here. Include it.
20340 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
20341 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
20342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20343 Update.
c7683a6d
RH
20344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
20345 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
20346 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
20347 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
20348 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20349 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20350 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
20351 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
20352
a6f1845d
AZ
203532012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20354
20355 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20356
cbcbe830
DM
203572012-05-19 David S. Miller <davem@davemloft.net>
20358
20359 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20360
e0b16cc2
JM
203612012-05-19 Joseph Myers <joseph@codesourcery.com>
20362
20363 [BZ #14123]
20364 * math/s_ccosh.c: Include <float.h>
20365 (__ccosh): Avoid internal overflow calculating sinh and cosh
20366 values before multiplying by sin and cos values.
20367 * math/s_ccoshf.c: Likewise.
20368 * math/s_ccoshl.c: Likewise.
20369 * math/s_csin.c: Likewise.
20370 * math/s_csinf.c: Likewise.
20371 * math/s_csinl.c: Likewise.
20372 * math/s_csinh.c: Likewise.
20373 * math/s_csinhf.c: Likewise.
20374 * math/s_csinhl.c: Likewise.
20375 * math/libm-test.inc (ccos_test): Add more tests.
20376 (ccosh_test): Likewise.
20377 (csin_test): Likewise.
20378 (csinh_test): Likewise.
20379 * sysdeps/i386/fpu/libm-test-ulps: Update.
20380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20381
6ad13e08
L
203822012-05-19 H.J. Lu <hongjiu.lu@intel.com>
20383
f66f0ce8
L
20384 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
20385 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20386
6ad13e08
L
20387 * sysdeps/x86_64/x32/_itoa.h: Add comment.
20388
b1d072a7
JM
203892012-05-19 Joseph Myers <joseph@codesourcery.com>
20390
20391 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
20392 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
20393 * sysdeps/powerpc/soft-fp/Versions: Likewise.
20394 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
20395 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
20396 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
20397 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
20398 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
20399 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
20400 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
20401 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
20402 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
20403 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
20404 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
20405 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
20406 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
20407 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
20408 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
20409 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
20410 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
20411 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
20412 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
20413 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
20414 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
20415 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
20416 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
20417 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
20418 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
20419 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
20420 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
20421 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
20422
9eae47cb
AJ
204232012-05-18 Andreas Jaeger <aj@suse.de>
20424
20425 * csu/.gitignore: Delete.
20426
bb07f69f
L
204272012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20428
20429 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
20430 (timex): Use __syscall_slong_t.
20431
e6bdb741
AJ
204322012-05-18 Andreas Jaeger <aj@suse.de>
20433 Carlos O'Donell <carlos_odonell@mentor.com>
20434
20435 * manual/install.texi (Configuring and compiling): Update
20436 description about files modified in the source directory.
d6c33fda 20437 * INSTALL: Regenerated.
e6bdb741 20438
1b74487e
L
204392012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20440
20441 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
20442 value. Use "or" to set return value to -1.
20443 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
20444 negate return value.
20445
a88b64b9
TMQMF
204462012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20447
20448 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
20449 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
20450 failure if the compiler has Graphite support disabled.
20451 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
20452 Likewise.
20453 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
20454 CFLAGS-memmove.c): Likewise.
20455 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
20456 Likewise.
20457
3707636e
L
204582012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20459
610b8622
L
20460 * sysdeps/x86_64/x32/_itoa.h: New file.
20461
7cd195df
L
20462 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
20463 getdents system call only if kernel and user dirents have the
20464 same d_ino and d_off.
20465
94b07d20
L
20466 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20467 LLONG_MAX != LONG_MAX.
20468 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20469 (_fitoa_word): Likewise.
20470
18298070
L
20471 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
20472 years.
20473 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
20474 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
20475 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
20476
553c7ea4
L
20477 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
20478 include <bits/wordsize.h>. Check __x86_64__ instead of
20479 __WORDSIZE.
20480 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
20481 if __x86_64__ is defined. Use anonymous union on fpstate.
20482
3707636e
L
20483 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
20484 anonymous union.
20485
b53ef01a
AS
204862012-05-18 Andreas Schwab <schwab@linux-m68k.org>
20487
37fb1dc0
AS
20488 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
20489 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
20490 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
20491 Refer to _rtld_local_ro instead of _rtld_global_ro.
20492 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
20493 Likewise.
20494 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
20495 Likewise.
20496 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
20497 Likewise.
20498 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
20499 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
20500 of _rtld_global, and rtld_progname instead of _dl_argv[0].
20501
b53ef01a
AS
20502 * sysdeps/powerpc/powerpc32/dl-machine.c
20503 (__elf_machine_runtime_setup) [PROF]: Don't reference
20504 _dl_prof_resolve.
20505
7a185db2
AJ
205062012-05-18 Andreas Jaeger <aj@suse.de>
20507
20508 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
20509 function only available for GCCs before 3.4 since GCC 3.4
20510 introduced a builtin.
20511 (lrint): Likewise.
20512 (llrintf): Likewise.
20513 (llrint): Likewise.
20514 (fmaxf): Likewise.
20515 (fmax): Likewise.
20516 (fminf): Likewise.
20517 (fmin): Likewise.
20518 (rint): Likewise.
20519 (rintf): Likewise.
20520 (nearbyint): Likewise.
20521 (nearbyintf): Likewise.
20522 (ceil): Likewise.
20523 (ceilf): Likewise.
20524 (floor): Likewise.
20525 (floorf): Likewise.
20526
3e5aef87
L
205272012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20528
428bd707
L
20529 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
20530 on both fields and cast pointer to __syscall_ulong_t.
20531
3e5aef87
L
20532 * bits/types.h (__fsword_t): New type.
20533 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
20534 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
20535 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20536 (__FSWORD_T_TYPE): Likewise.
20537 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20538 (__FSWORD_T_TYPE): Likewise.
20539 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20540 (__FSWORD_T_TYPE): Likewise.
20541 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
20542 (__FSWORD_T_TYPE): Likewise.
20543 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
20544 __SWORD_TYPE with __fsword_t.
20545 (statfs64): Likewise.
20546
1ba7c3dc
DM
205472012-05-17 David S. Miller <davem@davemloft.net>
20548
20549 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
20550
59910343
AJ
205512012-05-17 Andreas Jaeger <aj@suse.de>
20552
20553 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
20554 warning.
20555
2e4c1e9e
L
205562012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20557
20558 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
20559
de7f5ce7
AJ
205602012-05-17 Andreas Jaeger <aj@suse.de>
20561
20562 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
20563 when it is used.
20564
286abc3d
CM
205652012-05-17 Chris Metcalf <cmetcalf@tilera.com>
20566
20567 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
20568
477cc68e
L
205692012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20570
20571 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
20572 * sysdeps/x86_64/tst-mallocalign1.c: New file.
20573
1a0994f5
CD
205742012-05-17 Andreas Jaeger <aj@suse.de>
20575 Carlos O'Donell <carlos_odonell@mentor.com>
20576
20577 [BZ #14059]
20578 * sysdeps/x86_64/multiarch/init-arch.h
20579 (bit_YMM_Usable): Rename to...
20580 (bit_AVX_Usable): ... this.
20581 (bit_FMA4_Usable): New macro.
20582 (bit_XMM_state): New macro.
20583 (bit_YMM_state): New macro.
20584 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
20585 [__ASSEMBLER__] (index_AVX_Usable): ... this.
20586 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
20587 (CPUID_OSXSAVE): New macro.
20588 (CPUID_AVX): New macro.
20589 (CPUID_FMA4): New macro.
20590 (index_YMM_Usable): Rename to...
20591 (index_AVX_Usable): ... this.
20592 (HAS_AVX): Use HAS_ARCH_FEATURE.
20593 (HAS_FMA4): Likewise.
20594 (HAS_YMM_USABLE): Remove.
20595 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20596 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
20597 are present.
20598 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
20599 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
20600 * sysdeps/x86_64/multiarch/Makefile: Likewise.
20601 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
20602 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
20603
0af797de
CM
206042012-05-17 Chris Metcalf <cmetcalf@tilera.com>
20605
20606 * math/libm-test.c: Support platforms without multiple rounding modes.
20607 * math/bug-nextafter.c: Support platforms without FP exceptions.
20608 * math/bug-nexttoward.c: Likewise.
20609 * math/test-fenv.c: Likewise.
20610 * math/test-misc.c: Likewise.
20611 * stdlib/bug-getcontext.c: Likewise.
20612
e39745ff
AJ
206132012-05-17 Andreas Jaeger <aj@suse.de>
20614
20615 * manual/examples/search.c (critter_cmp): Change signature to
20616 avoid warnings.
20617 * manual/string.texi (Collation Functions): Likewise.
20618
48970aba
L
206192012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20620
20621 * bits/types.h: Fold copyright years.
20622 * bits/typesizes.h: Likewise.
20623 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
20624 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20625 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
20626 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
20627 * time/time.h: Likewise.
20628
bedee953
PP
206292012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
20630
20631 [BZ #208]
20632 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
20633 in instead of returning them. Return void.
20634 (__libc_mallinfo): Accumulate over all arenas.
20635 (__malloc_stats): Adjust for change in int_mallinfo interface.
20636
61653dfb
RM
206372012-05-16 Roland McGrath <roland@hack.frob.com>
20638
30b99d79
RM
20639 [BZ #10375]
20640 * configure.in (NM): Add AC_CHECK_TOOL for it.
20641 (libc_extra_cflags): New substituted variable.
20642 Check for -fstack-protector being used implicitly.
20643 * configure: Regenerated.
20644 * config.make.in (config-extra-cflags): New variable,
20645 gets @libc_extra_cflags@.
20646 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
20647
61653dfb
RM
20648 [BZ #10375]
20649 * configure.in: Check for _FORTIFY_SOURCE being predefined.
20650 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
20651 * configure: Regenerated.
20652 * config.make.in (CPPUNDEFS): New substituted variable.
20653 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
20654 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
20655 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
20656
661768bb
L
206572012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20658
20659 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
20660 (mq_attr): Use __syscall_slong_t.
20661
d4261567
L
206622012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20663
20664 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
20665 Check __x86_64__ instead of __WORDSIZE.
20666 (_STAT_VER_LINUX): Likewise.
20667 (stat): Check __x86_64__ instead of __WORDSIZE. Use
20668 __syscall_ulong_t and __syscall_slong_t.
20669 (stat64): Likewise.
20670
cf3ff365
L
206712012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20672
20673 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
20674
76cf3e4d
L
206752012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20676
20677 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
20678
a637753a
L
206792012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20680
20681 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
20682 __syscall_ulong_t.
20683
d5e05119
L
20684 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
20685 include <bits/wordsize.h>. Check __x86_64__ instead of
20686 __WORDSIZE.
20687 (greg_t): Use "__extension__ long long int" if __x86_64__ is
20688 defined.
20689 (mcontext_t): Replace "unsigned long" with "unsigned long long".
20690
f62ee380
L
20691 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
20692 include <bits/wordsize.h>. Check __x86_64__ instead of
20693 __WORDSIZE.
20694 (user_regs_struct): Use "__extension__ unsigned long long"
20695 instead of "unsigned long" if __x86_64__ is defined.
20696 (user): Likewise. Pad after pointer field if __ILP32__ is
20697 defined.
20698
4e124ced
JM
206992012-05-16 Joseph Myers <joseph@codesourcery.com>
20700
6a3951a0
JM
20701 * configure.in (makeinfo): Require version 4.5 or later. Allow
20702 versions 5 to 9.
20703 * configure: Regenerated.
20704 * manual/install.texi (texinfo): Increase version requirement to
20705 4.5 or later.
20706 * INSTALL: Regenerated.
20707
4e124ced
JM
20708 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
20709
953ca31a
L
207102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20711
20712 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
20713
617aca05
L
20714 * sysdeps/x86_64/x32/ffs.c: New file.
20715
5762f7ae
L
20716 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
20717 __syscall_ulong_t.
20718 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
20719 defined. Use __syscall_ulong_t.
20720 (shminfo): Use __syscall_ulong_t.
20721 (shm_info): Likewise.
20722
a26b6856
L
20723 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
20724 __syscall_ulong_t.
20725
cb2b9ef7
L
20726 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
20727 <bits/wordsize.h>.
20728 (msgqnum_t): Use __syscall_ulong_t.
20729 (msglen_t): Likewise.
20730 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
20731 __syscall_ulong_t.
20732
34683bb0
L
20733 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
20734 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20735
84a68786
L
20736 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
20737
48baa5f1
L
20738 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
20739 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
20740
180be88b
L
20741 * sysvipc/sys/msg.h (msgbuf): Replace long int with
20742 __syscall_slong_t.
20743
5e90c8ad
L
20744 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
20745 include <bits/wordsize.h>. Check __x86_64__ instead of
20746 __WORDSIZE.
20747
23dfb58b
L
20748 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
20749 "unsigned long long int" if __x86_64__ is defined.
20750 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
20751
ce5d54b0
L
20752 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
20753 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20754 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
20755
13dc9eac
L
20756 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
20757 <stdint.h>.
20758 (GET_PC): Cast to uintptr_t first.
20759 (GET_FRAME): Likewise.
20760 (GET_STACK): Likewise.
20761
a7895d15
L
20762 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
20763 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
20764 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
20765 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
20766 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
20767 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
20768 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
20769 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
20770 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
20771 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
20772 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
20773 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
20774 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20775 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
20776 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
20777 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
20778 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
20779 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
20780 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
20781 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
20782 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
20783 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
20784 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
20785 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
20786 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
20787 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
20788 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
20789 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
20790 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
20791
656416c9
AS
207922012-05-16 Andreas Schwab <schwab@linux-m68k.org>
20793
5bd66283
AS
20794 * Makerules (+depfiles): Also collect depfiles from .oS in
20795 $(extra-objs).
20796 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
20797 .oS, $(libnldbl-routines)).
20798
656416c9
AS
20799 * Makerules (native-compile-mkdep-flags): Define.
20800 * sunrpc/Makefile (extra-objs): Add $(addprefix
20801 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
20802 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
20803 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
20804 calling $(make-target-directory).
20805
a46f2169
L
208062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20807
20808 * bits/types.h (__snseconds_t): Removed.
20809 * time/time.h (struct timespec): Replace __snseconds_t with
20810 __syscall_slong_t.
20811 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
20812 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
20813 Likewise.
20814 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20815 (__SNSECONDS_T_TYPE): Likewise.
20816 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20817 (__SNSECONDS_T_TYPE): Likewise.
20818 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20819 (__SNSECONDS_T_TYPE): Likewise.
20820
6af6528b
L
208212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20822
20823 * sysdeps/mach/hurd/bits/typesizes.h
20824 (__SYSCALL_SLONG_TYPE): New macro.
20825 (__SYSCALL_ULONG_TYPE): Likewise.
20826
de986b56
L
208272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20828
20829 * bits/types.h (__syscall_slong_t): New type.
20830 (__syscall_ulong_t): Likewise.
20831
20832 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
20833 (__SYSCALL_ULONG_TYPE): Likewise.
20834 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20835 (__SYSCALL_SLONG_TYPE): Likewise.
20836 (__SYSCALL_ULONG_TYPE): Likewise.
20837 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20838 (__SYSCALL_SLONG_TYPE): Likewise.
20839 (__SYSCALL_ULONG_TYPE): Likewise.
20840 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20841 (__SYSCALL_SLONG_TYPE): Likewise.
20842 (__SYSCALL_ULONG_TYPE): Likewise.
20843
85736dc7
L
208442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20845
20846 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
20847 Add sigaltstack-offsets.sym.
20848 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
20849 <sigaltstack-offsets.h>.
20850 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
20851 longjmp_msg pointer.
20852 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
20853 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
20854 signal stack.
20855 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
20856
cc03b296
JM
208572012-05-15 Joseph Myers <joseph@codesourcery.com>
20858
a9538892
JM
20859 * elf/stackguard-macros.h: Remove file.
20860 * sysdeps/generic/stackguard-macros.h: New file.
20861 * sysdeps/i386/stackguard-macros.h: Likewise.
20862 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20863 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20864 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20865 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20866 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20867 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20868 * sysdeps/x86_64/stackguard-macros.h: Likewise.
20869 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
20870 <elf/stackguard-macros.h>.
20871
cc03b296
JM
20872 [BZ #14109]
20873 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
20874 __aligned__ in attribute.
20875 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
20876 (gregset_t): Likewise.
20877
93171016
L
208782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20879
20880 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
20881 * sysdeps/x86_64/64/Implies-after: Here. New file.
20882 * sysdeps/x86_64/x32/Implies-after: New file.
20883
d86813a0
L
208842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20885
20886 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
20887 and access return value for _dl_profile_fixup. Use R10_LP to
20888 load frame size.
20889
2953ec75
L
208902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20891
20892 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
20893
3b550e9e
L
208942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20895
20896 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
20897 * sysdeps/x86_64/x32/sysdep.h: New file.
20898
eda41706
L
208992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20900
20901 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
20902 * sysdeps/x86_64/setjmp.S: Likewise.
20903
9ea01d93
AZ
209042012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20905
20906 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
20907 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
20908 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
20909 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
20910 remove unused global constant.
20911
02a91938
CM
209122012-05-15 Chris Metcalf <cmetcalf@tilera.com>
20913
20914 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
20915 include of <not-cancel.h>.
20916
6540185f
RM
209172012-05-15 Roland McGrath <roland@hack.frob.com>
20918
20919 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
20920
509072a0
AJ
209212012-05-15 Jeff Law <law@redhat.com>
20922 Andreas Jaeger <aj@suse.de>
20923
20924 [BZ #13594]
20925 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
20926 out from...
20927 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
20928 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
20929 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
20930 code changing __hst_map_handle.map.
20931
ba75122d
RM
209322012-05-15 Roland McGrath <roland@hack.frob.com>
20933
20934 * configure.in (sysnames): Look for Implies-before and Implies-after
20935 files.
20936 * configure: Regenerated.
20937
890d8bd8
L
209382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20939
20940 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
20941 8-byte data alignment with LP_SIZE alignment.
20942
f6ee6623
L
209432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20944
20945 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
20946 into R10_LP.
20947
ea2626f6
L
209482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20949
20950 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
20951
085f715e
L
209522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20953
20954 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
20955 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
20956 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
20957 Likewise.
20958 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20959
be8498fc
L
209602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20961
20962 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
20963 (stackinfo_sub_sp): Likewise.
20964
70bc83b9
L
209652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20966
20967 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
20968 RAX_LP.
20969
9bc0b730
L
209702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20971
20972 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
20973 into R*_LP.
20974
6d2850e7
L
209752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20976
20977 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
20978 sizes into R*_LP.
20979
3cb84561
L
209802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20981
20982 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
20983
54e2ed81
L
209842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20985
20986 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
20987 into R11_LP and load __x86_64_shared_cache_size_half into
20988 R8_LP.
20989
8a17f349
L
209902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20991
20992 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
20993 R8_LP.
20994
777b1eea
AZ
209952012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20996
20997 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
20998 logb for POWER7.
20999 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
21000 logbf for POWER7.
21001 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
21002 logbl for POWER7.
21003 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
21004 powerpc32/power7/fpu/s_logb.c via #include.
21005 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
21006 powerpc32/power7/fpu/s_logbf.c via #include.
21007 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
21008 powerpc32/power7/fpu/s_logbl.c via #include.
21009
d20d4ac2
JM
210102012-05-15 Joseph Myers <joseph@codesourcery.com>
21011
21012 * README.libm: Remove file.
21013
6cdef1ab
L
210142012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21015
21016 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
21017 count for x32. Use R*_LP and omit operand-size suffix.
21018
0b254d8f
L
210192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21020
21021 * shlib-versions: Move x86_64-.*-linux.* entries to ...
21022 * sysdeps/x86_64/64/shlib-versions: Here. New file.
21023 * sysdeps/x86_64/x32/shlib-versions: New file.
21024
ceb809dc
RM
210252012-05-14 Roland McGrath <roland@hack.frob.com>
21026
21027 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
21028 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
21029 Use _dl_fatal_printf instead.
21030
37f1abd4
JM
210312012-05-14 Joseph Myers <joseph@codesourcery.com>
21032
21033 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
21034 set if not set by the user. Do not allow for being unset.
21035 * sysdeps/unix/sysv/linux/configure: Regenerated.
21036
11de3a33
L
210372012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21038
21039 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
21040 the `q' suffix from lea and replace .quad with ASM_ADDR.
21041
e02f153a
L
210422012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21043
21044 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
21045 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
21046 instead of $17.
21047 (PTR_DEMANGLE): Likewise.
21048
520ae0fd
L
210492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21050
21051 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
21052 (LP_OP): Likewise.
21053 (ASM_ADDR): Likewise.
21054 (RAX_LP): Likewise.
21055 (RBP_LP): Likewise.
21056 (RBX_LP): Likewise.
21057 (RCX_LP): Likewise.
21058 (RDI_LP): Likewise.
21059 (RSI_LP): Likewise.
21060 (RSP_LP): Likewise.
21061 (R8_LP): Likewise.
21062 (R9_LP): Likewise.
21063 (R10_LP): Likewise.
21064 (R10_LP): Likewise.
21065 (R11_LP): Likewise.
21066 (R12_LP): Likewise.
21067 (R13_LP): Likewise.
21068 (R14_LP): Likewise.
21069 (R15_LP): Likewise.
21070
b985be81
L
210712012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21072
21073 * sysdeps/x86_64/x32/dl-machine.h: New file.
21074
6a4888ff
AJ
210752012-05-14 Andreas Jaeger <aj@suse.de>
21076
21077 * manual/Makefile (subdir): Remove export of subdir.
21078 (all): Remove target.
21079 (.PHONY): Remove all from list.
21080 (mkinstalldirs): Remove.
21081 (.PHONY): Remove installdirs from list.
21082 ($(inst_infodir)/libc.info): Use make-target-directory.
21083 (installdirs): Remove.
21084 (subdir_%): Remove.
21085 (glibc-targets): Remove.
21086 (lib): Remove.
21087 (stubs): Remove.
21088 ($(objpfx)stubs ../po/manual.pot): Remove.
21089 ($(objpfx)stamp%): Remove.
21090 (make-target-directory): Remove.
21091 (subdir_install): Remove.
21092 (routines): Remove.
21093 (aux): Remove.
21094 (sources): Remove.
21095 (objects): Remove.
21096 (headers): Remove.
21097
21098 [BZ #13750]
21099 * manual/.gitignore: Remove, it's not needed anymore.
21100 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
21101 all files in it.
21102 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
21103 directory.
21104 (texis): Renamed to $(objpfx)texis.
21105 (texis-path): New, contains path to generated files.
21106 (chapters.%): Use texis-path for complete path, add extra argument
21107 libc-texinfo.sh.
21108 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
21109 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
21110 (summary,texi, stamp-summary): Use complete path of
21111 files. Generate files in build dir.
21112 (dir-add.texi): Build in build dir.
21113 (libm-err.texi,stamp-libm-err): Likewise.
21114 (version.texi, stamp-version): Likewise.
21115 (.%c.texi): Likewise.
21116 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
21117 (mostlyclean): Remove target.
21118 (realclean): Remove target.
21119 (generated): Add new variable with contents from mostlyclean and
21120 realclean, remove entries duplicated in common-mostlyclean, add
21121 stamp-libm-err and stamp-version.
21122 (generated-dirs): Add libc directory.
21123 ($(inst_infodir)/libc.info): Install files from build dir.
21124
21125 * manual/install.texi (Configuring and compiling): Adjust since
21126 the info files are not part of the tar ball anymore.
21127
7ac77294
AJ
211282012-05-14 Andreas Jaeger <aj@suse.de>
21129
21130 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
21131 variable.
21132
ffb7875d
JM
211332012-05-14 Joseph Myers <joseph@codesourcery.com>
21134
21135 [BZ #13717]
21136 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21137 to 2.2.0 where earlier.
21138 * sysdeps/unix/sysv/linux/configure: Regenerated.
21139 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
21140 Remove conditional code.
21141 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
21142 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
21143 Remove conditional code.
21144 [!__NR_lchown]: Likewise.
21145 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21146 [__NR_lchown]: Likewise.
21147 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
21148 comment referencing __ASSUME_LCHOWN_SYSCALL.
21149 * sysdeps/unix/sysv/linux/i386/sigaction.c
21150 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21151 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21152 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
21153 Remove conditional code.
21154 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
21155 (__protocol_available): Remove #if 0 code.
21156 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
21157 conditional code.
21158 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
21159 * sysdeps/unix/sysv/linux/kernel-features.h
21160 (__ASSUME_GETCWD_SYSCALL): Don't define.
21161 (__ASSUME_REALTIME_SIGNALS): Likewise.
21162 (__ASSUME_PREAD_SYSCALL): Likewise.
21163 (__ASSUME_PWRITE_SYSCALL): Likewise.
21164 (__ASSUME_POLL_SYSCALL): Likewise.
21165 (__ASSUME_LCHOWN_SYSCALL): Likewise.
21166 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
21167 non-SPARC.
21168 (__ASSUME_SIOCGIFNAME): Don't define.
21169 (__ASSUME_MSG_NOSIGNAL): Likewise.
21170 (__ASSUME_SENDFILE): Define unconditionally.
21171 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
21172 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
21173 conditional code.
21174 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
21175 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
21176 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21177 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21178 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
21179 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21180 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
21182 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21183 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
21185 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21186 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
21188 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21189 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
21191 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21192 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
21194 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21195 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
21197 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21198 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
21200 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21201 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
21203 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21204 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21205 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
21206 Remove conditional code.
21207 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21208 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21209 Remove conditional code.
21210 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21211 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
21212 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
21213 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21214 Remove conditional code.
21215 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21216 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
21217 Remove conditional code.
21218 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21219 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
21220 Remove conditional code.
21221 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21222 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21223 Remove conditional code.
21224 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21225 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21226 Remove conditional code.
21227 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21228 * sysdeps/unix/sysv/linux/sh/pwrite64.c
21229 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21230 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21231 * sysdeps/unix/sysv/linux/sigaction.c
21232 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21233 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21234 * sysdeps/unix/sysv/linux/sigpending.c
21235 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21236 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21237 * sysdeps/unix/sysv/linux/sigprocmask.c
21238 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21239 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21240 * sysdeps/unix/sysv/linux/sigsuspend.c
21241 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21242 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21243 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21244 (__libc_missing_rt_sigs): Remove.
21245 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
21246 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
21247 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
21248 Remove conditional code.
21249 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
21250 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
21251 return 1.
21252 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
21253 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
21254 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
21255 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
21256
1bfb7291
AJ
212572012-05-14 Andreas Jaeger <aj@suse.de>
21258
caae5a81
AJ
21259 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
21260 it's not used in glibc.
21261 (__coshm1): Likewise.
21262 (__acosh1p): Likewise.
21263 (__sgn): Likewise.
21264
1bfb7291
AJ
21265 * manual/string.texi (Copying and Concatenation): Add missing
21266 variable in concat example.
21267 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
21268
c044d724
L
212692012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21270
144c5467 21271 [BZ #14103]
c044d724
L
21272 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
21273 __builtin_clzl with __builtin_clzll.
21274
2523c62b
L
212752012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21276
21277 [BZ #14104]
21278 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
21279 libc_freeres_ptr.
21280
d7bb4c42
LD
212812012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21282
21283 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
21284 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
21285 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
21286 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
21287
9dc4e1fb
MF
212882012-05-14 Mike Frysinger <vapier@gentoo.org>
21289
21290 * NEWS: Update ia64 info.
21291
c7df0112
AS
212922012-05-12 Andreas Schwab <schwab@linux-m68k.org>
21293
21294 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
21295 used as bcopy.
21296
dc70356c
TS
212972012-05-12 Thomas Schwinge <thomas@codesourcery.com>
21298
21299 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
21300 * sysdeps/unix/syscalls.list (dup3): Likewise.
21301 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
21302 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
21303
9fb1a21f
L
213042012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21305
21306 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
21307 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
21308
4822a2a5
L
213092012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21310
21311 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
21312 thread pointer.
21313 (TLS_IE): Use mov/add instead of movq/addq to load thread
21314 pointer.
21315 (TLS_GD_PREFIX): New.
21316 (TLS_GD): Use it.
21317
842b81d6
DM
213182012-05-11 David S. Miller <davem@davemloft.net>
21319
21320 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
21321 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
21322 (_FPU_SETCW): Likewise.
21323
1cf463cd
L
213242012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21325
21326 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
21327 is 32-byte aligned.
21328
60cc4a18
AS
213292012-05-11 Andreas Schwab <schwab@linux-m68k.org>
21330
21331 [BZ #11837]
21332 * iconvdata/gb18030.c: Update tables.
21333 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
21334 characters specially.
21335 (BODY for TO_LOOP): Add encoding of missing ranges.
21336
febb44a4
TS
213372012-05-11 Thomas Schwinge <thomas@codesourcery.com>
21338
21339 [BZ #13673]
21340 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
21341 * sysdeps/mach/hurd/dup3.c: Likewise.
21342 * sysdeps/mach/hurd/readlinkat.c: Likewise.
21343 * sysdeps/powerpc/memmove.c:: Likewise.
21344
0a10fb9e
L
213452012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21346
21347 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
21348 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
21349
df8a552f
L
213502012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21351
21352 * elf/elf.h (R_X86_64_RELATIVE64): New.
21353 (R_X86_64_NUM): Updated.
21354 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21355 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
21356 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
21357 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
21358 tst-quad1pie tst-quad2pie
21359 (modules-names): Add tst-quadmod1 tst-quadmod2.
21360 ($(objpfx)tst-quad1): New dependency.
21361 ($(objpfx)tst-quad2): Likewise.
21362 ($(objpfx)tst-quad1pie): Likewise.
21363 ($(objpfx)tst-quad2pie): Likewise.
21364 * sysdeps/x86_64/tst-quad1.c: New file.
21365 * sysdeps/x86_64/tst-quad1pie.c: New file.
21366 * sysdeps/x86_64/tst-quad2.c: Likewise.
21367 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
21368 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
21369 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
21370 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
21371 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
21372
f34d6f84
ST
213732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21374
f42d41d1
ST
21375 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
21376 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
21377 * streams/stropts.h (t_scalar_t): Define type.
21378
3c3571fc
ST
21379 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
21380 (_PATH_PRESERVE): Set to "/var/lib".
21381 (_PATH_RWHODIR): Set to "/var/spool/rwho".
21382
61f06bd3
ST
21383 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
21384 instead of int.
21385
918d4d71
ST
21386 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
21387 if __dir_mkfile succeeded.
21388
f34d6f84
ST
21389 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
21390 checking for _hurd_dtablesize. Unlock it right after having
21391 finished _hurd_dtable allocation.
21392
10589b4a
TS
213932012-05-10 Thomas Schwinge <thomas@schwinge.name>
21394
674cdbc7
TS
21395 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
21396 * sysdeps/mach/hurd/configure: Regenerated.
21397 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
21398 special-casing to...
21399 * sysdeps/gnu/configure.in: ... this new file.
21400 * sysdeps/unix/sysv/linux/configure: Regenerated.
21401 * sysdeps/gnu/configure: New generated file.
21402
8e41b99f
TS
21403 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
21404 for Linux: use nsec instead of usec, as well as:
21405 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
21406 members of type struct timespec.
21407 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
21408 New macros.
21409 (struct stat64): Likewise.
21410 (_STATBUF_ST_NSEC): New macro.
21411 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
21412
10589b4a
TS
21413 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21414 __strtoul_internal rather than strtoul.
21415
63643c85
PT
214162012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21417
21418 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
21419 and reject them.
21420
3faebe6a
ST
214212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21422
21423 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
21424 which preserves existing values.
21425 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
21426
c6474b07
PT
214272012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21428
21429 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
21430 TIMEOUT values. Return EINVAL for NFDS values either negative or
21431 greater than FD_SETSIZE.
21432
1043890b
ST
214332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21434
21435 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
21436 allocated, call __vm_protect to finish enabling the existing space, and
21437 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
21438 allocate the remainder.
21439
37ed8b9b
PT
214402012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21441
21442 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
21443 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
21444
db653660
ST
214452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21446
37ed8b9b
PT
21447 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
21448 sysdeps/mach/hurd/readlink.c.
b29d4053 21449
db653660
ST
21450 * posix/tst-sysconf.c (posix_options): Only use
21451 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
21452 _POSIX_SYNCHRONIZED_IO when they are defined
21453 * sysdeps/mach/hurd/bits/posix_opt.h:
21454 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
21455 (_XOPEN_REALTIME): Undefine macro.
21456 (_XOPEN_REALTIME_THREADS): Undefine macro.
21457 (_XOPEN_SHM): Undefine macro.
21458 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
21459 macro to -1.
21460 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
21461 macro to -1.
21462 (_POSIX_ASYNC_IO): Undefine macro.
21463 (_POSIX_PRIORITIZED_IO): Undefine macro.
21464 (_POSIX_SPIN_LOCKS): Define macro to -1.
21465
ee16e894
ST
21466 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
21467 SA_NODEFER, SA_RESETHAND.
21468 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
21469 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
21470 F_DUPFD_CLOEXEC.
21471
6103ae3b
TS
214722012-05-10 Thomas Schwinge <thomas@schwinge.name>
21473
21474 * elf/Makefile (pldd-modules): Define unconditionally.
21475
80b4e5f3
TS
214762012-05-10 Thomas Schwinge <thomas@schwinge.name>
21477
21478 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
21479
edadcbd6
ST
214802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21481
21482 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
21483 Return ENOENT when name is empty.
21484 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
21485
80694780
TS
214862012-05-10 Thomas Schwinge <thomas@schwinge.name>
21487
1792c087
TS
21488 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
21489
80694780
TS
21490 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
21491
6b645f0d
ST
214922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21493
80694780
TS
21494 Fix mlock in all cases except non-readable pages.
21495 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
21496 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 21497
6b645f0d
ST
21498 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
21499 (__mkdir): When path is `/', just fail with EEXIST.
21500 * sysdeps/mach/hurd/mkdirat.c: Likewise.
21501
e468f8a3
TS
215022012-05-10 Thomas Schwinge <thomas@schwinge.name>
21503
21504 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
21505 <sys/uio.h> (for writev).
21506 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
21507 and <sys/param.h> (for MIN).
21508
a4186cff
PT
215092012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21510
21511 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
21512 REQUESTED_TIME. Properly set the remaining time and return EINTR
21513 if interrupted.
21514
510bbf14
TS
215152012-05-10 Thomas Schwinge <thomas@schwinge.name>
21516
21517 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
21518 Depend on against $(link-rpcuserlibs).
21519
5d5722e8
ST
215202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21521
a4186cff
PT
21522 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
21523 (__libc_stack_end): Do not use attribute_relro.
21524 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
21525 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 21526 to libthread-provided value.
a4186cff
PT
21527 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
21528 attribute_relro.
5d5722e8 21529
37233df9
TS
215302012-05-10 Thomas Schwinge <thomas@schwinge.name>
21531
be971a2b
TS
21532 [BZ #3748]
21533 * bits/libc-lock.h (__libc_once_get): New macro.
21534 * sysdeps/mach/bits/libc-lock.h: Likewise.
21535 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
21536 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
21537 instead of using implementation details.
21538
37233df9
TS
21539 * libio/fileops.c: Unconditionally include <kernel-features.h>.
21540 * libio/freopen.c: Likewise.
21541 * libio/freopen64.c: Likewise.
21542 * misc/syslog.c: Likewise.
21543 * nscd/connections.c: Likewise.
21544 * nscd/netgroupcache.c: Likewise.
21545 * sysdeps/posix/getcwd.c: Likewise.
21546
38de94a5
RM
215472012-05-10 Roland McGrath <roland@hack.frob.com>
21548
21549 * math/w_ilogbf.c: Add #include <limits.h>.
21550
67530489
ST
215512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21552
a4186cff 21553 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
21554 path instead of returning without unlocking.
21555
67530489
ST
21556 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
21557 immediate-write ioctls.
21558 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
21559
5aa3a74a
TS
215602012-05-10 Thomas Schwinge <thomas@schwinge.name>
21561
18bad2ae
TS
21562 * sysdeps/mach/hurd/i386/init-first.c (init): Use
21563 __builtin_frame_address instead of making assumptions about the
21564 location of the return address relative to DATA. Force early load of
21565 the return address.
21566 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
21567 __builtin_frame_address.
21568
5aa3a74a
TS
21569 dup3 for GNU Hurd.
21570 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
21571 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
21572 implement dup3 and do some further code clean-ups.
21573 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
21574 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
21575
ecd0de9a
ST
215762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21577
cd9fa985
ST
21578 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
21579
a4186cff
PT
21580 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
21581 HURD_CRITICAL_END around holding _hurd_dtable_lock.
21582 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
21583 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
21584 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
21585 d->port.lock.
802ca5a5 21586
a4186cff
PT
21587 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
21588 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
21589 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 21590
bcf55240
TS
215912012-05-10 Thomas Schwinge <thomas@schwinge.name>
21592
6960eb42
TS
21593 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
21594 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
21595 definitions.
21596
eb43375f
TS
21597 accept4 for GNU Hurd.
21598 * include/sys/socket.h (__libc_accept4): New prototype.
21599 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
21600 to implement __libc_accept4.
21601 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
21602 __libc_accept4.
21603 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
21604
bcf55240
TS
21605 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
21606 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
21607 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
21608 signal-defines.sym.
21609
6178c55b
ST
216102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21611
a4186cff 21612 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 21613
6f080c2f
TS
216142012-05-10 Thomas Schwinge <thomas@schwinge.name>
21615
21616 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
21617 assertion on O_CLOEXEC flag.
21618 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
21619 * hurd/intern-fd.c: Likewise.
21620 * hurd/port2fd.c: Likewise.
21621
bcfe3a54
ST
216222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21623
21624 [BZ #3906]
21625 * bits/in.h (IPV6_PKTINFO): Define new macro.
21626 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
21627
89c9aa49
AZ
216282012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21629
21630 [BZ #13954]
21631 [BZ #13955]
21632 [BZ #13956]
21633 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
21634 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21635 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
21636 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21637 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21638 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21639 * math/libm-test.inc (logb_test) : Additional logb tests.
21640
021db4be
AJ
216412012-05-09 Andreas Schwab <schwab@linux-m68k.org>
21642 Andreas Jaeger <aj@suse.de>
21643
21644 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
21645 * configure: Regenerated.
21646 * config.h.in (LINK_OBSOLETE_RPC): New macro.
21647 * config.make.in (link-obsolete-rpc): New substituted variable.
21648 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
21649 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
21650 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21651 (shared-only-routines): Don't set it under [link-obsolete-rpc],
21652 so that libc.a contains the symbols.
21653 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21654 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
21655 * sunrpc/auth_none.c: Likewise.
21656 * sunrpc/auth_unix.c: Likewise.
21657 * sunrpc/authdes_prot.c: Likewise.
21658 * sunrpc/authuxprot.c: Likewise.
21659 * sunrpc/clnt_gen.c: Likewise.
21660 * sunrpc/clnt_perr.c: Likewise.
21661 * sunrpc/clnt_raw.c: Likewise.
21662 * sunrpc/clnt_simp.c: Likewise.
21663 * sunrpc/clnt_tcp.c: Likewise.
21664 * sunrpc/clnt_udp.c: Likewise.
21665 * sunrpc/clnt_unix.c: Likewise.
21666 * sunrpc/des_crypt.c: Likewise.
21667 * sunrpc/des_soft.c: Likewise.
21668 * sunrpc/get_myaddr.c: Likewise.
21669 * sunrpc/key_call.c: Likewise.
21670 * sunrpc/key_prot.c: Likewise.
21671 * sunrpc/netname.c: Likewise.
21672 * sunrpc/pm_getmaps.c: Likewise.
21673 * sunrpc/pm_getport.c: Likewise.
21674 * sunrpc/pmap_clnt.c: Likewise.
21675 * sunrpc/pmap_prot.c: Likewise.
21676 * sunrpc/pmap_prot2.c: Likewise.
21677 * sunrpc/pmap_rmt.c: Likewise.
21678 * sunrpc/publickey.c: Likewise.
21679 * sunrpc/rpc_cmsg.c: Likewise.
21680 * sunrpc/rpc_common.c: Likewise.
21681 * sunrpc/rpc_dtable.c: Likewise.
21682 * sunrpc/rpc_prot.c: Likewise.
21683 * sunrpc/rpc_thread.c: Likewise.
21684 * sunrpc/rtime.c: Likewise.
21685 * sunrpc/svc.c: Likewise.
21686 * sunrpc/svc_auth.c: Likewise.
21687 * sunrpc/svc_raw.c: Likewise.
21688 * sunrpc/svc_run.c: Likewise.
21689 * sunrpc/svc_tcp.c: Likewise.
21690 * sunrpc/svc_udp.c: Likewise.
21691 * sunrpc/svc_unix.c: Likewise.
21692 * sunrpc/svcauth_des.c: Likewise.
21693 * sunrpc/xcrypt.c: Likewise.
21694 * sunrpc/xdr.c: Likewise.
21695 * sunrpc/xdr_array.c: Likewise.
21696 * sunrpc/xdr_float.c: Likewise.
21697 * sunrpc/xdr_intXX_t.c: Likewise.
21698 * sunrpc/xdr_mem.c: Likewise.
21699 * sunrpc/xdr_rec.c: Likewise.
21700 * sunrpc/xdr_ref.c: Likewise.
21701 * sunrpc/xdr_sizeof.c: Likewise.
21702 * sunrpc/xdr_stdio.c: Likewise.
21703
b5c086a2
RM
217042012-05-10 Roland McGrath <roland@hack.frob.com>
21705
21706 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
21707 change. Update copyright years.
21708
6d74dd09
JM
217092012-05-10 Joseph Myers <joseph@codesourcery.com>
21710
21711 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
21712
28e72501
MK
217132012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
21714 Joseph Myers <joseph@codesourcery.com>
21715 Paul Pluzhnikov <ppluzhnikov@google.com>
21716
21717 [BZ #14012]
21718 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
21719 requiring rpcgen.
21720 [cross-compiling] (extra-libs): Likewise.
21721 [cross-compiling] (extra-libs-others): Likewise.
21722 [cross-compiling] (librpcsvc-routines): Likewise.
21723 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
21724 [cross-compiling] (omit-deps): Likewise.
21725 (sunrpc-CPPFLAGS): New variable.
21726 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
21727 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
21728 (cross-rpcgen-objs): New variable.
21729 (extra-objs): Append $(cross-rpcgen-objs).
21730 ($(cross-rpcgen-objs)): New rule.
21731 ($(objpfx)cross-rpcgen): Likewise.
21732 (rpcgen-cmd): Define to use $(built-program-file). Expand
21733 comment.
21734 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
21735 ($(objpfx)x%.stmp): Likewise.
21736 * sunrpc/proto.h [IS_IN_build] (_): Define.
21737 [IS_IN_build] (_libc_intl_domainname): Likewise.
21738
c8c59454
L
217392012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21740
21741 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
21742 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
21743 and R_X86_64_TPOFF64.
21744
6f27cd16
JM
217452012-05-10 Joseph Myers <joseph@codesourcery.com>
21746
21747 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
21748 sysdeps/unix/sysv/syscalls.list.
21749 (stime): Likewise.
21750 (utime): Likewise.
21751 * sysdeps/unix/sysv/syscalls.list: Remove file.
21752
02467e1c
PE
217532012-05-10 Paul Eggert <eggert@cs.ucla.edu>
21754
21755 [BZ #3440]
21756 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
21757 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
21758 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
21759 (__LC_IDENTIFICATION): Make these macros useful in #if
21760 expressions, as required by C99.
21761
da392631
AS
217622012-05-10 Andreas Schwab <schwab@linux-m68k.org>
21763
21764 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
21765 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
21766 after this.
21767
8115f29b
L
217682012-05-09 H.J. Lu <hongjiu.lu@intel.com>
21769
21770 * stdlib/longlong.h: Updated from GCC.
21771
bdd74070
AJ
217722012-05-09 Andreas Jaeger <aj@suse.de>
21773
edfe0dbe
AJ
21774 * nscd/nscd.c (run_modes): Make named enum, reorder so that
21775 default is first entry.
21776 (run_mode): Set type.
21777 (main): Remove informal message about syslog.
21778 (options): Fix typo.
21779
bcfe3a54
ST
21780 [BZ #14053]
21781 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 21782 to asm.
bcfe3a54
ST
21783 (lrint): Likewise.
21784 (llrintf): Likewise.
21785 (llrint): Likewise.
21786 (rint): Likewise.
21787 (rintf): Likewise.
21788 (nearbyint): Likewise.
21789 (nearbyintf): Likewise.
bdd74070 21790
91d8d69e
AJ
217912012-05-09 Andreas Jaeger <aj@suse.de>
21792 Pedro Alves <palves@redhat.com>
21793
21794 * nscd/nscd.c (run_mode): Use enum.
21795 (main): Cleanup coding style issue.
21796
bb90b80b
AJ
217972012-05-09 Alexandre Oliva <aoliva@redhat.com>
21798 Andreas Jaeger <aj@suse.de>
21799
bcfe3a54
ST
21800 * nscd/nscd.c (go_background): Replaced with...
21801 (run_mode): ... this.
bb90b80b 21802 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
21803 (options): Add -F --foreground.
21804 (main): Implement it.
21805 (parse_opt): Parse it.
bb90b80b 21806
1a4b75a1
AJ
218072012-05-09 Andreas Jaeger <aj@suse.de>
21808
21809 [BZ #14083]
21810 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
21811 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
21812 -Wconversion warning.
21813 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
21814 Likewise.
21815
b1cc2472
JM
218162012-05-09 Joseph Myers <joseph@codesourcery.com>
21817
21818 * conform/data/locale.h-data (NULL): Use macro-constant. Require
21819 == 0.
21820 (LC_ALL): Use macro-int-constant.
21821 (LC_COLLATE): Likewise.
21822 (LC_CTYPE): Likewise.
21823 (LC_MESSAGES): Likewise.
21824 (LC_MONETARY): Likewise.
21825 (LC_NUMERIC): Likewise.
21826 (LC_TIME): Likewise.
21827 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
21828 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21829 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21830 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
21831 Specify type.
21832 [C99-based standards] (float_t): Expect type.
21833 [C99-based standards] (double_t): Expect type.
21834 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
21835 type.
21836 [C99-based standards] (HUGE_VALL): Likewise.
21837 [C99-based standards] (INFINITY): Likewise.
21838 [C99-based standards] (NAN): Likewise.
21839 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
21840 [C99-based standards] (FP_NAN): Likewise.
21841 [C99-based standards] (FP_NORMAL): Likewise.
21842 [C99-based standards] (FP_SUBNORMAL): Likewise.
21843 [C99-based standards] (FP_ZERO): Likewise.
21844 [C99-based standards] (FP_FAST_FMA): Use
21845 optional-macro-int-constant. Specify type. Require == 1.
21846 [C99-based standards] (FP_FAST_FMAF): Likewise.
21847 [C99-based standards] (FP_FAST_FMAL): Likewise.
21848 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
21849 [C99-based standards] (FP_ILOGBNAN): Likewise.
21850 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
21851 Specify type.
21852 [C99-based standards] (MATH_ERREXCEPT): Likewise.
21853 [C99-based standards] (math_errhandling): Specify type.
21854 [ISO99 || ISO11] (signgam): Do not allow.
21855 [non-C99-based standards] (copysignf): Do not allow.
21856 [non-C99-based standards] (exp2f): Likewise.
21857 [non-C99-based standards] (log2f): Likewise.
21858 [non-C99-based standards] (modff): Allow.
21859 [non-C99-based standards] (erff): Do not allow.
21860 [non-C99-based standards] (erfcf): Likewise.
21861 [non-C99-based standards] (gammaf): Likewise.
21862 [non-C99-based standards] (hypotf): Likewise.
21863 [non-C99-based standards] (j0f): Likewise.
21864 [non-C99-based standards] (j1f): Likewise.
21865 [non-C99-based standards] (jnf): Likewise.
21866 [non-C99-based standards] (lgammaf): Likewise.
21867 [non-C99-based standards] (tgammaf): Likewise.
21868 [non-C99-based standards] (y0f): Likewise.
21869 [non-C99-based standards] (y1f): Likewise.
21870 [non-C99-based standards] (ynf): Likewise.
21871 [non-C99-based standards] (isnanf): Likewise.
21872 [non-C99-based standards] (acoshf): Likewise.
21873 [non-C99-based standards] (asinhf): Likewise.
21874 [non-C99-based standards] (atanhf): Likewise.
21875 [non-C99-based standards] (cbrtf): Likewise.
21876 [non-C99-based standards] (expm1f): Likewise.
21877 [non-C99-based standards] (ilogbf): Likewise.
21878 [non-C99-based standards] (log1pf): Likewise.
21879 [non-C99-based standards] (logbf): Likewise.
21880 [non-C99-based standards] (nextafterf): Likewise.
21881 [non-C99-based standards] (remainderf): Likewise.
21882 [non-C99-based standards] (rintf): Likewise.
21883 [non-C99-based standards] (scalbf): Likewise.
21884 [non-C99-based standards] (copysignl): Likewise.
21885 [non-C99-based standards] (exp2l): Likewise.
21886 [non-C99-based standards] (log2l): Likewise.
21887 [non-C99-based standards] (modfl): Allow.
21888 [non-C99-based standards] (erfl): Do not allow.
21889 [non-C99-based standards] (erfcl): Likewise.
21890 [non-C99-based standards] (gammal): Likewise.
21891 [non-C99-based standards] (hypotl): Likewise.
21892 [non-C99-based standards] (j0l): Likewise.
21893 [non-C99-based standards] (j1l): Likewise.
21894 [non-C99-based standards] (jnl): Likewise.
21895 [non-C99-based standards] (lgammal): Likewise.
21896 [non-C99-based standards] (tgammal): Likewise.
21897 [non-C99-based standards] (y0l): Likewise.
21898 [non-C99-based standards] (y1l): Likewise.
21899 [non-C99-based standards] (ynl): Likewise.
21900 [non-C99-based standards] (isnanl): Likewise.
21901 [non-C99-based standards] (acoshl): Likewise.
21902 [non-C99-based standards] (asinhl): Likewise.
21903 [non-C99-based standards] (atanhl): Likewise.
21904 [non-C99-based standards] (cbrtl): Likewise.
21905 [non-C99-based standards] (expm1l): Likewise.
21906 [non-C99-based standards] (ilogbl): Likewise.
21907 [non-C99-based standards] (log1pl): Likewise.
21908 [non-C99-based standards] (logbl): Likewise.
21909 [non-C99-based standards] (nextafterl): Likewise.
21910 [non-C99-based standards] (remainderl): Likewise.
21911 [non-C99-based standards] (rintl): Likewise.
21912 [non-C99-based standards] (scalbl): Likewise.
21913 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21914 [non-C99-based standards] (FP_*): Do not allow.
21915 [C99-based standards] (FP_*): Change to
21916 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21917 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21918 allow.
21919 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
21920 (SIG_ERR): Likewise.
21921 [X/Open-based standards] (SIG_HOLD): Likewise.
21922 (SIG_IGN): Likewise.
21923 (SIGABRT): Use macro-int-constant. Specify type. Require
21924 positive value.
21925 (SIGFPE): Likewise.
21926 (SIGILL): Likewise.
21927 (SIGINT): Likewise.
21928 (SIGSEGV): Likewise.
21929 (SIGTER): Likewise.
21930 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
21931 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
21932 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
21933 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
21934 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
21935 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
21936 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
21937 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
21938 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
21939 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
21940 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
21941 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
21942 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
21943 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
21944 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
21945 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
21946 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
21947 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
21948 [X/Open-based standards] (SIGTRAP): Likewise.
21949 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
21950 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
21951 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
21952 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
21953 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21954 allow.
21955
b9f1922d
IW
219562012-05-08 Ian Wienand <ianw@vmware.com>
21957
21958 [BZ #14080]
21959 * time/tzset.c (__tzset_parse_tz): Update default rules for
21960 daylight time changes in the Energy Policy Act of 2005.
21961
1db86e88
AJ
219622012-05-09 Andreas Jaeger <aj@suse.de>
21963
21964 [BZ #13983]
21965 * elf/ldconfig.c (parse_conf): Change string to make clear that
21966 ldconfig only issued a warning if ld.so.conf does not exist.
21967
dee4a4e3
DM
219682012-05-08 David S. Miller <davem@davemloft.net>
21969
ee0db190
DM
21970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
21971 movxtod instead of popping the value on the stack.
21972
dee4a4e3
DM
21973 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21974
6a43ec98
CD
219752012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
21976
21977 * config.h.in: Add HAVE_ARM_PCS_VFP.
21978
05c2c961
RMG
219792012-05-08 Roland Mc Grath <roland@hack.frob.com>
21980
bcfe3a54
ST
21981 [BZ #13979]
21982 * include/features.h: Warn if user requests __FORTIFY_SOURCE
21983 checking but the checks are disabled for any reason.
05c2c961 21984
4b30f61a
L
219852012-05-08 H.J. Lu <hongjiu.lu@intel.com>
21986
21987 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
21988 and ELF64_R_TYPE with ELFW(R_TYPE).
21989
eee2bc67
JM
219902012-05-08 Joseph Myers <joseph@codesourcery.com>
21991
7ea5391a
JM
21992 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
21993 (ulimit): Likewise.
21994
eee2bc67
JM
21995 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
21996 (settimeofday): Likewise.
21997
abb66a67
MF
219982012-05-08 Mike Frysinger <vapier@gentoo.org>
21999
22000 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
22001 a struct th_u2 inside the union, and move tu_block/tu_code into
22002 a new th_u3 union of tu_block/tu_code inside of that. Move
22003 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
22004 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
22005 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
22006 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
22007 (th_stuff): Change to th_u1.tu_stuff.
22008 (th_data): Define.
22009 (th_msg): Change to th_u1.th_u2.tu_data.
22010
7f18b530
DM
220112012-05-07 David S. Miller <davem@davemloft.net>
22012
05760585
DM
22013 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22014
7f18b530
DM
22015 [BZ #14074]
22016 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
22017 (SETUP_PIC_REG): Use it.
22018 (SETUP_PIC_REG_LEAF): Use it.
22019
495fd99f
JM
220202012-05-07 Joseph Myers <joseph@codesourcery.com>
22021
22022 [BZ #13885]
22023 [BZ #13923]
22024 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22025 USE_AS_EXPM1L.
22026 (EXPL_FINITE): Likewise.
22027 (FLDLOG): Likewise.
22028 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22029 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22030 e_expl.S.
22031 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22032 USE_AS_EXPM1L.
22033 (EXPL_FINITE): Likewise.
22034 (FLDLOG): Likewise.
22035 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22036 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22037 e_expl.S.
22038 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
22039 test of -max_value argument for long double.
22040 * sysdeps/i386/fpu/libm-test-ulps: Update.
22041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22042
6693d694
DM
220432012-05-06 David S. Miller <davem@davemloft.net>
22044
22045 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
22046 quad soft-float symbols whose references which are compiler
22047 generated.
22048 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22049
6c23e11c
JM
220502012-05-06 Joseph Myers <joseph@codesourcery.com>
22051
d8b82cad
JM
22052 [BZ #13884]
22053 [BZ #13914]
22054 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22055 USE_AS_EXP10L.
22056 (EXPL_FINITE): Likewise.
22057 (FLDLOG): Likewise.
22058 (c0): Likewise.
22059 (c1): Likewise.
22060 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
22061 Adjust comments for base varying.
22062 (__expl_finite): Change alias to EXPL_FINITE.
22063 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
22064 e_expl.S.
22065 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
22066 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
22067 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22068 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
22069 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22070 USE_AS_EXP10L.
22071 (EXPL_FINITE): Likewise.
22072 (FLDLOG): Likewise.
22073 (c0): Likewise.
22074 (c1): Likewise.
22075 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
22076 Adjust comments for base varying.
22077 (__expl_finite): Change alias to EXPL_FINITE.
22078 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
22079 tests for bugs.
22080 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22081
6c23e11c
JM
22082 [BZ #14064]
22083 * math/libm-test.inc (check_float_internal): Correct ulp
22084 calculation for subnormal expected results.
22085
29ba805c
AJ
220862012-05-06 Andreas Jaeger <aj@suse.de>
22087
22088 * Makeconfig (+math-flags): New, set to -frounding-math.
22089 (+cflags): Add +math-flags so that all of glibc gets compiled with
22090 it.
22091
22092 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
22093
7b17aeda
JM
220942012-05-05 Joseph Myers <joseph@codesourcery.com>
22095
5779f134
JM
22096 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
22097 Disable one test.
22098
41498f4d
JM
22099 [BZ #13787]
22100 [BZ #13922]
22101 [BZ #14036]
22102 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
22103 (__ieee754_expl): Allow for and saturate large arguments.
22104 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
22105 (u_threshold): Likewise.
22106 (__exp): Call __ieee754_exp before checking for overflow and
22107 underflow.
22108 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
22109 (u_threshold): Likewise.
22110 (__expf): Call __ieee754_expf before checking for overflow and
22111 underflow.
22112 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
22113 (u_threshold): Likewise.
22114 (__expl): Call __ieee754_expl before checking for overflow and
22115 underflow.
22116 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
22117 (__ieee754_expl): Allow for and saturate large arguments.
22118 * math/libm-test.inc (exp_test): Add another test. Do not allow
22119 missing overflow exception on overflow.
22120 (expm1_test): Do not allow missing overflow exception on overflow.
22121
6698b8bf
JM
22122 * sysdeps/i386/fpu/e_expl.c: Move to ...
22123 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
22124 rather than using inline asm.
22125 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
22126 * sysdeps/x86_64/fpu/e_expl.S: Copy from
22127 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
22128
7b17aeda
JM
22129 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
22130 (nice): Likewise.
22131 (poll): Likewise.
22132 (signal): Likewise.
22133 (time): Likewise.
22134 (times): Likewise.
22135
f7c85819
JM
221362012-05-04 Joseph Myers <joseph@codesourcery.com>
22137
22138 * sysdeps/unix/syscalls.list (adjtime): Add entry from
22139 sysdeps/unix/common/syscalls.list.
22140 (fchmod): Likewise.
22141 (fchown): Likewise.
22142 (ftruncate): Likewise.
22143 (getrusage): Likewise.
22144 (gettimeofday): Likewise.
22145 (setpgid): Likewise.
22146 (setregid): Likewise.
22147 (setreuid): Likewise.
22148 (sigaction): Likewise.
22149 (truncate): Likewise.
22150 (vhangup): Likewise.
22151 * sysdeps/unix/common/syscalls.list: Remove file.
22152 * sysdeps/unix/bsd/Implies: Don't include unix/common.
22153 * sysdeps/unix/sysv/linux/Implies: Likewise.
22154
336270d0
L
221552012-05-04 H.J. Lu <hongjiu.lu@intel.com>
22156
22157 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
22158 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
22159 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
22160 Moved to ...
22161 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
22162 Here.
22163 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
22164 to ...
22165 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
22166 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
22167 to ...
22168 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
22169 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
22170 to ...
22171 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
22172 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
22173 to ...
22174 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
22175 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
22176 to ...
22177 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
22178 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
22179 to ...
22180 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
22181 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
22182 to ...
22183 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22184 Here.
22185 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
22186 to ...
22187 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
22188 Here.
22189 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
22190 to ...
22191 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
22192 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
22193 Moved to ...
22194 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
22195 Here.
22196 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
22197 to ...
22198 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
22199
d128e450
JM
222002012-05-04 Joseph Myers <joseph@codesourcery.com>
22201
fa8ee516
JM
22202 * sysdeps/unix/common/bits/dirent.h: Remove file.
22203 * sysdeps/unix/common/bits/fcntl.h: Likewise.
22204
d128e450
JM
22205 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
22206 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
22207 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
22208 * sysdeps/unix/bsd/isatty.c: Likewise.
22209 * sysdeps/unix/bsd/tcdrain.c: Likewise.
22210 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
22211 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
22212
ff8faaf0 222132012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 22214
62881be4 22215 [BZ #13563]
31dc8730
AZ
22216 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
22217 long double comparison inaccuracies.
22218 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22219 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22220
6fef930c
AS
222212012-05-04 Andreas Schwab <schwab@linux-m68k.org>
22222
22223 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
22224 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
22225
8f203e6c
JM
222262012-05-04 Joseph Myers <joseph@codesourcery.com>
22227
22228 [BZ #14049]
22229 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
22230 nonzero digits before rounding a hex value.
22231 * stdlib/tst-strtod.c (tests): Add another test.
22232
5197d9c2
AK
222332012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22234
22235 * sysdeps/s390/fpu/libm-test-ulps: Update.
22236
f0c1dedf
AJ
222372012-05-03 Andreas Jaeger <aj@suse.de>
22238
22239 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
22240 does not get optimized out.
22241 (malloc_opt_barrier): New.
22242
a65ef2ae 222432012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 22244 Roland McGrath <roland@hack.frob.com>
a65ef2ae 22245
2b942cb7 22246 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 22247 intermediate file deletion.
2b942cb7 22248 (generated): Add .symlist files.
a65ef2ae 22249
54b71e02
JM
222502012-05-03 Joseph Myers <joseph@codesourcery.com>
22251
22252 [BZ #13775]
22253 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
22254 Redirect under this condition.
22255 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22256 [__USE_GNU] (__dprintf_chk): Not under this condition.
22257 [__USE_GNU] (__vdprintf_chk): Likewise.
22258 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
22259 under this condition.
22260 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22261 [__USE_XOPEN2K8] (dprintf): Define under this condition.
22262 [__USE_XOPEN2K8] (vdprintf): Likewise.
22263 [__USE_GNU] (__dprintf_chk): Not under this condition.
22264 [__USE_GNU] (__vdprintf_chk): Likewise.
22265 [__USE_GNU] (dprintf): Likewise.
22266 [__USE_GNU] (vdprintf): Likewise.
22267
d3dfcc41
RM
222682012-05-03 Roland McGrath <roland@hack.frob.com>
22269
22270 * elf/Makefile (common-generated): Set this instead of generated for
22271 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
22272 $(all-built-dso)-derived lists.
22273
7ac30cc5
AJ
222742012-05-03 Andreas Jaeger <aj@suse.de>
22275
0c51e550
AJ
22276 * sysdeps/i386/fpu/libm-test-ulps: Update.
22277
7ac30cc5
AJ
22278 * FAQ: Removed.
22279 * FAQ.in: Likewise.
22280 * scripts/gen-FAQ.pl: Likewise.
22281 * manual/install.texi (Installation): Point to online location of
22282 FAQ.
22283 * Makefile (files-for-dist): Remove FAQ.
22284 (FAQ): Remove.
22285
d4c2917f
AM
222862012-05-02 Allan McRae <allan@archlinux.org>
22287
22288 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
22289 (LDFLAGS-reldepmod5.so): Likewise.
22290 (LDFLAGS-reldep6mod1.so): Likewise.
22291 (LDFLAGS-reldep6mod4.so): Likewise.
22292 (LDFLAGS-reldep8mod3.so): Likewise.
22293 (LDFLAGS-unload4mod1.so): Likewise.
22294 (LDFLAGS-unload4mod2.so): Likewise.
22295 (LDFLAGS-tst-initorder): Likewise.
22296 (LDFLAGS-tst-initordera2.so): Likewise.
22297 (LDFLAGS-tst-initordera3.so): Likewise.
22298 (LDFLAGS-tst-initordera4.so): Likewise.
22299 (LDFLAGS-tst-initorderb2.so): Likewise.
22300 (LDFLAGS-noload): Likewise.
22301 (LDFLAGS-next): Likewise.
22302 (LDFLAGS-order2mod1.so): Likewise.
22303 (LDFLAGS-order2mod2.so): Likewise.
22304 (LDFLAGS-tst-initorder2): Likewise.
22305 (LDFLAGS-tst-initorder2a.so): Likewise.
22306 (LDFLAGS-tst-initorder2b.so): Likewise.
22307 (LDFLAGS-tst-initorder2c.so): Likewise.
22308 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
22309
d77f993f
DM
223102012-05-02 David S. Miller <davem@davemloft.net>
22311
22312 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22313
171a70b4
PP
223142012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
22315
22316 [BZ #14055]
22317 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
22318
0be196ad
AJ
223192012-05-02 Andreas Jaeger <aj@suse.de>
22320
22321 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
22322 since we manipulate rounding mode.
22323 (CPPFLAGS-test-idouble.c): Likewise.
22324 (CPPFLAGS-test-ifloat.c): Likewise.
22325 (CFLAGS-test-ldouble.c): Likewise.
22326 (CFLAGS-test-double.c): Likewise.
22327 (CFLAGS-test-float.c): Likewise.
22328 (CFLAGS-test-misc.c): Likewise.
22329 (CFLAGS-test-test-fenv.c): Likewise.
22330
4f9d04aa
AZ
223312012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22332
2b942cb7
RM
22333 [BZ #2550]
22334 [BZ #2570]
22335 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
22336 comparisons to determine direction to adjust input.
4f9d04aa 22337
82a79e7d
RM
223382012-05-01 Roland McGrath <roland@hack.frob.com>
22339
f5a01ca9
RM
22340 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
22341 output to the target.
22342
90fe4186
RM
22343 * scripts/localplt.awk: New file.
22344 * elf/Makefile ($(objpfx)check-localplt): Target removed.
22345 (check-localplt-CFLAGS): Variable removed.
22346 ($(all-built-dso:=.jmprel)): New static pattern rule.
22347 (generated): Add those targets.
22348 (localplt-built-dso): New variable.
22349 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
22350
22351 * elf/check-localplt.c: File removed.
22352
82397ed6
RM
22353 * scripts/check-execstack.awk: New file.
22354 * elf/Makefile ($(objpfx)check-execstack): Target removed.
22355 (check-execstack-CFLAGS): Variable removed.
22356 ($(objpfx)check-execstack.h): Target removed.
22357 ($(objpfx)execstack-default): New target.
22358 (generated): Add that instead of check-execstack.h.
22359 ($(all-built-dso:=.phdr)): New static pattern rule.
22360 (generated): Add those targets.
22361 * elf/check-execstack.c: File removed.
22362
82a79e7d
RM
22363 * scripts/check-textrel.awk: New file.
22364 * elf/Makefile ($(objpfx)check-textrel): Target removed.
22365 (check-textrel-CFLAGS): Variable removed.
22366 (all-built-dso): Use := to define.o
22367 ($(all-built-dso:=.dyn)): New static pattern rule.
22368 (generated): Add those targets.
22369 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
22370 * config.make.in (READELF): New substituted variable.
22371 * elf/check-textrel.c: File removed.
22372
62fde54f 223732012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 22374
615605c9
JM
22375 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22376 allow.
22377 * conform/data/ctype.h-data [C99-based standards] (isblank):
22378 Expect function.
22379 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
22380 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
22381 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22382 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
22383 Specify type. Require positive value.
22384 (EILSEQ): Likewise.
22385 (ERANGE): Likewise.
22386 [ISO || POSIX] (EILSEQ): Do not expect.
22387 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
22388 Specify type. Require positive value.
22389 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
22390 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
22391 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
22392 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
22393 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
22394 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
22395 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
22396 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
22397 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
22398 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
22399 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
22400 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
22401 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
22402 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
22403 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
22404 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
22405 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
22406 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
22407 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
22408 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
22409 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
22410 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
22411 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
22412 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
22413 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
22414 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
22415 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
22416 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
22417 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
22418 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
22419 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
22420 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
22421 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
22422 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
22423 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
22424 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
22425 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
22426 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
22427 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
22428 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
22429 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
22430 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
22431 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
22432 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
22433 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
22434 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
22435 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
22436 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
22437 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
22438 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
22439 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
22440 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
22441 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
22442 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
22443 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
22444 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
22445 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
22446 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
22447 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
22448 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
22449 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
22450 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
22451 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
22452 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
22453 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
22454 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
22455 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
22456 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
22457 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
22458 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
22459 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
22460 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
22461 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
22462 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
22463 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
22464 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
22465 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
22466 Require >= 2.
22467 (FLT_ROUNDS): Expect as macro, not constant.
22468 (FLT_MANT_DIG): Use macro-int-constant.
22469 (DBL_MANT_DIG): Likewise.
22470 (LDBL_MANT_DIG): Likewise.
22471 (FLT_DIG): Likewise.
22472 (DBL_DIG): Likewise.
22473 (LDBL_DIG): Likewise.
22474 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
22475 (DBL_MIN_EXP): Likewise.
22476 (LDBL_MIN_EXP): Likewise.
22477 (FLT_MAX_EXP): Use macro-int-constant.
22478 (DBL_MAX_EXP): Likewise.
22479 (LDBL_MAX_EXP): Likewise.
22480 (FLT_MAX_10_EXP): Likewise.
22481 (DBL_MAX_10_EXP): Likewise.
22482 (LDBL_MAX_10_EXP): Likewise.
22483 (FLT_MAX): Use macro-constant.
22484 (DBL_MAX): Likewise.
22485 (LDBL_MAX): Likewise.
22486 (FLT_EPSILON): Use macro-constant. Give upper bound.
22487 (DBL_EPSILON): Likewise.
22488 (LDBL_EPSILON): Likewise.
22489 (FLT_MIN): Likewise.
22490 (DBL_MIN): Likewise.
22491 (LDBL_MIN): Likewise.
22492 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
22493 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
22494 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
22495 [ISO11] (FLT_HAS_SUBNORM): Likewise.
22496 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
22497 [ISO11] (DBL_DECIMAL_DIG): Likewise.
22498 [ISO11] (FLT_DECIMAL_DIG): Likewise.
22499 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
22500 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
22501 [ISO11] (FLT_TRUE_MIN): Likewise.
22502 [ISO11] (LDBL_TRUE_MIN): Likewise.
22503 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22504 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
22505 (SCHAR_MIN): Use macro-int-constant. Specify type.
22506 (SCHAR_MAX): Likewise.
22507 (UCHAR_MAX): Likewise.
22508 (CHAR_MIN): Likewise.
22509 (CHAR_MAX): Likewise.
22510 (MB_LEN_MAX): Use macro-int-constant.
22511 (SHRT_MIN): Use macro-int-constant. Specify type.
22512 (SHRT_MAX): Likewise.
22513 (USHRT_MAX): Likewise.
22514 (INT_MAX): Likewise.
22515 (INT_MIN): Use macro-int-constant. Specify type. Make upper
22516 bound negative.
22517 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
22518 bound with "U".
22519 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
22520 bound with "L".
22521 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
22522 bound negative. Suffix upper bound with "L".
22523 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
22524 bound with "UL".
22525 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
22526 Specify type.
22527 [C99-based standards] (LLONG_MAX): Likewise.
22528 [C99-based standards] (ULLONG_MAX): Likewise.
22529 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
22530 == 0.
22531 [ISO11] (max_align_t): Require type.
22532 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22533
c9140a62
JM
22534 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
22535 from $CFLAGS, without defining away __attribute__ calls.
22536 (checknamespace): Use $CFLAGS_namespace.
22537
9af0bf29
JM
22538 * conform/conformtest.pl (@keywords): Only include C99 keywords
22539 for standards based on C99 or C11.
22540
343222a2
JM
22541 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
22542 Disable tests.
22543 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
22544 UNIX98]: Likewise.
22545
661f8cf0
JM
22546 * conform/conformtest.pl: Handle "macro-int-constant" and test for
22547 usability of symbols in #if.
22548
ee74b9cb
JM
22549 * conform/conformtest.pl: If macro or constant types start
22550 "promoted:", expect the symbol to be of the following type
22551 promoted by the integer promotions.
62fde54f 22552
aafc49b3
JM
22553 * conform/conformtest.pl: Parse all "constant" and "macro" lines
22554 in one place. Also handle "macro-constant".
22555
fefdf574
JM
22556 * conform/conformtest.pl: Only accept expected macro values with
22557 "==". Parse all "macro" lines in one place.
22558 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
22559
f2d922fe
JM
22560 * conform/conformtest.pl: Handle braced types on "constant" lines
22561 instead of handling "typed-constant".
22562 * conform/data/signal.h-data: Use "constant" instead of
22563 "typed-constant".
22564
d22956c9
JM
22565 * conform/conformtest.pl: Handle "optional-" at start of lines in
22566 one place rather than duplicating several cases. Handle each
22567 format of "macro" line with initial "optional-".
22568
028e2e38
JM
22569 * conform/conformtest.pl: Only accept expected constant or
22570 optional-constant values with "==". Parse all "constant" lines in
22571 one place. Parse all "optional-constant" lines in one place.
22572 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
22573 * conform/data/fmtmsg.h-data: Likewise.
22574 * conform/data/netinet/in.h-data: Likewise.
22575 * conform/data/tar.h-data: Likewise.
22576 * conform/data/limits.h-data: Use "==" form on "constant" and
22577 "optional-constant" lines.
22578
1b8f2850
JM
22579 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
22580 Use -std=c99 for XOPEN2K.
22581 (@knownproblems): Remove.
22582 (newtoken): Don't check %isknown.
22583
a05a144b
JM
22584 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
22585 Do not expect macro.
22586 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
22587 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
22588 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
22589 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
22590 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
22591 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
22592 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
22593 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
22594 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
22595 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
22596 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
22597 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
22598 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
22599 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
22600 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
22601 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
22602 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
22603 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
22604 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
22605 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
22606 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
22607 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
22608 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
22609 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
22610 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
22611 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
22612 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
22613 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
22614 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
22615 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
22616 [XPG3] (acosh): Likewise.
22617 [XPG3] (asinh): Likewise.
22618 [XPG3] (atanh): Likewise.
22619 [XPG3] (cbrt): Likewise.
22620 [XPG3] (expm1): Likewise.
22621 [XPG3] (ilogb): Likewise.
22622 [XPG3] (log1p): Likewise.
22623 [XPG3] (logb): Likewise.
22624 [XPG3] (nextafter): Likewise.
22625 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
22626 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
22627 [XPG3] (remainder): Likewise.
22628 [XPG3] (rint): Likewise.
22629 [XPG3 || XPG4 || UNIX98] (round): Likewise.
22630 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
22631 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
22632 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
22633 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
22634 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
22635 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
22636 [UNIX98 || XOPEN2K] (scalb): Expect.
22637 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
22638 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
22639 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
22640 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
22641 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
22642 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
22643 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
22644 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
22645 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
22646 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
22647 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
22648 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
22649 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
22650 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
22651 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
22652 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
22653 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
22654 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
22655 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
22656 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
22657 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
22658 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
22659 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
22660 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
22661 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
22662 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
22663 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
22664 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
22665 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
22666 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
22667 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
22668 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
22669 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
22670 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
22671 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
22672 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
22673 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
22674 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
22675 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
22676 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
22677 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
22678 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
22679 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
22680 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
22681 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
22682 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
22683 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
22684 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
22685 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
22686 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
22687 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
22688 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
22689 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
22690 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
22691 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
22692 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
22693 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
22694 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
22695 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
22696 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
22697 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
22698 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
22699 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
22700 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
22701 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
22702 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
22703 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
22704 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
22705 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
22706 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
22707 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
22708 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
22709 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
22710 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
22711 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
22712 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
22713 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
22714 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
22715 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
22716 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
22717 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
22718 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
22719 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
22720 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
22721 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
22722 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
22723 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
22724 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
22725 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
22726 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
22727 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
22728 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
22729 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
22730 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
22731 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
22732 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
22733 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
22734 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
22735 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
22736 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
22737 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
22738 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
22739 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
22740 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
22741 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
22742 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
22743 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
22744 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
22745 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
22746 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
22747 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
22748 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
22749 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
22750 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
22751 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
22752 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
22753 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
22754 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
22755 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
22756 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
22757 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
22758 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
22759 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
22760 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
22761 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
22762 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
22763 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
22764 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
22765 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
22766 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
22767 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
22768 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
22769 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
22770 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
22771 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
22772 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
22773 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
22774
73c5ebe3
JM
22775 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
22776 _XOPEN_SOURCE_EXTENDED for XPG4.
22777
39c33b6c
JM
22778 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
22779
62fde54f
JM
22780 * Makeconfig (localtime): Remove variable.
22781 (inst_localtime-file): Likewise.
22782
0741d64c
AS
227832012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22784
22785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
22786 Update.
22787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22788 Update.
22789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
22790 Update.
22791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22792 Update.
22793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
22794 Update.
22795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
22796 Update.
22797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22798 Update.
22799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
22800 Update.
22801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22802 Update.
22803
7cb029ee
JM
228042012-05-01 Joseph Myers <joseph@codesourcery.com>
22805
22806 [BZ #2550]
22807 [BZ #2570]
22808 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
22809 comparisons to determine direction to adjust input.
22810 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22811 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
22812 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
22813 Likewise.
22814 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
22815 Likewise.
22816 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22817 Likewise.
22818 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
22819 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22820 Likewise.
22821 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22822 Likewise.
22823 * math/libm-test.inc (nexttoward_test): Add more tests.
22824
412bd966
AS
228252012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22826
22827 [BZ #14040]
22828 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
22829 in version GLIBC_2.1, not GLIBC_2.0.
22830 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
22831 Likewise.
22832
9568c0c2
JM
228332012-04-30 Joseph Myers <joseph@codesourcery.com>
22834
adfbc8ac
JM
22835 [BZ #13942]
22836 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
22837 (1 - x) * (1 + x).
22838 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22839 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
22840 * math/libm-test.inc (acos_test): Add more tests.
22841 (asin_test): Likewise.
22842 * sysdeps/i386/fpu/libm-test-ulps: Update.
22843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22844
5ba3cc69
JM
22845 [BZ #14034]
22846 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
22847 of square root.
22848 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
22849 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22850 * math/libm-test.inc (acos_test_tonearest): New function.
22851 (acos_test_towardzero): Likewise.
22852 (acos_test_downward): Likewise.
22853 (acos_test_upward): Likewise.
22854 (asin_test_tonearest): Likewise.
22855 (asin_test_towardzero): Likewise.
22856 (asin_test_downward): Likewise.
22857 (asin_test_upward): Likewise.
22858 (main): Call the new functions.
22859 * sysdeps/i386/fpu/libm-test-ulps: Update.
22860 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22861
9568c0c2
JM
22862 [BZ #13884]
22863 [BZ #13924]
22864 * math/e_exp10.c: Include <float.h>.
22865 (__ieee754_exp10): Handle underflow here rather than multiplying
22866 large negative argument by M_LN10.
22867 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
22868 of __ieee754_expf.
22869 * math/e_exp10l.c: Include <float.h>.
22870 (__ieee754_exp10l): Handle underflow here rather than multiplying
22871 large negative argument by M_LN10l.
22872 * math/libm-test.inc (exp10_test): Add another test. Do not allow
22873 spurious overflow exception on underflow.
22874
5ac3ea17
MP
228752012-04-29 Marek Polacek <polacek@redhat.com>
22876
22877 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
22878 (__fortify_function): New macro.
22879 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
22880 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
22881 __extern_always_inline.
22882 * libio/bits/stdio2.h: Likewise.
22883 * libio/bits/stdio.h: Likewise.
22884 * string/string.h: Likewise.
22885 * string/bits/string3.h: Likewise.
22886 * include/stdio.h: Likewise.
22887 * stdlib/bits/stdlib.h: Likewise.
22888 * stdlib/stdlib.h: Likewise.
22889 * rt/bits/mqueue2.h: Likewise.
22890 * rt/mqueue.h: Likewise.
22891 * posix/bits/unistd.h: Likewise.
22892 * posix/unistd.h: Likewise.
22893 * io/bits/poll2.h: Likewise.
22894 * io/bits/fcntl2.h: Likewise.
22895 * io/fcntl.h: Likewise.
22896 * io/sys/poll.h: Likewise.
22897 * misc/bits/syslog.h: Likewise.
22898 * misc/bits/syslog-ldbl.h: Likewise.
22899 * misc/sys/syslog.h: Likewise.
22900 * socket/bits/socket2.h: Likewise.
22901 * socket/sys/socket.h: Likewise.
22902 * debug/tst-chk1.c: Likewise.
22903 * wcsmbs/bits/wchar2.h: Likewise.
22904 * wcsmbs/bits/wchar-ldbl.h: Likewise.
22905 * wcsmbs/wchar.h: Likewise.
22906
ecf0ebfb
AJ
229072012-04-29 Andreas Jaeger <aj@suse.de>
22908
22909 * Makerules (tests): Remove enable-check-abi protection.
22910 (check-abi-warn): Remove.
22911 (check-abi-%): Remove check-abi-warn usage.
22912
22913 * configure.in: Remove check-abi configure option.
22914 * configure: Regenerated.
22915 * config.make.in (enable-check-abi): Remove.
22916
6d5c57fa
AS
229172012-04-28 Andreas Schwab <schwab@linux-m68k.org>
22918
24c5d07e 22919 [BZ #14033]
ded5180a
AS
22920 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
22921 double functions to double *_finite functions.
22922
7e0d315d
AS
22923 [BZ #13941]
22924 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
22925 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
22926 LDBL_MIN_EXP.
22927 * stdio-common/Makefile (tests): Add tst-sprintf3.
22928 * stdio-common/tst-sprintf3.c: New file.
22929
6d5c57fa
AS
22930 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
22931 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
22932
0749ff8b
JM
229332012-04-28 Joseph Myers <joseph@codesourcery.com>
22934
22935 * conform/conformtest.pl: Remove duplicate typed-constant
22936 handling.
22937
8dbd5d7b
DM
229382012-04-28 David S. Miller <davem@davemloft.net>
22939
22940 * Makerules (%.abilist): Add vpath on sysdep_dirs.
22941 (check-abi-%): Remove AWK script prerequisite and explicit
22942 abilist directory.
22943 (check-abi): Rewrite to just diff the symlist with the abilist.
22944 (config-tls, config-abi-config): Delete, no longer used.
22945 (update-abi-%): Remove AWK script and explicit abilist directory.
22946 (update-abi): Rewrite to simply compare and conditionally copy the
22947 symlist and the sysdep abilist file. Remove update-abi-config
22948 checks.
22949 * abilist/ld.abilist: Remove.
22950 * abilist/libBrokenLocale.abilist: Remove.
22951 * abilist/libanl.abilist: Remove.
22952 * abilist/libcrypt.abilist: Remove.
22953 * abilist/libdl.abilist: Remove.
22954 * abilist/librt.abilist: Remove.
22955 * abilist/libthread_db.abilist: Remove.
22956 * abilist/libutil.abilist: Remove.
22957 * scripts/extract-abilist.awk: Remove.
22958 * scripts/merge-abilist.awk: Remove.
22959 * sysdeps/generic/libcidn.abilist: New file.
22960 * sysdeps/generic/libnss_compat.abilist: New file.
22961 * sysdeps/generic/libnss_db.abilist: New file.
22962 * sysdeps/generic/libnss_dns.abilist: New file.
22963 * sysdeps/generic/libnss_files.abilist: New file.
22964 * sysdeps/generic/libnss_hesiod.abilist: New file.
22965 * sysdeps/generic/libnss_nis.abilist: New file.
22966 * sysdeps/generic/libnss_nisplus.abilist: New file.
22967 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
22968 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
22969 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
22970 file.
22971 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
22972 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
22973 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
22974 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
22975 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
22976 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
22977 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
22978 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
22979 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
22980 file.
22981 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
22982 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
22983 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
22984 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
22985 file.
22986 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
22987 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
22988 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
22989 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
22990 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
22991 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
22992 file.
22993 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
22994 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
22995 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
22996 file.
22997 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
22998 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
22999 New file.
23000 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
23001 New file.
23002 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
23003 New file.
23004 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
23005 New file.
23006 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
23007 New file.
23008 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
23009 New file.
23010 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
23011 New file.
23012 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
23013 New file.
23014 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
23015 New file.
23016 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
23017 New file.
23018 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
23019 New file.
23020 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
23021 New file.
23022 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
23023 New file.
23024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
23025 file.
23026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
23027 New file.
23028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
23029 New file.
23030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
23031 file.
23032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
23033 New file.
23034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
23035 New file.
23036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
23037 file.
23038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
23039 New file.
23040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23041 New file.
23042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
23043 New file.
23044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
23045 New file.
23046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
23047 New file.
23048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
23049 New file.
23050 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
23051 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
23052 file.
23053 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
23054 New file.
23055 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
23056 file.
23057 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
23058 file.
23059 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
23060 file.
23061 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
23062 file.
23063 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
23064 file.
23065 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23066 New file.
23067 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
23068 file.
23069 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
23070 file.
23071 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
23072 New file.
23073 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
23074 file.
23075 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
23076 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
23077 file.
23078 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
23079 New file.
23080 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
23081 file.
23082 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
23083 file.
23084 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
23085 file.
23086 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
23087 file.
23088 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
23089 file.
23090 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23091 New file.
23092 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
23093 file.
23094 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
23095 file.
23096 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
23097 New file.
23098 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
23099 file.
23100 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23101 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
23102 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
23103 file.
23104 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
23105 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
23106 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
23107 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
23108 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
23109 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
23110 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
23111 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
23112 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
23113 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
23114 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
23115 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
23116 file.
23117 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
23118 New file.
23119 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
23120 file.
23121 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
23122 file.
23123 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
23124 file.
23125 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
23126 file.
23127 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
23128 file.
23129 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23130 New file.
23131 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
23132 New file.
23133 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
23134 file.
23135 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
23136 New file.
23137 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
23138 file.
23139 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
23140 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
23141 file.
23142 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
23143 New file.
23144 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
23145 file.
23146 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
23147 file.
23148 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
23149 file.
23150 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
23151 file.
23152 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
23153 file.
23154 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23155 New file.
23156 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
23157 New file.
23158 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
23159 file.
23160 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
23161 New file.
23162 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
23163 file.
23164
41d73a1b
JM
231652012-04-28 Joseph Myers <joseph@codesourcery.com>
23166
23167 * conform/conformtest.pl: Fix typo in handling typed-constant from
23168 allow-header.
23169
28aeeda4
JM
231702012-04-27 Joseph Myers <joseph@codesourcery.com>
23171
adae8f5e
JM
23172 * README: Cut down references to pre-2.6 Linux kernels and
23173 Linuxthreads. Update lists of configurations in libc and ports
23174 and sort alphabetically. Say "or newer" with Linux kernel version
23175 requirements.
23176
28aeeda4
JM
23177 * config.h.in [IS_IN_build]: Allow compiling without optimization.
23178
a462cb63
RA
231792012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23180
23181 [BZ #887]
23182 * math/libm-test.inc (logb_test_downward): New test to expose
23183 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
23184 rounding mode.
23185
6ad3493e
JM
231862012-04-27 Joseph Myers <joseph@codesourcery.com>
23187
23188 [BZ #14027]
23189 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
23190 to be done.
23191 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
23192 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
23193
2ce4f015
JM
231942012-04-26 Joseph Myers <joseph@codesourcery.com>
23195
5aeb141a
JM
23196 * sysdeps/unix/i386/brk.S: Remove file.
23197 * sysdeps/unix/i386/dl-brk.S: Likewise.
23198 * sysdeps/unix/i386/pipe.S: Likewise.
23199 * sysdeps/unix/i386/sigreturn.S: Likewise.
23200 * sysdeps/unix/i386/syscall.S: Likewise.
23201 * sysdeps/unix/i386/vfork.S: Likewise.
23202 * sysdeps/unix/i386/wait.S: Likewise.
23203
7143acae
JM
23204 * sysdeps/unix/common/tcsendbrk.c: Move to ...
23205 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
23206
2ce4f015
JM
23207 * configure.in (arm*-none*): Do not allow without
23208 --enable-hacker-mode.
23209 (netbsd*): Remove case setting base_os.
23210 (386bsd*): Likewise.
23211 (freebsd*): Likewise.
23212 (bsdi*): Likewise.
23213 (osf*): Likewise.
23214 (sunos*): Likewise.
23215 (ultrix*): Likewise.
23216 (newsos*): Likewise.
23217 (dynix*): Likewise.
23218 (*bsd*): Likewise.
23219 (sysv*): Likewise.
23220 (isc*): Likewise.
23221 (esix*): Likewise.
23222 (sco*): Likewise.
23223 (minix*): Likewise.
23224 (irix4*): Likewise.
23225 (irix6*): Likewise.
23226 (solaris[2-9]*): Likewise.
23227 (none): Likewise.
23228 * configure: Regenerated.
23229
0ac229c8
AZ
232302012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23231
23232 [BZ #11521]
23233 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
23234 overflow or cancellation in calculating denominator.
23235 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
23236 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
23237 down expression to avoid unexpected rounding in newer GCCs.
23238 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
23239
33f244f4
DM
232402012-04-26 David S. Miller <davem@davemloft.net>
23241
23242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
23243 long-double compat symbols.
23244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
23248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23249 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
23250 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
23251 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
23252 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
23253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
23254 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
23255 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
23256 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23257
cfa1f3e8
DM
232582012-04-25 David S. Miller <davem@davemloft.net>
23259
23260 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
23261 HWCAP_* values only after the memory barriers have been defined.
23262 (atomic_full_barrier): Define.
23263 (atomic_read_barrier): Define.
23264 (atomic_write_barrier): Define.
23265
6e236b92
SP
232662012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23267
23268 * shlib-versions: Add libgcc_s version information.
23269 * sysdeps/generic/libgcc_s.h: Remove.
23270 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
23271 libgcc_s.h.
23272 * sysdeps/gnu/unwind-resume.c: Likewise.
23273 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
23274
aab39a09
DM
232752012-04-25 David S. Miller <davem@davemloft.net>
23276
23277 * sysdeps/unix/sparc/brk.S: Delete.
23278 * sysdeps/unix/sparc/dl-brk.S: Delete.
23279 * sysdeps/unix/sparc/pipe.S: Delete.
23280 * sysdeps/unix/sparc/sysdep.S: Delete.
23281 * sysdeps/unix/sparc/sysdep.h: Delete.
23282 * sysdeps/unix/sparc/vfork.S: Delete.
23283 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
23284 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
23285 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
23286 ret_ERRVAL, r0, r1, MOVE): Define.
23287 (JUMPTARGET): Remove.
23288 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
23289 sysdeps/unix/sparc/sysdep.h
23290 (ENTRY, END): Remove.
23291 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23292
a3cc4f48
JM
232932012-04-25 Joseph Myers <joseph@codesourcery.com>
23294
2ed8cda2
JM
23295 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
23296 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
23297 -DIS_IN_build.
23298
35d76d59
JM
23299 * timezone/README: Update upstream location and email address for
23300 tzcode and tzdata.
23301 * timezone/zdump.c: Update from tzcode 2012b.
23302 * timezone/zic.c: Likewise.
23303
a3cc4f48
JM
23304 * configure.in (libc_cv_as_needed): Remove test.
23305 * configure: Regenerated.
23306 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
23307 conditional definition.
23308 [$(have-as-needed) != yes] (no-as-needed): Likewise.
23309 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
23310 * config.make.in (have-as-needed): Remove variable.
23311
ceab42c3
SP
233122012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23313 Paul Pluzhnikov <ppluzhnikov@google.com>
23314
23315 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
23316 strings correctly.
23317
3ce2865f
CLT
233182012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
23319
23320 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
23321 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
23322 * sysdeps/sh/strlen.S: Likewise.
23323
f37e0d68
JM
233242012-04-24 Joseph Myers <joseph@codesourcery.com>
23325
ae186e9a
JM
23326 * sysdeps/unix/fork.S: Remove file.
23327 * sysdeps/unix/i386/fork.S: Likewise.
23328 * sysdeps/unix/sparc/fork.S: Likewise.
23329
b96914af
JM
23330 * sysdeps/unix/system.c: Remove file.
23331 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
23332
f37e0d68
JM
23333 * sysdeps/unix/getegid.S: Remove file.
23334 * sysdeps/unix/geteuid.S: Likewise.
23335
87ef29ca
RM
233362012-04-24 Roland McGrath <roland@hack.frob.com>
23337
83bcd236
RM
23338 * scripts/check-localplt.awk: New file.
23339 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
23340 of diff.
23341 * scripts/data/localplt-generic.data: Add a comment.
23342
87ef29ca
RM
23343 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
23344 NODE when __dir_mkfile failed.
23345 * sysdeps/mach/hurd/symlinkat.c: Likewise.
23346 Reported by Ludovic Courtès <ludo@gnu.org>.
23347
e5a6e567
AJ
233482012-04-24 Andreas Jaeger <aj@suse.de>
23349
23350 * Makerules (common-clean): Also remove gen-as-const-headers
23351 files.
23352
c1820385
JM
233532012-04-24 Joseph Myers <joseph@codesourcery.com>
23354
23355 * Makerules (native-compile): Do not change working directory for
23356 build. Use $(OUTPUT_OPTION) in command.
23357 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
23358
94e02fc4
AZ
233592012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23360
23361 [BZ #13886]
23362 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
23363 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
23364 * math/libm-test.inc (floor_test): Add more tests.
23365 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
23366
3a533ca3
JM
233672012-04-24 Joseph Myers <joseph@codesourcery.com>
23368
940ab4b3
JM
23369 * sysdeps/unix/getdents.c: Remove file.
23370 * sysdeps/unix/sysv/getdents.c: Likewise.
23371 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
23372
90e037bd
JM
23373 * sysdeps/unix/syscalls.list (madvise): Add syscall from
23374 sysdeps/unix/mman/syscalls.list.
23375 (mmap): Likewise.
23376 (mprotect): Likewise.
23377 (msync): Likewise.
23378 (munmap): Likewise.
23379 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
23380 * sysdeps/unix/mman/syscalls.list: Remove.
23381 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
23382
3a533ca3
JM
23383 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
23384 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
23385 * configure: Regenerated.
23386 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
23387 $(libgcc_s_suffix).
23388 * config.make.in (libgcc_s_suffix): Remove variable.
23389
1ad743de
JM
233902012-04-23 Joseph Myers <joseph@codesourcery.com>
23391
4ad451e2
JM
23392 * sysdeps/unix/sysv/gethostname.c: Move to ...
23393 * sysdeps/posix/gethostname.c: ... here.
23394
5e37ce39
JM
23395 * sysdeps/unix/execve.S: Remove file.
23396
1ad743de
JM
23397 * sysdeps/unix/_exit.S: Remove file.
23398
4e681b5b
AJ
233992012-04-23 Andreas Jaeger <aj@suse.de>
23400
23401 [BZ #13739]
23402 * manual/Makefile: Remove make dist support, there's no
23403 need for a stand-alone documentation tar ball.
23404 (TEXI2DVI): Define always, it's not in Makeconfig.
23405 (dist): Removed.
23406 (tar-it): Removed.
23407 (edition): Removed.
23408 (glibc-doc-$(edition).tar): Removed
23409 (%.Z): Removed.
23410 (%.gz): Removed.
23411 (%.uu): Removed.
23412 (ETAGS): Remove, it's in Makeconfig.
23413 (move-if-change): Remove, it's in Makeconfig.
23414
38686a03 234152012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
23416
23417 [BZ #13970]
23418 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
23419 (strtod, strtof, strtold, strtol, strtoul, strtoq)
23420 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
23421 (strtod_l, strtof_l, strtold_l): Remove __wur.
23422 It is not necessarily an error to ignore strtol's return value.
23423 One can reliably look at the stored endptr to decide whether
23424 the number had valid syntax.
23425
7c0616fa
AJ
234262012-04-21 Andreas Jaeger <aj@suse.de>
23427
803cb6b7 23428 [BZ #13739]
7c0616fa
AJ
23429 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
23430
b0fe253f
JM
234312012-04-21 Joseph Myers <joseph@codesourcery.com>
23432
23433 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
23434 * sysdeps/unix/sysv/Versions: Remove file.
23435
8280f22d
MT
234362012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
23437
23438 [BZ #13927]
23439 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23440
75ce411f 234412012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
23442
23443 [BZ #7064]
23444 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
23445 version from __vm86.
23446
097d59fa
JM
234472012-04-20 Joseph Myers <joseph@codesourcery.com>
23448
a90f3bcb
JM
23449 * sysdeps/unix/common/lxstat.c: Remove file.
23450 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
23451
edc7ea78
JM
23452 * sysdeps/unix/sysv/Makefile: Remove file.
23453
cb78c221
JM
23454 * sysdeps/unix/sysv/direct.h: Remove file.
23455
efa6a45f
JM
23456 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
23457 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
23458 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
23459 * sysdeps/unix/sysv/bits/signum.h: Likewise.
23460 * sysdeps/unix/sysv/bits/stat.h: Likewise.
23461 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
23462 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
23463
9c9f2d0c
JM
23464 * sysdeps/unix/sysv/setrlimit.c: Remove file.
23465
4541c83b
JM
23466 * sysdeps/unix/xmknod.c: Remove file.
23467 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
23468
f5d153a0
JM
23469 * sysdeps/unix/sysv/settimeofday.c: Remove file.
23470
aa746595
JM
23471 * sysdeps/unix/sysv/i386/time.S: Remove file.
23472
cce5905e
JM
23473 * sysdeps/unix/fxstat.c: Remove file.
23474 * sysdeps/unix/xstat.c: Likewise.
23475 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
23476
37fa3841
JM
23477 * sysdeps/unix/sysv/sigaction.c: Remove file.
23478
ff1962a3
JM
23479 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
23480 (sysdep_headers): Remove variable.
23481 [termio.h not in sysdep_headers] (generated): Likewise.
23482 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
23483 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
23484 * sysdeps/unix/sysv/tcdrain.c: Likewise.
23485 * sysdeps/unix/sysv/tcflow.c: Likewise.
23486 * sysdeps/unix/sysv/tcflush.c: Likewise.
23487 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
23488 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
23489 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
23490 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
23491 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
23492
e7740d31
JM
23493 * sysdeps/unix/siglist.c: Remove file.
23494
ee06f18b
JM
23495 * sysdeps/unix/getppid.S: Remove file.
23496
097d59fa
JM
23497 * sysdeps/unix/mkdir.c: Remove file.
23498 * sysdeps/unix/rmdir.c: Likewise.
23499
ff3d51ec
AS
235002012-04-19 Andreas Schwab <schwab@linux-m68k.org>
23501
23502 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
23503 ERR_MAX value.
23504 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
23505 errlist-compat value.
23506
50f81fd7
DM
235072012-04-18 David S. Miller <davem@davemloft.net>
23508
23509 * sysdeps/generic/memcopy.h (reg_char): Delete.
23510 * debug/strcat_chk.c: Use char, not reg_char.
23511 * debug/strcpy_chk.c: Likewise.
23512 * debug/strncat_chk.c: Likewise.
23513 * debug/strncpy_chk.c: Likewise.
23514 * string/memchr.c: Likewise.
23515 * string/memrchr.c: Likewise.
23516 * string/rawmemchr.c: Likewise.
23517 * string/strcat.c: Likewise.
23518 * string/strchr.c: Likewise.
23519 * string/strchrnul.c: Likewise.
23520 * string/strcmp.c: Likewise.
23521 * string/strcpy.c: Likewise.
23522 * string/strncat.c: Likewise.
23523 * string/strncmp.c: Likewise.
23524 * string/strncpy.c: Likewise.
23525
8ff41c46
WS
235262012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23527
23528 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
23529 __builtin_memcopy is called when src and dest ranges are known to not
23530 overlap.
23531
6b652f46
WS
235322012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23533
23534 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
23535 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
23536 fwd_align_merge macro call.
23537 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
23538 bwd_align_merge macro call.
23539 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23540
b282631e
WS
235412012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23542
23543 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
23544 bwd_align_merge macros.
23545 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
23546 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
23547 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23548
95aa737c
DM
235492012-04-18 David S. Miller <davem@davemloft.net>
23550
23551 * sysdeps/sparc/sparc64/memcopy.h: Delete.
23552
7a99a614
AJ
235532012-04-18 Andreas Jaeger <aj@suse.de>
23554
23555 [BZ# 6794]
23556 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
23557 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
23558 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23559
23560 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
23561 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
23562 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23563
23564 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
23565 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
23566 Adjust for changed ldbl-128 files.
23567
23568 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
23569 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
23570 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23571
e5270c23
DM
235722012-04-17 David S. Miller <davem@davemloft.net>
23573
23574 * sysdeps/sparc/sparc32/memcopy.h: Delete.
23575
fb5e92c9
AS
235762012-04-17 Andreas Schwab <schwab@linux-m68k.org>
23577
23578 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
23579 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
23580 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
23581 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
23582 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23583 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
23584
76da7265
AZ
235852012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23586
23587 [BZ #6794]
23588 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
23589 * math/libm-test.inc: Add ilogb errno and exception tests.
23590 * math/w_ilogb.c: New file: ilogb wrapper.
23591 * math/w_ilogbf.c: New file: ilogbf wrapper.
23592 * math/w_ilogbl.c: New file: ilogbl wrapper.
23593 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
23594 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
23595 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
23596 exception being thrown with 0.0 as argument.
23597 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
23598 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
23599 exception being thrown with 0.0 as argument.
23600 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
23601 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23602 exception being thrown with 0.0 as argument.
23603 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
23604 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23605 exception being thrown with 0.0 as argument.
23606 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
23607 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 23608 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
23609 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
23610 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
23611 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
23612 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
23613 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
23614 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
23615
0396e69d
PB
236162012-04-17 Petr Baudis <pasky@ucw.cz>
23617
23618 * include/sys/uio.h: Change __vector to __iovec to avoid clash
23619 with altivec.
23620
750b5926
MP
236212012-04-16 Marek Polacek <polacek@redhat.com>
23622
23623 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
23624
751728a1
MP
236252012-04-16 Marek Polacek <polacek@redhat.com>
23626
23627 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
23628 operands of fdivp instruction.
23629
34a27407
L
236302012-04-13 H.J. Lu <hongjiu.lu@intel.com>
23631
23632 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
23633 * elf/tst-auditmod3b.c: Likewise.
23634 * elf/tst-auditmod4b.c: Likewise.
23635 * elf/tst-auditmod5b.c: Likewise.
23636 * elf/tst-auditmod6b.c: Likewise.
23637 * elf/tst-auditmod6c.c: Likewise.
23638 * elf/tst-auditmod7b.c: Likewise.
23639 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
23640 * sysdeps/x86_64/preconfigure.in: Likewise.
23641 * sysdeps/x86_64/preconfigure: Regenerated.
23642
7e73e17d
L
236432012-04-13 H.J. Lu <hongjiu.lu@intel.com>
23644
23645 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
23646 __ILP32__.
23647
c7a6ab72
AB
236482012-04-13 Antoine Balestrat <merkil33@gmail.com>
23649
23650 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23651 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
23652
a9e8e0e0
CL
236532012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
23654
23655 [BZ #13973]
23656 * locale/iso-639.def: Fix gl language name. Spotted by
23657 Yaron Shahrabani.
23658
ec98af7d
RM
236592012-04-12 Roland McGrath <roland@hack.frob.com>
23660
23661 [BZ #2074]
23662 * libio/libio.h (__io_write_fn): Update comment.
23663
247c3ede
PB
236642012-04-12 Petr Baudis <pasky@ucw.cz>
23665
23666 [BZ #2074]
23667 * stdio.texi (Hook Functions): The user provided writer function
23668 is not allowed to return -1.
23669
55939d6d
DM
236702012-04-11 David S. Miller <davem@davemloft.net>
23671
23672 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23673
90020f5a
MF
236742012-04-11 Mike Frysinger <vapier@gentoo.org>
23675
23676 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
23677 Add a leading slash to rtkaio.
23678
288f9098
JM
236792012-04-11 Jim Meyering <meyering@redhat.com>
23680
90020f5a
MF
23681 [BZ #11959]
23682 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
23683 It is not necessarily an error to ignore fwrite's return
23684 value. One can reliably use ferror to test for errors after
23685 the fact.
288f9098 23686
4be2b570
L
236872012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23688
23689 * bits/types.h (__snseconds_t): New type.
23690 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
23691
23692 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
23693 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23694 (__SNSECONDS_T_TYPE): Likewise.
23695 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23696 (__SNSECONDS_T_TYPE): Likewise.
23697 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23698 (__SNSECONDS_T_TYPE): Likewise.
23699
288f9098 237002012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
23701
23702 [BZ #2636]
23703 * manual/time.texi (Processor Time): Return type of times is
23704 elapsed real time since an arbitrary point in the past.
23705 (CPU Time): Move CLK_TCK from here...
23706 (Processor Time): ...to here. Correct description.
23707 * manual/conf.texi (Constants for Sysconf): Correct description of
23708 _SC_CLK_TCK.
23709
d7dd4413
DM
237102012-04-10 David S. Miller <davem@davemloft.net>
23711
23712 [BZ #13967]
23713 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
23714 where the is a gap between DT_REL(A) and DT_JMPREL.
23715
b46068fc
L
237162012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23717
23718 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
23719 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23720 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23721
73d65cc3
SP
237222012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23723
23724 * elf/dl-support.c (_dl_inhibit_cache): New variable.
23725 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
23726 (dl_main): Handle --inhibit-cache.
23727 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
23728 _dl_inhibit_cache.
23729 * elf/dl-load.c (_dl_map_object): Use it.
23730 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
23731
bcc8d661
JM
237322012-04-09 Joseph Myers <joseph@codesourcery.com>
23733
8f9a2fae
JM
23734 [BZ #13872]
23735 * sysdeps/i386/fpu/e_powl.S (p78): New object.
23736 (__ieee754_powl): Saturate large exponents rather than testing for
23737 overflow of y*log2(x).
23738 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23739 * math/libm-test.inc (pow_test): Do not permit spurious overflow
23740 exceptions.
23741
bcc8d661
JM
23742 [BZ #11521]
23743 * math/s_ctan.c: Include <float.h>.
23744 (__ctan): Avoid internal overflow or cancellation in calculating
23745 denominator.
23746 * math/s_ctanf.c: Likewise.
23747 * math/s_ctanl.c: Likewise.
23748 * math/s_ctanh.c: Likewise.
23749 * math/s_ctanhf.c: Likewise.
23750 * math/s_ctanhl.c: Likewise.
23751 * math/libm-test.inc (ctan_test): Add more tests.
23752 (ctanh_test): Likewise.
23753 * sysdeps/i386/fpu/libm-test-ulps: Update.
23754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23755
823fbbb4
AJ
237562012-04-09 Andreas Jaeger <aj@suse.de>
23757
03879793
AJ
23758 [BZ #6894]
23759 * manual/filesys.texi (Directory Entries): Mention that d_namlen
23760 is an optional BSD extension.
23761
823fbbb4
AJ
23762 [BZ #10254]
23763 * manual/stdio.texi (Opening Streams): Document additional fopen
23764 parameters.
23765
8de131cb
RM
237662012-04-09 Roland McGrath <roland@hack.frob.com>
23767
23768 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
23769 %eax without telling the compiler.
23770
c0ed9d7d
CD
237712012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
23772
23773 [BZ # 13963]
23774 * manual/install.texi: Use sourceware.org.
23775
c483f6b4
JM
237762012-04-09 Joseph Myers <joseph@codesourcery.com>
23777
d7dd9453
JM
23778 [BZ #13873]
23779 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
23780 (__ieee754_pow): Generate overflow and underflow using huge*huge
23781 and tiny*tiny rather than just returning constant infinity or zero
23782 for large exponents.
23783 * math/libm-test.inc (pow_test): Require overflow exceptions for
23784 applicable cases of large exponents.
23785
c483f6b4
JM
23786 [BZ #706]
23787 * sysdeps/i386/fpu/e_pow.S (p10): New object.
23788 (__ieee754_pow): Use iterative multiplication algorithm only for
23789 integer exponents with absolute value below 1024. Check for odd
23790 integer exponents when using algorithm for real exponents.
23791 * math/libm-test.inc (pow_test): Add more tests.
23792 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23793
d2de7579
JM
237942012-04-08 Joseph Myers <joseph@codesourcery.com>
23795
23796 [BZ #13705]
23797 * math/libm-test.inc (exp_test): Do not allow overflow exception
23798 on underflow test.
23799
f77f1232
AJ
238002012-04-08 Aurelien Jarno <aurelien@aurel32.net>
23801
23802 [BZ #13705]
23803 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
23804 instead of __kernel_standard_f.
23805
3884932b
MF
238062012-04-08 Mike Frysinger <vapier@gentoo.org>
23807
23808 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
23809 * sysdeps/x86_64/memset_chk.S: Likewise.
23810
54472e9c
AJ
238112012-04-08 Andreas Jaeger <aj@suse.de>
23812
6ab0fbfc
AJ
23813 [BZ #10153]
23814 * manual/startup.texi (Environment Access): Describe return value
23815 for putenv and setenv.
23816
61efba8c
AJ
23817 [BZ #6895]
23818 * manual/filesys.texi (Directory Entries): Add description for
23819 DT_LNK.
23820
95c3f29a
AJ
23821 [BZ #6890]
23822 * manual/filesys.texi (Directory Entries): Clarify that it's file
23823 system not operating system in the description of DT_UNKNOWN.
23824
54472e9c
AJ
23825 [BZ #6578]
23826 * manual/syslog.texi (closelog): Fix reference, it's openlog.
23827
624254b1
SC
238282012-04-08 Stephen Compall <s11@member.fsf.org>
23829
23830 [BZ #6649]
23831 * manual/llio.texi (Opening and Closing Files): Add cross
23832 reference to explain mode argument.
23833
1e4920e0
MF
238342012-04-07 Mike Frysinger <vapier@gentoo.org>
23835
23836 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
23837 * sysdeps/x86_64/memset_chk.S: Likewise.
23838
5ed848f3
DM
238392012-04-07 David S. Miller <davem@davemloft.net>
23840
23841 * elf/elf.h (R_SPARC_WDISP10): Define.
23842 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
23843 R_SPARC_SIZE32.
23844 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
23845 R_SPARC_SIZE64 and R_SPARC_H34.
23846
96154cd8
CD
238472012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
23848
23849 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
23850 conditions and remove no longer applicable assertion.
23851
9904dc47
L
238522012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23853
23854 * bits/byteswap.h: Include <features.h>.
23855 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23856 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23857
f8887d0a
L
238582012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23859
23860 * bits/byteswap.h (__bswap_16): Removed.
23861 Include <bits/byteswap-16.h> to get __bswap_16.
23862 * sysdeps/i386/bits/byteswap.h: Likewise.
23863 * sysdeps/s390/bits/byteswap.h: Likewise.
23864 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23865 * bits/byteswap-16.h: New file.
23866 * sysdeps/i386/bits/byteswap-16.h: Likewise.
23867 * sysdeps/s390/bits/byteswap-16.h: Likewise.
23868 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
23869 * string/Makefile (headers): Add bits/byteswap-16.h.
23870
62470f60
PP
238712012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23872
23873 [BZ #13895]
23874 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
23875 extra indirection.
23876 * nss/Makefile (tests-static, tests): Add tst-nss-static.
23877 * nss/tst-nss-static.c: New.
23878
4dad7bab
RM
238792012-04-06 Robert Millan <rmh@gnu.org>
23880
23881 [BZ #6486]
23882 * manual/llio.texi (File Position Primitive): lseek
23883 refers to WHENCE when it really means OFFSET.
23884
e9142a17
AJ
238852012-04-06 Andreas Jaeger <aj@suse.de>
23886
2c040eff
AJ
23887 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
23888 strncmp declarations.
23889
e9142a17
AJ
23890 * abilist/libc.abilist: Add __poll and __ppoll.
23891
ff9f1c5f
DM
238922012-04-05 David S. Miller <davem@davemloft.net>
23893
dcd2ae90
DM
23894 * scripts/check-local-headers.sh: Accept a host triplet in the
23895 path matched by the exclude regexp.
23896
993eb054
DM
23897 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
23898 definition.
23899 * sysdeps/powerpc/powerpc32/dl-machine.h
23900 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
23901 * sysdeps/s390/s390-32/dl-machine.h
23902 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23903 * sysdeps/sparc/sparc32/dl-machine.h
23904 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23905 * sysdeps/sparc/sparc64/dl-machine.h
23906 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23907
ff9f1c5f
DM
23908 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
23909 lazy binding.
48e2e132 23910 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
23911 undefined symbol errors.
23912
48e2e132 23913 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
23914 DT_NEEDED entries.
23915
e80d6f94
MM
239162012-04-05 Michael Matz <matz@suse.de>
23917
23918 [BZ #13592]
23919 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
23920
349fa79f
AJ
239212012-04-05 Andreas Jaeger <aj@suse.de>
23922
23923 [BZ #13908]
23924 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
23925 comment.
23926
f402708f
KK
239272012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23928
23929 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
23930 which ROUND is no valid rounding mode.
23931
2ecccfc9
KK
239322012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23933
23934 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
23935 read again.
23936 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
23937
8a53f50f
KK
239382012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23939
23940 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
23941 an exception using FPU order intentionally.
23942
239432012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23944
23945 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
23946 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
23947 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
23948 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
23949
d653abb7
SJ
239502012-04-05 Simon Josefsson <simon@josefsson.org>
23951
23952 [BZ #12340]
23953 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
23954 EINVAL when BUFLEN is too smal.
23955
c3b1bf7d
TS
239562012-04-05 Thomas Schwinge <thomas@codesourcery.com>
23957
23958 [BZ #13553]
23959 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
23960 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
23961
b1aa60f3
AJ
239622012-04-03 Andreas Jaeger <aj@suse.de>
23963
c3b1bf7d 23964 [BZ #13938]
67f60a26
AJ
23965 * manual/setjmp.texi (System V contexts): Fix sentence.
23966
b1aa60f3
AJ
23967 [BZ #13926]
23968 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
23969 New macro for this case.
23970 [!__GNUC__] (__bswap_64): New inline function for this case.
23971 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23972 * bits/byteswap.h: Likewise.
23973 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
23974 ull, guard with __GLIBC_HAVE_LONG_LONG.
23975
23976 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
23977 __GLIBC_HAVE_LONG_LONG.
23978
23979 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
23980 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
23981
39c59c35
TMQMF
239822012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23983
23984 [BZ #13691]
23985 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
23986 inptr and inend, rather than using last_ch.
23987
135ffda8
DM
239882012-04-02 David S. Miller <davem@davemloft.net>
23989
23990 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
23991 * stdio-common/printf-parse.h (read_int): Change return type to
23992 'int', return -1 on INT_MAX overflow.
23993 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
23994 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
23995 overflows INT_MAX. Check for overflow of in-format-string precision
23996 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
23997 SIZE_MAX not INT_MAX for integer overflow test.
23998 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
23999 skip the construct in the format string but do not record anything.
24000 * stdio-common/bug22.c: Adjust to test both width/prevision
24001 INT_MAX overflow as well as total length INT_MAX overflow. Check
24002 explicitly for proper errno values.
24003
228c019e
TS
240042012-04-02 Thomas Schwinge <thomas@codesourcery.com>
24005
302cadd3
TS
24006 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
24007 CHAR_MAX.
24008 * string/test-strcmp.c [! WIDE]: Likewise.
24009 * time/tst-mktime2.c: Likewise for INT_MAX.
24010 * string/test-string.h: #include <sys/param.h> for MIN.
24011
228c019e
TS
24012 * csu/init-first.c (__libc_init_first): Call __ctype_init.
24013 * sysdeps/i386/init-first.c (init): Likewise.
24014 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
24015 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
24016 * sysdeps/sh/init-first.c (init): Likewise.
24017
cfa633f5
UD
240182012-04-01 Ulrich Drepper <drepper@gmail.com>
24019
24020 * po/ru.po: Update from translation team.
d1635ef8 24021 * po/vi.po: Likewise.
cfa633f5 24022
6cd0a5ea
SP
240232012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
24024
24025 * resolv/nss_dns/dns-host.c: Merge copyright years.
24026
4b43400f
LD
240272012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24028
24029 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
24030 Optimize memcpy with prefetch if
24031 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
24032 src, dst pointers have unequal 16 byte alignments.
24033
48c41d04
SP
240342012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
24035
24036 [BZ #13928]
24037 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
24038 from a CNAME entry and return the minimum ttl for the query.
24039 (gaih_getanswer_slice): Likewise.
24040
b8dc394d
JL
240412012-03-30 Jeff Law <law@redhat.com>
24042
24043 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
24044 due to long keys.
24045 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
24046 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
24047
2f5a5ed0
JL
24048 * resolv/nss_dns/dns-host.c: Update copyright year.
24049
1d39e359
UD
240502012-03-30 Ulrich Drepper <drepper@gmail.com>
24051
c030f70c 24052 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 24053 requests to save a system call. Fix check that all bytes are sent.
c030f70c 24054
1d39e359
UD
24055 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
24056 comments for sendmmsg.
24057
240582012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
24059
24060 [BZ #13691]
24061 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
24062 with only 1 character between 0x0041 and 0x01b0.
24063 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
24064 * wcsmbs/tst-mbsnrtowcs.c: New file.
24065
20fde227
DM
240662012-03-29 David S. Miller <davem@davemloft.net>
24067
24068 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
24069 small copies by hand.
24070
984a4237
JL
240712012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24072
24073 [BZ #13761]
24074 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
24075 _nss_compat_initgroups_dyn): Fall back to malloc/free
24076 for large group memberships.
24077
18c9d62b
DM
240782012-03-28 David S. Miller <davem@davemloft.net>
24079
88d85d4f
DM
24080 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
24081 that branches into memcpy.
24082 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24083 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
24084 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24085 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
24086 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
24087 bits.
24088 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
24089 implementation too.
24090 * sysdeps/sparc/mempcpy.S: New file.
24091
e5aa83e1
DM
24092 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
24093 the IFUNC routine in the libc case.
24094 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24095
88570753
DM
24096 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
24097 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
24098 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
24099 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
24100 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
24101 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
24102 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
24103 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
24104
249d7567
DM
24105 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
24106 loop to 256 bytes instead of 64 bytes and fix test signedness.
24107
18c9d62b
DM
24108 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
24109 * sysdeps/sparc/sparc32/Makefile: rather than here...
24110 * sysdeps/sparc/sparc64/Makefile: and here.
24111
05f3d1f6
UD
241122012-03-28 Ulrich Drepper <drepper@gmail.com>
24113
24114 * malloc/mallocbug.c: Avoid warnings about unused variables.
24115
86ae07a8
JL
241162012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24117
24118 [BZ #13760]
24119 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
24120 in the right place. Discard and retry query if response is
24121 larger than input buffer size.
24122
41bf21a1
JM
241232012-03-28 Joseph Myers <joseph@codesourcery.com>
24124
d6270972
JM
24125 [BZ #369]
24126 [BZ #2678]
24127 [BZ #3866]
24128 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
24129 x for large integer exponent.
24130 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
24131 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
24132 sign of result as needed afterwards.
24133 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
24134 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
24135 result for underflowing pow the same as for overflow.
24136 (__kernel_standard_l): Handle powl overflow and underflow here
24137 rather than calling __kernel_standard.
24138 * math/libm-test.inc (pow_test): Add more tests.
24139
414fca03 24140 [BZ #3868]
41bf21a1
JM
24141 [BZ #13879]
24142 [BZ #13910]
24143 [BZ #13911]
24144 [BZ #13912]
24145 [BZ #13913]
24146 [BZ #13915]
24147 [BZ #13916]
24148 [BZ #13917]
24149 [BZ #13918]
24150 [BZ #13919]
24151 [BZ #13920]
24152 [BZ #13921]
24153 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
24154 * sysdeps/ieee754/k_standard.c: Include <float.h>.
24155 (__kernel_standard_l): New function.
24156 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
24157 __kernel_standard.
24158 * math/w_acosl.c (__acosl): Likewise.
24159 * math/w_asinl.c (__asinl): Likewise.
24160 * math/w_atan2l.c (__atan2l): Likewise.
24161 * math/w_atanhl.c (__atanhl): Likewise.
24162 * math/w_coshl.c (__coshl): Likewise.
24163 * math/w_exp10l.c (__exp10l): Likewise.
24164 * math/w_exp2l.c (__exp2l): Likewise.
24165 * math/w_fmodl.c (__fmodl): Likewise.
24166 * math/w_hypotl.c (__hypotl): Likewise.
24167 * math/w_j0l.c (__j0l, __y0l): Likewise.
24168 * math/w_j1l.c (__j1l, __y1l): Likewise.
24169 * math/w_jnl.c (__jnl, __ynl): Likewise.
24170 * math/w_lgammal.c (__lgammal): Likewise.
24171 * math/w_log10l.c (__log10l): Likewise.
24172 * math/w_log2l.c (__log2l): Likewise.
24173 * math/w_logl.c (__logl): Likewise.
24174 * math/w_powl.c (__powl): Likewise.
24175 * math/w_remainderl.c (__remainderl): Likewise.
24176 * math/w_scalbl.c (sysv_scalbl): Likewise.
24177 * math/w_sinhl.c (__sinhl): Likewise.
24178 * math/w_sqrtl.c (__sqrtl): Likewise.
24179 * math/w_tgammal.c (__tgammal): Likewise.
24180 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
24181 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
24182 * math/libm-test.inc (acos_test): Add more tests.
24183 (acosh_test): Likewise.
24184 (asin_test): Likewise.
24185 (atanh_test): Likewise.
24186 (exp_test): Likewise.
24187 (exp10_test): Likewise.
24188 (exp2_test): Likewise.
24189 (expm1_test): Likewise.
24190 (lgamma_test): Likewise.
24191 (log_test): Likewise.
24192 (log10_test): Likewise.
24193 (log1p_test): Likewise.
24194 (log2_test): Likewise.
24195 (pow_test): Do not allow some spurious overflow exceptions.
24196 (sqrt_test): Add more tests.
24197 (tgamma_test): Likewise.
24198 (y0_test): Likewise.
24199 (y1_test): Likewise.
24200 (yn_test): Likewise.
24201
dd62fda6
AB
242022012-03-27 Anton Blanchard <anton@samba.org>
24203
24204 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
24205 MAP_HUGETLB.
24206 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24207 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24208 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24209
1e3cdfda
AJ
242102012-03-27 David S. Miller <davem@davemloft.net>
24211
b855ab85
DM
24212 * conform/Makefile: Run run-conformtest.sh using $(BASH).
24213
1e3cdfda
AJ
24214 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
24215 have-as-vis3 check.
24216
242172012-03-27 Andreas Jaeger <aj@suse.de>
24218
24219 * sysdeps/x86_64/elf/configure.in: Moved to ...
24220 * sysdeps/x86_64/configure.in: ... here.
24221 * sysdeps/x86_64/elf/start.S: Moved to ...
24222 * sysdeps/x86_64/start.S: ... here.
24223 * sysdeps/x86_64/elf/configure: Delete.
24224
24225 * sysdeps/x86_64/configure.in: Merge contents from
24226 sysdeps/i386/configure.in (without i686 check).
24227
24228 * sysdeps/i386/elf/Versions: Merge into ...
24229 * sysdeps/i386/Versions: ... this.
24230 * sysdeps/i386/elf/Versions: Delete file.
24231 * sysdeps/i386/elf/start.S: Moved to ...
24232 * sysdeps/i386/start.S: ...here.
24233 * sysdeps/i386/elf/configure.in: Merge into...
24234 * sysdeps/i386/configure.in: ...here.
24235 * sysdeps/i386/elf/configure.in: Delete file.
24236 * sysdeps/i386/elf/configure: Delete file.
24237
24238 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
24239 * debug/backtracesyms.c: ... here.
24240 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
24241 * debug/backtracesymsfd.c: ... here.
24242 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
24243 * sysdeps/generic/ifunc-sel.h: ... here.
24244
24245 * sysdeps/unix/i386/start.c: Delete file.
24246 * sysdeps/unix/sparc/start.c: Delete file.
24247 * sysdeps/unix/start.c: Delete file.
24248
24249 * sysdeps/sh/elf/configure.in: Moved to ...
24250 * sysdeps/sh/configure.in: ... here.
24251 * sysdeps/sh/elf/start.S: Moved to ...
24252 * sysdeps/sh/start.S: ... here.
24253 * sysdeps/sh/elf/configure: Delete file.
24254
24255 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
24256 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
24257 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
24258 * sysdeps/powerpc/powerpc64/entry.h: ... here.
24259 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
24260 * sysdeps/powerpc/powerpc64/start.S: here.
24261 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
24262 * sysdeps/powerpc/powerpc64/Makefile: ... this.
24263 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
24264 * sysdeps/powerpc/powerpc64/configure.in: ... this.
24265 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
24266
24267 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
24268 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
24269 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
24270 * sysdeps/powerpc/powerpc32/start.S: ... here.
24271 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
24272 * sysdeps/powerpc/powerpc32/configure.in: ... this.
24273 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
24274
24275 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
24276 * sysdeps/powerpc/ifunc-sel.h: ... here.
24277 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
24278 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
24279
24280 * sysdeps/sparc/elf/configure.in: Moved to ...
24281 * sysdeps/sparc/configure.in: ... here.
24282 * sysdeps/sparc/elf/configure: Delete file.
24283 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
24284 * sysdeps/sparc/sparc32/start.S: ... here.
24285 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
24286 * sysdeps/sparc/sparc64/start.S: ... here.
24287 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
24288 * sysdeps/sparc/sparc32/Makefile: ... this.
24289 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
24290 * sysdeps/sparc/sparc64/Makefile: ... this.
24291
24292 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
24293 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
24294 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
24295 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
24296 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
24297 * sysdeps/s390/s390-32/setjmp.S: ... here.
24298 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
24299 * sysdeps/s390/s390-32/configure.in: ... here.
24300 * sysdeps/s390/s390-32/elf/configure: Delete file.
24301 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
24302 * sysdeps/s390/s390-32/start.S: ... here.
24303
24304 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
24305 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
24306 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
24307 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
24308 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
24309 * sysdeps/s390/s390-64/setjmp.S: ... here.
24310 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
24311 * sysdeps/s390/s390-64/configure.in: ... here
24312 * sysdeps/s390/s390-64/elf/configure: Delete file.
24313 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
24314 * sysdeps/s390/s390-64/start.S: ... here.
24315 * sysdeps/s390/s390-64/elf/configure: Delete.
24316
24317 * configure.in: Remove support for elf directories in sysdeps.
24318
24319 * configure: Regenerated.
24320 * sysdeps/i386/configure: Regenerated.
24321 * sysdeps/powerpc/powerpc32/configure: Regenerated.
24322 * sysdeps/powerpc/powerpc64/configure: Regenerated.
24323 * sysdeps/s390/s390-32/configure: Regenerated.
24324 * sysdeps/s390/s390-64/configure: Regenerated.
24325 * sysdeps/sh/configure: Regenerated.
24326 * sysdeps/sparc/configure: Regenerated.
24327 * sysdeps/x86_64/configure: Regenerated.
24328
a3f61311
AS
243292012-03-26 Andreas Schwab <schwab@linux-m68k.org>
24330
c876e002
AS
24331 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24332
a3f61311
AS
24333 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
24334 denormal result into account.
24335
ac4c54f0
RM
243362012-03-25 Roland McGrath <roland@hack.frob.com>
24337
24338 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
24339 Reported by Allan McRae <allan@archlinux.org>.
24340
6a9b9c02
JL
243412012-03-23 Jeff Law <law@redhat.com>
24342
24343 * nss/getnssent.c (__nss_getent): Fix typo.
24344
4c42a0c1
DM
243452012-03-23 David S. Miller <davem@davemloft.net>
24346
24347 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24348
1532c7ac
L
243492012-03-23 H.J. Lu <hongjiu.lu@intel.com>
24350
24351 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
24352 to pad to uint64_t for each field.
24353 (dl_tls_index): Replace unsigned long with uint64_t.
24354
3ff42526
PP
243552012-03-23 Daniel Jacobowitz <dmj@google.com>
24356 Paul Pluzhnikov <ppluzhnikov@google.com>
24357
24358 [BZ #6528]
24359 * grp/Makefile (otherlibs): Don't set it.
24360 * inet/Makefile (otherlibs): Likewise.
24361 * login/Makefile (otherlibs): Likewise.
24362 * nscd/Makefile (otherlibs): Likewise.
24363 * posix/Makefile (otherlibs): Likewise.
24364 * pwd/Makefile (otherlibs): Likewise.
24365 * rt/Makefile (otherlibs): Likewise.
24366 * sunrpc/Makefile (otherlibs): Likewise.
24367 * nss/Makefile (otherlibs): Likewise.
24368 Add libnss_files to routines and static-only-routines.
24369 ($(objpfx)getent): Remove rule.
24370 * resolv/Makefile: Add libnss_dns and libresolv to routines and
24371 static-only-routines.
24372
7c69cd14
JM
243732012-03-22 Joseph Myers <joseph@codesourcery.com>
24374
24375 [BZ #13892]
24376 * math/s_cexp.c: Include <float.h>.
24377 (__cexp): Handle exp result overflowing not necessarily
24378 overflowing both real and imaginary parts of result.
24379 * math/s_cexpf.c: Likewise.
24380 * math/s_cexpl.c: Likewise.
24381 * math/libm-test.inc (cexp_test): Add more tests.
24382 * sysdeps/i386/fpu/libm-test-ulps: Update.
24383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24384
81b035fe
L
243852012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24386
24387 * include/link.h (ELFW): New macro.
24388 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
24389 Replace ELF64_R_TYPE with ELFW(R_TYPE).
24390
1da7940c
L
243912012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24392
24393 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
24394 with uint64_t.
24395
b749dbb9
L
243962012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24397
24398 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
24399 declaration.
24400 (struct La_x32_retval): Likewise.
24401
2ff87f3f
L
244022012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24403
24404 * sysdeps/x86_64/preconfigure.in: New file.
24405 * sysdeps/x86_64/preconfigure: New generated file.
24406
c0df8e69
JM
244072012-03-22 Joseph Myers <joseph@codesourcery.com>
24408
48e44791
JM
24409 [BZ #13824]
24410 * math/e_exp2l.c: Include <float.h>.
24411 (__ieee754_exp2l): Handle overflow and underflow cases
24412 separately. Only pass fractional part of argument to
24413 __ieee754_expl.
24414 * math/libm-test.inc (exp2_test): Add more tests.
24415
c0df8e69
JM
24416 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
24417 negating x to take absolute value.
24418 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
24419 Likewise.
24420 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24421 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
24422 Likewise.
24423 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
24424 computing low part if x was negated.
24425 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24426
c8e43ba7
L
244272012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24428
24429 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
24430 la_x32_gnu_pltexit.
24431 (pltexit): Cast int_retval to ptrdiff_t.
24432 * elf/tst-auditmod3b.c: Likewise.
24433 * elf/tst-auditmod4b.c: Likewise.
24434 * elf/tst-auditmod5b.c: Likewise.
24435 * elf/tst-auditmod6b.c: Likewise.
24436 * elf/tst-auditmod6c.c: Likewise.
24437 * elf/tst-auditmod7b.c: Likewise.
24438
24439 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
24440 and x32_gnu_pltexit.
24441
24442 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
24443 __ELF_NATIVE_CLASS.
24444 (La_x32_regs): New macro.
24445 (La_x32_retval): Likewise.
24446 (la_x32_gnu_pltenter): New function prototype.
24447 (la_x32_gnu_pltexit): Likewise.
24448
7998fa78
AS
244492012-03-21 Andreas Schwab <schwab@linux-m68k.org>
24450
dcb33988
AS
24451 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
24452 exponent.
24453
233fc563
AS
24454 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24455
7998fa78
AS
24456 * configure.in (libc_cv_cc_nofma): Check for option to disable
24457 generation of FMA instructions.
24458 * configure: Regenerate.
24459 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
24460 * sysdeps/ieee754/dbl-64/Makefile: New file.
24461 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24462 Remove brandred-fma4.
24463 (CFLAGS-brandred-fma4.c): Remove.
24464 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
24465 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
24466 define.
24467 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
24468 define.
24469
8e95c99a
L
244702012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24471
24472 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24473 LLONG_MAX != LONG_MAX.
24474 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24475 (_fitoa_word): Likewise.
24476 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
24477 LLONG_MAX != LONG_MAX.
24478 * stdio-common/_itowa.h: Include <_itoa.h>.
24479 (_itowa_word): Use _ITOA_WORD_TYPE on value.
24480 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
24481 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
24482 only if not defined.
24483 (_ITOA_WORD_TYPE): Likewise.
24484 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24485 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
24486
6f4db457
DM
244872012-03-21 David S. Miller <davem@davemloft.net>
24488
24489 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24490
7785fe5a
L
244912012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24492
24493 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
24494 of x86_64 when setting libc_cv_slibdir, libdir and
24495 libc_cv_localedir.
24496 * sysdeps/unix/sysv/linux/configure: Regenerated.
24497
4535cd55
JM
244982012-03-21 Joseph Myers <joseph@codesourcery.com>
24499
24500 * manual/lang.texi (Old Varargs): Remove section.
24501 (How Variadic): Update menu.
24502 (va_start): Do not mention varargs.h.
24503
17228132
TS
245042012-03-21 Thomas Schwinge <thomas@codesourcery.com>
24505 Joseph Myers <joseph@codesourcery.com>
24506
24507 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
24508 link test.
24509 * configure: Regenerated.
24510
8149f976
TS
245112012-03-21 Thomas Schwinge <thomas@codesourcery.com>
24512
05f3d1f6
UD
24513 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
24514 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
24515 conformtest.pl
8149f976 24516
1a4ac776
JM
245172012-03-21 Joseph Myers <joseph@codesourcery.com>
24518
be22ce65
JM
24519 * NOTES: Remove.
24520 * Makefile (files-for-dist): Remove NOTES.
24521 (NOTES): Remove rule.
24522 * README: Don't refer to NOTES.
24523 * manual/creature.texi: Don't include macros.texi.
24524 * manual/intro.texi (creature.texi): Remove comment referring to
24525 NOTES.
24526
40b601fb
JM
24527 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
24528 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
24529 * configure: Regenerated.
24530 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
24531 LIBC_TRY_CC_OPTION.
24532 (libc_cv_as_i686): Likewise.
24533 (libc_cv_cc_avx): Likewise.
24534 (libc_cv_cc_sse2avx): Likewise.
24535 (libc_cv_cc_fma4): Likewise.
24536 (libc_cv_cc_novzeroupper): Likewise.
24537 * sysdeps/i386/configure: Regenerated.
24538
1a4ac776
JM
24539 [BZ #13883]
24540 * sysdeps/i386/fpu/s_cexp.S: Remove.
24541 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24542 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24543 * math/libm-test.inc (cexp_test): Add more tests.
24544 * sysdeps/i386/fpu/libm-test-ulps: Update.
24545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24546
a458e7fe
AM
245472012-03-21 Allan McRae <allan@archlinux.org>
24548
24549 * timezone/Makefile: Do not install iso3166.tab and zone.tab
24550
0cb7efc5
JM
245512012-03-21 Joseph Myers <joseph@codesourcery.com>
24552
24553 [BZ #13871]
24554 * math/w_exp2.c: Do not include <float.h>.
24555 (o_threshold, u_threshold): Remove.
24556 (__exp2): Calculate result before checking finiteness and calling
24557 __kernel_standard.
24558 * math/w_exp2f.c: Likewise.
24559 * math/w_exp2l.c: Likewise.
24560 * math/libm-test.inc (exp2_test): Require overflow exception for
24561 1e6 input.
2460d3aa
JM
24562
24563 [BZ #3866]
24564 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
24565 range of signed 64-bit integers before using fistpll. Remove
24566 checks for whether integers fit in mantissa bits.
24567 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
24568 the range of signed 32-bit integers before using fistpl. Remove
24569 checks for whether integers fit in mantissa bits.
24570 * sysdeps/i386/fpu/e_powl.S (p64): New object.
24571 (__ieee754_powl): Test for y outside the range of signed 64-bit
24572 integers before using fistpll. Reduce 64-bit values to 63-bit
24573 ones as needed.
24574 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
24575 divide-by-zero is raised for zero to large negative powers.
24576 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
24577 (__ieee754_powl): Test for y outside the range of signed 64-bit
24578 integers before using fistpll. Reduce 64-bit values to 63-bit
24579 ones as needed.
24580 * math/libm-test.inc (pow_test): Add more tests.
24581
eb96ffb0
L
245822012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24583
24584 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
24585 <stdio-common/_itoa.h>.
24586 * debug/segfault.c: Likewise.
24587 * elf/dl-cache.c: Likewise.
24588 * elf/dl-minimal.c: Likewise.
24589 * elf/dl-misc.c: Likewise.
24590 * elf/dl-sysdep.c: Likewise.
24591 * elf/dl-version.c: Likewise.
24592 * elf/rtld.c: Likewise.
24593 * hurd/hurdsock.c: Likewise.
24594 * hurd/lookup-retry.c: Likewise.
24595 * malloc/malloc.c: Likewise.
24596 * malloc/mtrace.c: Likewise.
24597 * nscd/nscd_getgr_r.c: Likewise.
24598 * nscd/nscd_getpw_r.c: Likewise.
24599 * nscd/nscd_getserv_r.c: Likewise.
24600 * posix/getopt_init.c: Likewise.
24601 * posix/wordexp.c: Likewise.
24602 * stdio-common/_itoa.c: Likewise.
24603 * stdio-common/printf_fphex.c: Likewise.
24604 * stdio-common/vfprintf.c: Likewise.
24605 * string/_strerror.c: Likewise.
24606 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
24607 * sysdeps/i386/i686/hp-timing.h: Likewise.
24608 * sysdeps/mach/_strerror.c: Likewise.
24609 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
24610 * sysdeps/mach/hurd/sethostid.c: Likewise.
24611 * sysdeps/mach/hurd/xmknodat.c: Likewise.
24612 * sysdeps/mach/xpg-strerror.c: Likewise.
24613 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24614 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24615 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
24616 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
24617 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24618 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
24619 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
24620 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
24621 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
24622 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
24623 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
24624 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24625 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
24626 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24627 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24628 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
24629 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
24630 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
24631 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
24632 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
24633 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
24634
24635 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
24636
24637 * stdio-common/_itoa.h: Moved to ...
24638 * sysdeps/generic/_itoa.h: Here.
24639
24640 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
24641
24642 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
24643 instead of "_itoa.h" and "_itowa.h".
24644 * stdio-common/vfprintf.: Likewise.
24645
d1af992d
L
246462012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24647
24648 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
24649 <bits/wordsize.h>.
24650 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
24651 (__signbit): Likwise.
24652 (llrintf): Likwise.
24653 (llrint): Likwise.
24654
114883e0
L
246552012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24656
24657 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
24658 __WORDSIZE != 64.
24659
c135cc1b
JM
246602012-03-20 Joseph Myers <joseph@codesourcery.com>
24661
24662 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
24663 OVERFLOW_EXCEPTION_OK.
24664 * math/libm-test.inc ("Philosophy"): Update comment about
24665 exception testing.
24666 (OVERFLOW_EXCEPTION): Define.
24667 (OVERFLOW_EXCEPTION_OK): Likewise.
24668 (INVALID_EXCEPTION_OK): Renumber.
24669 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24670 (IGNORE_ZERO_INF_SIGN): Likewise.
24671 (test_exceptions): Handle FE_OVERFLOW.
24672 (exp10_test): Expect overflow exceptions.
24673 (exp2_test): Likewise.
24674 (expm1_test): Likewise.
24675 (nextafter_test): Likewise.
24676 (pow_test): Likewise.
24677 (scalbn_test): Likewise.
24678 (scalbln_test): Likewise.
24679
95443d88
L
246802012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24681
24682 * sysdeps/x86_64/bits/atomic.h
24683 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
24684 64bit integer.
24685 (atomic_exchange_acq): Likewise.
24686 (__arch_exchange_and_add_body): Likewise.
24687 (__arch_add_body): Likewise.
24688 (atomic_add_negative): Likewise.
24689 (atomic_add_zero): Likewise.
24690
490df6c4
L
246912012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24692
c2722551 24693 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
24694 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
24695
5e52b189
L
246962012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24697
24698 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
24699 Check __x86_64__ instead of __WORDSIZE.
24700
a9879d4c
L
247012012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24702
24703 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
24704
5df98260
DM
247052012-03-19 David S. Miller <davem@davemloft.net>
24706
e1497744
DM
24707 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24708
5df98260
DM
24709 * sysdeps/sparc/fpu/fenv_private.h: New file.
24710 * sysdeps/sparc/fpu/math_private.h: Use it.
24711 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
24712 Remove.
24713 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
24714 (libc_feholdexcept_setroundl): Remove.
24715 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
24716 Remove.
24717 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
24718 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
24719
b4c35121
L
247202012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24721
24722 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
24723 int64_t instead of long int.
24724 (INSERT_WORDS64): Likwise.
24725
56965fd7
L
247262012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24727
24728 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
24729 _Unwind_GetCFA return to _Unwind_Ptr first.
24730
83d1aec8
JM
247312012-03-19 Joseph Myers <joseph@codesourcery.com>
24732
1897ad44
JM
24733 [BZ #13629]
24734 * math/s_clog.c: Include <float.h>.
24735 (__clog): Scale large or subnormal inputs.
24736 * math/s_clogf.c: Likewise.
24737 * math/s_clogl.c: Likewise.
24738 * math/s_clog10.c: Include <float.h>.
24739 (M_LOG10_2): Define.
24740 (__clog10): Scale large or subnormal inputs.
24741 * math/s_clog10f.c: Likewise.
24742 * math/s_clog10l.c: Likewise.
24743 * math/libm-test.inc (clog_test): Add more tests.
24744 (clog10_test): Likewise.
24745 * sysdeps/i386/fpu/libm-test-ulps: Update.
24746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24747
7726d6a9
JM
24748 [BZ #11451]
24749 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
24750 x and y.
24751 * math/libm-test.inc (atan2_test): Add another test.
24752
83d1aec8
JM
24753 * Makerules (common-objdir-compile): Remove.
24754 * sysdeps/unix/Makefile (config-generated): Do not add
24755 $(unix-generated) to variable.
24756 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
24757 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
24758 Remove rule.
24759 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
24760 Likewise.
24761 [generic bits/local_lim.h] (before-compile): Do not append to
24762 variable.
24763 [generic bits/local_lim.h] (common-generated): Likewise.
24764 [generic sys/param.h] (before-compile): Do not append to variable.
24765 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
24766 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
24767 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
24768 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
24769 include.
24770 [generic sys/param.h] (sys/param.h-includes): Remove variable.
24771 [generic sys/param.h] (sys/param.h-includes): Remove rule.
24772 [generic sys/param.h] ($(addprefix
24773 $(common-objpfx),$(sys/param.h-includes))): Likewise.
24774 [generic sys/param.h] (common-generated): Do not append to
24775 variable.
24776 [generic sys/param.h] (sysdep_headers): Likewise.
24777 [generic bits/errno.h] (before-compile): Do not append to
24778 variable.
24779 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
24780 rule.
24781 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
24782 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
24783 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
24784 [generic bits/errno.h] (common-generated): Do not append to
24785 variable.
24786 [generic bits/ioctls.h] (before-compile): Do not append to
24787 variable.
24788 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
24789 rule.
24790 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
24791 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
24792 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
24793 rule.
24794 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
24795 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
24796 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
24797 [generic bits/ioctls.h] (common-generated): Do not append to
24798 variable.
24799 [generic sys/syscall.h] (syscall.h): Remove variable.
24800 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
24801 rule.
24802 [generic sys/syscall.h] (before-compile): Do not append to
24803 variable.
24804 [generic sys/syscall.h] (common-generated): Likewise.
24805 * sysdeps/unix/errnos-tmpl.c: Remove file.
24806 * sysdeps/unix/errnos.awk: Likewise.
24807 * sysdeps/unix/ioctls-tmpl.c: Likewise.
24808 * sysdeps/unix/ioctls.awk: Likewise.
24809 * sysdeps/unix/mk-local_lim.c: Likewise.
24810 * sysdeps/unix/snarf-ioctls: Likewise.
24811
4851a949
RH
248122012-03-19 Richard Henderson <rth@twiddle.net>
24813
bd37f2ee
RH
24814 * sysdeps/i386/fpu/fenv_private.h: New file.
24815 * sysdeps/i386/fpu/math_private.h: Use it.
24816 (math_opt_barrier, math_force_eval): Remove.
24817 (libc_feholdexcept_setround_53bit): Remove.
24818 (libc_feupdateenv_53bit): Remove.
24819 * sysdeps/x86_64/fpu/math_private.h: Likewise.
24820 (math_opt_barrier, math_force_eval): Remove.
24821 (libc_feholdexcept): Remove.
24822 (libc_feholdexcept_setround): Remove.
24823 (libc_fetestexcept, libc_fesetenv): Remove.
24824 (libc_feupdateenv_test): Remove.
24825 (libc_feupdateenv, libc_feholdsetround): Remove.
24826 (libc_feresetround): Remove.
24827
d0adc922
RH
24828 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
24829 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24830
0fe0f1f8
RH
24831 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
24832 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
24833 (libc_feupdateenv_testl): New.
24834 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
24835 (libc_feupdateenv_testf): New.
24836 (libc_feupdateenv): Use libc_feupdateenv_test.
24837 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
24838 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
24839
eb92c487
RH
24840 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
24841 (libc_feholdsetroundf, libc_feholdsetroundl): New.
24842 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
24843 (libc_feresetround_noex): New.
24844 (libc_feresetround_noexf): New.
24845 (libc_feresetround_noexl): New.
24846 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
24847 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
24848 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
24849 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
24850 SET_RESTORE_ROUND.
24851 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24852 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
24853 (__cos): Likewise.
24854 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
24855 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
24856 SET_RESTORE_ROUND_NOEX.
24857 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
24858 SET_RESTORE_ROUND_NOEXF.
24859 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
24860 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
24861 (libc_feholdsetroundf): New.
24862 (libc_feresetround, libc_feresetroundf): New.
24863
7d2e8012
RH
24864 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
24865 (libc_feholdexcept_setround_53bit): Convert from macro to function.
24866 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
24867
b4dabbb4
RH
24868 * sysdeps/generic/math_private.h: Include <fenv.h>.
24869 (default_libc_feholdexcept): New.
24870 (default_libc_feholdexcept_setround): New.
24871 (default_libc_fesetenv, default_libc_feupdateenv): New.
24872 (libc_feholdexcept): Only define if undefined.
24873 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
24874 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
24875 (libc_feholdexcept_setroundl): Likewise.
24876 (libc_feholdexcept_setround_53bit): Likewise.
24877 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
24878 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
24879 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
24880 (libc_feupdateenv_53bit): Likewise.
24881 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
24882 (libc_feholdexcept): Convert from macro to inline function.
24883 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
24884 (libc_fesetenv, libc_feupdateenv): Likewise.
24885
4851a949
RH
24886 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
24887 not previously defined.
24888 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
24889 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
24890 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
24891 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
24892 * sysdeps/ieee754/flt-32/math_private.h: New file.
24893 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
24894 math_private.h below SET_FLOAT_WORD.
24895 (__isnan, __isinf_ns, __finite): Remove.
24896 (__isnanf, __isinf_nsf, __finitef): Remove.
24897
e79d442e
AS
248982012-03-18 Andreas Schwab <schwab@linux-m68k.org>
24899
24900 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24901
90b80344
DM
249022012-03-17 David S. Miller <davem@davemloft.net>
24903
24904 [BZ #6471]
24905 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
24906 for 2.16.
24907
edc21804
DM
249082012-03-16 David S. Miller <davem@davemloft.net>
24909
77e927af
DM
24910 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
24911 warnings.
24912
374976dd
DM
24913 [BZ #6471]
24914 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
24915 properly.
24916 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
24917 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
24918 sysdep_routines when subdir is sysvipc.
24919 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
24920 __getshmlba helper.
24921
edc21804
DM
24922 * sysdeps/sparc/fpu/libm-test/ulps: Update.
24923
473c3ef3
L
249242012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24925
24926 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
24927 [__LP64__].
24928
eb0f39b6
L
249292012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24930
24931 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
24932 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
24933 (__lround): Renamed to ...
24934 (__llround): This. Replace long int with long long int.
24935 Define lround functions as aliases of llround functions.
24936 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
24937
6b6cd74b
L
249382012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24939
24940 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
24941 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
24942 adresses to uintptr_t. Replace "long int" and "unsigned long
24943 int" with "greg_t" on va_arg.
24944
f1a77b01
L
249452012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24946
24947 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
24948 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
24949
24950 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
24951 Move e_machine check before EI_CLASS check. Handle x32
24952 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
24953 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
24954 SKIP_EM_IA_64 and include
24955 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
24956
24957 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
24958 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
24959 (add_system_dir): New macro.
24960
24961 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
24962 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
24963
11b90b9f
JM
249642012-03-16 Joseph Myers <joseph@codesourcery.com>
24965
c36e1d23
JM
24966 [BZ #2551]
24967 [BZ #2552]
24968 [BZ #2553]
24969 [BZ #2554]
24970 [BZ #2562]
24971 [BZ #2563]
24972 [BZ #2565]
24973 [BZ #2566]
24974 [BZ #2576]
24975 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
24976 (y0): Likewise.
24977 * math/w_j0f.c (j0f): Likewise.
24978 (y0f): Likewise.
24979 * math/w_j0l.c (__j0l): Likewise.
24980 (__y0l): Likewise.
24981 * math/w_j1.c (j1): Likewise.
24982 (y1): Likewise.
24983 * math/w_j1f.c (j1f): Likewise.
24984 (y1f): Likewise.
24985 * math/w_j1l.c (__j1l): Likewise.
24986 (__y1l): Likewise.
24987 * math/w_jn.c (jn): Likewise.
24988 (yn): Likewise.
24989 * math/w_jnf.c (jnf): Likewise.
24990 (ynf): Likewise.
24991 * math/w_jnl.c (__jnl): Likewise.
24992 (__ynl): Likewise.
24993 * math/libm-test.inc (j0_test): Add more tests.
24994 (j1_test): Likewise.
24995 (jn_test): Likewise. Add trailing semicolon to existing test.
24996 (y0_test): Likewise.
24997 (y1_test): Likewise.
24998 * sysdeps/i386/fpu/libm-test-ulps: Update.
24999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25000
11b90b9f
JM
25001 [BZ #13851]
25002 [BZ #13854]
25003 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
25004 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
25005 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
25006 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
25007 (__tanl): Set errno for infinite argument.
25008 * sysdeps/i386/fpu/mptan.c: Remove.
25009 * sysdeps/i386/fpu/s_tan.S: Likewise.
25010 * sysdeps/i386/fpu/s_tanl.S: Likewise.
25011 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
25012 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
25013 * math/libm-test.inc (tan_test): Add more tests and enable more
25014 tests for double and long double.
25015 * sysdeps/i386/fpu/libm-test-ulps: Update.
25016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25017
6a1bd2a1
JK
250182012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
25019
25020 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
25021 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
25022
10a803e0
RM
250232012-03-16 Roland McGrath <roland@hack.frob.com>
25024
25025 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
25026 * configure.in: Use it for both main tree and add-ons.
25027 * configure: Regenerated.
25028
f196c7f7
L
250292012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25030
25031 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
25032
8848d99d
JM
250332012-03-16 Joseph Myers <joseph@codesourcery.com>
25034
96cbe7f4
JM
25035 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
25036 in comment.
25037
8848d99d
JM
25038 [BZ #13851]
25039 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
25040 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
25041 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
25042 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
25043 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
25044 infinite argument.
25045 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
25046 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
25047 != 0 for prec == 2.
25048 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
25049 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
25050 * sysdeps/i386/fpu/s_cosl.S: Likewise.
25051 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
25052 * sysdeps/i386/fpu/s_sinl.S: Likewise.
25053 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
25054 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
25055 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
25056 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
25057 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
25058 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
25059 * math/libm-test.inc (cos_test): Add more tests and enable more
25060 tests for long double.
25061 (sin_test): Likewise.
25062 (sincos_test): Likewise.
25063 * sysdeps/i386/fpu/libm-test-ulps: Update.
25064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25065
dd7f4703
DM
250662012-03-16 David S. Miller <davem@davemloft.net>
25067
25068 * sysdeps/sparc/fpu/math_private.h: New file.
25069
006f1daa
DM
250702012-03-15 David S. Miller <davem@davemloft.net>
25071
c0c83bc8
DM
25072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
25073 file.
e6a62e18 25074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
25075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
25076 file.
e6a62e18
DM
25077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
25078 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
25079 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
25080 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
25081 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
25082 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
25083 sysdep routines.
25084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25085
88cb87d9
DM
25086 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
25087 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
25088
006f1daa 25089 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
25090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
25091 sparc-ifunc.h
006f1daa 25092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
25093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25094 Likewise.
25095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
25096 Likewise.
006f1daa
DM
25097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
25098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
25099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
25100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25101 Likewise.
006f1daa
DM
25102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
25104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
25106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
25107 Likewise.
25108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
25109 Likewise.
006f1daa
DM
25110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
25112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
25113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
25114 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25115 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25116 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
25117 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
25118 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25119 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25120 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
25121 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
25122 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
25123 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
25124 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
25125 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
25126 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
25127 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
25128 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
25129 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
25130 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
25131 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
25132 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
25133 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
25134
11e0098e
AS
251352012-03-15 Andreas Schwab <schwab@linux-m68k.org>
25136
25137 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
25138 scaling.
25139 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25140
e85b09d0
AJ
251412012-03-15 Andreas Jaeger <aj@suse.de>
25142
25143 [BZ #13852]
25144 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
25145 ieee754/flt-32 implementation for sin, cos and sincos.
25146 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
25147 * sysdeps/i386/fpu/s_cosf.S: Likewise.
25148 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
25149 * sysdeps/i386/fpu/s_sinf.S: Likewise.
25150 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
25151 ieee754/flt-32 implementation for tan.
25152
25153 * math/libm-test.inc (cos_test): Enable some large input tests for
25154 float as well
25155 (sin_test): Likewise.
25156 (sincos_test): Likewise.
25157 (tan_test): Add tests for large input.
25158
25159 * sysdeps/i386/fpu/libm-test-ulps: Update.
25160
81c64153
AJ
251612012-03-15 Andreas Jaeger <aj@suse.de>
25162
25163 [BZ #13658]
25164 * math/libm-test.inc (cos_test): Add more test cases.
25165 (sin_test): Likewise.
25166 (sincos_test): Likewise.
25167
7bbfa5c6
AJ
251682012-03-15 Andreas Jaeger <aj@suse.de>
25169
25170 [BZ #13837]
25171 * math/libm-test.inc (cos_test): Add a test case for large input
25172 value.
25173 (sin_test): Likewise.
25174 (sincos_test): Likewise.
25175
251762012-03-15 Andreas Jaeger <aj@suse.de>,
25177 Joseph Myers <joseph@codesourcery.com>
25178
25179 [BZ #13658]
0671f479 25180 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
25181 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
25182 * sysdeps/i386/fpu/branred.c: Likewise.
25183 * sysdeps/i386/fpu/dosincos.c: Likewise.
25184 * sysdeps/i386/fpu/mpa.c: Likewise.
25185 * sysdeps/i386/fpu/s_cos.S: Likewise.
25186 * sysdeps/i386/fpu/s_sin.S: Likewise.
25187 * sysdeps/i386/fpu/s_sincos.S: Likewise.
25188 * sysdeps/i386/fpu/sincos32.c: Likewise.
25189
25190 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
25191 Define.
25192 (libc_feupdateenv_53bit): Define.
25193 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
25194 Define.
25195 (libc_feupdateenv_53bit): Define.
25196
25197 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
25198 53 bit (without extend i386 double precision).
25199
25200 * math/libm-test.inc (sincos_test): Add tests for large input.
25201 (sin): Likewise.
25202 (cos): Likewise.
25203
25204 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
25205
9cad04ea
AS
252062012-03-15 Andreas Schwab <schwab@linux-m68k.org>
25207
25208 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25209
f7062b9a
DM
252102012-03-15 David S. Miller <davem@davemloft.net>
25211
25212 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
25213 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
25214 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
25215 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
25216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
25217 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
25218 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
25219 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
25220 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
25221 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
25222 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
25223 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
25224 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
25225 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
25226 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
25227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
25228 file.
f7062b9a 25229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
25230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
25231 file.
f7062b9a 25232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
25233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
25234 file.
f7062b9a 25235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
25236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
25237 file.
f7062b9a
DM
25238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
25239 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
25240 fmin/fmax sysdep routines.
25241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25242
7bd951ff
DM
252432012-03-14 David S. Miller <davem@davemloft.net>
25244
559398ab
DM
25245 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
25246 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
25247 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
25248 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
25249 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
25250 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
25251 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
25252 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
25253 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
25254 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
25255 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
25256 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
25257 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
25258 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
25259 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
25260 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
25261 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
25262 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
25263 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
25264 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
25265 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
25266 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
25267 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
25268 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
25269 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
25270 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
25271 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
25272 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
25273 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
25274 routines.
25275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
25276 file.
559398ab 25277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
25278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
25279 file.
559398ab 25280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
25281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
25282 file.
559398ab 25283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
25284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
25285 file.
559398ab 25286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
25287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
25288 file.
559398ab 25289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
25290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
25291 file.
25292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
25293 file.
25294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
25295 file.
25296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
25297 file.
25298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
25299 New file.
25300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
25301 file.
25302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
25303 file.
559398ab 25304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
25305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
25306 file.
559398ab 25307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
25308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
25309 file.
559398ab 25310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
25311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
25312 file.
559398ab 25313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
25314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
25315 VIS3 routines.
559398ab
DM
25316
25317 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25318 New file.
25319
5a1c1e32
DM
25320 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25321
eae47a36
DM
25322 * sysdeps/sparc/configure.in: New file.
25323 * sysdeps/sparc/configure: Generate.
25324 * configure.in (libc_cv_sparc_as_vis3): Substitute.
25325 * configure: Regenerate.
25326 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
25327 * config.make.in (have-as-vis3): New.
25328 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
25329 available use -Av9d instead of -Av9a.
25330 * sysdeps/sparc/sparc64/Makefile: Likewise.
25331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
25332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
25333 New file.
25334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
25335 file.
25336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
25337 New file.
25338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
25339 file.
eae47a36
DM
25340 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
25341 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
25342 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
25343 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
25344 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
25345
c0c83bc8
DM
25346 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
25347 fzeros/fnegs to load 0x80000000 into a float register instead of
25348 using the stack.
7bd951ff
DM
25349 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
25350
bd951ccb
JM
253512012-03-14 Joseph Myers <joseph@codesourcery.com>
25352
25353 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25354 bits/syscall.h.
25355 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
25356 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
25357 ($(inst_includedir)/bits/syscall.h): Remove rule.
25358 ($(objpfx)bits/syscall.d): Include instead of
25359 $(objpfx)syscall-list.d.
25360 (generated): Change syscall-list.h and syscall-list.d to
25361 bits/syscall.h and bits/syscall.d.
25362
bb4e6db2
RM
253632012-03-14 Roland McGrath <roland@hack.frob.com>
25364
25365 [BZ #13846]
25366 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
25367
aa4a2ae1
JM
253682012-03-14 Joseph Myers <joseph@codesourcery.com>
25369
e456826d
JM
25370 [BZ #13841]
25371 * math/s_csqrt.c: Include <float.h>.
25372 (__csqrt): Scale large or subnormal inputs.
25373 * math/s_csqrtf.c: Likewise.
25374 * math/s_csqrtl.c: Likewise.
25375 * math/libm-test.inc (csqrt_test): Add more tests.
25376 * sysdeps/i386/fpu/libm-test-ulps: Update.
25377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25378
aa4a2ae1
JM
25379 [BZ #13840]
25380 * math/libm-test.inc (hypot_test): Add more tests.
25381
7c10fd35
DM
253822012-03-13 David S. Miller <davem@davemloft.net>
25383
25384 [BZ #13840]
25385 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
25386 double-precision for the calculation instead of scaling.
25387
f453b98b
JM
253882012-03-13 Joseph Myers <joseph@codesourcery.com>
25389
25390 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
25391 manipulate bits before adding and subtracting TWO52[sx].
25392 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
25393 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
25394 Likewise.
25395 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
25396
09a3453f
DM
253972012-03-13 David S. Miller <davem@davemloft.net>
25398
8e59da90
DM
25399 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
25400 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
25401 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
25402 rtld-global-offsets.h
25403 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25404
2a8ab7f2
DM
25405 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
25406 large parameters.
25407
10f62770
DM
25408 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
25409
5f0bdb18
DM
25410 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
25411 'err' in the ifdef scope in which it is actually used.
25412
09a3453f
DM
25413 * nss/nss_db/db-init.c: Include string.h
25414
b4b2eb5e
DM
254152012-03-12 David S. Miller <davem@davemloft.net>
25416
98bb2f1c
DM
25417 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25418 masking out of the most significant byte of random value used.
25419 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25420 Fix coding style in previous change.
25421
b4b2eb5e
DM
25422 * sysdeps/unix/sysv/linux/kernel-features.h
25423 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
25424 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
25425 expression.
25426 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
25427 later.
25428
6e226b09
DM
254292012-03-11 David S. Miller <davem@davemloft.net>
25430
a1bcbd40
DM
25431 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25432 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
25433 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
25434 for 'resultvar' otherwise things get truncated on 64-bit.
25435
cb9d6174
DM
25436 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25437 Fix masking out of the most significant byte of random value used.
25438
6e226b09
DM
25439 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25440
058c132d
AS
254412012-03-10 Andreas Schwab <schwab@linux-m68k.org>
25442
25443 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25444
2d2cd515
DM
254452012-03-09 David S. Miller <davem@davemloft.net>
25446
25447 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
25448 variables with appropriate CPP guards.
25449 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
25450 frame pointer, not the stack pointer. Correct layout comments. Fix test
25451 on resulting framesize and the management of the outregs buffer for pltexit.
25452 Preserve floating point return values across _dl_call_pltexit call.
25453 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
25454 framesize and the management of the outregs buffer for pltexit.
25455 Preserve floating point return values across _dl_call_pltexit
25456 call.
25457 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
25458 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
25459 (print_exit): Fix format string for return register value.
25460
9a07f9d0
JM
254612012-03-10 Joseph Myers <joseph@codesourcery.com>
25462
25463 * sunrpc/Makefile (others): Add rpcgen.
25464 ($(objpfx)rpcgen): Remove special build rule and dependency on
25465 libc.
25466 * sunrpc/rpcgen.c: New file.
25467
547b5e30
PE
254682012-03-09 Paul Eggert <eggert@cs.ucla.edu>
25469
c524201a
PE
25470 [BZ #13673]
25471 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
25472 * stdio-common/bug-vfprintf-nargs.c: Likewise.
25473 * sysdeps/i386/crti.S: Likewise.
25474 * sysdeps/i386/crtn.S: Likewise.
25475 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
25476 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
25477 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
25478 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
25479 * sysdeps/sh/crti.S: Likewise.
25480 * sysdeps/sh/crtn.S: Likewise.
25481 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25482
7b6235f2
PE
25483 [BZ #13673]
25484 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
25485 with URL.
25486 * locale/programs/locfile-kw.gperf: Likewise.
25487 * locale/programs/charmap-kw.h: Regenerated.
25488 * locale/programs/locfile-kw.h: Likewise.
25489
547b5e30
PE
25490 [BZ #13673]
25491 * intl/plural.y: Replace FSF snail mail address with URL.
25492 * intl/plural.c: Regenerated.
25493
5f0a5dae
RH
254942012-03-09 Richard Henderson <rth@twiddle.net>
25495
25496 * include/math_private.h: Remove file.
25497 * math/math_private.h: Move file ...
25498 * sysdeps/generic/math_private.h: ... here.
25499
b8c03620
RH
25500 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
25501 * sysdeps/powerpc/fpu/math_private.h: Likewise.
25502 * sysdeps/x86_64/fpu/math_private.h: Likewise.
25503
4e234f5d 25504 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
25505 and <math_private.h>.
25506 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25507 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25508 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25509 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25510 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25511 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
25512 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25513 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25514 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25515 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25516 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25517 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25518 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25519 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25520 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25521 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25522 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25523 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25524 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25525 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
25526 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25527 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25528 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25529 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25530 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
25531 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25532 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25533 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25534 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25535 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25536 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25537 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25538 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25539 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25540 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25541 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25542 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25543 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25544 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25545 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25546 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
25547 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25548 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25549 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25550 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25551 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25552 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
25553 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25554 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25555 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25556 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25557 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
25558 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25559 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25560 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25561 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25562 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25563 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25564 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25565 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
25566 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25567 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25568 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25569 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25570 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
25571 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25572 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25573 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25574 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
25575 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
25576 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25577 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25578 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25579 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25580 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
25581 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25582 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
25583 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25584 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
25585 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
25586 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25587 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
25588 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25589 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25590 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25591 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
25592 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
25593 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
25594 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
25595 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25596 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25597 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
25598 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25599 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
25600 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
25601 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
25602 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25603 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25604 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25605 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
25606 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
25607 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
25608 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
25609 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
25610 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25611 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
25612 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
25613 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
25614 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25615 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25616 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25617 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25618 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
25619 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25620 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
25621 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25622 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25623 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25624 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25625 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25626 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25627 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25628 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25629 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
25630 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25631 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25632 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
25633 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
25634 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25635 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
25636 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
25637 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25638 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25639 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
25640 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
25641 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25642 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25643 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25644 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
25645 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25646 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25647 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25648 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25649 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
25650 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
25651 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25652 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25653 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25654 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
25655 * sysdeps/ieee754/k_standard.c: Likewise.
25656 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
25657 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
25658 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25659 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
25660 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
25661 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
25662 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
25663 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
25664 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25665 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25666 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25667 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25668 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
25669 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
25670 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
25671 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
25672 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25673 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
25674 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
25675 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
25676 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
25677 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
25678 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25679 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25680 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25681 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
25682 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25683 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25684 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25685 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25686 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25687 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25688 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25689 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25690 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25691 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25692 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25693 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
25694 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
25695 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25696 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25697 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25698 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25699 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25700 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25701 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25702 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25703 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25704 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25705 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25706 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25707 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25708 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25709 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
25710 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25711 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25712 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
25713 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
25714 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25715 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25716 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25717 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25718 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25719 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
25720 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25721 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25722 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
25723 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
25724 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
25725 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
25726 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
25727 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25728 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
25729 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
25730 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
25731 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
25732 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
25733 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
25734 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25735 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25736 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25737 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25738 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25739 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25740 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
25741 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25742 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25743 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25744 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25745 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25746 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
25747 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25748 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
25749 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25750 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25751 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25752 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
25753 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
25754 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
25755 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
25756 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25757 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25758 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25759 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25760 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
25761 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25762 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25763 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
25764 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
25765 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25766 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25767 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25768 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
25769 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25770 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
25771 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25772 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
25773 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25774 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25775 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25776 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25777 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
25778 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25779 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
25780 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25781 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
25782 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25783 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25784 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25785 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25786 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25787 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25788 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25789 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25790 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25791 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25792 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
25793 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25794 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25795 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
25796 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
25797 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25798 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
25799 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
25800 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25801 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25802 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25803 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25804 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25805 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
25806 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25807 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25808 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25809 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25810 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
25811 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
25812 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25813 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25814 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25815 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
25816 * sysdeps/ieee754/s_lib_version.c: Likewise.
25817 * sysdeps/ieee754/s_matherr.c: Likewise.
25818 * sysdeps/ieee754/s_signgam.c: Likewise.
25819 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25820 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25821 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
25822 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
25823 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
25824 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25825 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
25826 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
25827 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
25828 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
25829 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25830 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
25831 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25832 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25833 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
25834 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25835 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25836 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25837 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25838 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25839 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 25840
1991fa03
JM
258412012-03-09 Joseph Myers <joseph@codesourcery.com>
25842
25843 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
25844 * sunrpc/rpc_main.c: Likewise.
25845 * sunrpc/rpc_svcout.c: Likewise.
25846
60d6f5a6
DM
258472012-03-09 David S. Miller <davem@davemloft.net>
25848
25849 * include/math_private.h: New file.
25850
4962050e
JM
258512012-03-09 Joseph Myers <joseph@codesourcery.com>
25852
02a6f887
JM
25853 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
25854 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
25855 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
25856 from <bits/socket_type.h>.
25857 (enum __socket_type): Don't define here.
25858 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
25859 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25860 bits/socket_type.h.
25861
c6e013c1
JM
25862 [BZ #13566]
25863 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
25864 checking __USE_GNU.
25865
4962050e
JM
25866 * Makerules ($(inst_includedir)/%.h): New rule.
25867 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
25868 (install-others): Remove variable setting.
25869 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
25870
38842f45
RH
258712012-03-08 Richard Henderson <rth@twiddle.net>
25872
67bb6da6
RH
25873 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
25874 from macro to inline function; merge with the
25875 !__LIBC_INTERNAL_MATH_INLINES version.
25876 (__ieee754_sqrtf): Likewise.
25877
15194b4b
RH
25878 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
25879 to inline function.
25880 (__rintf, __floor, __floorf): Likewise.
25881
64e21ede
RH
25882 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
25883 macro to inline function.
25884 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
25885
38842f45
RH
25886 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
25887 not <math/math_private.h>.
25888
c64bf5fe
DM
258892012-03-08 David S. Miller <davem@davemloft.net>
25890
25891 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
25892 copyright year.
25893 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
25894
82d86f28
TS
258952012-03-08 Thomas Schwinge <thomas@codesourcery.com>
25896
25897 * resolv/gai_misc.c (handle_requests): Fix struct timespec
25898 normalization.
25899 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
25900 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
25901
aea5d727
UD
259022012-03-08 Ulrich Drepper <drepper@gmail.com>
25903
25904 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
25905 be defined individually, they must be defined as a block. Define
25906 S for printing a string instead of hidint the different by using a
25907 macro for adding the 'l'.
25908 * stdio-common/tst-fphex-wide.c: Adjust.
25909
70bca0a3
MP
259102012-03-07 Marek Polacek <polacek@redhat.com>
25911
25912 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
25913
65b81130
MP
259142012-03-08 Marek Polacek <polacek@redhat.com>
25915
25916 [BZ #13806]
25917 * stdio-common/Makefile (tests): Add tst-fphex-wide.
25918 * stdio-common/tst-fphex.c: Define a few macros to make the
25919 test reusable. Use them.
25920 * stdio-common/tst-fphex-wide.c: New file.
25921
07037eeb
JM
259222012-03-08 Joseph Myers <joseph@codesourcery.com>
25923
a7a93d50
JM
25924 [BZ #6911]
25925 * manual/macros.texi (gnusystems): New macro.
25926 (nongnusystems): Likewise.
25927 (gnulinuxhurdsystems): Likewise.
25928 (gnuhurdsystems): Likewise..
25929 (gnulinuxsystems): Likewise.
25930 * manual/charset.texi: Use new macros or @theglibc{} to refer to
25931 variants of the GNU system, not "GNU system".
25932 * manual/conf.texi: Likewise.
25933 * manual/errno.texi: Likewise. Update example of errno macro
25934 expansion.
25935 * manual/filesys.texi: Likewise.
25936 (getumask): Document as specific to GNU/Hurd.
25937 * manual/install.texi: Likewise. Reword some references to
25938 GNU/Linux.
25939 * manual/intro.texi: Likewise.
25940 * manual/io.texi: Likewise.
25941 (File Name Portability): Detail which constraints are inapplicable
25942 to all GNU systems and which are only inapplicable to GNU/Hurd.
25943 * manual/job.texi: Likewise.
25944 * manual/llio.texi: Likewise.
25945 (O_NOCTTY): Document as present on GNU/Linux.
25946 * manual/maint.texi: Likewise.
25947 * manual/memory.texi: Likewise.
25948 * manual/pattern.texi: Likewise.
25949 * manual/pipe.texi: Likewise.
25950 * manual/process.texi: Likewise.
25951 * manual/resource.texi: Likewise.
25952 (RUSAGE_CHILDREN): Remove statement about specifying a particular
25953 child on GNU/Hurd.
25954 * manual/setjmp.texi: Likewise.
25955 * manual/signal.texi: Likewise.
25956 * manual/startup.texi: Likewise.
25957 * manual/stdio.texi: Likewise.
25958 * manual/terminal.texi: Likewise.
25959 (ONLCR): Document as POSIX.
25960 (OXTABS): Document availability on GNU/Linux as XTABS.
25961 (ONOEOT): Document availability separately from other bits.
25962 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
25963 * manual/time.texi: Likewise.
25964 * manual/users.texi: Likewise.
25965 * INSTALL: Regenerated.
25966 * sysdeps/gnu/errlist.c: Regenerated.
25967
07037eeb
JM
25968 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
25969 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
25970 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
25971 puts.
25972 * configure: Regenerated.
25973
d1d3431a
JM
259742012-03-07 Joseph Myers <joseph@codesourcery.com>
25975
af6a1e37
JM
25976 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
25977 default includes instead of AC_HEADER_CHECK.
25978 * sysdeps/i386/configure: Regenerated.
25979
d1d3431a
JM
25980 [BZ #10716]
25981 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
25982 * math/s_cacoshf.c (__cacoshf): Likewise.
25983 * math/s_cacoshl.c (__cacoshl): Likewise.
25984 * math/s_casinh.c (__casinh): Set signs of result from argument.
25985 * math/s_casinhf.c (__casinhf): Likewise.
25986 * math/s_casinhl.c (__casinhl): Likewise.
25987 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
25988 (casinh_test): Add more tests.
25989 * sysdeps/i386/fpu/libm-test-ulps: Update.
25990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25991
482ff4da
UD
259922012-03-07 Ulrich Drepper <drepper@gmail.com>
25993
872fda05
UD
25994 * po/zh_TW.po: Update from translation team.
25995
a4300c7a
UD
25996 * login/Makefile (distribute): Remove variable.
25997 * catgets/Makefile: Likewise.
25998 * mach/Makefile: Likewise.
25999 * malloc/Makefile: Likewise.
26000 * misc/Makefile: Likewise.
26001 * iconv/Makefile: Likewise.
26002 * nscd/Makefile: Likewise.
26003 * hurd/Makefile: Likewise.
26004 * manual/Makefile: Likewise.
26005 * locale/Makefile: Likewise.
26006 * intl/Makefile: Likewise.
26007 * conform/Makefile: Likewise.
26008 * nss/Makefile: Likewise.
26009 * time/Makefile: Likewise.
26010 * soft-fp/Makefile: Likewise.
26011 * dirent/Makefile: Likewise.
26012 * gmon/Makefile: Likewise.
26013 * po/Makefile: Likewise.
26014 * rt/Makefile: Likewise.
26015 * socket/Makefile: Likewise.
26016 * math/Makefile: Likewise.
26017 * signal/Makefile: Likewise.
26018 * debug/Makefile: Likewise.
26019 * elf/Makefile: Likewise.
26020 * timezone/Makefile: Likewise.
26021 * stdlib/Makefile: Likewise.
26022 * iconvdata/Makefile: Likewise.
26023 * sunrpc/Makefile: Likewise.
26024 * io/Makefile: Likewise.
26025 * argp/Makefile: Likewise.
26026 * inet/Makefile: Likewise.
26027 * hesiod/Makefile: Likewise.
26028 * grp/Makefile: Likewise.
26029 * csu/Makefile: Likewise.
26030 * wctype/Makefile: Likewise.
26031 * crypt/Makefile: Likewise.
26032 * libio/Makefile: Likewise.
26033 * string/Makefile: Likewise.
26034 * nis/Makefile: Likewise.
26035 * resolv/Makefile: Likewise.
26036 * stdio-common/Makefile: Likewise.
26037 * wcsmbs/Makefile: Likewise.
26038 * dlfcn/Makefile: Likewise.
26039 * posix/Makefile: Likewise.
26040
3b7c4e74 26041 [BZ #6959]
482ff4da
UD
26042 * timezone/Makefile: Don't install timezone files, just the programs
26043 and scripts.
26044
f72ed77d
UD
260452012-03-06 Ulrich Drepper <drepper@gmail.com>
26046
a000466f
UD
26047 * nss/databases.def: Add missing gshadow entry.
26048
f72ed77d
UD
26049 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
26050
a53b7a4e
MP
260512012-03-06 Marek Polacek <polacek@redhat.com>
26052
26053 [BZ #13726]
26054 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
26055 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
26056 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
26057 * stdio-common/tst-long-dbl-fphex.c: New file.
26058
e9258400
DM
260592012-03-06 David S. Miller <davem@davemloft.net>
26060
26061 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26062 (set_obp_int): New function.
26063 (get_obp_int): New function.
26064 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
26065 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
26066 Avoid unused variable warnings on 'val' and use builtin_expect.
26067 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
26068 __builtin_expect.
e9258400
DM
26069 (INLINE_CLONE_SYSCALL): Likewise.
26070
3bd2c723
DM
260712012-03-05 David S. Miller <davem@davemloft.net>
26072
26073 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26074
bbb78d03
AS
260752012-03-05 Andreas Schwab <schwab@linux-m68k.org>
26076
884c5db4
AS
26077 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26078
bbb78d03
AS
26079 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
26080 only for |x| >= 40.
26081 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26082
1c9f702a 260832012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
26084
26085 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
26086 Replace gettimeofday with __vdso_gettimeofday.
26087
7be16f82
RM
26088 * sysdeps/unix/sysv/linux/x86_64/init-first.c
26089 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
26090 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
26091
26092 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
26093 time with __vdso_time.
26094
ed58a00f
JM
260952012-03-05 Joseph Myers <joseph@codesourcery.com>
26096
26097 * manual/lang.texi (size_t): Note types to which size_t may be
26098 equivalent with the GNU C Library, but do not describe when
26099 differences between them are significant.
26100
30ee4ced
AJ
261012012-03-05 Andreas Jaeger <aj@suse.de>
26102
26103 * sysdeps/i386/fpu/libm-test-ulps: Update.
26104
b7cd39e8
JM
261052012-03-05 Joseph Myers <joseph@codesourcery.com>
26106
26107 [BZ #3976]
26108 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
26109 (__ieee754_pow): Save and restore rounding mode and use
26110 round-to-nearest for main computations.
26111 * math/libm-test.inc (pow_test_tonearest): New function.
26112 (pow_test_towardzero): Likewise.
26113 (pow_test_downward): Likewise.
26114 (pow_test_upward): Likewise.
26115 (main): Call the new functions.
26116 * sysdeps/i386/fpu/libm-test-ulps: Update.
26117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
26118
26119 [BZ #3976]
26120 * math/libm-test.inc (cosh_test_tonearest): New function.
26121 (cosh_test_towardzero): Likewise.
26122 (cosh_test_downward): Likewise.
26123 (cosh_test_upward): Likewise.
26124 (sinh_test_tonearest): Likewise.
26125 (sinh_test_towardzero): Likewise.
26126 (sinh_test_downward): Likewise.
26127 (sinh_test_upward): Likewise.
26128 (main): Call the new functions.
26129 * sysdeps/i386/fpu/libm-test-ulps: Update.
26130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26131
6c6a98c9
TV
261322012-03-05 Tom de Vries <tom@codesourcery.com>
26133
26134 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
26135 default stack guard is set in last bytes.
26136 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
26137
21bb2d2e 261382012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 26139
21bb2d2e 26140 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 26141
21bb2d2e
AJ
26142 [BZ #13656]
26143 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
26144 possibly allocate from heap instead of stack.
26145 * stdio-common/bug-vfprintf-nargs.c: New file.
26146 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 26147
c6922934
AS
261482012-03-03 Andreas Schwab <schwab@linux-m68k.org>
26149
26150 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26151
bc957d53
MP
261522012-03-03 Marek Polacek <polacek@redhat.com>
26153
26154 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
26155 * math/math_private.h: Likewise.
26156 * stdlib/tst-strtod.c: Likewise.
26157 * sysdeps/i386/i486/bits/atomic.h: Likewise.
26158 * sysdeps/x86_64/bits/atomic.h: Likewise.
26159
6358490d
DM
261602012-03-02 David S. Miller <davem@davemloft.net>
26161
26162 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
26163 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
26164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
26165 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
26166 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
26167 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
26168 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
26169 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
26170
01ae168d
RM
261712012-03-02 Roland McGrath <roland@hack.frob.com>
26172
d9a17c07
RM
26173 [BZ #13792]
26174 * manual/examples/README: New file, says the example source files
26175 can be used under GPL>=2.
26176 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
26177 line containing just "*/".
26178 * manual/examples/add.c: Add copyright header (GPL>=2).
26179 * manual/examples/argp-ex1.c: Likewise.
26180 * manual/examples/argp-ex2.c: Likewise.
26181 * manual/examples/argp-ex3.c: Likewise.
26182 * manual/examples/argp-ex4.c: Likewise.
26183 * manual/examples/atexit.c: Likewise.
26184 * manual/examples/db.c: Likewise.
26185 * manual/examples/dir.c: Likewise.
26186 * manual/examples/dir2.c: Likewise.
26187 * manual/examples/execinfo.c: Likewise.
26188 * manual/examples/filecli.c: Likewise.
26189 * manual/examples/filesrv.c: Likewise.
26190 * manual/examples/fmtmsgexpl.c: Likewise.
26191 * manual/examples/genpass.c: Likewise.
26192 * manual/examples/inetcli.c: Likewise.
26193 * manual/examples/inetsrv.c: Likewise.
26194 * manual/examples/isockad.c: Likewise.
26195 * manual/examples/longopt.c: Likewise.
26196 * manual/examples/memopen.c: Likewise.
26197 * manual/examples/memstrm.c: Likewise.
26198 * manual/examples/mkfsock.c: Likewise.
26199 * manual/examples/mkisock.c: Likewise.
26200 * manual/examples/mygetpass.c: Likewise.
26201 * manual/examples/pipe.c: Likewise.
26202 * manual/examples/popen.c: Likewise.
26203 * manual/examples/rprintf.c: Likewise.
26204 * manual/examples/search.c: Likewise.
26205 * manual/examples/select.c: Likewise.
26206 * manual/examples/setjmp.c: Likewise.
26207 * manual/examples/sigh1.c: Likewise.
26208 * manual/examples/sigusr.c: Likewise.
26209 * manual/examples/stpcpy.c: Likewise.
26210 * manual/examples/strdupa.c: Likewise.
26211 * manual/examples/strftim.c: Likewise.
26212 * manual/examples/strncat.c: Likewise.
26213 * manual/examples/subopt.c: Likewise.
26214 * manual/examples/swapcontext.c: Likewise.
26215 * manual/examples/termios.c: Likewise.
26216 * manual/examples/testopt.c: Likewise.
26217 * manual/examples/testpass.c: Likewise.
26218 * manual/examples/timeval_subtract.c: Likewise.
26219
01ae168d
RM
26220 [BZ #13792]
26221 * manual/time.texi (Elapsed Time): Move timeval_subtract example
26222 function to ...
26223 * manual/timeval_subtract.c.texi: ... here, new file.
26224
49efa33d
DM
262252012-03-02 David S. Miller <davem@davemloft.net>
26226
26227 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
26228
28afd92d
JM
262292012-03-02 Joseph Myers <joseph@codesourcery.com>
26230
804360ed
JM
26231 [BZ #3976]
26232 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
26233 (__sin): Save and restore rounding mode and use round-to-nearest
26234 for all computations.
26235 (__cos): Save and restore rounding mode and use round-to-nearest
26236 for all computations.
26237 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
26238 <fenv.h>.
26239 (tan): Save and restore rounding mode and use round-to-nearest for
26240 all computations.
26241 * math/libm-test.inc (cos_test_tonearest): New function.
26242 (cos_test_towardzero): Likewise.
26243 (cos_test_downward): Likewise.
26244 (cos_test_upward): Likewise.
26245 (sin_test_tonearest): Likewise.
26246 (sin_test_towardzero): Likewise.
26247 (sin_test_downward): Likewise.
26248 (sin_test_upward): Likewise.
26249 (tan_test_tonearest): Likewise.
26250 (tan_test_towardzero): Likewise.
26251 (tan_test_downward): Likewise.
26252 (tan_test_upward): Likewise.
26253 (main): Call the new functions.
26254 * sysdeps/i386/fpu/libm-test-ulps: Update.
26255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26256
a6d06d7b
JM
26257 [BZ #10135]
26258 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
26259 small n, then large n, before computing and testing k+n.
26260 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
26261 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
26262 Likewise.
26263 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
26264 Likewise.
26265 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
26266 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
26267 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
26268 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
26269 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
26270 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
26271 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
26272 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
26273 * math/libm-test.inc (scalbn_test): Add more tests.
26274 (scalbln_test): Likewise.
26275
07e12bb3
JM
26276 * manual/filesys.texi (mode_t): Describe constraints on size and
26277 signedness, not exact equivalence to a particular type.
26278 (ino_t): Likewise.
26279 (ino64_t): Likewise.
26280 (dev_t): Likewise.
26281 (nlink_t): Likewise.
26282 (blkcnt_t): Likewise.
26283 (blkcnt64_t): Likewise.
26284 * manual/llio.texi (off_t): Likewise.
26285
28afd92d
JM
26286 [BZ #3976]
26287 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
26288 (__ieee754_exp): Save and restore rounding mode and use
26289 round-to-nearest for all computations.
26290 * math/libm-test.inc (exp_test_tonearest): New function.
26291 (exp_test_towardzero): Likewise.
26292 (exp_test_downward): Likewise.
26293 (exp_test_upward): Likewise.
26294 (main): Call the new functions.
26295 * sysdeps/i386/fpu/libm-test-ulps: Update.
26296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26297
b1eeb65d
CD
262982012-03-01 Chris Demetriou <cgd@google.com>
26299
26300 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
26301 have predictable order.
26302
53362a4b
DM
263032012-03-01 David S. Miller <davem@davemloft.net>
26304
3c969083
DM
26305 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
26306
759707de
DM
26307 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
26308 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
26309 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
26310 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
26311
dfdb8ff2
DM
26312 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
26313 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
26314 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
26315 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
26316 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
26317 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
26318 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
26319 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
26320 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
26321
ead89f96
DM
26322 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26323
7f66bd07
DM
26324 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
26325 * sysdeps/sparc/fpu/libm-test-ulps: to here.
26326 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
26327
53362a4b
DM
26328 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
26329 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26330 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26331 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
26332 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
26333 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
26334 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
26335 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26336 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26337 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
26338 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
26339 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26340 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26341 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26342 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26343 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26344 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
26345 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
26346 * sysdeps/sparc/elf/configure: Regenerated.
26347
7b1902cb
JM
263482012-03-01 Joseph Myers <joseph@codesourcery.com>
26349
bec039bc
JM
26350 * configure.in (AS, LD): Require binutils 2.20 or later.
26351 * configure: Regenerated.
26352 * manual/install.texi (Tools for Compilation): Give binutils 2.20
26353 as required minimum version.
26354 * INSTALL: Regenerated.
26355
7b1902cb
JM
26356 [BZ #2541]
26357 [BZ #4108]
26358 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
26359 before squaring exponent.
26360 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
26361 bottom long double and 27 bits of top long double before squaring
26362 exponent.
26363 * math/libm-test.inc (erfc_test): Add more tests.
26364 * sysdeps/i386/fpu/libm-test-ulps: Update.
26365 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26367
f775c276
KT
263682012-03-01 Kai Tietz <ktietz@redhat.com>
26369
26370 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
26371 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
26372 containing bit-fields.
26373 * soft-fp/extended.h (_FP_UNION_E): Likewise.
26374 * soft-fp/single.h (_FP_UNION_S): Likewise.
26375 * soft-fp/double.h (_FP_UNION_D): Likewise.
26376
5b8a4d4a
JM
263772012-02-29 Joseph Myers <joseph@codesourcery.com>
26378
0bab47b6
JM
26379 [BZ #13786]
26380 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
26381 not include ../strcmp.S.
26382 [USE_AS_STRNCASECMP_L]: Likewise.
26383 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
26384 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
26385 * sysdeps/i386/i686/multiarch/strncase_l-c.c
26386 (__strncasecmp_l_ia32): Define as alias to
26387 __strncasecmp_l_nonascii.
26388
0fcad3e2
JM
26389 [BZ #5794]
26390 * math/libm-test.inc (expm1_test): Add test for bug 5794.
26391 * sysdeps/i386/fpu/libm-test-ulps: Update.
26392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26393
5b8a4d4a
JM
26394 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
26395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26396
8fdceb2e
JL
263972012-02-29 Jeff Law <law@redhat.com>
26398
26399 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
26400 out of bounds read.
26401
1f393a11
MP
264022012-02-29 Marek Polacek <polacek@redhat.com>
26403
26404 [BZ #13706]
26405 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
26406 * elf/Makefile: Add rules to run tst-unused-dep.out.
26407
8847f037
DM
264082012-02-28 David S. Miller <davem@davemloft.net>
26409
26410 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
26411 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
26412 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
26413 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
26414 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
26415 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
26416
169d7f11
JM
264172012-02-29 Joseph Myers <joseph@codesourcery.com>
26418
26419 * math/libm-test.inc (llround_test): Move one test from
26420 lround_test. Use TEST_f_L in moved test.
26421 (lround_test): Move misplaced test to llround_test. Add testcase
26422 from bug 2561.
26423
39adf059
UD
264242012-02-28 Ulrich Drepper <drepper@gmail.com>
26425
26426 * sysdeps/x86_64/fpu/e_expf.S: New file.
26427 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
26428
71b5d1c5
SB
264292012-02-28 Stanislav Brabec <sbrabec@suse.cz>
26430
26431 [BZ #13637]
26432 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
26433 of remain_len that may cause incomplete multi-byte character and
26434 false match.
26435 * posix/bug-regex33.c: New file.
26436 * posix/Makefile (tests): Add bug-regex33.
26437
1f77f049
JM
264382012-02-28 Joseph Myers <joseph@codesourcery.com>
26439
26440 * manual/macros.texi: New file.
26441 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
26442 * manual/libc.texinfo: Include macros.texi.
26443 * manual/creatute.texi: Likewise.
26444 * manual/install.texi: Likewise.
26445 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
26446 @glibcadj{} in references to the GNU C Library.
26447 * manual/charset.texi: Likewise.
26448 * manual/conf.texi: Likewise.
26449 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
26450 when not using those macros.
26451 * manual/creature.texi: Likewise.
26452 * manual/crypt.texi: Likewise.
26453 * manual/errno.texi: Likewise.
26454 * manual/filesys.texi: Likewise.
26455 * manual/header.texi: Likewise.
26456 * manual/install.texi: Likewise.
26457 * manual/intro.texi: Likewise.
26458 * manual/io.texi: Likewise.
26459 * manual/job.texi: Likewise.
26460 * manual/lang.texi: Likewise.
26461 * manual/libc.texiinfo: Likewise.
26462 * manual/llio.texi: Likewise.
26463 * manual/locale.texi: Likewise.
26464 * manual/maint.texi: Likewise.
26465 * manual/math.texi: Likewise.
26466 * manual/memory.texi: Likewise.
26467 * manual/message.texi: Likewise.
26468 * manual/nss.texi: Likewise.
26469 * manual/pattern.texi: Likewise.
26470 * manual/process.texi: Likewise.
26471 * manual/resource.texi: Likewise.
26472 * manual/search.texi: Likewise.
26473 * manual/setjmp.texi: Likewise.
26474 * manual/signal.texi: Likewise.
26475 * manual/socket.texi: Likewise.
26476 * manual/startup.texi: Likewise.
26477 * manual/stdio.texi: Likewise.
26478 * manual/string.texi: Likewise.
26479 * manual/sysinfo.texi: Likewise.
26480 * manual/syslog.texi: Likewise.
26481 * manual/terminal.texi: Likewise.
26482 * manual/time.texi: Likewise.
26483 * manual/users.texi: Likewise.
26484 * INSTALL: Regenerated.
26485 * NOTES: Regenerated.
d40c5d54 26486 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 26487
450bf206
AS
264882012-02-28 Andreas Schwab <schwab@linux-m68k.org>
26489
26490 * include/dirent.h: Include <dirstream.h> before
26491 <dirent/dirent.h>.
26492
741a235b
DM
264932012-02-28 David S. Miller <davem@davemloft.net>
26494
26495 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
26496 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
26497 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
26498 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
26499
d6b5aa58
DM
265002012-02-27 David S. Miller <davem@davemloft.net>
26501
1aff59a3
DM
26502 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
26503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
26504 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
26505 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
26506
d6b5aa58
DM
26507 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
26508 frame pointer instead of stack pointer relative arg slot.
26509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26510 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26511 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26512
433f48bf
CD
265132012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
26514
26515 [BZ #3992]
26516 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
26517
d674b76d
DM
265182012-02-27 David S. Miller <davem@davemloft.net>
26519
26520 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
26521 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26522 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26523 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
26524 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26525 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26526 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
26527 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
26528
0e7727f7
JM
265292012-02-27 Joseph Myers <joseph@codesourcery.com>
26530
26531 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
26532 later. Allow versions 5-9.
43be4ca2 26533 * configure: Regenerated.
0e7727f7
JM
26534 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
26535 required minimum version and 4.6 as recommended version. Do not
26536 mention bugs in GCC 2.7 and 2.8.
43be4ca2 26537 * INSTALL: Regenerated.
0e7727f7 26538
a78bc654
DM
265392012-02-27 David S. Miller <davem@davemloft.net>
26540
428d5830
DM
26541 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
26542 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
26543 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
26544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
26545 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
26546 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
26547 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
26548 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
26549
a78bc654
DM
26550 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
26551 manipulate bits before adding and subtracting TWO112[sx].
26552 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26553
4579f81c
RM
265542012-02-27 Roland McGrath <roland@hack.frob.com>
26555
36c8acb4
RM
26556 [BZ #13775]
26557 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
26558 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
26559 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
26560 being in POSIX, because they are in 1003.1-2008.
26561
84ad622b
RM
26562 * rt/tst-aio.c: Include <fcntl.h>.
26563 * rt/tst-aio7.c: Likewise.
26564 * rt/tst-aio64.c: Likewise.
26565
4579f81c
RM
26566 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
26567
abd923db
JM
265682012-02-27 Joseph Myers <joseph@codesourcery.com>
26569
26570 * manual/install.texi (--with-headers): Describe headers as
26571 interface headers, not private headers.
26572 (Specific advice for GNU/Linux systems): Describe use of headers
26573 from "make headers_install", not private headers from older
26574 kernels.
43be4ca2 26575 * INSTALL: Regenerated.
abd923db
JM
26576 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
26577 Change to 2.6.19.
26578 * sysdeps/unix/sysv/linux/configure: Regenerated.
26579
6664049b
JM
26580 * manual/llio.texi (fclean): Remove documentation.
26581
bb8b6697
JM
26582 * manual/Makefile (libc-texi-generated): New variable. Include
26583 version.texi.
26584 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
26585 $(libc-texi-generated), not duplicated list of files.
26586 (version.texi, stamp-version): New rules.
26587 (realclean): Remove $(libc-texi-generated), not individual files
26588 from that list. Do not remove dir-add.texinfo.
26589 * manual/libc.texinfo: Comment out uses of edition numbers and
26590 references to printed manual. Remove last-updated dates.
26591 (EDITION): Comment out.
26592 (ISBN): Likewise.
26593 (VERSION, UPDATED): Remove.
26594 (version.texi): Include.
26595
12e5c3b9
AS
265962012-02-27 Andreas Schwab <schwab@linux-m68k.org>
26597
26598 * sysdeps/posix/spawni.c: Include <signal.h>.
26599 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
26600 * sysdeps/pthread/aio_fsync.c: Likewise.
26601
4efeffc1 266022012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 26603
ba63ba08
UD
26604 * conform/Makefile (tests): Run only when not cross-compiling and
26605 when fast-check is not defined.
26606
d94a4670
UD
26607 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
26608 * conform/data/limits.h-data: Fixes for POSIX2008.
26609 * conform/run-conformtest.sh: Run all tests.
26610 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
26611 headers.
26612 * include/bits/dlfcn.h: Likewise.
26613 * include/langinfo.h: Likewise.
26614 * include/monetary.h: Likewise.
26615 * include/sys/poll.h: Likewise.
26616
26617 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
26618 for __USE_GNU.
26619 * posix/spawn.h: Define __need_sigset_t.
26620 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
26621 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
26622 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
26623 to get sigevent_t only.
26624 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
26625 only for __USE_GNU.
26626 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26627 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26628 process_vm_writev only for __USE_GNU.
26629 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
26630
26631 * conform/Makefile: For now ignore errors from run-conformtest.
26632 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
26633 POSIX to avoid namespace pollution. Don't prepend headers.
26634 * conform/data/aio.h-data: Fixes for POSIX testing.
26635 * conform/data/fcntl.h-data: Likewise.
26636 * conform/data/glob.h-data: Likewise.
26637 * conform/data/grp.h-data: Likewise.
26638 * conform/data/pthread.h-data: Likewise.
26639 * conform/data/pwd.h-data: Likewise.
26640 * conform/data/signal.h-data: Likewise.
26641 * conform/data/spawn.h-data: Likewise.
26642 * conform/data/stdio.h-data: Likewise.
26643 * conform/data/stdlib.h-data: Likewise.
26644 * conform/data/stropts.h-data: Likewise.
26645 * conform/data/sys/mman.h-data: Likewise.
26646 * conform/data/sys/stat.h-data: Likewise.
26647 * conform/data/sys/types.h-data: Likewise.
26648 * conform/data/sys/wait.h-data: Likewise.
26649 * conform/data/time.h-data: Likewise.
26650 * conform/data/unistd.h-data: Likewise.
26651 * conform/data/utime.h-data: Likewise.
26652
26653 * io/sys/stat.h: fchmod was always in POSIX.
26654 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
26655 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
26656 * rt/aio.h: Define __need_timespec before including <time.h>.
26657 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
26658 struct. Add forward declaration of pthread_attr_t and use it in
26659 sigevent.
26660 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26661 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26662 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
26663 always remove CLK_TCK definition.
26664
c20105c3
AS
266652012-02-26 Andreas Schwab <schwab@linux-m68k.org>
26666
26667 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
26668
7a270350
UD
266692012-02-25 Ulrich Drepper <drepper@gmail.com>
26670
31341567
UD
26671 * conform/run-conformtest.sh: New file.
26672 * conform/Makefile: Run run-conformtest for tests.
26673 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
26674 support.
26675
26676 * conform/data/uchar.h-data: New file.
26677 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
26678 * conform/data/arpa/inet.h-data: Likewise.
26679 * conform/data/assert.h-data: Likewise.
26680 * conform/data/complex.h-data: Likewise.
26681 * conform/data/cpio.h-data: Likewise.
26682 * conform/data/ctype.h-data: Likewise.
26683 * conform/data/dirent.h-data: Likewise.
26684 * conform/data/dlfcn.h-data: Likewise.
26685 * conform/data/errno.h-data: Likewise.
26686 * conform/data/fcntl.h-data: Likewise.
26687 * conform/data/float.h-data: Likewise.
26688 * conform/data/fmtmsg.h-data: Likewise.
26689 * conform/data/fnmatch.h-data: Likewise.
26690 * conform/data/ftw.h-data: Likewise.
26691 * conform/data/glob.h-data: Likewise.
26692 * conform/data/grp.h-data: Likewise.
26693 * conform/data/iconv.h-data: Likewise.
26694 * conform/data/inttypes.h-data: Likewise.
26695 * conform/data/langinfo.h-data: Likewise.
26696 * conform/data/libgen.h-data: Likewise.
26697 * conform/data/limits.h-data: Likewise.
26698 * conform/data/locale.h-data: Likewise.
26699 * conform/data/math.h-data: Likewise.
26700 * conform/data/monetary.h-data: Likewise.
26701 * conform/data/mqueue.h-data: Likewise.
26702 * conform/data/ndbm.h-data: Likewise.
26703 * conform/data/net/if.h-data: Likewise.
26704 * conform/data/netdb.h-data: Likewise.
26705 * conform/data/netinet/in.h-data: Likewise.
26706 * conform/data/nl_types.h-data: Likewise.
26707 * conform/data/poll.h-data: Likewise.
26708 * conform/data/pthread.h-data: Likewise.
26709 * conform/data/pwd.h-data: Likewise.
26710 * conform/data/regex.h-data: Likewise.
26711 * conform/data/sched.h-data: Likewise.
26712 * conform/data/search.h-data: Likewise.
26713 * conform/data/semaphore.h-data: Likewise.
26714 * conform/data/setjmp.h-data: Likewise.
26715 * conform/data/signal.h-data: Likewise.
26716 * conform/data/spawn.h-data: Likewise.
26717 * conform/data/stdarg.h-data: Likewise.
26718 * conform/data/stdio.h-data: Likewise.
26719 * conform/data/stdlib.h-data: Likewise.
26720 * conform/data/string.h-data: Likewise.
26721 * conform/data/strings.h-data: Likewise.
26722 * conform/data/stropts.h-data: Likewise.
26723 * conform/data/sys/ipc.h-data: Likewise.
26724 * conform/data/sys/mman.h-data: Likewise.
26725 * conform/data/sys/msg.h-data: Likewise.
26726 * conform/data/sys/resource.h-data: Likewise.
26727 * conform/data/sys/select.h-data: Likewise.
26728 * conform/data/sys/sem.h-data: Likewise.
26729 * conform/data/sys/shm.h-data: Likewise.
26730 * conform/data/sys/socket.h-data: Likewise.
26731 * conform/data/sys/stat.h-data: Likewise.
26732 * conform/data/sys/statvfs.h-data: Likewise.
26733 * conform/data/sys/time.h-data: Likewise.
26734 * conform/data/sys/timeb.h-data: Likewise.
26735 * conform/data/sys/times.h-data: Likewise.
26736 * conform/data/sys/types.h-data: Likewise.
26737 * conform/data/sys/uio.h-data: Likewise.
26738 * conform/data/sys/un.h-data: Likewise.
26739 * conform/data/sys/utsname.h-data: Likewise.
26740 * conform/data/sys/wait.h-data: Likewise.
26741 * conform/data/syslog.h-data: Likewise.
26742 * conform/data/tar.h-data: Likewise.
26743 * conform/data/termios.h-data: Likewise.
26744 * conform/data/utime.h-data: Likewise.
26745 * conform/data/utmpx.h-data: Likewise.
26746 * conform/data/varargs.h-data: Likewise.
26747 * conform/data/wchar.h-data: Likewise.
26748 * conform/data/wctype.h-data: Likewise.
26749 * conform/data/wordexp.h-data: Likewise.
26750
26751 * include/stropts.h: New file.
26752 * include/uchar.h: New file.
26753 * include/aio.h: Changes to allow conformtest.pl to use the headers.
26754 * include/assert.h: Likewise.
26755 * include/ctype.h: Likewise.
26756 * include/dirent.h: Likewise.
26757 * include/dlfcn.h: Likewise.
26758 * include/fcntl.h: Likewise.
26759 * include/fnmatch.h: Likewise.
26760 * include/glob.h: Likewise.
26761 * include/grp.h: Likewise.
26762 * include/libio.h: Likewise.
26763 * include/locale.h: Likewise.
26764 * include/math.h: Likewise.
26765 * include/net/if.h: Likewise.
26766 * include/netdb.h: Likewise.
26767 * include/netinet/in.h: Likewise.
26768 * include/pthread.h: Likewise.
26769 * include/pwd.h: Likewise.
26770 * include/regex.h: Likewise.
26771 * include/sched.h: Likewise.
26772 * include/search.h: Likewise.
26773 * include/setjmp.h: Likewise.
26774 * include/signal.h: Likewise.
26775 * include/stdio.h: Likewise.
26776 * include/stdlib.h: Likewise.
26777 * include/string.h: Likewise.
26778 * include/sys/cdefs.h: Likewise.
26779 * include/sys/mman.h: Likewise.
26780 * include/sys/msg.h: Likewise.
26781 * include/sys/resource.h: Likewise.
26782 * include/sys/select.h: Likewise.
26783 * include/sys/socket.h: Likewise.
26784 * include/sys/stat.h: Likewise.
26785 * include/sys/statvfs.h: Likewise.
26786 * include/sys/time.h: Likewise.
26787 * include/sys/times.h: Likewise.
26788 * include/sys/uio.h: Likewise.
26789 * include/sys/utsname.h: Likewise.
26790 * include/sys/wait.h: Likewise.
26791 * include/termios.h: Likewise.
26792 * include/time.h: Likewise.
26793 * include/ulimit.h: Likewise.
26794 * include/unistd.h: Likewise.
26795 * include/utime.h: Likewise.
26796 * include/wchar.h: Likewise.
26797 * include/wctype.h: Likewise.
26798 * include/wordexp.h: Likewise.
26799
26800 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
26801
7a270350
UD
26802 * time/time.h: TIME_UTC must be a macro.
26803 Make timespec_get available for ISO C11 only as well.
26804
7724defc
UD
268052012-02-24 Ulrich Drepper <drepper@gmail.com>
26806
26807 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
26808 Reported by Peng Haitao <penght@cn.fujitsu.com>.
26809
6b1d1d46
JM
268102012-02-24 Joseph Myers <joseph@codesourcery.com>
26811
26812 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 26813
0f8bbd69
JM
268142012-02-24 Joseph Myers <joseph@codesourcery.com>
26815
26816 * manual/texinfo.tex: Update to version 2012-01-19.16.
26817
66ab80bc
JM
268182012-02-24 Joseph Myers <joseph@codesourcery.com>
26819
26820 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
26821
74981cc5
RM
268222012-02-24 Roland McGrath <roland@hack.frob.com>
26823
ee968201
RM
26824 [BZ #13738]
26825 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
26826 * manual/fdl-1.3.texi: New file.
26827 * manual/fdl-1.1.texi: File removed.
26828
74981cc5
RM
26829 [BZ #13738]
26830 * manual/libc.texinfo (FDL_VERSION): New @set.
26831 Use it for mention of FDL in cover text.
26832 (Documentation License): Use it in @include file name.
26833
7bb764bc
JM
268342012-02-22 Joseph Myers <joseph@codesourcery.com>
26835 Roland McGrath <roland@hack.frob.com>
26836
26837 [BZ #5461]
26838 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
26839 not LONG_LONG_MAX and LONG_LONG_MIN.
26840 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
26841 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
26842 name.
26843 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
26844
6cbeae47
JM
268452012-02-22 Joseph Myers <joseph@codesourcery.com>
26846
26847 [BZ #2547]
26848 [BZ #11365]
26849 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
26850 manipulate bits before adding and subtracting TWO23[sx].
26851 * math/libm-test.inc (nearbyint_test): Add more tests.
26852
fe45ce09
JM
268532012-02-22 Joseph Myers <joseph@codesourcery.com>
26854
26855 [BZ #2548]
26856 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
26857 bits before adding and subtracting TWO23[sx].
26858 * math/libm-test.inc (rint_test): Add more tests.
26859 (rint_test_tonearest): Likewise.
26860 (rint_test_towardzero): Likewise.
26861 (rint_test_downward): Likewise.
26862 (rint_test_upward: Likewise.
26863
ff3b3d82
JM
268642012-02-22 Joseph Myers <joseph@codesourcery.com>
26865
26866 [BZ #10110]
26867 * include/stdc-predef.h: New file. Extracted from features.h.
26868 * include/features.h: Include stdc-predef.h.
26869 * Makefile (headers): Add stdc-predef.h.
26870 * CONFORMANCE (Compiler limitations): Update.
26871
ef0aab35
JM
268722012-02-22 Joseph Myers <joseph@codesourcery.com>
26873
26874 * manual/libc.texinfo (VERSION, UPDATED): Revert.
26875
58639409
DM
268762012-02-21 David S. Miller <davem@davemloft.net>
26877
26878 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
26879 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26880
c0e70b25
DM
268812012-02-20 David S. Miller <davem@davemloft.net>
26882
26883 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
26884 using a normal save/restore sequence, rather than allocating a
26885 dummy stack frame just to store a frame pointer and restore.
26886 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26887
fb06851d
JM
268882012-02-21 Joseph Myers <joseph@codesourcery.com>
26889
26890 * manual/install.texi: Fix stray word in line-wrapped comment.
26891
7a8b71c3
DM
268922012-02-20 David S. Miller <davem@davemloft.net>
26893
d510c123
DM
26894 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
26895 both binutils and gcc support GOTDATA.
26896
0722d7c2
DM
26897 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
26898 "rd %pc" in the PIC register setup sequences.
26899
3d2b3019
DM
26900 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
26901 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
26902 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26903 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
26904 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26905 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26906 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26907 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26908 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
26909 (SYSCALL_ERROR_HANDLER): Likewise.
26910 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26911 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26912 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
26913 (SYSCALL_ERROR_HANDLER): Likewise.
26914
c80098a9
DM
26915 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
26916 (HAVE_GCC_GOTDATA): New.
26917 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
26918 relocation support in both binutils and gcc.
26919 * sysdeps/sparc/elf/configure: Regenerate.
26920
3a2545a0
DM
26921 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
26922 * sysdeps/sparc/sparc32/elf/configure: Delete.
26923 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
26924 * sysdeps/sparc/sparc64/elf/configure: Delete.
26925 * sysdeps/sparc/elf/configure.in: New file.
26926 * sysdeps/sparc/elf/configure: Generate.
26927
7a8b71c3
DM
26928 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
26929 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
26930 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
26931 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
26932 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
26933
f1e86fca
JM
269342012-02-21 Joseph Myers <joseph@codesourcery.com>
26935
26936 * manual/install.texi: Do not mention specific glibc version
26937 numbers.
26938 * manual/libc.texinfo (VERSION, UPDATED): Update.
26939 (@copying): Use @copyright{} and range of years.
26940
0e7dfaef
JM
269412012-02-21 Joseph Myers <joseph@codesourcery.com>
26942
26943 [BZ #13695]
26944 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
26945 [crti.S not in sysdirs] (generated): Do not append.
26946 [crti.S not in sysdirs] (omit-deps): Likewise.
26947 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
26948 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
26949 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
26950 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
26951 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
26952 Likewise.
26953 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
26954 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
26955 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
26956 * csu/defs.awk: Remove file.
26957 * sysdeps/generic/initfini.c: Likewise.
26958 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
26959 variable.
26960 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
26961 Likewise.
26962
599af3ca
JM
269632012-02-20 Joseph Myers <joseph@codesourcery.com>
26964
26965 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
26966 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
26967 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
26968 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
26969 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26970 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
26971 <bits/epoll.h>.
26972 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
26973 (__EPOLL_PACKED): Define to empty if not defined by
26974 <bits/epoll.h>.
26975 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
26976 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26977 bits/epoll.h.
26978
0e499750
JM
269792012-02-20 Joseph Myers <joseph@codesourcery.com>
26980
26981 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
26982 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
26983 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
26984 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
26985 <bits/timerfd.h>.
26986 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
26987 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26988 bits/timerfd.h.
26989
5ad91f6e
JM
269902012-02-20 Joseph Myers <joseph@codesourcery.com>
26991
26992 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
26993 in C locale.
26994 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26995 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26996 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
26997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26998
06b99b02
AJ
269992012-02-20 Aurelien Jarno <aurelien@aurel32.net>
27000
27001 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27002 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27003
7638c0fd
AS
270042012-02-19 Andreas Schwab <schwab@linux-m68k.org>
27005
27006 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
27007 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
27008 defined.
27009 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
27010 Likewise.
27011 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
27012 entry for 2.16.
27013
92221550
AJ
270142012-02-19 Aurelien Jarno <aurelien@aurel32.net>
27015
27016 * math/w_acos.c: Use non-signaling floating-point comparisons.
27017 * math/w_acosf.c: Likewise.
27018 * math/w_acosh.c: Likewise.
27019 * math/w_acoshf.c: Likewise.
27020 * math/w_acoshl.c: Likewise.
27021 * math/w_acosl.c: Likewise.
27022 * math/w_asin.c: Likewise.
27023 * math/w_asinf.c: Likewise.
27024 * math/w_asinl.c: Likewise.
27025 * math/w_atanh.c: Likewise.
27026 * math/w_atanhf.c: Likewise.
27027 * math/w_atanhl.c: Likewise.
27028 * math/w_exp2.c: Likewise.
27029 * math/w_exp2f.c: Likewise.
27030 * math/w_exp2l.c: Likewise.
27031 * math/w_j0.c: Likewise.
27032 * math/w_j0f.c: Likewise.
27033 * math/w_j0l.c: Likewise.
27034 * math/w_j1.c: Likewise.
27035 * math/w_j1f.c: Likewise.
27036 * math/w_j1l.c: Likewise.
27037 * math/w_jn.c: Likewise.
27038 * math/w_jnf.c: Likewise.
27039 * math/w_log.c: Likewise.
27040 * math/w_log10.c: Likewise.
27041 * math/w_log10f.c: Likewise.
27042 * math/w_log10l.c: Likewise.
27043 * math/w_log2.c: Likewise.
27044 * math/w_log2f.c: Likewise.
27045 * math/w_log2l.c: Likewise.
27046 * math/w_logf.c: Likewise.
27047 * math/w_logl.c: Likewise.
27048 * math/w_sqrt.c: Likewise.
27049 * math/w_sqrtf.c: Likewise.
27050 * math/w_sqrtl.c: Likewise.
27051 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27052 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
27053 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27054 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27055 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27056
ebaf36eb
JM
270572012-02-19 Joseph Myers <joseph@codesourcery.com>
27058
27059 [BZ #9739]
27060 * manual/string.texi (strnlen): Use correct parameter name in
27061 equivalent expression.
27062
71c254a6
JM
270632012-02-19 Joseph Myers <joseph@codesourcery.com>
27064
27065 [BZ #11174]
27066 * manual/users.texi (seteuid): Consistently use neweuid for
27067 argument name.
27068
16d2c631
JM
270692012-02-19 Joseph Myers <joseph@codesourcery.com>
27070
27071 [BZ #13704]
27072 * manual/nss.texi (Services in the NSS configuration): Correct
27073 list of services in example configuration file.
27074
cd837b09
NB
270752012-02-19 Nick Bowler <nbowler@draconx.ca>
27076
27077 [BZ #11322]
27078 * manual/arith.texi: Remove statements about negative zero
27079 behaving identically to zero.
27080
02c4bbad
JM
270812012-02-18 Joseph Myers <joseph@codesourcery.com>
27082
27083 [BZ #5993]
27084 * manual/install.texi: Do not document upgrading from libc5.
27085
366842e7
JM
270862012-02-18 Joseph Myers <joseph@codesourcery.com>
27087
27088 [BZ #4596]
27089 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
27090
dd54084d
DM
270912012-02-18 David S. Miller <davem@davemloft.net>
27092
27093 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
27094 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
27095 %o7 across the call.
27096 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
27097 instead.
27098 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
27099 SETUP_PIC_REG_LEAF.
27100 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27101 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
27102 * sysdeps/sparc/crtn.S: Likewise.
27103
2bcc53a3
UD
271042012-02-17 Ulrich Drepper <drepper@gmail.com>
27105
27106 * aout/Makefile: Remove.
27107
09c093b5
RK
271082012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
27109
27110 [BZ #13058]
27111 * manual/examples/argp-ex1.c (main): Format definition in GNU
27112 style.
27113 * manual/examples/argp-ex2.c (main): Likewise.
27114 * manual/examples/argp-ex3.c (main): Likewise.
27115 * manual/examples/argp-ex4.c (main): Likewise.
27116 * manual/examples/longopt.c (main): Use new-style prototype
27117 definition.
27118 * manual/examples/strncat.c (main): Specify return type and use
27119 (void) for arguments.
27120 * manual/examples/subopt.c (main): Use char **argv argument.
27121
2ee633a2
JM
271222012-02-17 Joseph Myers <joseph@codesourcery.com>
27123
27124 [BZ #5077]
27125 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
27126 rounding modes.
27127
0520adde
FB
271282012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
27129
27130 [BZ #6907]
27131 * manual/string.texi (strchr): Change when strchrnul is
27132 recommended.
27133
3f4081cd
DGM
271342012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
27135
27136 [BZ #174]
27137 * manual/locale.texi (setlocale): Document LOCPATH.
27138
d1b10e78
JM
271392012-02-17 Joseph Myers <joseph@codesourcery.com>
27140
27141 [BZ #10210]
27142 * manual/process.texi (execle): Move @dots{} before last argument.
27143
79c6869c
PB
271442012-02-17 Paul Bolle <pebolle@tiscali.nl>
27145
27146 [BZ #12047]
27147 * manual/charset.texi (Generic Charset Conversion): Fix typo
27148 (LC_TYPE -> LC_CTYPE).
27149
cc6e48bc
NB
271502012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
27151
27152 [BZ #5805]
27153 * manual/arith.texi (scalbn): Use @var{} on parameter names.
27154 (scalbnf): Likewise.
27155 (scalbnl): Likewise.
27156 (scalbln): Likewise.
27157 (scalblnf): Likewise.
27158 (scalblnl): Likewise.
27159 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
27160 (vwarnx): Likewise.
27161 (verr): Likewise.
27162 (verrx): Likewise.
27163 * manual/filesys.texi (telldir): Use braces around return type.
27164 * manual/llio.texi (mmap): Add space after comma.
27165 (mmap64): Likewise.
27166 * manual/math.texi (jn): Use @var{} on parameter names.
27167 (jnf): Likewise.
27168 (jnl): Likewise.
27169 (yn): Likewise.
27170 (ynf): Likewise.
27171 (ynl): Likewise.
27172 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
27173 line.
27174 * manual/resource.texi (ulimit): Use @dots{} instead of literal
27175 "...".
27176 (sched_get_priority_min): Remove semicolon on @deftypefun line.
27177 (sched_get_priority_max): Likewise.
27178 * manual/signal.texi (sigvec): Add space after comma.
27179 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
27180 names.
27181 (if_indextoname): Likewise.
27182 (if_freenameindex): Likewise.
27183 (sendto): Use ',' instead of '.' in prototype.
27184 * manual/startup.texi (syscall): Use @dots{} instead of literal
27185 "...".
27186 * manual/stdio.texi (__fpending): Separate initial words of
27187 paragraph from @deftypefun line.
27188 * manual/syslog.texi (syslog): Use @dots{} instead of literal
27189 "...".
27190 (vsyslog): Use @var{} on parameter names.
27191 * manual/terminal.texi (stty): Use @var{} on parameter names.
27192 * manual/users.texi (getutmp): Use @var{} on parameter names.
27193 (getutmpx): Likewise.
27194
5b23062f
JM
271952012-02-17 Joseph Myers <joseph@codesourcery.com>
27196
27197 [BZ #6884]
27198 * manual/stdio.texi (fopen): Fix typos in description of
27199 ",ccs=STRING".
27200
8dee4833
AJ
272012012-02-17 Aurelien Jarno <aurelien@aurel32.net>
27202
27203 [BZ #4026]
27204 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
27205 get clock_id definition.
27206
9078ce93
TS
272072012-02-17 Thomas Schwinge <thomas@schwinge.name>
27208
27209 [BZ #4822]
27210 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
27211 (madvise): Cast every argument to void on its own.
27212
3835c55f
JM
272132012-02-17 Joseph Myers <joseph@codesourcery.com>
27214
27215 [BZ #9902]
27216 * manual/startup.texi (Exit Status): Fix typo.
27217
35c47e37
JM
272182012-02-17 Joseph Myers <joseph@codesourcery.com>
27219
27220 [BZ #10140]
27221 * manual/examples/argp-ex1.c: Include <stdlib.h>.
27222 * manual/examples/argp-ex2.c: Likewise.
27223 * manual/examples/argp-ex3.c: Likewise.
27224
e3b69ca7
RH
272252012-02-16 Richard Henderson <rth@redhat.com>
27226
27227 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
27228 * sysdeps/s390/s390-32/initfini.c: Remove.
27229 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
27230 * sysdeps/s390/s390-64/initfini.c: Remove.
27231
df83af67
KK
272322012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27233
27234 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
27235 compiler output for sysdeps/generic/initfini.c.
27236 * sysdeps/sh/elf/initfini.c: Remove file.
27237
f63f3380
DM
272382012-02-16 David S. Miller <davem@davemloft.net>
27239
fb59b3a4
DM
27240 [BZ #11494]
27241 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
27242
f63f3380
DM
27243 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
27244 * sysdeps/sparc/crti.S: New file.
27245 * sysdeps/sparc/crtn.S: New file.
27246 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
27247 * sysdeps/sparc/sparc64/Makefile: Likewise.
27248
df6a4a4a
MF
272492012-02-15 Mike Frysinger <vapier@gentoo.org>
27250
6dd8f3dc 27251 [BZ #3335]
df6a4a4a
MF
27252 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
27253
1cac7236
RM
272542012-02-15 Roland McGrath <roland@hack.frob.com>
27255
d2c736f8
RM
27256 [BZ #4822]
27257 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
27258
1cac7236
RM
27259 * mach/devstream.c (cookie_io_functions_t): Macro removed.
27260 (write, read, close): Likewise.
27261 Patch by Aurelien Jarno <aurelien@aurel32.net>.
27262
8e475601
JM
272632012-02-15 Joseph Myers <joseph@codesourcery.com>
27264
27265 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
27266 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
27267 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
27268 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
27269 <bits/signalfd.h>.
27270 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
27271 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27272 bits/signalfd.h.
27273
ed656b40
MP
272742012-02-14 Marek Polacek <polacek@redhat.com>
27275
27276 * sysdeps/x86_64/crti.S: New file.
27277 * sysdeps/x86_64/crtn.S: New file.
27278 * sysdeps/x86_64/elf/initfini.c: Remove file.
27279
2a979d3a
JM
272802012-02-13 Joseph Myers <joseph@codesourcery.com>
27281
27282 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
27283 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
27284 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
27285 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
27286 <bits/inotify.h>.
27287 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
27288 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27289 bits/inotify.h.
27290
2a418ac3
JM
272912012-02-13 Joseph Myers <joseph@codesourcery.com>
27292
27293 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
27294 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
27295 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
27296 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
27297 <bits/eventfd.h>.
27298 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
27299 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27300 bits/eventfd.h.
27301
fb779be7
TS
273022012-02-10 Thomas Schwinge <thomas@codesourcery.com>
27303
e19e83c5
RM
27304 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
27305 __feraiseexcept instead of feraiseexcept.
7c35ffed 27306
fb779be7
TS
27307 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
27308 nanosleep invocations.
27309 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
27310 strings, and add error checking for a nanosleep invocations.
27311
59ba27a6
PE
273122012-02-09 Paul Eggert <eggert@cs.ucla.edu>
27313
27314 Replace FSF snail mail address with URLs, as per GNU coding standards.
27315 Most of the snail mail addresses were wrong anyway, and omitting
27316 them makes the source code easier to maintain. Almost all of the
27317 changes are to license notices and to locale LC_IDENTIFICATION
27318 addresses, except for this one:
27319 * manual/libc.texinfo: In "Published by", give the FSF's URL,
27320 not its snail mail address.
27321
57b957eb
RH
273222012-02-09 Richard Henderson <rth@twiddle.net>
27323
af850b1c
RH
27324 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
27325 of kernel-features.h.
27326
57b957eb
RH
27327 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
27328
6b73181a
MP
273292012-02-08 Marek Polacek <polacek@redhat.com>
27330
27331 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
27332 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
27333 * sysdeps/gnu/_G_config.h: Likewise.
27334 * sysdeps/generic/_G_config.h: Likewise.
27335
26ecc33a
AS
273362012-02-08 Andreas Schwab <schwab@linux-m68k.org>
27337
6c6dbc63
AS
27338 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
27339 tests.
27340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27341
e216c012
AS
27342 * sysdeps/powerpc/powerpc32/crti.S: New file.
27343 * sysdeps/powerpc/powerpc32/crtn.S: New file.
27344 * sysdeps/powerpc/powerpc64/crti.S: New file.
27345 * sysdeps/powerpc/powerpc64/crtn.S: New file.
27346
26ecc33a
AS
27347 * Makeconfig (have-initfini): Don't set.
27348 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
27349 * configure.in (nopic_initfini): Don't substitute.
27350 * config.h.in (HAVE_INITFINI): Don't #undef.
27351 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
27352 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
27353
3add8e13
JM
273542012-02-08 Joseph Myers <joseph@codesourcery.com>
27355
27356 Support crti.S and crtn.S provided directly by architectures.
27357 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
27358 [crti.S in sysdirs] (omit-deps): Likewise.
27359 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
27360 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
27361 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
27362 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
27363 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
27364 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
27365 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
27366 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
27367 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
27368 compiler output for sysdeps/generic/initfini.c.
27369 * sysdeps/i386/elf/Makefile: Remove file.
27370 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
27371
a22f12b4
MP
273722012-02-07 Marek Polacek <polacek@redhat.com>
27373
27374 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
27375 * sysdeps/gnu/_G_config.h: Likewise.
27376 * sysdeps/mach/hurd/_G_config.h: Likewise.
27377
148cf100
MP
273782012-02-07 Marek Polacek <polacek@redhat.com>
27379
27380 * math/Makefile (tests): Add tst-CMPLX2.
27381 * math/tst-CMPLX2.c: New file.
27382
cfdc0dd7
AS
273832012-02-07 Andreas Schwab <schwab@linux-m68k.org>
27384
84ba42c4
AS
27385 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27386
cfdc0dd7
AS
27387 * math/libm-test.inc (jn_test): Add missing L suffix.
27388
622c86f4
MP
273892012-02-06 Marek Polacek <polacek@redhat.com>
27390
27391 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
27392 * sysdeps/i386/fpu/e_powf.S: Likewise.
27393 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27394 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27395 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27396 * sysdeps/i386/fpu/e_pow.S: Likewise.
27397 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27398 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27399 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27400 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27401 * sysdeps/i386/fpu/e_log2.S: Likewise.
27402 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27403 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27404 * sysdeps/i386/fpu/e_powl.S: Likewise.
27405 * sysdeps/i386/fpu/s_log1p.S: Likewise.
27406 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27407 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27408 * sysdeps/i386/fpu/e_logl.S: Likewise.
27409 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27410 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
27411 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27412 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27413 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27414 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27415 * sysdeps/i386/fpu/e_log.S: Likewise.
27416 * sysdeps/i386/fpu/s_cexp.S: Likewise.
27417 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27418 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
27419 * sysdeps/i386/fpu/e_logf.S: Likewise.
27420 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27421 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27422 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
27423 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27424 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27425 * sysdeps/i386/fpu/e_log10.S: Likewise.
27426 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27427 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27428 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27429 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27430 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27431 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27432 * sysdeps/i386/asm-syntax.h: Likewise.
27433 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27434 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27435 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27436 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
27437 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
27438 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27439 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27440 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27441 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27442 * sysdeps/powerpc/sysdep.h: Likewise.
27443 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
27444 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27445
d4a54ac6
JM
274462012-02-06 Joseph Myers <joseph@codesourcery.com>
27447
27448 [BZ #411]
27449 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
27450
314054ea
JM
274512012-02-06 Joseph Myers <joseph@codesourcery.com>
27452
27453 * sysdeps/i386/sysdep.h: Include <features.h>.
27454 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
27455 version.
27456
d8e0ca50
JM
274572012-02-05 Joseph Myers <joseph@codesourcery.com>
27458
27459 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
27460 Define.
27461 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
27462 LOAD_PIC_REG_STR.
27463
b1da7dd9
JM
274642012-02-03 Joseph Myers <joseph@codesourcery.com>
27465
27466 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
27467 (SETUP_PIC_REG): Use GET_PC_THUNK.
27468 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
27469 macro.
27470
9a1d9254
JM
274712012-02-03 Joseph Myers <joseph@codesourcery.com>
27472
27473 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
27474 for non-PIC compilation.
27475 (SETUP_PIC_REG): Add .p2align directive.
27476 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
27477 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
27478 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27479 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27480 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27481 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27482 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
27483 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27484 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27485 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27486 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27487 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27488 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27489 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27490 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27491 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27492 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27493 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27494 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27495 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27496 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27497 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27498 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27499 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27500 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27501 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27502 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27503 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27504 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27505 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27506 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27507 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27508 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27509 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27510 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27511 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27512 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27513 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27514 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27515 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27516 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27517
65dc3b75
JM
275182012-02-03 Joseph Myers <joseph@codesourcery.com>
27519
27520 * math/tst-CMPLX.c: Include <stdio.h>.
27521
d55bf177
JM
275222012-01-31 Joseph Myers <joseph@codesourcery.com>
27523
27524 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
27525 float.
27526 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27527 * sysdeps/sparc/bits/mathdef.h: Likewise.
27528
69db4f8f
MP
275292012-01-31 Marek Polacek <polacek@redhat.com>
27530
27531 * libio/libio.h: Don't define _PARAMS.
27532 * locale/programs/config.h: Don't define PARAMS.
27533 * stdlib/strtol_l.c: Likewise.
27534 (__strtol_l): Remove PARAMS from the prototype.
27535
41b81892
UD
275362012-01-31 Ulrich Drepper <drepper@gmail.com>
27537
3b49edc0
UD
27538 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
27539 names. Just use the correct names. Remove unnecessary wrapper
27540 functions.
27541 * malloc/arena.c: Likewise.
27542 * malloc/hooks.c: Likewise.
27543
41b81892
UD
27544 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
27545 ARENA_TEST says not to. Simplify test for creation of a new arena.
27546 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
27547
27a25b6e
UD
275482012-01-30 Ulrich Drepper <drepper@gmail.com>
27549
27550 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
27551 into tail calls.
27552 (update_get_addr): New function.
27553 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
27554 GET_ADDR_MODULE parameter.
27555
c8a89e7d
JM
275562012-01-30 Joseph Myers <joseph@codesourcery.com>
27557
27558 * crypt/cert.c: Remove __STDC__ conditionals.
27559 * crypt/crypt-entry.c: Likewise.
27560 * crypt/crypt_util.c: Likewise.
27561 * libio/filedoalloc.c: Likewise.
27562 * libio/fileops.c: Likewise.
27563 * libio/genops.c: Likewise.
27564 * libio/iofclose.c: Likewise.
27565 * libio/iofdopen.c: Likewise.
27566 * libio/iofopen.c: Likewise.
27567 * libio/iofopen64.c: Likewise.
27568 * libio/iogetdelim.c: Likewise.
27569 * libio/iopopen.c: Likewise.
27570 * libio/obprintf.c: Likewise.
27571 * libio/oldfileops.c: Likewise.
27572 * libio/oldiofclose.c: Likewise.
27573 * libio/oldiofdopen.c: Likewise.
27574 * libio/oldiofopen.c: Likewise.
27575 * libio/oldiopopen.c: Likewise.
27576 * libio/wfiledoalloc.c: Likewise.
27577 * libio/wgenops.c: Likewise.
27578 * locale/programs/xmalloc.c: Likewise.
27579 * misc/syslog.c: Likewise.
27580 * stdio-common/xbug.c: Likewise.
27581 * string/memchr.c: Likewise.
27582 * string/memcmp.c: Likewise.
27583 * string/memrchr.c: Likewise.
27584 * string/rawmemchr.c: Likewise.
27585 * sysdeps/posix/getcwd.c: Likewise.
27586 * time/strftime_l.c: Likewise.
27587
3b100462
JM
275882012-01-30 Joseph Myers <joseph@codesourcery.com>
27589
27590 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
27591 * config.make.in (config-cflags-sse2avx): Define.
27592 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
27593 Fix typo.
27594
607998af
CM
275952012-01-29 Chris Metcalf <cmetcalf@tilera.com>
27596
27597 * scripts/config.guess: Update from upstream config git repository.
27598 * scripts/config.sub: Likewise.
27599
3601428f
CM
276002012-01-28 Chris Metcalf <cmetcalf@tilera.com>
27601
3ac8b282
CM
27602 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
27603 (EM_NUM): Update.
27604 (R_TILEPRO_*, R_TILEGX_*): New macros.
27605
e034841e
CM
27606 * scripts/firstversions.awk: Fix bug in version range handling.
27607
540d7568
CM
27608 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
27609
3601428f
CM
27610 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
27611
463de862
CM
27612 * include/sys/epoll.h: New file.
27613 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
27614 libc_hidden_def.
27615
73139a76
UD
276162012-01-28 Ulrich Drepper <drepper@gmail.com>
27617
96bc5b45
UD
27618 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
27619 Avoid unnecessary __WORDSIZE == 64 test.
27620 (fmaxf): Use VEX format if possible.
27621 (fmax): Likewise.
27622 (fminf): Likewise.
27623 (fmin): Likewise.
27624
56f6f6a2
UD
27625 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
27626 * math/math_private.h: Remove libc_fegetround* and
27627 libc_fesetround*.
27628 * sysdeps/i386/configure.in: Check for -msse2avx.
27629 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
27630 also if SSE2AVX is defined.
27631 Remove libc_fegetround* and libc_fesetround*.
27632 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
27633 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
27634 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
27635 of HAS_YMM_USABLE.
27636 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27637 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27638 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27639 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27640 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27641
73139a76
UD
27642 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
27643
d73f93a4
AZ
276442012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27645
27646 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
27647 size is not set.
27648 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27649
6ee65ed6
UD
276502012-01-27 Ulrich Drepper <drepper@gmail.com>
27651
27652 [BZ #13618]
27653 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
27654 relocation.
27655 * Makeconfig (libm): Define.
27656 * elf/Makefile: Add rules to build and run tst-relsort1.
27657 * elf/tst-relsort1.c: New file.
27658 * elf/tst-relsort1mod1.c: New file.
27659 * elf/tst-relsort1mod2.c: New file.
27660
8db21882
JM
276612012-01-27 Joseph Myers <joseph@codesourcery.com>
27662
27663 * math/s_ldexp.c: Remove __STDC__ conditionals.
27664 * math/s_ldexpf.c: Likewise.
27665 * math/s_ldexpl.c: Likewise.
27666 * math/s_nextafter.c: Likewise.
27667 * math/s_nexttowardf.c: Likewise.
27668 * math/s_significand.c: Likewise.
27669 * math/s_significandf.c: Likewise.
27670 * math/s_significandl.c: Likewise.
27671 * math/w_jnl.c: Likewise.
27672 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27673 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27674 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27675 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27676 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27677 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27678 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
27679 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27680 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27681 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27682 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27683 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27684 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27685 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27686 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27687 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27688 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27689 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27690 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27691 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27692 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27693 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27694 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27695 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27696 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27697 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27698 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27699 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27700 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27701 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27702 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27703 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27704 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27705 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27706 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27707 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27708 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27709 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27710 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27711 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27712 * sysdeps/ieee754/k_standard.c: Likewise.
27713 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27714 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27715 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27716 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27717 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27718 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27719 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27720 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27721 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27722 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27723 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27724 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27725 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27726 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27727 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27728 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27729 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27730 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27731 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27732 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27733 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27734 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27735 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27736 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27737 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27738 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27739 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27740 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27741 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27742 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27743 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27744 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
27745 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27746 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27747 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27748 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27749 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
27750 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27751 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27752 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
27753 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
27754 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27755 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
27756 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
27757 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27758 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27759 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27760 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27761 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27762 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
27763 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
27764 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27765 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27766 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27767 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27768 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27769 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
27770 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27771 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27772 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27773 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27774 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27775 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27776 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27777 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27778 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27779 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27780 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27781 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27782 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27783 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27784 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27785 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27786 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27787 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27788 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27789 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27790 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27791 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27792 * sysdeps/ieee754/s_matherr.c: Likewise.
27793 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27794 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27795 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27796 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27797
965a54a4
JM
277982012-01-26 Joseph Myers <joseph@codesourcery.com>
27799
27800 * crypt/md5.h: Remove __STDC__ conditionals.
27801 * libio/libioP.h: Likewise.
27802 * locale/programs/config.h: Likewise.
27803 * sysdeps/generic/sysdep.h: Likewise.
27804 * sysdeps/i386/asm-syntax.h: Likewise.
27805 * sysdeps/s390/asm-syntax.h: Likewise.
27806 * sysdeps/unix/sysdep.h: Likewise.
27807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27809
7071ad79
JM
278102012-01-26 Joseph Myers <joseph@codesourcery.com>
27811
27812 * libio/libio.h: Remove __STDC__ conditionals.
27813 * malloc/obstack.h: Likewise.
27814 * math/complex.h: Likewise.
27815 * math/math.h: Likewise.
27816 * sysdeps/generic/_G_config.h: Likewise.
27817 * sysdeps/gnu/_G_config.h: Likewise.
27818 * sysdeps/mach/hurd/_G_config.h: Likewise.
27819 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27820 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27821 * sysdeps/sparc/bits/mathdef.h: Likewise.
27822
afc5ed09
UD
278232012-01-26 Ulrich Drepper <drepper@gmail.com>
27824
27825 [BZ #13583]
27826 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 27827 Clean up HAS_* macros.
afc5ed09 27828 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
27829 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
27830 possible.
27831 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
27832 HAS_AVX.
27833 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27834 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27835 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27836 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27837 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 27838
bdb6de1d
JM
278392012-01-25 Joseph Myers <joseph@codesourcery.com>
27840
27841 * elf/tst-unique3.cc (gets): Remove declaration.
27842 * elf/tst-unique3lib.cc (gets): Likewise.
27843 * elf/tst-unique3lib2.cc (gets): Likewise.
27844 * elf/tst-unique4.cc (gets): Likewise.
27845
b15549e6
UD
278462012-01-24 Ulrich Drepper <drepper@gmail.com>
27847
27848 * include/stdio.h: Add C++ protection. Add gets declarations and
27849 definitions.
27850 * debug/tst-chk1.c: Don't declare gets here.
27851 * stdio-common/tst-gets.c: Likewise.
27852
a037381f
JM
278532012-01-24 Joseph Myers <joseph@codesourcery.com>
27854
27855 * posix/glob: Remove directory.
27856
f1d4aa75
JM
278572012-01-24 Joseph Myers <joseph@codesourcery.com>
27858
27859 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
27860
81c0c964
PT
278612012-01-22 Pino Toscano <toscano.pino@tiscali.it>
27862
27863 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
27864 of the non-standard EPFNOSUPPORT.
27865
0ea698ae
ST
278662011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
27867
27868 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
27869 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
27870 ANYWHERE set to 1 only on KERN_NO_SPACE error.
27871
d220b117
UD
278722012-01-21 Ulrich Drepper <drepper@gmail.com>
27873
27874 * wcsmbs/uchar.h: Test __STDC_VERSION__.
27875
3e1aa84e
UD
278762012-01-20 Ulrich Drepper <drepper@gmail.com>
27877
27878 * nscd/aicache.c (addhstaiX): Do not cache negative results of
27879 transient errors.
27880 * nscd/grpcache.c (cache_addgr): Likewise.
27881 * nscd/hstcache.c (cache_addhst): Likewise.
27882 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27883 * nscd/pwdcache.c (cache_addpw): Likewise.
27884 * nscd/servicescache.c (cache_addserv): Likewise.
27885
400aa020
UD
278862012-01-16 Ulrich Drepper <drepper@gmail.com>
27887
d77e7869
UD
27888 * malloc/malloc.c: Various cleanups.
27889 * malloc/hooks.c: Likewise.
27890
400aa020
UD
27891 * stdlib/Makefile (tests): Add bug-fmtmsg1.
27892 * stdlib/bug-fmtmsg1.c: New file.
27893
27894 * stdlib/fmtmsg.c (init): Add missing unlock.
27895 Patch by Peng Haitao <penght@cn.fujitsu.com>.
27896
e0a309cf
MP
278972012-01-12 Marek Polacek <polacek@redhat.com>
27898
27899 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
27900 and _GNU_SOURCE.
27901
929d11c7
WS
279022012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27903
27904 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
27905 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
27906 macro to ensure uniqueness of label name.
27907 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27908 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27909
41d0e869
UD
279102012-01-11 Ulrich Drepper <drepper@gmail.com>
27911
0cc5ed3b
UD
27912 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
27913
41d0e869
UD
27914 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
27915 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27916 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27917 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
27918
a47a831a
UD
279192012-01-10 Ulrich Drepper <drepper@gmail.com>
27920
daa891c0
UD
27921 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
27922
27923 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
27924 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27925 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27926
e58ef0f2
UD
27927 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
27928
a47a831a 27929 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
27930 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27931 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 27932 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
27933
27934 * math/bits/math-finite.h: Add ldexp support.
27935
a0bfc9c7
MP
279362012-01-10 Marek Polacek <polacek@redhat.com>
27937
27938 * locale/programs/localedef.h (show_archive_content): Add noreturn
27939 attribute.
27940
d6e97a1d
UD
279412012-01-09 Ulrich Drepper <drepper@gmail.com>
27942
27943 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
27944
d5835c26
UD
279452012-01-08 Ulrich Drepper <drepper@gmail.com>
27946
e5f484c6
UD
27947 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
27948
d5835c26
UD
27949 * io/Makefile (headers): Add bits/poll2.h.
27950
d1f741e9
WS
279512011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
27952
27953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
27954 typo #include statement.
27955
ec09c1c4
UD
279562012-01-08 Ulrich Drepper <drepper@gmail.com>
27957
27958 * include/sys/cdefs.h: Define __attribute_alloc_size.
27959 * catgets/gencat.c: Add alloc_size attribute and apply consistently
27960 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
27961 * elf/pldd.c: Likewise.
27962 * iconv/iconv_charmap.c: Likewise.
27963 * iconv/iconvconfig.c: Likewise.
27964 * iconv/strtab.c: Likewise.
27965 * locale/programs/locale.c: Likewise.
27966 * locale/programs/localedef.h: Likewise.
27967 * locale/programs/simple-hash.c: Likewise.
27968 * nscd/nscd.h: Likewise.
27969 * nss/makedb.c: Likewise.
27970 * sysdeps/generic/ldconfig.h: Likewise.
27971 * locale/programs/localedef.c: Remove xmalloc prototype.
27972 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
27973
20b38e03
PP
279742012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27975
27976 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
27977 appropriate.
27978
a0da5fe1
UD
279792012-01-08 Ulrich Drepper <drepper@gmail.com>
27980
1d5a644a 27981 * math/Makefile (tests): Add tst-CMPLX.
669704fd 27982 * math/tst-CMPLX.c: New file.
1d5a644a 27983
8784a6db
UD
27984 * math/complex.h (CMPLXL): Fix typo.
27985
d9a216c0
UD
27986 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
27987 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
27988 GLIBC_2.16.
27989 * debug/tst-chk1.c: Add poll and ppoll tests.
27990 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
27991 * include/sys/poll.h: Add hidden proto for ppoll.
27992 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
27993 * sysdeps/mach/hurd/ppoll.c: Likewise.
27994 * io/ppoll.c: Likewise.
27995 * debug/poll_chk.c: New file.
27996 * debug/ppoll_chk.c: New file.
27997 * include/bits/poll2.h: New file.
27998 * io/bits/poll2.h: New file.
27999
ac097f5c
UD
28000 [BZ #1350]
28001 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
28002
2119dcfa
UD
28003 * configure.in: static is always set to yes. Remove.
28004 * config.make.in: Don't set build-static.
28005 * Makeconfig: Remove use of build-static.
28006 * dlfcn/Makefile: Likewise.
28007 * elf/Makefile: Likewise.
28008 * math/Makefile: Likewise.
28009 * misc/Makefile: Likewise.
28010 * nptl/Makefile: Likewise.
28011 * sysdeps/mach/hurd/Makefile: Likewise.
28012
121766a9
UD
28013 * configure.in: PWD_P is not used anymore.
28014 * config.make.in: Remove PWD_P entry.
28015
51a1d39c 28016 * configure.in: Remove last remnants of RANLIB.
8720d066 28017 No need to check for signed size_t anymore.
215f4bdc
UD
28018 Don't set libc_commonpagesize and libc_relro_required here for Alpha
28019 and IA-64.
3857022a 28020 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
28021 * aclocal.m4: Likewise.
28022
d3ed7225
UD
28023 * wcsmbs/mbrtoc16.c: Implement using towc function.
28024 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
28025 * wcsmbs/wcsmbsload.c: Likewise.
28026 * iconv/gconv_simple.c: Likewise.
28027 * iconv/gconv_int.h: Likewise.
28028 * iconv/gconv_builtin.h: Likewise.
28029 * iconv/iconv_prog.c: Remove CHAR16 handling.
28030
28031 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
28032
28033 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
28034
a0da5fe1
UD
28035 * configure.in: Remove --with-elf and --enable-bounded options.
28036 Dont set base_machine for ia64. More non-ELF conditions removed.
28037 Remove testing and setting of leading underscore information.
28038 * config.make.in (build-bounded): Set to no.
28039 * config.h.in: Remove NO_UNDERSCORES entry.
28040 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
28041 them.
28042 * csu/start.c: Remove !NO_UNDERSCORE code.
28043 * locale/localeinfo.h: Likewise.
28044 * sysdeps/generic/machine-gmon.h: Likewise.
28045 * sysdeps/generic/sysdep.h: Likewise.
28046 * sysdeps/i386/sysdep.h: Likewise.
28047 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28048 * sysdeps/mach/sysdep.h: Likewise.
28049 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28050 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28051 * sysdeps/sh/sysdep.h: Likewise.
28052 * sysdeps/sparc/sparc32/alloca.S: Likewise.
28053 * sysdeps/unix/i386/sysdep.S: Likewise.
28054 * sysdeps/unix/sparc/start.c: Likewise.
28055 * sysdeps/unix/sparc/sysdep.S: Likewise.
28056 * sysdeps/unix/sparc/sysdep.h: Likewise.
28057 * sysdeps/unix/start.c: Likewise.
28058 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28059 * sysdeps/x86_64/sysdep.h: Likewise.
28060
df78418a
UD
280612012-01-07 Ulrich Drepper <drepper@gmail.com>
28062
a784e502
UD
28063 [BZ #13553]
28064 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
28065 for non-gcc.
28066 * argp/argp-fmtstream.h: Use const instead __const.
28067 * argp/argp.h: Likewise.
28068 * assert/assert.h: Likewise.
28069 * bits/fenv.h: Likewise.
28070 * bits/sched.h: Likewise.
28071 * bits/sigset.h: Likewise.
28072 * bits/sigthread.h: Likewise.
28073 * catgets/nl_types.h: Likewise.
28074 * conform/data/pthread.h-data: Likewise.
28075 * crypt/crypt-private.h: Likewise.
28076 * crypt/crypt.h: Likewise.
28077 * crypt/crypt_util.c: Likewise.
28078 * ctype/ctype.h: Likewise.
28079 * debug/execinfo.h: Likewise.
28080 * debug/mbsnrtowcs_chk.c: Likewise.
28081 * debug/mbsrtowcs_chk.c: Likewise.
28082 * debug/wcsnrtombs_chk.c: Likewise.
28083 * debug/wcsrtombs_chk.c: Likewise.
28084 * debug/wcstombs_chk.c: Likewise.
28085 * dirent/dirent.h: Likewise.
28086 * dlfcn/dlfcn.h: Likewise.
28087 * elf/neededtest4.c: Likewise.
28088 * grp/grp.h: Likewise.
28089 * gshadow/gshadow.h: Likewise.
28090 * iconv/gconv.h: Likewise.
28091 * iconv/gconv_int.h: Likewise.
28092 * iconv/gconv_simple.c: Likewise.
28093 * iconv/iconv.h: Likewise.
28094 * iconv/loop.c: Likewise.
28095 * iconv/skeleton.c: Likewise.
28096 * include/aio.h: Likewise.
28097 * include/aliases.h: Likewise.
28098 * include/argz.h: Likewise.
28099 * include/arpa/inet.h: Likewise.
28100 * include/assert.h: Likewise.
28101 * include/dirent.h: Likewise.
28102 * include/dlfcn.h: Likewise.
28103 * include/execinfo.h: Likewise.
28104 * include/fcntl.h: Likewise.
28105 * include/fenv.h: Likewise.
28106 * include/glob.h: Likewise.
28107 * include/grp.h: Likewise.
28108 * include/libintl.h: Likewise.
28109 * include/mntent.h: Likewise.
28110 * include/netdb.h: Likewise.
28111 * include/pwd.h: Likewise.
28112 * include/rpc/netdb.h: Likewise.
28113 * include/sched.h: Likewise.
28114 * include/search.h: Likewise.
28115 * include/shadow.h: Likewise.
28116 * include/signal.h: Likewise.
28117 * include/stdio.h: Likewise.
28118 * include/stdlib.h: Likewise.
28119 * include/string.h: Likewise.
28120 * include/sys/socket.h: Likewise.
28121 * include/sys/stat.h: Likewise.
28122 * include/sys/statfs.h: Likewise.
28123 * include/sys/statvfs.h: Likewise.
28124 * include/sys/syslog.h: Likewise.
28125 * include/sys/time.h: Likewise.
28126 * include/sys/uio.h: Likewise.
28127 * include/time.h: Likewise.
28128 * include/unistd.h: Likewise.
28129 * include/utmp.h: Likewise.
28130 * include/wchar.h: Likewise.
28131 * include/wctype.h: Likewise.
28132 * inet/aliases.h: Likewise.
28133 * inet/arpa/inet.h: Likewise.
28134 * inet/netinet/ether.h: Likewise.
28135 * inet/netinet/in.h: Likewise.
28136 * intl/libintl.h: Likewise.
28137 * io/bits/fcntl2.h: Likewise.
28138 * io/fcntl.h: Likewise.
28139 * io/ftw.h: Likewise.
28140 * io/sys/poll.h: Likewise.
28141 * io/sys/stat.h: Likewise.
28142 * io/sys/statfs.h: Likewise.
28143 * io/sys/statvfs.h: Likewise.
28144 * io/utime.h: Likewise.
28145 * libio/bits/stdio.h: Likewise.
28146 * libio/bits/stdio2.h: Likewise.
28147 * libio/libio.h: Likewise.
28148 * libio/libioP.h: Likewise.
28149 * libio/stdio.h: Likewise.
28150 * locale/lc-ctype.c: Likewise.
28151 * locale/locale.h: Likewise.
28152 * login/utmp.h: Likewise.
28153 * malloc/arena.c: Likewise.
28154 * malloc/malloc.c: Likewise.
28155 * malloc/malloc.h: Likewise.
28156 * malloc/mcheck.c: Likewise.
28157 * malloc/mtrace.c: Likewise.
28158 * math/bits/mathcalls.h: Likewise.
28159 * math/fenv.h: Likewise.
28160 * math/math_private.h: Likewise.
28161 * misc/bits/error.h: Likewise.
28162 * misc/bits/syslog.h: Likewise.
28163 * misc/err.h: Likewise.
28164 * misc/error.h: Likewise.
28165 * misc/fstab.h: Likewise.
28166 * misc/mntent.h: Likewise.
28167 * misc/regexp.h: Likewise.
28168 * misc/search.h: Likewise.
28169 * misc/sgtty.h: Likewise.
28170 * misc/sys/mman.h: Likewise.
28171 * misc/sys/syslog.h: Likewise.
28172 * misc/sys/uio.h: Likewise.
28173 * misc/sys/xattr.h: Likewise.
28174 * misc/ttyent.h: Likewise.
28175 * nis/rpcsvc/ypclnt.h: Likewise.
28176 * nss/nss.h: Likewise.
28177 * posix/bits/unistd.h: Likewise.
28178 * posix/fnmatch.h: Likewise.
28179 * posix/glob.h: Likewise.
28180 * posix/sched.h: Likewise.
28181 * posix/spawn.h: Likewise.
28182 * posix/sys/wait.h: Likewise.
28183 * posix/unistd.h: Likewise.
28184 * posix/wordexp.h: Likewise.
28185 * pwd/pwd.h: Likewise.
28186 * resolv/netdb.h: Likewise.
28187 * resource/sys/resource.h: Likewise.
28188 * rt/aio.h: Likewise.
28189 * rt/bits/mqueue2.h: Likewise.
28190 * rt/mqueue.h: Likewise.
28191 * shadow/shadow.h: Likewise.
28192 * signal/signal.h: Likewise.
28193 * socket/send.c: Likewise.
28194 * socket/sendto.c: Likewise.
28195 * socket/sys/socket.h: Likewise.
28196 * stdio-common/printf.h: Likewise.
28197 * stdlib/bits/stdlib.h: Likewise.
28198 * stdlib/fmtmsg.h: Likewise.
28199 * stdlib/monetary.h: Likewise.
28200 * stdlib/stdlib.h: Likewise.
28201 * stdlib/ucontext.h: Likewise.
28202 * streams/stropts.h: Likewise.
28203 * string/argz.h: Likewise.
28204 * string/bits/string2.h: Likewise.
28205 * string/string.h: Likewise.
28206 * string/strings.h: Likewise.
28207 * sunrpc/rpc/auth.h: Likewise.
28208 * sunrpc/rpc/auth_des.h: Likewise.
28209 * sunrpc/rpc/clnt.h: Likewise.
28210 * sunrpc/rpc/netdb.h: Likewise.
28211 * sunrpc/rpc/pmap_clnt.h: Likewise.
28212 * sunrpc/rpc/xdr.h: Likewise.
28213 * sysdeps/generic/inttypes.h: Likewise.
28214 * sysdeps/generic/net/if.h: Likewise.
28215 * sysdeps/generic/sys/swap.h: Likewise.
28216 * sysdeps/gnu/net/if.h: Likewise.
28217 * sysdeps/gnu/utmpx.h: Likewise.
28218 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
28219 * sysdeps/i386/i486/bits/string.h: Likewise.
28220 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
28221 * sysdeps/s390/bits/string.h: Likewise.
28222 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
28223 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
28224 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
28225 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
28226 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
28227 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
28228 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
28229 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
28230 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
28231 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28232 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
28233 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28234 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
28235 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28236 * sysdeps/unix/sysv/linux/readv.c: Likewise.
28237 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
28238 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28239 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28240 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
28241 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
28242 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28243 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
28244 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
28245 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
28246 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
28247 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
28248 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
28249 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28250 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
28251 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
28252 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
28253 * sysvipc/sys/ipc.h: Likewise.
28254 * sysvipc/sys/msg.h: Likewise.
28255 * sysvipc/sys/sem.h: Likewise.
28256 * sysvipc/sys/shm.h: Likewise.
28257 * termios/termios.h: Likewise.
28258 * time/sys/time.h: Likewise.
28259 * time/time.h: Likewise.
28260 * wcsmbs/bits/wchar2.h: Likewise.
28261 * wcsmbs/uchar.h: Likewise.
28262 * wcsmbs/wchar.h: Likewise.
28263 * wctype/wctype.h: Likewise.
28264
0269750c
UD
28265 [BZ #13551]
28266 * Makeconfig: Remove all but ELF support including AIX support.
28267 * Makerules: Likewise.
28268 * config.h.in: Likewise.
28269 * config.make.in: Likewise.
28270 * configure: Likewise.
28271 * configure.in: Likewise.
28272 * csu/Makefile: Likewise.
28273 * csu/version.c: Likewise.
28274 * debug/Makefile: Likewise.
28275 * dlfcn/Makefile: Likewise.
28276 * elf/Makefile: Likewise.
28277 * extra-lib.mk: Likewise.
28278 * iconv/Makefile: Likewise.
28279 * include/libc-symbols.h: Likewise.
28280 * include/shlib-compat.h: Likewise.
28281 * resolv/Makefile: Likewise.
28282 * resolv/res_libc.c: Likewise.
28283 * rt/Makefile: Likewise.
28284 * sysdeps/i386/asm-syntax.h: Likewise.
28285 * sysdeps/i386/sysdep.h: Likewise.
28286 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28287 * sysdeps/mach/sysdep.h: Likewise.
28288 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
28289 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
28290 * sysdeps/s390/asm-syntax.h: Likewise.
28291 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28292 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28293 * sysdeps/sh/sysdep.h: Likewise.
28294 * sysdeps/unix/sparc/sysdep.h: Likewise.
28295 * sysdeps/wordsize-32/divdi3.c: Likewise.
28296 * sysdeps/x86_64/sysdep.h: Likewise.
28297
00bbd29b
UD
28298 * argp/Versions: Remove _argp_unlock_xxx.
28299
28300 [BZ #13559]
28301 * abilist/ld.abilist: Update. Adjust for removal of tls option.
28302 * abilist/libBrokenLocale.abilist: Likewise.
28303 * abilist/libanl.abilist: Likewise.
28304 * abilist/libc.abilist: Likewise.
28305 * abilist/libcrypt.abilist: Likewise.
28306 * abilist/libdl.abilist: Likewise.
28307 * abilist/libm.abilist: Likewise.
28308 * abilist/libnsl.abilist: Likewise.
28309 * abilist/libpthread.abilist: Likewise.
28310 * abilist/libresolv.abilist: Likewise.
28311 * abilist/librt.abilist: Likewise.
28312 * abilist/libthread_db.abilist: Likewise.
28313 * abilist/libutil.abilist: Likewise.
28314 * abilist/libnss_db.abilist: New file.
28315
28316 * scripts/abilist.awk: Add support for indirect functions.
28317
a2693a0e
UD
28318 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
28319
3f05895f
UD
28320 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
28321
ecb6fb48
UD
28322 * shlib-versions: Remove entries for ports architectures.
28323
664f8cb9
UD
28324 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
28325 files in ports.
28326 * elf/stackguard-macros.h: Remove support for IA-64.
28327 * elf/tst-auditmod1.c: Likewise.
28328 * sysdeps/generic/ldsodefs.h: Likewise.
28329
7ae81d88
UD
28330 * sysdeps/unix/sysv/linux/configure.in: Ports should define
28331 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
28332 configure files.
28333
bdeba135
UD
28334 [BZ #13552]
28335 * configure.in: Remove --enable-omitfp support.
28336 * FAQ.in: Adjust.
28337 * config.make.in: Likewise.
28338 * Makeconfig: Likewise.
28339 * manual/install.texi: Likewise.
28340
d75a0a62
UD
28341 In case anyone cares, the IA-64 architecture could move to ports.
28342 * sysdeps/ia64/*: Removed.
28343 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 28344 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 28345
dcc9756b
UD
28346 [BZ #13555]
28347 * configure.in: Remove entries for unsupported architectures.
28348
d3761ebc 28349 [BZ #13533]
9954432e
UD
28350 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
28351 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
28352 routines.
28353 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
28354 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
28355 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
28356 fall back to using wcrtomb.
28357 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
28358 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
28359 renaming.
28360 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
28361 * wcsmbs/tst-c16c32-1.c: New file.
28362
28363 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
28364 local variable.
28365
c3a87236
UD
28366 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
28367
28926a1b
UD
28368 * elf/tst-unique3.cc: Add explicit declaration of gets.
28369 * elf/tst-unique3lib.cc: Likewise.
28370 * elf/tst-unique3lib2.cc: Likewise.
28371 * elf/tst-unique4.cc: Likewise.
28372
df78418a
UD
28373 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
28374
8ecd6b2a
JM
283752012-01-06 Joseph Myers <joseph@codesourcery.com>
28376
28377 [BZ #13566]
28378 * assert/assert.h (static_assert): Don't define for C++.
28379 * libio/stdio.h (gets): Do declare for C++ <= C++11.
28380 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
28381
9f115170
UD
283822012-01-03 Ulrich Drepper <drepper@gmail.com>
28383
5e0d0300
UD
28384 * iconv/loop.c (single loop): Fix assertion in storing of
28385 remaining bytes.
28386
9f115170
UD
28387 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
28388
81fb02b0
UD
283892012-01-01 Ulrich Drepper <drepper@gmail.com>
28390
28391 * posix/getconf.c: Update copyright year.
28392 * nss/getent.c: Likewise.
a316c1f6 28393 * nss/makedb.c: Likewise.
81fb02b0
UD
28394 * iconv/iconvconfig.c: Likewise.
28395 * iconv/iconv_prog.c: Likewise.
28396 * elf/ldconfig.c: Likewise.
a316c1f6
UD
28397 * elf/pldd.c: Likewise.
28398 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
28399 * catgets/gencat.c: Likewise.
28400 * csu/version.c: Likewise.
28401 * elf/ldd.bash.in: Likewise.
28402 * elf/sprof.c (print_version): Likewise.
28403 * locale/programs/locale.c: Likewise.
28404 * locale/programs/localedef.c: Likewise.
a316c1f6 28405 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
28406 * nscd/nscd.c (print_version): Likewise.
28407 * debug/xtrace.sh: Likewise.
28408 * malloc/memusage.sh: Likewise.
28409 * malloc/mtrace.pl: Likewise.
28410 * debug/catchsegv.sh: Likewise.
28411
2ba92745
JJ
284122011-12-30 Jakub Jelinek <jakub@redhat.com>
28413
28414 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
28415 pure attribute.
28416
dadebdae
UD
284172011-12-24 Ulrich Drepper <drepper@gmail.com>
28418
d3761ebc 28419 [BZ #13533]
db6af3eb
UD
28420 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
28421 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
28422 transformations.
28423 * iconv/gconv_int.h: Likewise.
28424 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
28425 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
28426 from libc for GLIBC_2.16.
28427 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
28428 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
28429 * wcsmbs/uchar.h: Really define mbstate_t.
28430 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
28431 * wcsmbs/c16rtomb.c: New file.
28432 * wcsmbs/mbrtoc16.c: New file.
28433 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
28434 for C/POSIX locale.
28435 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
28436 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
28437
dadebdae
UD
28438 * wcsmbs/wchar.h: Add missing __restrict.
28439
67371b56
UD
284402011-12-23 Ulrich Drepper <drepper@gmail.com>
28441
74033a25
UD
28442 [BZ #13532]
28443 * time/Makefile (routines): Add timespec_get.
28444 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
28445 * time/time.h: Define TIME_UTC and declare timespec_get. Define
28446 timespec for ISO C11.
28447 * time/timespec_get.c: New file.
28448 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
28449 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
28450
380d7e87
UD
28451 [BZ #13531]
28452 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
28453 * stdlib/stdlib.h: Declare aligned_alloc.
28454 * Versions.def: Add GLIBC_2.16 for libc.
28455 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
28456
4e9e7a35
UD
28457 [BZ 13527]
28458 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
28459 ISO C11.
28460
380d7e87 28461 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
28462 code.
28463
03a71829
UD
28464 [BZ #13528]
28465 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
28466
839e283e
UD
28467 [BZ #13529]
28468 * assert/assert.h (static_assert): Define.
28469
ce5294e2 28470 * version.h: Update for 2.16 development version.
90fa7312 28471
8d44e150 28472 [BZ #13526]
d7809905
UD
28473 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
28474 _ISOC11_SOURCE.
28475
c0da14cd
UD
28476 * version.h (RELEASE): Bump for 2.15 release.
28477 * include/features.h (__GLIBC_MINOR__): Bump to 15.
28478
530a3249
MP
28479 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
28480 Patch by Marek Polacek <mpolacek@redhat.com>.
28481
67371b56
UD
28482 * bits/byteswap.h: Protect long long constants with __extension__.
28483 * sysdeps/i386/bits/byteswap.h: Likewise.
28484 * sysdeps/ia64/bits/byteswap.h: Likewise.
28485 * sysdeps/s390/bits/byteswap.h: Likewise.
28486 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28487
15db4de1
LD
284882011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28489
28490 [BZ #13540]
bbe315ea
LD
28491 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
28492 destination buffer.
15db4de1
LD
28493 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
28494
2b2596b1
MP
284952011-12-23 Marek Polacek <polacek@redhat.com>
28496
28497 * elf/dl-addr.c (determine_info): Add inline keyword.
28498 * elf/tst-auditmod4b.c (check_avx): Likewise.
28499 * elf/tst-auditmod6b.c (check_avx): Likewise.
28500 * elf/tst-auditmod6c.c (check_avx): Likewise.
28501 * elf/tst-auditmod7b.c (check_avx): Likewise.
28502
70c6c246
UD
285032011-12-23 Ulrich Drepper <drepper@gmail.com>
28504
28505 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
28506 !__SSE_MATH__.
28507
c044cf14
LD
285082011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28509
15db4de1 28510 [BZ #13540]
c044cf14
LD
28511 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
28512 processing for last bytes.
28513
6b13d9d9
BH
285142011-08-06 Bruno Haible <bruno@clisp.org>
28515
d455f537
BH
28516 [BZ #13061]
28517 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
28518 U+0385, not to U+1FEE.
28519
6b13d9d9
BH
28520 [BZ #13062]
28521 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
28522 entry for U+00A5 U+0301.
28523
db910efd
UD
285242011-12-22 Ulrich Drepper <drepper@gmail.com>
28525
27deeafc
UD
28526 [BZ #13166]
28527 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
28528 buffer for the output is too small.
28529
aed9d171
UD
28530 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
28531 optimization.
28532
db910efd
UD
28533 [BZ #13185]
28534 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
28535 SSE flags if possible.
28536
2bd779ae
LD
285372011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28538
e7f9dac3 28539 [BZ #13540]
2bd779ae
LD
28540 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
28541 processing for last bytes.
28542
154bfc16
JM
285432011-12-22 Joseph Myers <joseph@codesourcery.com>
28544
28545 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
28546 (syscall-list-default-options, syscall-list-default-condition)
28547 (syscall-list-includes): Define.
28548 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
28549 list of ABIs and options and #if conditions for each ABI. Do not
28550 handle common syscalls between ABIs specially.
28551 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
28552 Remove.
28553 (syscall-list-variants, syscall-list-32bit-options)
28554 (syscall-list-32bit-condition, syscall-list-64bit-options)
28555 (syscall-list-64bit-condition): Define.
28556 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
28557 (syscall-list-variants, syscall-list-32bit-options)
28558 (syscall-list-32bit-condition, syscall-list-64bit-options)
28559 (syscall-list-64bit-condition): Define.
28560 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
28561 Remove.
28562 (syscall-list-variants, syscall-list-32bit-options)
28563 (syscall-list-32bit-condition, syscall-list-64bit-options)
28564 (syscall-list-64bit-condition): Define.
28565 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
28566 Remove.
28567 (syscall-list-variants, syscall-list-32bit-options)
28568 (syscall-list-32bit-condition, syscall-list-64bit-options)
28569 (syscall-list-64bit-condition): Define.
28570
21eaf3a5
UD
285712011-12-22 Ulrich Drepper <drepper@gmail.com>
28572
16c6f992
UD
28573 * locale/iso-639.def: Add brx entry.
28574
41043168
UD
28575 [BZ #13328]
28576 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
28577 Proposed by Mariusz_Cukr <marcukr@op.pl>.
28578
21eaf3a5
UD
28579 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
28580 __feraiseexcept_renamed.
28581
e3a851a2
UD
285822011-12-21 Ulrich Drepper <drepper@gmail.com>
28583
4920765e
UD
28584 [BZ #13538]
28585 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
28586 EPOLLET with unsigned values.
28587 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28588 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28589
e3a851a2
UD
28590 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
28591 to large cancellation.
28592 * math/s_cacoshf.c: Likewise.
28593 * math/s_cacoshl.c: Likewise.
28594
b27e24b8
RK
285952011-11-18 Richard B. Kreckel <kreckel@ginac.de>
28596
28597 [BZ #13305]
aebefeee 28598 [BZ #12786]
b27e24b8
RK
28599 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
28600 * math/s_cacoshf.c: Likewise.
28601 * math/s_cacoshl.c: Likewise.
28602
ee190f67
UD
286032011-12-21 Ulrich Drepper <drepper@gmail.com>
28604
28605 [BZ #13439]
28606 * iconv/gconv.h: Define __GCONV_SWAP.
28607 * iconvdata/unicode.c: The swap bit must be stored in __flags.
28608 * iconvdata/utf-16.c: Likewise.
28609 * iconvdata/utf-32.c: Likewise.
28610
707f25df
AS
286112011-12-21 Andreas Schwab <schwab@linux-m68k.org>
28612
28613 [BZ #13524]
28614 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
28615 numerator after shifting it by one limb.
28616
d2daaa1e
RÁE
286172011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
28618
28619 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
28620 under [__USE_EXTERN_INLINES].
28621
a4647e72
UD
286222011-12-17 Ulrich Drepper <drepper@gmail.com>
28623
28624 [BZ #13446]
28625 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
28626
f0b264f1
AZ
286272011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28628
28629 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
28630 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
28631 optimized code.
28632 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
28633 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
28634 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
28635 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
28636 for strncasecmp/strncasecmp_l compilation.
28637 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
28638 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
28639
8ef4f244
MP
286402011-12-08 Marek Polacek <mpolacek@redhat.com>
28641
28642 [BZ #13484]
28643 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
28644 of __asm__.
28645
97ac2654
UD
286462011-12-17 Ulrich Drepper <drepper@gmail.com>
28647
28648 [BZ #13506]
28649 * time/tzfile.c (__tzfile_read): Check values from file header.
28650
91d2a845
WS
286512011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28652
28653 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
28654 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
28655 * powerpc/powerpc32/dl-start.S: Likewise.
28656 * powerpc/powerpc32/elf/start.S: Likewise.
28657 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28658 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
28659 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
28660 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
28661 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
28662 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
28663 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
28664 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28665 * powerpc/powerpc32/fpu/s_round.S: Likewise.
28666 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
28667 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
28668 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
28669 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
28670 * powerpc/powerpc32/memset.S: Likewise.
28671 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
28672 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28673 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28674 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28675 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28676 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28677 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28678 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28679 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
28680 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
28681 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
28682 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28683 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28684
a1267ba1
AZ
286852011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28686
28687 * math/libm-test.inc: Added more nearbyint tests.
28688 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
28689 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
28690 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
28691 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
28692
ad8ac1bd
RL
286932011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
28694
28695 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
28696 FD_CLOEXEC.
28697
1d3e4b61
UD
286982011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28699
28700 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
28701 Add wcscpy-ssse3 wcscpy-c.
28702 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
28703 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
28704 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
28705 * sysdeps/x86_64/wcschr.S: New file.
28706 * sysdeps/x86_64/wcsrchr.S: New file.
28707 * string/test-strcmp.c: Remove checking of wcscmp function for
28708 wrong alignments.
28709 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
28710 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
28711 wcsrchr-sse2 wcsrchr-c.
28712 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
28713 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
28714 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
28715 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
28716 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
28717 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
28718 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
28719 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
28720 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
28721 * wcsmbc/wcschr.c (WCSCHR): New macro.
28722
5b330a2d
UD
287232011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28724
28725 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
28726 * wcsmbs/test-wcsrchr.c: New file.
28727 * string/test-strrchr.c: Add wcsrchr support.
28728 (WIDE): New macro.
28729 * wcsmbs/test-wcscpy.c: New file.
28730 * string/test-strcpy.c: Add wcscpy support.
28731 (WIDE): New macro.
26428b7c 28732
f039c043
UD
287332011-12-10 Ulrich Drepper <drepper@gmail.com>
28734
28735 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
28736 the inner loop.
28737
850fb039
AS
287382011-12-06 Andreas Schwab <schwab@linux-m68k.org>
28739
28740 [BZ #13472]
28741 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
28742
4efbd5cb
UD
287432011-12-04 Ulrich Drepper <drepper@gmail.com>
28744
52ff5dd0 28745 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 28746 Minor optimizations.
52ff5dd0 28747
4efbd5cb
UD
28748 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
28749 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
28750 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
28751
8a426e12
UD
287522011-12-03 Ulrich Drepper <drepper@gmail.com>
28753
aff2453d
UD
28754 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
28755 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
28756 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
28757 for gcc to avoid warnings.
28758 * inet/Makefile (tests): Add tst-checks.
28759 * inet/tst-checks.c: New file.
28760
28761 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
28762 warning.
28763
28764 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
28765 __wmemcmp_sse2.
28766
28767 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
28768 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
28769
8a426e12
UD
28770 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
28771
9bea3473
UD
287722011-12-02 Ulrich Drepper <drepper@gmail.com>
28773
3a965496
UD
28774 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
28775 problem.
28776
9bea3473
UD
28777 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
28778
f101631b
UD
287792011-11-29 Joseph Myers <joseph@codesourcery.com>
28780
28781 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
28782 conditional on GCC version.
28783 (__arch_compare_and_exchange_val_8_acq)
28784 (__arch_compare_and_exchange_val_16_acq)
28785 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
28786 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
28787 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
28788
a98275aa
UD
287892011-12-02 Joseph Myers <joseph@codesourcery.com>
28790
28791 * sysdeps/sh/backtrace.c: New file.
28792
d4cc29a2
AS
287932011-12-02 Andreas Schwab <schwab@redhat.com>
28794
28795 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
28796 parenthesis.
28797
6257af2d
AS
287982011-12-01 Andreas Schwab <schwab@redhat.com>
28799
28800 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
28801 falling back to utime.
28802
b5f44c1a
AS
288032011-11-30 Andreas Schwab <schwab@redhat.com>
28804
28805 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
28806 expectations for float.
28807
f3a6cc0a
AS
288082011-11-29 Andreas Schwab <schwab@redhat.com>
28809
28810 * locale/weight.h (findidx): Add parameter len.
28811 * locale/weightwc.h (findidx): Likewise.
28812 * posix/fnmatch_loop.c (FCT): Adjust caller.
28813 * posix/regcomp.c (build_equiv_class): Likewise.
28814 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
28815 * posix/regexec.c (check_node_accept_bytes): Likewise.
28816 * string/strcoll_l.c (STRCOLL): Likewise.
28817 * string/strxfrm_l.c (STRXFRM): Likewise.
28818
9d65ea3a
UD
288192011-11-17 Ulrich Drepper <drepper@gmail.com>
28820
28821 * Makefile.in: Remove CVSOPT handling.
28822 * configure.in: Remove use of AC_REVISION.
28823 * iconvdata/Makefile (distribute): No need to filter out CVS.
28824 * scripts/list-sources.sh: Remove CVS, subversion and monotone
28825 handling.
28826
5583a086
AS
288272011-11-16 Andreas Schwab <schwab@redhat.com>
28828
28829 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
28830 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
28831 [USE_AS_STRNCASECMP_L]: Likewise.
28832 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
28833 NO_TLS_DIRECT_SEG_REFS.
28834 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
28835 Fix argument offsets for non-PIC.
28836 [USE_AS_STRNCASECMP_L]: Likewise.
28837 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
28838 NO_TLS_DIRECT_SEG_REFS.
28839
d62a8200
UD
288402011-11-15 Ulrich Drepper <drepper@gmail.com>
28841
9d65ea3a 28842 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
28843 O_CLOEXEC.
28844 * locale/loadlocale.c (_nl_load_locale): Likewise.
28845
09f93bd3
AS
288462011-11-15 Andreas Schwab <schwab@redhat.com>
28847
446514f9
AS
28848 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
28849 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
28850 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
28851 (SYSCALL_GETTIME): Set errno on error.
28852
09f93bd3
AS
28853 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
28854 count references to noai6ai_cached.
28855
312be3f9
UD
288562011-11-15 Ulrich Drepper <drepper@gmail.com>
28857
28858 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
28859
28860 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
28861 FD_CLOEXEC for /proc/self/maps.
28862
28863 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
28864 FD_CLOEXEC for /proc/meminfo.
28865
28866 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
28867 gai.conf.
28868
28869 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
28870 FD_CLOEXEC for given file.
28871
28872 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
28873
28874 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
28875 FD_CLOEXEC for /etc/hosts.
28876 (_gethtent): Likewise.
28877
28878 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
28879
28880 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
28881 cancellation and set FD_CLOEXEC for /etc/netgroup.
28882
28883 * nss/nss_files/files-key.c (search): Don't allow cancellation when
28884 reading /etc/publickey.
28885
28886 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
28887 allow cancellation when reading /etc/group.
28888
28889 * nss/nss_files/files-alias.c (internal_setent): Don't allow
28890 cancellation.
28891 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
28892
28893 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
28894 when using data file.
28895
28896 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
28897
28898 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
28899 (write_nis_obj): Use "c" and "e" in fopen.
28900
28901 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
28902
28903 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
28904
28905 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
28906
28907 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
28908
28909 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
28910 locale.alias.
28911
28912 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
28913
28914 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
28915
28916 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
28917
28918 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
28919 file parsing and set FD_CLOEXEC.
28920
82af0fa8
UD
289212011-11-14 Ulrich Drepper <drepper@gmail.com>
28922
28923 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
28924
a5fb313c
AS
289252011-11-14 Andreas Schwab <schwab@redhat.com>
28926
28927 * malloc/arena.c (arena_get2): Don't call reused_arena when
28928 _int_new_arena failed.
28929
6abf3465
UD
289302011-11-14 Ulrich Drepper <drepper@gmail.com>
28931
28932 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
28933 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
28934 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
28935 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28936 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28937 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
28938 to compile strcasecmp and strncasecmp.
28939 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
28940 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
28941
28942 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
28943
76e3966e
UD
289442011-11-13 Ulrich Drepper <drepper@gmail.com>
28945
28946 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
28947 locale-defines.sym to gen-as-const-headers.
28948 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
28949 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
28950 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
28951 to compile strcasecmp and strncasecmp.
28952 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
28953 strcasecmp_l and strncasecmp_l.
28954 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
28955 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
28956 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
28957 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
28958 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
28959 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
28960 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
28961 * sysdeps/i386/i686/multiarch/strncase.S: New file.
28962 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
28963 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
28964 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
28965
ab26144e
UD
289662011-11-12 Ulrich Drepper <drepper@gmail.com>
28967
7edb22ef
UD
28968 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
28969 result of SYSDEP_GETTIME_CPU to retval.
28970 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
28971 parameter list to macro. Remove trailing semicolon. Adjust users.
28972
9694fc44
UD
28973 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
28974 variable.
28975
8ad89ef8
UD
28976 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
28977 mantissa words.
28978 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
28979
0c822ef9
UD
28980 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
28981 from unused variable.
28982
874e0564
UD
28983 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
28984 DWARF definitions.
28985 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
28986 for assembling.
28987
3a2edc79
UD
28988 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
28989 over namespaces.
28990
f3c2577f
UD
28991 * sunrpc/rpc_prot.c (rejected): Fix case value.
28992
294ce126
UD
28993 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
28994 unsigned long long int to avoid warnings in shift.
28995
5e2b63c6
UD
28996 * posix/regex_internal.c (re_string_reconstruct): Actually use result
28997 of use of trans.
28998 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
28999 variable tmp.
29000
e7f4b08e
UD
29001 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
29002 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
29003 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
29004
ab26144e
UD
29005 * nis/nis_table.c (nis_list): Use variable of correct type for
29006 result of __follow_path call.
29007
8a6d5255
AZ
290082011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29009
29010 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
29011 of math functions ceil, trunc, floor, round, and sqrt, when
29012 avaliable on the platform.
29013 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
29014 name clash.
29015 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29016 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29017 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29018
aaddc98c
MP
290192011-10-30 Marek Polacek <mpolacek@redhat.com>
29020
29021 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
29022 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29023
95b7042b
RM
290242011-11-11 Roland McGrath <roland@hack.frob.com>
29025
29026 * include/unistd.h: Fix __readlink return type.
29027 Reported by Chris Metcalf <cmetcalf@tilera.com>.
29028
57769839
UD
290292011-11-11 Ulrich Drepper <drepper@gmail.com>
29030
29031 * stdlib/ucontext.h: Undo last change for makecontext.
29032
edc5984d
AS
290332011-11-11 Andreas Schwab <schwab@redhat.com>
29034
98591e58
AS
29035 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
29036
edc5984d
AS
29037 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
29038 * setjmp/setjmp.h: Mark functions as non-leaf.
29039 * setjmp/bits/setjmp2.h: Likewise.
29040 * stdlib/ucontext.h: Likewise.
29041
77cdc054
AS
290422011-11-10 Andreas Schwab <schwab@redhat.com>
29043
29044 * malloc/arena.c (_int_new_arena): Don't increment narenas.
29045 (reused_arena): Don't check arena limit.
29046 (arena_get2): Atomically check arena limit.
29047
fe72eebd
UD
290482011-11-08 Ulrich Drepper <drepper@gmail.com>
29049
5f078c32
UD
29050 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
29051 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
29052
fe72eebd
UD
29053 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
29054 instructions.
29055
ae1bc2fa
AS
290562011-11-07 Andreas Schwab <schwab@redhat.com>
29057
7583a88d
AS
29058 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
29059 handler when locking.
29060
ae1bc2fa
AS
29061 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29062 Fix size of allocated buffer.
29063
10fb0bfa
AS
290642011-11-04 Andreas Schwab <schwab@redhat.com>
29065
998832a4
AS
29066 [BZ #10103]
29067 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
29068 declarations for long double functions.
29069 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
29070
10fb0bfa
AS
29071 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
29072
3d7ba52b
AS
290732011-11-03 Andreas Schwab <schwab@redhat.com>
29074
a9ae54a1
AS
29075 * nscd/nscd.c (main): Don't start AVC thread until credentials are
29076 installed.
29077
3d7ba52b
AS
29078 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
29079 is disabled.
29080
bc8db248
ST
290812011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
29082
29083 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
29084
45b96dd6
AS
290852011-11-01 Andreas Schwab <schwab@linux-m68k.org>
29086
647776f6
AS
29087 * include/alloca.h (stackinfo_alloca_round): Define.
29088 (extend_alloca): Use it.
29089 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
29090 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
29091 here.
29092
d91a8b93
AS
29093 * scripts/check-local-headers.sh: Ignore libaudit.h.
29094
45b96dd6
AS
29095 * nscd/Makefile (extra-objs): Make recursively expanded.
29096
432d41ce
UD
290972011-11-01 Ulrich Drepper <drepper@gmail.com>
29098
34372fc6
UD
29099 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
29100 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29101
fadb59f8
UD
29102 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
29103 * posix/tst-rfc3484-2.c: Likewise.
29104 * posix/tst-rfc3484-3.c: Likewise.
29105
78239589
UD
29106 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29107 process_vm_writev.
29108 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
29109 process_vm_writev.
29110 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
29111 process_vm_writev from libc using GLIBC_2.15 version.
29112
432d41ce
UD
29113 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
29114
02f9c6cf
PP
291152011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
29116
29117 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
29118 stack usage.
29119
3a2c0242
UD
291202011-10-31 Ulrich Drepper <drepper@gmail.com>
29121
f4ec4833
UD
29122 [BZ #13367]
29123 * nss/getent.c (initgroups_keys): Show error message in case no group
29124 names are given.
29125
3a2c0242
UD
29126 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
29127 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
29128 __bump_nl_timestamp.
29129 * nscd/connections (nscd_init): When host database is served open
29130 netlink socket and request notification about configuration changes.
29131 (main_loop_poll): Track netlink file descriptor and bump timestamp
29132 in case data becomes available.
29133 (main_loop_epoll): Likewise.
29134 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
29135 (database_pers_head): Add extra_data fileds.
29136 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
29137 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
29138 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
29139 Adjust caller.
29140 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
29141 in6ai data, call __free_in6ai.
29142 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
29143 Add -DHAVE_NETLINK.
29144 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
29145 interface information. Reuse previous data if netlink timestamp
29146 is not changed.
29147 (__bump_nl_timestamp): New function.
29148 (__free_in6ai): New function.
29149
636064eb
UD
291502011-10-30 Ulrich Drepper <drepper@gmail.com>
29151
29152 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
29153 close_not_cancel_no_status here.
29154 (__check_pf): Reorganize code a bit to not call close twice if OOM.
29155
9beb2334
UD
291562011-10-29 Ulrich Drepper <drepper@gmail.com>
29157
6ef76f3b
UD
29158 [BZ #13276]
29159 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
29160 return value.
29161
0ffc4f3e 29162 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
29163 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
29164 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
29165
cb95113e
UD
291662011-07-03 Andreas Jaeger <aj@suse.de>
29167
29168 [BZ #10709]
29169 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
29170 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
29171 * math/libm-test.inc (sin_test): Add test case.
29172
a1b560ff
UD
291732011-10-29 Ulrich Drepper <drepper@gmail.com>
29174
c9aaface
UD
29175 [BZ #13337]
29176 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
29177 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29178
d272e7f1
UD
29179 * elf/chroot_canon.c (chroot_canon): Cleanups.
29180
1bc33071
UD
29181 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
29182
1760874d
TJ
29183 [BZ #13335]
29184 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
29185 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29186
51d91b18
UD
29187 * string/test-strchr.c: Make usable for strchrnul testing.
29188 * string/test-strchrnul.c: New file.
29189 * string/Makefile (strop-tests): Add strchrnul.
29190
a1b560ff 29191 * po/it.po: Update from translation team.
b611fb81 29192 * po/es.po: Likewise.
a1b560ff 29193
a5b81e1f
UD
291942011-10-28 Ulrich Drepper <drepper@gmail.com>
29195
fd52bc6d
UD
29196 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
29197 the three constants needed as parameters. Drop the others.
29198 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
29199 __m128i_strloadu_tolower.
52e4b9eb
UD
29200 Create and initialize variable zero and use it in all the places
29201 where _mm_setzero_si128 was used.
fd52bc6d 29202
a5b81e1f
UD
29203 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
29204 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
29205 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
29206 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
29207 anymore.
29208 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
29209 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
29210 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
29211 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
29212 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
29213 __mpranred, __mptan.
29214 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
29215 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
29216 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
29217 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
29218 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
29219 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
29220 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
29221 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
29222 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
29223
b4343346
AS
292242011-10-28 Andreas Schwab <schwab@redhat.com>
29225
0c92d8a8
AS
29226 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
29227 redefine if SHARED.
29228 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
29229
b4343346
AS
29230 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
29231 wide char related routines to wcsmbs subdir.
29232
3871f58f
AS
292332011-10-27 Andreas Schwab <schwab@redhat.com>
29234
29235 [BZ #13344]
29236 * misc/sys/cdefs.h (__THROWNL): Define.
29237 * posix/unistd.h: Use __THREADNL instead of __THREAD
29238 for memory synchronization functions.
29239
94d44d9f
RM
292402011-10-26 Roland McGrath <roland@hack.frob.com>
29241
21b64b15 29242 [BZ #13349]
94d44d9f
RM
29243 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
29244 doesn't exist.
29245 * manual/stdio.texi (Obstack Streams): Node removed.
29246
f6ce9294
AS
292472011-10-26 Andreas Schwab <schwab@redhat.com>
29248
80479147
AS
29249 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
29250 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29251 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29252
f6ce9294
AS
29253 * math/math_private.h (math_force_eval): Allow non-addressable
29254 arguments.
29255 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
29256
618280a1
UD
292572011-10-25 Ulrich Drepper <drepper@gmail.com>
29258
e0016b11
UD
29259 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
29260 file is not needed.
29261
29262 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
29263 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
29264 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29265 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29266 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29267 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29268 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29269 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
29270 Add AVX variants.
29271 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
29272 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
29273 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
29274 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
29275 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
29276 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
29277 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
29278 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
29279 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
29280 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
29281 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
29282 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
29283 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
29284 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
29285 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
29286 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
29287 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
29288 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
29289 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
29290
29291 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
29292 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
29293
618280a1
UD
29294 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
29295 place. Use VEX encoding when compiling for AVX.
29296
37822576
AS
292972011-10-25 Andreas Schwab <schwab@redhat.com>
29298
1f1e1947
AS
29299 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
29300 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29301
37822576
AS
29302 * string/test-strchr.c (do_test): Don't generate NUL bytes.
29303
31ea014d
UD
293042011-10-25 Ulrich Drepper <drepper@gmail.com>
29305
d7826aa1 29306 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 29307 useless if() expression.
d7826aa1
UD
29308 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29309 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29310 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29311 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29312 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29313 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29314 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29315 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29316 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29317 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29318 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29319 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29320 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29321 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29322 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29323 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29324 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29325 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29326 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29327
31ea014d
UD
29328 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
29329
16437fec
AS
293302011-10-25 Andreas Schwab <schwab@redhat.com>
29331
29332 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
29333 condition.
29334 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29335
31d3cc00
UD
293362011-10-25 Ulrich Drepper <drepper@gmail.com>
29337
29338 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
29339 .text section. Avoid duplicate constants.
29340 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29341 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29342 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29343 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29344 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29345 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29346 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29347 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29348 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29349 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
29350 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29351 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29352 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29353 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29354 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29355 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29356 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29357 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29358 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29359 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29360 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29361 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29362 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29363 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
29364 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
29365 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
29366 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
29367 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
29368 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
29369 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
29370 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
29371 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
29372 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29373 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
29374 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
29375 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
29376 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
29377 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
29378 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
29379 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
29380 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
29381 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
29382 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
29383 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
29384 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
29385
58985aa9
UD
293862011-10-24 Ulrich Drepper <drepper@gmail.com>
29387
202c9deb
UD
29388 * sysdeps/x86_64/dla.h: Move to ...
29389 * sysdeps/x86_64/fpu/dla.h: ...here.
29390 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
29391 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 29392
af968f62
UD
29393 * config.make.in: Add have-mfma4 entry.
29394 * configure.in: Substitute libc_cv_cc_fma4.
29395 * math/Makefile (dbl-only-routines): Add sincostab.
29396 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
29397 Use __sincostab not sincos.
29398 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
29399 name is a macro.
29400 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29401 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29402 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29403 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
29404 using __copysign.
29405 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
29406 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
29407 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
29408 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
29409 and __inv.
29410 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
29411 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
29412 __copysign.
29413 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
29414 define aliases when function name is a macro.
29415 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
29416 sysdeps/ieee754/dbl-64/sincos.tbl.
29417 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
29418 fma4-enabled routines.
29419 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
29420 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
29421 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
29422 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
29423 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
29424 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
29425 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
29426 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
29427 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
29428 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
29429 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
29430 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
29431 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
29432 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
29433 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
29434 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
29435 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
29436 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
29437 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
29438 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
29439 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
29440 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
29441 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
29442 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
29443 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
29444 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
29445 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
29446 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
29447 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
29448 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
29449
58985aa9
UD
29450 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
29451 rename.
29452 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29453 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29454 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29455 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29456 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29457 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29458 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29459 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29460
a201fbcf
AS
294612011-10-24 Andreas Schwab <schwab@redhat.com>
29462
29463 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
29464
fc2ee42a
LD
294652011-10-23 Ulrich Drepper <drepper@gmail.com>
29466
bb3129bd
UD
29467 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
29468
0275fff8
UD
29469 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
29470 prediction.
29471 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
29472
2fa2ae85
UD
29473 * string/strnlen.c: Don't define STRNLEN, reverse logic.
29474 Remove unused variable magic_bits.
29475 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
29476
fc2ee42a
LD
29477 * string/strnlen.c: Define and use STRNLEN macro.
29478 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
29479 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
29480 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
29481 * wcsmbs/wcslen.c: Define and use WCSLEN.
29482 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
29483 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
29484 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
29485 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
29486 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
29487 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
29488 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29489
ce7dd29f
LD
294902011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29491
29492 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29493 strnlen-sse2-no-bsf.
29494 Rename strlen-no-bsf to strlen-sse2-no-bsf.
29495 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
29496 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
29497 Add strnlen support.
29498 (USE_AS_STRNLEN): New macro.
29499 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
29500 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
29501 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
29502 * sysdeps/x86_64/wcslen.S: New file.
29503
979c70a3
MZ
295042011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
29505
29506 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
29507 XMM-moves are used for copying on small sizes.
29508
2d09f82f
LD
295092011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29510
29511 * wcsmbs/Makefile (strop-tests): Add wcschr.
29512 * wcsmbs/test-wcschr.c: New file.
29513 * string/test-strchr.c: Update.
29514 Add wcschr support.
29515 (WIDE): New macro.
29516
619fccca
LD
295172011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29518
2d09f82f 29519 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
29520 * wcsmbs/test-wcslen.c: New file.
29521 * string/test-strlen.c: Update.
29522 Add wcslen support.
29523 (WIDE): New macro.
29524
09f699ea
UD
295252011-10-23 Ulrich Drepper <drepper@gmail.com>
29526
29527 * po/it.po: Update from translation team.
29528
95584d3b
LD
295292011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29530
29531 * sysdeps/x86_64/wcscmp.S: Update.
29532 Fix wrong comparison semantics.
29533 wcscmp shall use signed comparison not unsigned.
29534 Don't use substraction to avoid overflow bug.
29535 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
29536 * wcsmbc/wcscmp.c: Likewise.
29537 * string/test-strcmp.c: Likewise.
29538 Add new tests to check cases with negative values.
29539
c8b3296b
UD
295402011-10-23 Ulrich Drepper <drepper@gmail.com>
29541
29542 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
29543 * sysdeps/x86_64/dla.h: ...here. New file.
29544 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
29545 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29546 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29547 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29548 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29549 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29550 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29551 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29552 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29553
246ad57a
AS
295542011-10-23 Andreas Schwab <schwab@linux-m68k.org>
29555
29556 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
29557 __ynl_finite aliases.
29558
a1a87169
UD
295592011-10-22 Ulrich Drepper <drepper@gmail.com>
29560
0d355eb7
UD
29561 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29562
a1a87169
UD
29563 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
29564 define DLA_FMA.
29565 [DLA_FMA] (EMULV): Use DLA_FMA.
29566 [DLA_FMA] (MUL12): Use EMULV.
29567 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
29568 that are not needed.
29569 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29570 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29571 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29572 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29573 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29574 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29575 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29576
ee2aafe0
AS
295772011-10-22 Andreas Schwab <schwab@linux-m68k.org>
29578
29579 * math/s_nan.c: Undef __nan.
29580 * math/s_nanf.c: Undef __nanf.
29581 * math/s_nanl.c: Undef __nanl.
29582 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
29583 "math_private.h".
29584
bc62c2fb
UD
295852011-10-22 Ulrich Drepper <drepper@gmail.com>
29586
77425c63
UD
29587 * math/s_catan.c: Add branch predictions.
29588 * math/s_catanf.c: Likewise.
29589 * math/s_catanh.c: Likewise.
29590 * math/s_catanhf.c: Likewise.
29591 * math/s_catanhl.c: Likewise.
29592 * math/s_catanl.c: Likewise.
29593 * math/s_cexp.c: Likewise.
29594 * math/s_cexpf.c: Likewise.
29595 * math/s_cexpl.c: Likewise.
29596 * math/s_clog.c: Likewise.
29597 * math/s_clog10.c: Likewise.
29598 * math/s_clog10f.c: Likewise.
29599 * math/s_clog10l.c: Likewise.
29600 * math/s_clogf.c: Likewise.
29601 * math/s_clogl.c: Likewise.
29602 * math/s_csqrt.c: Likewise.
29603 * math/s_csqrtf.c: Likewise.
29604 * math/s_csqrtl.c: Likewise.
29605 * math/s_ctanf.c: Likewise.
29606 * math/s_ctanh.c: Likewise.
29607 * math/s_ctanhf.c: Likewise.
29608 * math/s_ctanhl.c: Likewise.
29609 * math/s_ctanl.c: Likewise.
29610
bc62c2fb
UD
29611 * math/math_private.h: Define __nan, __nanf, __nanl.
29612 * math/s_cacosh.c: Include <math_private.h>.
29613 * math/s_cacoshl.c: Likewise.
29614 * math/s_casinh.c: Likewise.
29615 * math/s_casinhf.c: Likewise.
29616 * math/s_casinhl.c: Likewise.
29617 * math/s_ccos.c: Rely entire on ccosh.
29618 * math/s_ccosf.c: Rely entire on ccoshf.
29619 * math/s_ccosl.c: Rely entirely on ccoshl.
29620 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
29621 Remove tests for FE_INVALID.
29622 * math/s_ccoshf.c: Likewise.
29623 * math/s_ccoshl.c: Likewise.
29624 * math/s_csin.c: Likewise.
29625 * math/s_csinf.c: Likewise.
29626 * math/s_csinh.c Likewise.
29627 * math/s_csinhf.c: Likewise.
29628 * math/s_csinhl.c: Likewise.
29629 * math/s_csinl.c: Likewise.
29630 * math/s_ctan.c: Likewise.
29631 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
29632 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
29633 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
29634
8ec250a4
UD
296352011-10-21 Ulrich Drepper <drepper@gmail.com>
29636
c196fed8
UD
29637 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
29638 compilation problems.
29639
8ec250a4
UD
29640 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
29641 __builtin_expect.
29642
8d4f46c6
UD
296432011-10-20 Ulrich Drepper <drepper@gmail.com>
29644
ed72b654
UD
29645 * sysdeps/i386/configure.in: Test for -mfma4 option.
29646 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
29647 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
29648 COMMON_CPUID_INDEX_80000001.
29649 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
29650 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
29651 use it if FMA3 is not supported.
29652 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
29653
8d4f46c6
UD
29654 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
29655 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
29656
d45c60c2
AS
296572011-10-20 Andreas Schwab <schwab@redhat.com>
29658
29659 [BZ #12892]
29660 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
29661 it would create a cycle with a link time dependency.
29662
d9a4d2ab
UD
296632011-10-19 Ulrich Drepper <drepper@gmail.com>
29664
855d1560
UD
29665 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
29666 instruction.
29667 * string/Makefile (strop-tests): Add rawmemchr.
29668 * string/test-rawmemchr.c: New file.
29669
d9a4d2ab
UD
29670 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
29671 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
29672 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
29673 when compiling str{,n}casecmp and when AVX is available. Hook up
29674 new optimized code in initializers.
29675
8f3b1ffe
AS
296762011-10-19 Andreas Schwab <schwab@redhat.com>
29677
29678 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
29679 __feraiseexcept instead of feraiseexcept.
29680
d38f1dba
UD
296812011-10-18 Ulrich Drepper <drepper@gmail.com>
29682
d9a8d0ab
UD
29683 * math/math_private.h: Define defaults for libc_fetestexcept and
29684 libc_feupdateenv.
29685 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
29686 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
29687 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29688 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29689 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29690 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29691 libc_fetestexcept and libc_feupdateenv.
29692
4855e3dd
UD
29693 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
29694 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
29695 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
29696 * sysdeps/x86_64/fpu/math_private.h: Define special version of
29697 libc_feholdexcept_setround.
29698
581d30e3
UD
29699 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
29700 Add s_nearbyint-c and s_nearbyintf-c.
29701 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
29702 nearbyintf inlines.
29703 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
29704 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
29705 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
29706 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
29707
d38f1dba
UD
29708 * math/math_private.h: Define defaults for libc_fegetround,
29709 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
29710 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
29711 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
29712 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
29713 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
29714 standard functions.
29715 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29716 Remove comments and hacks for old compiler versions.
29717 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29718 libc_fegetround, libc_fesetround, libc_feholdexcept, and
29719 libc_feholdexceptl.
29720
caa6c9d8
AS
297212011-10-18 Andreas Schwab <schwab@redhat.com>
29722
29723 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
29724 (__feraiseexcept_renamed): Add __NTH.
29725 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
29726 namespace violations.
29727
97c066e6
UD
297282011-10-17 Ulrich Drepper <drepper@gmail.com>
29729
99ce7b04
UD
29730 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
29731
1004d182
UD
29732 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
29733
228a984d
UD
29734 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
29735 recently added interfaces.
29736 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
29737
c8553a6a
UD
29738 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
29739 about macro parameter expansion.
29740
ed22dcf6
UD
29741 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
29742 __NO_MATH_INLINES is defined. Cleanups.
29743
29744 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
29745 and __floorf is target has SSE4.1.
29746 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
29747 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
29748 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
29749 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
29750
b171c137
UD
29751 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
29752 name.
29753 (floorf): Likewise.
29754
97c066e6
UD
29755 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
29756
629f62ef
AS
297572011-10-17 Andreas Schwab <schwab@redhat.com>
29758
49a43d80
AS
29759 * misc/sys/cdefs.h: Fix last change.
29760
629f62ef
AS
29761 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
29762 database lookup.
29763
e453f6cd
UD
297642011-10-16 Ulrich Drepper <drepper@gmail.com>
29765
aa78043a
UD
29766 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
29767
ad0f5cad
UD
29768 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
29769 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29770 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29771 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29772 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29773 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29774 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29775 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29776 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29777 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
29778 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
29779 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
29780 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
29781 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
29782 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
29783 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
29784 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
29785 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
29786 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
29787 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
29788 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
29789 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
29790
29791 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
29792 ceil, ceilf, floor, floorf.
29793
29794 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
29795 Perform IRELATIVE relocations last.
29796
e453f6cd
UD
29797 * elf/do-rel.h: Add another parameter nrelative, replacing the
29798 local variable with the same name. Change name of the function
29799 to end in Rel or Rela (uppercase).
29800 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
29801 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
29802 elf_dynamic_do_##reloc function.
29803
fd5bdc09
UD
298042011-10-15 Ulrich Drepper <drepper@gmail.com>
29805
79b195b5
UD
29806 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
29807 is sufficient, at least on modern CPUs.
29808
d4a28569
UD
29809 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
29810
b61099b5
UD
29811 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
29812 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
29813
bcf01e6d
UD
29814 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
29815 __expl_finite.
29816 * math/bits/math-finite.h: Add entries for exp.
29817 * math/e_expl.c: Add __*_finite alias.
29818 * sysdeps/i386/fpu/e_exp.S: Likewise.
29819 * sysdeps/i386/fpu/e_expf.S: Likewise.
29820 * sysdeps/i386/fpu/e_expl.c: Likewise.
29821 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29822 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29823 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29824 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29825 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
29826 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29827 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29828
ba1a0d59
UD
29829 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
29830 is sufficient, at least on modern CPUs.
29831
fd5bdc09
UD
29832 * ctype/ctype-info.c (__ctype_init): Define.
29833 * include/ctype.h (__ctype_init): Declare.
29834 (__ctype_b_loc): The variable is always initialized.
29835 (__ctype_toupper_loc): Likewise.
29836 (__ctype_tolower_loc): Likewise.
29837 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
29838 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
29839
7872cfb0
AS
298402011-10-15 Andreas Schwab <schwab@linux-m68k.org>
29841
b468825a
AS
29842 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
29843
7872cfb0
AS
29844 * configure.in: Also look in $cxxmachine/include for C++ system
29845 headers.
29846
be13f7bf
LD
298472011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29848
29849 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
29850 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
29851 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
29852 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
29853 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
29854 (USE_AS_WMEMCMP): New macro.
29855 Fixing indents.
29856 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
29857 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
29858 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
29859 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
29860 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29861 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
29862 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
29863 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
29864 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
29865 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
29866 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
29867 (USE_AS_WMEMCMP): New macro.
29868 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
29869 * sysdeps/string/test-memcmp.c: Update.
29870 Fix simple_wmemcmp.
29871 Add new tests.
29872 * wcsmbs/wmemcmp.c: Update.
29873 (WMEMCMP): New macro.
29874 Fix overflow bug.
29875
556a2007
AJ
298762011-10-12 Andreas Jaeger <aj@suse.de>
29877
29878 [BZ #13268]
29879 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
29880
538faaa7
UD
298812011-10-15 Ulrich Drepper <drepper@gmail.com>
29882
ab6737ff
UD
29883 * libio/iofwide.c (do_length): Avoid warning.
29884
538faaa7
UD
29885 * ctype/ctype.h (__isctype_f): Add missing __THROW.
29886
396a21b1
UD
298872011-10-14 Ulrich Drepper <drepper@gmail.com>
29888
cdf2901f
UD
29889 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
29890
38ad40ce
UD
29891 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
29892 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
29893 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
29894 * sysdeps/i386/i686/fpu/e_log.S: New file.
29895 * sysdeps/i386/i686/fpu/e_logf.S: New file.
29896 * sysdeps/i386/i686/fpu/e_logl.S: New file.
29897
396a21b1
UD
29898 * ctype/ctype.h: Add support for inlined isXXX functions when
29899 compiling C++ code.
29900
6b1f68c9
AS
299012011-10-14 Andreas Schwab <schwab@redhat.com>
29902
349290c0
AS
29903 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29904
6b1f68c9
AS
29905 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
29906
f2282d42
RM
299072011-10-13 Roland McGrath <roland@hack.frob.com>
29908
29909 [BZ #13291]
29910 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
29911
5298ffa8
AS
299122011-10-13 Andreas Schwab <schwab@redhat.com>
29913
714fad23
AS
29914 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
29915 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
29916 feraiseexcept.
29917
81dcc7fb
AS
29918 * sysdeps/x86_64/memrchr.S: Check for zero size.
29919
5298ffa8
AS
29920 * string/stratcliff.c: Add memrchr tests.
29921
951fbcec
LD
299222011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29923
29924 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29925 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
29926 rawmemchr-sse2 rawmemchr-sse2-bsf.
29927 * sysdeps/i386/i686/multiarch/memchr.S: New file.
29928 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
29929 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
29930 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
29931 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
29932 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
29933 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
29934 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
29935 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
29936 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
29937 * string/memrchr.c (MEMRCHR): New macro.
29938
0ac5ae23
UD
299392011-10-12 Ulrich Drepper <drepper@gmail.com>
29940
29941 Add integration with gcc's -ffinite-math-only and optimize wrapper
29942 functions in libm.
29943 * Versions.def: Define GLIBC_2.15 version for libm.
29944 * math/Makefile (headers): Add bits/math-finite.h.
29945 * math/bits/math-finite.h: New file.
29946 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
29947 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
29948 * math/e_acoshl.c: Add __*_finite alias.
29949 * math/e_acosl.c: Likewise.
29950 * math/e_asinl.c: Likewise.
29951 * math/e_atan2l.c: Likewise.
29952 * math/e_atanhl.c: Likewise.
29953 * math/e_coshl.c: Likewise.
29954 * math/e_exp10.c: Likewise.
29955 * math/e_exp10f.c: Likewise.
29956 * math/e_exp10l.c: Likewise.
29957 * math/e_exp2l.c: Likewise.
29958 * math/e_fmodl.c: Likewise.
29959 * math/e_gammal_r.c: Likewise.
29960 * math/e_hypotl.c: Likewise.
29961 * math/e_j0l.c: Likewise.
29962 * math/e_j1l.c: Likewise.
29963 * math/e_jnl.c: Likewise.
29964 * math/e_lgammal_r.c: Likewise.
29965 * math/e_log10l.c: Likewise.
29966 * math/e_log2l.c: Likewise.
29967 * math/e_logl.c: Likewise.
29968 * math/e_powl.c: Likewise.
29969 * math/e_sinhl.c: Likewise.
29970 * math/e_sqrtl.c: Likewise.
29971 * math/e_scalb.c: Completely rewritten and optimized.
29972 * math/e_scalbf.c: Likewise.
29973 * math/e_scalbl.c: Likewise.
29974 * math/w_acos.c: Likewise.
29975 * math/w_acosf.c: Likewise.
29976 * math/w_acosl.c: Likewise.
29977 * math/w_acosh.c: Likewise.
29978 * math/w_acoshf.c: Likewise.
29979 * math/w_acoshl.c: Likewise.
29980 * math/w_asin.c: Likewise.
29981 * math/w_asinf.c: Likewise.
29982 * math/w_asinl.c: Likewise.
29983 * math/w_atan2.c: Likewise.
29984 * math/w_atan2f.c: Likewise.
29985 * math/w_atan2l.c: Likewise.
29986 * math/w_atanh.c: Likewise.
29987 * math/w_atanhf.c: Likewise.
29988 * math/w_atanhl.c: Likewise.
29989 * math/w_exp10.c: Likewise.
29990 * math/w_exp10f.c: Likewise.
29991 * math/w_exp10l.c: Likewise.
29992 * math/w_fmod.c: Likewise.
29993 * math/w_fmodf.c: Likewise.
29994 * math/w_fmodl.c: Likewise.
29995 * math/w_j0.c: Likewise.
29996 * math/w_j0f.c: Likewise.
29997 * math/w_j0l.c: Likewise.
29998 * math/w_j1.c: Likewise.
29999 * math/w_j1f.c: Likewise.
30000 * math/w_j1l.c: Likewise.
30001 * math/w_jn.c: Likewise.
30002 * math/w_jnf.c: Likewise.
30003 * math/w_log.c: Likewise.
30004 * math/w_logf.c: Likewise.
30005 * math/w_logl.c: Likewise.
30006 * math/w_log10.c: Likewise.
30007 * math/w_log10f.c: Likewise.
30008 * math/w_log10l.c: Likewise.
30009 * math/w_log2.c: Likewise.
30010 * math/w_log2f.c: Likewise.
30011 * math/w_log2l.c: Likewise.
30012 * math/w_pow.c: Likewise.
30013 * math/w_powf.c: Likewise.
30014 * math/w_powl.c: Likewise.
30015 * math/w_remainder.c: Likewise.
30016 * math/w_remainderf.c: Likewise.
30017 * math/w_remainderl.c: Likewise.
30018 * math/w_scalb.c: Likewise.
30019 * math/w_scalbf.c: Likewise.
30020 * math/w_scalbl.c: Likewise.
30021 * math/w_sqrt.c: Likewise.
30022 * math/w_sqrtf.c: Likewise.
30023 * math/w_sqrtl.c: Likewise.
30024 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
30025 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
30026 used.
30027 * math/math_private.h: Declare __kernel_standard_f.
30028 * math/w_cosh.c: Remove cruft and optimize a bit.
30029 * math/w_coshf.c: Likewise.
30030 * math/w_coshl.c: Likewise.
30031 * math/w_exp2.c: Likewise.
30032 * math/w_exp2f.c: Likewise.
30033 * math/w_exp2l.c: Likewise.
30034 * math/w_hypot.c: Likewise.
30035 * math/w_hypotf.c: Likewise.
30036 * math/w_hypotl.c: Likewise.
30037 * math/w_lgamma.c: Likewise.
30038 * math/w_lgamma_r.c: Likewise.
30039 * math/w_lgammaf.c: Likewise.
30040 * math/w_lgammaf_r.c: Likewise.
30041 * math/w_lgammal.c: Likewise.
30042 * math/w_lgammal_r.c: Likewise.
30043 * math/w_sinh.c: Likewise.
30044 * math/w_sinhf.c: Likewise.
30045 * math/w_sinhl.c: Likewise.
30046 * math/w_tgamma.c: Likewise.
30047 * math/w_tgammaf.c: Likewise.
30048 * math/w_tgammal.c: Likewise.
30049 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30050 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30051 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
30052 Minor optimizations. Pretty printing. Remove cruft.
30053 * sysdeps/i386/fpu/e_acosf.S: Likewise.
30054 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30055 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30056 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30057 * sysdeps/i386/fpu/e_acosl.c: Likewise.
30058 * sysdeps/i386/fpu/e_asin.S: Likewise.
30059 * sysdeps/i386/fpu/e_asinf.S: Likewise.
30060 * sysdeps/i386/fpu/e_atan2.S: Likewise.
30061 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
30062 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
30063 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30064 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30065 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30066 * sysdeps/i386/fpu/e_exp10.S: Likewise.
30067 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
30068 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
30069 * sysdeps/i386/fpu/e_exp2.S: Likewise.
30070 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
30071 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
30072 * sysdeps/i386/fpu/e_fmod.S: Likewise.
30073 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
30074 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
30075 * sysdeps/i386/fpu/e_hypot.S: Likewise.
30076 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
30077 * sysdeps/i386/fpu/e_log.S: Likewise.
30078 * sysdeps/i386/fpu/e_log10.S: Likewise.
30079 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30080 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30081 * sysdeps/i386/fpu/e_log2.S: Likewise.
30082 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30083 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30084 * sysdeps/i386/fpu/e_logf.S: Likewise.
30085 * sysdeps/i386/fpu/e_logl.S: Likewise.
30086 * sysdeps/i386/fpu/e_pow.S: Likewise.
30087 * sysdeps/i386/fpu/e_powf.S: Likewise.
30088 * sysdeps/i386/fpu/e_powl.S: Likewise.
30089 * sysdeps/i386/fpu/e_remainder.S: Likewise.
30090 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
30091 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
30092 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30093 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30094 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30095 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
30096 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
30097 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
30098 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30099 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30100 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30101 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30102 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30103 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30104 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
30105 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30106 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30107 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30108 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30109 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30110 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30111 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30112 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30113 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30114 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30115 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30116 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30117 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30118 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30119 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30120 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30121 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30122 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30123 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30124 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30125 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30126 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
30127 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
30128 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30129 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30130 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30131 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
30132 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
30133 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
30134 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
30135 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
30136 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
30137 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
30138 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
30139 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
30140 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
30141 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
30142 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30143 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
30144 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
30145 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
30146 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
30147 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
30148 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
30149 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30150 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30151 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30152 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30153 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
30154 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
30155 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
30156 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
30157 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
30158 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
30159 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30160 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30161 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30162 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30163 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30164 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30165 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30166 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
30167 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30168 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30169 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30170 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30171 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30172 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30173 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30174 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30175 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30176 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30177 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30178 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30179 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30180 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
30181 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30182 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30183 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30184 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30185 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30186 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30187 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30188 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30189 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30190 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30191 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
30192 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30193 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30194 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30195 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
30196 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
30197 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
30198 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
30199 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
30200 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
30201 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
30202 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30203 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30204 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30205 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30206 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
30207 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30208 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
30209 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
30210 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
30211 (__isnanf): Likewise.
30212 (__isinf_ns): Likewise.
30213 (__isinf_nsf): Likewise.
30214 (__finite): Likewise.
30215 (__finitef): Likewise.
30216 (__ieee754_sqrt): Define as macro.
30217 (__ieee754_sqrtf): Define as macro.
30218 (__ieee754_sqrtl): Define as macro.
30219 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
30220 inlined copy.
30221 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
30222 __FINITE_MATH_ONLY__ consistent.
30223 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
30224
12cc2fcd
AS
302252011-10-10 Andreas Schwab <schwab@linux-m68k.org>
30226
a843a204
AS
30227 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
30228 of rawmemchr.
30229
12cc2fcd
AS
30230 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
30231
c853acd5
UD
302322011-10-09 Ulrich Drepper <drepper@gmail.com>
30233
30234 * po/ja.po: Update from translation team.
30235
c658d255
RM
302362011-10-08 Roland McGrath <roland@hack.frob.com>
30237
110946e4
RM
30238 * locale/programs/locarchive.c (prepare_address_space): New function.
30239 (create_archive, enlarge_archive, open_archive): Use it.
30240
50604220
RM
30241 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
30242 inside [SHARED], where it is used.
30243
c658d255
RM
30244 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
30245
30246 * nss/getent.c (netgroup_keys): Remove unused variable.
30247 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30248
6a621eb7
UD
302492011-10-08 Ulrich Drepper <drepper@gmail.com>
30250
7edb55ce
UD
30251 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
30252 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
30253 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
30254 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
30255 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
30256 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
30257 * math/Makefile (libm-calls): Add s_isinf_ns.
30258 * math/divtc3.c: Use __isinf_nsl instead of isinf.
30259 * math/multc3.c: Likewise.
30260 * math/s_casin.c: Likewise.
30261 * math/s_casinf.c: Likewise.
30262 * math/s_casinl.c: Likewise.
30263 * math/s_ccos.c: Likewise.
30264 * math/s_ccosf.c: Likewise.
30265 * math/s_ccosl.c: Likewise.
30266 * math/s_ctan.c: Likewise.
30267 * math/s_ctanf.c: Likewise.
30268 * math/s_ctanh.c: Likewise.
30269 * math/s_ctanhf.c: Likewise.
30270 * math/s_ctanhl.c: Likewise.
30271 * math/s_ctanl.c: Likewise.
30272 * math/w_fmod.c: Likewise.
30273 * math/w_fmodf.c: Likewise.
30274 * math/w_fmodl.c: Likewise.
30275 * math/w_remainder.c: Likewise.
30276 * math/w_remainderf.c: Likewise.
30277 * math/w_remainderl.c: Likewise.
30278 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
30279 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
30280 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
30281 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
30282 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
30283 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
30284 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
30285 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
30286
187da0ae
UD
30287 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
30288 of the number.
30289 * stdio-common/printf_fphex.c: Likewise.
30290 * stdio-common/printf_size.c: Likewise.
30291
9277c064
UD
30292 * math/e_exp10.c: Include math_private.h using <...> not "...".
30293 * math/e_exp10f.c: Likewise.
30294 * math/e_exp10l.c: Likewise.
30295 * math/e_exp2l.c: Likewise.
30296 * math/e_j0l.c: Likewise.
30297 * math/e_j1l.c: Likewise.
30298 * math/e_jnl.c: Likewise.
30299 * math/e_lgammal_r.c: Likewise.
30300 * math/e_rem_pio2l.c: Likewise.
30301 * math/e_scalb.c: Likewise.
30302 * math/e_scalbf.c: Likewise.
30303 * math/e_scalbl.c: Likewise.
30304 * math/k_cosl.c: Likewise.
30305 * math/k_sinl.c: Likewise.
30306 * math/k_tanl.c: Likewise.
30307 * math/s_cacoshf.c: Likewise.
30308 * math/s_catan.c: Likewise.
30309 * math/s_catanf.c: Likewise.
30310 * math/s_catanh.c: Likewise.
30311 * math/s_catanhf.c: Likewise.
30312 * math/s_catanhl.c: Likewise.
30313 * math/s_catanl.c: Likewise.
30314 * math/s_ccosh.c: Likewise.
30315 * math/s_ccoshf.c: Likewise.
30316 * math/s_ccoshl.c: Likewise.
30317 * math/s_cexp.c: Likewise.
30318 * math/s_cexpf.c: Likewise.
30319 * math/s_cexpl.c: Likewise.
30320 * math/s_clog.c: Likewise.
30321 * math/s_clog10.c: Likewise.
30322 * math/s_clog10f.c: Likewise.
30323 * math/s_clog10l.c: Likewise.
30324 * math/s_clogf.c: Likewise.
30325 * math/s_clogl.c: Likewise.
30326 * math/s_csin.c: Likewise.
30327 * math/s_csinf.c: Likewise.
30328 * math/s_csinh.c: Likewise.
30329 * math/s_csinhf.c: Likewise.
30330 * math/s_csinhl.c: Likewise.
30331 * math/s_csinl.c: Likewise.
30332 * math/s_csqrt.c: Likewise.
30333 * math/s_csqrtf.c: Likewise.
30334 * math/s_csqrtl.c: Likewise.
30335 * math/s_ctan.c: Likewise.
30336 * math/s_ctanf.c: Likewise.
30337 * math/s_ctanh.c: Likewise.
30338 * math/s_ctanhf.c: Likewise.
30339 * math/s_ctanhl.c: Likewise.
30340 * math/s_ctanl.c: Likewise.
30341 * math/s_ldexp.c: Likewise.
30342 * math/s_ldexpf.c: Likewise.
30343 * math/s_ldexpl.c: Likewise.
30344 * math/s_significand.c: Likewise.
30345 * math/s_significandf.c: Likewise.
30346 * math/s_significandl.c: Likewise.
30347 * math/w_acos.c: Likewise.
30348 * math/w_acosf.c: Likewise.
30349 * math/w_acosh.c: Likewise.
30350 * math/w_acoshf.c: Likewise.
30351 * math/w_acoshl.c: Likewise.
30352 * math/w_acosl.c: Likewise.
30353 * math/w_asin.c: Likewise.
30354 * math/w_asinf.c: Likewise.
30355 * math/w_asinl.c: Likewise.
30356 * math/w_atan2.c: Likewise.
30357 * math/w_atan2f.c: Likewise.
30358 * math/w_atan2l.c: Likewise.
30359 * math/w_atanh.c: Likewise.
30360 * math/w_atanhf.c: Likewise.
30361 * math/w_atanhl.c: Likewise.
30362 * math/w_cosh.c: Likewise.
30363 * math/w_coshf.c: Likewise.
30364 * math/w_coshl.c: Likewise.
30365 * math/w_dremf.c: Likewise.
30366 * math/w_exp10.c: Likewise.
30367 * math/w_exp10f.c: Likewise.
30368 * math/w_exp10l.c: Likewise.
30369 * math/w_exp2.c: Likewise.
30370 * math/w_exp2f.c: Likewise.
30371 * math/w_fmod.c: Likewise.
30372 * math/w_fmodf.c: Likewise.
30373 * math/w_fmodl.c: Likewise.
30374 * math/w_hypot.c: Likewise.
30375 * math/w_hypotf.c: Likewise.
30376 * math/w_hypotl.c: Likewise.
30377 * math/w_j0.c: Likewise.
30378 * math/w_j0f.c: Likewise.
30379 * math/w_j0l.c: Likewise.
30380 * math/w_j1.c: Likewise.
30381 * math/w_j1f.c: Likewise.
30382 * math/w_j1l.c: Likewise.
30383 * math/w_jn.c: Likewise.
30384 * math/w_jnf.c: Likewise.
30385 * math/w_jnl.c: Likewise.
30386 * math/w_lgamma.c: Likewise.
30387 * math/w_lgamma_r.c: Likewise.
30388 * math/w_lgammaf.c: Likewise.
30389 * math/w_lgammaf_r.c: Likewise.
30390 * math/w_lgammal.c: Likewise.
30391 * math/w_lgammal_r.c: Likewise.
30392 * math/w_log.c: Likewise.
30393 * math/w_log10.c: Likewise.
30394 * math/w_log10f.c: Likewise.
30395 * math/w_log10l.c: Likewise.
30396 * math/w_log2.c: Likewise.
30397 * math/w_log2f.c: Likewise.
30398 * math/w_log2l.c: Likewise.
30399 * math/w_logf.c: Likewise.
30400 * math/w_logl.c: Likewise.
30401 * math/w_pow.c: Likewise.
30402 * math/w_powf.c: Likewise.
30403 * math/w_powl.c: Likewise.
30404 * math/w_remainder.c: Likewise.
30405 * math/w_remainderf.c: Likewise.
30406 * math/w_remainderl.c: Likewise.
30407 * math/w_scalb.c: Likewise.
30408 * math/w_scalbf.c: Likewise.
30409 * math/w_scalbl.c: Likewise.
30410 * math/w_sinh.c: Likewise.
30411 * math/w_sinhf.c: Likewise.
30412 * math/w_sinhl.c: Likewise.
30413 * math/w_sqrt.c: Likewise.
30414 * math/w_sqrtf.c: Likewise.
30415 * math/w_sqrtl.c: Likewise.
30416 * math/w_tgamma.c: Likewise.
30417 * math/w_tgammaf.c: Likewise.
30418 * math/w_tgammal.c: Likewise.
30419
6a621eb7
UD
30420 * po/ja.po: Update from translation team.
30421
bf582445
AJ
304222011-09-29 Andreas Jaeger <aj@suse.de>
30423
f9efbf3a
AJ
30424 [BZ #13179]
30425 * sunrpc/netname.c (netname2host): Fix logic.
30426
bf582445
AJ
30427 [BZ #6779]
30428 [BZ #6783]
30429 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
30430 correctly.
30431 * math/w_remainder.c (__remainder): Likewise.
30432 * math/w_remainderf.c (__remainderf): Likewise.
30433 * math/libm-test.inc (remainder_test): Add test cases.
30434
48693bea
AK
304352011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30436
30437 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
30438 sdiv_qrnnd.
30439
42622229
LD
304402011-10-07 Ulrich Drepper <drepper@gmail.com>
30441
30442 * string/test-memcmp.c: Avoid unncessary #defines.
30443 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30444
093ecf92
LD
304452011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30446
30447 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
30448 Use new sse2 version for core i3 - i7 as it's faster
30449 than sse42 version.
30450 (bit_Prefer_PMINUB_for_stringop): New.
30451 * sysdeps/x86_64/rawmemchr.S: Update.
30452 Replace with faster SSE2 version.
30453 * sysdeps/x86_64/memrchr.S: New file.
30454 * sysdeps/x86_64/memchr.S: Update.
30455 Replace with faster SSE2 version.
30456
fde56e5c
MP
304572011-09-12 Marek Polacek <mpolacek@redhat.com>
30458
30459 * elf/dl-load.c (lose): Add cast to avoid warning.
30460
21fd49a9
UD
304612011-10-07 Ulrich Drepper <drepper@gmail.com>
30462
5a06e643
UD
30463 * po/ca.po: Update from translation team.
30464
684ae515
UD
30465 * inet/getnetgrent_r.c: Hook up nscd.
30466 * nscd/Makefile (routines): Add nscd_netgroup.
30467 (nscd-modules): Add netgroupcache.
30468 (CFLAGS-netgroupcache.c): Define.
30469 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
30470 (cache_search): Add const to second parameter.
30471 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
30472 INNETGR.
30473 (dbs): Add netgrdb entry.
30474 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
30475 (verify_persistent_db): Handle netgrdb.
30476 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
30477 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
30478 GETFDNETGR.
30479 (netgroup_response_header): Define.
30480 (innetgroup_response_header): Define.
30481 (datahead): Add netgroup_response_header and innetgroup_response_header
30482 elements.
30483 * nscd/nscd.conf: Add entries for netgroup cache.
30484 * nscd/nscd.h (dbtype): Add netgrdb.
30485 (_PATH_NSCD_NETGROUP_DB): Define.
30486 (netgroup_iov_disabled): Declare.
30487 (xmalloc, xcalloc, xrealloc): Move declarations here.
30488 (cache_search): Adjust prototype.
30489 Add netgroup-related prototypes.
30490 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
30491 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
30492 (__nscd_innetgr): Declare.
30493 * nscd/selinux.c (perms): Use access_vector_t as element type and
30494 add netgroup-related initializers.
30495 * nscd/netgroupcache.c: New file.
30496 * nscd/nscd_netgroup.c: New file.
30497 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
30498 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
30499 For four parameters use innetgr.
30500 * nss/nss_files/files-init.c: Add definition and callback for netgr.
30501 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
30502 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
30503 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
30504
21fd49a9
UD
30505 * nscd/connections.c (register_traced_file): Don't register file
30506 for disabled databases.
30507
054c0457
UD
305082011-10-06 Ulrich Drepper <drepper@gmail.com>
30509
32b63198
UD
30510 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
30511
054c0457
UD
30512 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
30513 from tree and freeing node.
30514
64031225
JO
305152011-09-25 Jiri Olsa <jolsa@redhat.com>
30516
30517 * nss/nsswitch.c (__nss_database_lookup): Handle
30518 nss_parse_service_list out of memory case.
30519
0490345c
JO
305202011-09-15 Jiri Olsa <jolsa@redhat.com>
30521
30522 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
30523 out of memory case.
30524
3a62d00d
AS
305252011-10-04 Andreas Schwab <schwab@redhat.com>
30526
30527 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
30528 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
30529 pass it down.
30530 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
30531 elf_machine_rela, elf_machine_lazy_rel.
30532 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
30533 (ELF_DYNAMIC_DO_REL): Likewise.
30534 (ELF_DYNAMIC_DO_RELA): Likewise.
30535 (ELF_DYNAMIC_RELOCATE): Likewise.
30536 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
30537 to ELF_DYNAMIC_DO_REL.
30538 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
30539 (dl_main): In trace mode always set __RTLD_NOIFUNC.
30540 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
30541 elf_machine_rela.
30542 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
30543 skip_ifunc, don't call ifunc function if non-zero.
30544 (elf_machine_rela): Likewise.
30545 (elf_machine_lazy_rel): Likewise.
30546 (elf_machine_lazy_rela): Likewise.
30547 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
30548 (elf_machine_lazy_rel): Likewise.
30549 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
30550 Likewise.
30551 (elf_machine_lazy_rel): Likewise.
30552 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30553 Likewise.
30554 (elf_machine_lazy_rel): Likewise.
30555 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
30556 (elf_machine_lazy_rel): Likewise.
30557 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
30558 (elf_machine_lazy_rel): Likewise.
30559 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30560 (elf_machine_lazy_rel): Likewise.
30561 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30562 (elf_machine_lazy_rel): Likewise.
30563 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30564 (elf_machine_lazy_rel): Likewise.
30565 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
30566 (elf_machine_lazy_rel): Likewise.
30567
68577918
UD
305682011-09-28 Ulrich Drepper <drepper@gmail.com>
30569
30570 * nss/nss_files/files-init.c (_nss_files_init): Use static
30571 initialization for all the *_traced_file variables.
30572
68822d74
AS
305732011-09-28 Andreas Schwab <schwab@redhat.com>
30574
30575 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30576
2056100b
RM
305772011-09-27 Roland McGrath <roland@hack.frob.com>
30578
30579 [BZ #13226]
30580 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
30581
32c76b63
AS
305822011-09-27 Andreas Schwab <schwab@redhat.com>
30583
30584 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30585 Reread the line before reparsing it.
30586
bf972c9d
AS
305872011-09-26 Andreas Schwab <schwab@redhat.com>
30588
30589 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
30590
e057a1b5
JM
305912011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
30592 Maxim Kuvyrkov <maxim@codesourcery.com>
30593 Joseph Myers <joseph@codesourcery.com>
30594
30595 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
30596 if needed for __stack_chk_guard.
30597
bc7e1c36
RM
305982011-09-19 Roland McGrath <roland@hack.frob.com>
30599
ecb1482f
RM
30600 * sysdeps/posix/spawni.c (script_execute): Always define it.
30601 It will be optimized away if unused.
30602 (maybe_script_execute): New function.
30603 (__spawni): Call it.
30604
bc7e1c36
RM
30605 * Makerules: Don't include tls.make.
30606 (config-tls): Always set to thread.
30607 * tls.make.c: File removed.
30608
1c3b002b
MF
306092011-09-19 Mike Frysinger <vapier@gentoo.org>
30610
30611 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
30612 * config.make.in (CPPFLAGS-config): New substituted variable.
30613
2840865d
UD
306142011-09-15 Ulrich Drepper <drepper@gmail.com>
30615
88738eb6
UD
30616 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
30617
cbf645a6 30618 [BZ #13192]
2840865d
UD
30619 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
30620 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
30621
b402e91a
RM
306222011-09-15 Roland McGrath <roland@hack.frob.com>
30623
30624 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
30625 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
30626 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30627 (CALL_FAIL): Likewise.
30628 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
30629 (CALL_FAIL): Macro removed.
30630 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
30631
4c1a1f71
UD
306322011-09-15 Ulrich Drepper <drepper@gmail.com>
30633
30634 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
30635 for __FINITE_MATH_ONLY__ == 1.
30636
edc121be
AS
306372011-09-15 Andreas Schwab <schwab@redhat.com>
30638
30639 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
30640 __ieee754_sqrt instead of sqrt.
30641 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
30642 __ieee754_sqrtf instead of sqrtf.
30643 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
30644 __floorf instead of floorf.
30645 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
30646 __floorf, __truncf instead of floorf, truncf.
30647
cd205654
UD
306482011-09-14 Ulrich Drepper <drepper@gmail.com>
30649
ee4d0315
UD
30650 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
30651
cd205654
UD
30652 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
30653 __extern_always_inline.
30654 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
30655 32-bit.
30656
48b67d71
AS
306572011-09-14 Andreas Schwab <schwab@redhat.com>
30658
30659 * elf/rtld.c (dl_main): Also relocate in dependency order when
30660 doing symbol dependency testing.
30661
1ae12c75
AS
306622011-09-13 Andreas Schwab <schwab@linux-m68k.org>
30663
30664 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30665 Always define `refsym'.
30666
995a80df
AS
306672011-09-13 Andreas Schwab <schwab@redhat.com>
30668
e529793b
AS
30669 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
30670 (__FD_ELT): Renamed from __FDELT.
30671 * misc/bits/select2.h (__FD_ELT): Likewise.
30672 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
30673 __FD_MASK instead of __FDELT, __FDMASK.
30674 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30675 Likewise.
30676 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30677 Likewise.
30678
52d4fef8
AS
30679 * elf/Makefile (gen-ldd): Fix pattern.
30680
995a80df
AS
30681 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
30682 (init_tls): Likewise.
30683
8682f8b0
UD
306842011-09-12 Ulrich Drepper <drepper@gmail.com>
30685
30686 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
30687
de82006d
AS
306882011-09-12 Andreas Schwab <schwab@redhat.com>
30689
a7c8e6a1
AS
30690 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
30691 `struct cmsghdr *' instead of `void *'.
30692 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
30693 Likewise.
30694
0f31fe77
AS
306952011-09-11 Andreas Schwab <schwab@linux-m68k.org>
30696
30697 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
30698 if non-absolute.
30699 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
30700 ldd_rewrite_script.
0f31fe77 30701
32b4c839
UD
307022011-09-11 Ulrich Drepper <drepper@gmail.com>
30703
83cd1420
UD
30704 * configure.in: Remove --with-tls option.
30705 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
30706 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
30707 out in case it is missing.
30708 * sysdeps/ia64/elf/configure.in: Likewise.
30709 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
30710 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
30711 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
30712 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
30713 * sysdeps/sh/elf/configure.in: Likewise.
30714 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
30715 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30716 * sysdeps/x86_64/elf/configure.in: Likewise.
30717 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
30718 * sysdeps/mach/hurd/tls.h: Likewise.
30719
633f745d
UD
30720 [BZ #13067]
30721 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
30722
f318beb8
UD
30723 [BZ #13090]
30724 * configure.in: Fix use of AC_INIT.
30725
32b4c839
UD
30726 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
30727
3ce1f295
UD
307282011-09-10 Ulrich Drepper <drepper@gmail.com>
30729
bb016596
UD
30730 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
30731 __set_errno.
8e58439c
UD
30732 * malloc/hooks.c: Likewise.
30733
aebae053 30734 [BZ #11929]
02d46fc4
UD
30735 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
30736 variables statically.
30737 (narenas): Initialize.
30738 (list_lock): Initialize.
bb016596
UD
30739 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
30740 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
30741 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
30742 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
30743 Add initializers to main_arena and mp_.
30744 (malloc_state): Remove pagesize member. Change all users to use
30745 GLRO(dl_pagesize).
30746
30747 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
30748 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
30749 is always initialized.
30750
22a89187
UD
30751 * malloc/malloc.c: Removed unused configurations and dead code.
30752 * malloc/arena.c: Likewise.
30753 * malloc/hooks.c: Likewise.
02d46fc4 30754 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 30755
d063d164
UD
30756 * include/tls.h: Removed. USE___THREAD must always be defined.
30757 * bits/libc-tsd.h: Don't handle !USE___THREAD.
30758 * elf/dl-libc.c: Likewise.
30759 * elf/dl-tsd.c: Likewise.
30760 * include/errno.h: Likewise.
30761 * include/netdb.h: Likewise.
30762 * include/resolv.h: Likewise.
30763 * inet/herrno-loc.c: Likewise.
30764 * inet/herrno.c: Likewise.
30765 * malloc/arena.c: Likewise.
30766 * malloc/hooks.c: Likewise.
30767 * malloc/malloc.c: Likewise.
30768 * resolv/res-state.c: Likewise.
30769 * resolv/res_libc.c: Likewise.
30770 * sysdeps/i386/dl-machine.h: Likewise.
30771 * sysdeps/ia64/dl-machine.h: Likewise.
30772 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
30773 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30774 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
30775 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
30776 * sysdeps/sh/dl-machine.h: Likewise.
30777 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30778 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30779 * sysdeps/unix/i386/sysdep.S: Likewise.
30780 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30781 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
30782 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
30783 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30784 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
30785 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30786 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30787 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30788 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30789 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30790 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30791 * sysdeps/x86_64/dl-machine.h: Likewise.
30792 * tls.make.c: Likewise.
30793
3ce1f295
UD
30794 * configure.in: Remove --with-__thread option. Make tests for
30795 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
30796 tls_model attribute fail if no support is available. Remove
30797 USE_IN_LIBIO.
30798 * Makeconfig: Adjust for dropped configure option. All features are
30799 now mandatory.
30800 * Makerules: Likewise.
30801 * Versions.def: Likewise.
30802 * argp/argp-fmtstream.c: Likewise.
30803 * argp/argp-fmtstream.h: Likewise.
30804 * argp/argp-help.c: Likewise.
30805 * assert/assert.c: Likewise.
30806 * config.h.in: Likewise.
30807 * config.make.in: Likewise.
30808 * configure: Likewise.
30809 * configure.in: Likewise.
30810 * csu/Versions: Likewise.
30811 * csu/init.c: Likewise.
30812 * elf/tst-audit2.c: Likewise.
30813 * elf/tst-tls10.c: Likewise.
30814 * elf/tst-tls10.h: Likewise.
30815 * elf/tst-tls11.c: Likewise.
30816 * elf/tst-tls12.c: Likewise.
30817 * elf/tst-tls14.c: Likewise.
30818 * elf/tst-tlsmod11.c: Likewise.
30819 * elf/tst-tlsmod12.c: Likewise.
30820 * elf/tst-tlsmod13.c: Likewise.
30821 * elf/tst-tlsmod13a.c: Likewise.
30822 * elf/tst-tlsmod14a.c: Likewise.
30823 * elf/tst-tlsmod15b.c: Likewise.
30824 * elf/tst-tlsmod16a.c: Likewise.
30825 * elf/tst-tlsmod16b.c: Likewise.
30826 * elf/tst-tlsmod7.c: Likewise.
30827 * elf/tst-tlsmod8.c: Likewise.
30828 * elf/tst-tlsmod9.c: Likewise.
30829 * gmon/gmon.c: Likewise.
30830 * grp/fgetgrent_r.c: Likewise.
30831 * grp/putgrent.c: Likewise.
30832 * hurd/fopenport.c: Likewise.
30833 * include/libc-symbols.h: Likewise.
30834 * include/tls.h: Likewise.
30835 * intl/gettextP.h: Likewise.
30836 * intl/loadinfo.h: Likewise.
30837 * locale/global-locale.c: Likewise.
30838 * locale/localeinfo.h: Likewise.
30839 * mach/devstream.c: Likewise.
30840 * malloc/arena.c: Likewise.
30841 * malloc/set-freeres.c: Likewise.
30842 * misc/err.c: Likewise.
30843 * misc/getttyent.c: Likewise.
30844 * misc/mntent_r.c: Likewise.
30845 * posix/getopt.c: Likewise.
30846 * posix/wordexp.c: Likewise.
30847 * pwd/fgetpwent_r.c: Likewise.
30848 * resolv/Versions: Likewise.
30849 * resolv/res_hconf.c: Likewise.
30850 * shadow/fgetspent_r.c: Likewise.
30851 * shadow/putspent.c: Likewise.
30852 * stdio-common/printf_fphex.c: Likewise.
30853 * stdio-common/tmpfile.c: Likewise.
30854 * stdlib/abort.c: Likewise.
30855 * stdlib/fmtmsg.c: Likewise.
30856 * sunrpc/auth_unix.c: Likewise.
30857 * sunrpc/clnt_perr.c: Likewise.
30858 * sunrpc/clnt_tcp.c: Likewise.
30859 * sunrpc/clnt_udp.c: Likewise.
30860 * sunrpc/clnt_unix.c: Likewise.
30861 * sunrpc/openchild.c: Likewise.
30862 * sunrpc/svc_simple.c: Likewise.
30863 * sunrpc/svc_tcp.c: Likewise.
30864 * sunrpc/svc_udp.c: Likewise.
30865 * sunrpc/svc_unix.c: Likewise.
30866 * sunrpc/xdr.c: Likewise.
30867 * sunrpc/xdr_array.c: Likewise.
30868 * sunrpc/xdr_rec.c: Likewise.
30869 * sunrpc/xdr_ref.c: Likewise.
30870 * sunrpc/xdr_stdio.c: Likewise.
30871
1248c1c4
PB
308722011-09-09 Ulrich Drepper <drepper@gmail.com>
30873
30874 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30875
308762011-07-03 Andreas Jaeger <aj@suse.de>
30877
30878 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
30879 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
30880 regenerate with gen-libm-tests.pl.
30881
308822010-05-12 Petr Baudis <pasky@suse.cz>
30883
30884 [BZ #11589]
30885 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
30886 around j0() zero points by switching to j1().
30887 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30888 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30889 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30890 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30891
f22e1074
UD
308922011-09-09 Ulrich Drepper <drepper@gmail.com>
30893
f19009c1
UD
30894 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
30895 instead of 0.
30896 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 30897 instead of 0.
f19009c1
UD
30898 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30899 Patch in part by Pavel Roskin <proski@gnu.org>.
30900
3f8cc204
UD
30901 [BZ #13138]
30902 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
30903 realloc.
30904 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
30905 Free memory block if necessary.
30906
f22e1074
UD
30907 [BZ #12847]
30908 * libio/genops.c (INTDEF): For string streams the _lock pointer can
30909 be NULL. Don't lock in this case.
30910
0a2349f9
RM
309112011-09-09 Roland McGrath <roland@hack.frob.com>
30912
30913 * elf/elf.h (ELFOSABI_GNU): New macro.
30914 (ELFOSABI_LINUX): Define to that.
30915
f3cdd467
DZ
309162011-07-29 Denis Zaitceff <zaitceff@gmail.com>
30917
30918 * string/strncat.c (strncat): Undef the symbol in case it has been
30919 defined in bits/string.h.
30920
74718d13
UD
309212011-09-09 Ulrich Drepper <drepper@gmail.com>
30922
633e9e0f
UD
30923 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
30924
0a2349f9 30925 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
30926 link map.
30927
f9924780
AJ
309282011-08-17 Andreas Jaeger <aj@suse.de>
30929
30930 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
30931
7f5517aa
PP
309322011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
30933 Ian Lance Taylor <iant@google.com>
30934
30935 * math/libm-test.inc (lround_test): New testcase.
30936 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
30937
762011fe
UD
309382011-09-08 Ulrich Drepper <drepper@gmail.com>
30939
92963737
UD
30940 * Makefile: Remove support for automatic cvs check-ins.
30941 * Makerules: Likewise.
30942 * config.make.in: Likewise.
30943 * configure.in: Likewise.
30944 * intl/Makefile: Likewise.
30945 * locale/Makefile: Likewise.
30946 * po/Makefile: Likewise.
30947 * posix/Makefile: Likewise.
30948 * sysdeps/gnu/Makefile: Likewise.
30949 * sysdeps/mach/hurd/Makefile: Likewise.
30950 * sysdeps/sparc/sparc32/Makefile: Likewise.
30951
b0727fd8
JS
30952 [BZ #13118]
30953 * posix/Makefile (bug-regex32-ENV): Define.
30954 Patch by John Stanley <jpsinthemix@verizon.net>.
30955
a0f33f99
UD
30956 * misc/Makefile (headers): Add bits/select2.h.
30957 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
30958 * misc/bits/select2.h: New file.
30959 * include/bits/select2.h: New file.
30960 * debug/Makefile (routines): Add fdelt_chk.
30961 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
30962 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
30963 FD_ISSET.
30964 * debug/fdelt_chk.c: New file.
30965
762011fe
UD
30966 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
30967 * wcsmbs/test-wmemcmp.c: Likewise.
30968 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 30969 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
30970
309712011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30972
30973 * string/Makefile (strop-tests): Add memcmp.
30974 * string/test-wmemcmp.c: New file.
30975 * string/test-memcmp.c: Add wmemcmp support.
30976
7f513ec8
RM
309772011-09-08 Roland McGrath <roland@hack.frob.com>
30978
0442afb4
RM
30979 [BZ #13153]
30980 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
30981 2011-07-19 change.
30982
7f513ec8
RM
30983 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
30984 garbage value in a __mach_port_mod_refs call in the cases of the
30985 task-self and thread-self ports.
30986
a12b2239
ST
309872011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
30988
30989 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
30990
610f9ab4
AS
309912011-09-08 Andreas Schwab <schwab@redhat.com>
30992
7f513ec8 30993 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 30994
48882a1a
LD
309952011-09-07 Ulrich Drepper <drepper@gmail.com>
30996
b49865be
UD
30997 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
30998
fdc86bc9
UD
30999 * elf/dl-libc.c (dlerror_run): Pass back error code from
31000 dl_catch_error.
31001
c966526a
UD
31002 [BZ #13123]
31003 * elf/dl-load.c (lose): Free l_origin if it is valid.
31004
48882a1a
LD
31005 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
31006 names.
31007 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
31008 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31009 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31010 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31011 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
31012 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
31013
77a2a8b4
AZ
310142011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31015
31016 * sysdeps/powerpc/fpu/e_hypot.c: New file.
31017 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
31018 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
31019 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
31020 * sysdeps/powerpc/fpu/k_cosf.c: New file.
31021 * sysdeps/powerpc/fpu/k_sinf.c: New file.
31022 * sysdeps/powerpc/fpu/s_cosf.c: New file.
31023 * sysdeps/powerpc/fpu/s_sinf.c: New file.
31024 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
31025 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
31026
24f579d8
AM
310272011-08-15 Alan Modra <amodra@gmail.com>
31028
31029 [BZ #13092]
31030 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
31031 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
31032 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
31033 ppc_mcount to static-only-routines.
31034 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
31035 __mcount_internal.
31036 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
31037 __mcount_internal with usual JUMPTARGET. Remove useless nop.
31038
3d4837df
UD
310392011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
31040
31041 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
31042 for finite and infinity parameters.
31043
22700377
WS
310442011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
31045
31046 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
31047 and add nop instructions for throughput optimization.
31048 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31049
5025581e
WS
310502011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
31051
31052 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
31053 aligned copy for power7 with vector-scalar instructions.
31054 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
31055
08a300c9
L
310562011-07-24 H.J. Lu <hongjiu.lu@intel.com>
31057
31058 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
31059 AVX check.
31060
59178ef9
AS
310612011-09-07 Andreas Schwab <schwab@redhat.com>
31062
31063 [BZ #13144]
31064 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
31065 last change.
31066
e38ba7ab
UD
310672011-09-07 Ulrich Drepper <drepper@gmail.com>
31068
31069 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31070 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
31071 syscall wrapper around clock_gettime in __vdso_clock_gettime.
31072 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
31073 clock_gettime.
31074
d53a73ac
UD
310752011-09-06 Ulrich Drepper <drepper@gmail.com>
31076
fc8bffcc
UD
31077 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
31078 Forgot to demangle the pointer.
31079
ceaa0c5d
UD
31080 * sysdeps/i386/sysdep.h: Define atom_text_section.
31081 * sysdeps/x86_64/sysdep.h: Likewise.
31082 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
31083 section with atom_text_section.
31084 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31085 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31086 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
31087 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31088 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
31089
a77d3c17
UD
31090 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
31091 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
31092 already be defined. Change to take two parameters and don't assign
31093 result to variable. Adjust all users.
31094 Define INTERNAL_GETTIME if not already defined.
31095 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
31096 call.
31097 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
31098 HAVE_CLOCK_GETTIME_VSYSCALL.
31099 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
31100
d53a73ac
UD
31101 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
31102 gettimeofday vsyscall, just use time.
31103
a8f84144
AS
311042011-09-06 Andreas Schwab <schwab@redhat.com>
31105
31106 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
31107 <errno.h>.
31108
ef606249
UD
311092011-09-06 Ulrich Drepper <drepper@gmail.com>
31110
31111 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
31112 syscall on x86-64.
31113 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
31114 syscall.
31115 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
31116 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
31117 syscall if possible.
31118
6585cb60
UD
311192011-09-05 Ulrich Drepper <drepper@gmail.com>
31120
31121 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
31122 e_ident. Don't pass to find_mapsXX.
31123 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
31124
a5f524e4
LD
311252011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31126
31127 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31128 strchr-sse2-no-bsf strrchr-sse2-no-bsf
31129 * sysdeps/x86_64/multiarch/strchr.S: Update.
31130 Check bit_slow_BSF bit.
31131 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31132 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
31133 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
31134
554881ef
UD
311352011-09-05 Ulrich Drepper <drepper@gmail.com>
31136
d96de963
UD
31137 [BZ #13134]
31138 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
31139 before glibc 2.15.
31140 (tryshell): Define.
31141 (__spawni): Change last parameter to be flag. Test
31142 SPAWN_XFLAGS_USE_PATH flag to use path or not.
31143 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
31144 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
31145 * posix/spawni.c: Likewise.
31146 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
31147 * posix/spawnp.c: Likewise. Change normal version to use
31148 SPAWN_XFLAGS_USE_PATH.
31149 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
31150 SPAWN_XFLAGS_TRY_SHELL.
31151
d48e5868
UD
31152 [BZ #13150]
31153 * posix/glob.h: Remove gcc 1.x support.
31154
554881ef
UD
31155 [BZ #13068]
31156 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
31157
693fb948
LD
311582011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31159
31160 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31161 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
31162 strrchr-sse2-bsf
31163 * sysdeps/i386/i686/multiarch/strchr.S: New file.
31164 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
31165 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
31166 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
31167 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
31168 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
31169
1b48c537
UD
311702011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31171
49d42c37
UD
31172 * sysdeps/x86_64/wcscmp.S: New file.
31173
1b48c537
UD
31174 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
31175 wcscmp-c wcscmp-sse2
31176 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
31177 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
31178 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
31179 * wcsmbs/wcscmp.c: Allow renaming.
31180
15c95c5d
DM
311812011-09-05 David S. Miller <davem@davemloft.net>
31182
31183 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
31184 stack slot, rather than the struct return pointer slot.
31185 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
31186 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
31187 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
31188 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
31189
2f0ad8f3
UD
311902011-09-05 Ulrich Drepper <drepper@gmail.com>
31191
d88ae418
UD
31192 * po/ja.po: Update from translation team.
31193
2f0ad8f3
UD
31194 [BZ #13144]
31195 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
31196 kernel in 64-bit binaries.
31197
5f4318d1
DM
311982011-09-01 David S. Miller <davem@davemloft.net>
31199
31200 * elf/elf.h (HWCAP_SPARC_*): Move to..
31201 * sysdeps/sparc/sysdep.h: this new file and add new values.
31202 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
31203 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
31204 _DL_HWCAP_COUNT to 24.
31205 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31206 entries.
31207 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
31208 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
31209 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
31210 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
31211 instead of magic constants.
31212 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31213
3ba57516
DM
312142011-08-31 David S. Miller <davem@davemloft.net>
31215
31216 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
31217 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
31218 Reimplement to do errno handling inline.
31219 (SYSCALL_ERROR_HANDLER): New macro.
31220 (__SYSCALL_STRING): Do not do errno handling in asm.
31221 (__CLONE_SYSCALL_STRING): Delete.
31222 (__INTERNAL_SYSCALL_STRING): Delete.
31223 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
31224 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
31225 (PSEUDO): Reimplement to do errno handling inline.
31226 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
31227 (SYSCALL_ERROR_HANDLER): New macro.
31228 (__SYSCALL_STRING): Do not do errno handling in asm.
31229 (__CLONE_SYSCALL_STRING): Delete.
31230 (__INTERNAL_SYSCALL_STRING): Delete.
31231 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
31232 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
31233 i386.
31234 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
31235 (inline_syscall*): Add 'err' argument.
31236 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
31237 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
31238 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
31239 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
31240
31241 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
31242 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31243
2bc17433
AS
312442011-08-30 Andreas Schwab <schwab@redhat.com>
31245
31246 * elf/rtld.c (dl_main): Relocate objects in dependency order.
31247
fbeb5f4d
JO
312482011-08-29 Jiri Olsa <jolsa@redhat.com>
31249
31250 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
31251 directive.
31252
ad69cc26
DM
312532011-08-24 David S. Miller <davem@davemloft.net>
31254
31255 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
31256
39dd69df
AS
312572011-08-24 Andreas Schwab <schwab@redhat.com>
31258
31259 * elf/Makefile: Add rules to build and run unload8 test.
31260 * elf/unload8.c: New file.
31261 * elf/unload8mod1.c: New file.
31262 * elf/unload8mod1x.c: New file.
31263 * elf/unload8mod2.c: New file.
31264 * elf/unload8mod3.c: New file.
31265
31266 * elf/dl-close.c (_dl_close_worker): Reset private search list if
31267 it wasn't used.
31268
2c0b250a
DM
312692011-08-23 David S. Miller <davem@davemloft.net>
31270
31271 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
31272 subtract stack bias.
31273 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
31274 %sp not %fp in calculations.
31275 (_JMPBUF_UNWINDS_ADJ): Likewise.
31276
22044b48
DM
31277 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
31278 (aio_suspend): Call it to force an exception region around the
31279 AIO_MISC_WAIT() invocation.
31280
2cae4995
AS
312812011-08-23 Andreas Schwab <schwab@redhat.com>
31282
31283 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
31284 backslash.
31285
873a772e
AJ
312862011-07-04 Aurelien Jarno <aurelien@aurel32.net>
31287
31288 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
31289 protection macro.
31290 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
31291 and <dl-machine.h>.
31292 (Elf64_FuncDesc): Remove.
31293
25ad0df1
DM
312942011-08-22 David S. Miller <davem@davemloft.net>
31295
31296 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
31297 sigaltstack check, add missing cfi directives.
31298 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
31299 missing cfi directives, and sigaltstack handling.
31300
e888bcbe
AS
313012011-08-16 Andreas Schwab <schwab@redhat.com>
31302
31303 [BZ #11724]
31304 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
31305 object is seen twice.
31306 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31307
31308 * elf/Makefile (distribute): Add tst-initorder2.c.
31309 (tests): Add tst-initorder2.
31310 (modules-names): Add tst-initorder2a tst-initorder2b
31311 tst-initorder2c tst-initorder2d. Add rules to build them.
31312 ($(objpfx)tst-initorder2.out): New rule.
31313 * elf/tst-initorder2.c: New file.
31314 * elf/tst-initorder2.exp: New file.
31315
87162f46
AS
313162011-08-22 Andreas Schwab <schwab@redhat.com>
31317
70538b7f
AS
31318 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
31319
f55ffe58
AS
31320 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
31321 dependencies back to end of function.
31322
87162f46
AS
31323 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31324 $(elfobjdir)/ld.so.
31325
91b392a4
UD
313262011-08-21 Ulrich Drepper <drepper@gmail.com>
31327
31328 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
31329 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
31330 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
31331 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
31332 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
31333 of __vdso_gettimeofday.
31334 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
31335 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
31336 attribute_hidden.
31337 (_libc_vdso_platform_setup): Remove initialization of
31338 __vdso_gettimeofday and __vdso_time.
31339
5c43483f
UD
313402011-08-20 Ulrich Drepper <drepper@gmail.com>
31341
775a77e7
UD
31342 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
31343 and fgetc_unlocked.
31344 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
31345 getc_unlocked.
89f447ed 31346
49c74ba9
UD
31347 * elf/dl-open.c (add_to_global): Report additions to the global scope
31348 for LD_DEBUG=scopes.
31349 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 31350 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 31351
5c43483f
UD
31352 [BZ #13114]
31353 * stdio-common/Makefile (tests): Add bug24.
31354 * stdio-common/bug24.c: New file.
31355
a101b025
AJ
313562011-08-19 Andreas Jaeger <aj@suse.de>
31357
31358 [BZ #13114]
31359 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
31360 non-existant file when using close-on-exec mode.
31361
c88f1766
UD
313622011-08-20 Ulrich Drepper <drepper@gmail.com>
31363
0276a718
UD
31364 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
31365 the very first instruction.
31366
c88f1766
UD
31367 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
31368 the CFI state in the end.
31369 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
31370 inclusion of dl-trampoline.h.
31371 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
31372
51ccffa0
AS
313732011-08-19 Andreas Schwab <schwab@redhat.com>
31374
94d7165f
AS
31375 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
31376 expectations for long double.
31377
51ccffa0
AS
31378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
31379 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
31380
fd708658 313812011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
31382
31383 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
31384 artificual limit depends upon the system page size.
31385
44f0a71e
UD
313862011-08-17 Ulrich Drepper <drepper@gmail.com>
31387
31388 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
31389 * resolv/Makefile: Define CFLAGS-libresolv.
31390
8de79a24
AS
313912011-08-17 Andreas Schwab <schwab@redhat.com>
31392
31393 * nss/makedb.c (compute_tables): Make variables used in nested
31394 function static.
31395
27724598
UD
313962011-08-17 Ulrich Drepper <drepper@gmail.com>
31397
c5305d88
UD
31398 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
31399 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
31400 if buffer was too small.
31401
27724598
UD
31402 * elf/pldd.c (main): Attach to all threads in the process.
31403 Rewrite /proc handling to use *at functions.
31404
076fe015
UD
314052011-08-16 Ulrich Drepper <drepper@gmail.com>
31406
174baab3
UD
31407 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
31408 specifies first scope to show.
31409 (dl_open_worker): Update callers. Move printing scope of new
31410 object to before the relocation.
44f0a71e 31411 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
31412 * sysdeps/generic/ldsodefs.h: Update declaration.
31413
076fe015
UD
31414 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
31415 string for the scope number.
31416
a60df2c3
UD
314172011-08-14 Ulrich Drepper <drepper@gmail.com>
31418
31419 * nscd/servicescache.c (cache_addserv): Make sure written is always
31420 initialized.
31421
5e4287d1
RM
314222011-08-14 Roland McGrath <roland@hack.frob.com>
31423
85ae0589
RM
31424 * sysdeps/i386/i486/bits/atomic.h
31425 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
31426 statement expression, so as to suppress "set but not used" warning.
31427 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
31428
69f63097
RM
31429 * string/strncat.c (STRNCAT): Use prototype definition.
31430
675456ef
RM
31431 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
31432 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
31433 -Iprograms here.
31434 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
31435 (localedef-modules): Add localedef.
31436 (locale-modules): Add locale.
31437
5e4287d1
RM
31438 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
31439 * elf/rtld.c (dl_main): Invert order of assignment in last change,
31440 to avoid a warning.
31441
9c96ff23
DM
314422011-08-14 David S. Miller <davem@davemloft.net>
31443
31444 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
31445 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
31446
f9ddf089
UD
314472011-08-13 Ulrich Drepper <drepper@gmail.com>
31448
44f0a71e 31449 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
31450 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
31451 * elf/rtld.c (dl_main): Set l_name of vDSO.
31452 Call _dl_show_scope when DL_DEBUG_SCOPES.
31453 (process_dl_debug): Recognize scopes flag and also set it for all.
31454 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
31455 Declare _dl_show_scope.
31456
1dc27704
UD
31457 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
31458 (do_dlopen): Pass caller_dlopen to dl_open.
31459 (__libc_dlopen_mode): Initialize caller_dlopen.
31460
f9ddf089
UD
31461 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
31462 of libc. Make tolower call locale-independent. Optimize a bit by
31463 using isdigit instead of isalnum.
31464 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
31465
9ac533d3
UD
314662011-08-12 Ulrich Drepper <drepper@gmail.com>
31467
31468 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
31469 was a dependency or dynamically loaded.
31470
89edf2e9
UD
314712011-08-11 Ulrich Drepper <drepper@gmail.com>
31472
8e999d29
UD
31473 * intl/l10nflist.c: Allow architecture-specific pop function.
31474 * sysdeps/x86_64/l10nflist.c: New file.
31475
89edf2e9
UD
31476 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
31477 classification.
31478
14d96785
AS
314792011-08-10 Andreas Schwab <schwab@redhat.com>
31480
31481 * include/dirent.h: Add libc_hidden_proto for scandirat and
31482 scandirat64. Don't declare __scandirat64.
31483 * dirent/scandirat.c: Add libc_hidden_def.
31484 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
31485 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
31486
6761ac04
DM
314872011-08-10 David S. Miller <davem@davemloft.net>
31488
31489 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
31490 enum.
31491 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31492 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31493 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31494
c55fbd1e
UD
314952011-08-09 Ulrich Drepper <drepper@gmail.com>
31496
31497 * Versions.def [libc]: Add GLIBC_2.15.
31498 * dirent/Makefile (routines): Add scandirat and scandirat64.
31499 * dirent/Versions [libc]: Export scandirat and scandirat64 for
31500 GLIBC_2.15.
31501 * dirent/dirent.h: Declare scandirat and scandirat64.
31502 * dirent/scandirat.c: New file.
31503 * dirent/scandirat64.c: New file.
31504 * sysdeps/wordsize-64/scandirat.c: New file.
31505 * sysdeps/wordsize-64/scandirat64.c: New file.
31506 * dirent/opendir.c: Define opendirat.
31507 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
31508 using scandirat.
31509 * dirent/scandir64.c: Adjust for scandir.c change.
31510 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
31511 __scandirat64, and __scandir_cancel_handler.
31512 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
31513 additional parameter and use openat instead of open (outside of ld.so).
31514 Add new __opendir as wrapper around __opendirat.
31515 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
31516 here without requiring old scandirat implementation.
31517
879165f2
UD
315182011-08-08 Ulrich Drepper <drepper@gmail.com>
31519
31520 * dirent/scandir.c (cancel_handler): Renamed to
31521 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
31522 defined. Adjust users.
31523 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
31524 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
31525
cb7e923b
UD
315262011-08-04 Ulrich Drepper <drepper@gmail.com>
31527
16292edd
UD
31528 * string/test-string.h (IMPL): Use __STRING to expand name and then
31529 stringify it.
31530
cb7e923b
UD
31531 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
31532 of cleanups.
31533
cff82933
LD
315342011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31535
31536 * string/Makefile: Update.
31537 (strop-tests): Append strncat.
31538 * string/test-wcscmp.c: New file.
31539 New comprehensive test for wcscmp.
31540 * string/test-strcmp.c: Update.
31541 (WIDE): New define.
31542
9be9bfcc
AS
315432011-07-22 Andreas Schwab <schwab@redhat.com>
31544
31545 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
31546 line.
31547
2e96f1c7
AS
315482011-07-26 Andreas Schwab <schwab@redhat.com>
31549
31550 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31551 encoding to ACE if AI_IDN.
31552
85188888
JJ
315532011-08-01 Jakub Jelinek <jakub@redhat.com>
31554
31555 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
31556 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
31557
5fa16e9b
LD
315582011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31559
31560 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
31561 Fix overflow bug in strncat.
31562 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
31563
31564 * string/test-strncat.c: Update.
31565 Add new tests for checking overflow bugs.
31566
315672011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31568
31569 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31570 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
31571 * sysdeps/i386/i686/multiarch/strcat.S: New file.
31572 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
31573 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
31574 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
31575 * sysdeps/i386/i686/multiarch/strncat.S: New file.
31576 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
31577 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
31578
31579 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
31580 (USE_AS_STRCAT): Define.
31581 Add strcat and strncat support.
31582 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31583
8c1a459f
AS
315842011-07-25 Andreas Schwab <schwab@redhat.com>
31585
31586 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
31587 __n bigger than INT_MAX+1.
31588 (__strncmp_g): Likewise.
31589
bba33c28
UD
315902011-07-23 Ulrich Drepper <drepper@gmail.com>
31591
798be72d
UD
31592 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
31593 * libio/stido.h: Likewise.
31594
8accd4dc
UD
31595 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
31596 (AF_NFC): Define.
31597 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
31598 (AF_NFC): Define.
31599
cbff0d96
UD
31600 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
31601 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31602 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31603 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31604 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31605
9191c04a
UD
31606 [BZ #13021]
31607 * scripts/test-installation.pl: Don't expect libnss_test1 to be
31608 installed.
31609
bba33c28
UD
31610 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
31611 typo.
31612 (_dl_x86_64_save_sse): Likewise.
31613
90f139dd
UD
316142011-07-22 Ulrich Drepper <drepper@gmail.com>
31615
1aae088a
UD
31616 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
31617 OSXSAVE.
31618 (_dl_x86_64_save_sse): Likewise.
31619
8e2045f5
UD
31620 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
31621
90f139dd
UD
31622 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
31623
1d002f25
AS
316242011-07-21 Andreas Schwab <schwab@redhat.com>
31625
31626 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
31627 change.
31628 (_dl_x86_64_save_sse): Use correct AVX check.
31629
21137f89
UD
316302011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31631
31632 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
31633 bug in strncpy/strncat.
31634 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
31635
a65c0b7a
UD
316362011-07-21 Ulrich Drepper <drepper@gmail.com>
31637
31638 * string/tester.c (test_strcat): Add tests for different alignments
31639 of source and destination.
31640 (test_strncat): Likewise.
31641
6986b98a
UD
316422011-07-20 Ulrich Drepper <drepper@gmail.com>
31643
90bb2039
UD
31644 [BZ #12852]
31645 * posix/glob.c (glob): Check passed in values before using them in
31646 expressions to avoid some overflows.
31647 (glob_in_dir): Likewise.
31648
5644ef54
UD
31649 [BZ #13007]
31650 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
31651 check for AVX enablement so that we don't crash with old kernels and
31652 new hardware.
31653 * elf/tst-audit4.c: Add same checks here.
31654 * elf/tst-audit6.c: Likewise.
31655
31656 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 31657
bfc9dc9b
AS
316582011-07-09 Andreas Schwab <schwab@linux-m68k.org>
31659
31660 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
31661
702e64bb
UD
316622011-07-20 Ulrich Drepper <drepper@gmail.com>
31663
31664 * po/cs.po: Update from translation team.
31665 * po/bg.po: Likewise.
31666
295e904f
MP
316672011-07-12 Marek Polacek <mpolacek@redhat.com>
31668
31669 * misc/sys/cdefs.h: Add support for const attribute.
31670 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
31671 to gnu_dev_{major,minor,makedev} functions.
31672
3ff94596
MP
316732011-07-20 Marek Polacek <mpolacek@redhat.com>
31674
31675 * intl/dcigettext.c (get_output_charset): Add missing bracket.
31676
28b59fca
AS
316772011-07-20 Andreas Schwab <schwab@redhat.com>
31678
31679 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
31680 strlen results.
31681
19df733e
AK
316822011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31683
31684 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
31685 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
31686 register in order to avoid conflicts with the soft frame pointer
31687 being held in r11 when necessary.
31688 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
31689 (INTERNAL_VSYSCALL_NCS): Likewise.
31690
c8835729
MP
316912011-07-14 Marek Polacek <mpolacek@redhat.com>
31692
31693 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
31694 * elf/dl-fini.c (_dl_fini): Adjust caller.
31695 * elf/dl-close.c (_dl_close_worker): Likewise.
31696 * sysdeps/generic/ldsodefs.h: Adjust declaration.
31697
b902330c
MP
316982011-07-15 Marek Polacek <mpolacek@redhat.com>
31699
8991e135
MP
31700 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
31701 "aux_cache->nlibs < 0".
31702
b902330c
MP
31703 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
31704 in the reload-count case.
31705
99710781
LD
317062011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31707
31708 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31709 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
31710 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
31711 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
31712 * sysdeps/x86_64/multiarch/strcat.S: New file.
31713 * sysdeps/x86_64/multiarch/strncat.S: New file.
31714 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
31715 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
31716 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
31717 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
31718 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
31719 (USE_AS_STRCAT): Define.
31720 Add strcat and strncat support.
31721 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31722 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31723 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
31724 * string/strncat.c: Update.
31725 (USE_AS_STRNCAT): Define.
31726 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31727 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
31728 and i7.
31729 * sysdeps/x86_64/multiarch/init-arch.h
31730 (bit_Prefer_PMINUB_for_stringop): New.
31731 (index_Prefer_PMINUB_for_stringop): Likewise.
31732 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
31733 bit_Prefer_PMINUB_for_stringop.
31734
7dc6bd90
UD
317352011-07-19 Ulrich Drepper <drepper@gmail.com>
31736
31737 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
31738 buffer64.
31739 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
31740 of casting of buffer.
31741 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
31742 buffer32 and buffer64.
31743 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
31744 writes instead of casting of buffer.
31745 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
31746 buffer32.
31747 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
31748 casting of buffer.
31749
e0e72284
AS
317502011-07-19 Andreas Schwab <schwab@redhat.com>
31751
31752 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
31753
feb1eb0b
UD
317542011-07-19 Ulrich Drepper <drepper@gmail.com>
31755
31756 * nscd/nscd.c (termination_handler): Don't do anything for a database
31757 if it has not yet been initialized.
31758
298711ff
UD
317592011-07-18 Ulrich Drepper <drepper@gmail.com>
31760
31761 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31762
317632011-07-15 Marek Polacek <mpolacek@redhat.com>
31764
31765 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31766
f9d68389
UD
317672011-07-18 Ulrich Drepper <drepper@gmail.com>
31768
31769 * po/nl.po: Update from translation team.
31770 * po/sv.po: Likewise.
31771
db290cf5
RM
317722011-07-16 Roland McGrath <roland@hack.frob.com>
31773
31774 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
31775 now disallowed by GCC.
5c550700 31776
fd5e21c7
RM
31777 * configure.in (use-default-link): Default to yes if a test -shared
31778 link meets our qualifications.
31779 * configure: Regenerated.
31780
5c550700
RM
31781 * config.make.in (output-format): New variable.
31782 * configure.in: Check for ld --print-output-format support.
31783 * configure: Regenerated.
31784 * Makerules ($(common-objpfx)format.lds)
31785 [$(output-format) != unknown]: Just use $(output-format),
31786 instead of the linker-script munging.
31787
9fa2c032
RM
317882011-07-14 Roland McGrath <roland@hack.frob.com>
31789
a6928d51
RM
31790 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
31791 of $(common-objpfx)shlib.lds.
31792 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
31793
661607b3
RM
31794 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
31795 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
31796
9fa2c032
RM
31797 * configure.in (-z relro check): Adjust test code to add a large
31798 writable data section after it.
31799 * configure: Regenerated.
31800
defe9061
RM
318012011-07-11 Roland McGrath <roland@hack.frob.com>
31802
31803 * configure.in (-z relro check): Fix test code to make the variable
31804 truly const.
31805 * configure: Regenerated.
31806
319b9ad4
UD
318072011-07-11 Ulrich Drepper <drepper@gmail.com>
31808
31809 * nscd/nscd.h (struct traced_file): Define.
31810 (struct database_dyn): Remove inotify_descr, reset_res, and filename
31811 elements. Add traced_files.
31812 (inotify_fd): Declare.
31813 (register_traced_file): Declare.
31814 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
31815 (inotify_fd): Export.
31816 (resolv_conf_descr): Remove.
31817 (nscd_init): Move inotify descriptor creation to main.
31818 Don't register files for notification here.
31819 (register_traced_file): New function.
31820 (invalidate_cache): Don't use reset_res to determine whether to call
31821 res_init, go through the list of registered files.
31822 (main_loop_poll): The inotify descriptors are now stored in the
31823 structures for the traced files.
31824 (main_loop_epoll): Likewise
31825 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
31826 to __nss_disable_nscd.
31827 * nscd/cache.c (prune_cache): There is no single inotify descriptor
31828 for a database anymore. Check the records for all the registered
31829 files instead.
31830 * nss/Makefile (libnss_files-routines): Add files-init.
31831 (libnss_db-routines): Add db-init.
31832 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
31833 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
31834 * nss/nss_db/db-init.c: New file.
31835 * nss/nss_files/files-init.c: New file.
31836 * nss/nsswitch.c (nss_load_library): New function. Broken out of
31837 __nss_lookup_function.
31838 (__nss_lookup_function): Call nss_load_library.
31839 (nss_load_all_libraries): New function.
31840 (__nss_disable_nscd): Take parameter with callback function for files
31841 to register. Set is_nscd. Load all the DSOs for the NSS modules
31842 used for the cached services.
31843 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
31844 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
31845 options for features to all the files in nscd.
31846
31847 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
31848
23bee3e8
RM
318492011-07-10 Roland McGrath <roland@hack.frob.com>
31850
31851 * csu/elf-init.c (__libc_csu_init): Comment typo.
31852
46a5b7f0
UD
318532011-07-09 Ulrich Drepper <drepper@gmail.com>
31854
31855 * po/pl.po: Update from translation team.
31856 * po/ja.po: Likewise.
31857 * po/ru.po: Likewise.
31858 * po/ko.po: Likewise.
31859 * po/fr.po: Likewise.
31860
d30cf5bb
RM
318612011-07-09 Roland McGrath <roland@hack.frob.com>
31862
113ddea4
RM
31863 * configure.in (.ctors/.dtors header and trailer check):
31864 Use an empirical test on a built program.
31865 * configure: Regenerated.
31866
574920b4
RM
31867 * configure.in (-z relro check): Use an empirical test on a built DSO.
31868 Detect, but do not require, on ia64.
31869 * configure: Regenerated.
31870
d30cf5bb
RM
31871 * configure.in (READELF): Find it with AC_CHECK_TOOL.
31872 Update tests that use readelf to use $READELF instead.
31873 * configure: Regenerated.
31874
8538fdb3
UD
318752011-07-08 Ulrich Drepper <drepper@gmail.com>
31876
31877 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
31878 if the result is not used.
31879
04d08991
AJ
318802011-07-05 Andreas Jaeger <aj@suse.de>
31881
31882 [BZ#9696]
31883 * stdlib/tst-strtod.c: Add testcase.
31884
de283087
AD
318852011-07-07 Ulrich Drepper <drepper@gmail.com>
31886
4e5f31c8 31887 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 31888 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
31889 The latter has a higher limit. Take additional parameter to pass to
31890 the new function.
31891 (__pathconf): Pass file to __statfs_link_max.
31892 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
31893 __statfs_link_max.
31894 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
31895 __statfs_link_max.
31896
de283087
AD
31897 [BZ #12868]
31898 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
31899 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31900 Handle Lustre.
31901 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
31902 (__statfs_filesize_max): Likewise.
31903 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
31904
c75fa153
AJ
319052011-07-05 Andreas Jaeger <aj@suse.de>
31906
31907 * resolv/res_comp.c (dn_skipname): Remove unused variable.
31908
1a544854
UD
319092011-07-06 Marek Polacek <mpolacek@redhat.com>
31910
31911 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
31912 `status' variable.
31913 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
31914 Likewise.
31915
6f0eec67
UD
319162011-07-04 H.J. Lu <hongjiu.lu@intel.com>
31917
31918 * Makefile (strop-tests): Add strncat.
31919 * string/test-strncat.c: New file.
31920
aae30307
UD
319212011-06-30 Marek Polacek <mpolacek@redhat.com>
31922
31923 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
31924
c0cfb5eb
UD
319252011-06-21 Andreas Jaeger <aj@suse.de>
31926
31927 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
31928 Copy rule from iconvdata/Makefile.
31929
01636b21
UD
319302011-07-06 Ulrich Drepper <drepper@gmail.com>
31931
31932 [BZ #12922]
31933 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
31934 but no long options are defined, just return 'W'.
31935
9895c8bc
UD
319362011-06-22 Marek Polacek <mpolacek@redhat.com>
31937
31938 [BZ #9696]
31939 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
31940
5d4cf042
UD
319412011-07-06 Ulrich Drepper <drepper@gmail.com>
31942
31943 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
31944 netgroups to read.
960e5535 31945 (innetgr): Likewise.
5d4cf042 31946
751eb97e
RM
319472011-07-05 Roland McGrath <roland@hack.frob.com>
31948
31949 * config.make.in (install_root): Default to $(DESTDIR).
31950
f15f1e45
UD
319512011-07-05 Ulrich Drepper <drepper@gmail.com>
31952
31953 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
31954
4e34ac6a
RM
319552011-07-02 Roland McGrath <roland@hack.frob.com>
31956
5e9b6af4
RM
31957 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
31958
84f9ea0f
RM
31959 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
31960 containing directory rather than embedding absolute directory names.
31961
ea5ee9f7
RM
31962 * scripts/check-local-headers.sh: Rewritten using awk.
31963 Match by word, not by line. Print error messages for matches.
31964 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
31965
1b74661a
RM
31966 * Makerules [shlib-lds-flags empty]:
31967 ($(common-objpfx)libc_pic.opts): New target.
31968 ($(common-objpfx)libc_pic.os.clean): New target.
31969 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
31970
31971 * config.make.in (OBJCOPY): New variable.
31972 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
31973 * configure: Regenerated.
31974
f781ef40
RM
31975 * config.make.in (use-default-link): New variable.
31976 * configure.in (use_default_link): Grok --with-default-link to set it.
31977 * configure: Regenerated.
31978 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
31979 (shlib-lds, shlib-lds-flags): Define to empty.
31980
2d4fa81e
RM
31981 * Makerules (shlib-lds): New variable.
31982 (shlib-lds-flags): New variable.
31983 (build-shlib, build-moduile, build-module-asneeded): Use it.
31984 ($(common-objpfx)libc.so): Use $(shlib-lds).
31985 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
31986 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
31987
31fffa6b
RM
31988 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
31989 DT_FLAGS/DT_FLAGS_1 with zero flags.
31990
4e34ac6a
RM
31991 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
31992 linker script munging.
31993
fcfc776b
UD
319942011-07-02 Ulrich Drepper <drepper@gmail.com>
31995
31996 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
31997 as 128-bit value.
31998 * crypt/sha512.c (sha512_process_block): Perform total addition using
31999 128-bit if possible.
32000 (__sha512_finish_ctx): Likewise.
32001 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
32002 as 64-bit value.
32003 * crypt/sha256.c (SWAP64): Define.
32004 (sha256_process_block): Perform total addition using 64-bit if
32005 possible.
32006 (__sha256_finish_ctx): Likewise.
32007
99231d9a
UD
320082011-07-01 Ulrich Drepper <drepper@gmail.com>
32009
32010 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
32011 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32012 * nscd/hstcache.c (cache_addhst): Likewise.
32013 * nscd/grpcache.c (cache_addgr): Likewise.
32014 * nscd/aicache.c (addhstaiX): Likewise
32015 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
32016
445b4a53
TK
320172011-07-01 Thorsten Kukuk <kukuk@suse.de>
32018
32019 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
32020 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32021 * nscd/hstcache.c (cache_addhst): Likewise.
32022 * nscd/grpcache.c (cache_addgr): Likewise.
32023 * nscd/aicache.c (addhstaiX): Likewise
32024
6d4d8e8e
AS
320252011-07-01 Andreas Schwab <schwab@redhat.com>
32026
32027 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
32028 domain only when needed.
32029
89f654c5
AS
320302011-06-30 Andreas Schwab <schwab@redhat.com>
32031
32032 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
32033 is always restored.
32034
cf3b23ff
UD
320352011-06-29 Ulrich Drepper <drepper@gmail.com>
32036
32037 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
32038 are re-adding the entry.
32039 * nscd/servicescache.c (cache_addserv): Likewise.
32040
751626f9
AJ
320412011-06-30 Aurelien Jarno <aurelien@aurel32.net>
32042
32043 * sysdeps/generic/dl-irel.h: fix protection against multiple
32044 inclusions.
32045 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
32046
9113ea1f
UD
320472011-06-28 Ulrich Drepper <drepper@gmail.com>
32048
5c0b8d90
UD
32049 [BZ #12935]
32050 * malloc/memusage.sh: Fix quoting in message.
32051 * debug/xtrace.sh: Likewise.
32052
9113ea1f
UD
32053 * configure.in: Remove support for --experimental-malloc option, make
32054 it the default.
32055 * config.make.in: Likewise.
32056 * malloc/Makefile: Likewise.
32057
a4172181
AS
320582011-06-27 Andreas Schwab <schwab@redhat.com>
32059
32060 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
32061 two-byte characters.
32062
78a7eee7
RM
320632011-06-27 Roland McGrath <roland@hack.frob.com>
32064
62bede13
RM
32065 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
32066 AC_CACHE_CHECK invocation.
32067 * configure: Regenerated.
32068
78a7eee7
RM
32069 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
32070
5ce33a62
UD
320712011-06-27 Ulrich Drepper <drepper@gmail.com>
32072
034807a9
UD
32073 [BZ #12350]
32074 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
32075 bit from old_res_options.
32076
4902da17
UD
32077 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
32078
5ce33a62
UD
32079 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
32080 value type for setfct.
32081
c2344f56
L
320822011-06-23 H.J. Lu <hongjiu.lu@intel.com>
32083
32084 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32085 __gettimeofday instead of gettimeofday.
32086
68468076
UD
320872011-06-26 Ulrich Drepper <drepper@gmail.com>
32088
32089 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
32090
acb0d739
L
320912011-06-24 H.J. Lu <hongjiu.lu@intel.com>
32092
32093 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
32094
32095 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
32096 info.
32097
8912479f
L
320982011-06-22 H.J. Lu <hongjiu.lu@intel.com>
32099
32100 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32101 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32102 strcpy-sse2-unaligned strncpy-sse2-unaligned
32103 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
32104 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
32105 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
32106 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
32107 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
32108 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
32109 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
32110 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
32111 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
32112 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
32113 (STRCPY): Support SSE2 and SSSE3 versions.
32114
d5495a11
UD
321152011-06-24 Ulrich Drepper <drepper@gmail.com>
32116
32117 [BZ #12874]
32118 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
32119 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
32120 kernels which artificially limit size of requests.
32121
0b1cbaae
L
321222011-06-22 H.J. Lu <hongjiu.lu@intel.com>
32123
32124 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32125 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32126 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
32127 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
32128 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
32129 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
32130 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
32131 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
32132 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
32133 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
32134 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
32135 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
32136 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
32137 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
32138 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
32139 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32140 Enable unaligned load optimization for Intel Core i3, i5 and i7
32141 processors.
32142 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
32143 Define.
32144 (index_Fast_Unaligned_Load): Define.
32145 (HAS_FAST_UNALIGNED_LOAD): Define.
32146
07f494a0
MP
321472011-06-23 Marek Polacek <mpolacek@redhat.com>
32148
32149 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
32150
fa3fc0fe
UD
321512011-06-22 Ulrich Drepper <drepper@gmail.com>
32152
32153 [BZ #12907]
32154 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
32155 until it is clear that the information is realy needed.
32156 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
32157
e12df166
AS
321582011-06-22 Andreas Schwab <schwab@redhat.com>
32159
32160 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
32161
852eb34d
UD
321622011-06-22 Ulrich Drepper <drepper@gmail.com>
32163
84e2a551
UD
32164 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32165 /sys/devices/system/cpu/online if it is usable.
32166
852eb34d
UD
32167 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
32168 reading the information from the /proc filesystem to once a second.
32169
6e502e19
UD
321702011-06-21 Andreas Jaeger <aj@suse.de>
32171
32172 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
32173 NULL after inclusion of kernel headers.
32174
75d39ff2
UD
321752011-06-21 Ulrich Drepper <drepper@gmail.com>
32176
51f9aa6a
UD
32177 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
32178 calls to internal_setent.
32179
c0244a9d
UD
32180 [BZ #12885]
32181 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
32182 addresses using gethostbyname4_r ignore IPv4 addresses.
32183
c5e3c2ae
UD
32184 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
32185 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
32186
75d39ff2
UD
32187 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
32188
42675c6f
DM
321892011-06-20 David S. Miller <davem@davemloft.net>
32190
32191 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
32192 inclusions.
32193 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
32194
32195 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
32196 (elf_irel): Use it.
32197 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
32198 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
32199 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
32200 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
32201 * sysdeps/x86_64/dl-irel.h: Likewise.
32202
32203 * elf/dl-runtime.c: Use elf_ifunc_invoke.
32204 * elf/dl-sym.c: Likewise.
32205
57912a71
UD
322062011-06-15 Ulrich Drepper <drepper@gmail.com>
32207
32208 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
32209 need to dereference resplen2.
32210
ee22793d
AS
322112011-06-14 Andreas Schwab <schwab@redhat.com>
32212
32213 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
32214
a9e836b0
UD
322152011-06-15 Ulrich Drepper <drepper@gmail.com>
32216
77fb9117
UD
32217 * Makeconfig: Define vardbdir and inst_vardbdir.
32218 * nss/Makefile: Add rules to install db-Makefile.
32219
40c1b22c
UD
32220 * nss/nss_db/db-XXX.c: Cleanup.
32221
9f2da732
UD
32222 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
32223 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
32224 GLIBC_PRIVATE.
32225 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
32226 * nss/makedb.c: Implement -g option to specify that value strings
32227 are generated and should not be added to table iterated over for
32228 get*ent calls.
32229 * nss/nss_db/db-initgroups.c: New file.
32230
82e9a1f7
UD
32231 * nss/getent.c: Add support for initgroups lookups through getgrouplist
32232 interface.
32233
c41af17e
UD
32234 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
32235 (internal_getgrouplist): Adjust to name change.
32236 Update use_initgroups_entry if this is not the first call.
32237 * nss/databases.def: Add initgroups entry.
32238
a9e836b0
UD
32239 * nss/makedb.c (compute_tables): Check result of multiple hash table
32240 sizes to minimize maximum chain length.
32241
2666d441
UD
322422011-06-14 Ulrich Drepper <drepper@gmail.com>
32243
32244 * Versions.def: Add entry for libnss_db.
32245 * shlib-versions: Likewise.
32246 * nss/Makefile: Add rules to build libnss_db.
32247 * nss/Versions: Add libnss_db information. Organize libnss_files
32248 entries better.
32249 * nss/db-Makefile: Add gshadow support. Change rules for the new
32250 makedb progra. Some minor improvements to generate smaller files.
32251 * nss/nss_db/nss_db.h: Move NSS database header data structures to
32252 here from...
32253 * nss/makedb.c: ...here.
32254 Improve database format to be smaller and require less memory at
32255 runtime.
32256 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
32257 db anymore.
32258 * nss/nss_db/db-netgrp.c: Likewise.
32259 * nss/nss_db/db-open.c: Likewise.
32260 * nss/nss_files/flies-XXX.x: Adjust comments.
32261 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
32262 * nss/nss_files/files-grp.c: Likewise.
32263 * nss/nss_files/files-hosts.c: Likewise.
32264 * nss/nss_files/files-network.c: Likewise.
32265 * nss/nss_files/files-proto.c: Likewise.
32266 * nss/nss_files/files-pwd.c: Likewise.
32267 * nss/nss_files/files-rpc.c: Likewise.
32268 * nss/nss_files/files-service.c: Likewise.
32269 * nss/nss_files/files-sgrp.c: Likewise.
32270 * nss/nss_files/files-spwd.c: Likewise.
32271 * nss/nss_db/db-alias.c: Removed.
32272 * nss/nss_db/dummy-db.h: Removed.
32273
9ee76b5a
UD
322742011-06-02 Ulrich Drepper <drepper@gmail.com>
32275
32276 * nss/makedb.c: Rewritten to not use database library.
32277 * nss/Makefile: Update to build new makedb program.
32278
c71ca1f8
AJ
322792011-06-14 Andreas Jaeger <aj@suse.de>
32280
32281 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
32282 memset declaration.
32283
3154bfb8
UD
322842011-06-10 Andreas Schwab <schwab@redhat.com>
32285
32286 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
32287 tmpbuf.
32288
b350afab
RM
322892011-06-10 Roland McGrath <roland@hack.frob.com>
32290
decd4e50
RM
32291 * Makerules (shlib.lds): Fail if the linker script comes out empty.
32292 * elf/Makefile ($(objpfx)ld.so): Likewise.
32293
5615eaf2
RM
32294 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
32295 Don't list ld.so twice in dependencies.
32296
32297 * posix/bug-regex31.c: Include <stdlib.h>.
32298
32299 * nscd/hstcache.c (cache_addhst): Remove unused variable.
32300
32301 * nis/nss_compat/compat-spwd.c
32302 (getspent_next_nss_netgr): Remove unused variable.
32303 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
32304
32305 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
32306 nonmembers" output to use the right array.
32307
32308 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
32309
32310 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
32311
32312 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
32313 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
32314 * catgets/gencat.c (read_input_file): Likewise.
32315 * locale/programs/locarchive.c (enlarge_archive): Likewise.
32316
32317 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
32318 variable definition inside #if's controlling its use.
32319
32320 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
32321
32322 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
32323
32324 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
32325
32326 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
32327 unreachable code.
32328
32329 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
32330
b68e08db
RM
32331 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
32332 * configure: Regenerated.
32333
b350afab
RM
32334 * Makerules: Revert last change.
32335 * elf/Makefile: Likewise.
32336
28368601
RM
323372011-06-09 Roland McGrath <roland@hack.frob.com>
32338
32339 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
32340 * elf/Makefile ($(objpfx)librtld.os): Likewise.
32341 (reloc-link): Likewise.
32342
11988f8f
UD
323432011-06-09 Ulrich Drepper <drepper@gmail.com>
32344
32345 * elf/Makefile: Add rules to build pldd.
32346 * elf/pldd.c: New file.
32347 * elf/pldd-xx.c: New file.
32348
e80fab37
UD
323492011-06-07 Ulrich Drepper <drepper@gmail.com>
32350
32351 * version.h: Update for 2.15 development version.
32352
9b849836
DM
323532011-06-07 David S. Miller <davem@davemloft.net>
32354
32355 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
32356 ifuncs.
32357 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
32358 elf_machine_lazy_rel): Likewise.
32359 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
32360 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
32361 elf_machine_lazy_rel): Likewise.
32362 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
32363 dl_hwcap via passed in argument.
32364 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
32365 Likewise.
32366
5a31b283
AK
323672011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32368
32369 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
32370
069e52f8
RM
323712011-06-06 Roland McGrath <roland@hack.frob.com>
32372
32373 [BZ #12849]
32374 * manual/fdl-1.1.texi: New file, verbatim from:
32375 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
32376 * manual/lgpl-2.1.texi: New file, verbatim from:
32377 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
32378 * manual/Makefile (licenses): New variable, list those new file names.
32379 (texis): Use it.
32380 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
32381
32382 * manual/fdl.texi: File removed.
32383 * manual/lesser.texi: File removed.
32384 * manual/libc.texinfo (Copying, Documentation License):
32385 Use new @include file names, put @appendix directive before @include.
32386
f16846a5
JJ
323872011-06-04 Jakub Jelinek <jakub@redhat.com>
32388
32389 [BZ #12841]
32390 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
32391 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
32392 (mq_open): Add __NTH.
32393
3d29045b
L
323942011-06-02 H.J. Lu <hongjiu.lu@intel.com>
32395
32396 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32397 Assume Intel Core i3/i5/i7 processor if AVX is available.
32398
8c297311
UD
323992011-05-31 Ulrich Drepper <drepper@gmail.com>
32400
32401 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32402 typo.
32403
c8fc0c91
UD
324042011-05-31 Andreas Schwab <schwab@redhat.com>
32405
32406 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
32407 memory. Use alloca_account. Fix memory leak when retrying.
32408
5b27a807
UD
324092011-05-31 Ulrich Drepper <drepper@gmail.com>
32410
356f8bc6
UD
32411 * version.h (RELEASE): Bump for 2.14 release.
32412 * include/features.h (__GLIBC_MINOR__): Bump to 14.
32413
5b27a807
UD
32414 * config.make.in (RANLIB): Remove entry.
32415
01f16ab0
UD
324162011-05-30 Ulrich Drepper <drepper@gmail.com>
32417
41fce8bd
UD
32418 * po/Makefile (po-sed-cmd): Add ksh to extensions.
32419 (libc.pot): Work around missing support for .ksh extension in xgettext.
32420
4769ae77
UD
32421 [BZ #12684]
32422 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
32423 if both request failed.
32424 (send_dg): In case of server errors clear resplen or *resplen2.
32425
6b1e7d19
UD
32426 [BZ #12454]
32427 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
32428 when there are multiple maps.
32429 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
32430 (_dl_fini): Remove test here.
32431
01f16ab0
UD
32432 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
32433
b1ebd700
UD
324342011-05-29 Ulrich Drepper <drepper@gmail.com>
32435
7ae22829
UD
32436 [BZ #12350]
32437 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
32438 bit from old_res_options.
32439 (gaih_inet): Likewise.
32440
553149f6 32441 [BZ #11099]
18a84741 32442 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
32443 as signed.
32444
652ffab1
UD
32445 * resolv/res_init.c (res_setoptions): Make the code more compact.
32446
16985fd0
UD
32447 [BZ #11558]
32448 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
32449 set RES_USEVC.
32450
0464f746
UD
32451 [BZ #11634]
32452 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
32453
7d17596c
UD
32454 * malloc/malloc.h: Mark malloc hook variables as deprecated.
32455
cf6bbbd7
UD
32456 [BZ #11781]
32457 * malloc/malloc.h: Declare malloc hook variables as volatile.
32458
13f1ab36
UD
32459 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
32460 in last patch.
32461
b1ebd700
UD
32462 [BZ #11799]
32463 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 32464 raise in the comment.
80e2212d
UD
32465 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
32466 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32467 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 32468
ce67228d
UD
324692011-05-28 Ulrich Drepper <drepper@gmail.com>
32470
8887a920
UD
32471 [BZ #12811]
32472 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
32473 grow the buffers more if it already has to be sufficient.
32474 (build_wcs_upper_buffer): Likewise.
32475 * posix/regexec.c (check_matching): Likewise.
32476 (clean_state_log_if_needed): Likewise.
32477 (extend_buffers): Don't enlarge buffers beyond size of the input
32478 buffer.
32479 Patches mostly by Emil Wojak <emil@wojak.eu>.
32480 * posix/bug-regex32.c: New file.
32481 * posix/Makefile (tests): Add bug-regex32.
32482
4f031072
UD
32483 * locale/findlocale.c (_nl_find_locale): Return right away if
32484 _nl_explode_name failed.
32485 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
32486
d0478f0c
UD
32487 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
32488
de81b246
UD
32489 * debug/xtrace.sh: Unify messages.
32490 * malloc/memusage.sh: Likewise.
32491
c738465a
UD
32492 [BZ #12813]
32493 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
32494 time symbol from vDSO. Substitute with vsyscall if not available.
32495 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
32496 __vdso_time.
32497
f1f929d7
UD
32498 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
32499 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
32500 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
32501 Add sendmmsg and internal_sendmmsg.
32502 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
32503 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
32504 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
32505
ce67228d
UD
32506 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
32507 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
32508 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
32509
e57420c6
UD
325102011-05-27 Ulrich Drepper <drepper@gmail.com>
32511
a8509ca5
UD
32512 [BZ #12813]
32513 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
32514 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
32515 available.
32516 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
32517 __vdso_getcpu.
32518
e57420c6
UD
32519 [BZ #12814]
32520 * iconvdata/Makefile (tests): Add bug-iconv9.
32521 * iconvdata/bug-iconv9.c: New file.
32522
4d07db15
AS
325232011-05-27 Andreas Schwab <schwab@redhat.com>
32524
32525 [BZ #12814]
32526 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
32527
ea486f69
JJ
325282011-05-25 Jakub Jelinek <jakub@redhat.com>
32529
32530 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32531 (struct user_regs_struct): Change intcs field back to cs.
32532
6f038433
UD
325332011-05-25 Ulrich Drepper <drepper@gmail.com>
32534
32535 * po/ja.po: Update from translation team.
32536
67f86a25
UD
325372011-05-23 Ulrich Drepper <drepper@gmail.com>
32538
32539 [BZ #12795]
32540 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
32541 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
32542
def7fbd6
AS
325432011-05-20 Andreas Schwab <schwab@redhat.com>
32544
32545 * stdlib/longlong.h: Update from GCC.
32546
f50ef8f1
AS
325472011-05-23 Andreas Schwab <schwab@redhat.com>
32548
32549 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
32550 parameter name.
32551 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
32552 Add parameter name.
32553 (__sysconf): Pass it down.
32554
de7ce8f1
UD
325552011-05-22 Ulrich Drepper <drepper@gmail.com>
32556
f2962a71
UD
32557 [BZ #12671]
32558 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
32559 some situations.
32560 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32561 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
32562 add in in __libc_use_alloca calls. Adjust callers.
32563 (glob): Use malloc in some situations.
32564
de7ce8f1
UD
32565 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
32566 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
32567 pltexit.
32568
aec84f53
UD
325692011-05-21 Ulrich Drepper <drepper@gmail.com>
32570
05bb4a68
UD
32571 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
32572 and CLOCK_BOOTTIME_ALARM.
32573
7ea72f99
UD
32574 [BZ #12782]
32575 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
32576 is returned.
32577
7e4afad5
UD
32578 * string/_strerror.c (__strerror_r): Print negative errors as signed
32579 numbers.
32580
8e211fec
UD
32581 [BZ #12777]
32582 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
32583 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
32584 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
32585
f7d82dc9
UD
32586 * configure.in: Fix typo in redirection and correct removal of test
32587 files in two cases.
32588
cc9e536d
UD
32589 [BZ #12788]
32590 * locale/setlocale.c (new_composite_name): Fix test to check for
32591 identical name of all categories.
32592
aec84f53
UD
32593 [BZ #12792]
32594 * libio/filedoalloc.c (local_isatty): New function.
32595 (_IO_file_doallocate): Use local_isatty.
32596 * stdio-common/perror.c (perror): In case a new stream is used
32597 forward the stream error.
32598 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
32599 error flag.
32600
78e64fdc
RT
326012011-05-20 Ulrich Drepper <drepper@gmail.com>
32602
34a9094f
UD
32603 [BZ #11869]
32604 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
32605 alloca.
32606 * include/alloca.h (extend_alloca_account): Define.
32607
78e64fdc
RT
32608 [BZ #11857]
32609 * posix/regex.h: Fix comments with documentation of user-accessible
32610 fields after compilation and describe correct free'ing of pattern
32611 after re_compile_pattern.
32612 Patch by Reuben Thomas <rrt@sc3d.org>.
32613
457bddfc
RA
326142011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
32615
32616 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
32617 and -mno-altivec to prevent the compiler from using Altivec and/or
32618 VSX instructions when the corresponding registers are not available.
32619
a4527b51
AS
326202011-05-19 Andreas Schwab <schwab@redhat.com>
32621
32622 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
32623
ed690b2f
UD
326242011-05-19 Ulrich Drepper <drepper@gmail.com>
32625
32626 * libio/freopen.c (freopen): Use __dup2, not dup2.
32627 * libio/freopen64.c (freopen64): Likewise.
32628
8db73634
L
326292011-05-17 H.J. Lu <hongjiu.lu@intel.com>
32630
32631 [BZ #12775]
32632 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
32633 * math/Makefile (tests): Add test-powl.
32634 (CFLAGS-test-powl.c): Define.
32635 * math/test-powl.c: New file.
32636
0a197a9d
L
326372011-05-16 H.J. Lu <hongjiu.lu@intel.com>
32638
32639 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
32640
ee30c380
UD
326412011-05-17 Ulrich Drepper <drepper@gmail.com>
32642
32643 [BZ #11837]
32644 * iconvdata/gb18030.c: Update to GB18020-2005.
32645
6ce75379
UD
326462011-05-16 Ulrich Drepper <drepper@gmail.com>
32647
a4b89fd8
AR
32648 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
32649 RE_SYNTAX_POSIX_AWK): Update to match recent development.
32650 Patch by Aharon Robbins <arnold@skeeve.com>.
32651
ea389b12
UD
32652 [BZ #11892]
32653 * stdlib/putenv.c (putenv): Don't always create copy of the variable
32654 on the stack.
32655
68a3f91f
UD
32656 [BZ #11895]
32657 * misc/pselect.c (__pselect): Handle timeout value errors hidden
32658 through underflows.
32659
15cc7dd1
UD
32660 [BZ #12766]
32661 * misc/error.c (error_at_line): Ensure file_name and old_file_name
32662 point to strings before performing equality test for error_one_per_line
32663 mode.
32664
f3799213
UD
32665 [BZ #11697]
32666 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
32667
d79a9c94
UD
32668 [BZ #11820]
32669 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32670 (struct user_fpregs_struct): Avoid __uint*_t types.
32671
56e5eb46
UD
32672 [BZ #6420]
32673 * malloc/mtrace.c (tr_where): Add additional parameter to point to
32674 symbol info. Use it instead of calling _dl_addr locally.
32675 (lock_and_info): New function.
32676 (tr_freehook): Call lock_and_info and pass symbol info as additional
32677 parameter to tr_where.
32678 (tr_mallochook): Likewise.
32679 (tr_reallochook): Likewise.
32680 (tr_memalignhook): Likewise.
32681
6ce75379
UD
32682 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
32683 used and couldn't be at all thread-safe.
32684
f8a3b5bf
UD
326852011-05-15 Ulrich Drepper <drepper@gmail.com>
32686
94b7cc37
UD
32687 * libio/freopen.c (freopen): Don't close old file descriptor
32688 before the new one is opened. Instead dup the new file descriptor
32689 to the old one after the new stream is created.
32690 * libio/freopen64.c (freopen64): Likewise.
32691 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
32692 * libio/fileops.c (_IO_new_file_close_it): Handle new
32693 _IO_FLAGS2_NOCLOSE flag.
32694 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
32695 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
32696 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
32697 _IO_FLAGS2_NOCLOSE flag.
32698 * include/unistd.h: Add hidden_proto for dup3.
32699 Define __have_dup3.
32700 * io/dup3.c: Define hidden symbol.
32701 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
32702
bd25564e
UD
32703 [BZ #7101]
32704 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
32705 when an incomplete long option is used.
32706 * posix/tst-getopt_long1.c: New file.
32707 * posix/Makefile (tests): Add tst-getopt_long1.
32708
c84cfef4
UD
32709 [BZ #10138]
32710 * scripts/config.guess: Update from autoconf-2.68.
32711 * scripts/config.sub: Likewise.
32712
3b85df27
UD
32713 [BZ #10157]
32714 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
32715 tests into ...
32716 (has_cpuclock): ...this. New function.
32717 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
32718 macro here based on has_cpuclock code.
32719
15a856b1
UD
32720 [BZ #10149]
32721 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32722 First byte (not low byte) is now always NUL.
32723 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
32724
05f399e6
UD
32725 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32726 Use non-cancelable interfaces.
32727
10a52685 32728 [BZ #9809]
94ecc67d
UD
32729 * locale/iso-639.def: Add entry for Sorani.
32730
f8a3b5bf
UD
32731 [BZ #11901]
32732 * include/stdlib.h: Move include protection to the right place.
32733 Define abort_msg_s. Declare __abort_msg with it.
32734 * stdlib/abort.c (__abort_msg): Adjust type.
32735 * assert/assert.c (__assert_fail_base): New function. Majority
32736 of code from __assert_fail. Allocate memory for __abort_msg with
32737 mmap.
32738 (__assert_fail): Now call __assert_fail_base.
32739 * assert/assert-perr.c: Remove bulk of implementation. Use
32740 __assert_fail_base.
32741 * include/assert.hL Declare __assert_fail_base.
32742 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
32743 mmap.
32744 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
32745
1af4e298
UD
327462011-05-14 Ulrich Drepper <drepper@gmail.com>
32747
f8a3b5bf 32748 [BZ #11952]
d26dfc60
MG
32749 [BZ #12453]
32750 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
32751 until all modules are registered in the DTV.
32752 * elf/Makefile: Add rules to build and run tst-tls19.
32753 * elf/tst-tls19.c: New file.
32754 * elf/tst-tls19mod1.c: New file.
32755 * elf/tst-tls19mod2.c: New file.
32756 * elf/tst-tls19mod3.c: New file.
32757 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
32758
2fc54d6f
UD
32759 [BZ #12083]
32760 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
32761 correctly.
32762
98d76b46
UD
32763 [BZ #12601]
32764 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
32765 two-byte sequence errors.
32766 * iconvdata/Makefile (tests): Add bug-iconv8.
32767 * iconvdata/bug-iconv8.c: New file.
32768
da3c19ef
UD
32769 [BZ #12626]
32770 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
32771 buf2 definition.
32772
ca408c15
UD
32773 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
32774
d6f67f7d
UD
32775 [BZ #12432]
32776 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
32777 (dummy_getcfa): New function.
32778 (init): Get _Unwind_GetCFA address, use dummy if not found.
32779 (backtrace_helper): In recursion check, also check whether CFA changes.
32780 (__backtrace): Completely initialize arg.
32781
1af4e298 32782 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
32783 storing incomplete byte sequence in state object. Avoid testing for
32784 guaranteed too small input if we know there is enough data available.
1af4e298 32785
da62f81b
AS
327862011-05-11 Andreas Schwab <schwab@redhat.com>
32787
32788 * Makeconfig (+link-pie): Indent.
32789 * Rules (binaries-pie): Define if $(have-fpie) and
32790 $(build-shared).
32791 (binaries-shared): Also filter out $(binaries-pie).
32792 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
32793 * nscd/Makefile (others-pie): Add nscd.
32794 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
32795 ($(objpfx)nscd): Remove command override.
32796 * login/Makefile (others-pie): Add pt_chown.
32797 ($(objpfx)pt_chown): Remove command override.
32798 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
32799 remove command overrides.
32800
fcabc0f8
UD
328012011-05-13 Ulrich Drepper <drepper@gmail.com>
32802
20030ae6
UD
32803 * libio/tst_putwc.c: Fix error messages.
32804
fcabc0f8
UD
32805 [BZ #12724]
32806 * libio/fileops.c (_IO_new_file_close_it): Always flush when
32807 currently writing and seek to current position when not.
32808 * libio/Makefile (tests): Add bug-fclose1.
32809 * libio/bug-fclose1.c: New file.
32810
320a5dc0
PB
328112011-05-12 Ulrich Drepper <drepper@gmail.com>
32812
32813 [BZ #12511]
32814 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
32815 don't set DF_1_NODELETE here.
32816 (do_lookup_x): When entering new entry test for copy relocation
32817 and if necessary set DF_1_NODELETE flag.
32818 * elf/tst-unique4.cc: New file.
32819 * elf/tst-unique4.h: New file.
32820 * elf/tst-unique4lib.cc: New file.
32821 * elf/Makefile: Add rules to build and run tst-unique4.
32822 Patch by Piotr Bury <pbury@goahead.com>.
32823
22836f52
UD
328242011-05-11 Ulrich Drepper <drepper@gmail.com>
32825
f574184a
UD
32826 [BZ #12052]
32827 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
32828
e1fb097f
UD
32829 [BZ #12625]
32830 * misc/mntent_r.c (addmntent): Flush the stream after the output
32831
22836f52
UD
32832 [BZ #12393]
32833 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
32834 (is_trusted_path_normalize): Skip initial colon. Append slash
32835 to empty buffer. Duplicate is_trusted_path code but allow
32836 constructed patch to be prefix.
32837 (is_dst): Allow $ORIGIN followed by /.
32838 (_dl_dst_substitute): Correct clearing of check_for_trusted.
32839 Correct testing of result of is_trusted_path_normalize
32840 (decompose_rpath): Fix warning.
32841
7b3b0b2a
UD
328422011-05-10 Ulrich Drepper <drepper@gmail.com>
32843
32844 [BZ #11257]
32845 * grp/initgroups.c (internal_getgrouplist): When we found the service
32846 list through the initgroups entry in nsswitch.conf do not always
32847 continue on a successful lookup. Don't always use the
eac80ce2 32848 __nss_group_database value if it is set.
7b3b0b2a
UD
32849 * nss/nsswitch.conf (initgroups): Change action for successful db
32850 lookup to continue for compatibility.
32851
2a81eaa5
UD
328522011-05-09 Ulrich Drepper <drepper@gmail.com>
32853
be97a69e
UD
32854 [BZ #11532]
32855 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
32856 and CP774 modules.
32857 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
32858 and CP774 modules.
32859 * iconvdata/tst-tables.sh: Likewise.
32860 * iconvdata/cp770.c: New file.
32861 * iconvdata/cp771.c: New file.
32862 * iconvdata/cp772.c: New file.
32863 * iconvdata/cp773.c: New file.
32864 * iconvdata/cp774.c: New file.
32865 * iconvdata/testdata/CP770: New file.
32866 * iconvdata/testdata/CP770..UTF8: New file.
32867 * iconvdata/testdata/CP771: New file.
32868 * iconvdata/testdata/CP771..UTF8: New file.
32869 * iconvdata/testdata/CP772: New file.
32870 * iconvdata/testdata/CP772..UTF8: New file.
32871 * iconvdata/testdata/CP773: New file.
32872 * iconvdata/testdata/CP773..UTF8: New file.
32873 * iconvdata/testdata/CP774: New file.
32874 * iconvdata/testdata/CP774..UTF8: New file.
32875
32876 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
32877 END CHARMAP line.
32878 * iconvdata/gen-8bit-gap.sh: Likewise.
32879 * iconvdata/gen-8bit.sh: Likewise.
32880
c1e9e399
UD
32881 * locale/iso-639.def: Add ary entry.
32882
24c55fb3 32883 [BZ #11258]
96b4b1b0
UD
32884 * locale/C-translit.h.in: Add U20A1 transliteration.
32885
bdc2f971
KB
32886 [BZ #12178]
32887 * locale/iso-639.def: Add wae entry.
32888 Patch by Kevin Bortis <bortis@translate-wae.ch>.
32889
2952b117
UD
32890 [BZ #12545]
32891 * locale/programs/localedef.c (construct_output_path): Use ssize_t
32892 for n.
32893
2a81eaa5
UD
32894 [BZ #12711]
32895 * locale/C-translit.h.in: Add entry for U20B9.
32896 Patch by pravin.d.s@gmail.com.
32897
28377d1b
UD
328982011-05-08 Ulrich Drepper <drepper@gmail.com>
32899
7fb90fb8
UD
32900 [BZ #12713]
32901 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
32902 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
32903 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
32904 in rtld. Use *stat64.
7fb90fb8 32905 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 32906 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 32907 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
32908 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
32909 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
32910 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
32911 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
32912 __fstatat64 macros.
7fb90fb8
UD
32913 * include/dirent.h: Add libc_hidden_proto for rewinddir.
32914 * dirent/rewinddir.c: Add libc_hidden_def.
32915 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 32916 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 32917
28377d1b
UD
32918 * include/dirent.h (__alloc_dir): Add flags parameter.
32919 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
32920 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
32921 __alloc_dir.
32922 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
32923 from fdopendir if O_CLOEXEC is already set.
32924
66bdbaa4
AM
329252011-03-15 Alan Modra <amodra@gmail.com>
32926
32927 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
32928 l_tls_firstbyte_offset non-zero. Save padding offset in
32929 l_tls_firstbyte_offset for later use.
32930 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
32931 freeing static tls block.
32932
95721191
JN
329332011-03-05 Jonathan Nieder <jrnieder@gmail.com>
32934
32935 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
32936 where #ifdef was intended. The intent is to prevent ARG_MAX from
32937 being defined by the kernel headers.
32938
f87dfb1f
UD
329392011-05-07 Ulrich Drepper <drepper@gmail.com>
32940
32941 [BZ #12734]
32942 * resolv/resolv.h: Define RES_NOTLDQUERY.
32943 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
32944 no-tld-query and set RES_NOTLDQUERY.
32945 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
32946 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
32947 modern BIND to search name as TLD unless forbidden.
32948
47c3cd7a
UD
329492011-05-07 Petr Baudis <pasky@suse.cz>
32950 Ulrich Drepper <drepper@gmail.com>
32951
32952 [BZ #12393]
32953 * elf/dl-load.c (fillin_rpath): Move trusted path check...
32954 (is_trusted_path): ...to here.
c1e9ea35 32955 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 32956 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 32957 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 32958
8a35c912
PP
329592011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32960
32961 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
32962 __BEGIN/__END_DECLS.
32963
acd41f47
UD
329642011-05-06 Ulrich Drepper <drepper@gmail.com>
32965
32966 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
32967 NSS_STATUS_NOTFOUND if no record was found.
32968
597df647
AS
329692011-05-05 Andreas Schwab <schwab@redhat.com>
32970
32971 * sunrpc/Makefile (headers): Add rpc/netdb.h.
32972 (headers-not-in-tirpc): Remove rpc/netdb.h
32973 * resolv/netdb.h: Revert last change.
32974
b9af1301
PP
329752011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
32976
32977 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
32978 circular dependency between libgcc.a and libc.a.
32979
4e34d5f5
AS
329802011-05-05 Andreas Schwab <schwab@redhat.com>
32981
32982 * resolv/netdb.h: Don't include <rpc/netdb.h>.
32983 * nis/Makefile: Don't install rpcsvc/*.
32984 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
32985 instead of <rpc/types.h>.
32986 (MAXHOSTNAMELEN): Define.
32987
00ee369c
AS
329882011-05-03 Andreas Schwab <schwab@redhat.com>
32989
32990 * elf/ldconfig.c (add_dir): Don't crash on empty path.
32991
0b592a30
MB
329922011-04-28 Maciej Babinski <mbabinski@google.com>
32993
32994 [BZ #12714]
32995 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
32996 gethostbyname4_r when IPv6 results are possible.
32997
6e04cbbe
UD
329982011-05-02 Ulrich Drepper <drepper@gmail.com>
32999
33000 [BZ #12723]
33001 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
33002 _PC_PIPE_BUF handling.
33003
e4ecafe0
BH
330042011-04-30 Bruno Haible <bruno@clisp.org>
33005
33006 [BZ #12717]
33007 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
33008 * resolv/netdb.h (getnameinfo): Change type of flags parameter
33009 to 'int'.
33010 * inet/getnameinfo.c (getnameinfo): Likewise.
33011
125ee683
UD
330122011-04-29 Ulrich Drepper <drepper@gmail.com>
33013
33014 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
33015 to groups setting in database lookup.
33016 * nss/nsswitch.conf: Add initgroups entry.
33017
b722481a
EB
330182011-04-22 Ulrich Drepper <drepper@gmail.com>
33019
33020 [BZ #12685]
33021 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
33022 mode string.
33023 Patch by Eric Blake <eblake@redhat.com>.
33024
4df46dbd
L
330252011-04-20 H.J. Lu <hongjiu.lu@intel.com>
33026
33027 * sunrpc/Makefile (need-export-routines): Add svc_run.
33028 (routines): Remove svc_run.
33029 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
33030 * sunrpc/clnt_perr.c (clnt_perrno): Export.
33031 * sunrpc/svc_run.c (svc_run): Likewise.
33032 * sunrpc/svc_udp.c (svcudp_create): Likewise.
33033
e84142d2
UD
330342011-04-21 Ulrich Drepper <drepper@gmail.com>
33035
33036 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
33037 problem in reallocation in last patch.
33038
877175d8
UD
330392011-04-20 Ulrich Drepper <drepper@gmail.com>
33040
33041 * sunrpc/Makefile: Move inclusion of Rules.
33042
ab8eed78
UD
330432011-04-19 Ulrich Drepper <drepper@gmail.com>
33044
33045 * nss/nss_files/files-initgroups.c: New file.
33046 * nss/Makefile (libnss_files-routines): Add files-initgroups.
33047 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
33048 _nss_files_initgroups_dyn.
33049
e3d8f584
RS
330502011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
33051
33052 * elf/elf.h (R_ARM_IRELATIVE): Define.
33053
af190f45
UD
330542011-04-19 Ulrich Drepper <drepper@gmail.com>
33055
33056 * po/ru.po: Update from translation team.
33057
53cf59ef
UD
330582011-04-17 Ulrich Drepper <drepper@gmail.com>
33059
33060 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
33061 dependencies.
33062
4c559bcd
MF
330632011-02-06 Mike Frysinger <vapier@gentoo.org>
33064
33065 [BZ #12653]
33066 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
33067 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
33068 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33069 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33070 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33071
4420675c
AS
330722011-03-28 Andreas Schwab <schwab@linux-m68k.org>
33073
33074 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
33075 differing bytes.
33076 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33077 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33078 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33079
75ea32ab
UD
330802011-04-17 Ulrich Drepper <drepper@gmail.com>
33081
33082 [BZ #12420]
33083 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
33084 storing it.
33085 * stdlib/bug-getcontext.c: New file.
33086 * stdlib/Makefile: Add rules to build and run bug-getcontext.
33087
27390476
AK
330882011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33089
33090 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
33091 instructions into .machine "z9-109".
33092 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
33093 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
33094
10442705
AK
330952011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33096
33097 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
33098 between environment variables and auxiliary vector.
33099
7b57bfe5
UD
331002011-04-16 Ulrich Drepper <drepper@gmail.com>
33101
33102 * Makefile: Add rules to build linkobj/libc.so.
33103 * include/libc-symbols.h: Define libc_hidden_nolink.
33104 * include/rpc/auth.h: Mark functions which are to be hidden.
33105 * include/rpc/auth_des.h: Likewise.
33106 * include/rpc/auth_unix.h: Likewise.
33107 * include/rpc/clnt.h: Likewise.
33108 * include/rpc/des_crypt.h: Likewise.
33109 * include/rpc/key_prot.h: Likewise.
33110 * include/rpc/pmap_clnt.h: Likewise.
33111 * include/rpc/pmap_prot.h: Likewise.
33112 * include/rpc/pmap_rmt.h: Likewise.
33113 * include/rpc/rpc_msg.h: Likewise.
33114 * include/rpc/svc.h: Likewise.
33115 * include/rpc/svc_auth.h: Likewise.
33116 * include/rpc/xdr.h: Likewise.
33117 * nis/Makefile: Link all DSOs against linkobj/libc.so.
33118 * nss/Makefile: Likewise.
33119 * sunrpc/Makefile: Don't install headers. Build library with normal
33120 entry points. Don't build rpcinfo. Link RPC tests appropriately.
33121 * sunrpc/auth_des.c: Hide exported symbols by default, export some
33122 for the compat linking library. Remove use of INTDEF/INTUSE.
33123 * sunrpc/auth_none.c: Likewise.
33124 * sunrpc/auth_unix.c: Likewise.
33125 * sunrpc/authdes_prot.c: Likewise.
33126 * sunrpc/authuxprot.c: Likewise.
33127 * sunrpc/clnt_gen.c: Likewise.
33128 * sunrpc/clnt_perr.c: Likewise.
33129 * sunrpc/clnt_raw.c: Likewise.
33130 * sunrpc/clnt_simp.c: Likewise.
33131 * sunrpc/clnt_tcp.c: Likewise.
33132 * sunrpc/clnt_udp.c: Likewise.
33133 * sunrpc/clnt_unix.c: Likewise.
33134 * sunrpc/des_crypt.c: Likewise.
33135 * sunrpc/des_soft.c: Likewise.
33136 * sunrpc/get_myaddr.c: Likewise.
33137 * sunrpc/key_call.c: Likewise.
33138 * sunrpc/key_prot.c: Likewise.
33139 * sunrpc/netname.c: Likewise.
33140 * sunrpc/pm_getmaps.c: Likewise.
33141 * sunrpc/pm_getport.c: Likewise.
33142 * sunrpc/pmap_clnt.c: Likewise.
33143 * sunrpc/pmap_prot.c: Likewise.
33144 * sunrpc/pmap_prot2.c: Likewise.
33145 * sunrpc/pmap_rmt.c: Likewise.
33146 * sunrpc/publickey.c: Likewise.
33147 * sunrpc/rpc_cmsg.c: Likewise.
33148 * sunrpc/rpc_common.c: Likewise.
33149 * sunrpc/rpc_dtable.c: Likewise.
33150 * sunrpc/rpc_prot.c: Likewise.
33151 * sunrpc/rpc_thread.c: Likewise.
33152 * sunrpc/rtime.c: Likewise.
33153 * sunrpc/svc.c: Likewise.
33154 * sunrpc/svc_auth.c: Likewise.
33155 * sunrpc/svc_authux.c: Likewise.
33156 * sunrpc/svc_raw.c: Likewise.
33157 * sunrpc/svc_run.c: Likewise.
33158 * sunrpc/svc_simple.c: Likewise.
33159 * sunrpc/svc_tcp.c: Likewise.
33160 * sunrpc/svc_udp.c: Likewise.
33161 * sunrpc/svc_unix.c: Likewise.
33162 * sunrpc/svcauth_des.c: Likewise.
33163 * sunrpc/xcrypt.c: Likewise.
33164 * sunrpc/xdr.c: Likewise.
33165 * sunrpc/xdr_array.c: Likewise.
33166 * sunrpc/xdr_float.c: Likewise.
33167 * sunrpc/xdr_intXX_t.c: Likewise.
33168 * sunrpc/xdr_mem.c: Likewise.
33169 * sunrpc/xdr_rec.c: Likewise.
33170 * sunrpc/xdr_ref.c: Likewise.
33171 * sunrpc/xdr_sizeof.c: Likewise.
33172 * sunrpc/xdr_stdio.c: Likewise.
33173
e6c61494
UD
331742011-04-10 Ulrich Drepper <drepper@gmail.com>
33175
33176 [BZ #12650]
33177 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
33178 * sysdeps/ia64/dl-tls.h: Likewise.
33179 * sysdeps/powerpc/dl-tls.h: Likewise.
33180 * sysdeps/s390/dl-tls.h: Likewise.
33181 * sysdeps/sh/dl-tls.h: Likewise.
33182 * sysdeps/sparc/dl-tls.h: Likewise.
33183 * sysdeps/x86_64/dl-tls.h: Likewise.
33184 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
33185
34fe483e
AS
331862011-03-14 Andreas Schwab <schwab@redhat.com>
33187
33188 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
33189 rpath element also skip the following colon.
33190 (expand_dynamic_string_token): Add is_path parameter and pass
33191 down to DL_DST_REQUIRED and _dl_dst_substitute.
33192 (decompose_rpath): Call expand_dynamic_string_token with
33193 non-zero is_path. Ignore empty rpaths.
33194 (_dl_map_object_from_fd): Call expand_dynamic_string_token
33195 with zero is_path.
33196
f12a32e6
AS
331972011-04-08 Andreas Schwab <schwab@linux-m68k.org>
33198
33199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33200 Make cancelable.
33201
38a7d692
UD
332022011-04-09 Ulrich Drepper <drepper@gmail.com>
33203
33204 [BZ #12655]
33205 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
33206 Patch by Filipe David Manana <fdmanana@apache.org>.
33207
e451d22b
AS
332082011-04-07 Andreas Schwab <schwab@redhat.com>
33209
33210 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
33211 Maintain aligned stack.
33212 (CHECK_RSP): Remove unused macro.
33213
dedc7c7b
UD
332142011-04-03 Ulrich Drepper <drepper@gmail.com>
33215
33216 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
33217 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
33218
94521213
UD
332192011-04-02 Ulrich Drepper <drepper@gmail.com>
33220
33221 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
33222
8cb700c0 33223 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 33224
0354e355
L
332252011-03-26 H.J. Lu <hongjiu.lu@intel.com>
33226
33227 [BZ #12518]
33228 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
33229 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
33230 * sysdeps/x86_64/memmove.c: New file.
33231 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
33232 (memcpy): Renamed to ...
33233 (__new_memcpy): This.
33234 (memcpy): Provide GLIBC_2_14 memcpy.
33235 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
33236 (memcpy): Provide GLIBC_2_2_5 memcpy.
33237
8593482f
UD
332382011-04-01 Ulrich Drepper <drepper@gmail.com>
33239
33240 [BZ #12631]
33241 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
33242
81a5726b
AS
332432011-03-30 Andreas Schwab <schwab@redhat.com>
33244
33245 * misc/syncfs.c: New file.
33246 * misc/Makefile (routines): Add syncfs.
33247 * posix/unistd.h: Declare syncfs.
33248 * sysdeps/unix/syscalls.list: Add syncfs.
33249
00e5419f
AS
332502011-04-01 Andreas Schwab <schwab@redhat.com>
33251
33252 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
33253 open_by_handle_at.
33254 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33255 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33256 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33257 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33258 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33259 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
33260 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33261
748876bf
UD
332622011-04-01 Ulrich Drepper <drepper@gmail.com>
33263
658e451d
UD
33264 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
33265 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33266 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
33267 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33268 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33269 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33270 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33271
748876bf
UD
33272 * io/Makefile: Compile fallocate.c, fallocate64.c, and
33273 sync_file_range.c with -fexceptions.
33274 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
33275 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
33276 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
33277 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
33278 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
33279 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33280 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
33281 sync_file_range as cancellation point
33282 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
33283 now a wrapper around __call_sync_file_range with cancellation handling.
33284 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
33285 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
33286 function name to __call_sync_file_range.
33287 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
33288 Add call_sync_file_range.
748876bf 33289
6e63d5e1
AS
332902011-04-01 Andreas Schwab <schwab@redhat.com>
33291
33292 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 33293 bits/timex.h.
6e63d5e1 33294
46998f74
UD
332952011-04-01 Ulrich Drepper <drepper@gmail.com>
33296
4c1423ed
UD
33297 * iconv/iconv.h: Fix typo in comment.
33298 * io/fcntl.h: Likewise.
33299 * libio/stdio.h: Likewise.
33300 * posix/spawn.h: Likewise.
33301 * posix/unistd.h: Likewise.
33302 * stdlib/stdlib.h: Likewise.
33303 * time/time.h: Likewise.
33304 * wcsmbs/wchar.h: Likewise.
33305
158648c0
UD
33306 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
33307 open_by_handle): Add.
33308 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
33309 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
33310 Augment a few comments.
33311 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33312 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33313 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33314 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33315 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33316 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
33317 open_by_handle.
33318
46998f74
UD
33319 * io/fcntl.h (AT_EMPTY_PATH): Define.
33320
83fe108b
UD
333212011-03-30 Ulrich Drepper <drepper@gmail.com>
33322
33323 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
33324 * sysdeps/unix/sysv/linux/bits/time.h: New file.
33325 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
33326 to...
33327 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
33328 * Versions.def: Add GLIBC_2.14.
33329 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
33330 Export.
83fe108b 33331
bb242059
UD
333322011-03-22 Ulrich Drepper <drepper@gmail.com>
33333
33334 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
33335 round counter.
33336 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33337
c97a1282
L
333382011-03-20 H.J. Lu <hongjiu.lu@intel.com>
33339
33340 [BZ #12597]
33341 * string/test-strncmp.c (do_page_test): New function.
33342 (check2): Likewise.
33343 (test_main): Call check2.
33344 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
33345
2a115601
UD
333462011-03-20 Ulrich Drepper <drepper@gmail.com>
33347
33348 [BZ #12587]
33349 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
33350 Handle cache information in CPU leaf 4.
33351 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33352
8126d904
UD
333532011-03-18 Ulrich Drepper <drepper@gmail.com>
33354
042c49c6 33355 [BZ #12583]
8126d904
UD
33356 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
33357 character representation.
33358 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
33359
ccfe366e
RA
333602011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
33361
33362 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
33363 END(__isnan) to END(__isnanf) to match function entry point/label
33364 EALIGN(__isnanf,...).
33365
c6e13027
JJ
333662011-03-10 Jakub Jelinek <jakub@redhat.com>
33367
33368 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
33369
33f85a3f
UD
333702011-03-10 Ulrich Drepper <drepper@gmail.com>
33371
028478fa
UD
33372 [BZ #12510]
33373 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
33374 copy from the symbol referenced in the relocation to initialize the
33375 used variable.
33376 Patch by Piotr Bury <pbury@goahead.com>.
33377 * elf/Makefile: Add rules to build and tst-unique3.
33378 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
33379 * elf/tst-unique3.cc: New file.
33380 * elf/tst-unique3.h: New file.
33381 * elf/tst-unique3lib.cc: New file.
33382 * elf/tst-unique3lib2.cc: New file.
33383
33f85a3f
UD
33384 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
33385
03592fc7
MF
333862011-03-10 Mike Frysinger <vapier@gentoo.org>
33387
33388 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
33389 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
33390 to _start.
03592fc7 33391
6a5ee102
UD
333922011-03-06 Ulrich Drepper <drepper@gmail.com>
33393
33394 * elf/dl-load.c (_dl_map_object): If we are looking for the first
33395 to-be-loaded object along a path to loader is ld.so.
33396
7e4ba49c
HJ
333972011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
33398 Ulrich Drepper <drepper@gmail.com>
33399
33400 * sysdeps/x86_64/memset.S: After aligning destination, code
33401 branches to different locations depending on the value of
33402 misalignment, when multiarch is enabled. Fix this.
33403
334042011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
33405
33406 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
33407 Set _x86_64_preferred_memory_instruction for AMD processsors.
33408 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33409 Set bit_Prefer_SSE_for_memop for AMD processors.
33410
13a804de
UD
334112011-03-04 Ulrich Drepper <drepper@gmail.com>
33412
33413 * libio/fmemopen.c (fmemopen): Optimize a bit.
33414
9d25c392
AS
334152011-03-03 Andreas Schwab <schwab@redhat.com>
33416
33417 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
33418
a5543c6a
RM
334192011-03-03 Roland McGrath <roland@redhat.com>
33420
33421 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
33422
012d35f7
DM
334232011-02-28 Aurelien Jarno <aurelien@aurel32.net>
33424
7e4ba49c 33425 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
33426 __bzero_ultra1 instead of __memset_ultra1.
33427
4bff6e01
AS
334282011-02-23 Andreas Schwab <schwab@redhat.com>
33429 Ulrich Drepper <drepper@gmail.com>
33430
33431 [BZ #12509]
33432 * include/link.h (struct link_map): Add l_orig_initfini.
33433 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
33434 returning unsuccessfully.
33435 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
33436 close of a file loaded at startup, restore the original l_initfini
33437 list.
33438 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
33439 list, store the pointer.
33440 * elf/Makefile ($(objpfx)noload-mem): New rule.
33441 (noload-ENV): Define.
33442 (tests): Add $(objpfx)noload-mem.
33443 * elf/noload.c: Include <memcheck.h>.
33444 (main): Call mtrace. Close all opened handles.
33445
f2092faf
AS
334462011-02-17 Andreas Schwab <schwab@redhat.com>
33447
33448 [BZ #12454]
33449 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
33450 dependencies are missing.
33451
6c8a2e88
ST
334522011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
33453
f2092faf 33454 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
33455 Hurd needs munmap.
33456 * sysdeps/mach/hurd/ifreq.h: New file.
33457
84a42118
PB
334582011-01-27 Petr Baudis <pasky@suse.cz>
33459 Ulrich Drepper <drepper@gmail.com>
33460
071f805e 33461 [BZ 12445]#
84a42118
PB
33462 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
33463 to extend_alloca().
33464 * stdio-common/bug23.c: New file.
33465 * stdio-common/Makefile (tests): Add bug23.
33466
e23fe25b
AS
334672010-09-28 Andreas Schwab <schwab@redhat.com>
33468 Ulrich Drepper <drepper@gmail.com>
33469
33470 [BZ #12489]
33471 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
33472 before performing relro protection. At old place add assertion
33473 to make sure nothing changed.
33474
d3f02e10
NS
334752011-02-17 Nathan Sidwell <nathan@codesourcery.com>
33476 Glauber de Oliveira Costa <glommer@gmail.com>
33477
33478 * elf/elf.h: Add new ARM TLS relocs.
33479
d55fd7a5
RA
334802011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
33481
33482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
33483 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
33484 cast from r3.
33485 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
33486 'tests' variable.
33487 * sysdeps/wordsize-64/tst-writev.c: New file.
33488
2206397e
RA
334892011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
33490
33491 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
33492 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
33493 insns in _dl_start to prevent a TOC reference before relocs are
33494 resolved.
33495
e9433893
UD
334962011-02-15 Ulrich Drepper <drepper@gmail.com>
33497
33498 [BZ #12469]
33499 * Makeconfig: Remove RANLIB definition.
33500 * Makerules: Don't use RANLIB.
33501 * aclocal.m4: Remove ranlib test.
33502 * configure.in: No need to check for ranlib.
33503 * elf/rtld-Rules: Don't use RANLIB.
33504
f75286c6
ST
335052011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
33506
8e31c82d
ST
33507 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
33508 protection macro.
33509 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
33510 inclusion protection macro.
33511
f75286c6
ST
33512 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
33513 SIGRTMIN and SIGRTMAX and print information in that case only when
33514 SIGRTMIN is defined.
33515
c1d0e639
JJ
335162011-02-11 Jakub Jelinek <jakub@redhat.com>
33517
33518 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
33519 arginfo fn returning -1.
33520
33521 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
33522 and thousands string is zero terminated.
33523
edf9294e
AS
335242011-02-03 Andreas Schwab <schwab@redhat.com>
33525
33526 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
33527 sysdeps/unix/sysv/linux/bits/socket.h.
33528
2b7e92df
ST
335292011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
33530
edf9294e
AS
33531 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
33532 (__CPU_COUNT): Remove old macros.
33533 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
33534 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
33535 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
33536 (__sched_cpualloc, __sched_cpufree): Add declarations.
33537
a4c7ea7b
UD
335382011-02-05 Ulrich Drepper <drepper@gmail.com>
33539
33540 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
33541 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
33542 * nscd/aicache.c (addhstaiX): Return timeout of added value.
33543 (readdhstai): Return value of addhstaiX call.
33544 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
33545 (addgrbyX): Return value returned by cache_addgr.
33546 (readdgrbyname): Return value returned by addgrbyX.
33547 (readdgrbygid): Likewise.
33548 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
33549 (addpwbyX): Return value returned by cache_addpw.
33550 (readdpwbyname): Return value returned by addhstbyX.
33551 (readdpwbyuid): Likewise.
33552 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
33553 (addservbyX): Return value returned by cache_addserv.
33554 (readdservbyname): Return value returned by addservbyX:
33555 (readdservbyport): Likewise.
33556 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
33557 (addhstbyX): Return value returned by cache_addhst.
33558 (readdhstbyname): Return value returned by addhstbyX.
33559 (readdhstbyaddr): Likewise.
33560 (readdhstbynamev6): Likewise.
33561 (readdhstbyaddrv6): Likewise.
33562 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
33563 (readdinitgroups): Return value returned by addinitgroupsX.
33564 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
33565 (prune_cache): Keep track of timeout value of re-added entries.
33566 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
33567 * nscd/nscd.h: Adjust prototypes of readd* functions.
33568
a0bf67cc
RM
335692011-02-04 Roland McGrath <roland@redhat.com>
33570
33571 * nis/nis_server.c (nis_servstate): Use the right name for 0.
33572 (nis_stats): Likewise.
33573 * nis/nis_modify.c (nis_modify): Likewise.
33574 * nis/nis_remove.c (nis_remove): Likewise.
33575 * nis/nis_add.c (nis_add): Likewise.
33576
33577 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
33578
33579 * posix/fnmatch_loop.c: Add some consts.
33580
33581 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
33582
435b95eb
L
335832011-02-02 H.J. Lu <hongjiu.lu@intel.com>
33584
33585 [BZ #12460]
33586 * config.make.in (config-cflags-novzeroupper): Define.
33587 * configure.in: Substitute libc_cv_cc_novzeroupper.
33588 * elf/Makefile (AVX-CFLAGS): Define.
33589 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
33590 (CFLAGS-tst-auditmod4a.c): Likewise.
33591 (CFLAGS-tst-auditmod4b.c): Likewise.
33592 (CFLAGS-tst-auditmod6b.c): Likewise.
33593 (CFLAGS-tst-auditmod6c.c): Likewise.
33594 (CFLAGS-tst-auditmod7b.c): Likewise.
33595 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
33596
8517b15e
UD
335972011-02-02 Ulrich Drepper <drepper@gmail.com>
33598
33599 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
33600 function to the callback.
33601 Patch partly by Jiri Olsa <jolsa@redhat.com>.
33602
10a656fe
AS
336032011-02-02 Andreas Schwab <schwab@redhat.com>
33604
33605 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
33606 of errno.
33607
968dad0a
UD
336082011-01-19 Ulrich Drepper <drepper@gmail.com>
33609
9f94d2ea 33610 [BZ #11724]
968dad0a
UD
33611 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
33612 of constructors.
33613 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
33614 of destructors.
33615 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
33616
33617 [BZ #11724]
33618 * elf/Makefile: Add rules to build and run new test.
33619 * elf/tst-initorder.c: New file.
33620 * elf/tst-initorder.exp: New file.
33621 * elf/tst-initordera1.c: New file.
33622 * elf/tst-initordera2.c: New file.
33623 * elf/tst-initordera3.c: New file.
33624 * elf/tst-initordera4.c: New file.
33625 * elf/tst-initorderb1.c: New file.
33626 * elf/tst-initorderb2.c: New file.
33627 * elf/tst-order-a1.c: New file.
33628 * elf/tst-order-a2.c: New file.
33629 * elf/tst-order-a3.c: New file.
33630 * elf/tst-order-a4.c: New file.
33631 * elf/tst-order-b1.c: New file.
33632 * elf/tst-order-b2.c: New file.
33633 * elf/tst-order-main.c: New file.
33634 New test case by George Gensure <werkt0@gmail.com>.
33635
86e92359
UD
336362010-10-01 Andreas Schwab <schwab@redhat.com>
33637
33638 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33639 decoding ACE if AI_CANONIDN.
33640
5d5732b0
UD
336412011-01-18 Ulrich Drepper <drepper@gmail.com>
33642
33643 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
33644
a77e8cbc
UD
336452011-01-17 Ulrich Drepper <drepper@gmail.com>
33646
6392473f
UD
33647 * version.h (RELEASE): Bump for 2.13 release.
33648 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
33649
620a0529
UD
33650 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
33651
18ba70a5
UD
33652 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
33653 MADV_NOHUGEPAGE.
32465c3e
UD
33654 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
33655 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
33656 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33657 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33658 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33659 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33660
c0dafcf1
UD
33661 * posix/getconf.c: Update copyright year.
33662 * catgets/gencat.c: Likewise.
33663 * csu/version.c: Likewise.
33664 * debug/catchsegv.sh: Likewise.
33665 * debug/xtrace.sh: Likewise.
33666 * elf/ldconfig.c: Likewise.
33667 * elf/ldd.bash.in: Likewise.
33668 * elf/sprof.c (print_version): Likewise.
33669 * iconv/iconv_prog.c: Likewise.
33670 * iconv/iconvconfig.c: Likewise.
33671 * locale/programs/locale.c: Likewise.
33672 * locale/programs/localedef.c: Likewise.
33673 * malloc/memusage.sh: Likewise.
33674 * malloc/mtrace.pl: Likewise.
33675 * nscd/nscd.c (print_version): Likewise.
33676 * nss/getent.c: Likewise.
33677
a77e8cbc
UD
33678 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
33679 PF_CAIF, and PF_ALG.
33680 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33681
77e8bddf
AS
336822011-01-16 Andreas Schwab <schwab@linux-m68k.org>
33683
1f20b93a
AS
33684 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
33685 (modules-names): Use them.
33686 (ifunc-test-modules, ifunc-pie-tests): Define.
33687 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
33688 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
33689 (test-extras): Likewise.
33690 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
33691 $(compile-command.c).
33692 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
33693 (all-built-dso): Define.
33694 (check-textrel.out, check-execstack.out): Depend on it.
33695
77e8bddf
AS
33696 * configure.in: Don't override --enable-multi-arch.
33697
bc425b33
UD
336982011-01-15 Ulrich Drepper <drepper@gmail.com>
33699
33700 [BZ #6812]
33701 * nscd/hstcache.c (tryagain): Define.
33702 (cache_addhst): Return tryagain not notfound for temporary errors.
33703 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
33704 failed.
33705
794c3ad3
UD
337062011-01-14 Ulrich Drepper <drepper@gmail.com>
33707
70181fdd
UD
33708 [BZ #10563]
33709 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
33710 to make the syscall.
33711 * sysdeps/unix/sysv/linux/setgroups.c: New file.
33712
794c3ad3
UD
33713 [BZ #12378]
33714 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
33715 and fall back to matching as normal character if the string ends before
33716 the matching ']' is found. This is what POSIX requires.
33717 * posix/testfnm.c: Adjust test result.
33718 * posix/globtest.sh: Adjust test result. Add new test.
33719 * posix/tst-fnmatch.input: Likewise.
33720 * posix/tst-fnmatch2.c: Add new test.
33721
68dc9497
AS
337222010-12-28 Andreas Schwab <schwab@linux-m68k.org>
33723
33724 * elf/Makefile (check-execstack): Revert last change. Depend on
33725 check-execstack.h.
33726 (check-execstack.h): New target.
33727 (generated): Add check-execstack.h.
33728 * elf/check-execstack.c: Include "check-execstack.h".
33729 (main): Revert last change.
33730 (handle_file): Return zero if GNU_STACK is absent and
33731 DEFAULT_STACK_PERMS doesn't include PF_X.
33732
451f001b
UD
337332011-01-13 Ulrich Drepper <drepper@gmail.com>
33734
cfa28e56
UD
33735 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
33736 in child fails because the descriptor is already closed.
8cf8ce17
UD
33737 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
33738 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
33739 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 33740
1086d70d
UD
33741 [BZ #12397]
33742 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
33743 syscall.
33744
451f001b
UD
33745 [BZ #10484]
33746 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
33747 temporary buffer used to handle multi lookups locally.
a85b5cb4 33748 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 33749
08769175
UD
337502011-01-12 Ulrich Drepper <drepper@gmail.com>
33751
33752 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
33753 loader is ld.so.
33754
5e49c52e
UD
337552011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
33756
33757 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
33758 alignment for SSE2.
33759
60522a5f
UD
337602011-01-12 Ulrich Drepper <drepper@gmail.com>
33761
33762 [BZ #12394]
33763 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
33764 characters. When rounding increased number of integer digits recompute
33765 number of groups.
33766 * stdio-common/tst-grouping.c: New file.
33767 * stdio-common/Makefile: Add rules to build and run tst-grouping.
33768
f257bbd7
UD
337692011-01-09 Ulrich Drepper <drepper@gmail.com>
33770
33771 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
33772 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
33773
33774 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
33775 void.
33776 * bits/select.h: Likewise.
33777
fa9c15cb
UD
337782011-01-08 Ulrich Drepper <drepper@gmail.com>
33779
33780 * po/ja.po: Update from translation team.
33781
16c2895f
DM
337822011-01-04 David S. Miller <davem@sunset.davemloft.net>
33783
33784 [BZ #11155]
33785 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
33786 implementation just like for lxstat, fxstatat, et al.
33787
2543fef2
JM
337882010-12-27 Jim Meyering <meyering@redhat.com>
33789
33790 [BZ #12348]
33791 * posix/regexec.c (build_trtable): Return failure indication upon
33792 calloc failure. Otherwise, re_search_internal could infloop on OOM.
33793
98727dbe
UD
337942010-12-25 Ulrich Drepper <drepper@gmail.com>
33795
5bd6dc5c
UD
33796 [BZ #12201]
33797 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
33798 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
33799 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
33800 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
33801
97983464
UD
33802 [BZ #12207]
33803 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
33804
98727dbe
UD
33805 [BZ #12204]
33806 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
33807 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
33808
4a531bb0
L
338092010-12-15 H.J. Lu <hongjiu.lu@intel.com>
33810
33811 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
33812 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
33813 script has SORT_BY_INIT_PRIORITY.
33814 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
33815 NO_CTORS_DTORS_SECTIONS is defined.
33816 * elf/soinit.c: Likewise.
33817 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
33818 NO_CTORS_DTORS_SECTIONS is defined.
33819 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
33820 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
33821 * sysdeps/sh/init-first.c: Likewise.
33822 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
33823
07eb4b71
UD
338242010-12-24 Ulrich Drepper <drepper@gmail.com>
33825
33826 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
33827 always use the slow path.
33828
30950a5f
RA
338292010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
33830
33831 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
33832 similar rule which adds the sysdep directories to the header search in
33833 order to pick up the correct platform stackinfo.h.
33834 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
33835 perform test if it is, otherwise return successfully without testing.
33836 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
33837 DEFAULT_STACK_PERMS define in stackinfo.h.
33838 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
33839 defined in stackinfo.h.
33840 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
33841 DEFAULT_STACK_PERMS defined in stackinfo.h.
33842 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
33843 * sysdeps/ia64/stackinfo.h: Likewise.
33844 * sysdeps/s390/stackinfo.h: Likewise.
33845 * sysdeps/sh/stackinfo.h: Likewise.
33846 * sysdeps/sparc/stackinfo.h: Likewise.
33847 * sysdeps/x86_64/stackinfo.h: Likewise.
33848 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
33849 PF_X for powerpc64. Retain PF_X for powerpc32.
33850
db753e2c
UD
338512010-12-19 Ulrich Drepper <drepper@gmail.com>
33852
14b697f7
UD
33853 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
33854 accurately.
db753e2c
UD
33855 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
33856 GETDENTS_64BIT_ALIGNED.
33857
28300719
UD
338582010-12-14 Ulrich Drepper <dreper@gmail.com>
33859
14b697f7 33860 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 33861
4f197237
AS
338622010-12-10 Andreas Schwab <schwab@redhat.com>
33863
dbb0472f
AS
33864 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
33865 _GNU_SOURCE.
33866
4f197237
AS
33867 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
33868 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
33869 Remove __restrict.
33870 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
33871 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
33872
fb88ac72
UD
338732010-12-09 Ulrich Drepper <drepper@gmail.com>
33874
33875 [BZ #11655]
33876 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
33877 are initialized.
33878
42acbb92
JJ
338792010-12-09 Jakub Jelinek <jakub@redhat.com>
33880
33881 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
33882
c038d98d
UD
338832010-12-03 Ulrich Drepper <drepper@gmail.com>
33884
33885 * po/it.po: Update from translation team.
33886
3a4a2499
L
338872010-12-01 H.J. Lu <hongjiu.lu@intel.com>
33888
33889 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
33890 unused codes.
33891
1e24cf6e
UD
338922010-11-30 Ulrich Drepper <drepper@gmail.com>
33893
33894 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
33895
a7690819
AS
338962010-11-24 Andreas Schwab <schwab@redhat.com>
33897
33898 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
33899 specially.
33900 (gaih_getanswer_slice): Likewise.
33901
3bf8d1b1
JJ
339022010-10-20 Jakub Jelinek <jakub@redhat.com>
33903
33904 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
33905
6db52fbb
PB
339062010-05-31 Petr Baudis <pasky@suse.cz>
33907
33908 [BZ #11149]
33909 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
33910 silently even in the chroot mode.
33911
eaca7569
UD
339122010-11-22 Ulrich Drepper <drepper@gmail.com>
33913
33914 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
33915 last patch a bit. Pretty printing
33916
3056dcdb
UD
339172010-05-31 Petr Baudis <pasky@suse.cz>
33918
33919 [BZ #10085]
33920 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
33921 initialization of skip_initgroups_dyn.
33922
cf7c9078
UD
339232010-11-19 Ulrich Drepper <drepper@gmail.com>
33924
33925 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
33926 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33927
a1fb5e3e
UD
339282010-11-16 Ulrich Drepper <drepper@gmail.com>
33929
33930 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
33931
3540d66b
AS
339322010-11-11 Andreas Schwab <schwab@redhat.com>
33933
33934 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
33935 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
33936 (tst-fnmatch-ENV): Set MALLOC_TRACE.
33937 ($(objpfx)tst-fnmatch-mem): New rule.
33938 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
33939 * posix/tst-fnmatch.c (main): Call mtrace.
33940
13b69574
L
339412010-11-11 H.J. Lu <hongjiu.lu@intel.com>
33942
33943 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33944 Support Intel processor model 6 and model 0x2c.
33945
da93d214
LM
339462010-11-10 Luis Machado <luisgpm@br.ibm.com>
33947
33948 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
33949 signed comparison.
33950
8ca52c6e
L
339512010-11-09 H.J. Lu <hongjiu.lu@intel.com>
33952
33953 [BZ #12205]
33954 * string/test-strncasecmp.c (check_result): New function.
33955 (do_one_test): Use it.
33956 (check1): New function.
33957 (test_main): Use it.
33958 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
33959 Support strcasecmp and strncasecmp.
33960
69da074d
UD
339612010-11-08 Ulrich Drepper <drepper@gmail.com>
33962
33963 [BZ #12194]
33964 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
33965 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33966
ff02d528
L
339672010-11-07 H.J. Lu <hongjiu.lu@intel.com>
33968
33969 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
33970 IFUNC support.
33971 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33972 memset-x86-64.
33973 * sysdeps/x86_64/multiarch/bzero.S: New file.
33974 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
33975 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
33976 * sysdeps/x86_64/multiarch/memset.S: New file.
33977 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
33978 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33979 Set bit_Prefer_SSE_for_memop for Intel processors.
33980 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
33981 Define.
33982 (index_Prefer_SSE_for_memop): Define.
33983 (HAS_PREFER_SSE_FOR_MEMOP): Define.
33984
344d0b54
LM
339852010-11-04 Luis Machado <luisgpm@br.ibm.com>
33986
33987 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
33988 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
33989
c0dde15b
UD
339902010-11-03 H.J. Lu <hongjiu.lu@intel.com>
33991
33992 [BZ #12191]
33993 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33994 (__x86_64_raw_data_cache_size_half): Likewise.
33995 (__x86_64_raw_shared_cache_size): Likewise.
33996 (__x86_64_raw_shared_cache_size_half): Likewise.
33997
33998 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33999 (__x86_64_raw_data_cache_size_half): Likewise.
34000 (__x86_64_raw_shared_cache_size): Likewise.
34001 (__x86_64_raw_shared_cache_size_half): Likewise.
34002 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
34003 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
34004 and __x86_64_raw_shared_cache_size_half. Round
34005 __x86_64_data_cache_size_half, __x86_64_data_cache_size
34006 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
34007 to multiple of 256 bytes.
34008
0e516e0e
MS
340092010-11-03 Ulrich Drepper <drepper@gmail.com>
34010
34011 [BZ #12167]
34012 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
34013 of inacessible symlinks. Verify result of symlink before returning it.
34014 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
34015 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
34016
0e012e87
ER
340172010-10-28 Erich Ritz <erichritz@gmail.com>
34018
34019 * math/math.h (isinf): Fix typo in comment.
34020
de0ff7bc
UD
340212010-11-01 Ulrich Drepper <drepper@gmail.com>
34022
34023 * po/da.po: Update from translation team.
34024
fa41c84d
UD
340252010-10-26 Ulrich Drepper <drepper@gmail.com>
34026
34027 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
34028 is added to the list.
34029
f0967738
AK
340302010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34031 Ulrich Drepper <drepper@gmail.com>
34032
34033 * elf/dl-object.c (_dl_new_object): Don't append the new object to
34034 the global list here. Move code to...
34035 (_dl_add_to_namespace_list): ...here. New function.
34036 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
34037 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
34038 * elf/dl-load.c (lose): Don't remove the element from the list.
34039 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
34040 (_dl_map_object): Likewise.
34041
340422010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
34043
34044 [BZ #12159]
34045 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
34046 into all bytes of SSE register.
34047 Patch by Richard Li <richardpku@gmail.com>.
34048
f0967738 340492010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
34050
34051 [BZ #12140]
34052 * malloc/malloc.c (_int_free): Fill correct number of bytes when
34053 perturbing.
34054
d0b9e94f
MB
340552010-10-20 Michael B. Brutman <brutman@us.ibm.com>
34056
34057 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
34058 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
34059 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
34060 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
34061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
34062 submachine.
34063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
34064
8e9f92e9
AS
340652010-10-22 Andreas Schwab <schwab@redhat.com>
34066
34067 * include/dlfcn.h (__RTLD_SECURE): Define.
34068 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
34069 mode & __RTLD_SECURE instead.
34070 (open_path): Rename preloaded parameter to secure.
34071 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
34072 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
34073 * elf/dl-deps.c (openaux): Likewise.
34074 * elf/rtld.c (struct map_args): Remove is_preloaded.
34075 (map_doit): Don't use it.
34076 (dl_main): Likewise.
34077 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
34078 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
34079
bc96fbda
AS
340802010-09-09 Andreas Schwab <schwab@redhat.com>
34081
34082 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
34083 (sysd-rules-targets): Remove duplicates.
34084 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
34085 rtld-%.$o dependency.
34086
22cd1c9b
AS
340872010-10-18 Andreas Schwab <schwab@redhat.com>
34088
34089 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
34090 _dl_map_object do it.
34091
18edac48
UD
340922010-10-19 Ulrich Drepper <drepper@gmail.com>
34093
34094 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
34095 fast fma builtins, define the macros in the C99 standard.
34096 (FP_FAST_FMAF): Likewise.
34097 (FP_FAST_FMAL): Likewise.
34098 * sysdeps/x86_64/bits/mathdef.h: Likewise.
34099
34100 * bits/mathdef.h: Update copyright year.
34101 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34102
d2050124
MM
341032010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
34104
34105 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
34106 builtins, define the macros in the C99 standard.
34107 (FP_FAST_FMAF): Likewise.
34108 (FP_FAST_FMAL): Likewise.
34109 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
34110 multiply/add.
34111 (FP_FAST_FMAF): Likewise.
34112
475facd1
JJ
341132010-10-15 Jakub Jelinek <jakub@redhat.com>
34114
34115 [BZ #3268]
34116 * math/libm-test.inc (fma_test): Some new testcases.
34117 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
34118 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
34119 y and infinite z. Do multiplication by C already in long double.
34120 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
34121 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
34122 y and infinite z. Do bitwise or of inexact bit into u.d.
34123 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
34124 * sysdeps/i386/fpu/s_fmaf.S: Removed.
34125 * sysdeps/i386/fpu/s_fma.S: Removed.
34126 * sysdeps/i386/fpu/s_fmal.S: Removed.
34127
7c08a05c
JJ
341282010-10-16 Jakub Jelinek <jakub@redhat.com>
34129
34130 [BZ #3268]
34131 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
34132 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
34133 computation is not scheduled after fetestexcept. Fix value
34134 of minimum denormal long double.
34135
f3f7372d
JJ
341362010-10-14 Jakub Jelinek <jakub@redhat.com>
34137
34138 [BZ #3268]
34139 * math/libm-test.inc (fma_test): Add some more tests.
34140 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
34141 correctly.
34142
14d43591
AS
341432010-10-15 Andreas Schwab <schwab@redhat.com>
34144
34145 * scripts/data/localplt-s390-linux-gnu.data: New file.
34146 * scripts/data/localplt-s390x-linux-gnu.data: New file.
34147
5e908464
JJ
341482010-10-13 Jakub Jelinek <jakub@redhat.com>
34149
34150 [BZ #3268]
34151 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
34152 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
34153 instead of dbl-64.
34154 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
34155 inlines.
34156 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
34157 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
34158 if one of x and y is very large and the other is subnormal.
34159 * sysdeps/s390/fpu/s_fmaf.c: New file.
34160 * sysdeps/s390/fpu/s_fma.c: New file.
34161 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
34162 * sysdeps/powerpc/fpu/s_fma.S: New file.
34163 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
34164 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
34165 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
34166
341672010-10-12 Jakub Jelinek <jakub@redhat.com>
34168
34169 [BZ #3268]
34170 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
34171 fma tests.
34172 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
34173 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
34174 * sysdeps/i386/i686/multiarch/s_fma.c: Include
34175 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
34176 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
34177 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
34178 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
34179
b833d51f
UD
341802010-10-12 Ulrich Drepper <drepper@redhat.com>
34181
34182 [BZ #12078]
34183 * posix/regcomp.c (parse_branch): One more memory leak plugged.
34184 * posix/bug-regex31.input: Add test case.
34185
1751705d
UD
341862010-10-11 Ulrich Drepper <drepper@gmail.com>
34187
e9b9cbf5
UD
34188 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
34189 * posix/bug-regex31.input: New file.
34190
34191 [BZ #12078]
34192 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
34193 (parse_sub_exp): Fix last change, use postorder.
34194
ef06edbe
UD
34195 * posix/bug-regex31.c: New file.
34196 * posix/Makefile: Add rules to build and run bug-regex31.
34197
a129c80d
UD
34198 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
34199
34200 [BZ #12078]
34201 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
34202
b76b818e
UD
34203 [BZ #12108]
34204 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
34205 to have entries in sys_siglist.
34206
1751705d
UD
34207 [BZ #12093]
34208 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
34209 be NULL.
34210
9ff8d36f
JJ
342112010-10-07 Jakub Jelinek <jakub@redhat.com>
34212
34213 [BZ #3268]
34214 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
34215 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
34216 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
34217 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
34218 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34219 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
34220 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
34221 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
34222 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
34223 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
34224 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
34225 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
34226 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
34227 * math/ftestexcept.c (fetestexcept): Likewise.
34228 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
34229 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
34230 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
34231 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
34232 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
34233 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
34234 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34235
af325969
UD
342362010-10-11 Ulrich Drepper <drepper@gmail.com>
34237
c579b202 34238 [BZ #12107]
af325969
UD
34239 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
34240 newline.
34241
67a67b95
UD
342422010-10-06 Ulrich Drepper <drepper@gmail.com>
34243
34244 * string/bug-strstr1.c: New file.
34245 * string/Makefile: Add rules to build and run bug-strstr1.
34246
5fb308bc
EB
342472010-10-05 Eric Blake <eblake@redhat.com>
34248
34249 [BZ #12092]
34250 * string/str-two-way.h (two_way_long_needle): Always clear memory
34251 when skipping input due to the shift table.
34252
45db99c7
UD
342532010-10-03 Ulrich Drepper <drepper@gmail.com>
34254
3b111893
UD
34255 [BZ #12005]
34256 * malloc/mcheck.c: Handle large requests.
34257
45db99c7
UD
34258 [BZ #12077]
34259 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
34260 for strncmp and strncasecmp.
34261 * string/stratcliff.c: Add tests for strcmp and strncmp.
34262 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
34263
cf7a1eb8
NI
342642010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34265
34266 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
34267 __set_fpscr.
34268
6484ba5e
AJ
342692010-09-30 Andreas Jaeger <aj@suse.de>
34270
34271 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
34272 (CGROUP_SUPER_MAGIC): Define.
34273 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34274 Handle btrfs and cgroup file systems.
34275 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
34276 Likewise.
34277
91c42559
LM
342782010-09-27 Luis Machado <luisgpm@br.ibm.com>
34279
34280 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
34281 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
34282
87a97932
AK
342832010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34284
34285 [BZ #12067]
34286 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
34287 trying to locate the ELF header.
34288
c21cc9bc
AS
342892010-09-27 Andreas Schwab <schwab@redhat.com>
34290
34291 [BZ #11611]
34292 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
34293 Mask out sign-bit copies when constructing f_fsid.
34294
315970f6
PB
342952010-09-24 Petr Baudis <pasky@suse.cz>
34296
34297 * debug/stack_chk_fail_local.c: Add missing licence exception.
34298 * debug/warning-nop.c: Likewise.
34299
1ac7a2c7
JM
343002010-09-15 Joseph Myers <joseph@codesourcery.com>
34301
34302 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
34303 implementing getdents64 using getdents syscall, set d_type if
34304 __ASSUME_GETDENTS32_D_TYPE.
34305
56801c50
AS
343062010-09-16 Andreas Schwab <schwab@redhat.com>
34307
34308 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
34309 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
34310
dda51327
UD
343112010-09-21 Ulrich Drepper <drepper@redhat.com>
34312
34313 [BZ #12037]
34314 * posix/unistd.h: Undo change of feature selection for ftruncate from
34315 2010-01-11.
34316
8ffcee4a
UD
343172010-09-20 Ulrich Drepper <drepper@redhat.com>
34318
a545ecd9 34319 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
34320 detection.
34321
e24f0a8b
AS
343222010-09-20 Andreas Schwab <schwab@redhat.com>
34323
34324 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
34325 fanotify_mark.
34326 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34327
7291c56f
AS
343282010-09-14 Andreas Schwab <schwab@redhat.com>
34329
34330 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
34331 variables after CHECK_SP call.
34332 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
34333
bc5fb037
AS
343342010-09-13 Andreas Schwab <schwab@redhat.com>
34335 Ulrich Drepper <drepper@redhat.com>
34336
34337 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
34338 re-relocationg ld.so.
34339 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
34340 _dl_init_paths call.
34341 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
34342 here anymore.
34343
e66e7419
UD
343442010-09-14 Ulrich Drepper <drepper@redhat.com>
34345
34346 * resolv/res_init.c (__res_vinit): Count the default server we added.
34347
c044aa75
CLT
343482010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
34349 Ulrich Drepper <drepper@redhat.com>
34350
34351 [BZ #11968]
34352 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34353 (____longjmp_chk): Use %ebx for saving value across system call.
34354 Add unwind info.
34355
32cf4069
AS
343562010-09-06 Andreas Schwab <schwab@redhat.com>
34357
34358 * manual/Makefile: Don't mix pattern rules with normal rules.
34359
817328ee
AS
343602010-09-05 Andreas Schwab <schwab@linux-m68k.org>
34361
34362 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
34363 operation.
34364 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
34365 * libio/iofopncook.c (_IO_cookie_init): Likewise.
34366 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
34367 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
34368 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34369 Likewise.
34370
29fddf61
UD
343712010-09-04 Ulrich Drepper <drepper@redhat.com>
34372
34373 [BZ #11979]
34374 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
34375 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
34376
0959ffc9
UD
343772010-09-02 Ulrich Drepper <drepper@redhat.com>
34378
34379 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
34380 * sysdeps/x86_64/addmul_1.S: Likewise.
34381 * sysdeps/x86_64/lshift.S: Likewise.
34382 * sysdeps/x86_64/mul_1.S: Likewise.
34383 * sysdeps/x86_64/rshift.S: Likewise.
34384 * sysdeps/x86_64/sub_n.S: Likewise.
34385 * sysdeps/x86_64/submul_1.S: Likewise.
34386
ece29840
ST
343872010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
34388
0959ffc9
UD
34389 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
34390 Define __sched_param instead of SCHED_* and sched_param when
ece29840 34391 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 34392 * bits/sched.h [__need_schedparam]
ece29840 34393 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
34394 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
34395 (__defined_schedparam): Define to 1.
ece29840
ST
34396 (__sched_param): New structure, identical to sched_param.
34397 (__need_schedparam): Undefine.
34398
e53a31fe
MF
343992010-08-31 Mike Frysinger <vapier@gentoo.org>
34400
fdc0c10d
MF
34401 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
34402 (epoll_create1): Declare.
34403
e53a31fe
MF
34404 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
34405
a726d796
AS
344062010-08-31 Andreas Schwab <schwab@redhat.com>
34407
34408 [BZ #7066]
34409 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
34410 shifting retval into place.
34411
2f3e3dc7
UD
344122010-09-01 Ulrich Drepper <drepper@redhat.com>
34413
f2933da9
UD
34414 * nis/rpcsvc/nis.h: Update copyright notice.
34415 * nis/rpcsvc/nis.x: Likewise.
34416 * nis/rpcsvc/nis_callback.h: Likewise.
34417 * nis/rpcsvc/nis_callback.x: Likewise.
34418 * nis/rpcsvc/nis_object.x: Likewise.
34419 * nis/rpcsvc/nis_tags.h: Likewise.
34420 * nis/rpcsvc/yp.h: Likewise.
34421 * nis/rpcsvc/yp.x: Likewise.
34422 * nis/rpcsvc/ypupd.h: Likewise.
34423 * nis/yp_xdr.c: Likewise.
34424 * nis/ypupdate_xdr.c: Likewise.
34425
2f3e3dc7
UD
34426 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
34427 mainly the body of pmap_getport. Add parameters to specify timeouts.
34428 (pmap_getport): Use __libc_rpc_getport.
34429 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
34430 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
34431 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
34432
f3dcc2f9
AS
344332010-08-31 Andreas Schwab <schwab@linux-m68k.org>
34434
34435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
34436 fanotify_mark.
34437
6d34eb5b
RM
344382010-08-27 Roland McGrath <roland@redhat.com>
34439
34440 * sysdeps/i386/i686/multiarch/Makefile
34441 (CFLAGS-varshift.c): New variable.
34442
9ea3de11
UD
344432010-08-27 Ulrich Drepper <drepper@redhat.com>
34444
c96d23fc
UD
34445 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
34446 * sysdeps/i386/i686/multiarch/varshift.c: New file.
34447
9ea3de11
UD
34448 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
34449
34450 * sysdeps/x86_64/strlen.S: Minimal code improvement.
34451
623aac7f
L
344522010-08-26 H.J. Lu <hongjiu.lu@intel.com>
34453
34454 * sysdeps/x86_64/strlen.S: Unroll the loop.
34455 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34456 strlen-sse2 strlen-sse2-bsf.
34457 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
34458 __strlen_no_bsf if bit_Slow_BSF is set.
34459 (__strlen_sse42): Removed.
34460 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
34461 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
34462
8b2b7715
RM
344632010-08-25 Roland McGrath <roland@redhat.com>
34464
34465 * sysdeps/x86_64/multiarch/varshift.S: File removed.
34466 * sysdeps/x86_64/multiarch/varshift.c: New file.
34467 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
34468 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
34469 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
34470 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34471
e73015f2
L
344722010-08-25 H.J. Lu <hongjiu.lu@intel.com>
34473
34474 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34475 strlen-sse2 strlen-sse2-bsf.
34476 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
34477 __strlen_sse2_bsf if bit_Slow_BSF is unset.
34478 (__strlen_sse2): Removed.
34479 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
34480 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
34481 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
34482 bit_Slow_BSF for Atom.
34483 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
34484 (index_Slow_BSF): Define.
34485 (HAS_SLOW_BSF): Define.
34486
df24a73e
UD
344872010-08-25 Ulrich Drepper <drepper@redhat.com>
34488
34489 [BZ #10851]
34490 * resolv/res_init.c (__res_vinit): When no server address at all
34491 is given default to loopback.
34492
f2ac4868
RM
344932010-08-24 Roland McGrath <roland@redhat.com>
34494
09055553
RM
34495 * configure.in: Remove config-name.h generation.
34496 * configure: Regenerated.
34497 * config-name.in: File removed.
34498 * scripts/config-uname.sh: New file.
34499 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
34500 ($(objdir)config-name.h): New target.
34501
f2ac4868
RM
34502 * sunrpc/rpc_parse.h: Avoid nested comment.
34503
73f27d5e
RH
345042010-08-24 Richard Henderson <rth@redhat.com>
34505 Ulrich Drepper <drepper@redhat.com>
34506 H.J. Lu <hongjiu.lu@intel.com>
34507
34508 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
34509 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
34510 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
34511 Replace _mm_srli_si128 with __m128i_shift_right. Replace
34512 _mm_alignr_epi8 with _mm_loadu_si128.
34513 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
34514 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
34515 (__m128i_shift_right): Removed.
34516 * sysdeps/i386/i686/multiarch/varshift.h: New file.
34517 * sysdeps/i386/i686/multiarch/varshift.S: New file.
34518 * sysdeps/x86_64/multiarch/varshift.h: New file.
34519 * sysdeps/x86_64/multiarch/varshift.S: New file.
34520
84b9230c
MF
345212010-08-21 Mike Frysinger <vapier@gentoo.org>
34522
34523 * configure.in: Move assembler checks to before sysdep dir checking.
34524
9bbd0ddc
PB
345252010-08-20 Petr Baudis <pasky@suse.cz>
34526
34527 * LICENSES: Sync the sunrpc license.
34528
9da4bb31
UD
345292010-08-19 Ulrich Drepper <drepper@redhat.com>
34530
a7ab6ec8
UD
34531 * sunrpc/auth_des.c: Update copyright notice once again.
34532 * sunrpc/auth_none.c: Likewise.
34533 * sunrpc/auth_unix.c: Likewise.
34534 * sunrpc/authdes_prot.c: Likewise.
34535 * sunrpc/authuxprot.c: Likewise.
34536 * sunrpc/bindrsvprt.c: Likewise.
34537 * sunrpc/clnt_gen.c: Likewise.
34538 * sunrpc/clnt_perr.c: Likewise.
34539 * sunrpc/clnt_raw.c: Likewise.
34540 * sunrpc/clnt_simp.c: Likewise.
34541 * sunrpc/clnt_tcp.c: Likewise.
34542 * sunrpc/clnt_udp.c: Likewise.
34543 * sunrpc/clnt_unix.c: Likewise.
34544 * sunrpc/des_crypt.c: Likewise.
34545 * sunrpc/des_soft.c: Likewise.
34546 * sunrpc/get_myaddr.c: Likewise.
34547 * sunrpc/getrpcport.c: Likewise.
34548 * sunrpc/key_call.c: Likewise.
34549 * sunrpc/key_prot.c: Likewise.
34550 * sunrpc/openchild.c: Likewise.
34551 * sunrpc/pm_getmaps.c: Likewise.
34552 * sunrpc/pm_getport.c: Likewise.
34553 * sunrpc/pmap_clnt.c: Likewise.
34554 * sunrpc/pmap_prot.c: Likewise.
34555 * sunrpc/pmap_prot2.c: Likewise.
34556 * sunrpc/pmap_rmt.c: Likewise.
34557 * sunrpc/rpc/auth.h: Likewise.
34558 * sunrpc/rpc/auth_unix.h: Likewise.
34559 * sunrpc/rpc/clnt.h: Likewise.
34560 * sunrpc/rpc/des_crypt.h: Likewise.
34561 * sunrpc/rpc/key_prot.h: Likewise.
34562 * sunrpc/rpc/netdb.h: Likewise.
34563 * sunrpc/rpc/pmap_clnt.h: Likewise.
34564 * sunrpc/rpc/pmap_prot.h: Likewise.
34565 * sunrpc/rpc/pmap_rmt.h: Likewise.
34566 * sunrpc/rpc/rpc.h: Likewise.
34567 * sunrpc/rpc/rpc_des.h: Likewise.
34568 * sunrpc/rpc/rpc_msg.h: Likewise.
34569 * sunrpc/rpc/svc.h: Likewise.
34570 * sunrpc/rpc/svc_auth.h: Likewise.
34571 * sunrpc/rpc/types.h: Likewise.
34572 * sunrpc/rpc/xdr.h: Likewise.
34573 * sunrpc/rpc_clntout.c: Likewise.
34574 * sunrpc/rpc_cmsg.c: Likewise.
34575 * sunrpc/rpc_common.c: Likewise.
34576 * sunrpc/rpc_cout.c: Likewise.
34577 * sunrpc/rpc_dtable.c: Likewise.
34578 * sunrpc/rpc_hout.c: Likewise.
34579 * sunrpc/rpc_main.c: Likewise.
34580 * sunrpc/rpc_parse.c: Likewise.
34581 * sunrpc/rpc_parse.h: Likewise.
34582 * sunrpc/rpc_prot.c: Likewise.
34583 * sunrpc/rpc_sample.c: Likewise.
34584 * sunrpc/rpc_scan.c: Likewise.
34585 * sunrpc/rpc_scan.h: Likewise.
34586 * sunrpc/rpc_svcout.c: Likewise.
34587 * sunrpc/rpc_tblout.c: Likewise.
34588 * sunrpc/rpc_util.c: Likewise.
34589 * sunrpc/rpc_util.h: Likewise.
34590 * sunrpc/rpcinfo.c: Likewise.
34591 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
34592 * sunrpc/rpcsvc/key_prot.x: Likewise.
34593 * sunrpc/rpcsvc/klm_prot.x: Likewise.
34594 * sunrpc/rpcsvc/mount.x: Likewise.
34595 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
34596 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
34597 * sunrpc/rpcsvc/rex.x: Likewise.
34598 * sunrpc/rpcsvc/rstat.x: Likewise.
34599 * sunrpc/rpcsvc/rusers.x: Likewise.
34600 * sunrpc/rpcsvc/sm_inter.x: Likewise.
34601 * sunrpc/rpcsvc/spray.x: Likewise.
34602 * sunrpc/rpcsvc/yppasswd.x: Likewise.
34603 * sunrpc/rtime.c: Likewise.
34604 * sunrpc/svc.c: Likewise.
34605 * sunrpc/svc_auth.c: Likewise.
34606 * sunrpc/svc_authux.c: Likewise.
34607 * sunrpc/svc_raw.c: Likewise.
34608 * sunrpc/svc_run.c: Likewise.
34609 * sunrpc/svc_simple.c: Likewise.
34610 * sunrpc/svc_tcp.c: Likewise.
34611 * sunrpc/svc_udp.c: Likewise.
34612 * sunrpc/svc_unix.c: Likewise.
34613 * sunrpc/svcauth_des.c: Likewise.
34614 * sunrpc/xcrypt.c: Likewise.
34615 * sunrpc/xdr.c: Likewise.
34616 * sunrpc/xdr_array.c: Likewise.
34617 * sunrpc/xdr_float.c: Likewise.
34618 * sunrpc/xdr_mem.c: Likewise.
34619 * sunrpc/xdr_rec.c: Likewise.
34620 * sunrpc/xdr_ref.c: Likewise.
34621 * sunrpc/xdr_sizeof.c: Likewise.
34622 * sunrpc/xdr_stdio.c: Likewise.
34623
9da4bb31
UD
34624 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
34625 handling.
34626
bdaa77bc
AS
346272010-08-19 Andreas Schwab <schwab@redhat.com>
34628
34629 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
34630
fe2f79db
LM
346312010-08-19 Luis Machado <luisgpm@br.ibm.com>
34632
34633 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
34634 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
34635 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
34636 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
34637 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
34638 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
34639 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
34640 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
34641 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
34642 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
34643 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
34644 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
34645 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
34646 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
34647
b9b42ee0
AB
346482010-07-26 Anton Blanchard <anton@samba.org>
34649
34650 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
34651 * malloc/arena.c (heap_trim): Likewise.
34652
1c06ba31
UD
346532010-08-16 Ulrich Drepper <drepper@redhat.com>
34654
34655 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
34656 here. Not...
34657 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
34658 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
34659
f8392f40
L
346602010-08-12 H.J. Lu <hongjiu.lu@intel.com>
34661
34662 * sysdeps/i386/elf/Makefile: New file.
34663
3162f12e
AS
346642010-08-14 Andreas Schwab <schwab@linux-m68k.org>
34665
34666 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
34667 from fanotify_init.
34668 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
34669 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34670
28c90b2c
UD
346712010-08-15 Ulrich Drepper <drepper@redhat.com>
34672
34673 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
34674 of strncasecmp_l.
1feccb6c 34675 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 34676
ca6bb004
UD
346772010-08-14 Ulrich Drepper <drepper@redhat.com>
34678
e9f82e0d
UD
34679 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34680 strncase_l-nonascii.
34681 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34682 Add strncase_l-ssse3.
34683 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
34684 * sysdeps/x86_64/strcmp.S: Likewise.
34685 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
34686 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
34687 * sysdeps/x86_64/strncase.S: New file.
34688 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
34689 * sysdeps/x86_64/strncase_l.S: New file.
34690 * string/Makefile (strop-tests): Add strncasecmp.
34691 * string/test-strncasecmp.c: New file.
34692
34693 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
34694 warning.
34695
ca6bb004
UD
34696 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
34697 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
34698
052fa7b3
AS
346992010-08-14 Andreas Schwab <schwab@linux-m68k.org>
34700
34701 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
34702
962dba78
UD
347032010-08-12 Ulrich Drepper <drepper@redhat.com>
34704
34705 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
34706 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
34707 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
34708
bebff237
AM
347092010-05-01 Alan Modra <amodra@gmail.com>
34710
34711 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
34712 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
34713 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
34714 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
34715 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
34716 tidying. Don't tail-call __sigjmp_save for static lib.
34717 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
34718 save location.
34719 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
34720 (CALL_MCOUNT): Add eh info, and nop after bl.
34721 (TAIL_CALL_SYSCALL_ERROR): New macro.
34722 (PSEUDO_RET): Use it.
34723 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
34724 Correct save location of integer regs and cr.
34725 (_dl_profile_resolve): Correct cr save location. Delete nops
34726 after bl when SHARED. Reduce cfi size a little by better
34727 placement of cfi directives.
34728 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
34729 make a stack frame. Instead use parm save area as a temp.
34730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
34731 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
34732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
34733 Don't make a stack frame for parent, use parm save area.
34734 Increase child stack frame to 112 bytes. Don't save unused reg,
34735 and adjust reg usage. Set up cfi on error recovery and
34736 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
34737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34738 (__makecontext): Add dummy nop after jump to exit.
34739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
34740 Use correct parm save area and cr save, reduce stack frame.
34741 Correct cfi for possible PSEUDO_RET frame setup.
34742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
34743 Branch to local label emitted by PSEUDO_RET rather than
34744 __syscall_error.
34745
02637374
AS
347462010-08-12 Andreas Schwab <schwab@redhat.com>
34747
34748 [BZ #11904]
34749 * locale/programs/locale.c (print_assignment): New function.
34750 (show_locale_vars): Use it.
34751
c3e2f19b
UD
347522010-08-11 Ulrich Drepper <drepper@redhat.com>
34753
3cdaa6ad
UD
34754 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
34755 field.
34756 (struct statfs64): Likewise.
34757 (_STATFS_F_FLAGS): Define.
34758 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
34759 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34760 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
34761 (ST_VALID): Define locally.
34762 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
34763 __statvfs_getflags, use the provided value.
34764 * sysdeps/unix/sysv/linux/kernel-features.h: Define
34765 __ASSUME_STATFS_F_FLAGS.
34766
754f7da3
UD
34767 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
34768
10b3bedc
UD
34769 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
34770 Add sys/fanotify.h.
34771 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
34772 fanotify_mask for GLIBC_2.13.
34773 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
34774 fanotify_init and fanotify_mark.
34775 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34776 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
34777
c08fb0d7
UD
34778 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
34779 Add prlimit.
34780 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
34781 prlimit64 for GLIBC_2.13.
34782 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
34783 prlimit64.
34784 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
34785 syscall.
34786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
34787 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34788 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
34789 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
34790 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
34791 add prlimit alias.
34792 * sysdeps/unix/sysv/linux/prlimit.c: New file.
34793
15bac72b
UD
34794 [BZ #11903]
34795 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
34796 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
34797
c3e2f19b
UD
34798 * nss/Makefile: Add rules to build and run tst-nss-test1.
34799 * shlib-versions: Add entry for libnss_test1.
34800 * nss/nss_test1.c: New file.
34801 * nss/tst-nss-test1.c: New file.
34802
34803 * nss/nsswitch.c (__nss_database_custom): Define new variable.
34804 (__nss_configure_lookup): Set appropriate entry in
34805 __nss_configure_lookup to true.
34806 * nss/nsswitch.h: Define enum with indeces of databases in
34807 databases and __nss_database_custom arrays. Declare
34808 __nss_database_custom.
34809 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
34810 to avoid using nscd when custom rules are installed.
34811 * nss/getXXbyYY_r.c: Likewise.
34812 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
34813
34814 * nss/nss_files/files-parse.c: Whitespace fixes.
34815
f15ce4d8
UD
348162010-08-09 Ulrich Drepper <drepper@redhat.com>
34817
34818 [BZ #11883]
34819 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
34820 * posix/fnmatch_loop.c: Likewise.
34821
d22e4cc9
AK
348222010-07-17 Andi Kleen <ak@linux.intel.com>
34823
34824 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
34825 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
34826 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
34827 * Versions.def [GLIBC_2.13]: Add.
34828
805bc17d
UD
348292010-08-06 Ulrich Drepper <drepper@redhat.com>
34830
34831 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34832 Also fail if tpwd after pwuid call is NULL.
34833
5a42321d
ST
348342010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
34835
34836 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
34837 when converting to ms.
34838
fd3ebeda
ST
348392010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34840
34841 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
34842 EOPNOTSUPP errors with ENOTTY.
34843 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
34844 EOPNOTSUPP errors with ENOTTY.
34845
73507d3a
UD
348462010-07-31 Ulrich Drepper <drepper@redhat.com>
34847
34848 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34849 Add strcasecmp_l-ssse3.
34850 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
34851 strcasecmp.
34852 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
34853 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
34854 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
34855
fe36dd02
UD
348562010-07-30 Ulrich Drepper <drepper@redhat.com>
34857
66f6765a
UD
34858 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
34859
42e08a54
UD
34860 * string/Makefile (strop-tests): Add strcasecmp.
34861 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34862 strcasecmp_l-nonascii.
34863 (gen-as-const-headers): Add locale-defines.sym.
34864 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
34865 * sysdeps/x86_64/strcasecmp.S: New file.
34866 * sysdeps/x86_64/strcasecmp_l.S: New file.
34867 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
34868 * sysdeps/x86_64/locale-defines.sym: New file.
34869 * string/test-strcasecmp.c: New file.
34870
fe36dd02
UD
34871 * string/test-strcasestr.c: Test both ends of the range of characters.
34872 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
34873
48cbc0d6
RM
348742010-07-29 Roland McGrath <roland@redhat.com>
34875
76e6d6bc 34876 [BZ #11856]
48cbc0d6
RM
34877 * manual/locale.texi (Yes-or-No Questions): Fix example code.
34878
880113d9
UD
348792010-07-27 Ulrich Drepper <drepper@redhat.com>
34880
34881 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
34882 for ld.so.
34883
deb9cabb
AS
348842010-07-27 Andreas Schwab <schwab@redhat.com>
34885
34886 * manual/memory.texi (Malloc Tunable Parameters): Document
34887 M_PERTURB.
34888
1c7570ff
RM
348892010-07-26 Roland McGrath <roland@redhat.com>
34890
34891 [BZ #11840]
34892 * configure.in (-fgnu89-inline check): Set and substitute
34893 gnu89_inline, not libc_cv_gnu89_inline.
34894 * configure: Regenerated.
34895 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
34896
24fb0f88
UD
348972010-07-26 Ulrich Drepper <drepper@redhat.com>
34898
34899 * string/test-strnlen.c: New file.
34900 * string/Makefile (strop-tests): Add strnlen.
34901 * string/tester.c (test_strnlen): Add a few more test cases.
34902 * string/tst-strlen.c: Better error reporting.
34903
34904 * sysdeps/x86_64/strnlen.S: New file.
34905
8e96b93a
UD
349062010-07-24 Ulrich Drepper <drepper@redhat.com>
34907
34908 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
34909 lower-latency instructions.
34910
dbc676d4
UD
349112010-07-23 Ulrich Drepper <drepper@redhat.com>
34912
34913 * string/test-strcasestr.c: New file.
34914 * string/test-strstr.c: New file.
34915 * string/Makefile (strop-tests): Add strstr and strcasestr.
34916 * string/str-two-way.h: Don't undefine MAX.
34917 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
34918
f6a31e0e
AS
349192010-07-21 Andreas Schwab <schwab@redhat.com>
34920
34921 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34922 strcasestr-nonascii.
34923 (CFLAGS-strcasestr-nonascii.c): Define.
34924 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
34925 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
34926 Remove unused attribute.
34927
5dbc3b6c
RM
349282010-07-20 Roland McGrath <roland@redhat.com>
34929
34930 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
34931 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
34932 ld.so.cache was broken. With it, there is no way to disable dsocaps
34933 like LD_HWCAP_MASK can disable hwcaps.
34934
23d101d8
EPM
349352010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
34936
34937 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
34938
cc9f2e47
UD
349392010-07-16 Ulrich Drepper <drepper@redhat.com>
34940
34941 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
34942 call in strcasestr.
34943 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
34944 __strcasestr_sse42_nonascii.
34945 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
34946 strcasestr-nonascii.c.
34947 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
34948
77c1b069
LM
349492010-06-15 Luis Machado <luisgpm@br.ibm.com>
34950
34951 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
34952 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
34953 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
34954 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
34955
440566c3
UD
349562010-07-09 Ulrich Drepper <drepper@redhat.com>
34957
34958 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
34959 fcntl.
34960
5be9d05d
AS
349612010-07-06 Andreas Schwab <schwab@redhat.com>
34962
c30b7ee2 34963 [BZ #11577]
5be9d05d
AS
34964 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
34965 dl_signal_cerror.
34966
8a492a67
UD
349672010-07-06 Ulrich Drepper <drepper@redhat.com>
34968
34969 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
34970 _PC_PIPE_BUF using F_GETPIPE_SZ.
34971
713df3d5
RM
349722010-07-05 Roland McGrath <roland@redhat.com>
34973
34974 * manual/arith.texi (Rounding Functions): Fix rint description
34975 implicit in round description.
34976
702e8f14
UD
349772010-07-02 Ulrich Drepper <drepper@redhat.com>
34978
34979 * elf/Makefile: Fix linking for a few tests to make recent linker
34980 happy.
34981
52ed8be9
AS
349822010-06-30 Andreas Schwab <schwab@redhat.com>
34983
34984 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34985 $(common-objpfx)libc_nonshared.a.
34986
f47c9a11
LM
349872010-06-21 Luis Machado <luisgpm@br.ibm.com>
34988
34989 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
34990 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
34991 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34992 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34993 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
34994 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
34995 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34996 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
34998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
34999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
35000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
35002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
35004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
35005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
35006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
35007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
35009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
35011 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
35012 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
35013 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
35014 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
35015 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
35016 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
35017 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
35018 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
35019 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
35020 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
35021 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
35022 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
35023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
35024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
35025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
35026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
35027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
35028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
35029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
35030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
35031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
35032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
35033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
35034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
35035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
35036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
35037
6fb8cbcb
L
350382010-06-25 H.J. Lu <hongjiu.lu@intel.com>
35039
35040 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
35041 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
35042 * string/memmove.c (memmove): Renamed to ...
35043 (MEMMOVE): ...this. Default to memmove.
35044 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
35045 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
35046 (END_CHK): Define.
35047 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35048 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
35049 mempcpy-ssse3-back memmove-ssse3-back.
35050 * sysdeps/x86_64/multiarch/bcopy.S: New file .
35051 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
35052 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
35053 * sysdeps/x86_64/multiarch/memcpy.S: New file.
35054 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
35055 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
35056 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
35057 * sysdeps/x86_64/multiarch/memmove.c: New file.
35058 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
35059 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
35060 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
35061 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
35062 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
35063 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
35064 Define.
35065 (index_Fast_Copy_Backward): Define.
35066 (HAS_ARCH_FEATURE): Define.
35067 (HAS_FAST_REP_STRING): Define.
35068 (HAS_FAST_COPY_BACKWARD): Define.
35069
4e733bac 350702010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
35071
35072 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35073 Restore proper fallback handling.
35074
63c4ed22
UD
350752010-06-19 Ulrich Drepper <drepper@redhat.com>
35076
ac2b484c
UD
35077 [BZ #11701]
35078 * posix/group_member.c (__group_member): Correct checking loop.
35079
63c4ed22
UD
35080 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
35081 OOM in getpwuid_r correctly. Return error number when the caller
35082 should return, otherwise -1.
35083 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
35084 call returning > 0 value.
35085 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
35086
765ade4b
AS
350872010-06-07 Andreas Schwab <schwab@redhat.com>
35088
35089 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
35090 libc_nonshared.a from targets in modules-names.
35091
80da2e09
KS
350922010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
35093
35094 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
35095 requires it.
35096
158db122
LM
350972010-06-10 Luis Machado <luisgpm@br.ibm.com>
35098
35099 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
35100 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
35101 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
35102 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
35103
caa78cf8
AS
351042010-06-02 Andreas Schwab <schwab@redhat.com>
35105
35106 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
35107
b2ef2c01
UD
351082010-06-14 Ulrich Drepper <drepper@redhat.com>
35109
35110 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
35111 and F_GETPIPE_SZ.
35112 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35113 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35114 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35115 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35116 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35117 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
35118
fbd643b6
RM
351192010-06-14 Roland McGrath <roland@redhat.com>
35120
35121 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
35122
f32f2869
JJ
351232010-06-07 Jakub Jelinek <jakub@redhat.com>
35124
35125 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
35126 __REDIRECT followed by __THROW.
35127 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
35128 * posix/getopt.h (getopt): Likewise.
35129
2a50c078
EPM
351302010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
35131
35132 * hurd/lookup-at.c (__file_name_lookup_at): Accept
35133 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
35134 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
35135 in AT_FLAGS.
35136 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
35137 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
35138
eb5ad2eb
LM
351392010-05-28 Luis Machado <luisgpm@br.ibm.com>
35140
35141 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
35142
3c88fe1e
L
351432010-05-26 H.J. Lu <hongjiu.lu@intel.com>
35144
35145 [BZ #11640]
35146 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35147 Properly check family and model.
35148
d2f73151
TY
351492010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
35150
35151 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
35152
ebd2e13d
LM
351532010-05-24 Luis Machado <luisgpm@br.ibm.com>
35154
35155 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
35156
b32b8b45
UD
351572010-05-21 Ulrich Drepper <drepper@redhat.com>
35158
35159 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
35160 symbol reference.
35161
9acbe24d
AS
351622010-05-19 Andreas Schwab <schwab@redhat.com>
35163
35164 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
35165 symbol reference.
35166
f0ccf6ea
AS
351672010-05-21 Andreas Schwab <schwab@redhat.com>
35168
3d04ff3a
AS
35169 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
35170 and internal_recvmmsg.
35171 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
35172 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
35173 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
35174 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
35175
f0ccf6ea
AS
35176 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
35177 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35178 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35179
5b08ac57
AS
351802010-05-20 Andreas Schwab <schwab@redhat.com>
35181
35182 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
35183
4828935d
LM
351842010-05-17 Luis Machado <luisgpm@br.ibm.com>
35185
35186 POWER7 optimizations.
35187 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
35188 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
35189
373d545e
UD
351902010-05-19 Ulrich Drepper <drepper@redhat.com>
35191
35192 * version.h: Update for 2.13 development version.
35193
21a2b1ae
AS
351942010-05-12 Andrew Stubbs <ams@codesourcery.com>
35195
35196 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
35197 exceptions. Return 0.
35198
3f7dcb2b
RM
351992010-05-07 Roland McGrath <roland@redhat.com>
35200
35201 * elf/ldconfig.c (main): Add a const.
35202
5f24d53a 352032010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 35204
a160f8d8
UD
35205 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
35206 (args_options): Add no-idn option.
35207 (ahosts_keys_int): Add idn_flags to ai_flags.
35208 (parse_option): Handle 'i' option to clear idn_flags.
35209
5f24d53a
UD
35210 * malloc/malloc.c (_int_free): Possible race in the most recently
35211 added check. Only act on the data if no current modification
35212 happened.
265bb1ce
UD
35213
35214See ChangeLog.17 for earlier changes.