]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Revert b75891075bece24be9fd85618f18af4a2daf7f1c
[thirdparty/glibc.git] / ChangeLog
CommitLineData
b7589107
OB
12013-11-18 Ondřej Bílka <neleai@seznam.cz>
2
3 [BZ #10253]
4 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
5 (decompose_rpath): Defer expansion to fillin_rpath.
6 (_dl_init_paths): Pass linkmap to fillin_rpath.
7
250c23bd
RS
82013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9
10 * benchtests/Makefile: Add strsep.
11 * benchtests/bench-strsep.c: New file: strsep benchtest.
12 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
13
a7931fcf
AS
142013-11-18 Andreas Schwab <schwab@suse.de>
15
16 * locale/programs/locale.c (show_info) [case byte]: Check for
17 '\377' instead of '\177'.
18 * locale/C-monetary.c (not_available): Always use "\377".
19 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
20 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
21 detect unavailable sign_posn locale elements.
22 * locale/localeconv.c (__localeconv): For grouping and
23 mon_grouping handle "\177" and "\377" like no grouping.
24 (INT_ELEM): New macro. Use it to set all numeric members.
25 * locale/programs/ld-monetary.c (monetary_read)
26 <tok_mon_grouping>: Normalize single -1 to the empty string.
27 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
28 Likewise.
29
728dab0e
OB
302013-11-07 Ondřej Bílka <neleai@seznam.cz>
31
32 [BZ #16055]
33 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
34 when we match (nil).
35 * stdio-common/tst-sscanf.c (struct test): Add testcase.
36
66294491
JM
372013-11-16 Joseph Myers <joseph@codesourcery.com>
38
ce665817
JM
39 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
40 (NO_TEST_INLINE): Update value.
41 (ERRNO_UNCHANGED): Likewise.
42 (ERRNO_EDOM): Likewise.
43 (ERRNO_ERANGE): Likewise.
44 (IGNORE_RESULT): Likewise.
45 (check_float_internal): Check signs of NaN results if
46 TEST_NAN_SIGN used.
47 (check_complex): Pass TEST_NAN_SIGN flag through to second
48 check_float_internal call.
49 (copysign_test_data): Add tests with quiet NaNs as second
50 argument. Use TEST_NAN_SIGN.
51 (fabs_test_data): Add test of negative quiet NaN argument. Use
52 TEST_NAN_SIGN.
53 (signbit_test_data): Add tests of quiet NaN argument.
54 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
55
ee1466a9
JM
56 * math/gen-libm-test.pl (show_exceptions): Take extra argument
57 $ignore_result.
58 (parse_args): Handle function results specified as IGNORE.
59 * math/libm-test.inc (IGNORE_RESULT): New macro.
60 (check_float_internal): Do not check numerical result if flag
61 IGNORE_RESULT set.
62 (check_complex): Pass through IGNORE_RESULT to second
63 check_float_internal call.
64 (check_int): Do not check numerical result if flag IGNORE_RESULT
65 set.
66 (check_long): Likewise.
67 (check_bool): Likewise.
68 (check_longlong): Likewise.
69 (lrint_test_data): Add tests of infinite and NaN arguments.
70 (lrint_tonearest_test_data): Likewise.
71 (lrint_towardzero_test_data): Likewise.
72 (lrint_downward_test_data): Likewise.
73 (lrint_upward_test_data): Likewise.
74 (llrint_test_data): Likewise.
75 (llrint_tonearest_test_data): Likewise.
76 (llrint_towardzero_test_data): Likewise.
77 (llrint_downward_test_data): Likewise.
78 (llrint_upward_test_data): Likewise.
79 (lround_test_data): Likewise.
80 (llround_test_data): Likewise.
81
14407b7e
JM
82 * math/libm-test.inc (NO_TEST_INLINE): New macro.
83 (ERRNO_UNCHANGED): Update value.
84 (ERRNO_EDOM): Likewise.
85 (ERRNO_ERANGE): Likewise.
86 (NO_TEST_INLINE_FLOAT): New macro.
87 (NO_TEST_INLINE_DOUBLE): Likewise.
88 (enable_test): New function.
89 (RUN_TEST_f_f): Check enable_test before running test.
90 (RUN_TEST_2_f): Likewise.
91 (RUN_TEST_fff_f): Likewise.
92 (RUN_TEST_c_f): Likewise.
93 (RUN_TEST_f_f1): Likewise.
94 (RUN_TEST_fF_f1): Likewise.
95 (RUN_TEST_fI_f1): Likewise.
96 (RUN_TEST_ffI_f1): Likewise.
97 (RUN_TEST_c_c): Likewise.
98 (RUN_TEST_cc_c): Likewise.
99 (RUN_TEST_f_i): Likewise.
100 (RUN_TEST_f_i_tg): Likewise.
101 (RUN_TEST_ff_i_tg): Likewise.
102 (RUN_TEST_f_b): Likewise.
103 (RUN_TEST_f_b_tg): Likewise.
104 (RUN_TEST_f_l): Likewise.
105 (RUN_TEST_f_L): Likewise.
106 (RUN_TEST_fFF_11): Likewise.
107 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
108 conditionals.
109 (cosh_test_data): Likewise.
110 (exp_test_data): Likewise.
111 (expm1_test_data): Likewise.
112 (hypot_test_data): Likewise.
113 (pow_test_data): Likewise.
114 (sinh_test_data): Likewise.
115 (tanh_test_data): Likewise.
116 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
117 flags argument.
118
ca07f197
JM
119 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
120 tests with quiet NaN input and output.
121 (acosh_test_data): Likewise.
122 (asin_test_data): Likewise.
123 (asinh_test_data): Likewise.
124 (atan_test_data): Likewise.
125 (atanh_test_data): Likewise.
126 (atan2_test_data): Likewise.
127 (cbrt_test_data): Likewise.
128 (cos_test_data): Likewise.
129 (cosh_test_data): Likewise.
130 (erf_test_data): Likewise.
131 (erfc_test_data): Likewise.
132 (exp_test_data): Likewise.
133 (exp10_test_data): Likewise.
134 (exp2_test_data): Likewise.
135 (expm1_test_data): Likewise.
136 (hypot_test_data): Likewise.
137 (j0_test_data): Likewise.
138 (j1_test_data): Likewise.
139 (jn_test_data): Likewise.
140 (lgamma_test_data): Likewise.
141 (log_test_data): Likewise.
142 (log10_test_data): Likewise.
143 (log1p_test_data): Likewise.
144 (log2_test_data): Likewise.
145 (pow_test_data): Likewise.
146 (scalb_test_data): Likewise.
147 (sin_test_data): Likewise.
148 (sincos_test_data): Likewise.
149 (sinh_test_data): Likewise.
150 (tan_test_data): Likewise.
151 (tanh_test_data): Likewise.
152 (tgamma_test_data): Likewise.
153 (y0_test_data): Likewise.
154 (y1_test_data): Likewise.
155 (yn_test_data): Likewise.
156
66294491
JM
157 [BZ #16167]
158 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
159 argument being NaN and avoid computations with second argument in
160 that case.
161 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
162 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
163 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
164
1820b143
CL
1652013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
166
167 * locale/iso-639.def: Add Chitwani Tharu (the).
168
714bd261
AS
1692013-11-14 Andreas Schwab <schwab@suse.de>
170
171 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
172 word instead of empty string.
173
7ab44563
AZ
1742013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
175
176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
177 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
179 (__fe_nomask_env): Likewise.
180
e8470ea2
SE
1812013-11-13 Steve Ellcey <sellcey@mips.com>
182
183 * benchtests/bench-timing.h: Include time.h.
184
17c1d9f0
L
1852013-11-13 H.J. Lu <hongjiu.lu@intel.com>
186
187 [BZ #15997]
188 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
189 to 3.4.0 for x32.
190 * sysdeps/unix/sysv/linux/configure: Regenerated.
191
9310c284
JM
1922013-11-13 Joseph Myers <joseph@codesourcery.com>
193
194 [BZ #16151]
195 * stdlib/strtod_l.c (round_and_return): Do not consider
196 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
197 exponent one less than half the least subnormal exponent.
198 * stdlib/test-strtod-round-data: Add more tests.
199 * stdlib/tst-strtod-round.c (tests): Regenerated.
200
7a2ad8cf
AZ
2012013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
202
203 [BZ #14143]
204 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
205 (__fe_mask_env): Likewise.
206 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
207 libm_hidden_proto and add function prototype.
208 (__fe_mask_env): Add function prototype.
209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
210 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
212 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
214 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
215
50727aa7
MS
2162013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
217
218 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
219 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
220
a615be46
MS
2212013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
222
223 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
224 of htab_find_slot().
225
7ddace62
DM
2262013-11-11 David S. Miller <davem@davemloft.net>
227
228 [BZ #16150]
229 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
230 symbol in the non-vis3 case in static builds.
231 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
232 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
233 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
234 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
235
9182aa67
JK
2362013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
237
238 [BZ #387]
239 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
240 it is empty.
241
450a2e2d
AZ
2422013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
243
244 * benchtests/Makefile: Add bench-strtod.
245 * benchtests/bench-strtod.c: New file: strtod benchtest
246
8ec3f656
AS
2472013-11-11 Andreas Schwab <schwab@suse.de>
248
249 [BZ #16153]
250 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
251 terminating NUL in key length.
252
76a9b998
AZ
2532013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
254
255 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
256 Add artificial ODP entry for vDSO symbol for PPC64.
257 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
258 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
259
e4368156
OB
2602013-11-07 Ondřej Bílka <neleai@seznam.cz>
261
262 [BZ #15374]
263 * nss/getent.c (services_keys): Recognize services starting with digit.
264
8d6bb57c
DM
2652013-11-06 David S. Miller <davem@davemloft.net>
266
267 [BZ #15985]
268 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
269 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
270
e256c421
WN
2712013-11-06 Will Newton <will.newton@linaro.org>
272
273 * manual/memory.texi (Malloc Examples): Remove register
274 keyword from examples.
275
f6e12daa 2762013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 277
f6e12daa 278 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 279
9d880655
AS
2802013-11-04 Joseph Myers <joseph@codesourcery.com>
281
282 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
283 depending on [__GCC_IEC_559 > 0].
284 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
285 depending on [__GCC_IEC_559_COMPLEX > 0].
286
ae129d3c
CL
2872013-11-03 Chris Leonard <cjl@sugarlabs.org>
288
289 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
290 to iso-639.def.
291
4a15c2a4 2922013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
293
294 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
295
8b35e35d
OB
2962013-11-01 Ondřej Bílka <neleai@seznam.cz>
297
298 [BZ #16112]
299 * malloc/malloc (malloc_info): Do not handle first bin as
300 special case.
301
1d70fd6c
CL
3022013-11-01 Chris Leonard <cjl@sugarlabs.org>
303
304 * locale/iso-639.def: Add Central Nahuatl (nhn).
305
8c5c2600
BH
3062013-11-01 Bruno Haible <bruno@clisp.org>
307
308 [BZ #7003]
309 * manual/math.texi (BSD Random): Specify range upper bound as
310 in POSIX.
311
da5579c2
CL
3122013-10-31 Chris Leonard <cjl@sugarlabs.org>
313
314 * locale/iso-639.def: Add Meadow Mari (mhr).
315
5d30d853
OB
3162013-10-31 Ondřej Bílka <neleai@seznam.cz>
317
318 [BZ #14752], [BZ #15763]
319 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
320 Validate name.
321 * rt/tst_shm.c: Add test for escaping directory.
322
a4966c61
AS
3232013-10-31 Andreas Schwab <schwab@suse.de>
324
8a43e768 325 [BZ #15917]
a4966c61
AS
326 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
327 followed by 'x' as part of digit sequence.
328 * stdio-common/tst-sscanf.c (double_tests2): New tests.
329
28d708c4
MAP
3302013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
331
332 [BZ #16037]
333 * configure.ac: allow GNU Make 4.0 and greater.
334 * configure: Regenerated.
335
a56ee40b
WN
3362013-10-30 Will Newton <will.newton@linaro.org>
337
338 [BZ #16038]
339 * malloc/hooks.c (memalign_check): Limit alignment to the
340 maximum representable power of two.
341 * malloc/malloc.c (__libc_memalign): Likewise.
342 * malloc/tst-memalign.c (do_test): Add test for very
343 large alignment values.
344 * malloc/tst-posix_memalign.c (do_test): Likewise.
345
c6e4925d
OB
3462013-10-30 Ondřej Bílka <neleai@seznam.cz>
347
348 [BZ #11087]
349 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
350 (munmap_chunk): Likewise.
351 (mremap_chunk): Likewise.
352
3532013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 354
8a43e768 355 [BZ #15799]
bbea82f7
OB
356 * stdlib/div.c (div): Remove obsolete code.
357 * stdlib/ldiv.c (ldiv): Likewise.
358 * stdlib/lldiv.c (lldiv): Likewise.
359
977f4b31
SP
3602013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
361
362 [BZ #16071]
363 * nss/nss_files/files-XXX.c (get_contents_ret): New
364 enumerator.
365 (get_contents): New function.
366 (internal_getent): Use it. Expand size of LINEBUFLEN.
367
cb8a6dbd
MF
3682013-10-30 Mike Frysinger <vapier@gentoo.org>
369
370 * configure.in: Moved to ...
371 * configure.ac: ... here. Change reference to configure.in
372 to configure.ac.
373 * sysdeps/arm/preconfigure.ac: ... here.
374 configure.in to configure.ac.
375 * sysdeps/gnu/configure.in: Moved to ...
376 * sysdeps/gnu/configure.ac: ... here.
377 * sysdeps/i386/configure.in: Moved to ...
378 * sysdeps/i386/configure.ac: ... here.
379 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
380 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
381 * sysdeps/mach/configure.in: Moved to ...
382 * sysdeps/mach/configure.ac: ... here.
383 * sysdeps/mach/hurd/configure.in: Moved to ...
384 * sysdeps/mach/hurd/configure.ac: ... here.
385 * sysdeps/powerpc/configure.in: Moved to ...
386 * sysdeps/powerpc/configure.ac: ... here.
387 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
388 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
389 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
390 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
391 * sysdeps/s390/s390-32/configure.in: Moved to ...
392 * sysdeps/s390/s390-32/configure.ac: ... here.
393 * sysdeps/s390/s390-64/configure.in: Moved to ...
394 * sysdeps/s390/s390-64/configure.ac: ... here.
395 * sysdeps/sh/configure.in: Moved to ...
396 * sysdeps/sh/configure.ac: ... here.
397 * sysdeps/sparc/configure.in: Moved to ...
398 * sysdeps/sparc/configure.ac: ... here.
399 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
400 * sysdeps/unix/sysv/linux/configure.ac: ... here.
401 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
402 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
403 * sysdeps/x86_64/configure.in: Moved to ...
404 * sysdeps/x86_64/configure.ac: ... here.
405 * sysdeps/x86_64/preconfigure.in: Moved to ...
406 * sysdeps/x86_64/preconfigure.ac: ... here.
407 * aclocal.m4: Change reference to configure.in to configure.ac.
408 * config.h.in: Likewise.
409 * manual/install.texi: Likewise.
410 * manual/maint.texi: Likewise.
411 * Makefile: Likewise.
412 * malloc/Makefile: Likewise.
413 * nscd/Makefile: Likewise.
414 * Makeconfig: Change reference to configure.in and
415 preconfigure.in to configure.ac and preconfigure.ac
416 respectively.
417 * INSTALL: Regenerated.
418 * configure: Likewise.
419 * sysdeps/gnu/configure: Likewise.
420 * sysdeps/i386/configure: Likewise.
421 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
422 * sysdeps/mach/configure: Likewise.
423 * sysdeps/mach/hurd/configure: Likewise.
424 * sysdeps/powerpc/configure: Likewise.
425 * sysdeps/powerpc/powerpc32/configure: Likewise.
426 * sysdeps/powerpc/powerpc64/configure: Likewise.
427 * sysdeps/s390/s390-32/configure: Likewise.
428 * sysdeps/s390/s390-64/configure: Likewise.
429 * sysdeps/sh/configure: Likewise.
430 * sysdeps/sparc/configure: Likewise.
431 * sysdeps/unix/sysv/linux/configure: Likewise.
432 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
433 * sysdeps/x86_64/configure: Likewise.
434 * sysdeps/x86_64/preconfigure: Likewise.
435
36a4953a
AS
4362013-10-29 Andreas Schwab <schwab@suse.de>
437
438 * stdio-common/Makefile (tst-swscanf-ENV): Define.
439
c79a1204
SP
4402013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
441
dfa1b402
SP
442 * benchtests/pow-inputs: Add new inputs.
443
54f73d9c
SP
444 * benchtests/exp-inputs: Add new inputs.
445
c79a1204
SP
446 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
447 conditional check for return value.
448 (__cos32): Likewise.
449
67beb545 4502013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
451
452 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
453 to provide a boost for large inputs with word alignment.
454 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
455 implementation based on optimized PPC64 strcpy.
456 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
457 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
458 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
459 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
460
151659f6
OB
4612013-10-25 Ondřej Bílka <neleai@seznam.cz>
462
482a077e 463 [BZ #2801]
151659f6
OB
464 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
465
10b0f26b
OB
4662013-10-25 Ondřej Bílka <neleai@seznam.cz>
467
468 [BZ #14876]
469 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
470 * time/tst-strptime.c (day_tests): Add testcase.
471
ca42d35e
OB
4722013-10-25 Ondřej Bílka <neleai@seznam.cz>
473
482a077e 474 [BZ #14029]
ca42d35e
OB
475 * manual/pattern.texi: Acknowledge that fnmatch can fail.
476
52e6d801
FB
4772013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
478
479 [BZ #16074]
480 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
481 MAP_FAILED on error.
482
7cbcdb36
SP
4832013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
484
485 [BZ #16072]
486 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
487 heap for large requests.
488
894f3f10
AM
4892013-10-25 Aurelien Jarno <aurelien@aurel32.net>
490
491 [BZ #9954]
492 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
493 result if the result has no associated interface.
494 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
495 interface for all 127.X.Y.Z addresses.
496
b85545a6
CL
4972013-10-24 Chris Leonard <cjl@sugarlabs.org>
498
499 * locale/iso-639.def: Add Ligurian (lij)
500
d1f23d46
OB
5012013-10-21 Ondřej Bílka <neleai@seznam.cz>
502
503 [BZ #15825]
504 * sunrpc/rpc_main.c: Document rpcgen -5.
505
4db5b08f
MS
5062013-10-19 Michael Stahl <mstahl@redhat.com>
507
508 * elf/rtld.c (do_preload): Print the reason why preloading failed.
509
a471e96a
OB
5102013-10-19 Ondřej Bílka <neleai@seznam.cz>
511
d1f23d46 512 [BZ #10278]
a471e96a
OB
513 * posix/glob.c: Match only directories when trailing slash is present.
514 * posix/tst-gnuglob.c (my_opendir): Do not open files.
515 (main): Add testcase.
516
45c30c61
OB
5172013-10-19 Ondřej Bílka <neleai@seznam.cz>
518
519 [BZ #15670]
520 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
521
484c12fb
CD
5222013-10-18 Carlos O'Donell <carlos@redhat.com>
523
3d7dc513
CD
524 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
525 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
526 AUTH_DES and cindex for FIPS 140-2.
527 (DES Encryption): Add cindex FIPS 46-3.
528
484c12fb
CD
529 * locale/locarchive.h (struct locarhandle): Add fname.
530 * locale/programs/localedef.c (main): Pass ARGV[remaining]
531 if an optional argument was specified to --list-archive,
532 otherwise NULL.
533 * locale/programs/locarchive.c (show_archive_content): Take new
534 argument fname and pass it via ah.fname to open_archive.
535 * locale/programs/localedef.h: Update decl.
536 (open_archive): If AH->fname is non-null, open that file
537 rather than the default file name, and don't ignore ENOENT.
538 (create_archive): Set AH.fname to NULL.
539 (delete_locales_from_archive): Likewise.
540 (add_locales_to_archive): Likewise.
541 * locale/programs/locfile.c (write_all_categories): Likewise.
542
3c8325fb
JM
5432013-10-18 Joseph Myers <joseph@codesourcery.com>
544 Aldy Hernandez <aldyh@redhat.com>
545
546 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
547 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
548 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
549 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
550 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
551 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
552 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
553 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
554 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
555 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
556 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
557 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
558 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
559 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
560 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
561 Likewise.
562 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
563 Likewise.
564 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
565 Likewise.
566 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
567 Likewise.
568 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
569 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
570 Likewise.
571 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
572 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
573 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
574 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
575 Likewise.
576 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
577 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
578 * sysdeps/powerpc/preconfigure: Likewise.
579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
580 Likewise.
581 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
582 Replace contents of file by #include of <fenv_libc.h>.
583 * sysdeps/powerpc/soft-fp/sfp-machine.h
584 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
585 and <sys/prctl.h>.
586 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
587 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
588 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
589 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
590 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
591 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
592 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
593 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
594 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
595 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
596 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
597 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
599 Allow copysignl PLT reference to be missing.
600
5abe0682
RS
6012013-10-18 Richard Sandiford <richard@codesourcery.com>
602 Joseph Myers <joseph@codesourcery.com
603
604 [BZ #15948]
605 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
606 single character.
607 (add_to_tablewc): Assert sequence of wide characters is nonempty.
608
c7738d08
SP
6092013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
610
611 * elf/tst-tls-dlinfo.c: Don't include tls.h.
612 * elf/tst-tls1.c: Likewise.
613 * elf/tst-tls10.h: Likewise.
614 * elf/tst-tls14.c: Likewise.
615 * elf/tst-tls2.c: Likewise.
616 * elf/tst-tls3.c: Likewise.
617 * elf/tst-tls4.c: Likewise.
618 * elf/tst-tls5.c: Likewise.
619 * elf/tst-tls6.c: Likewise.
620 * elf/tst-tls7.c: Likewise.
621 * elf/tst-tls8.c: Likewise.
622 * elf/tst-tls9.c: Likewise.
623 * elf/tst-tlsmod1.c: Likewise.
624 * elf/tst-tlsmod13.c: Likewise.
625 * elf/tst-tlsmod13a.c: Likewise.
626 * elf/tst-tlsmod14a.c: Likewise.
627 * elf/tst-tlsmod16a.c: Likewise.
628 * elf/tst-tlsmod16b.c: Likewise.
629 * elf/tst-tlsmod2.c: Likewise.
630 * elf/tst-tlsmod3.c: Likewise.
631 * elf/tst-tlsmod4.c: Likewise.
632 * elf/tst-tlsmod5.c: Likewise.
633 * elf/tst-tlsmod6.c: Likewise.
634
0bfcf2c7
OB
6352013-10-18 Ondřej Bílka <neleai@seznam.cz>
636
637 [BZ #12486]
638 * malloc/malloc.c: remove checks for statistics.
639
264aad1e
OB
6402013-10-17 Ondřej Bílka <neleai@seznam.cz>
641
642 [BZ #15277]
643 * inet/inet_net.c (inet_network): Detect additional invalid strings.
644 * inet/tst-network.c: Add testcase.
645
b957ced8
AS
6462013-10-17 Andreas Schwab <schwab@suse.de>
647
648 [BZ #15218]
649 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
650 to determine canonical name.
651
c5d5d574
OB
6522013-10-17 Ondřej Bílka <neleai@seznam.cz>
653
654 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
655 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
656 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
657 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
658 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
659 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
660 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
661 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
662 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
663 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
664 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
665 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
666 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
667 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
668 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
669 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
670 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
671 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
672 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
673 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
674 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
675 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
676 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
677 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
678 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
679 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
680 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
681 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
682 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
683 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
684 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
685 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
686 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
687 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
688 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
689 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
690 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
691 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
692 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
693 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
694 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
695 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
696 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
697 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
698 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
699 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
700 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
701 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
702 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
703 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
704 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
705 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
706 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
707 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
708 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
709 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
710 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
711 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
712
e5c2c2d0
JM
7132013-10-17 Joseph Myers <joseph@codesourcery.com>
714
715 [BZ #16041]
716 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
717 make result into a quiet NaN.
718
51ca9e29
JM
7192013-10-16 Joseph Myers <joseph@codesourcery.com>
720
721 * soft-fp/adddf3.c: Fix horizontal whitespace.
722 * soft-fp/addsf3.c: Likewise.
723 * soft-fp/addtf3.c: Likewise.
724 * soft-fp/divdf3.c: Likewise.
725 * soft-fp/divsf3.c: Likewise.
726 * soft-fp/divtf3.c: Likewise.
727 * soft-fp/double.h: Likewise.
728 * soft-fp/eqdf2.c: Likewise.
729 * soft-fp/eqsf2.c: Likewise.
730 * soft-fp/eqtf2.c: Likewise.
731 * soft-fp/extenddftf2.c: Likewise.
732 * soft-fp/extended.h: Likewise.
733 * soft-fp/extendsfdf2.c: Likewise.
734 * soft-fp/extendsftf2.c: Likewise.
735 * soft-fp/extendxftf2.c: Likewise.
736 * soft-fp/fixdfdi.c: Likewise.
737 * soft-fp/fixdfsi.c: Likewise.
738 * soft-fp/fixdfti.c: Likewise.
739 * soft-fp/fixsfdi.c: Likewise.
740 * soft-fp/fixsfsi.c: Likewise.
741 * soft-fp/fixsfti.c: Likewise.
742 * soft-fp/fixtfdi.c: Likewise.
743 * soft-fp/fixtfsi.c: Likewise.
744 * soft-fp/fixtfti.c: Likewise.
745 * soft-fp/fixunsdfdi.c: Likewise.
746 * soft-fp/fixunsdfsi.c: Likewise.
747 * soft-fp/fixunsdfti.c: Likewise.
748 * soft-fp/fixunssfdi.c: Likewise.
749 * soft-fp/fixunssfsi.c: Likewise.
750 * soft-fp/fixunssfti.c: Likewise.
751 * soft-fp/fixunstfdi.c: Likewise.
752 * soft-fp/fixunstfsi.c: Likewise.
753 * soft-fp/fixunstfti.c: Likewise.
754 * soft-fp/floatdidf.c: Likewise.
755 * soft-fp/floatdisf.c: Likewise.
756 * soft-fp/floatditf.c: Likewise.
757 * soft-fp/floatsidf.c: Likewise.
758 * soft-fp/floatsisf.c: Likewise.
759 * soft-fp/floatsitf.c: Likewise.
760 * soft-fp/floattidf.c: Likewise.
761 * soft-fp/floattisf.c: Likewise.
762 * soft-fp/floattitf.c: Likewise.
763 * soft-fp/floatundidf.c: Likewise.
764 * soft-fp/floatundisf.c: Likewise.
765 * soft-fp/floatunditf.c: Likewise.
766 * soft-fp/floatunsidf.c: Likewise.
767 * soft-fp/floatunsisf.c: Likewise.
768 * soft-fp/floatunsitf.c: Likewise.
769 * soft-fp/floatuntidf.c: Likewise.
770 * soft-fp/floatuntisf.c: Likewise.
771 * soft-fp/floatuntitf.c: Likewise.
772 * soft-fp/fmadf4.c: Likewise.
773 * soft-fp/fmasf4.c: Likewise.
774 * soft-fp/fmatf4.c: Likewise.
775 * soft-fp/gedf2.c: Likewise.
776 * soft-fp/gesf2.c: Likewise.
777 * soft-fp/getf2.c: Likewise.
778 * soft-fp/ledf2.c: Likewise.
779 * soft-fp/lesf2.c: Likewise.
780 * soft-fp/letf2.c: Likewise.
781 * soft-fp/muldf3.c: Likewise.
782 * soft-fp/mulsf3.c: Likewise.
783 * soft-fp/multf3.c: Likewise.
784 * soft-fp/negdf2.c: Likewise.
785 * soft-fp/negsf2.c: Likewise.
786 * soft-fp/negtf2.c: Likewise.
787 * soft-fp/op-1.h: Likewise.
788 * soft-fp/op-2.h: Likewise.
789 * soft-fp/op-4.h: Likewise.
790 * soft-fp/op-8.h: Likewise.
791 * soft-fp/op-common.h: Likewise.
792 * soft-fp/quad.h: Likewise.
793 * soft-fp/single.h: Likewise.
794 * soft-fp/soft-fp.h: Likewise.
795 * soft-fp/sqrtdf2.c: Likewise.
796 * soft-fp/sqrtsf2.c: Likewise.
797 * soft-fp/sqrttf2.c: Likewise.
798 * soft-fp/subdf3.c: Likewise.
799 * soft-fp/subsf3.c: Likewise.
800 * soft-fp/subtf3.c: Likewise.
801 * soft-fp/truncdfsf2.c: Likewise.
802 * soft-fp/trunctfdf2.c: Likewise.
803 * soft-fp/trunctfsf2.c: Likewise.
804 * soft-fp/trunctfxf2.c: Likewise.
805 * soft-fp/unorddf2.c: Likewise.
806 * soft-fp/unordsf2.c: Likewise.
807 * soft-fp/unordtf2.c: Likewise.
808
9ebb0332
JM
8092013-10-15 Joseph Myers <joseph@codesourcery.com>
810
811 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
812 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
813
4b1a6d8b
OB
8142013-10-15 Ondřej Bílka <neleai@seznam.cz>
815
816 * elf/dl-libc.c: Clear initfini list after freeing.
817
1e145589
JM
8182013-10-14 Joseph Myers <joseph@codesourcery.com>
819
820 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
821 * soft-fp/addsf3.c: Likewise.
822 * soft-fp/addtf3.c: Likewise.
823 * soft-fp/divdf3.c: Likewise.
824 * soft-fp/divsf3.c: Likewise.
825 * soft-fp/divtf3.c: Likewise.
826 * soft-fp/double.h: Likewise.
827 * soft-fp/eqdf2.c: Likewise.
828 * soft-fp/eqsf2.c: Likewise.
829 * soft-fp/eqtf2.c: Likewise.
830 * soft-fp/extenddftf2.c: Likewise.
831 * soft-fp/extended.h: Likewise.
832 * soft-fp/extendsfdf2.c: Likewise.
833 * soft-fp/extendsftf2.c: Likewise.
834 * soft-fp/extendxftf2.c: Likewise.
835 * soft-fp/fixdfdi.c: Likewise.
836 * soft-fp/fixdfsi.c: Likewise.
837 * soft-fp/fixdfti.c: Likewise.
838 * soft-fp/fixsfdi.c: Likewise.
839 * soft-fp/fixsfsi.c: Likewise.
840 * soft-fp/fixsfti.c: Likewise.
841 * soft-fp/fixtfdi.c: Likewise.
842 * soft-fp/fixtfsi.c: Likewise.
843 * soft-fp/fixtfti.c: Likewise.
844 * soft-fp/fixunsdfdi.c: Likewise.
845 * soft-fp/fixunsdfsi.c: Likewise.
846 * soft-fp/fixunsdfti.c: Likewise.
847 * soft-fp/fixunssfdi.c: Likewise.
848 * soft-fp/fixunssfsi.c: Likewise.
849 * soft-fp/fixunssfti.c: Likewise.
850 * soft-fp/fixunstfdi.c: Likewise.
851 * soft-fp/fixunstfsi.c: Likewise.
852 * soft-fp/fixunstfti.c: Likewise.
853 * soft-fp/floatdidf.c: Likewise.
854 * soft-fp/floatdisf.c: Likewise.
855 * soft-fp/floatditf.c: Likewise.
856 * soft-fp/floatsidf.c: Likewise.
857 * soft-fp/floatsisf.c: Likewise.
858 * soft-fp/floatsitf.c: Likewise.
859 * soft-fp/floattidf.c: Likewise.
860 * soft-fp/floattisf.c: Likewise.
861 * soft-fp/floattitf.c: Likewise.
862 * soft-fp/floatundidf.c: Likewise.
863 * soft-fp/floatundisf.c: Likewise.
864 * soft-fp/floatunsidf.c: Likewise.
865 * soft-fp/floatunsisf.c: Likewise.
866 * soft-fp/floatuntidf.c: Likewise.
867 * soft-fp/floatuntisf.c: Likewise.
868 * soft-fp/floatuntitf.c: Likewise.
869 * soft-fp/fmadf4.c: Likewise.
870 * soft-fp/fmasf4.c: Likewise.
871 * soft-fp/fmatf4.c: Likewise.
872 * soft-fp/gedf2.c: Likewise.
873 * soft-fp/gesf2.c: Likewise.
874 * soft-fp/getf2.c: Likewise.
875 * soft-fp/ledf2.c: Likewise.
876 * soft-fp/lesf2.c: Likewise.
877 * soft-fp/letf2.c: Likewise.
878 * soft-fp/muldf3.c: Likewise.
879 * soft-fp/mulsf3.c: Likewise.
880 * soft-fp/multf3.c: Likewise.
881 * soft-fp/negdf2.c: Likewise.
882 * soft-fp/negsf2.c: Likewise.
883 * soft-fp/negtf2.c: Likewise.
884 * soft-fp/op-1.h: Likewise.
885 * soft-fp/op-2.h: Likewise.
886 * soft-fp/op-4.h: Likewise.
887 * soft-fp/op-8.h: Likewise.
888 * soft-fp/op-common.h: Likewise.
889 * soft-fp/quad.h: Likewise.
890 * soft-fp/single.h: Likewise.
891 * soft-fp/soft-fp.h: Likewise.
892 * soft-fp/sqrtdf2.c: Likewise.
893 * soft-fp/sqrtsf2.c: Likewise.
894 * soft-fp/sqrttf2.c: Likewise.
895 * soft-fp/subdf3.c: Likewise.
896 * soft-fp/subsf3.c: Likewise.
897 * soft-fp/subtf3.c: Likewise.
898 * soft-fp/truncdfsf2.c: Likewise.
899 * soft-fp/trunctfdf2.c: Likewise.
900 * soft-fp/trunctfsf2.c: Likewise.
901 * soft-fp/trunctfxf2.c: Likewise.
902 * soft-fp/unorddf2.c: Likewise.
903 * soft-fp/unordsf2.c: Likewise.
904 * soft-fp/unordtf2.c: Likewise.
905
17c48a60
OB
9062013-10-14 Ondřej Bílka <neleai@seznam.cz>
907
908 [BZ #15672]
909 * misc/error.c (error_tail): Fix possible buffer overflow.
910
cabba934
OB
9112013-10-14 Aurelien Jarno <aurelien@aurel32.net>
912
913 [BZ #13028]
914 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
915 address.
916
94bf958a
PM
9172013-10-14 P. J. McDermott <pj@pehjota.net>
918
919 [BZ #832]
920 * elf/ldd.bash.in (try_trace): New function. Delete previous code
921 testing pipefail option.
922
71b4dea7
JM
9232013-10-12 Joseph Myers <joseph@codesourcery.com>
924
925 * soft-fp/double.h: Indent preprocessor directives inside #if.
926 * soft-fp/extended.h: Likewise.
927 * soft-fp/op-2.h: Likewise.
928 * soft-fp/op-4.h: Likewise.
929 * soft-fp/op-common.h: Likewise.
930 * soft-fp/quad.h: Likewise.
931 * soft-fp/single.h: Likewise.
932 * soft-fp/soft-fp.h: Likewise.
933
55602758
YC
9342013-10-12 Yuri Chornoivan <yurchor@ukr.net>
935
936 * iconv/iconv_prog.c: Fix typos.
937 * stdio-common/psiginfo-data.h: Likewise.
938
9cd83302
RT
9392013-10-12 Reuben Thomas <rrt@sc3d.org>
940
941 [BZ #15764]
942 * locale/setlocale.c: Fix typo.
943
99fd9f47
JM
9442013-10-12 Joseph Myers <joseph@codesourcery.com>
945
b7ea74f0
JM
946 [BZ #16036]
947 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
948 signaling NaN arguments.
949 * soft-fp/unordsf2.c (__unordsf2): Likewise.
950 * soft-fp/unordtf2.c (__unordtf2): Likewise.
951
8a509447
JM
952 [BZ #14910]
953 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
954 unordered operands.
955 * soft-fp/gesf2.c (__gesf2): Likewise.
956 * soft-fp/getf2.c (__getf2): Likewise.
957 * soft-fp/ledf2.c (__ledf2): Likewise.
958 * soft-fp/lesf2.c (__lesf2): Likewise.
959 * soft-fp/letf2.c (__letf2): Likewise.
960
98998e9f
JM
961 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
962 * soft-fp/eqsf2.c (__eqsf2): Likewise.
963 * soft-fp/eqtf2.c (__eqtf2): Likewise.
964 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
965 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
966 * soft-fp/fixdfti.c (__fixdfti): Likewise.
967 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
968 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
969 * soft-fp/fixsfti.c (__fixsfti): Likewise.
970 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
971 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
972 * soft-fp/fixtfti.c (__fixtfti): Likewise.
973 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
974 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
975 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
976 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
977 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
978 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
979 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
980 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
981 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
982 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
983 * soft-fp/floatdisf.c (__floatdisf): Likewise.
984 * soft-fp/floatsisf.c (__floatsisf): Likewise.
985 * soft-fp/floattidf.c (__floattidf): Likewise.
986 * soft-fp/floattisf.c (__floattisf): Likewise.
987 * soft-fp/floattitf.c (__floattitf): Likewise.
988 * soft-fp/floatundidf.c (__floatundidf): Likewise.
989 * soft-fp/floatundisf.c (__floatundisf): Likewise.
990 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
991 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
992 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
993 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
994 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
995 * soft-fp/gesf2.c (__gesf2): Likewise.
996 * soft-fp/getf2.c (__getf2): Likewise.
997 * soft-fp/ledf2.c (__ledf2): Likewise.
998 * soft-fp/lesf2.c (__lesf2): Likewise.
999 * soft-fp/letf2.c (__letf2): Likewise.
1000
8edc4a11
JM
1001 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
1002 Undefine and redefine.
1003 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
1004 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
1005 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
1006 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
1007 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1008 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
1009 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1010 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
1011 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1012 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
1013 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1014 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
1015 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1016 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
1017 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
1018
8399acaf
JM
1019 [BZ #16032]
1020 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
1021 without decrementing exponent if mantissa >= that for the
1022 denominator, not >.
1023 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
1024 denominator, not >. Decrement exponent in < case instead of
1025 incrementing in >= case.
1026 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
1027 without decrementing exponent if mantissa >= that for the
1028 denominator, not >.
1029
99fd9f47
JM
1030 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
1031 computing saturated result for unsigned overflow.
1032
10e1cf6b
SP
10332013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1034 Jeff Law <law@redhat.com>
1035
1036 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
1037 (atan2Mp): Add systemtap probe marker.
1038 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
1039 (__ieee754_log): Add systemtap probe marker.
1040 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
1041 (atanMp): Add systemtap probe marker.
1042 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
1043 (tanMp): Add systemtap probe marker.
1044 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
1045 (__slowexp): Add systemtap probe marker.
1046 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
1047 (__slowpow): Add systemtap probe marker.
1048 * manual/probes.texi: Document probes.
1049
3d110c7c
EB
10502013-10-11 Eric Biggers <ebiggers3@gmail.com>
1051
1052 [BZ #15362]
1053 * libio/fileops.c (_IO_new_file_write): Return count of bytes
1054 written.
1055 (_IO_new_file_xsputn): Don't return EOF if nothing has been
1056 written.
1057 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
1058 written to buffer but not flushed.
1059 * libio/iofwrite_u.c: Likewise.
1060 * libio/iopadn.c: Return bytes returned even if EOF was
1061 encountered.
1062 * libio/iowpadn.c: Likewise.
1063 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
1064 if _IO_padn does not write the whole buffer.
1065 [!COMPILE_WPRINTF] (PAD): Likewise.
1066
75b4202a
DM
10672013-10-10 David S. Miller <davem@davemloft.net>
1068
1069 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
1070 directory block.
1071
6c6352e6
JM
10722013-10-10 Joseph Myers <joseph@codesourcery.com>
1073
33b853c3
JM
1074 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
1075 instead of FSF address.
1076 * soft-fp/fixdfti.c: Likewise.
1077 * soft-fp/fixsfti.c: Likewise.
1078 * soft-fp/fixtfti.c: Likewise.
1079 * soft-fp/fixunsdfti.c: Likewise.
1080 * soft-fp/fixunssfti.c: Likewise.
1081 * soft-fp/fixunstfti.c: Likewise.
1082 * soft-fp/floattidf.c: Likewise.
1083 * soft-fp/floattisf.c: Likewise.
1084 * soft-fp/floattitf.c: Likewise.
1085 * soft-fp/floatuntidf.c: Likewise.
1086 * soft-fp/floatuntisf.c: Likewise.
1087 * soft-fp/floatuntitf.c: Likewise.
1088 * soft-fp/trunctfxf2.c: Likewise.
1089
6c6352e6
JM
1090 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
1091 * soft-fp/fixdfti.c: Likewise.
1092 * soft-fp/fixsfti.c: Likewise.
1093 * soft-fp/fixtfti.c: Likewise.
1094 * soft-fp/fixunsdfti.c: Likewise.
1095 * soft-fp/fixunssfti.c: Likewise.
1096 * soft-fp/fixunstfti.c: Likewise.
1097 * soft-fp/floattidf.c: Likewise.
1098 * soft-fp/floattisf.c: Likewise.
1099 * soft-fp/floattitf.c: Likewise.
1100 * soft-fp/floatuntidf.c: Likewise.
1101 * soft-fp/floatuntisf.c: Likewise.
1102 * soft-fp/floatuntitf.c: Likewise.
1103 * soft-fp/trunctfxf2.c: Likewise.
1104
3bf78b71
DM
11052013-10-10 David S. Miller <davem@davemloft.net>
1106
1107 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1108
6f10289e
JM
11092013-10-10 Joseph Myers <joseph@codsourcery.com>
1110
bd878fc0
JM
1111 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1112 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
1113 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
1114 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
1115 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
1116 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
1117 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
1118
6f10289e
JM
1119 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
1120 for NaNs before doing comparisons on argument.
1121 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
1122 Likewise.
1123
321e2684
WN
11242013-10-10 Will Newton <will.newton@linaro.org>
1125
1126 * malloc/hooks.c (memalign_check): Ensure the value of bytes
1127 passed to _int_memalign does not overflow.
1128
40fefba1
TR
11292013-10-10 Torvald Riegel <triegel@redhat.com>
1130
1131 * scripts/bench.pl: Add include-sources directive.
1132 * benchtests/README: Update documentation.
1133
2ae21ed2
JM
11342013-10-10 Joseph Myers <joseph@codesourcery.com>
1135
dcc2dd3f
JM
1136 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
1137 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
1138 instead of FP_INIT_ROUNDMODE.
1139 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
1140 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
1141
2ae21ed2
JM
1142 [BZ #16034]
1143 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
1144 copy class of input value.
1145 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
1146 not handle exceptions.
1147 * soft-fp/negsf2.c (__negsf2): Likewise.
1148 * soft-fp/negtf2.c (__negtf2): Likewise.
1149 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
1150
cb8f9562
JM
11512013-10-09 Joseph Myers <joseph@codesourcery.com>
1152
1153 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
1154 semicolon. From Linux kernel.
1155
5b60c59d
AB
11562013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
1157
1158 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
1159
b86835ca
YC
11602013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
1161
1162 [BZ #156]
1163 * manual/socket.texi: Added statement about buffer
1164 for gethostbyname2_r.
1165
e7044ea7
OB
11662013-10-08 Ondřej Bílka <neleai@seznam.cz>
1167
1168 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
1169 Use .p2align directive instead, throughout.
1170 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1171 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1172 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
1173 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1174 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1175 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
1176 * sysdeps/x86_64/strchr.S: Likewise.
1177 * sysdeps/x86_64/strrchr.S: Likewise.
1178
09544cbc
SP
11792013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1180
88576635
SP
1181 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
1182
e7b2d1dd
SP
1183 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
1184
09544cbc
SP
1185 * sysdeps/generic/math_private.h (__mpsin1): Remove
1186 declaration.
1187 (__mpcos1): Likewise.
1188 (__mpsin): New argument __range_reduce.
1189 (__mpcos): Likewise.
1190 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1191 (slow): Use __mpsin and __mpcos.
1192 (slow1): Likewise.
1193 (slow2): Likewise.
1194 (sloww): Likewise.
1195 (sloww1): Likewise.
1196 (sloww2): Likewise.
1197 (bsloww): Likewise.
1198 (bsloww1): Likewise.
1199 (bsloww2): Likewise.
1200 (cslow2): Likewise.
1201 (csloww): Likewise.
1202 (csloww1): Likewise.
1203 (csloww2): Likewise.
1204 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
1205 range_reduce. Merge in __mpsin1.
1206 (__mpcos): Likewise.
1207 (__mpsin1): Remove.
1208 (__mpcos1): Likewise.
1209
7602d070
JM
12102013-10-07 Joseph Myers <joseph@codesourcery.com>
1211
1212 * locale/loadlocale.c (_nl_intern_locale_data): Use
1213 LOCFILE_ALIGNED_P.
1214 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
1215 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
1216 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
1217 obstack data is appropriately aligned.
1218 (obstack_int32_grow_fast): Likewise.
1219 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
1220 * locale/programs/locfile.c (add_locale_uint32): Likewise.
1221 (add_locale_uint32_array): Likewise.
1222
a357259b
SP
12232013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1224
1225 * benchtests/Makefile: Remove ARGLIST and RET variables.
1226 ($(objpfx)bench-%.c): Pass only function name to the script.
1227 * benchtests/README: Update documentation.
1228 * benchtests/acos-inputs: Add new directives.
1229 * benchtests/acosh-inputs: Likewise.
1230 * benchtests/asin-inputs: Likewise.
1231 * benchtests/asinh-inputs: Likewise.
1232 * benchtests/atan-inputs: Likewise.
1233 * benchtests/atanh-inputs: Likewise.
1234 * benchtests/cos-inputs: Likewise.
1235 * benchtests/cosh-inputs: Likewise.
1236 * benchtests/exp-inputs: Likewise.
1237 * benchtests/log-inputs: Likewise.
1238 * benchtests/pow-inputs: Likewise.
1239 * benchtests/rint-inputs: Likewise.
1240 * benchtests/sin-inputs: Likewise.
1241 * benchtests/sinh-inputs: Likewise.
1242 * benchtests/tan-inputs: Likewise.
1243 * benchtests/tanh-inputs: Likewise.
1244 * scripts/bench.pl: Add support for new directives.
1245
9ec1b13d
AM
12462013-10-07 Alan Modra <amodra@gmail.com>
1247
1248 * README: Fix careless merge.
1249
8b7d57cd
AM
12502013-10-05 Alan Modra <amodra@gmail.com>
1251
1252 * NEWS: Mention powerpc64le support and bugs fixed.
1253 * README: Both big-endian and little-endian powerpc64 supported.
1254
7b7bab13
ST
12552013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1256
1257 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
1258 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
1259 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
1260 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
1261
d39baad1
RA
12622013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
1263
1264 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
1265 match prototype.
1266
cd78f7e7
JM
12672013-10-04 Joseph Myers <joseph@codesourcery.com>
1268
29d73d86
JM
1269 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
1270 Move -mhard-float appending from
1271 ports/sysdeps/powerpc/powerpc32/Makefile.
1272 [$(with-fp) = yes] (ASFLAGS): Likewise.
1273 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
1274 * sysdeps/powerpc/nofpu: Move directory from
1275 ports/sysdeps/powerpc/nofpu.
1276 * sysdeps/powerpc/soft-fp: Move directory from
1277 ports/sysdeps/powerpc/soft-fp.
1278 * sysdeps/powerpc/powerpc32/405: Move directory from
1279 ports/sysdeps/powerpc/powerpc32/405.
1280 * sysdeps/powerpc/powerpc32/440: Move directory from
1281 ports/sysdeps/powerpc/powerpc32/440.
1282 * sysdeps/powerpc/powerpc32/464: Move directory from
1283 ports/sysdeps/powerpc/powerpc32/464.
1284 * sysdeps/powerpc/powerpc32/476: Move directory from
1285 ports/sysdeps/powerpc/powerpc32/476.
1286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
1287 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
1288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
1289 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
1290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
1291 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
1292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
1293 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
1294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
1295 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
1296 * README: Update for powerpc-*-linux-gnu software floating point
1297 support in libc.
1298
e246b347
JM
1299 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
1300 case to powerpc/powerpc32*.
1301 * sysdeps/unix/sysv/linux/configure: Regenerated.
1302
89c2003e
JM
1303 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
1304 (_FPU_MASK_OM): Define as 0x04.
1305 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
1306 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
1307 0x00c10080.
1308 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
1309 0x0000003c.
1310 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
1311
cd78f7e7
JM
1312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
1313 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1314 getcontext_e500.
1315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
1316 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1317 setcontext_e500.
1318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1319 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
1320 and setcontext_e500.
1321
c755294d
CL
13222013-10-04 Chris Leonard <cjl@sugarlabs,.org>
1323
1324 * locale/iso-3166.def: Update iso-1366.def and related occurrences
1325
e16d221c
SP
13262013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1327
1328 * manual/threads.texi (Default Thread Attributes): Fix typo.
1329
215c7d43
WN
13302013-10-04 Will Newton <will.newton@linaro.org>
1331
1332 * malloc/Makefile: Add tst-memalign.
1333 * malloc/tst-memalign.c: New file.
1334
27d0461b
WN
1335 * malloc/tst-posix_memalign.c: Add comments.
1336 (do_test): Add comments and call free on all potentially
1337 allocated pointers. Add space after cast.
1338
1bc92709
WN
1339 * malloc/tst-pvalloc.c: Add comments.
1340 (do_test): Add comments and call free on all potentially
1341 allocated pointers. Remove duplicate check for NULL pointer.
1342 Add space after cast.
1343
66a9be9d
WN
1344 * malloc/tst-valloc.c: Add comments.
1345 (do_test): Add comments and call free on all potentially
1346 allocated pointers. Remove duplicate check for NULL pointer.
1347 Add space after cast.
1348
4cb81307
AM
13492013-10-04 Alan Modra <amodra@gmail.com>
1350
1351 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1352 Use stdint types in rather than __attribute__((mode())).
1353 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1354
f8e3e9f3
AM
13552013-10-04 Alan Modra <amodra@gmail.com>
1356
1357 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1358 Correct handling of unaligned relocs for little-endian.
1359 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1360
8f9ebb08
AM
13612013-10-04 Alan Modra <amodra@gmail.com>
1362
1363 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
1364 * configure: Regenerate.
1365 * nptl/shlib-versions: Powerpc*le starts at 2.18.
1366 * shlib-versions: Likewise.
1367
0edf96c2
AM
13682013-10-04 Alan Modra <amodra@gmail.com>
1369
1370 * string/tester.c (test_memrchr): Increment reported test cycle.
1371
e0f7a380
AM
13722013-10-04 Alan Modra <amodra@gmail.com>
1373
1374 * string/test-memcpy.c (do_one_test): When reporting errors, print
1375 string address and don't overrun end of string.
1376
466b0393
AM
13772013-10-04 Alan Modra <amodra@gmail.com>
1378
1379 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
1380 insrdi. Make better use of reg selection to speed exit slightly.
1381 Schedule entry path a little better. Remove useless "are we done"
1382 checks on entry to main loop. Handle wrapping around zero address.
1383 Correct main loop count. Handle single left-over word from main
1384 loop inline rather than by using loop_small. Remove extra word
1385 case in loop_small caused by wrong loop count. Add little-endian
1386 support.
1387 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1388 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
1389 cache hint.
1390 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1391 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
1392 support. Avoid rlwimi.
1393 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
1394
3be87c77
AM
13952013-10-04 Alan Modra <amodra@gmail.com>
1396
1397 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 1398 insrdi. Formatting.
3be87c77
AM
1399 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
1400 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1401 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1402 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1403 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1404 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
1405
759cfef3
AM
14062013-10-04 Alan Modra <amodra@gmail.com>
1407
1408 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
1409 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1410 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1411 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
1412 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1413 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1414 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1415 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
1416 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
1417 use of regs. Use power7 mtocrf. Tidy function tails.
1418
fe6e95d7
AM
14192013-10-04 Alan Modra <amodra@gmail.com>
1420
1421 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
1422 Formatting. Consistently use rXXX register defines or rN defines.
1423 Use early exit labels that avoid restoring unused non-volatile regs.
1424 Make cr field use more consistent with rWORDn compares. Rename
1425 regs used as shift registers for unaligned loop, using rN defines
1426 for short lifetime/multiple use regs.
1427 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1428 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
1429 addi 1,1,64 to pop stack frame. Simplify return value code.
1430 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1431
664318c3
AM
14322013-10-04 Alan Modra <amodra@gmail.com>
1433
1434 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
1435 support. Correct typos, formatting. Optimize tail. Use insrdi
1436 rather than rlwimi.
1437 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
1438 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
1439 little-endian support. Correct typos.
1440 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
1441 rather than rlwimi.
1442 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
1443 in loop and entry code to keep "and." results.
1444 (strchr): Add little-endian support. Comment. Move cntlzd
1445 earlier in tail.
1446 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
1447
43b84013
AM
14482013-10-04 Alan Modra <amodra@gmail.com>
1449
1450 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
1451 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
1452 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
1453 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
1454
8a7413f9
AM
14552013-10-04 Alan Modra <amodra@gmail.com>
1456
1457 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
1458 (rTMP): Define as r11.
1459 (strcmp): Add little-endian support. Optimise tail.
1460 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
1461 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1462 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1463 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1464 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1465 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1466 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1467
33ee81de
AM
14682013-10-04 Alan Modra <amodra@gmail.com>
1469
1470 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
1471 little-endian support. Remove unnecessary "are we done" tests.
1472 Handle "s" wrapping around zero and extremely large "size".
1473 Correct main loop count. Handle single left-over word from main
1474 loop inline rather than by using small_loop. Correct comments.
1475 Delete "zero" tail, use "end_max" instead.
1476 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
1477
db9b4570
AM
14782013-10-04 Alan Modra <amodra@gmail.com>
1479
1480 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
1481 support. Don't branch over align.
1482 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
1483 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
1484 support. Rearrange tmp reg use to suit. Comment.
1485 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
1486
f7c399cf
AM
14872013-10-04 Alan Modra <amodra@gmail.com>
1488
1489 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
1490
0b2c2ace
AM
14912013-10-04 Alan Modra <amodra@gmail.com>
1492
1493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
1494 conditional form of branch and link when obtaining pc.
1495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1496
02f04a6c
AM
14972013-10-04 Alan Modra <amodra@gmail.com>
1498
1499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
1500 HIWORD/LOWORD.
1501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
1502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
1503
9b874b2f
AM
15042013-10-04 Alan Modra <amodra@gmail.com>
1505
1506 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
1507 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
1508 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1509 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
1510 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1511 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1512 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
1513 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1514 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1515 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
1516
be1e5d31
AB
15172013-10-04 Anton Blanchard <anton@au1.ibm.com>
1518 Alistair Popple <alistair@ozlabs.au.ibm.com>
1519 Alan Modra <amodra@gmail.com>
1520
1521 [BZ #15723]
1522 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
1523 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
1524 _dl_hwcap access for little-endian.
1525 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
1526 destroy vmx regs when saving unaligned.
1527 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
1528 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
1529 destroy vmx regs when saving unaligned.
1530
fef13a78
AM
15312013-10-04 Alan Modra <amodra@gmail.com>
1532
1533 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
1534 Don't use a union to pack hi/low value.
1535
76a66d51
AB
15362013-10-04 Anton Blanchard <anton@au1.ibm.com>
1537
1538 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
1539 for little-endian.
1540 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1541 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1542 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1543 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1544 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1545
6a31fe7f
AM
15462013-10-04 Alan Modra <amodra@gmail.com>
1547
1548 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
1549 constants to usual value for .cst8 section, and remove redundant
1550 high address load.
1551 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
1552 constant for 0x1p52. Load little-endian words of double from
1553 correct stack offsets.
1554
7b88401f
AM
15552013-10-04 Alan Modra <amodra@gmail.com>
1556
1557 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
1558 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
1559 words of double from correct stack offsets.
1560 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1561 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
1562 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1563 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1564 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1565 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1566 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1567 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1568 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1569 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1570 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1571 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1572 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1573 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1574 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1575 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
1576 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1577
9c008155
AM
15782013-10-04 Alan Modra <amodra@gmail.com>
1579
1580 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
1581 64-bit int/double union.
1582 (_FPU_SETCW): Likewise.
1583 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1584 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
1585
da13146d
AM
15862013-10-04 Alan Modra <amodra@gmail.com>
1587
1588 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
1589 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
1590
603e8410
AM
15912013-10-04 Alan Modra <amodra@gmail.com>
1592
1593 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
1594 use vector int constants.
1595 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
1596
4a28b3ca
AB
15972013-10-04 Anton Blanchard <anton@au1.ibm.com>
1598
1599 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
1600 array with long long.
1601 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
1602 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
1603 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
1604 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
1605 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
1606 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
1607 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
1608 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
1609 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
1610 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
1611 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
1612 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
1613 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
1614
2ca85d2b
AB
16152013-10-04 Anton Blanchard <anton@au1.ibm.com>
1616
1617 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
1618 (__signbit): Likewise. Correct for little-endian.
1619 (__signbitl): Call __signbit.
1620 (lrint): Correct for little-endian.
1621 (lrintf): Call lrint.
1622
62a728ae
AM
16232013-10-04 Alan Modra <amodra@gmail.com>
1624
1625 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
1626 union 32-bit int array member with 64-bit int array.
1627 (t515, tm256): Double rather than long double.
1628 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
1629
32c301df
AM
16302013-10-04 Alan Modra <amodra@gmail.com>
1631
1632 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
1633 Delete.
1634 (IEEE854_LONG_DOUBLE_BIAS): Delete.
1635 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
1636 version of math_ldbl.h.
1637
650ef4bd
AM
16382013-10-04 Alan Modra <amodra@gmail.com>
1639
1640 [BZ #15734], [BZ #15735]
1641 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
1642 all uses of ieee875 long double macros and unions. Simplify test
1643 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
1644 ldbl_extract_mantissa value for ix,iy exponents. Properly
1645 normalize after ldbl_extract_mantissa, and don't add hidden bit
1646 already handled. Don't treat low word of ieee854 mantissa like
1647 low word of IBM long double and mask off bit when testing for
1648 zero.
1649 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
1650 all uses of ieee875 long double macros and unions. Simplify tests
1651 for 0.0L and inf. Correct double adjustment of k. Delete dead code
1652 adjusting ha,hb. Simplify code setting kld. Delete two600 and
1653 two1022, instead use their values. Recognise that tests for large
1654 "a" and small "b" are mutually exclusive. Rename vars. Comment.
1655 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
1656 Rewrite all uses of ieee875 long double macros and unions. Simplify
1657 test for 0.0L and nan. Correct negation.
1658 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
1659 ieee875 long double macros and unions. Correct output for large
1660 magnitude x. Correct absolute value calculation.
1661 (__erfcl): Likewise.
1662 * math/libm-test.inc: Add tests for errors discovered in IBM long
1663 double versions of fmodl, remainderl, erfl and erfcl.
1664
765714ca
AM
16652013-10-04 Alan Modra <amodra@gmail.com>
1666
1667 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
1668 all uses of ieee854 long double macros and unions. Simplify tests
1669 for long doubles that are fully specified by the high double.
1670 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1671 Likewise.
1672 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
1673 Remove dead code too.
1674 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1675 (__ieee754_ynl): Likewise.
1676 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
1677 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
1678 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
1679 Remove dead code too.
1680 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
1681 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
1682 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
1683 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
1684 Simplify.
1685 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
1686 Simplify.
1687 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
1688 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
1689 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
1690 Comment on variable precision.
1691 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
1692 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1693 Likewise.
1694 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1695 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1696 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1697 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
1698 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
1699
4ebd120c
AM
17002013-10-04 Alan Modra <amodra@gmail.com>
1701
1702 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
1703 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
1704 all uses of ieee854 long double macros and unions.
1705 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
1706 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1707 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
1708 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
1709 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
1710 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1711 Likewise.
1712 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
1713 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1714 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
1715 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1716 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
1717 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
1718 Simplify sign and nan test too.
1719 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
1720 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
1721 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
1722 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
1723 Likewise.
1724 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1725 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
1726 Likewise.
1727 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1728 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
1729 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
1730 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
1731 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
1732 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
1733
1b6adf88
AM
17342013-10-04 Alan Modra <amodra@gmail.com>
1735
1736 * stdio-common/printf_size.c (__printf_size): Don't use
1737 union ieee854_long_double in fpnum union.
1738 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
1739 signbit macro to retrieve sign from long double.
1740 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
1741 retrieve sign from long double.
1742 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
1743 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
1744 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
1745 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1746 * math/test-misc.c (main): Don't use union ieee854_long_double.
1747
4cf69995
AM
17482013-10-04 Alan Modra <amodra@gmail.com>
1749
1750 [BZ #15680]
1751 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
1752 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
1753 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
1754 calculation. Remove unnecessary test for denormal exponent.
1755 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
1756 Correct handling of denormals. Avoid undefined shift behaviour.
1757 Correct normalisation of low mantissa when low double is denormal.
1758 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
1759 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
1760 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
1761 Correct normalisation of low mantissa. Test for overflow of high
1762 mantissa and normalise.
1763 (ldbl_nearbyint): Use more readable constant for two52.
1764 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
1765 (__mpn_construct_long_double): Fix test for overflow of high
1766 mantissa and correct normalisation. Avoid undefined shift.
1767
9605ca6c
AM
17682013-10-04 Alan Modra <amodra@gmail.com>
1769
1770 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1771 (union ibm_extended_long_double): Define as an array of ieee754_double.
1772 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
1773 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
1774 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
1775 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1776 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1777 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
1778 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1779 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1780 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1781 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
1782 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1783
975569d0
JM
17842013-10-03 Joseph Myers <joseph@codesourcery.com>
1785
d3d23756
JM
1786 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
1787 page size instead of calling getpagesize.
1788
975569d0
JM
1789 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
1790 (LOCFILE_ALIGN_MASK): Likewise.
1791 (LOCFILE_ALIGN_UP): Likewise.
1792 (LOCFILE_ALIGNED_P): Likewise.
1793 * locale/programs/ld-collate.c (collate_output): Use the new
1794 macros instead of __alignof__ (int32_t).
1795 * locale/weight.h (findidx): Likewise.
1796
b1fe1f2b
OB
17972013-10-03 Ondřej Bílka <neleai@seznam.cz>
1798
1799 [BZ #431]
1800 * manual/string.texi: Fix strncat and wcsncat.
1801
5f855e35
BM
18022013-10-03 Brooks Moses <bmoses@google.com>
1803
1804 [BZ #15915]
1805 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
1806 * Makerules: ...here, and adjust associated comments.
1807
3cef6009
WN
18082013-10-02 Will Newton <will.newton@linaro.org>
1809
1810 * malloc/Makefile: Add tst-pvalloc.
1811 * malloc/tst-pvalloc.c: New file.
1812
7815420b
WN
18132013-10-02 Will Newton <will.newton@linaro.org>
1814
1815 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
1816 improve test coverage.
1817
4868b204
WN
18182013-10-02 Will Newton <will.newton@linaro.org>
1819
1820 * malloc/Makefile: Add tst-posix_memalign.
1821 * malloc/tst-posix_memalign.c: New file.
1822
29c793b3
EB
18232013-10-01 Eric Blake <eblake@redhat.com>
1824
1825 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
1826 Use __THROWNL rather than __THROW on static functions.
1827
fd967522
PM
18282013-09-30 Petr Machata <pmachata@redhat.com>
1829
1830 * elf/elf.h (R_AARCH64_ABS16): New macro.
1831 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
1832 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
1833 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
1834 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
1835 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
1836 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
1837 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
1838 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
1839 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
1840 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
1841 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
1842 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
1843 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
1844 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
1845 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
1846 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
1847 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
1848 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
1849 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
1850 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
1851 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
1852 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
1853 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
1854 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
1855 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
1856 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
1857 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
1858 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
1859 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
1860 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
1861 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
1862 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
1863 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
1864 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
1865 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
1866 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
1867 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
1868 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
1869 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
1870 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
1871 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
1872 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
1873 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
1874 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
1875 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
1876 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
1877 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
1878 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
1879 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
1880 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
1881 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
1882 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
1883 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
1884 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
1885 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
1886 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
1887 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
1888 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
1889 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
1890 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
1891 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
1892 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
1893 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
1894 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
1895 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
1896 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
1897 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
1898 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
1899 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
1900 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
1901 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
1902 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
1903 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
1904 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
1905 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
1906 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
1907 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
1908 (R_AARCH64_TLSDESC_LDR): Likewise.
1909 (R_AARCH64_TLSDESC_ADD): Likewise.
1910 (R_AARCH64_TLSDESC_CALL): Likewise.
1911
b2179107
AS
19122013-09-30 Andreas Schwab <schwab@suse.de>
1913
1914 [BZ #15048]
1915 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
1916 the nss database lookup.
1917 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1918 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1919
47f28d0a
MF
19202013-09-28 Mike Frysinger <vapier@gentoo.org>
1921
1922 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
1923
19242013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
1925
1926 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
1927 ${Bash-specific parameter/pattern/string} parameter expansion.
1928 * sysdeps/unix/make-syscalls.sh: Likewise.
1929
f4518a17
KK
19302013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1931
1932 * sysdeps/sh/stackguard-macros.h: New file.
1933
dc1a95c7
OB
19342013-09-26 Ondřej Bílka <neleai@seznam.cz>
1935
1936 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1937 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
1938 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
1939 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
1940 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1941 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
1942
5ebbff8f
AZ
19432013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1944
1945 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
1946 Fix thread ID register.
1947
4fd2cf9f
JM
19482013-09-25 Joseph Myers <joseph@codesourcery.com>
1949
1950 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
1951 [POSIX || UNIX98]: Require rather than permitting all symbols from
1952 <time.h>.
1953 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
1954 element of struct sched_param.
1955 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
1956 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
1957 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
1958 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
1959 constant.
1960
12c22bc4
OL
19612013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
1962
1963 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
1964 argument calculation.
1965
a03d8ea7
JM
19662013-09-24 Joseph Myers <joseph@codesourcery.com>
1967
1968 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
1969 Expect macro.
1970 [POSIX] (pthread_attr_t): Do not require type.
1971 [POSIX] (pthread_cond_t): Likewise.
1972 [POSIX] (pthread_condattr_t): Likewise.
1973 [POSIX] (pthread_key_t): Likewise.
1974 [POSIX] (pthread_mutex_t): Likewise.
1975 [POSIX] (pthread_mutexattr_t): Likewise.
1976 [POSIX] (pthread_once_t): Likewise.
1977 [POSIX] (pthread_t): Likewise.
1978 [POSIX-based standards] (pthread_atfork): Expect function.
1979
6055173a
JM
19802013-09-24 Joseph Myers <joseph@codesourcery.com>
1981 Richard Sandiford <richard@codesourcery.com>
1982
1983 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
1984 (swap_endianness_p): New extern variable.
1985 (set_big_endian): New inline function.
1986 (maybe_swap_uint32): Likewise.
1987 (maybe_swap_uint32_array): Likewise.
1988 (maybe_swap_uint32_obstack): Likewise.
1989 * locale/programs/locfile.c: Include <stdbool.h>.
1990 (swap_endianness_p): New variable.
1991 (add_locale_uint32): Call maybe_swap_uint32.
1992 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
1993 (write_locale_data): Call maybe_swap_uint32_array.
1994 * locale/programs/ld-collate.c (obstack_int32_grow): Call
1995 maybe_swap_uint32.
1996 (obstack_int32_grow_fast): Likewise.
1997 (output_weightwc): Call maybe_swap_uint32_obstack.
1998 (collate_output): Likewise.
1999 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
2000 (OPT_LITTLE_ENDIAN): Likewise.
2001 (options): Add --little-endian and --big-endian options.
2002 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
2003 * locale/programs/locarchive.c: Include "locfile.h".
2004 (GET): New macro.
2005 (SET): Likewise.
2006 (INC): Likewise.
2007 (create_archive): Use the new macros to access fields of
2008 structures directly mapped from or written to locale archives.
2009 (oldlocrecentcmp): Likewise.
2010 (enlarge_archive): Likewise.
2011 (insert_name): Likewise.
2012 (add_alias): Likewise.
2013 (add_locale): Likewise.
2014 (delete_locales_from_archive): Likewise.
2015 (show_archive_content): Likewise.
2016 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
2017 locale data.
2018
39bf0bb4
RM
20192013-09-24 Roland McGrath <roland@hack.frob.com>
2020
2021 * manual/freemanuals.texi: Updated from (newly) canonical copy at
2022 http://www.gnu.org/doc/freemanuals.texi.
2023 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
2024
f02eed10
WN
20252013-09-24 Will Newton <will.newton@linaro.org>
2026
2027 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
2028 macro.
2029
a3a6c312
JM
20302013-09-23 Joseph Myers <joseph@codesourcery.com>
2031
2032 * locale/hashval.h (compute_hashval): Interpret bytes of key as
2033 unsigned char.
2034
107375ac
MR
20352013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
2036
2037 * manual/threads.texi (POSIX Threads): Fix a typo.
2038
141f3a77
SP
20392013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2040
303e567a
SP
2041 [BZ #14547]
2042 * string/tst-strcoll-overflow.c: New test case.
2043 * string/Makefile (xtests): Add tst-strcoll-overflow.
2044 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
2045 cache if string sizes may cause integer overflow.
2046
141f3a77
SP
2047 [BZ #14547]
2048 * string/strcoll_l.c (coll_seq): New members rule, idx,
2049 save_idx and back_us.
2050 (get_next_seq_nocache): New function.
2051 (do_compare_nocache): New function.
2052 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
2053 when malloc fails.
2054
c61b4d41
CD
20552013-09-23 Carlos O'Donell <carlos@redhat.com>
2056
0b1f8e35
CD
2057 [BZ #15754]
2058 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
2059 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
2060 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
2061
c61b4d41
CD
2062 [BZ #15754]
2063 * elf/Makefile (tests): Add tst-ptrguard1.
2064 (tests-static): Add tst-ptrguard1-static.
2065 (tst-ptrguard1-ARGS): Define.
2066 (tst-ptrguard1-static-ARGS): Define.
2067 * elf/tst-ptrguard1.c: New file.
2068 * elf/tst-ptrguard1-static.c: New file.
2069 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
2070 * sysdeps/i386/stackguard-macros.h: Likewise.
2071 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2072 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2073 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2074 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2075 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2076 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2077
20782013-09-23 Hector Marco <hecmargi@upv.es>
2079 Ismael Ripoll <iripoll@disca.upv.es>
2080 Carlos O'Donell <carlos@redhat.com>
2081
2082 [BZ #15754]
2083 * sysdeps/generic/stackguard-macros.h: Define
2084 __pointer_chk_guard_local and POINTER_CHK_GUARD.
2085 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
2086 Define __pointer_chk_guard_local.
2087 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
2088 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
2089
f5f4e7b4
VV
20902013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
2091
2092 [BZ #15859]
2093 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
2094
5bb43a43
AS
20952013-09-20 Andreas Schwab <schwab@linux-m68k.org>
2096
2097 * include/string.h (__ffs): Declare as hidden.
2098 * string/ffs.c (__ffs): Define as hidden.
2099 * sysdeps/i386/ffs.c (__ffs): Likewise.
2100 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
2101 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
2102 * sysdeps/s390/ffs.c (__ffs): Likewise.
2103 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
2104
3ea5be54
AO
21052013-09-20 Alexandre Oliva <aoliva@redhat.com>
2106
ffb89e53
AO
2107 * NEWS: Mention malloc probes.
2108
322dea08
AO
2109 * malloc/arena.c (new_heap): New memory_heap_new probe.
2110 (grow_heap): New memory_heap_more probe.
2111 (shrink_heap): New memory_heap_less probe.
2112 (heap_trim): New memory_heap_free probe.
2113 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
2114 (systrim): New memory_sbrk_less probe.
2115 * manual/probes.texi: Document them.
2116
655673f3
AO
2117 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
2118 * manual/probes.texi: Document it.
2119
35fed6f1
AO
2120 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
2121 (__libc_realloc): Add memory_realloc_retry probe.
2122 (__libc_memalign): Add memory_memalign_retry probe.
2123 (__libc_valloc): Add memory_valloc_retry probe.
2124 (__libc_pvalloc): Add memory_pvalloc_retry probe.
2125 (__libc_calloc): Add memory_calloc_retry probe.
2126 * manual/probes.texi: Document them.
2127
6999d38c
AO
2128 * malloc/arena.c (get_free_list): Add probe
2129 memory_arena_reuse_free_list.
2130 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
2131 and memory_arena_reuse.
2132 (arena_get2) [!PER_THREAD]: Likewise.
2133 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
2134 memory_arena_reuse_realloc.
2135 * manual/probes.texi: Document them.
2136
0653427f
AO
2137 * malloc/malloc.c (__libc_free): Add
2138 memory_mallopt_free_dyn_thresholds probe.
2139 (__libc_mallopt): Add multiple memory_mallopt probes.
2140 * manual/probes.texi: Document them.
2141
3ea5be54
AO
2142 * malloc/malloc.c: Include stap-probe.h.
2143 (__libc_mallopt): Add memory_mallopt probe.
2144 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
2145 * manual/probes.texi: New.
2146 * manual/Makefile (chapters): Add probes.
2147 * manual/threads.texi: Set next node.
2148
e35696c3 21492013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 2150
e35696c3
CL
2151 [BZ #15963, #13985]
2152 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
2153 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
2154 Add `Chinese' to `nan' entry name.
2155
4aafb73c
SP
21562013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2157
2158 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
2159 (POLYNOMIAL): Likewise.
2160 (TAYLOR_SINCOS): Likewise.
2161 (TAYLOR_SLOW): Likewise.
2162 (__sin): Use TAYLOR_SINCOS.
2163 (__cos): Likewise.
2164 (slow): Use TAYLOR_SLOW.
2165 (sloww): Likewise.
2166 (bsloww): Likewise.
2167 (csloww): Likewise.
2168
d84f25c7
LD
21692013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2170
2171 * stdlib/strtod_l.c: Fix buffer overrun.
2172
5eea0404
SP
21732013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2174
7849ff93
SP
2175 * benchtests/Makefile (bench): Add sincos.
2176 * benchtests/bench-sincos.c: New file.
2177
cfa3c886
SP
2178 * math/libm-test.inc (cos_test_data): New test inputs.
2179 (sin_test_data): Likewise.
2180
b348e1e3
SP
2181 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
2182 macro.
2183 (__sin): Use it.
2184 (__cos): Likewise.
2185 (slow1): Likewise.
2186 (slow2): Likewise.
2187 (sloww1): Likewise.
2188 (sloww2): Likewise.
2189 (bsloww1): Likewise.
2190 (bsloww2): Likewise.
2191 (cslow2): Likewise.
2192 (csloww1): Likewise.
2193 (csloww2): Likewise.
2194
6cce25f8
SP
2195 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
2196 function.
2197 (__sin): Use it.
2198 (__cos): Likewise.
2199
5eea0404
SP
2200 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
2201 gotos.
2202 (__cos): Likewise.
2203
9c21573c
MR
22042013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
2205
2206 * config.h.in (HAVE_MIPS_NAN2008): New macro.
2207 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
2208 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
2209 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
2210 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
2211 * elf/cache.c (print_entry): Handle the new cache flags.
2212
24d22e65
JM
22132013-09-18 Joseph Myers <joseph@codesourcery.com>
2214 Aldy Hernandez <aldyh@redhat.com>
2215
2216 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
2217 Change condition to [_SOFT_FLOAT].
2218 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
2219 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
2220 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
2221 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
2222 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
2223 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
2224 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
2225 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
2226 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
2227 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
2228 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
2229 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
2230 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
2231 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
2232 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
2233 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
2234 declaration.
2235
d13ef066
JM
22362013-09-18 Joseph Myers <joseph@codesourcery.com>
2237
2e071de0
JM
2238 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
2239 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2240 (__longjmp): Use LOAD_GP to load saved GPRs.
2241 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
2242 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2243 (__sigsetjmp): Use SAVE_GP to save GPRs.
2244
d13ef066
JM
2245 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
2246 Do not append -msoft-float.
2247 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
2248
97a0650b
SP
22492013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2250
2251 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
2252
11ca09e9
JM
22532013-09-17 Joseph Myers <joseph@codesourcery.com>
2254
2255 [BZ #15966]
2256 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
2257 (_FPU_GETCW): Use initial "__" on variable and field names but not
2258 on macro parameter name.
2259 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
2260 parentheses around reference to macro parameter.
2261
08ffcf34
RS
22622013-09-13 Richard Sandiford <richard@codesourcery.com>
2263
2264 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
2265 prototype.
2266 (ctype_startup): Use uint32_t in cast and sizeof for
2267 ctype->charnames.
2268
ae7080d3
JL
22692013-09-11 Jia Liu <proljc@gmail.com>
2270
2271 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
2272 __daddr_t_defined.
2273 [__FreeBSD__]: Likewise.
2274
5905e7b3
OB
22752013-09-11 Ondřej Bílka <neleai@seznam.cz>
2276
2277 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2278 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
2279 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
2280 (strchr): Remove __strchr_sse42 ifunc selection.
2281 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
2282 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
2283
b987c776
WN
22842013-09-11 Will Newton <will.newton@linaro.org>
2285
2286 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
2287 parameter to RES. Remove hardcoded 1000 value.
2288 * benchtests/bench-skeleton.c (main): Pass RES parameter
2289 to TIMING_INIT and multiply result by 1000.
2290
ddf985af
AZ
22912013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2292
2293 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2294
ffdd3181
AS
22952013-09-11 Andreas Schwab <schwab@suse.de>
2296
2297 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
2298 if not defined.
2299 (O_TMPFILE) [__USE_GNU]: Define.
2300 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
2301 Define.
2302
b73ed247
WN
23032013-09-11 Will Newton <will.newton@linaro.org>
2304
2305 [BZ #15857]
2306 * malloc/malloc.c (__libc_memalign): Check the value of bytes
2307 does not overflow.
2308
55e17aad
WN
23092013-09-11 Will Newton <will.newton@linaro.org>
2310
2311 [BZ #15856]
2312 * malloc/malloc.c (__libc_valloc): Check the value of bytes
2313 does not overflow.
2314
1159a193
WN
23152013-09-11 Will Newton <will.newton@linaro.org>
2316
2317 [BZ #15855]
2318 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
2319 does not overflow.
2320
5905e7b3 23212013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
2322
2323 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
2324 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2325 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2326 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2327 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2328
cdfc721b
AM
23292013-09-10 Allan McRae <allan@archlinux.org>
2330
aa04af00
AM
2331 [BZ #15748]
2332 * manual/arith.texi (Parsing of Floats): Clarify
2333 cross-reference.
2334
cdfc721b
AM
2335 [BZ #15849]
2336 * manual/install.texi (Running make install): Mention
2337 --enable-pt-chown.
2338 * INSTALL: Regenerated.
2339
95e7cf29
MR
23402013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2341
2342 * csu/init-first.c (_init): Remove the !SHARED condition around
2343 FPU control word initialization.
2344 * elf/dl-support.c (_dl_fpu_control): New variable.
2345 (_dl_aux_init) <AT_FPUCW>: Initialize it.
2346 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
2347 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
2348 * math/test-fpucw-static.c: New file.
2349 * math/test-fpucw-ieee.c: New file.
2350 * math/test-fpucw-ieee-static.c: New file.
2351 * math/Makefile (tests): Add `test-fpucw-ieee' and
2352 `$(tests-static)'.
2353 (tests-static): New variable.
2354 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
2355 dependency to...
2356 [($(build-shared),yes)]
2357 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2358 ... this.
2359 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
2360 New dependency.
2361
83e43bf0
AM
23622013-09-09 Allan McRae <allan@archlinux.org>
2363
a9f5ce09
AM
2364 [BZ #15939]
2365 * manual/string.texi (Collation Functions): Fix typo in
2366 strcoll example.
2367 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
2368
34829bc2
AM
2369 [BZ #15893]
2370 * stdlib/isomac.c (get_null_defines): Fix memory leak.
2371
3932737d
AM
2372 [BZ #15892]
2373 * libio/memstream.c (open_memstream): Fix memory leak.
2374 * libio/wmemstream.c (open_wmemstream): Likewise.
2375
83e43bf0
AM
2376 [BZ #15895]
2377 * nscd/netgroupcache.c: Fix nesting of ifdefs.
2378
0c66b8e9
WN
23792013-09-09 Will Newton <will.newton@linaro.org>
2380
2381 * malloc/Makefile: Add tst-realloc to tests.
2382 * malloc/tst-realloc.c: New file.
2383
f6b00fd1
AM
23842013-09-09 Allan McRae <allan@archlinux.org>
2385
2386 [BZ #15844]
2387 * COPYING: Update from GNU website to fix FSF address.
2388 * COPYING.LIB: Likewise.
2389
eec55e16
DM
23902013-09-06 David S. Miller <davem@davemloft.net>
2391
2392 * po/zh_TW.po: Update Chinese (traditional) translation from
2393 translation project.
2394
1ecbb381
RS
23952013-09-06 Richard Sandiford <richard@codesourcery.com>
2396 Joseph Myers <joseph@codesourcery.com>
2397
2398 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
2399 "localeinfo.h".
2400 (obstack_chunk_alloc): New macro.
2401 (obstack_chunk_free): Likewise.
2402 (record_offset): New function.
2403 (init_locale_data): Likewise.
2404 (align_locale_data): Likewise.
2405 (add_locale_empty): Likewise.
2406 (add_locale_raw_data): Likewise.
2407 (add_locale_raw_obstack): Likewise.
2408 (add_locale_string): Likewise.
2409 (add_locale_wstring): Likewise.
2410 (add_locale_uint32): Likewise.
2411 (add_locale_uint32_array): Likewise.
2412 (add_locale_char): Likewise.
2413 (start_locale_structure): Likewise.
2414 (end_locale_structure): Likewise.
2415 (start_locale_prelude): Likewise.
2416 (end_locale_prelude): Likewise.
2417 (write_locale_data): Take locale_file structure rather than an
2418 iovec.
2419 * locale/programs/locfile.h: Include "obstack.h".
2420 (struct locale_file): Change to store locale file contents instead
2421 of header.
2422 (init_locale_data): New prototype.
2423 (align_locale_data): Likewise.
2424 (add_locale_empty): Likewise.
2425 (add_locale_raw_data): Likewise.
2426 (add_locale_raw_obstack): Likewise.
2427 (add_locale_string): Likewise.
2428 (add_locale_wstring): Likewise.
2429 (add_locale_uint32): Likewise.
2430 (add_locale_uint32_array): Likewise.
2431 (add_locale_char): Likewise.
2432 (start_locale_structure): Likewise.
2433 (end_locale_structure): Likewise.
2434 (start_locale_prelude): Likewise.
2435 (end_locale_prelude): Likewise.
2436 (write_locale_data): Update prototype.
2437 * locale/programs/3level.h (struct TABLE): Remove result field.
2438 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
2439 Use new locale_file interface.
2440 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
2441 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
2442 * locale/programs/ld-address.c (address_output): Use new
2443 locale_file interface.
2444 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
2445 NO_ADD_LOCALE.
2446 (collate_finish): Don't call collseq_table_finalize.
2447 (collate_output): Use new locale_file interface.
2448 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
2449 in file.
2450 (NO_FINALIZE): Change to NO_ADD_LOCALE.
2451 (TABLE): Move defines earlier in file.
2452 (ELEMENT): Likewise.
2453 (DEFAULT): Likewise.
2454 (wctrans_table_add): Move macro and inline function earlier in
2455 file.
2456 (struct wctype_table): Move type earlier in file.
2457 (add_locale_wctype_table): New static prototype.
2458 (struct locale_ctype_t): Use logical types instead of struct iovec
2459 pointers for members.
2460 (ctype_output): Use new locale_file interface.
2461 (wctype_table_finalize): Change to add_locale_wctype_table. Use
2462 new locale_file interface.
2463 (allocate_arrays): Update for use of new locale_file interface.
2464 * locale/programs/ld-identification.c (identification_output): Use
2465 new locale_file interface.
2466 * locale/programs/ld-measurement.c (measurement_output): Likewise.
2467 * locale/programs/ld-messages.c (messages_output): Likewise.
2468 * locale/programs/ld-monetary.c (monetary_output): Likewise.
2469 * locale/programs/ld-name.c (name_output): Likewise.
2470 * locale/programs/ld-numeric.c (numeric_output): Likewise.
2471 * locale/programs/ld-paper.c (paper_output): Likewise.
2472 * locale/programs/ld-telephone.c (telephone_output): Likewise.
2473 * locale/programs/ld-time.c (time_output): Likewise.
2474
e029e2e5
AZ
24752013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2476
2477 * benchtests/Makefile: Add memrchr benchmark.
2478 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
2479 benchmark as memrchr.
2480 * benchtests/bench-memrchr-ifunc.c: New file.
2481 * benchtests/bench-memrchr.c: New file.
2482
bbf6e8e4
WN
24832013-09-06 Will Newton <will.newton@linaro.org>
2484
2485 * benchtests/Makefile (string-bench): Add memcpy.
2486
6c82a2f8
CD
24872013-09-05 Carlos O'Donell <carlos@redhat.com>
2488 Cong Wang <amwang@redhat.com>
2489
2490 * sysdeps/unix/sysv/linux/bits/in.h
2491 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
2492 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
2493 before __USE_KERNEL_IPV6_DEFS uses.
2494 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
2495 IPPROTO_BEETPH.
2496 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
2497 sockaddr_in6, or ipv6_mreq.
2498
5430fc65
AZ
24992013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2500
2501 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
2502 memory access for final bytes in some large inputs.
2503 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
2504
4660856c
AZ
25052013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2506
2507 * string/test-memrchr.c: New file.
2508 * string/test-memrchr-ifunc.c: New file.
2509 * string/Makefile: Add new memrchr testcase.
2510
bb8ea713
MF
25112013-09-05 Mike Frysinger <vapier@gentoo.org>
2512
2513 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
2514 fanotify_init returns EPERM.
2515
b92a20b5
JM
25162013-09-04 Joseph Myers <joseph@codesourcery.com>
2517
2518 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
2519 errors.
2520 (top level): Treat second token from macro or constant entries for
2521 allowed headers as allowed.
2522 * include/complex.h: Condition internal declarations on
2523 [!_ISOMAC].
2524 * include/fenv.h: Condition include of <stdbool.h> and internal
2525 declarations on [!_ISOMAC].
7447ccd9
CL
2526
25272013-09-04 Chris Leonard <cjl@sugarlabs,.org>
2528
3e181dda 2529 [BZ #15923]
7447ccd9
CL
2530 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
2531
3f2e46a4
JM
25322013-09-04 Joseph Myers <joseph@codesourcery.com>
2533
2534 * configure.in (--enable-versioning): Remove configure option.
2535 (libc_cv_asm_symver_directive): Remove configure test.
2536 (libc_cv_ld_version_script_option): Likewise.
2537 (VERSIONING): Remove variable and AC_SUBST.
2538 (DO_VERSIONING): Remove AC_DEFINE.
2539 * configure: Regenerated.
2540 * config.h.in (DO_VERSIONING): Remove macro.
2541 * Makerules [$(versioning) = yes]: Change conditionals to
2542 [$(build-shared) = yes].
2543 * config.make.in (versioning): Remove variable.
2544 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
2545 [$(build-shared) = yes].
2546 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
2547 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
2548 * elf/Makefile [$(versioning) = yes]: Change conditionals to
2549 [$(build-shared) = yes].
2550 * extra-lib.mk [$(versioning) = yes]: Likewise.
2551 * hurd/Makefile [$(versioning) = yes]: Likewise.
2552 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
2553 [SHARED].
2554 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
2555 [SHARED].
2556 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2557 [SHARED && !NO_HIDDEN].
2558 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
2559 [SHARED].
2560 [SHARED && DO_VERSIONING]: Likewise..
2561 * libio/Makefile [$(versioning) = yes]: Change conditionals to
2562 [$(build-shared) = yes].
2563 * manual/install.texi (--disable-versioning): Remove
2564 documentation.
2565 * INSTALL: Regenerated.
2566 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
2567 to [SHARED].
2568 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
2569 [$(build-shared) = yes].
2570 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
2571 * sysdeps/i386/i686/multiarch/strstr-c.c
2572 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2573 [SHARED && !NO_HIDDEN].
2574 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
2575 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
2576 * sysdeps/powerpc/powerpc32/dl-machine.c
2577 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
2578 * sysdeps/powerpc/powerpc32/sysdep.h
2579 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
2580 to [SHARED && PIC && !NO_HIDDEN].
2581 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
2582 conditional to [SHARED].
2583
44558701
WN
25842013-09-04 Will Newton <will.newton@linaro.org>
2585
2586 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
2587 * benchtests/bench-string.h: Include bench-timing.h instead
2588 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
2589 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
2590 call to HP_TIMING_DIFF_INIT.
2591 * benchtests/bench-memccpy.c: Use bench-timing.h macros
2592 instead of hp-timing.h macros.
2593 * benchtests/bench-memchr.c: Likewise.
2594 * benchtests/bench-memcmp.c: Likewise.
2595 * benchtests/bench-memcpy.c: Likewise.
2596 * benchtests/bench-memmem.c: Likewise.
2597 * benchtests/bench-memmove.c: Likewise.
2598 * benchtests/bench-memset.c: Likewise.
2599 * benchtests/bench-rawmemchr.c: Likewise.
2600 * benchtests/bench-strcasecmp.c: Likewise.
2601 * benchtests/bench-strcasestr.c: Likewise.
2602 * benchtests/bench-strcat.c: Likewise.
2603 * benchtests/bench-strchr.c: Likewise.
2604 * benchtests/bench-strcmp.c: Likewise.
2605 * benchtests/bench-strcpy.c: Likewise.
2606 * benchtests/bench-strcpy_chk.c: Likewise.
2607 * benchtests/bench-strlen.c: Likewise.
2608 * benchtests/bench-strncasecmp.c: Likewise.
2609 * benchtests/bench-strncat.c: Likewise.
2610 * benchtests/bench-strncmp.c: Likewise.
2611 * benchtests/bench-strncpy.c: Likewise.
2612 * benchtests/bench-strnlen.c: Likewise.
2613 * benchtests/bench-strpbrk.c: Likewise.
2614 * benchtests/bench-strrchr.c: Likewise.
2615 * benchtests/bench-strspn.c: Likewise.
2616 * benchtests/bench-strstr.c: Likewise.
2617
cae16d66
WN
26182013-09-04 Will Newton <will.newton@linaro.org>
2619
2620 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
2621
ffa3cd7f
JM
26222013-09-03 Joseph Myers <joseph@codesourcery.com>
2623
2624 [BZ #15427]
2625 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2626 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
2627 * math/libm-test.inc (lgamma_test_data): Add more tests.
2628 * sysdeps/i386/fpu/libm-test-ulps: Update.
2629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2630
8f02859f
OB
26312013-09-03 Ondřej Bílka <neleai@seznam.cz>
2632
2633 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
2634 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2635 Add ifunc.
2636 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2637 Add strcmp-sse2-unaligned
2638 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
2639
18d43716
MF
26402013-09-02 Mike Frysinger <vapier@gentoo.org>
2641
2642 * Versions.def (libc): Add GLIBC_2.19.
2643
ac444012
MF
26442013-09-02 Mike Frysinger <vapier@gentoo.org>
2645
2646 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
2647 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
2648
b7835e32
JM
26492013-09-02 Joseph Myers <joseph@codesourcery.com>
2650
2651 [BZ #14155]
2652 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
2653 intermediate calculations in recurrence.
2654 (__ieee754_ynf): Likewise.
2655 * math/libm-test.inc (jn_test_data): Do not allow spurious
2656 underflow exception. Add more tests.
2657 (yn_test_data): Add more tests.
2658 * sysdeps/i386/fpu/libm-test-ulps: Update.
2659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2660
8220f4f0
OB
26612013-09-02 Ondřej Bílka <neleai@seznam.cz>
2662
2663 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
2664
f24a6d08
OB
26652013-08-30 Ondřej Bílka <neleai@seznam.cz>
2666
2667 * csu/init-first.c: Fix then/than typos.
2668 * locale/programs/ld-collate.c: Likewise.
2669 * locale/programs/linereader.h: Likewise.
2670 * manual/charset.texi: Likewise.
2671 * manual/filesys.texi: Likewise.
2672 * manual/stdio.texi: Likewise.
2673 * manual/string.texi: Likewise.
2674 * stdlib/fmtmsg.c: Likewise.
2675 * sysdeps/i386/stpncpy.S: Likewise.
2676 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2677 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2678 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2679 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2680
382466e0
OB
26812013-08-30 Ondřej Bílka <neleai@seznam.cz>
2682
2683 * elf/dl-open.c: Fix typos.
2684 * iconvdata/gbbig5.c: Likewise.
2685 * iconvdata/iso-2022-jp.c: Likewise.
2686 * iconv/gconv_int.h: Likewise.
2687 * iconv/loop.c: Likewise.
2688 * nis/rpcsvc/nis.h: Likewise.
2689 * resolv/ns_name.c: Likewise.
2690 * stdio-common/vfscanf.c: Likewise.
2691 * streams/stropts.h: Likewise.
2692 * sunrpc/rpc_thread.c: Likewise.
2693 * sysdeps/i386/strpbrk.S: Likewise.
2694 * sysdeps/ieee754/k_standard.c: Likewise.
2695 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2696 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2697 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2698 * sysdeps/mach/hurd/profil.c: Likewise.
2699 * sysdeps/s390/dl-procinfo.h: Likewise.
2700 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2701 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2702 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
2703 * sysdeps/x86_64/dl-trampoline.S: Likewise.
2704 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2705
0186c6e9
OB
27062013-08-30 Ondřej Bílka <neleai@seznam.cz>
2707
2708 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
2709 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
2710
d4e16af1
OB
27112013-08-29 Ondřej Bílka <neleai@seznam.cz>
2712
2713 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
2714 aix specific files.
2715 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
2716 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
2717 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
2718 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
2719 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
2720 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
2721 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
2722 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
2723
88335980
TS
27242013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2725 Roland McGrath <roland@hack.frob.com>
2726
2727 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
2728 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2729
ed479b02
ST
27302013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
2731
2732 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
2733 __executable_start symbol instead of _start.
2734
f1cc4c86
TS
27352013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2736
d821f07c
TS
2737 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
2738 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
2739 Move macros to...
2740 * sysdeps/gnu/ldsodefs.h: ... this new file.
2741
c54290cf
TS
2742 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
2743 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
2744 instead of ELFOSABI_LINUX.
2745
0007fc9b 2746 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
2747 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
2748 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
2749 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
2750 Likewise.
2751 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
2752 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
2753 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
2754 Likewise.
2755 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2756 (ibm_extended_long_double): Add ieee_nan member.
2757 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
2758 (do_test): New function.
2759
f1cc4c86
TS
2760 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
2761 TEST_TRUNC.
2762 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
2763 functions, renamed from truncdfsf_test, trunctfsf_test,
2764 trunctfdf_test.
2765 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
2766 functions.
2767 (do_test): Run all these.
2768
6f65e668
OB
27692013-08-29 Ondřej Bílka <neleai@seznam.cz>
2770
2771 * argp/argp-help.c: Fix typos.
2772 * argp/argp-parse.c: Likewise.
2773 * debug/backtracesyms.c: Likewise.
2774 * elf/elf.h: Likewise.
2775 * malloc/malloc.c: Likewise.
2776 * nis/nis_print.c: Likewise.
2777 * resolv/res_comp.c: Likewise.
2778 * stdlib/stdlib.h: Likewise.
2779 * sunrpc/clnt_tcp.c: Likewise.
2780 * sunrpc/clnt_udp.c: Likewise.
2781 * sunrpc/clnt_unix.c: Likewise.
2782 * sysdeps/unix/bsd/ptsname.c: Likewise.
2783 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2784 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
2785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
2786 Likewise.
2787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2788 Likewise.
2789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2790 Likewise.
6f65e668
OB
2791 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2792
3a309239
SP
27932013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2794
2795 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
2796 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2797
3b813b29
MF
27982013-08-27 Mike Frysinger <vapier@gentoo.org>
2799
2800 [BZ #15897]
2801 * dlfcn/Makefile (tests): Add bug-dl-leaf.
2802 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
2803 ($(objpfx)bug-dl-leaf): New rule.
2804 ($(objpfx)bug-dl-leaf.so): Likewise.
2805 ($(objpfx)bug-dl-leaf.out): Likewise.
2806 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
2807 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
2808 * dlfcn/bug-dl-leaf.c: New test.
2809 * dlfcn/bug-dl-leaf-lib.c: Likewise.
2810 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
2811 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
2812 (dlclose): Likewise.
2813 (dlmopen): Likewise.
2814
8cc3269f
RM
28152013-08-27 Roland McGrath <roland@hack.frob.com>
2816
7f9d0034
RM
2817 * include/netdb.h [!_ISOMAC]:
2818 Don't include <tls.h>.
2819 (h_errno, __libc_h_errno): Move declaration and macros out of
2820 [_LIBC_REENTRANT].
2821
fb431262
RM
2822 * include/resolv.h [_RESOLV_H_]:
2823 Don't include <tls.h>.
2824 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
2825 * resolv/res_libc.c: Don't include <tls.h>.
2826 (_res): Use __attribute__ ((nocommon)) in place of
2827 __attribute__ ((section (".bss"))).
2828
bd81123a
RM
2829 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
2830 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
2831
c4e42566
RM
2832 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
2833
f890a59b
RM
2834 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
2835 only under [SIOCGIFCONF && SIOCGIFNETMASK].
2836
2837 * resolv/res_mkquery.c: Include <sys/time.h>.
2838
5d1f0a09
RM
2839 * inet/ifreq.c: Moved to ...
2840 * sysdeps/unix/ifreq.c: ... here.
2841 * inet/ifreq.c: New file, true stub version.
2842
6fcf28b3
RM
2843 * socket/sa_len.c: New file.
2844 * socket/Makefile (aux): Add it.
2845 * sysdeps/unix/sysv/linux/Makefile
2846 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
2847 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
2848 and #include <socket/sa_len.c>.
2849 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
2850 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
2851
e041fb8b
RM
2852 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
2853 * bits/socket.h: ... here.
2854
8cc3269f
RM
2855 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
2856 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
2857 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
2858
5d228a43
AS
28592013-08-27 Andreas Schwab <schwab@suse.de>
2860
45b8accc
AS
2861 [BZ #15736]
2862 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
2863 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
2864 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
2865 * string/test-strcasecmp.c (test_main): Run tests in several
2866 locales.
2867 * string/test-strncasecmp.c (test_main): Likewise.
2868
5d228a43
AS
2869 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
2870 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
2871 to __strcasecmp_nonascii and __strncasecmp_nonascii.
2872 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
2873 (__strncasecmp_ssse3) [PIC]: Likewise.
2874
59d112a4
RM
28752013-08-26 Roland McGrath <roland@hack.frob.com>
2876
53234cc3
RM
2877 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
2878
59d112a4
RM
2879 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
2880 instead of explicitly declaring xdecrypt.
2881 * nis/nss_nis/nis-publickey.c: Likewise.
2882
595aba70
SP
28832013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2884
2885 [BZ #15890]
2886 * nscd/aicache.c: Include res_hconf.h.
2887 (addhstaiX): Initialize res_hconf.
2888
ffabd393
AS
28892013-08-26 Andreas Schwab <schwab@suse.de>
2890
2891 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
2892 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
2893
e0a69f5c
SP
28942013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2895
2896 * nscd/aicache.c (addhstaiX): Fix indentation.
2897
8c12f01d
MF
28982013-08-25 Mike Frysinger <vapier@gentoo.org>
2899
2900 * configure.ac: Quote $build_pt_chown test.
2901 * configure: Regenerated.
2902
8fe89494
JM
29032013-08-23 Joseph Myers <joseph@codesourcery.com>
2904
2905 [BZ #15532]
2906 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
2907 * math/s_cexpf.c (__cexpf): Likewise.
2908 * math/s_cexpl.c (__cexpl): Likewise.
2909 * math/libm-test.inc (cexp_test_data): Correct expected return
2910 value for NaN + i0. Add another test.
2911
75b181d6
DM
29122013-08-22 David S. Miller <davem@davemloft.net>
2913
2914 * po/ca.po: Update Catalan translation from translation project.
936241e4 2915 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 2916
acd06bb1
JM
29172013-08-21 Joseph Myers <joseph@codesourcery.com>
2918
2919 [BZ #15797]
2920 * math/s_fdim.c (__fdim): Check for infinite arguments if result
2921 is infinite, not alongside NaN test.
2922 * math/s_fdimf.c (__fdimf): Likewise.
2923 * math/s_fdiml.c (__fdiml): Likewise.
2924 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
2925 errno is unchanged.
2926
c0c3f78a
OB
29272013-08-21 Ondřej Bílka <neleai@seznam.cz>
2928
2929 * argp/argp-help.c: Fix typos.
2930 * crypt/speeds.c: Likewise.
2931 * csu/check_fds.c: Likewise.
2932 * elf/dl-load.c: Likewise.
2933 * elf/dl-open.c: Likewise.
2934 * elf/reldep3.c: Likewise.
2935 * elf/reldep.c: Likewise.
2936 * elf/sprof.c: Likewise.
2937 * iconv/iconv_charmap.c: Likewise.
2938 * iconv/skeleton.c: Likewise.
2939 * iconv/strtab.c: Likewise.
2940 * io/lockf64.c: Likewise.
2941 * libio/libioP.h: Likewise.
2942 * resolv/gai_notify.c: Likewise.
2943 * resolv/ns_name.c: Likewise.
2944 * resolv/ns_samedomain.c: Likewise.
2945 * resolv/res_send.c: Likewise.
2946 * stdlib/random.c: Likewise.
2947 * sunrpc/rpc/xdr.h: Likewise.
2948 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
2949 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2950 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2951 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2952 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2953 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2954 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2955 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2956 * sysdeps/mach/hurd/check_fds.c: Likewise.
2957 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2958 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2959 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2960 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2961 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2962 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2963 * sysdeps/pthread/aio_notify.c: Likewise.
2964 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
2965 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
2966 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
2967 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2968 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2969
46ed1038
LD
29702013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2971
2972 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
2973 version if bit_Slow_SSE4_2 is set.
2974 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2975 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2976
d400dcac
AZ
29772013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2978
2979 [BZ #15867]
2980 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
2981 trampoline stack frame information.
2982 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
2983 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
2984 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
2985 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
2986 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
2987 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2988 (_libc_vdso_platform_setup): Initialize the signal trampolines.
2989 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
2990 sa_flags value.
2991 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
2992 interrupting a syscall and set with option SA_SIGINFO.
2993
42c8fdd8
JM
29942013-08-20 Joseph Myers <joseph@codesourcery.com>
2995
c980f2f4
JM
2996 [BZ #15531]
2997 * math/s_cproj.c (__cproj): Only return an infinity if one part of
2998 argument is infinite.
2999 * math/s_cprojf.c (__cprojf): Likewise.
3000 * math/s_cprojl.c (__cprojl): Likewise.
3001 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
3002 * math/libm-test.inc (cproj_test_data): Add more tests.
3003
0716c4fc
JM
3004 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
3005
42c8fdd8
JM
3006 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
3007 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
3008 size. Use __ffs to determine corresponding shift.
3009
b31469d0
JM
30102013-08-20 Joseph Myers <joseph@codesourcery.com>
3011 Roland McGrath <roland@hack.frob.com>
3012
3013 * Makefile (INSTALL): Remove trailing blank lines from output of
3014 makeinfo.
3015
4e39af6e
AK
30162013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3017
3018 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
3019 Align 32 bit compat elf_greg to 8 bytes.
3020
f315524e
AA
30212013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
3022
3023 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
3024
1326ba1a
SP
30252013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3026
3027 * string/strcoll_l.c (coll_seq): New structure.
3028 (get_next_seq_cached): New function.
3029 (get_next_seq): New function.
3030 (do_compare): New function.
3031 (STRCOLL): Use GNU style definition. Simplify implementation
3032 by using get_next_seq, get_next_seq_cached and do_compare.
3033
91ce4085
FW
30342013-08-16 Florian Weimer <fweimer@redhat.com>
3035
3036 [BZ #14699]
3037 CVE-2013-4237
3038 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
3039 member.
3040 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
3041 member.
3042 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
3043 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
3044 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
3045 conditional.
3046 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
3047 GETDENTS_64BIT_ALIGNED.
3048 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
3049 * manual/filesys.texi (Reading/Closing Directory): Document
3050 ENAMETOOLONG return value of readdir_r. Recommend readdir more
3051 strongly.
3052 * manual/conf.texi (Limits for Files): Add portability note to
3053 NAME_MAX, PATH_MAX.
3054 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
3055
ca0a6bc4
AS
30562013-08-13 Andreas Schwab <schwab@suse.de>
3057
3058 [BZ #15749]
3059 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
3060 of fabs.
3061 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
3062 LDBL_MAX_EXP >= 16384]: Add tests for it.
3063
6c1fd795
DM
30642013-08-12 David S. Miller <davem@davemloft.net>
3065
3066 * version.h (RELEASE): Set to "development".
3067 (VERSION): Set to "2.18.90".
3068 * NEWS: Add 2.19 section.
3069
31ad488d
DM
30702013-08-03 David S. Miller <davem@davemloft.net>
3071
3072 * po/ko.po: Update Korean translation from translation project.
3073
db24e684
DM
30742013-08-01 David S. Miller <davem@davemloft.net>
3075
3076 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
3077 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
3078 Bilka.
3079
f723285b
DM
30802013-07-30 David S. Miller <davem@davemloft.net>
3081
3082 * po/fr.po: Update French translation from translation project.
3083
3cbc52db
DM
30842013-07-28 David S. Miller <davem@davemloft.net>
3085
30bbc0cc
DM
3086 * po/cs.po: Update Czech translation from translation project.
3087
3cbc52db
DM
3088 * po/sv.po: Update Swedish translation from translation project.
3089
d492e6d0
DM
30902013-07-27 David S. Miller <davem@davemloft.net>
3091
f1a7f492
DM
3092 * po/eo.po: Update Esperanto translation from translation project.
3093
90e62a4a
DM
3094 * po/vi.po: Update Vietnamese translation from translation project.
3095
d492e6d0
DM
3096 * po/de.po: Update German translation from translation project.
3097
d4baa62d
DM
30982013-07-26 David S. Miller <davem@davemloft.net>
3099
641aa7b4
DM
3100 * po/bg.po: Update Bulgarian translation from translation project.
3101
d4baa62d
DM
3102 * po/nl.po: Update Dutch translation from translation project.
3103 * po/pl.po: Update Polish translation from translation project.
3104 * po/ru.po: Update Russian translation from translation project.
3105
61a9dcb9
DM
31062013-07-24 David S. Miller <davem@davemloft.net>
3107
3108 * po/libc.pot: Update.
3109
7b1f8b58
AZ
31102013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3111
3112 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
3113 variable page size.
3114 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
3115 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
3116 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
3117
a8fc7a03
AK
31182013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3119
3120 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
3121
e4608715
CD
31222013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3123 Andreas Schwab <schwab@suse.de>
3124 Roland McGrath <roland@hack.frob.com>
3125 Joseph Myers <joseph@codesourcery.com>
3126 Carlos O'Donell <carlos@redhat.com>
3127
3128 [BZ #15755]
3129 * config.h.in: Define HAVE_PT_CHOWN.
3130 * config.make.in (build-pt-chown): New variable.
3131 * configure.in (--enable-pt_chown): New configure option.
3132 * configure: Regenerate.
3133 * login/Makefile: Include Makeconfig. Build pt_chown only if
3134 build-pt-chown is enabled.
3135 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
3136 pt_chown to fix pty ownership.
3137 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
3138 CLOSE_ALL_FDS.
3139 * manual/install.texi (Configuring and compiling): Mention
3140 --enable-pt_chown. Add @findex for grantpt.
3141 * INSTALL: Regenerate.
3142
da2d62df
DM
31432013-07-20 David S. Miller <davem@davemloft.net>
3144
3145 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
3146 difference between 32-bit and 64-bit.
3147
d7e06450
CD
31482013-07-15 Carlos O'Donell <carlos@redhat.com>
3149
3150 [BZ #15711]
3151 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
3152 Avoid system header dependency with -ffreestanding.
3153 ($(objpfx)bits/syscall%d): Likewise.
3154
f959cfd7
DM
31552013-07-13 David S. Miller <davem@davemloft.net>
3156
3157 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
3158 underflows from atanl/atan2l due to bug 15319.
3159 (casinh_test_data): Likewise.
3160
c61f8513
DM
31612013-07-07 David S. Miller <davem@davemloft.net>
3162
3163 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3164
72c90ed0
JA
31652013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
3166
3167 * sysdeps/i386/fpu/libm-test-ulps: Update.
3168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3169
52dfbe13
SP
31702013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3171
3172 * configure.in (--enable-lock-elision): Fix message text.
3173 * INSTALL: Regenerate.
3174 * configure: Regenerate.
3175
3f169543
AZ
31762013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3177
3178 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3179
521c6785
AJ
31802013-07-03 Andreas Jaeger <aj@suse.de>
3181
3182 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
3183 define.
3184 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
3185 (ptrace_peeksiginfo_args): Add.
3186 (__ptrace_peeksiginfo_flags): Add.
3187 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3188 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3189 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3190
d2cc15cb
AM
31912013-07-03 Allan McRae <allan@archlinux.org>
3192
3193 * sysdeps/i386/fpu/libm-test-ulps: Update.
3194
3aaeeca7
DM
31952013-07-02 David S. Miller <davem@davemloft.net>
3196
3197 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3198
5314ed1a
MT
31992013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
3200
3201 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3202
67338156
JM
32032013-07-02 Joseph Myers <joseph@codesourcery.com>
3204
3205 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3207
1717da59
AK
32082013-07-02 Andi Kleen <ak@linux.intel.com>
3209
3210 * config.h.in (ENABLE_LOCK_ELISION): Add.
3211 * configure.in (--enable-lock-elision): Add option.
3212 * manual/install.texi: Document --enable lock elision.
3213 * configure: Regenerate
3214 * INSTALL: Regenerate.
3215
1c81621c
L
32162013-07-02 H.J. Lu <hongjiu.lu@intel.com>
3217
3218 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
3219 SSE4.2 strcasecmp for libc.a.
3220 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3221
77f01ab5
JM
32222013-07-02 Joseph Myers <joseph@codesourcery.com>
3223
3224 [BZ #13304]
3225 * soft-fp/op-common.h (_FP_FMA): New macro.
3226 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
3227 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
3228 (_FP_MUL_MEAT_1_imm): ... here.
3229 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
3230 (_FP_MUL_MEAT_1_wide): ... here.
3231 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
3232 (_FP_MUL_MEAT_1_hard): ... here.
3233 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
3234 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
3235 (_FP_MUL_MEAT_2_wide): ... here.
3236 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
3237 (_FP_MUL_MEAT_2_wide_3mul): ... here.
3238 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
3239 (_FP_MUL_MEAT_2_gmp): ... here.
3240 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
3241 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
3242 (_FP_MUL_MEAT_4_wide): ... here.
3243 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
3244 (_FP_MUL_MEAT_4_gmp): ... here.
3245 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
3246 (_FP_WFRACBITS_DW_S): Likewise.
3247 (_FP_WFRACXBITS_DW_S): Likewise.
3248 (_FP_HIGHBIT_DW_S): Likewise.
3249 (FP_FMA_S): Likewise.
3250 (_FP_FRAC_HIGH_DW_S): Likewise.
3251 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
3252 (_FP_WFRACBITS_DW_D): Likewise.
3253 (_FP_WFRACXBITS_DW_D): Likewise.
3254 (_FP_HIGHBIT_DW_D): Likewise.
3255 (FP_FMA_D): Likewise.
3256 (_FP_FRAC_HIGH_DW_D): Likewise.
3257 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
3258 (_FP_WFRACBITS_DW_E): Likewise.
3259 (_FP_WFRACXBITS_DW_E): Likewise.
3260 (_FP_HIGHBIT_DW_E): Likewise.
3261 (FP_FMA_E): Likewise.
3262 (_FP_FRAC_HIGH_DW_E): Likewise.
3263 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
3264 (_FP_WFRACBITS_DW_Q): Likewise.
3265 (_FP_WFRACXBITS_DW_Q): Likewise.
3266 (_FP_HIGHBIT_DW_Q): Likewise.
3267 (FP_FMA_Q): Likewise.
3268 (_FP_FRAC_HIGH_DW_Q): Likewise.
3269 * soft-fp/fmasf4.c: New file.
3270 * soft-fp/fmadf4.c: Likewise.
3271 * soft-fp/fmatf4.c: Likewise.
3272
6308fd9a
LD
32732013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3274
3275 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
3276 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
3277 Silvermont.
3278 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
3279 macro.
3280 (index_Slow_SSE4_2): Likewise.
3281 (index_Prefer_PMINUB_for_stringop): Likewise.
3282 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
3283 bit_Slow_SSE4_2 is set.
3284 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3285 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3286
89cd9569
RA
32872013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3288
3289 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
3290 rtld_global._dl_hwcap2.
3291 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
3292 POWER8.
3293 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
3294 POWER8 feature descriptions defined in _dl_hwcap2.
3295 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
3296 string handling for POWER8 feature bits.
3297 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
3298 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
3299 _dl_powerpc_cap_flags.
3300 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
3301 * sysdeps/powerpc/rtld-global-offsets.sym
3302 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
3303 _dl_hwcap2 in the rtld_global_ro structure.
3304
1ae8bfe0
RA
33052013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3306
3307 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
3308 hardware capabilities in support of AT_HWCAP2.
3309 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
3310 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
3311 GLRO(dl_hwcap2).
3312 (_dl_show_auxv): Add support for calling _dl_procinfo to display
3313 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
3314 explicitly the unknown a_type display mechanism is used.
3315 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
3316 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
3317 struct member.
3318 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
3319 to macro prototype for AT_HWCAP2 support.
3320 * sysdeps/i386/dl-procinfo.h: Likewise.
3321 * sysdeps/s390/dl-procinfo.h: Likewise.
3322 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
3323 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
3324 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
3325 return -1 for unknown a_type display fallback.
3326 * sysdeps/sparc/dl-procinfo.h: Likewise.
3327 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
3328 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3329
8fbec010
JM
33302013-06-28 Joseph Myers <joseph@codesourcery.com>
3331
3332 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
3333 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
3334
0432680e
PY
33352013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
3336
3337 [BZ #12492]
3338 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
3339 mprotect making __stack_prot writable.
3340
ce61a2ad
NF
33412013-06-28 Nathan Froyd <froydnj@codesourcery.com>
3342 Joseph Myers <joseph@codesourcery.com>
3343
3344 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
3345 as being properly aligned.
3346
f91f1c0f
MR
33472013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
3348
3d0f5d0c
MR
3349 * dlfcn/modstatic5.c: New file.
3350 * dlfcn/tststatic5.c: New file.
3351 * dlfcn/Makefile (tests): Add tststatic5.
3352 (tests-static): Likewise.
3353 (modules-names): Add modstatic5.
3354 (tststatic5-ENV): New variable.
3355 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
3356
f91f1c0f
MR
3357 [BZ #15022]
3358 * elf/dl-support.c (_dl_main_map): New variable.
3359 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
3360 (_dl_nns, _dl_load_adds): Set to 1.
3361 (_dl_initial_searchlist): Refer to _dl_main_map.
3362 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
3363 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
3364 call to _dl_get_origin.
3365 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
3366 around call_map.
3367 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
3368 * dlfcn/modstatic3.c: New file.
3369 * dlfcn/tststatic3.c: New file.
3370 * dlfcn/tststatic4.c: New file.
3371 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
3372 (tests-static): Likewise.
3373 (modules-names): Add modstatic3.
3374 (tststatic3-ENV, tststatic4-ENV): New variables.
3375 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
3376 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
3377
cbe7d24b
JM
33782013-06-26 Joseph Myers <joseph@codesourcery.com>
3379
3380 * configure.in (CC): Require GCC version 4.4 or later.
3381 * configure: Regenerated.
3382 * manual/install.texi (Tools for Compilation): Update GCC version
3383 requirement.
3384 * INSTALL: Regenerated.
3385
11b8a0e1
LD
33862013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3387
3388 [BZ #15674]
bb5bb87c
L
3389 * string/test-memcmp.c (check2): New.
3390 (main): Call check2.
3391
11b8a0e1
LD
3392 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
3393
b0037103
MR
33942013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
3395
3396 [BZ #15022]
3397 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
3398 over to...
3399 (dl_open_worker) [!SHARED]: ... here.
3400
c18c701d
RA
34012013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3402
3403 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
3404
1d17fa5f
RH
34052013-06-25 Richard Henderson <rth@redhat.com>
3406
3407 * locale/programs/locarchive.c: Include <libc-internal.h>
3408
8fcb833a
JM
34092013-06-25 Joseph Myers <joseph@codesourcery.com>
3410
3411 * manual/texinfo.tex: Update to version 2013-06-21.17, with
3412 trailing whitespace removed.
3413
17db6e8d
MF
34142013-06-24 Mike Frysinger <vapier@gentoo.org>
3415
3416 [BZ #10283]
17db6e8d
MF
3417 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
3418 * locale/programs/locarchive.c: Include libc-mmap.h.
3419 (prepare_address_space): Take two new outputs (the mmap base and len).
3420 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
3421 values.
3422 (create_archive): Declare new mmap base and len values for
3423 prepare_address_space, and store the result in ah.
3424 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
3425 (enlarge_archive): If ah->mmap_base is not NULL, use that and
3426 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3427 Declare new mmap base and len values for
3428 prepare_address_space, and store the result in new_ah.
3429 (open_archive): Declare new mmap base and len values for
3430 prepare_address_space, and store the result in ah.
3431 (close_archive): If ah->mmap_base is not NULL, use that and
3432 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3433 * sysdeps/generic/libc-mmap.h: New file.
3434
d605071e
MF
34352013-06-24 Mike Frysinger <vapier@gentoo.org>
3436
3437 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
3438 (ALIGN_UP): Likewise.
3439 (PTR_ALIGN_DOWN): Likewise.
3440 (PTR_ALIGN_UP): Likewise.
3441
2f063a6e
RA
34422013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3443
3444 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
3445 entry mapped to PPC_PLATFORM_POWER8.
3446 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
3447 POWER8.
3448 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
3449 (_dl_string_platform): Add case for exporting platform position for
3450 POWER8.
3451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
3452 search path to sysdeps/powerpc/powerpc32/power8 directory.
3453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
3454 search path to sysdeps/powerpc/powerpc64/power8 directory.
3455 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
3456 power7 directories.
3457 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
3458 power7 directories.
3459
a31ee4b3
SP
34602013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3461
a74ca98f
SP
3462 * INSTALL: Regenerate.
3463
a31ee4b3
SP
3464 * nscd/connections.c (nscd_init): Fix comment.
3465
695c378f
JM
34662013-06-22 Joseph Myers <joseph@codesourcery.com>
3467
d8412221
JM
3468 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
3469
695c378f
JM
3470 [BZ #15667]
3471 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
3472 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
3473
d1d54715
MR
34742013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
3475
3476 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
3477 DL_DST_REQ_STATIC.
3478 (DL_DST_REQ_STATIC): Remove macro.
3479
8fdda7af
JM
34802013-06-21 Joseph Myers <joseph@codesourcery.com>
3481
3482 [BZ #7006]
3483 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
3484 with a shift of 0 bits.
3485
f3bc5e5a
MR
34862013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
3487
3488 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
3489 $(tststatic-ENV).
3490
be09e8c9
KK
34912013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3492
3493 [BZ #15655]
3494 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
3495
85c2e611
AZ
34962013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3497
3498 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
3499 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
3500 accepts -fno-tree-loop-distribute-patterns.
3501 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
3502 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
3503 recursive call.
3504 * string/memset.c (memset): Likewise.
3505 * string/test-memmove.c (simple_memmove): Disable loop transformation
3506 to library calls.
3507 * string/test-memset.c (simple_memset): Likewise.
3508 * benchtests/bench-memmove.c (simple_memmove): Likewise.
3509 * benchtests/bench-memset.c (simple_memset): Likewise.
3510 * configure: Regenerated.
3511
c91e0825
JM
35122013-06-20 Joseph Myers <joseph@codesourcery.com>
3513
b8c792af
JM
3514 * math/test-misc.c (main): Ignore fesetround failure when failures
3515 of subsequent rounding tests would be ignored.
3516
c91e0825
JM
3517 [BZ #15654]
3518 * math/fedisblxcpt.c (fedisableexcept): Return 0.
3519 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
3520 * math/fegetenv.c (__fegetenv): Return 0.
3521 * math/fegetexcept.c (fegetexcept): Return 0.
3522 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
3523 FE_TONEAREST.
3524 * math/feholdexcpt.c (feholdexcept): Return 0.
3525 * math/fesetenv.c (__fesetenv): Return 0.
3526 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
3527 argument FE_TONEAREST.
3528 * math/feupdateenv.c (__feupdateenv): Return 0.
3529 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
3530
bfcacbde
RM
35312013-06-18 Roland McGrath <roland@hack.frob.com>
3532
3533 * elf/rtld-Rules (rtld-compile-command.S): New variable.
3534 (rtld-compile-command.s, rtld-compile-command.c): New variables.
3535 ($(objpfx)rtld-%.os rules): Use them.
3536
e55a9b25
AZ
35372013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3538
3539 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
3540 fields.
3541
346d65b3
RM
35422013-06-17 Roland McGrath <roland@hack.frob.com>
3543
12086fb4
RM
3544 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
3545 length of target pattern, then descending length of dependency pattern.
3546 * configure.in (AWK): Require gawk 3.1.2 or newer.
3547 * manual/install.texi (Tools for Compilation): Say that we do.
3548 * configure: Regenerated.
3549
346d65b3
RM
3550 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
3551 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
3552 * scripts/sysd-rules.awk: ... this new script.
3553 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
3554 than a glob-style pattern.
3555
1a846317
JM
35562013-06-17 Joseph Myers <joseph@codesourcery.com>
3557
3558 * math/test-misc.c (main): Do not treat incorrectly rounded
3559 conversions as failure unless ROUNDING_TESTS passes.
3560
8fc75e6f
JM
35612013-06-15 Joseph Myers <joseph@codesourcery.com>
3562
3711a167
JM
3563 [BZ #15631]
3564 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
3565 restore exception state around main square root computation, then
3566 check for inexactness explicitly.
3567
8fc75e6f
JM
3568 * math/libm-test.inc (fma_test_data): Add another test.
3569
61dd6208
SP
35702013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3571
adf23d2c
SP
3572 * manual/threads.texi (Non-POSIX Extensions): New document
3573 node. Document pthread_getattr_default_np and
3574 pthread_setattr_default_np.
3575
61dd6208
SP
3576 * Versions.def (libpthread): Add GLIBC_2.18.
3577 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
3578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3579 Likewise.
3580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3581 Likewise.
3582 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3583 Likewise.
3584 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3585 Likewise.
3586 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
3587 Likewise.
3588 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3589 Likewise.
3590 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3591 Likewise.
3592 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3593 Likewise.
3594 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3595 Likewise.
3596
d086fc7b
LD
35972013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3598
3599 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3600 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
3601
747ef469
SP
36022013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3603 H.J. Lu <hjl.tools@gmail.com>
3604
3605 [BZ #15627]
3606 * sysdeps/x86_64/rtld-memset.c: Remove file.
3607 * sysdeps/x86_64/rtld-memset.S: New file.
3608
1b2feed2
JM
36092013-06-14 Joseph Myers <joseph@codesourcery.com>
3610
3611 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
3612 (test_in_one_mode): Take arguments for whether the rounding mode
3613 is supported for each floating-point type.
3614 (do_test): Pass new arguments to test_in_one_mode using
3615 ROUNDING_TESTS.
3616
a58ad3f8
RM
36172013-06-13 Roland McGrath <roland@hack.frob.com>
3618
3619 * posix/tst-waitid.c (do_test): Distinguish different instances of
3620 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
3621 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
3622 before entering the kernel for waitpid.
3623
c204ab28
SP
36242013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3625
3626 * NEWS: Fix note on clock function precision. Text by Roland
3627 McGrath.
3628
f4a29fba
RM
36292013-06-13 Roland McGrath <roland@hack.frob.com>
3630
3631 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
3632 it into place only when and if the sanity check passes.
3633
1f24b9ad
JM
36342013-06-13 Joseph Myers <joseph@codesourcery.com>
3635
3636 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
3637 output for whether conversion result is exact. Take argument
3638 indicating whether type is IBM long double.
3639 (round_for_all): Change need_exact field to ibm_ld.
3640 * stdlib/tst-strtod-round.c (struct exactness): New type.
3641 (struct test): Change bool ld_ok field to struct exactness exact.
3642 (TEST): Update all definitions for change to field.
3643 (tests): Regenerate array contents.
3644 (test_in_one_mode): Take pointer to new field instead of old ld_ok
3645 field value. Check for IBM long double here.
3646 (do_test): Update calls to test_in_one_mode.
3647
58206c68
SP
36482013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3649
3650 [BZ #12515]
3651 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
3652 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
3653
2d6f4c5b 36542013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
3655
3656 [BZ #15605]
3657 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
3658 generated by the compiler on loop optimizations.
3659 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
3660 general definitions.
3661
94f2c076
JM
36622013-06-12 Joseph Myers <joseph@codesourcery.com>
3663
3664 * math/bug-nextafter.c: Include <math-tests.h>.
3665 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3666 the relevant type.
3667 * math/bug-nexttoward.c: Include <math-tests.h>.
3668 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3669 the relevant type.
3670 * math/test-misc.c: Include <math-tests.h>.
3671 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3672 the relevant type.
3673
e0e50a0a
AJ
36742013-06-12 Andreas Jaeger <aj@suse.de>
3675
3676 * po/ia.po: Update Interlingua translation from translation
3677 project.
3678
25061094
SP
36792013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3680
3681 * include/fenv.h: Include stdbool.h.
3682 (struct rm_ctx): New structure.
3683 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
3684 Define macro.
3685 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
3686 (SET_RESTORE_ROUNDF): Likewise.
3687 (SET_RESTORE_ROUNDL): Likewise.
3688 (SET_RESTORE_ROUND_NOEX): Likewise.
3689 (SET_RESTORE_ROUND_NOEXF): Likewise.
3690 (SET_RESTORE_ROUND_NOEXL): Likewise.
3691 (SET_RESTORE_ROUND_53BIT): Likewise.
3692 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
3693 (libc_feresetround_noexf_ctx): Likewise.
3694 (libc_feresetround_noexl_ctx): Likewise.
3695 (libc_feholdsetround_53bit_ctx): Likewise.
3696 (libc_feresetround_53bit_ctx): Likewise.
3697 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
3698 (libc_feholdexcept_setround_sse_ctx): New function.
3699 (libc_fesetenv_sse_ctx): Likewise.
3700 (libc_feupdateenv_sse_ctx): Likewise.
3701 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
3702 (libc_feholdexcept_setround_387_ctx): Likewise.
3703 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
3704 (libc_feholdsetround_387_prec_ctx): Likewise.
3705 (libc_feholdsetround_387_ctx): Likewise.
3706 (libc_feholdsetround_387_53bit_ctx): Likewise.
3707 (libc_feholdsetround_sse_ctx): Likewise.
3708 (libc_feresetround_sse_ctx): Likewise.
3709 (libc_feresetround_387_ctx): Likewise.
3710 (libc_feupdateenv_387_ctx): Likewise.
3711 (libc_feholdexcept_setroundf_ctx): Define macro.
3712 (libc_fesetenvf_ctx): Likewise.
3713 (libc_feupdateenvf_ctx): Likewise.
3714 (libc_feholdsetroundf_ctx): Likewise.
3715 (libc_feresetroundf_ctx): Likewise.
3716 (libc_feholdexcept_setround_ctx): Likewise.
3717 (libc_fesetenv_ctx): Likewise.
3718 (libc_feupdateenv_ctx): Likewise.
3719 (libc_feholdsetround_ctx): Likewise.
3720 (libc_feresetround_ctx): Likewise.
3721 (libc_feholdexcept_setroundl_ctx): Likewise.
3722 (libc_feupdateenvl_ctx): Likewise.
3723 (libc_feholdsetroundl_ctx): Likewise.
3724 (libc_feresetroundl_ctx): Likewise.
3725 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
3726 (libc_feresetround_53bit_ctx): Likewise.
3727
59b30555
SP
37282013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3729
3730 * locale/iso-639.def: Convert to UTF-8.
3731
f1d73d30
JM
37322013-06-11 Joseph Myers <joseph@codesourcery.com>
3733
3734 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
3735 (EXCEPTION_TESTS_double): Likewise.
3736 (EXCEPTION_TESTS_long_double): Likewise.
3737 (EXCEPTION_TESTS): Likewise.
3738 * math/libm-test.inc (test_exceptions): Only test exceptions if
3739 EXCEPTION_TESTS (FLOAT).
3740
94aca5e7
SP
37412013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3742
3743 * benchtests/Makefile (string-bench): Add strcpy_chk and
3744 stpcpy_chk.
3745 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
3746 * benchtests/bench-stpcpy_chk.c: New file.
3747 * benchtests/bench-strcpy_chk-ifunc.c: New file.
3748 * benchtests/bench-strcpy_chk.c: New file.
3749 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
3750 code.
3751 (do_test): Likewise.
3752
fac0c5f2
RA
37532013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3754
3755 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
3756 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
3757 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
3758 with tabs where appropriate.
3759 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
3760 dl-procinfo.h.
3761 [PPC_PLATFORM_PPC440]: Likewise.
3762 [PPC_PLATFORM_PPC464]: Likewise.
3763 [PPC_PLATFORM_PPC476]: Likewise.
3764 (_dl_string_platform): Add support for detecting ppc405, ppc440,
3765 ppc464, and ppc476 platform strings merging from ports/
3766 dl-procinfo.h.
3767
f22bc486
AS
37682013-06-11 Andreas Schwab <schwab@suse.de>
3769
3770 [BZ #14991]
3771 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
3772 (from_ucs4_idx): Regenerate.
3773 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
3774 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
3775 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
3776 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
3777 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
3778 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
3779 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
3780 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
3781 from FROM_LOOP and TO_LOOP specific macros.
3782 (BODY): Handle combining characters.
3783 * iconvdata/BIG5HKSCS.irreversible: Update.
3784 * iconvdata/BIG5HKSCS.precomposed: New file.
3785 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
3786 characters.
3787 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
3788
c1f75dc3
SP
37892013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3790
4eacded2
SP
3791 * include/sys/time.h: Fix indentation and add copyright header.
3792
fec799f8
SP
3793 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
3794 (do_test): Likewise.
3795 * string/test-memchr.c (do_one_test): Likewise.
3796 (do_test): Likewise.
3797 * string/test-memcmp.c (do_one_test): Likewise.
3798 (do_test): Likewise.
3799 * string/test-memcpy.c (do_one_test): Likewise.
3800 (do_test): Likewise.
3801 * string/test-memmem.c (do_one_test): Likewise.
3802 (do_test): Likewise.
3803 (do_random_tests): Likewise.
3804 * string/test-memmove.c (do_one_test): Likewise.
3805 (do_test): Likewise.
3806 * string/test-memset.c (do_one_test): Likewise.
3807 (do_test): Likewise.
3808 * string/test-rawmemchr.c (do_one_test): Likewise.
3809 (do_test): Likewise.
3810 * string/test-strcasecmp.c (do_one_test): Likewise.
3811 (do_test): Likewise.
3812 * string/test-strcasestr.c (do_one_test): Likewise.
3813 (do_test): Likewise.
3814 * string/test-strcat.c (do_one_test): Likewise.
3815 (do_test): Likewise.
3816 * string/test-strchr.c (do_one_test): Likewise.
3817 (do_test): Likewise.
3818 * string/test-strcmp.c (do_one_test): Likewise.
3819 (do_test): Likewise.
3820 * string/test-strcpy.c (do_one_test): Likewise.
3821 (do_test): Likewise.
3822 * string/test-string.h: Likewise.
3823 (test_init): Likewise.
3824 * string/test-strlen.c (do_one_test): Likewise.
3825 (do_test): Likewise.
3826 * string/test-strncasecmp.c (do_one_test): Likewise.
3827 (do_test): Likewise.
3828 * string/test-strncat.c (do_one_test): Likewise.
3829 (do_test): Likewise.
3830 * string/test-strncmp.c (do_one_test): Likewise.
3831 (do_test_limit): Likewise.
3832 (do_test): Likewise.
3833 * string/test-strncpy.c (do_one_test): Likewise.
3834 (do_test): Likewise.
3835 * string/test-strnlen.c (do_one_test): Likewise.
3836 (do_test): Likewise.
3837 * string/test-strpbrk.c (do_one_test): Likewise.
3838 (do_test): Likewise.
3839 * string/test-strrchr.c (do_one_test): Likewise.
3840 (do_test): Likewise.
3841 * string/test-strspn.c (do_one_test): Likewise.
3842 (do_test): Likewise.
3843 * string/test-strstr.c (do_one_test): Likewise.
3844 (do_test): Likewise.
3845
97020474
SP
3846 * benchtests/Makefile (string-bench): Add string benchmarks.
3847 * benchtests/bench-bcopy-ifunc.c: New file.
3848 * benchtests/bench-bcopy.c: New file.
3849 * benchtests/bench-bzero-ifunc.c: New file.
3850 * benchtests/bench-bzero.c: New file.
3851 * benchtests/bench-memccpy-ifunc.c: New file.
3852 * benchtests/bench-memccpy.c: New file.
3853 * benchtests/bench-memchr-ifunc.c: New file.
3854 * benchtests/bench-memchr.c: New file.
3855 * benchtests/bench-memcmp-ifunc.c: New file.
3856 * benchtests/bench-memcmp.c: New file.
3857 * benchtests/bench-memmem-ifunc.c: New file.
3858 * benchtests/bench-memmem.c: New file.
3859 * benchtests/bench-memmove-ifunc.c: New file.
3860 * benchtests/bench-memmove.c: New file.
3861 * benchtests/bench-mempcpy-ifunc.c: New file.
3862 * benchtests/bench-mempcpy.c: New file.
3863 * benchtests/bench-memset-ifunc.c: New file.
3864 * benchtests/bench-memset.c: New file.
3865 * benchtests/bench-rawmemchr-ifunc.c: New file.
3866 * benchtests/bench-rawmemchr.c: New file.
3867 * benchtests/bench-stpcpy-ifunc.c: New file.
3868 * benchtests/bench-stpcpy.c: New file.
3869 * benchtests/bench-stpncpy-ifunc.c: New file.
3870 * benchtests/bench-stpncpy.c: New file.
3871 * benchtests/bench-strcasecmp-ifunc.c: New file.
3872 * benchtests/bench-strcasecmp.c: New file.
3873 * benchtests/bench-strcasestr-ifunc.c: New file.
3874 * benchtests/bench-strcasestr.c: New file.
3875 * benchtests/bench-strcat-ifunc.c: New file.
3876 * benchtests/bench-strcat.c: New file.
3877 * benchtests/bench-strchr-ifunc.c: New file.
3878 * benchtests/bench-strchr.c: New file.
3879 * benchtests/bench-strchrnul-ifunc.c: New file.
3880 * benchtests/bench-strchrnul.c: New file.
3881 * benchtests/bench-strcmp-ifunc.c: New file.
3882 * benchtests/bench-strcmp.c: New file.
3883 * benchtests/bench-strcpy-ifunc.c: New file.
3884 * benchtests/bench-strcpy.c: New file.
3885 * benchtests/bench-strcspn-ifunc.c: New file.
3886 * benchtests/bench-strcspn.c: New file.
3887 * benchtests/bench-strlen-ifunc.c: New file.
3888 * benchtests/bench-strlen.c: New file.
3889 * benchtests/bench-strncasecmp-ifunc.c: New file.
3890 * benchtests/bench-strncasecmp.c: New file.
3891 * benchtests/bench-strncat-ifunc.c: New file.
3892 * benchtests/bench-strncat.c: New file.
3893 * benchtests/bench-strncmp-ifunc.c: New file.
3894 * benchtests/bench-strncmp.c: New file.
3895 * benchtests/bench-strncpy-ifunc.c: New file.
3896 * benchtests/bench-strncpy.c: New file.
3897 * benchtests/bench-strnlen-ifunc.c: New file.
3898 * benchtests/bench-strnlen.c: New file.
3899 * benchtests/bench-strpbrk-ifunc.c: New file.
3900 * benchtests/bench-strpbrk.c: New file.
3901 * benchtests/bench-strrchr-ifunc.c: New file.
3902 * benchtests/bench-strrchr.c: New file.
3903 * benchtests/bench-strspn-ifunc.c: New file.
3904 * benchtests/bench-strspn.c: New file.
3905 * benchtests/bench-strstr-ifunc.c: New file.
3906 * benchtests/bench-strstr.c: New file.
3907
c1f75dc3
SP
3908 * benchtests/Makefile: Disable parallel execution of targets.
3909 (string-bench): Add memcpy.
3910 (benchset): New variable to store a list of benchmark sets.
3911 (bench-func): Renamed from bench.
3912 (bench-set): New target.
3913 (bench): Depend on bench-func and bench-set.
3914 * benchtests/README: Add section on benchmark sets.
3915 * benchtests/bench-memcpy-ifunc.c: New file.
3916 * benchtests/bench-memcpy.c: New file.
3917 * benchtests/bench-string.h: New file.
3918
50fd745b
AS
39192013-06-11 Andreas Schwab <schwab@suse.de>
3920
3921 [BZ #15577]
3922 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
3923 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
3924 values in the triple.
3925 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
3926 terminator in the group key.
3927
3ee7e9fe
AJ
39282013-06-11 Andreas Jaeger <aj@suse.de>
3929
3930 * po/zh_TW.po: Update Chinese (traditional) translation from
3931 translation project.
3932
89fb6835
SP
39332013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3934
3935 * include/time.h (__clock_gettime): Add libc_hidden_proto.
3936 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
3937 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
3938 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3939 (clock_getcpuclockid): Likewise.
3940 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
3941 Add weak_alias and libc_hidden_def.
3942 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
3943 * rt/clock_gettime.c (clock_gettime): Rename to
3944 __clock_gettime. Add weak_alias and libc_hidden_def.
3945 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
3946 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
3947 __clock_nanosleep. Add weak_alias and libc_hidden_def.
3948 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
3949 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
3950 Likewise.
3951 * rt/clock_settime.c (clock_settime): Rename to
3952 __clock_settime. Add weak_alias and libc_hidden_def.
3953 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
3954
0efa6f8b
JM
39552013-06-10 Joseph Myers <joseph@codesourcery.com>
3956
b8c61b4b
JM
3957 * mach/err_boot.sub: Remove trailing whitespace.
3958 * mach/err_ipc.sub: Likewise.
3959 * mach/err_mach.sub: Likewise.
3960
0efa6f8b
JM
3961 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
3962 (ROUNDING_TESTS_double): Likewise.
3963 (ROUNDING_TESTS_long_double): Likewise.
3964 (ROUNDING_TESTS): Likewise.
3965 * math/libm-test.inc: Include <math-tests.h>.
3966 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
3967 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3968 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3969 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3970
50b818bf
SP
39712013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3972
3973 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
3974 of assigning.
3975
60d2f8f3
JM
39762013-06-08 Joseph Myers <joseph@codesourcery.com>
3977
4902d2c3
JM
3978 * sysdeps/gnu/errlist.awk: Do not generate space at end of
3979 otherwise empty TRANS lines.
3980 * sysdeps/gnu/errlist.c: Regenerated.
3981
60d2f8f3
JM
3982 * catgets/gencat.c (error_print): Use (void) in function
3983 definition.
3984 * crypt/crypt_util.c (__init_des): Likewise.
3985 * crypt/speeds.c (Stop): Likewise.
3986 (main): Likewise.
3987 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
3988 * inet/ruserpass.c (token): Likewise.
3989 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
3990 * intl/localealias.c (extend_alias_table): Likewise.
3991 * intl/plural-exp.c (init_germanic_plural): Likewise.
3992 * libio/fcloseall.c (__fcloseall): Likewise.
3993 * libio/genops.c (_IO_flush_all): Likewise.
3994 (_IO_flush_all_linebuffered): Likewise.
3995 (_IO_cleanup): Likewise.
3996 (_IO_iter_begin): Likewise.
3997 (_IO_iter_end): Likewise.
3998 (_IO_list_lock): Likewise.
3999 (_IO_list_unlock): Likewise.
4000 (_IO_list_resetlock): Likewise.
4001 * libio/getchar.c (getchar): Likewise.
4002 * libio/getchar_u.c (getchar_unlocked): Likewise.
4003 * libio/getwchar.c (getwchar): Likewise.
4004 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
4005 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
4006 * login/getpt.c (__getpt): Likewise.
4007 * login/tst-utmp.c (main): Likewise.
4008 * malloc/hooks.c (__malloc_check_init): Likewise.
4009 * malloc/malloc.c (__malloc_stats): Likewise.
4010 * malloc/mtrace.c (tr_break): Likewise.
4011 (mtrace): Likewise.
4012 (muntrace): Likewise.
4013 * misc/fstab.c (endfsent): Likewise.
4014 * misc/getclktck.c (__getclktck): Likewise.
4015 * misc/getdtsz.c (__getdtablesize): Likewise.
4016 * misc/gethostid.c (gethostid): Likewise.
4017 * misc/getpagesize.c (__getpagesize): Likewise.
4018 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
4019 (__get_nprocs): Likewise.
4020 (__get_phys_pages): Likewise.
4021 (__get_avphys_pages): Likewise.
4022 * misc/getttyent.c (getttyent): Likewise.
4023 (setttyent): Likewise.
4024 (endttyent): Likewise.
4025 * misc/getusershell.c (getusershell): Likewise.
4026 (endusershell): Likewise.
4027 (setusershell): Likewise.
4028 (initshells): Likewise.
4029 * misc/hsearch.c (__hdestroy): Likewise.
4030 * misc/sync.c (sync): Likewise.
4031 * misc/syslog.c (closelog_internal): Likewise.
4032 (closelog): Likewise.
4033 * misc/ttyslot.c (ttyslot): Likewise.
4034 * misc/vhangup.c (vhangup): Likewise.
4035 * posix/fork.c (__fork): Likewise.
4036 * posix/getegid.c (__getegid): Likewise.
4037 * posix/geteuid.c (__geteuid): Likewise.
4038 * posix/getgid.c (__getgid): Likewise.
4039 * posix/getpid.c (__getpid): Likewise.
4040 * posix/getppid.c (__getppid): Likewise.
4041 * posix/getuid.c (__getuid): Likewise.
4042 * posix/pause.c (pause): Likewise.
4043 * posix/setpgrp.c (setpgrp): Likewise.
4044 * posix/setsid.c (__setsid): Likewise.
4045 * posix/test-vfork.c (noop): Likewise.
4046 * resolv/gethnamaddr.c (_endhtent): Likewise.
4047 (_gethtent): Likewise.
4048 (ht_endhostent): Likewise.
4049 (gethostent): Likewise.
4050 (dns_service): Likewise.
4051 * stdlib/drand48.c (drand48): Likewise.
4052 * stdlib/lrand48.c (lrand48): Likewise.
4053 * stdlib/mrand48.c (mrand48): Likewise.
4054 * stdlib/rand.c (rand): Likewise.
4055 * stdlib/random.c (__random): Likewise.
4056 * stdlib/setenv.c (clearenv): Likewise.
4057 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
4058 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
4059 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
4060 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
4061 (__get_nprocs): Likewise.
4062 (__get_phys_pages): Likewise.
4063 (__get_avphys_pages): Likewise.
4064 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
4065 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
4066 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
4067 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
4068 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
4069 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
4070 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
4071 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
4072 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
4073 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
4074 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
4075 * sysdeps/mach/hurd/sync.c (sync): Likewise.
4076 * sysdeps/posix/clock.c (clock): Likewise.
4077 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
4078 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
4079 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
4080 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
4081 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
4082 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
4083 (__get_nprocs_conf): Likewise.
4084 (__get_phys_pages): Likewise.
4085 (__get_avphys_pages): Likewise.
4086 * time/clock.c (clock): Likewise.
4087 * time/tzset.c (__tzname_max): Likewise.
4088
2e09a79a
JM
40892013-06-07 Joseph Myers <joseph@codesourcery.com>
4090
4091 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
4092 (__bswap_32): Do not use "register".
4093 * crypt/crypt.c (_ufc_doit_r): Likewise.
4094 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4095 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4096 * gmon/gmon.c (__monstartup): Likewise.
4097 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
4098 * hurd/hurdmalloc.c (more_memory): Likewise.
4099 (malloc): Likewise.
4100 (free): Likewise.
4101 (realloc): Likewise.
4102 (malloc_fork_prepare): Likewise.
4103 (malloc_fork_parent): Likewise.
4104 (malloc_fork_child): Likewise.
4105 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
4106 (_svcauth_des): Likewise.
4107 * inet/inet_lnaof.c (inet_lnaof): Likewise.
4108 * inet/inet_net.c (inet_network): Likewise.
4109 * inet/inet_netof.c (inet_netof): Likewise.
4110 * inet/rcmd.c (__validuser2_sa): Likewise.
4111 * io/fts.c (fts_open): Likewise.
4112 (fts_load): Likewise.
4113 (fts_close): Likewise.
4114 (fts_read): Likewise.
4115 (fts_children): Likewise.
4116 (fts_build): Likewise.
4117 (fts_stat): Likewise.
4118 (fts_sort): Likewise.
4119 (fts_alloc): Likewise.
4120 (fts_lfree): Likewise.
4121 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
4122 (_IO_file_xsgetn): Likewise.
4123 (_IO_file_xsgetn_mmap): Likewise.
4124 * libio/iofopncook.c (_IO_cookie_read): Likewise.
4125 (_IO_cookie_write): Likewise.
4126 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
4127 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
4128 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
4129 * malloc/obstack.c (_obstack_begin): Likewise.
4130 (_obstack_begin_1): Likewise.
4131 (_obstack_newchunk): Likewise.
4132 (_obstack_allocated_p): Likewise.
4133 (obstack_free): Likewise.
4134 (_obstack_memory_used): Likewise.
4135 * misc/getttyent.c (getttynam): Likewise.
4136 (getttyent): Likewise.
4137 (skip): Likewise.
4138 (value): Likewise.
4139 * misc/getusershell.c (initshells): Likewise.
4140 * misc/syslog.c (__vsyslog_chk): Likewise.
4141 * misc/ttyslot.c (ttyslot): Likewise.
4142 * nis/nis_hash.c (__nis_hash): Likewise.
4143 * posix/fnmatch_loop.c (FCT): Likewise.
4144 * posix/getconf.c (print_all): Likewise.
4145 (main): Likewise.
4146 * posix/getopt.c (exchange): Likewise.
4147 * posix/glob.c (globfree): Likewise.
4148 (prefix_array): Likewise.
4149 (__glob_pattern_type): Likewise.
4150 * resolv/arpa/nameser.h (NS_GET16): Likewise.
4151 (NS_GET32): Likewise.
4152 (NS_PUT16): Likewise.
4153 (NS_PUT32): Likewise.
4154 * resolv/gethnamaddr.c (getanswer): Likewise.
4155 (gethostbyname2): Likewise.
4156 (gethostbyaddr): Likewise.
4157 (_gethtent): Likewise.
4158 (_gethtbyname2): Likewise.
4159 (_gethtbyaddr): Likewise.
4160 * resolv/ns_print.c (dst_s_get_int16): Likewise.
4161 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4162 * resolv/res_init.c (__res_vinit): Likewise.
4163 (net_mask): Likewise.
4164 * resolv/res_mkquery.c (outchar): Likewise.
4165 (PRINT): Likewise.
4166 * stdio-common/printf_fp.c (outchar): Likewise.
4167 (PRINT): Likewise.
4168 * stdio-common/printf_fphex.c (outchar): Likewise.
4169 (PRINT): Likewise.
4170 * stdio-common/printf_size.c (outchar): Likewise.
4171 (PRINT): Likewise.
4172 * stdio-common/test_rdwr.c (main): Likewise.
4173 * stdio-common/tfformat.c (matches): Likewise.
4174 * stdio-common/vfprintf.c (outchar): Likewise.
4175 (printf_unknown): Likewise.
4176 (buffered_vfprintf): Likewise.
4177 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4178 * stdio-common/xbug.c (AppendToBuffer): Likewise.
4179 (ReadFile): Likewise.
4180 * stdlib/qsort.c (SWAP): Likewise.
4181 (_quicksort): Likewise.
4182 * stdlib/setenv.c (__add_to_environ): Likewise.
4183 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4184 * stdlib/strtol_l.c (__strtol_l): Likewise.
4185 * stdlib/tst-strtod.c (main): Likewise.
4186 * stdlib/tst-strtol.c (main): Likewise.
4187 * stdlib/tst-strtoll.c (main): Likewise.
4188 * string/bits/string2.h (__strcmp_cc): Likewise.
4189 (__strcmp_cg): Likewise.
4190 (__strcspn_c1): Likewise.
4191 (__strcspn_c2): Likewise.
4192 (__strcspn_c3): Likewise.
4193 (__strspn_c1): Likewise.
4194 (__strspn_c2): Likewise.
4195 (__strspn_c3): Likewise.
4196 (__strsep_1c): Likewise.
4197 (__strsep_2c): Likewise.
4198 (__strsep_3c): Likewise.
4199 * string/memccpy.c (__memccpy): Likewise.
4200 * string/stpcpy.c (__stpcpy): Likewise.
4201 * string/strcmp.c (strcmp): Likewise.
4202 * string/strrchr.c (strrchr): Likewise.
4203 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
4204 Likewise.
4205 * sysdeps/mach/hurd/getcwd.c
4206 (_hurd_canonicalize_directory_name_internal): Likewise.
4207 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
4208 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
4209 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
4210 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
4211 Likewise, in both definitions.
4212 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
4213 definitions.
4214 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
4215 64] (__bswap_64): Likewise.
4216 * time/test_time.c (main): Likewise.
4217 * time/tzfile.c (__tzfile_read): Likewise.
4218 (__tzfile_compute): Likewise.
4219 * time/tzset.c (__tzset_parse_tz): Likewise.
4220 (tzset_internal): Likewise.
4221 (compute_change): Likewise.
4222 * wcsmbs/wcscat.c (__wcscat): Likewise.
4223 * wcsmbs/wcschr.c (wcschr): Likewise.
4224 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
4225 * wcsmbs/wcscspn.c (wcscspn): Likewise.
4226 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
4227 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
4228 * wcsmbs/wcsspn.c (wcsspn): Likewise.
4229 * wcsmbs/wcsstr.c (wcsstr): Likewise.
4230 * wcsmbs/wmemchr.c (wmemchr): Likewise.
4231 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4232 * wcsmbs/wmemset.c (wmemset): Likewise.
4233
9e54314b
JM
42342013-06-06 Joseph Myers <joseph@codesourcery.com>
4235
4236 * scripts/config.guess: Update to version 2013-05-16.
4237 * scripts/config.sub: Update to version 2013-04-24.
4238 * scripts/install-sh: Update to version 2011-11-20.07.
4239 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
4240 * scripts/move-if-change: Update to version 2012-01-06 07:23.
4241
350635a5
OB
42422013-06-06 Ondřej Bílka <neleai@seznam.cz>
4243
4244 * debug/fgetws_u_chk.c: Fix leading whitespaces.
4245 * elf/sln.c: Likewise.
4246 * hurd/hurd/ioctl.h: Likewise.
4247 * hurd/hurdmalloc.c: Likewise.
4248 * hurd/xattr.c: Likewise.
4249 * include/shlib-compat.h: Likewise.
4250 * inet/ruserpass.c: Likewise.
4251 * libio/iofgets_u.c: Likewise.
4252 * libio/iofgetws_u.c: Likewise.
4253 * locale/programs/ld-identification.c: Likewise.
4254 * locale/programs/ld-time.c: Likewise.
4255 * mach/msg-destroy.c: Likewise.
4256 * nss/nss_files/files-netgrp.c: Likewise.
4257 * resolv/res_data.c: Likewise.
4258 * soft-fp/op-1.h: Likewise.
4259 * soft-fp/op-2.h: Likewise.
4260 * soft-fp/op-4.h: Likewise.
4261 * soft-fp/op-common.h: Likewise.
4262 * stdio-common/printf_fphex.c: Likewise.
4263 * stdlib/strtod_l.c: Likewise.
4264 * sunrpc/rpc/clnt.h: Likewise.
4265 * sysdeps/generic/framestate.c: Likewise.
4266 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4267 * sysdeps/i386/bsd-setjmp.S: Likewise.
4268 * sysdeps/i386/__longjmp.S: Likewise.
4269 * sysdeps/i386/setjmp.S: Likewise.
4270 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4271 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4272 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4273 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4274 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4275 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4276 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4277 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4278 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4279 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4280 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4281 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4282 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4283 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4284 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4285 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4286 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4287 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
4288 * sysdeps/ieee754/support.c: Likewise.
4289 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4290 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
4291 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
4292 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
4293 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
4294 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
4295 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
4296 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
4297 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
4298 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
4299 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
4300 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
4301 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
4302 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
4303 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
4304 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
4305 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4307
44a988af
OB
43082013-06-05 Ondřej Bílka <neleai@seznam.cz>
4309
25506f09 4310 * posix/transbug.c: Remove executable mode.
44a988af 4311
9c84384c
JM
43122013-06-05 Joseph Myers <joseph@codesourcery.com>
4313
4314 * crypt/speeds.c: Remove trailing whitespace.
4315 * dlfcn/default.c: Likewise.
4316 * elf/ifuncdep2.c: Likewise.
4317 * elf/ifuncmain1.c: Likewise.
4318 * elf/ifuncmain1vis.c: Likewise.
4319 * elf/testobj.h: Likewise.
4320 * elf/tst-stackguard1.c: Likewise.
4321 * gmon/sys/gmon.h: Likewise.
4322 * hurd/hurdmsg.c: Likewise.
4323 * hurd/new-fd.c: Likewise.
4324 * hurd/ports-get.c: Likewise.
4325 * iconvdata/ibm1008_420.c: Likewise.
4326 * inet/tst-getni1.c: Likewise.
4327 * inet/tst-getni2.c: Likewise.
4328 * libio/ioungetc.c: Likewise.
4329 * libio/wfiledoalloc.c: Likewise.
4330 * manual/libm-err-tab.pl: Likewise.
4331 * math/w_dremf.c: Likewise.
4332 * misc/ftruncate.c: Likewise.
4333 * posix/bug-glob2.c: Likewise.
4334 * posix/tst-pcre.c: Likewise.
4335 * posix/wait4.c: Likewise.
4336 * resolv/README: Likewise.
4337 * resolv/res_debug.h: Likewise.
4338 * resolv/tst-inet_ntop.c: Likewise.
4339 * setjmp/bug269-setjmp.c: Likewise.
4340 * soft-fp/extended.h: Likewise.
4341 * soft-fp/op-1.h: Likewise.
4342 * soft-fp/op-2.h: Likewise.
4343 * soft-fp/op-4.h: Likewise.
4344 * soft-fp/op-8.h: Likewise.
4345 * soft-fp/testit.c: Likewise.
4346 * stdio-common/bug16.c: Likewise.
4347 * stdlib/random.c: Likewise.
4348 * sunrpc/rpcsvc/rquota.x: Likewise.
4349 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
4350 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4351 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4352 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4353 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4354 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4355 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4356 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4357 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4358 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4359 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4360 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4361 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4362 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4363 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4364 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4365 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4366 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4367 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4368 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4369 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4370 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4371 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4372 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4373 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4374 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4375 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4376 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4377 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4378 * sysdeps/ieee754/s_lib_version.c: Likewise.
4379 * sysdeps/mach/hurd/check_fds.c: Likewise.
4380 * sysdeps/mach/hurd/getsockname.c: Likewise.
4381 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
4382 * sysdeps/mach/hurd/recvfrom.c: Likewise.
4383 * sysdeps/powerpc/bits/link.h: Likewise.
4384 * sysdeps/powerpc/dl-procinfo.c: Likewise.
4385 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
4386 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
4387 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
4388 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4389 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4390 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
4391 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4392 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
4393 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4394 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4395 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4396 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
4397 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4398 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4399 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4400 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4401 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4402 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4403 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4404 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4405 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
4406 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4407 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4408 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
4409 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4410 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4411 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4412 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4413 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4414 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4415 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4416 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4417 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4418 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
4419 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4420 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
4421 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4422 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4423 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
4424 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
4425 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
4426 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
4427 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
4428 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4429 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
4430 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
4431 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4432 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
4433 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
4434 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4435 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4436 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4437 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4438 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
4439 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4440 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4441 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4442 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
4443 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4444 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
4445 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
4446 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
4447 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4448 * sysdeps/powerpc/sysdep.h: Likewise.
4449 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4450 * sysdeps/s390/s390-64/sub_n.S: Likewise.
4451 * sysdeps/sh/dl-trampoline.S: Likewise.
4452 * sysdeps/sh/memset.S: Likewise.
4453 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
4454 * sysdeps/sh/strlen.S: Likewise.
4455 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
4456 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
4457 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
4458 * sysdeps/sparc/sparc32/rem.S: Likewise.
4459 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
4460 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
4461 * sysdeps/sparc/sparc32/strchr.S: Likewise.
4462 * sysdeps/sparc/sparc32/udiv.S: Likewise.
4463 * sysdeps/sparc/sparc32/urem.S: Likewise.
4464 * sysdeps/sparc/sparc64/add_n.S: Likewise.
4465 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4466 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
4467 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
4468 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
4469 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
4470 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4471 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
4472 * sysdeps/unix/bsd/times.c: Likewise.
4473 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
4474 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
4475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4478 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
4479 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4480 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
4481 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
4482 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
4483 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
4484 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
4485 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
4486 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4487 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
4488 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4489 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
4490 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
4491 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
4492 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
4493 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
4494 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
4495 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4496 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
4497 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
4498 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4499 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
4500 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4501 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
4502 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
4503 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
4504 * sysdeps/x86_64/strcspn.S: Likewise.
4505
869378a5
RA
45062013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4507
4508 * locale/C-translit.h: Revert #include <stdint.h> because this is a
4509 generated file. Regenerate properly from gen-translit.pl.
4510 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
4511 locale/C-translit.h.
4512
840e2943
AS
45132013-06-05 Andreas Schwab <schwab@suse.de>
4514
4515 [BZ #15100]
4516 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
4517 week as 6 instead of -1.
4518 * time/tst-strptime.c (day_tests): Add test case.
4519
4c60cb0c
SP
45202013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4521
4522 * sysdeps/generic/math_private.h
4523 (libc_feholdexcept_setround_53bit): Replace with
4524 libc_feholdsetround_53bit.
4525 (libc_feupdateenv_53bit): Replace with
4526 libc_feresetround_53bit.
4527 (SET_RESTORE_ROUND_53BIT): Adjust.
4528
d180203e
SP
45292013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4530
96df079a
SP
4531 * string/test-strchrnul.c: Add copyright header.
4532
d180203e
SP
4533 * posix/tst-getaddrinfo4.c: Increase test timeout.
4534
8b0ccb2d
CD
45352013-06-03 Carlos O'Donell <carlos@redhat.com>
4536
4537 [BZ #15536]
4538 * math/libm-test.inc (MAX_EXP): Remove
4539 (MIN_EXP): Define.
4540 (ulp): Use MIN_EXP - MANT_DIG.
4541 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
4542
3b3c4d40
CD
45432013-05-31 Carlos O'Donell <carlos@redhat.com>
4544
4545 * po/be.po: Revert last change.
4546 * po/zh_CN.po: Likewise.
4547 * po/header.pot: Likewise.
4548
fab7ce3f
JM
45492013-05-31 Joseph Myers <joseph@codesourcery.com>
4550
4551 * Makefile ($(common-objpfx)linkobj/libc.so): Define
4552 link-libc-deps to empty as target-specific variable.
4553 * Makerules (link-libc-args): New variable.
4554 (libc-for-link): Likewise.
4555 (link-libc-deps): Likewise.
4556 (lib%.so): Depend on $(link-libc-deps). Link with
4557 $(link-libc-args).
4558 (build-module): Link with $(link-libc-args).
4559 (build-module-asneeded): Likewise.
4560 (build-module-helper-objlist): Filter out $(link-libc-deps) from
4561 list of objects.
4562 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
4563 target-specific variable.
4564 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
4565 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
4566 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
4567 libc.
4568 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
4569 libc and ld.so.
4570 ($(objpfx)libpcprofile.so): Likewise.
4571 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
4572 libc_nonshared.a.
4573 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
4574 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
4575 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
4576 $(link-libc-deps).
4577 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
4578 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
4579 * login/Makefile ($(objpfx)libutil.so): Likewise.
4580 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
4581 * math/Makefile ($(objpfx)libm.so): Likewise.
4582 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
4583 $(objpfx)libnsl.so): Define libc-for-link as target-specific
4584 variable instead of depending directly on libc.
4585 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
4586 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
4587 $(link-libc-deps).
4588 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
4589 libc.
4590 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
4591 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
4592 ($(objpfx)libanl.so): Likewise.
4593 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
4594 ld.so.
4595 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
4596 $(link-libc-deps).
4597 * sysdeps/i386/fpu/Makefile: Remove file.
4598 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
4599 ($(objpfx)libm.so): Remove dependency on ld.so.
4600
eca5920c
PF
46012013-05-30 Patsy Franklin <pfrankli@redhat.com>
4602
4603 [BZ # 15553]
4604 * nis/yp_xdr.c (XDRMAXNAME): Define.
4605 (XDRMAXRECORD): Define.
4606 (xdr_domainname): Use XDRMAXNAME.
4607 (xdr_mapname): Likewise.
4608 (xdr_peername): Likewise.
4609 (xdr_keydat): Use XDRMAXRECORD.
4610 (xdr_valdat): Likewise.
4611
46122013-05-30 Jeff Law <law@redhat.com>
96945714
JL
4613
4614 [BZ #14256]
4615 * manual/errno.texi (ESTALE): Update to account for more than
4616 just NFS file systems.
4617 * sysdeps/gnu/errlist.c: Regenerated.
4618
b9375348
SP
46192013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4620
4621 [BZ #15465]
4622 * elf/Makefile (tests): Add tst-null-argv.
4623 (modules-names): Add tst-null-argv-lib.
4624 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
4625 (tst-null-argv-ENV): Set environment for tst-null-argv.
4626 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
4627 (RTLD_PROGNAME): New macro.
4628 * elf/tst-null-argv.c: New test case.
4629 * elf/tst-null-argv-lib.c: Library for test case.
4630 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
4631 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4632 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
4633 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
4634 * elf/dl-init.c (call_init): Likewise.
4635 (_dl_init): Likewise.
4636 * elf/dl-load.c (print_search_path): Likewise.
4637 (_dl_map_object): Likewise.
4638 * elf/dl-lookup.c (do_lookup_x): Likewise.
4639 (add_dependency): Likewise.
4640 (_dl_lookup_symbol_x): Likewise.
4641 (_dl_debug_bindings): Likewise.
4642 * elf/dl-open.c (_dl_show_scope): Likewise.
4643 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4644 * elf/dl-version.c (match_symbol): Likewise.
4645 (_dl_check_map_versions): Likewise.
4646 * elf/rtld.c (dl_main): Likewise.
4647 (print_unresolved): Use RTLD_PROGNAME.
4648 (print_missing_version): Likewise.
4649 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
4650 (elf_machine_rela): Likewise.
4651 * sysdeps/powerpc/powerpc32/dl-machine.c
4652 (__process_machine_rela): Likewise.
4653 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4654 Likewise.
4655 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
4656 Likewise.
4657 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4658 Likewise.
4659 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4660 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
4661 Likewise.
4662 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
4663 Likewise.
4664 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4665
8a9f20c8
CD
46662013-05-28 Carlos O'Donell <carlos@redhat.com>
4667
4668 * po/be.po: Add descriptive title.
4669 * po/zh_CN.po: Likewise.
4670 * po/header.pot: Likewise.
4671
0e60d68e
MF
46722013-05-28 Mike Frysinger <vapier@gentoo.org>
4673
4674 * locale/programs/locarchive.c (create_archive): Inlucde fname in
4675 error message.
4676 (enlarge_archive): Likewise.
4677
56b672e9
BN
46782013-05-28 Ben North <ben@redfrontdoor.org>
4679
4680 * manual/arith.texi (frexp): It is the magnitude of the return
4681 value which lies in [0.5, 1), not the return value itself.
4682
5e056687
AZ
46832013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4684
4685 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4686
2b66ef5d
TS
46872013-05-26 Thomas Schwinge <thomas@codesourcery.com>
4688
528c2405
TS
4689 * stdio-common/bug26.c (main): Correct fscanf template.
4690
07b4c13d
TS
4691 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
4692 declare _dl_skip_args.
4693
ec9dd97c
TS
4694 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
4695 Don't declare.
4696
2b66ef5d
TS
4697 * manual/platform.texi: Add missing @end deftypefun.
4698
4f8dfe27
JM
46992013-05-24 Joseph Myers <joseph@codesourcery.com>
4700
0323d086
JM
4701 [BZ #15529]
4702 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
4703 bit of mantissa of 2^16382.
4704 * math/libm-test.inc (hypot_test_data): Add more tests.
4705
dd4259b9
JM
4706 * math/libm-test.inc: Add drem and pow10 to list of tested
4707 functions.
4708 (pow10_test): New function.
4709 (drem_test): Likewise.
4710 (drem_test_tonearest): Likewise.
4711 (drem_test_towardzero): Likewise.
4712 (drem_test_downward): Likewise.
4713 (drem_test_upward): Likewise.
4714 (main): Call the new functions.
4715
4f8dfe27
JM
4716 * math/libm-test.inc (finite_test_data): Remove.
4717 (finite_test): Run tests from isfinite_test_data.
4718 (gamma_test_data): Remove.
4719 (gamma_test): Run tests from lgamma_test_data.
4720 * sysdeps/i386/fpu/libm-test-ulps: Update.
4721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4722
d116b7c4
AZ
47232013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4724
4725 * manual/platform.texi: Add PowerPC PPR function set documentation.
4726 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
4727 implementation.
4728
e96e3767
CD
47292013-05-24 Carlos O'Donell <carlos@redhat.com>
4730
4731 * math/libm-test.inc (MAX_EXP): Define.
4732 (ULPDIFF): Define.
4733 (ulp): New function.
4734 (check_float_internal): Use ULPDIFF.
4735 (cpow_test): Disable failing test.
4736 (check_ulp): Test ulp() implemetnation.
4737 (main): Call check_ulp before starting tests.
4738
b679a606
JM
47392013-05-24 Joseph Myers <joseph@codesourcery.com>
4740
e8bdba36
JM
4741 * math/gen-libm-test.pl (generate_testfile): Do not handle
4742 START_DATA and END_DATA.
4743 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
4744 END_DATA.
4745 (acos_tonearest_test_data): Likewise.
4746 (acos_towardzero_test_data): Likewise.
4747 (acos_downward_test_data): Likewise.
4748 (acos_upward_test_data): Likewise.
4749 (acosh_test_data): Likewise.
4750 (asin_test_data): Likewise.
4751 (asin_tonearest_test_data): Likewise.
4752 (asin_towardzero_test_data): Likewise.
4753 (asin_downward_test_data): Likewise.
4754 (asin_upward_test_data): Likewise.
4755 (asinh_test_data): Likewise.
4756 (atan_test_data): Likewise.
4757 (atanh_test_data): Likewise.
4758 (atan2_test_data): Likewise.
4759 (cabs_test_data): Likewise.
4760 (cacos_test_data): Likewise.
4761 (cacosh_test_data): Likewise.
4762 (carg_test_data): Likewise.
4763 (casin_test_data): Likewise.
4764 (casinh_test_data): Likewise.
4765 (catan_test_data): Likewise.
4766 (catanh_test_data): Likewise.
4767 (cbrt_test_data): Likewise.
4768 (ccos_test_data): Likewise.
4769 (ccosh_test_data): Likewise.
4770 (ceil_test_data): Likewise.
4771 (cexp_test_data): Likewise.
4772 (cimag_test_data): Likewise.
4773 (clog_test_data): Likewise.
4774 (clog10_test_data): Likewise.
4775 (conj_test_data): Likewise.
4776 (copysign_test_data): Likewise.
4777 (cos_test_data): Likewise.
4778 (cos_tonearest_test_data): Likewise.
4779 (cos_towardzero_test_data): Likewise.
4780 (cos_downward_test_data): Likewise.
4781 (cos_upward_test_data): Likewise.
4782 (cosh_test_data): Likewise.
4783 (cosh_tonearest_test_data): Likewise.
4784 (cosh_towardzero_test_data): Likewise.
4785 (cosh_downward_test_data): Likewise.
4786 (cosh_upward_test_data): Likewise.
4787 (cpow_test_data): Likewise.
4788 (cproj_test_data): Likewise.
4789 (creal_test_data): Likewise.
4790 (csin_test_data): Likewise.
4791 (csinh_test_data): Likewise.
4792 (csqrt_test_data): Likewise.
4793 (ctan_test_data): Likewise.
4794 (ctan_tonearest_test_data): Likewise.
4795 (ctan_towardzero_test_data): Likewise.
4796 (ctan_downward_test_data): Likewise.
4797 (ctan_upward_test_data): Likewise.
4798 (ctanh_test_data): Likewise.
4799 (ctanh_tonearest_test_data): Likewise.
4800 (ctanh_towardzero_test_data): Likewise.
4801 (ctanh_downward_test_data): Likewise.
4802 (ctanh_upward_test_data): Likewise.
4803 (erf_test_data): Likewise.
4804 (erfc_test_data): Likewise.
4805 (exp_test_data): Likewise.
4806 (exp_tonearest_test_data): Likewise.
4807 (exp_towardzero_test_data): Likewise.
4808 (exp_downward_test_data): Likewise.
4809 (exp_upward_test_data): Likewise.
4810 (exp10_test_data): Likewise.
4811 (exp2_test_data): Likewise.
4812 (expm1_test_data): Likewise.
4813 (fabs_test_data): Likewise.
4814 (fdim_test_data): Likewise.
4815 (finite_test_data): Likewise.
4816 (floor_test_data): Likewise.
4817 (fma_test_data): Likewise.
4818 (fma_towardzero_test_data): Likewise.
4819 (fma_downward_test_data): Likewise.
4820 (fma_upward_test_data): Likewise.
4821 (fmax_test_data): Likewise.
4822 (fmin_test_data): Likewise.
4823 (fmod_test_data): Likewise.
4824 (fpclassify_test_data): Likewise.
4825 (frexp_test_data): Likewise.
4826 (gamma_test_data): Likewise.
4827 (hypot_test_data): Likewise.
4828 (ilogb_test_data): Likewise.
4829 (isfinite_test_data): Likewise.
4830 (isgreater_test_data): Likewise.
4831 (isgreaterequal_test_data): Likewise.
4832 (isinf_test_data): Likewise.
4833 (isless_test_data): Likewise.
4834 (islessequal_test_data): Likewise.
4835 (islessgreater_test_data): Likewise.
4836 (isnan_test_data): Likewise.
4837 (isnormal_test_data): Likewise.
4838 (issignaling_test_data): Likewise.
4839 (isunordered_test_data): Likewise.
4840 (j0_test_data): Likewise.
4841 (j1_test_data): Likewise.
4842 (jn_test_data): Likewise.
4843 (ldexp_test_data): Likewise.
4844 (lgamma_test_data): Likewise.
4845 (lrint_test_data): Likewise.
4846 (lrint_tonearest_test_data): Likewise.
4847 (lrint_towardzero_test_data): Likewise.
4848 (lrint_downward_test_data): Likewise.
4849 (lrint_upward_test_data): Likewise.
4850 (llrint_test_data): Likewise.
4851 (llrint_tonearest_test_data): Likewise.
4852 (llrint_towardzero_test_data): Likewise.
4853 (llrint_downward_test_data): Likewise.
4854 (llrint_upward_test_data): Likewise.
4855 (log_test_data): Likewise.
4856 (log10_test_data): Likewise.
4857 (log1p_test_data): Likewise.
4858 (log2_test_data): Likewise.
4859 (logb_test_data): Likewise.
4860 (logb_downward_test_data): Likewise.
4861 (lround_test_data): Likewise.
4862 (llround_test_data): Likewise.
4863 (modf_test_data): Likewise.
4864 (nearbyint_test_data): Likewise.
4865 (nextafter_test_data): Likewise.
4866 (nexttoward_test_data): Likewise.
4867 (pow_test_data): Likewise.
4868 (pow_tonearest_test_data): Likewise.
4869 (pow_towardzero_test_data): Likewise.
4870 (pow_downward_test_data): Likewise.
4871 (pow_upward_test_data): Likewise.
4872 (remainder_test_data): Likewise.
4873 (remainder_tonearest_test_data): Likewise.
4874 (remainder_towardzero_test_data): Likewise.
4875 (remainder_downward_test_data): Likewise.
4876 (remainder_upward_test_data): Likewise.
4877 (remquo_test_data): Likewise.
4878 (rint_test_data): Likewise.
4879 (rint_tonearest_test_data): Likewise.
4880 (rint_towardzero_test_data): Likewise.
4881 (rint_downward_test_data): Likewise.
4882 (rint_upward_test_data): Likewise.
4883 (round_test_data): Likewise.
4884 (scalb_test_data): Likewise.
4885 (scalbn_test_data): Likewise.
4886 (scalbln_test_data): Likewise.
4887 (signbit_test_data): Likewise.
4888 (sin_test_data): Likewise.
4889 (sin_tonearest_test_data): Likewise.
4890 (sin_towardzero_test_data): Likewise.
4891 (sin_downward_test_data): Likewise.
4892 (sin_upward_test_data): Likewise.
4893 (sincos_test_data): Likewise.
4894 (sinh_test_data): Likewise.
4895 (sinh_tonearest_test_data): Likewise.
4896 (sinh_towardzero_test_data): Likewise.
4897 (sinh_downward_test_data): Likewise.
4898 (sinh_upward_test_data): Likewise.
4899 (sqrt_test_data): Likewise.
4900 (tan_test_data): Likewise.
4901 (tan_tonearest_test_data): Likewise.
4902 (tan_towardzero_test_data): Likewise.
4903 (tan_downward_test_data): Likewise.
4904 (tan_upward_test_data): Likewise.
4905 (tanh_test_data): Likewise.
4906 (tgamma_test_data): Likewise.
4907 (trunc_test_data): Likewise.
4908 (y0_test_data): Likewise.
4909 (y1_test_data): Likewise.
4910 (yn_test_data): Likewise.
4911 (significand_test_data): Likewise.
4912
b679a606
JM
4913 * math/gen-libm-test.pl (@functions): Remove variable.
4914 (generate_testfile): Don't handle START and END lines.
4915 * math/libm-test.inc (START): New macro.
4916 (END): Likewise.
4917 (END_COMPLEX): Likewise.
4918 (acos_test): Use END macro without arguments.
4919 (acos_test_tonearest): Likewise.
4920 (acos_test_towardzero): Likewise.
4921 (acos_test_downward): Likewise.
4922 (acos_test_upward): Likewise.
4923 (acosh_test): Likewise.
4924 (asin_test): Likewise.
4925 (asin_test_tonearest): Likewise.
4926 (asin_test_towardzero): Likewise.
4927 (asin_test_downward): Likewise.
4928 (asin_test_upward): Likewise.
4929 (asinh_test): Likewise.
4930 (atan_test): Likewise.
4931 (atanh_test): Likewise.
4932 (atan2_test): Likewise.
4933 (cabs_test): Likewise.
4934 (cacos_test): Use END_COMPLEX macro without arguments.
4935 (cacosh_test): Likewise.
4936 (carg_test): Use END macro without arguments.
4937 (casin_test): Use END_COMPLEX macro without arguments.
4938 (casinh_test): Likewise.
4939 (catan_test): Likewise.
4940 (catanh_test): Likewise.
4941 (cbrt_test): Use END macro without arguments.
4942 (ccos_test): Use END_COMPLEX macro without arguments.
4943 (ccosh_test): Likewise.
4944 (ceil_test): Use END macro without arguments.
4945 (cexp_test): Use END_COMPLEX macro without arguments.
4946 (cimag_test): Use END macro without arguments.
4947 (clog_test): Use END_COMPLEX macro without arguments.
4948 (clog10_test): Likewise.
4949 (conj_test): Likewise.
4950 (copysign_test): Use END macro without arguments.
4951 (cos_test): Likewise.
4952 (cos_test_tonearest): Likewise.
4953 (cos_test_towardzero): Likewise.
4954 (cos_test_downward): Likewise.
4955 (cos_test_upward): Likewise.
4956 (cosh_test): Likewise.
4957 (cosh_test_tonearest): Likewise.
4958 (cosh_test_towardzero): Likewise.
4959 (cosh_test_downward): Likewise.
4960 (cosh_test_upward): Likewise.
4961 (cpow_test): Use END_COMPLEX macro without arguments.
4962 (cproj_test): Likewise.
4963 (creal_test): Use END macro without arguments.
4964 (csin_test): Use END_COMPLEX macro without arguments.
4965 (csinh_test): Likewise.
4966 (csqrt_test): Likewise.
4967 (ctan_test): Likewise.
4968 (ctan_test_tonearest): Likewise.
4969 (ctan_test_towardzero): Likewise.
4970 (ctan_test_downward): Likewise.
4971 (ctan_test_upward): Likewise.
4972 (ctanh_test): Likewise.
4973 (ctanh_test_tonearest): Likewise.
4974 (ctanh_test_towardzero): Likewise.
4975 (ctanh_test_downward): Likewise.
4976 (ctanh_test_upward): Likewise.
4977 (erf_test): Use END macro without arguments.
4978 (erfc_test): Likewise.
4979 (exp_test): Likewise.
4980 (exp_test_tonearest): Likewise.
4981 (exp_test_towardzero): Likewise.
4982 (exp_test_downward): Likewise.
4983 (exp_test_upward): Likewise.
4984 (exp10_test): Likewise.
4985 (exp2_test): Likewise.
4986 (expm1_test): Likewise.
4987 (fabs_test): Likewise.
4988 (fdim_test): Likewise.
4989 (finite_test): Likewise.
4990 (floor_test): Likewise.
4991 (fma_test): Likewise.
4992 (fma_test_towardzero): Likewise.
4993 (fma_test_downward): Likewise.
4994 (fma_test_upward): Likewise.
4995 (fmax_test): Likewise.
4996 (fmin_test): Likewise.
4997 (fmod_test): Likewise.
4998 (fpclassify_test): Likewise.
4999 (frexp_test): Likewise.
5000 (gamma_test): Likewise.
5001 (hypot_test): Likewise.
5002 (ilogb_test): Likewise.
5003 (isfinite_test): Likewise.
5004 (isgreater_test): Likewise.
5005 (isgreaterequal_test): Likewise.
5006 (isinf_test): Likewise.
5007 (isless_test): Likewise.
5008 (islessequal_test): Likewise.
5009 (islessgreater_test): Likewise.
5010 (isnan_test): Likewise.
5011 (isnormal_test): Likewise.
5012 (issignaling_test): Likewise.
5013 (isunordered_test): Likewise.
5014 (j0_test): Likewise.
5015 (j1_test): Likewise.
5016 (jn_test): Likewise.
5017 (ldexp_test): Likewise.
5018 (lgamma_test): Likewise.
5019 (lrint_test): Likewise.
5020 (lrint_test_tonearest): Likewise.
5021 (lrint_test_towardzero): Likewise.
5022 (lrint_test_downward): Likewise.
5023 (lrint_test_upward): Likewise.
5024 (llrint_test): Likewise.
5025 (llrint_test_tonearest): Likewise.
5026 (llrint_test_towardzero): Likewise.
5027 (llrint_test_downward): Likewise.
5028 (llrint_test_upward): Likewise.
5029 (log_test): Likewise.
5030 (log10_test): Likewise.
5031 (log1p_test): Likewise.
5032 (log2_test): Likewise.
5033 (logb_test): Likewise.
5034 (logb_test_downward): Likewise.
5035 (lround_test): Likewise.
5036 (llround_test): Likewise.
5037 (modf_test): Likewise.
5038 (nearbyint_test): Likewise.
5039 (nextafter_test): Likewise.
5040 (nexttoward_test): Likewise.
5041 (pow_test): Likewise.
5042 (pow_test_tonearest): Likewise.
5043 (pow_test_towardzero): Likewise.
5044 (pow_test_downward): Likewise.
5045 (pow_test_upward): Likewise.
5046 (remainder_test): Likewise.
5047 (remainder_test_tonearest): Likewise.
5048 (remainder_test_towardzero): Likewise.
5049 (remainder_test_downward): Likewise.
5050 (remainder_test_upward): Likewise.
5051 (remquo_test): Likewise.
5052 (rint_test): Likewise.
5053 (rint_test_tonearest): Likewise.
5054 (rint_test_towardzero): Likewise.
5055 (rint_test_downward): Likewise.
5056 (rint_test_upward): Likewise.
5057 (round_test): Likewise.
5058 (scalb_test): Likewise.
5059 (scalbn_test): Likewise.
5060 (scalbln_test): Likewise.
5061 (signbit_test): Likewise.
5062 (sin_test): Likewise.
5063 (sin_test_tonearest): Likewise.
5064 (sin_test_towardzero): Likewise.
5065 (sin_test_downward): Likewise.
5066 (sin_test_upward): Likewise.
5067 (sincos_test): Likewise.
5068 (sinh_test): Likewise.
5069 (sinh_test_tonearest): Likewise.
5070 (sinh_test_towardzero): Likewise.
5071 (sinh_test_downward): Likewise.
5072 (sinh_test_upward): Likewise.
5073 (sqrt_test): Likewise.
5074 (tan_test): Likewise.
5075 (tan_test_tonearest): Likewise.
5076 (tan_test_towardzero): Likewise.
5077 (tan_test_downward): Likewise.
5078 (tan_test_upward): Likewise.
5079 (tanh_test): Likewise.
5080 (tgamma_test): Likewise.
5081 (trunc_test): Likewise.
5082 (y0_test): Likewise.
5083 (y1_test): Likewise.
5084 (yn_test): Likewise.
5085 (significand_test): Likewise.
5086
bae143d2
OB
50872013-05-24 Ondřej Bílka <neleai@seznam.cz>
5088
5089 [BZ #15381]
5090 * libio/genops.c (_IO_no_init): Initialize wide struct info.
5091
9323d39b
EM
50922013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
5093
d4ea44a0 5094 [BZ #14894]
9323d39b
EM
5095 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
5096 __ppc_mdoio and __ppc_mdoom.
5097 * manual/platform.texi: Document new functions __ppc_yield,
5098 __ppc_mdoio and __ppc_mdoom.
5099
13e23af7
CD
51002013-05-22 Carlos O'Donell <carlos@redhat.com>
5101
5102 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
5103 (main): Mention "tls" pseudo-hwcap is legacy.
5104 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
5105
351fe550
JM
51062013-05-22 Joseph Myers <joseph@codesourcery.com>
5107
5108 * math/gen-libm-test.pl (parse_args): Output only string of
5109 arguments as text for test name, not full call or descriptions of
5110 tests for extra outputs.
5111 (generate_testfile): Do not pass function name to parse_args.
5112 Generate this_func variable from START.
5113 * math/libm-test.inc (struct test_f_f_data): Rename test_name
5114 field to arg_str.
5115 (struct test_ff_f_data): Likewise.
5116 (test_ff_f_data_nexttoward): Likewise.
5117 (struct test_fi_f_data): Likewise.
5118 (struct test_fl_f_data): Likewise.
5119 (struct test_if_f_data): Likewise.
5120 (struct test_fff_f_data): Likewise.
5121 (struct test_c_f_data): Likewise.
5122 (struct test_f_f1_data): Likewise. Remove field extra_name.
5123 (struct test_fF_f1_data): Likewise.
5124 (struct test_ffI_f1_data): Likewise.
5125 (struct test_c_c_data): Rename test_name field to arg_str.
5126 (struct test_cc_c_data): Likewise.
5127 (struct test_f_i_data): Likewise.
5128 (struct test_ff_i_data): Likewise.
5129 (struct test_f_l_data): Likewise.
5130 (struct test_f_L_data): Likewise.
5131 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
5132 and extra2_name.
5133 (COMMON_TEST_SETUP): New macro.
5134 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
5135 (COMMON_TEST_CLEANUP): Likewise.
5136 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
5137 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
5138 macros.
5139 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
5140 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
5141 macros.
5142 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
5143 (RUN_TEST_fff_f): Take argument string. Call new setup and
5144 cleanup macros.
5145 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
5146 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
5147 macros.
5148 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
5149 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
5150 macros.
5151 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5152 (RUN_TEST_fF_f1): Take argument string. Call new setup and
5153 cleanup macros.
5154 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5155 (RUN_TEST_fI_f1): Take argument string. Call new setup and
5156 cleanup macros.
5157 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5158 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
5159 cleanup macros.
5160 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5161 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
5162 macros.
5163 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
5164 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
5165 macros.
5166 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
5167 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
5168 macros.
5169 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
5170 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
5171 cleanup macros.
5172 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
5173 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
5174 cleanup macros.
5175 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
5176 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
5177 macros.
5178 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
5179 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
5180 cleanup macros.
5181 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
5182 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
5183 macros.
5184 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
5185 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
5186 macros.
5187 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
5188 (RUN_TEST_fFF_11): Take argument string. Call new setup and
5189 cleanup macros.
5190 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
5191
85118d4d
EBM
51922013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5193
5194 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
5195 to _sifields.sigfault.
5196 (si_addr_lsb): Define new macro.
5197 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5198 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5199 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
5200
7a44c18f
CD
52012013-05-03 Carlos O'Donell <carlos at redhat.com>
5202
5203 [BZ #15441]
5204 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
5205 returns -1.
5206 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
5207 null return -1.
5208 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
5209 loading the domain.
5210
b50a7181
JM
52112013-05-22 Joseph Myers <joseph@codesourcery.com>
5212
5213 * math/gen-libm-test.pl (parse_args): Do not include expected
5214 result in test name.
5215 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
5216 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5217 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5218 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5219 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5221
051063c8
SP
52222013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5223
3ce9e010
SP
5224 * benchtests/Makefile: Sort function entries.
5225
051063c8
SP
5226 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
5227 tanh, asinh, acosh, atanh.
5228 * benchtests/acos-inputs: New file.
5229 * benchtests/acosh-inputs: New file.
5230 * benchtests/asin-inputs: New file.
5231 * benchtests/asinh-inputs: New file.
5232 * benchtests/atanh-inputs: New file.
5233 * benchtests/cosh-inputs: New file.
5234 * benchtests/log-inputs: New file.
5235 * benchtests/sinh-inputs: New file.
5236 * benchtests/tanh-inputs: New file.
5237
47c22455
DL
52382013-05-21 Dmitry V. Levin <ldv@altlinux.org>
5239
5240 [BZ #15339]
5241 * posix/tst-getaddrinfo4.c: New test.
5242 * posix/Makefile (tests): Add it.
5243
3d04f5db
SP
52442013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5245
5246 [BZ #15339]
5247 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
5248 when no services were used.
5249 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
5250 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
5251
d5dd6189
AS
52522013-05-21 Andreas Schwab <schwab@suse.de>
5253
5254 [BZ #15014]
5255 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
5256 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
5257 successful.
5258 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
5259 redundant variable declarations and reallocation of buffer when
5260 parsing as IPv6 address. Always set NSS status when called from
5261 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
5262 buffer too small. Correct computation of needed size.
5263 * nss/Makefile (tests): Add test-digits-dots.
5264 * nss/test-digits-dots.c: New test.
5265
fef94eab
SP
52662013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5267
5268 * benchtests/Makefile: Remove instructions for adding
5269 benchmark tests.
5270 * benchtests/README: New file to explain how to execute and
5271 enhance the benchmark tests.
5272
e39adf43
AS
52732013-05-21 Andreas Schwab <schwab@suse.de>
5274
5275 [BZ #15493]
5276 * setjmp/Makefile (tests): Add tst-sigsetjmp.
5277 * setjmp/tst-sigsetjmp.c: New test.
5278
b2b671b6
OB
52792013-05-20 Ondřej Bílka <neleai@seznam.cz>
5280
5281 * sysdeps/x86_64/memset.S (memset): New implementation.
5282 (__bzero): Likewise.
5283 (__memset_tail): New function.
5284
2d48b41c
OB
52852013-05-20 Ondřej Bílka <neleai@seznam.cz>
5286
5287 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
5288 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
5289 __memcpy_sse2_unaligned ifunc selection.
5290 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5291 Add memcpy-sse2-unaligned.S.
5292 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5293 Add: __memcpy_sse2_unaligned.
5294
f16cc3eb
JM
52952013-05-19 Joseph Myers <joseph@codesourcery.com>
5296
3e694268
JM
5297 [BZ #15490]
5298 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
5299 math_force_eval before restoring floating-point envrionment.
5300 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
5301 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
5302 Likewise.
5303 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
5304 <math_private.h>.
5305 (__nearbyintl): Use math_force_eval before restoring
5306 floating-point environment.
5307 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
5308
db62a907
JM
5309 * math/gen-libm-test.pl (special_functions): Remove.
5310 (parse_args): Don't handle TEST_extra. Handle functions with no
5311 return value.
5312 * math/libm-test.inc (struct test_sincos_data): Replace with
5313 struct test_fFF_11_data.
5314 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
5315 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
5316 (sincos_test_data): Change element type to struct
5317 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
5318 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
5319 RUN_TEST_LOOP_sincos.
5320 * math/README.libm-test: Don't mention special handling of
5321 individual functions.
5322 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
5323 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5324 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5325 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5326 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5328
f16cc3eb
JM
5329 * math/gen-libm-test.pl (get_variable): Remove function.
5330 (parse_args): Don't show pointer parameters to call in test
5331 names. Use "extra output N" in test names for extra outputs
5332 rather than naming variables.
5333
3779b5b6
JM
53342013-05-18 Joseph Myers <joseph@codesourcery.com>
5335
2ee094ff
JM
5336 [BZ #15488]
5337 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
5338 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
5339 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
5340 double tests.
5341 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
5342 disable.
5343 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
5344 check_long_double.
5345
3779b5b6
JM
5346 * math/gen-libm-test.pl (@tests): Remove variable.
5347 ($count): Likewise.
5348 (new_test): Remove function.
5349 (show_exceptions): New function.
5350 (special_functions): Use show_exceptions instead of new_test.
5351 (parse_args): Likewise.
5352 (generate_testfile): Pass only function name in generated call to
5353 print_max_error or print_complex_max_error.
5354 (get_ulps): Do not handle complex tests specially.
5355 (output_test): Rename to ...
5356 (get_all_ulps_for_test): ... this. Return a string rather than
5357 printing to a file. Require ulps to be present.
5358 (output_ulps): Generate arrays rather than #defines.
5359 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
5360 (struct ulp_data): New type.
5361 (BUILD_COMPLEX_ULP): Remove macro.
5362 (compare_ulp_data): New function.
5363 (find_ulps): Likewise.
5364 (find_test_ulps): Likewise.
5365 (find_function_ulps): Likewise.
5366 (find_complex_function_ulps): Likewise.
5367 (print_max_error): Determine allowed ulps using
5368 find_function_ulps.
5369 (print_complex_max_error): Determine allowed ulps using
5370 find_complex_function_ulps.
5371 (check_float_internal): Determine max ulps using find_test_ulps.
5372 (check_float): Do not take max_ulp parameter. Update call to
5373 check_float_internal.
5374 (check_complex): Likewise.
5375 (check_int): Do not take max_ulp parameter.
5376 (check_long): Likewise.
5377 (check_bool): Likewise.
5378 (check_longlong): Likewise.
5379 (struct test_f_f_data): Remove max_ulp field.
5380 (struct test_ff_f_data): Likewise.
5381 (struct test_ff_f_data_nexttoward): Likewise.
5382 (struct test_fi_f_data): Likewise.
5383 (struct test_fl_f_data): Likewise.
5384 (struct test_if_f_data): Likewise.
5385 (struct test_fff_f_data): Likewise.
5386 (struct test_c_f_data): Likewise.
5387 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
5388 (struct test_fF_f1_data): Likewise.
5389 (struct test_ffI_f1_data): Likewise.
5390 (struct test_c_c_data): Remove max_ulp field.
5391 (struct test_cc_c_data): Likewise.
5392 (struct test_f_i_data): Likewise.
5393 (struct test_ff_i_data): Likewise.
5394 (struct test_f_l_data): Likewise.
5395 (struct test_f_L_data): Likewise.
5396 (struct test_sincos_data): Likewise.
5397 (RUN_TEST_f_f): Do not handle ulps.
5398 (RUN_TEST_LOOP_f_f): Likewise.
5399 (RUN_TEST_2_f): Likewise.
5400 (RUN_TEST_LOOP_2_f): Likewise.
5401 (RUN_TEST_fff_f): Likewise.
5402 (RUN_TEST_LOOP_fff_f): Likewise.
5403 (RUN_TEST_c_f): Likewise.
5404 (RUN_TEST_LOOP_c_f): Likewise.
5405 (RUN_TEST_f_f1): Likewise.
5406 (RUN_TEST_LOOP_f_f1): Likewise.
5407 (RUN_TEST_fF_f1): Likewise.
5408 (RUN_TEST_LOOP_fF_f1): Likewise.
5409 (RUN_TEST_fI_f1): Likewise.
5410 (RUN_TEST_LOOP_fI_f1): Likewise.
5411 (RUN_TEST_ffI_f1): Likewise.
5412 (RUN_TEST_LOOP_ffI_f1): Likewise.
5413 (RUN_TEST_c_c): Likewise.
5414 (RUN_TEST_LOOP_c_c): Likewise.
5415 (RUN_TEST_cc_c): Likewise.
5416 (RUN_TEST_LOOP_cc_c): Likewise.
5417 (RUN_TEST_f_i): Likewise.
5418 (RUN_TEST_LOOP_f_i): Likewise.
5419 (RUN_TEST_f_i_tg): Likewise.
5420 (RUN_TEST_LOOP_f_i_tg): Likewise.
5421 (RUN_TEST_ff_i_tg): Likewise.
5422 (RUN_TEST_LOOP_ff_i_tg): Likewise.
5423 (RUN_TEST_f_b): Likewise.
5424 (RUN_TEST_LOOP_f_b): Likewise.
5425 (RUN_TEST_f_b_tg): Likewise.
5426 (RUN_TEST_LOOP_f_b_tg): Likewise.
5427 (RUN_TEST_f_l): Likewise.
5428 (RUN_TEST_LOOP_f_l): Likewise.
5429 (RUN_TEST_f_L): Likewise.
5430 (RUN_TEST_LOOP_f_L): Likewise.
5431 (RUN_TEST_sincos): Likewise.
5432 (RUN_TEST_LOOP_sincos): Likewise.
5433
8269107f
JM
54342013-05-17 Joseph Myers <joseph@codesourcery.com>
5435
bb38759d
JM
5436 [BZ #15480]
5437 [BZ #15485]
5438 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
5439 main case of finite arguments, set rounding mode to FE_TONEAREST
5440 and discard exceptions.
5441 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
5442 exceptions.
5443 (remainder_tonearest_test_data): New variable.
5444 (remainder_test_tonearest): New function.
5445 (remainder_towardzero_test_data): New variable.
5446 (remainder_test_towardzero): New function.
5447 (remainder_downward_test_data): New variable.
5448 (remainder_test_downward): New function.
5449 (remainder_upward_test_data): New variable.
5450 (remainder_test_upward): New function.
5451 (main): Call the new test functions.
5452
a00bdcf0
JM
5453 * math/libm-test.inc (struct test_f_f1_data): Remove field
5454 extra_init.
5455 (struct test_fF_f1_data): Likewise.
5456 (struct test_ffI_f1_data): Likewise.
5457 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
5458 based on value of EXTRA_EXPECTED.
5459 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5460 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
5461 EXTRA_VAR based on value of EXTRA_EXPECTED.
5462 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5463 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
5464 EXTRA_VAR based on value of EXTRA_EXPECTED.
5465 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5466 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
5467 EXTRA_VAR based on value of EXTRA_EXPECTED.
5468 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5469 * math/gen-libm-test.pl (parse_args): Don't output initializers
5470 for extra output values.
5471
de407f79
JM
5472 * math/libm-test.inc (check_int): Expect result to be exactly
5473 equal to expected value and do not handle ulps.
5474 (check_long): Likewise.
5475 (check_longlong): Likewise.
5476
8269107f
JM
5477 * math/libm-test.inc (ceil_test_data): Test for "inexact"
5478 exceptions.
5479 (cimag_test_data): Likewise.
5480 (conj_test_data): Likewise.
5481 (copysign_test_data): Likewise.
5482 (cproj_test_data): Likewise.
5483 (creal_test_data): Likewise.
5484 (fabs_test_data): Likewise.
5485 (fdim_test_data): Likewise.
5486 (finite_test_data): Likewise.
5487 (floor_test_data): Likewise.
5488 (fmax_test_data): Likewise.
5489 (fmin_test_data): Likewise.
5490 (fmod_test_data): Likewise.
5491 (fpclassify_test_data): Likewise.
5492 (frexp_test_data): Likewise.
5493 (ilogb_test_data): Likewise.
5494 (isfinite_test_data): Likewise.
5495 (isgreater_test_data): Likewise.
5496 (isgreaterequal_test_data): Likewise.
5497 (isinf_test_data): Likewise.
5498 (isless_test_data): Likewise.
5499 (islessequal_test_data): Likewise.
5500 (islessgreater_test_data): Likewise.
5501 (isnan_test_data): Likewise.
5502 (isnormal_test_data): Likewise.
5503 (issignaling_test_data): Likewise.
5504 (isunordered_test_data): Likewise.
5505 (ldexp_test_data): Likewise.
5506 (lrint_test_data): Likewise.
5507 (lrint_test_data) [TEST_FLOAT]: Disable one test.
5508 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
5509 (lrint_tonearest_test_data): Test for "inexact" exceptions.
5510 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5511 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
5512 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5513 test input.
5514 (lrint_towardzero_test_data): Test for "inexact" exceptions.
5515 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5516 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
5517 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
5518 that test input.
5519 (lrint_downward_test_data): Test for "inexact" exceptions.
5520 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5521 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
5522 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5523 test input.
5524 (lrint_upward_test_data): Test for "inexact" exceptions.
5525 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
5526 test input.
5527 (llrint_test_data): Test for "inexact" exceptions.
5528 (llrint_test_data) [TEST_FLOAT]: Disable one test.
5529 (llrint_tonearest_test_data): Test for "inexact" exceptions.
5530 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5531 (llrint_towardzero_test_data): Test for "inexact" exceptions.
5532 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5533 (llrint_downward_test_data): Test for "inexact" exceptions.
5534 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5535 (llrint_upward_test_data): Test for "inexact" exceptions.
5536 (logb_test_data): Likewise.
5537 (logb_downward_test_data): Likewise.
5538 (nextafter_test_data): Likewise.
5539 (nexttoward_test_data): Likewise.
5540 (remainder_test_data): Likewise.
5541 (remquo_test_data): Likewise.
5542 (scalbn_test_data): Likewise.
5543 (scalbln_test_data): Likewise.
5544 (signbit_test_data): Likewise.
5545 (sqrt_test_data): Likewise.
5546 (significand_test_data): Likewise.
5547
48a18de1
SP
55482013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5549
5550 [BZ #15424]
5551 * benchtests/bench-modf.c (struct args): Mark arg0 as
5552 volatile.
5553 * scripts/bench.pl: Mark members of struct args as volatile.
5554
13d3b41a
AZ
55552013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5556
68191c1d 5557 [BZ # 15497]
13d3b41a
AZ
5558 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
5559 negative infinity on POWER6 or lower.
5560 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
5561
2848b105
MR
55622013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5563
5564 [BZ #15442]
5565 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
5566 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
5567 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
5568 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
5569 (_FP_SETQNAN): New macro.
5570 (_FP_SETQNAN_SEMIRAW): Likewise.
5571 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
5572 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
5573 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
5574 (FP_EXTEND): Use _FP_FRAC_SNANP.
5575 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
5576 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
5577 into account.
5578 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5579 New macro.
5580 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5581 Likewise.
5582
323e5cb7
JM
55832013-05-16 Joseph Myers <joseph@codesourcery.com>
5584
c58b274f
JM
5585 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
5586 with DIVIDE_BY_ZERO_EXCEPTION.
5587 (gamma_test_data): Likewise.
5588 (lgamma_test_data): Likewise.
5589 (log_test_data): Likewise.
5590 (log10_test_data): Likewise.
5591 (log2_test_data): Likewise.
5592 (tgamma_test_data): Likewise.
5593
0ab34904
JM
5594 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
5595 (acos_test_tonearest): Likewise.
5596 (acos_test_towardzero): Likewise.
5597 (acos_test_downward): Likewise.
5598 (acos_test_upward): Likewise.
5599 (acosh_test): Likewise.
5600 (asin_test): Likewise.
5601 (asin_test_tonearest): Likewise.
5602 (asin_test_towardzero): Likewise.
5603 (asin_test_downward): Likewise.
5604 (asin_test_upward): Likewise.
5605 (asinh_test): Likewise.
5606 (atan_test): Likewise.
5607 (atanh_test): Likewise.
5608 (atan2_test): Likewise.
5609 (cabs_test): Likewise.
5610 (cacos_test): Likewise.
5611 (cacosh_test): Likewise.
5612 (casin_test): Likewise.
5613 (casinh_test): Likewise.
5614 (catan_test): Likewise.
5615 (catanh_test): Likewise.
5616 (cbrt_test): Likewise.
5617 (ccos_test): Likewise.
5618 (ccosh_test): Likewise.
5619 (cexp_test): Likewise.
5620 (clog_test): Likewise.
5621 (clog10_test): Likewise.
5622 (cos_test): Likewise.
5623 (cos_test_tonearest): Likewise.
5624 (cos_test_towardzero): Likewise.
5625 (cos_test_downward): Likewise.
5626 (cos_test_upward): Likewise.
5627 (cosh_test): Likewise.
5628 (cosh_test_tonearest): Likewise.
5629 (cosh_test_towardzero): Likewise.
5630 (cosh_test_downward): Likewise.
5631 (cosh_test_upward): Likewise.
5632 (cpow_test): Likewise.
5633 (csin_test): Likewise.
5634 (csinh_test): Likewise.
5635 (csqrt_test): Likewise.
5636 (ctan_test): Likewise.
5637 (ctan_test_tonearest): Likewise.
5638 (ctan_test_towardzero): Likewise.
5639 (ctan_test_downward): Likewise.
5640 (ctan_test_upward): Likewise.
5641 (ctanh_test): Likewise.
5642 (ctanh_test_tonearest): Likewise.
5643 (ctanh_test_towardzero): Likewise.
5644 (ctanh_test_downward): Likewise.
5645 (ctanh_test_upward): Likewise.
5646 (erf_test): Likewise.
5647 (erfc_test): Likewise.
5648 (exp_test): Likewise.
5649 (exp_test_tonearest): Likewise.
5650 (exp_test_towardzero): Likewise.
5651 (exp_test_downward): Likewise.
5652 (exp_test_upward): Likewise.
5653 (exp10_test): Likewise.
5654 (exp2_test): Likewise.
5655 (expm1_test): Likewise.
5656 (fmod_test): Likewise.
5657 (gamma_test): Likewise.
5658 (hypot_test): Likewise.
5659 (j0_test): Likewise.
5660 (j1_test): Likewise.
5661 (jn_test): Likewise.
5662 (lgamma_test): Likewise.
5663 (log_test): Likewise.
5664 (log10_test): Likewise.
5665 (log1p_test): Likewise.
5666 (log2_test): Likewise.
5667 (logb_test_downward): Likewise.
5668 (pow_test): Likewise.
5669 (pow_test_tonearest): Likewise.
5670 (pow_test_towardzero): Likewise.
5671 (pow_test_downward): Likewise.
5672 (pow_test_upward): Likewise.
5673 (remainder_test): Likewise.
5674 (remquo_test): Likewise.
5675 (sin_test): Likewise.
5676 (sin_test_tonearest): Likewise.
5677 (sin_test_towardzero): Likewise.
5678 (sin_test_downward): Likewise.
5679 (sin_test_upward): Likewise.
5680 (sincos_test): Likewise.
5681 (sinh_test): Likewise.
5682 (sinh_test_tonearest): Likewise.
5683 (sinh_test_towardzero): Likewise.
5684 (sinh_test_downward): Likewise.
5685 (sinh_test_upward): Likewise.
5686 (sqrt_test): Likewise.
5687 (tan_test): Likewise.
5688 (tan_test_tonearest): Likewise.
5689 (tan_test_towardzero): Likewise.
5690 (tan_test_downward): Likewise.
5691 (tan_test_upward): Likewise.
5692 (tanh_test): Likewise.
5693 (tgamma_test): Likewise.
5694 (y0_test): Likewise.
5695 (y1_test): Likewise.
5696 (yn_test): Likewise.
5697
323e5cb7
JM
5698 * math/gen-libm-test.pl (adjust_arg): Remove function.
5699 (special_function): Remove argument $in_func. Only handle
5700 generating output for tables of tests, not inside functions.
5701 (parse_args): Likewise.
5702 (generate_testfile): Remove variable $in_func. Update call to
5703 parse_args.
5704 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
5705 (MINUS_ZERO_INIT): Rename macro to minus_zero.
5706 (PLUS_INFTY_INIT): Rename macro to plus_infty.
5707 (MINUS_INFTY_INIT): Rename macro to minus_infty.
5708 (QNAN_VALUE_INIT): Rename macro to qnan_value.
5709 (MAX_VALUE_INIT): Rename macro to max_value.
5710 (MIN_VALUE_INIT): Rename macro to min_value.
5711 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
5712 (plus_zero): Remove variable.
5713 (minus_zero): Likewise.
5714 (plus_infty): Likewise.
5715 (minus_infty): Likewise.
5716 (qnan_value): Likewise.
5717 (max_value): Likewise.
5718 (min_value): Likewise.
5719 (min_subnorm_value): Likewise.
5720
e054f494
RA
57212013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5722
5723 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
5724 uint64_t or uint32_t usage.
5725 * crypt/sha256-block.c: Likewise.
5726 * crypt/sha256-crypt.c: Likewise.
5727 * crypt/sha256.c: Likewise.
5728 * crypt/sha512-block.c: Likewise.
5729 * crypt/sha512-crypt.c: Likewise.
5730 * crypt/sha512.c: Likewise.
5731 * debug/backtrace-tst.c: Likewise.
5732 * debug/pcprofiledump.c: Likewise.
5733 * elf/cache.c: Likewise.
5734 * elf/dl-cache.c: Likewise.
5735 * elf/dl-misc.c: Likewise.
5736 * elf/dl-profile.c: Likewise.
5737 * elf/dl-support.c: Likewise.
5738 * elf/ldconfig.c: Likewise.
5739 * elf/sprof.c: Likewise.
5740 * iconv/dummy-repertoire.c: Likewise.
5741 * iconv/iconv_charmap.c: Likewise.
5742 * iconv/skeleton.c: Likewise.
5743 * iconvdata/8bit-generic.c: Likewise.
5744 * iconvdata/cp737.h: Likewise.
5745 * iconvdata/cp775.h: Likewise.
5746 * iconvdata/ibm1008.h: Likewise.
5747 * iconvdata/ibm1025.h: Likewise.
5748 * iconvdata/ibm1046.h: Likewise.
5749 * iconvdata/ibm1097.h: Likewise.
5750 * iconvdata/ibm1112.h: Likewise.
5751 * iconvdata/ibm1122.h: Likewise.
5752 * iconvdata/ibm1123.h: Likewise.
5753 * iconvdata/ibm1124.h: Likewise.
5754 * iconvdata/ibm1129.h: Likewise.
5755 * iconvdata/ibm1130.h: Likewise.
5756 * iconvdata/ibm1132.h: Likewise.
5757 * iconvdata/ibm1133.h: Likewise.
5758 * iconvdata/ibm1137.h: Likewise.
5759 * iconvdata/ibm1140.h: Likewise.
5760 * iconvdata/ibm1141.h: Likewise.
5761 * iconvdata/ibm1142.h: Likewise.
5762 * iconvdata/ibm1143.h: Likewise.
5763 * iconvdata/ibm1144.h: Likewise.
5764 * iconvdata/ibm1145.h: Likewise.
5765 * iconvdata/ibm1146.h: Likewise.
5766 * iconvdata/ibm1147.h: Likewise.
5767 * iconvdata/ibm1148.h: Likewise.
5768 * iconvdata/ibm1149.h: Likewise.
5769 * iconvdata/ibm1153.h: Likewise.
5770 * iconvdata/ibm1154.h: Likewise.
5771 * iconvdata/ibm1155.h: Likewise.
5772 * iconvdata/ibm1156.h: Likewise.
5773 * iconvdata/ibm1157.h: Likewise.
5774 * iconvdata/ibm1158.h: Likewise.
5775 * iconvdata/ibm1160.h: Likewise.
5776 * iconvdata/ibm1161.h: Likewise.
5777 * iconvdata/ibm1162.h: Likewise.
5778 * iconvdata/ibm1163.h: Likewise.
5779 * iconvdata/ibm1164.h: Likewise.
5780 * iconvdata/ibm1166.h: Likewise.
5781 * iconvdata/ibm1167.h: Likewise.
5782 * iconvdata/ibm12712.h: Likewise.
5783 * iconvdata/ibm1390.h: Likewise.
5784 * iconvdata/ibm1399.h: Likewise.
5785 * iconvdata/ibm16804.h: Likewise.
5786 * iconvdata/ibm4517.h: Likewise.
5787 * iconvdata/ibm4899.h: Likewise.
5788 * iconvdata/ibm4909.h: Likewise.
5789 * iconvdata/ibm4971.h: Likewise.
5790 * iconvdata/ibm5347.h: Likewise.
5791 * iconvdata/ibm803.h: Likewise.
5792 * iconvdata/ibm856.h: Likewise.
5793 * iconvdata/ibm901.h: Likewise.
5794 * iconvdata/ibm902.h: Likewise.
5795 * iconvdata/ibm9030.h: Likewise.
5796 * iconvdata/ibm9066.h: Likewise.
5797 * iconvdata/ibm921.h: Likewise.
5798 * iconvdata/ibm922.h: Likewise.
5799 * iconvdata/ibm9448.h: Likewise.
5800 * iconvdata/isiri-3342.h: Likewise.
5801 * iconvdata/jis0201.h: Likewise.
5802 * include/link.h: Likewise.
5803 * include/netdb.h: Likewise.
5804 * inet/check_native.c: Likewise.
5805 * inet/check_pf.c: Likewise.
5806 * inet/getipv4sourcefilter.c: Likewise.
5807 * inet/getnameinfo.c: Likewise.
5808 * inet/getsourcefilter.c: Likewise.
5809 * inet/htonl.c: Likewise.
5810 * inet/setipv4sourcefilter.c: Likewise.
5811 * inet/setsourcefilter.c: Likewise.
5812 * inet/test-inet6_opt.c: Likewise.
5813 * inet/tst-network.c: Likewise.
5814 * locale/C-collate.c: Likewise.
5815 * locale/C-ctype.c: Likewise.
5816 * locale/C-time.c: Likewise.
5817 * locale/C-translit.h: Likewise.
5818 * locale/loadarchive.c: Likewise.
5819 * locale/programs/3level.h: Likewise.
5820 * locale/programs/charmap.c: Likewise.
5821 * locale/programs/charmap.h: Likewise.
5822 * locale/programs/ld-address.c: Likewise.
5823 * locale/programs/ld-collate.c: Likewise.
5824 * locale/programs/ld-ctype.c: Likewise.
5825 * locale/programs/ld-identification.c: Likewise.
5826 * locale/programs/ld-measurement.c: Likewise.
5827 * locale/programs/ld-messages.c: Likewise.
5828 * locale/programs/ld-monetary.c: Likewise.
5829 * locale/programs/ld-name.c: Likewise.
5830 * locale/programs/ld-numeric.c: Likewise.
5831 * locale/programs/ld-paper.c: Likewise.
5832 * locale/programs/ld-telephone.c: Likewise.
5833 * locale/programs/ld-time.c: Likewise.
5834 * locale/programs/linereader.c: Likewise.
5835 * locale/programs/locale.c: Likewise.
5836 * locale/programs/locarchive.c: Likewise.
5837 * locale/programs/locfile.h: Likewise.
5838 * locale/programs/repertoire.c: Likewise.
5839 * locale/programs/simple-hash.c: Likewise.
5840 * locale/programs/simple-hash.h: Likewise.
5841 * malloc/memusage.c: Likewise.
5842 * malloc/memusagestat.c: Likewise.
5843 * nis/nis_defaults.c: Likewise.
5844 * nis/nis_hash.c: Likewise.
5845 * nis/nis_print.c: Likewise.
5846 * nis/nis_xdr.c: Likewise.
5847 * nscd/connections.c: Likewise.
5848 * nscd/hstcache.c: Likewise.
5849 * nscd/nscd_gethst_r.c: Likewise.
5850 * nscd/nscd_getserv_r.c: Likewise.
5851 * nscd/nscd_helper.c: Likewise.
5852 * nscd/servicescache.c: Likewise.
5853 * nss/makedb.c: Likewise.
5854 * nss/nss_db/db-XXX.c: Likewise.
5855 * nss/nss_db/db-initgroups.c: Likewise.
5856 * nss/nss_db/db-netgrp.c: Likewise.
5857 * nss/nss_files/files-network.c: Likewise.
5858 * nss/nss_files/files-parse.c: Likewise.
5859 * posix/bug-regex5.c: Likewise.
5860 * posix/fnmatch_loop.c: Likewise.
5861 * posix/regcomp.c: Likewise.
5862 * posix/regexec.c: Likewise.
5863 * posix/tst-rfc3484-2.c: Likewise.
5864 * posix/tst-rfc3484-3.c: Likewise.
5865 * posix/tst-rfc3484.c: Likewise.
5866 * resolv/nss_dns/dns-canon.c: Likewise.
5867 * resolv/nss_dns/dns-network.c: Likewise.
5868 * resolv/res_init.c: Likewise.
5869 * resolv/res_mkquery.c: Likewise.
5870 * resolv/tst-aton.c: Likewise.
5871 * stdlib/cxa_atexit.c: Likewise.
5872 * stdlib/cxa_finalize.c: Likewise.
5873 * stdlib/gen-fpioconst.c: Likewise.
5874 * stdlib/strtol_l.c: Likewise.
5875 * string/tst-endian.c: Likewise.
5876 * sunrpc/auth_des.c: Likewise.
5877 * sunrpc/clnt_udp.c: Likewise.
5878 * sunrpc/rtime.c: Likewise.
5879 * sunrpc/svcauth_des.c: Likewise.
5880 * sunrpc/xdr.c: Likewise.
5881 * sunrpc/xdr_intXX_t.c: Likewise.
5882 * sunrpc/xdr_rec.c: Likewise.
5883 * sysdeps/generic/ldconfig.h: Likewise.
5884 * sysdeps/generic/ldsodefs.h: Likewise.
5885 * sysdeps/generic/memusage.h: Likewise.
5886 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5887 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
5888 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
5889 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5890 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5891 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5892 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5893 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5894 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5895 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5896 * sysdeps/posix/getaddrinfo.c: Likewise.
5897 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5898 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5899 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5900 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5901 * sysdeps/powerpc/test-gettimebase.c: Likewise.
5902 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5903 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
5904 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
5905 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
5906 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
5907 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5908 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5909 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
5910 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
5911 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
5912 * sysdeps/x86_64/dl-tls.h: Likewise.
5913 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
5914 * time/alt_digit.c: Likewise.
5915 * time/era.c: Likewise.
5916 * wcsmbs/tst-c16c32-1.c: Likewise.
5917
8c75f674
JM
59182013-05-16 Joseph Myers <joseph@codesourcery.com>
5919
5920 * math/libm-test.inc (struct test_sincos_data): New type.
5921 (RUN_TEST_LOOP_sincos): New macro.
5922 (sincos_test_data): New variable.
5923 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
5924
e6e49e59
RH
59252013-05-16 Richard Henderson <rth@redhat.com>
5926
5927 * math/atest-exp2.c (LIMB64): New macro.
5928 (CONSTSZ): New macro.
5929 (mp_exp1, mp_exp_m1, mp_log2): New variables.
5930 (hexdig): Move ...
5931 (print_mpn_fp): ... to function scope.
5932 (read_mpn_hex): Remove.
5933 (get_log2): Remove.
5934 (exp2_mpn): Use mp_log2.
5935 (main): Use mp_exp1.
5936
15c7c18d
JM
59372013-05-16 Joseph Myers <joseph@codesourcery.com>
5938
105a07df
JM
5939 * math/libm-test.inc: Remove comment about not testing "inexact"
5940 exceptions.
5941 (INEXACT_EXCEPTION): New macro.
5942 (NO_INEXACT_EXCEPTION): Likewise.
5943 (INVALID_EXCEPTION_OK): Update value.
5944 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5945 (OVERFLOW_EXCEPTION_OK): Likewise.
5946 (UNDERFLOW_EXCEPTION_OK): Likewise.
5947 (IGNORE_ZERO_INF_SIGN): Likewise.
5948 (ERRNO_UNCHANGED): Likewise.
5949 (ERRNO_EDOM): Likewise.
5950 (ERRNO_ERANGE): Likewise.
5951 (test_exceptions): Handle testing "inexact" exceptions.
5952 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
5953 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
5954 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
5955 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
5956 INEXACT_EXCEPTION.
5957 (rint_towardzero_test_data): Likewise.
5958 (rint_downward_test_data): Likewise.
5959 (rint_upward_test_data): Likewise.
5960
e9eee333
JM
5961 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
5962 with OVERFLOW_EXCEPTION.
5963 (exp10_test_data): Likewise.
5964 (exp2_test_data): Likewise.
5965 (expm1_test_data): Likewise.
5966 (lgamma_test_data): Likewise.
5967 (pow_test_data): Likewise.
5968 (tgamma_test_data): Likewise.
5969 (yn_test_data): Remove duplicate test of overflow.
5970
1c38ff73
JM
5971 * math/libm-test.inc (struct test_cc_c_data): New type.
5972 (RUN_TEST_LOOP_cc_c): New macro.
5973 (cpow_test_data): New variable.
5974 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
5975
15c7c18d
JM
5976 * math/libm-test.inc (struct test_f_L_data): New type.
5977 (RUN_TEST_LOOP_f_L): New macro.
5978 (llrint_test_data): New variable.
5979 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
5980 (llrint_tonearest_test_data): New variable.
5981 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
5982 (llrint_towardzero_test_data): New variable.
5983 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
5984 (llrint_downward_test_data): New variable.
5985 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
5986 (llrint_upward_test_data): New variable.
5987 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
5988 (llround_test_data): New variable.
5989 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
5990
f137ff13
PC
59912013-05-13 Peter Collingbourne <pcc@google.com>
5992
5993 * math/atest-exp2.c (get_log2): Remove const attribute.
5994
3608cb24
JM
59952013-05-15 Joseph Myers <joseph@codesourcery.com>
5996
5997 * math/libm-test.inc (struct test_f_l_data): New type.
5998 (RUN_TEST_LOOP_f_l): New macro.
5999 (lrint_test_data): New variable.
6000 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
6001 (lrint_tonearest_test_data): New variable.
6002 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
6003 (lrint_towardzero_test_data): New variable.
6004 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
6005 (lrint_downward_test_data): New variable.
6006 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
6007 (lrint_upward_test_data): New variable.
6008 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
6009 (lround_test_data): New variable.
6010 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
6011
39b1f617
PC
60122013-05-15 Peter Collingbourne <pcc@google.com>
6013
1deff3dc
PC
6014 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
6015 (EXTRACT_WORDS64) Use where appropriate.
6016 (INSERT_WORDS64) Likewise.
6017
791f3ba0
PC
6018 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
6019 constraints with x constraints.
6020 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
6021
39b1f617
PC
6022 * malloc/obstack.c (_obstack_compat): Add initializer.
6023
12fba011
EM
60242013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
6025
6026 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
6027 si_trapno and add si_addr_lsb to _sifields.sigfault.
6028 (si_trapno): Remove macro.
6029 (si_addr_lsb): Define new macro.
6030 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6031
d369f531
JM
60322013-05-15 Joseph Myers <joseph@codesourcery.com>
6033
b861c6c4
JM
6034 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
6035 instead of TEST_f_l.
6036 (llrint_test_tonearest): Likewise.
6037 (llrint_test_towardzero): Likewise.
6038 (llrint_test_downward): Likewise.
6039 (llrint_test_upward): Likewise.
6040 (llround_test): Likewise.
6041
7abeee12
JM
6042 * math/libm-test.inc (struct test_f_i_data): Add comment.
6043 (RUN_TEST_LOOP_f_b): New macro.
6044 (RUN_TEST_LOOP_f_b_tg): Likewise.
6045 (finite_test_data): New variable.
6046 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
6047 (isfinite_test_data): New variable.
6048 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6049 (isinf_test_data): New variable.
6050 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6051 (isnan_test_data): New variable.
6052 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6053 (isnormal_test_data): New variable.
6054 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6055 (issignaling_test_data): New variable.
6056 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6057 (signbit_test_data): New variable.
6058 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6059
cbe8c4d3
JM
6060 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
6061 with INVALID_EXCEPTION.
6062 (acosh_test_data): Likewise.
6063 (asin_test_data): Likewise.
6064 (atanh_test_data): Likewise.
6065 (fmod_test_data): Likewise.
6066 (log_test_data): Likewise.
6067 (log10_test_data): Likewise.
6068 (log2_test_data): Likewise.
6069 (pow_test_data): Likewise.
6070 (sqrt_test_data): Likewise.
6071 (y0_test_data): Likewise.
6072 (y1_test_data): Likewise.
6073 (yn_test_data): Likewise.
6074
5575c0e5
JM
6075 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
6076 function contents.
6077
d369f531
JM
6078 * math/libm-test.inc (struct test_ff_i_data): New type.
6079 (RUN_TEST_LOOP_ff_i_tg): New macro.
6080 (isgreater_test_data): New variable.
6081 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6082 (isgreaterequal_test_data): New variable.
6083 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6084 (isless_test_data): New variable.
6085 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6086 (islessequal_test_data): New variable.
6087 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6088 (islessgreater_test_data): New variable.
6089 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6090 (isunordered_test_data): New variable.
6091 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6092
781fd748
DM
60932013-05-14 David S. Miller <davem@davemloft.net>
6094
6095 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6096
87aa21df
JM
60972013-05-14 Joseph Myers <joseph@codesourcery.com>
6098
5e908270
JM
6099 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
6100
f71172e5
JM
6101 * math/libm-test.inc (struct test_fF_f1_data): Change type of
6102 extra_test to int.
6103 (struct test_f_i_data): Change type of max_ulp to int.
6104
8cfa635a
JM
6105 * math/libm-test.inc (test_ffI_f1_data): New type.
6106 (RUN_TEST_LOOP_ffI_f1): New macro.
6107 (remquo_test_data): New variable.
6108 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
6109
2bcb36b2
JM
6110 * setjmp/tst-setjmp-fp.c: New file.
6111 * setjmp/Makefile (tests): Add tst-setjmp-fp.
6112 (link-libm): New variable.
6113 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
6114
acbd839a
JM
6115 * math/libm-test.inc (struct test_f_i_data): New type.
6116 (RUN_TEST_LOOP_f_i): New macro.
6117 (RUN_TEST_LOOP_f_i_tg): Likewise.
6118 (fpclassify_test_data): New variable.
6119 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
6120 (ilogb_test_data): New variable.
6121 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
6122
e414d745
JM
6123 * math/libm-test.inc (scalbln_test): Correct function name in END
6124 call.
6125
d9c2a0fd
JM
6126 * math/libm-test.inc (struct test_f_f1_data): Add comment.
6127 (RUN_TEST_LOOP_fI_f1): New macro.
6128 (frexp_test_data): New variable.
6129 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
6130
9dc9095d
JM
6131 * math/libm-test.inc (struct test_fF_f1_data): New type.
6132 (RUN_TEST_LOOP_fF_f1): New macro.
6133 (modf_test_data): New variable.
6134 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
6135
87aa21df
JM
6136 * math/libm-test.inc (struct test_f_f1_data): New type.
6137 (RUN_TEST_LOOP_f_f1): New macro.
6138 (gamma_test_data): New variable.
6139 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6140 (lgamma_test_data): New variable.
6141 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6142
141af660
CD
61432013-05-13 Carlos O'Donell <carlos@redhat.com>
6144
6145 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
6146 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
6147 (main): Comment "tls" pseudo-hwcap.
6148
6d33265c
JM
61492013-05-13 Joseph Myers <joseph@codesourcery.com>
6150
68fc074c
JM
6151 * math/libm-test.inc (struct test_fl_f_data): New type.
6152 (RUN_TEST_LOOP_fl_f): New variable.
6153 (scalbln_test_data): New variable.
6154 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
6155
243216e1
JM
6156 * math/libm-test.inc (struct test_fi_f_data): New type.
6157 (RUN_TEST_LOOP_fi_f): New macro.
6158 (ldexp_test_data): New variable.
6159 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
6160 (scalbn_test_data): New variable.
6161 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
6162
6a1992e2
JM
6163 * math/libm-test.inc (struct test_c_f_data): New type.
6164 (RUN_TEST_LOOP_c_f): New macro.
6165 (cabs_test_data): New variable.
6166 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
6167 (carg_test_data): New variable.
6168 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
6169 (cimag_test_data): New variable.
6170 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
6171 (creal_test_data): New variable.
6172 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
6173
0e400df5
JM
6174 * math/libm-test.inc (struct test_if_f_data): New type.
6175 (RUN_TEST_LOOP_if_f): New macro.
6176 (jn_test_data): New variable.
6177 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
6178 (yn_test_data): New variable.
6179 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
6180
6d33265c
JM
6181 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
6182
f98ece5f
AZ
61832013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6184
6185 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
6186 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
6187
0f7d347b
SP
61882013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6189
43fe811b
SP
6190 * benchtests/Makefile (CPPFLAGS-nonlib): Add
6191 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
6192 (bench-deps): Add bench-timing.h.
6193 * benchtests-bench-skeleton.c: Include bench-timing.h.
6194 (main): Use TIMING_* macros instead of clock_gettime.
6195 * benchtests/bench-timing.h: New file.
6196
0f7d347b
SP
6197 [BZ #14582]
6198 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
6199 Renamed from _LIB_VERSION.
6200 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
6201
601a3a5f
JM
62022013-05-12 Joseph Myers <joseph@codesourcery.com>
6203
4f184d30
JM
6204 * math/libm-test.inc (struct test_fff_f_data): New type.
6205 (RUN_TEST_LOOP_fff_f): New macro.
6206 (fma_test_data): New variable.
6207 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
6208 (fma_towardzero_test_data): New variable.
6209 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
6210 (fma_downward_test_data): New variable.
6211 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
6212 (fma_upward_test_data): New variable.
6213 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
6214
08198877
JM
6215 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
6216 (struct test_c_c_data): New type.
6217 (RUN_TEST_LOOP_c_c): New macro.
6218 (cacos_test_data): New variable.
6219 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
6220 (cacosh_test_data): New variable.
6221 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
6222 (casin_test_data): New variable.
6223 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
6224 (casinh_test_data): New variable.
6225 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
6226 (catan_test_data): New variable.
6227 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
6228 (catanh_test_data): New variable.
6229 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
6230 (ccos_test_data): New variable.
6231 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
6232 (ccosh_test_data): New variable.
6233 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
6234 (cexp_test_data): New variable.
6235 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
6236 (clog_test_data): New variable.
6237 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
6238 (clog10_test_data): New variable.
6239 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
6240 (conj_test_data): New variable.
6241 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
6242 (cproj_test_data): New variable.
6243 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
6244 (csin_test_data): New variable.
6245 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
6246 (csinh_test_data): New variable.
6247 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
6248 (csqrt_test_data): New variable.
6249 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
6250 (ctan_test_data): New variable.
6251 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
6252 (ctan_tonearest_test_data): New variable.
6253 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6254 (ctan_towardzero_test_data): New variable.
6255 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6256 (ctan_downward_test_data): New variable.
6257 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6258 (ctan_upward_test_data): New variable.
6259 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6260 (ctanh_test_data): New variable.
6261 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
6262 (ctanh_tonearest_test_data): New variable.
6263 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6264 (ctanh_towardzero_test_data): New variable.
6265 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6266 (ctanh_downward_test_data): New variable.
6267 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6268 (ctanh_upward_test_data): New variable.
6269 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6270 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
6271 of BUILD_COMPLEX.
6272
601a3a5f
JM
6273 * math/libm-test.inc (struct test_ff_f_data): New type.
6274 (struct test_ff_f_data_nexttoward): Likewise.
6275 (RUN_TEST_LOOP_2_f): New macro.
6276 (RUN_TEST_LOOP_ff_f): Likewise.
6277 (atan2_test_data): New variable.
6278 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
6279 (copysign_test_data): New variable.
6280 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
6281 (fdim_test_data): New variable.
6282 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
6283 (fmax_test_data): New variable.
6284 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
6285 (fmin_test_data): New variable.
6286 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
6287 (fmod_test_data): New variable.
6288 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
6289 (hypot_test_data): New variable.
6290 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
6291 (nextafter_test_data): New variable.
6292 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
6293 (nexttoward_test_data): New variable.
6294 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
6295 (pow_test_data): New variable.
6296 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
6297 (pow_tonearest_test_data): New variable.
6298 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
6299 (pow_towardzero_test_data): New variable.
6300 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
6301 (pow_downward_test_data): New variable.
6302 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
6303 (pow_upward_test_data): New variable.
6304 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
6305 (remainder_test_data): New variable.
6306 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
6307 (scalb_test_data): New variable.
6308 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
6309 * sysdeps/i386/fpu/libm-test-ulps: Update.
6310
74c57478
JM
63112013-05-11 Joseph Myers <joseph@codesourcery.com>
6312
8329e4da
JM
6313 * math/libm-test.inc (fma_test): Use max_value instead of local
6314 variable fltmax.
6315 (nextafter_test): Likewise.
6316
74c57478
JM
6317 * math/libm-test.inc (acos_towardzero_test_data): New variable.
6318 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6319 (acos_downward_test_data): New variable.
6320 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6321 (acos_upward_test_data): New variable.
6322 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6323 (acosh_test_data): New variable.
6324 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
6325 (asin_test_data): New variable.
6326 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
6327 (asin_tonearest_test_data): New variable.
6328 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6329 (asin_towardzero_test_data): New variable.
6330 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6331 (asin_downward_test_data): New variable.
6332 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6333 (asin_upward_test_data): New variable.
6334 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6335 (asinh_test_data): New variable.
6336 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
6337 (atan_test_data): New variable.
6338 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
6339 (atanh_test_data): New variable.
6340 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
6341 (cbrt_test_data): New variable.
6342 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
6343 (ceil_test_data): New variable.
6344 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
6345 (cos_test_data): New variable.
6346 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
6347 (cos_tonearest_test_data): New variable.
6348 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6349 (cos_towardzero_test_data): New variable.
6350 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6351 (cos_downward_test_data): New variable.
6352 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6353 (cos_upward_test_data): New variable.
6354 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6355 (cosh_test_data): New variable.
6356 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
6357 (cosh_tonearest_test_data): New variable.
6358 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6359 (cosh_towardzero_test_data): New variable.
6360 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6361 (cosh_downward_test_data): New variable.
6362 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6363 (cosh_upward_test_data): New variable.
6364 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6365 (erf_test_data): New variable.
6366 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
6367 (erfc_test_data): New variable.
6368 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
6369 (exp_test_data): New variable.
6370 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
6371 (exp_tonearest_test_data): New variable.
6372 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6373 (exp_towardzero_test_data): New variable.
6374 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6375 (exp_downward_test_data): New variable.
6376 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6377 (exp_upward_test_data): New variable.
6378 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6379 (exp10_test_data): New variable.
6380 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
6381 (exp2_test_data): New variable.
6382 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
6383 (expm1_test_data): New variable.
6384 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
6385 (fabs_test_data): New variable.
6386 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
6387 (floor_test_data): New variable.
6388 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
6389 (j0_test_data): New variable.
6390 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
6391 (j1_test_data): New variable.
6392 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
6393 (log_test_data): New variable.
6394 (log_test): Run tests with RUN_TEST_LOOP_f_f.
6395 (log10_test_data): New variable.
6396 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
6397 (log1p_test_data): New variable.
6398 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
6399 (log2_test_data): New variable.
6400 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
6401 (logb_test_data): New variable.
6402 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
6403 (logb_downward_test_data): New variable.
6404 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6405 (nearbyint_test_data): New variable.
6406 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
6407 (rint_test_data): New variable.
6408 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
6409 (rint_tonearest_test_data): New variable.
6410 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6411 (rint_towardzero_test_data): New variable.
6412 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6413 (rint_downward_test_data): New variable.
6414 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6415 (rint_upward_test_data): New variable.
6416 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6417 (round_test_data): New variable.
6418 (round_test): Run tests with RUN_TEST_LOOP_f_f.
6419 (sin_test_data): New variable.
6420 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
6421 (sin_tonearest_test_data): New variable.
6422 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6423 (sin_towardzero_test_data): New variable.
6424 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6425 (sin_downward_test_data): New variable.
6426 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6427 (sin_upward_test_data): New variable.
6428 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6429 (sinh_test_data): New variable.
6430 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
6431 (sinh_tonearest_test_data): New variable.
6432 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6433 (sinh_towardzero_test_data): New variable.
6434 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6435 (sinh_downward_test_data): New variable.
6436 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6437 (sinh_upward_test_data): New variable.
6438 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6439 (sqrt_test_data): New variable.
6440 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
6441 (tan_test_data): New variable.
6442 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
6443 (tan_tonearest_test_data): New variable.
6444 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6445 (tan_towardzero_test_data): New variable.
6446 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6447 (tan_downward_test_data): New variable.
6448 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6449 (tan_upward_test_data): New variable.
6450 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6451 (tanh_test_data): New variable.
6452 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
6453 (tgamma_test_data): New variable.
6454 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
6455 (trunc_test_data): New variable.
6456 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
6457 (y0_test_data): New variable.
6458 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
6459 (y1_test_data): New variable.
6460 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
6461 (significand_test_data): New variable.
6462 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
6463
7187d844
CG
64642013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
6465
6466 [BZ #12387]
6467 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
6468
f63fae73
PT
64692013-05-10 Pino Toscano <toscano.pino@tiscali.it>
6470
6471 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
6472
8a67a4b3
AJ
64732013-05-10 Andreas Jaeger <aj@suse.de>
6474
6475 [BZ #15448]
6476 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
6477 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
6478
51df539d
JM
64792013-05-10 Joseph Myers <joseph@codesourcery.com>
6480
6481 * math/gen-libm-test.pl (adjust_arg): New function.
6482 (special_functions): Handle generating output in both functions
6483 and arrays.
6484 (parse_args): Likewise.
6485 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
6486 $in_func argument to parse_args.
6487 * math/libm-test.inc (struct test_f_f_data): New type.
6488 (IF_ROUND_INIT_): New macro.
6489 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
6490 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6491 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6492 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6493 (ROUND_RESTORE_): Likewise.
6494 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
6495 (ROUND_RESTORE_FE_TONEAREST): Likewise.
6496 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
6497 (ROUND_RESTORE_FE_UPWARD): Likewise.
6498 (RUN_TEST_LOOP_f_f): New macro.
6499 (acos_test_data): New variable.
6500 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
6501 (acos_tonearest_test_data): New variable.
6502 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6503
5c637fe5
SP
65042013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6505
6506 * benchtests/bench-skeleton.c (startup): Fix coding style.
6507
ab2b9461
JM
65082013-05-10 Joseph Myers <joseph@codesourcery.com>
6509
6510 [BZ #6809]
6511 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
6512 negative infinity argument.
6513 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
6514 negative infinity argument.
6515 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
6516 negative infinity argument.
6517 * math/libm-test.inc (tgamma_test): Expect errno to be set for
6518 domain errors.
6519
4c0fe6fe
FW
65202013-05-10 Florian Weimer <fweimer@redhat.com>
6521
6522 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
6523 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
6524 * iconv/iconv_prog.c (main): Likewise.
6525 * locale/programs/charmap-dir.c (charmap_readdir)
6526 (fopen_uncompressed): Likewise.
6527 * locale/programs/locfile.c (siblings_uncached)
6528 (write_locale_data): Use lstat64 instead of lstat.
6529 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
6530 stat.
6531
a3375d29
AJ
65322013-05-10 Andreas Jaeger <aj@suse.de>
6533
6534 [BZ #15395]
6535 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
6536 localization.
6537 Include <locale.h>.
6538
36129722
CD
65392013-05-09 Carlos O'Donell <carlos@redhat.com>
6540
6541 * elf/dl-close.c (_dl_close_worker): Add comments.
6542
faa7f811
JM
65432013-05-09 Joseph Myers <joseph@codesourcery.com>
6544
ed41ffef
JM
6545 [BZ #15359]
6546 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
6547 high part of pi/2.
6548 (__ieee754_rem_pio2l): Update comments.
6549
d0213cd0
JM
6550 [BZ #15429]
6551 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
6552 high part of pi/2.
6553 (__ieee754_rem_pio2l): Update comments.
6554
0d3e777a
JM
6555 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
6556 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
6557
24f56066
JM
6558 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
6559 M_PI_4l.
6560
faa7f811
JM
6561 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
6562 (M_PI_34_LOG10El): Likewise.
6563 (M_PI2_LOG10El): Likewise.
6564 (M_PI4_LOG10El): Likewise.
6565 (M_PI_LOG10El): Likewise.
6566
e9a5e0fd
AZ
65672013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6568
6569 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6570
d8cd06db
JM
65712013-05-08 Joseph Myers <joseph@codesourcery.com>
6572
a0d9f9d7
JM
6573 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
6574 (MINUS_ZERO_INIT): Likewise.
6575 (PLUS_INFTY_INIT): Likewise.
6576 (MINUS_INFTY_INIT): Likewise.
6577 (QNAN_VALUE_INIT): Likewise.
6578 (MAX_VALUE_INIT): Likewise.
6579 (MIN_VALUE_INIT): Likewise.
6580 (MIN_SUBNORM_VALUE_INIT): Likewise.
6581 (plus_zero): Initialize with PLUS_ZERO_INIT.
6582 (minus_zero): Initialize with MINUS_ZERO_INIT.
6583 (plus_infty): Initialize with PLUS_INFTY_INIT.
6584 (minus_infty): Initialize with MINUS_INFTY_INIT.
6585 (qnan_value): Initialize with QNAN_VALUE_INIT.
6586 (max_value): Initialize with MAX_VALUE_INIT.
6587 (min_value): Initialize with MIN_VALUE_INIT.
6588 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
6589
ae08db3b
JM
6590 * math/libm-test.inc (RUN_TEST_if_f): New macro.
6591 (jn_test): Use TEST_if_f instead of TEST_ff_f.
6592 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
6593 (yn_test): Use TEST_if_f instead of TEST_ff_f.
6594
f44bf14a
JM
6595 * math/libm-test.inc (RUN_TEST_f_f): New macro.
6596 (RUN_TEST_2_f): Likewise.
6597 (RUN_TEST_ff_f): Likewise.
6598 (RUN_TEST_fi_f): Likewise.
6599 (RUN_TEST_fl_f): Likewise.
6600 (RUN_TEST_fff_f): Likewise.
6601 (RUN_TEST_c_f): Likewise.
6602 (RUN_TEST_f_f1): Likewise.
6603 (RUN_TEST_fF_f1): Likewise.
6604 (RUN_TEST_fI_f1): Likewise.
6605 (RUN_TEST_ffI_f1): Likewise.
6606 (RUN_TEST_c_c): Likewise.
6607 (RUN_TEST_cc_c): Likewise.
6608 (RUN_TEST_f_i): Likewise.
6609 (RUN_TEST_f_i_tg): Likewise.
6610 (RUN_TEST_ff_i_tg): Likewise.
6611 (RUN_TEST_f_b): Likewise.
6612 (RUN_TEST_f_b_tg): Likewise.
6613 (RUN_TEST_f_l): Likewise.
6614 (RUN_TEST_f_L): Likewise.
6615 (RUN_TEST_sincos): Likewise.
6616 * math/gen-libm-test.pl (new_test): Take new argument to indicate
6617 whether to show exceptions. Do not include ");\n" in return
6618 value.
6619 (special_functions): Output call to RUN_TEST_sincos instead of
6620 check_float calls. Update calls to new_test.
6621 (parse_args): Output call to single RUN_TEST_* macro instead of
6622 check_* calls and other assignments. Update calls to new_test.
6623
d8cd06db
JM
6624 [BZ #2546]
6625 [BZ #2560]
6626 [BZ #5159]
6627 [BZ #15426]
6628 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
6629 input to result for tgamma overflow.
6630 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
6631 (gamma_coeff): New variable.
6632 (NCOEFF): New macro.
6633 (gamma_positive): New function.
6634 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
6635 underflow here. Use gamma_positive instead of exp (lgamma) for
6636 other arguments.
6637 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
6638 (gamma_coeff): New variable.
6639 (NCOEFF): New macro.
6640 (gammaf_positive): New function.
6641 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
6642 underflow here. Use gamma_positive instead of exp (lgamma) for
6643 other arguments.
6644 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
6645 (gamma_coeff): New variable.
6646 (NCOEFF): New macro.
6647 (gammal_positive): New function.
6648 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
6649 underflow here. Use gamma_positive instead of exp (lgamma) for
6650 other arguments.
6651 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
6652 (gamma_coeff): New variable.
6653 (NCOEFF): New macro.
6654 (gammal_positive): New function.
6655 (__ieee754_gammal_r): Handle positive infinity, overflow and
6656 underflow here. Handle NaN the same as positive infinity. Remove
6657 check x < 0xffffffff for negative integers. Use gamma_positive
6658 instead of exp (lgamma) for other arguments.
6659 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
6660 (gamma_coeff): New variable.
6661 (NCOEFF): New macro.
6662 (gammal_positive): New function.
6663 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
6664 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
6665 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6666 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
6667 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
6668 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6669 * sysdeps/generic/math_private.h (__gamma_productf): New
6670 prototype.
6671 (__gamma_product): Likewise.
6672 (__gamma_productl): Likewise.
6673 * math/Makefile (libm-calls): Add gamma_product.
6674 * math/libm-test.inc (tgamma_test): Add more tests.
6675 * sysdeps/i386/fpu/libm-test-ulps: Update.
6676 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6677
bb7cf681
OB
66782013-05-08 Ondřej Bílka <neleai@seznam.cz>
6679
6680 * benchtests/bench-skeleton.c (main): Preheat CPU.
6681
ba853947
AJ
66822013-05-07 Aurelien Jarno <aurelien@aurel32.net>
6683
6684 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
6685
8347c74c
RM
66862013-05-07 Roland McGrath <roland@hack.frob.com>
6687
6688 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
6689 and _dl_skip_args_internal.
6690
e8dd4791
CD
66912013-05-07 Carlos O'Donell <carlos@redhat.com>
6692
6693 * manual/message.texi (Message Translation): Talk about users.
6694 Message to key mapping impacts design.
6695
c7405830
RM
66962013-05-06 Roland McGrath <roland@hack.frob.com>
6697
a9173057
RM
6698 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
6699
976e2f03
RM
6700 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
6701
9723ffc5
RM
6702 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
6703 * sysdeps/wordsize-64/glob64.c: ... here.
6704
962e6658
RM
6705 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
6706 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
6707 New macros.
6708
ee586a6d
RM
6709 * debug/getlogin_r_chk.c: Moved to ...
6710 * login/getlogin_r_chk.c: ... here.
6711 * debug/Makefile (routines): Move getlogin_r_chk to ...
6712 * login/Makefile (routines): ... here.
6713 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
6714 * login/Versions (libc: GLIBC_2.4): ... here.
6715
355f9165
RM
6716 * io/poll.c (__poll): Renamed from poll.
6717 Add libc_hidden_def.
6718 (poll): Define as weak alias.
6719
bd9ffde6
RM
6720 * debug/ptsname_r_chk.c: Moved to ...
6721 * login/ptsname_r_chk.c: ... here.
6722 * debug/Makefile (routines): Move ptsname_r_chk to ...
6723 * login/Makefile (routines): ... here.
6724 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
6725 * login/Versions (libc: GLIBC_2.4): ... here.
6726
8fb16a04
RM
6727 * posix/getlogin.c: Moved to ...
6728 * login/getlogin.c: ... here.
6729 * posix/getlogin_r.c: Moved to ...
6730 * login/getlogin_r.c: ... here.
6731 * posix/getlogin_r.c: Moved to ...
6732 * login/getlogin_r.c: ... here.
6733 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
6734 * login/Makefile (routines): ... here.
6735 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
6736 * login/Versions (libc: GLIBC_2.0): ... here.
6737
b99b892f
RM
6738 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
6739 (setrlimit): Define as weak alias.
6740
c7405830
RM
6741 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
6742 Call __ names for open, ftruncate, and close.
6743 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
6744 (truncate): Define as weak alias.
6745
5bf96de5
JM
67462013-05-06 Joseph Myers <joseph@codesourcery.com>
6747
9ea3513c
JM
6748 * math/gen-libm-test.pl (parse_args): Initialize x before each
6749 test of frexp, modf and remquo.
6750
5bf96de5
JM
6751 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
6752 test signgam value.
6753
16e616a7
AZ
67542013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6755
6756 [BZ #15418]
6757 [BZ #15419]
6758 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
6759 internal tests.
6760 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6761
d5e82754
RM
67622013-05-06 Roland McGrath <roland@hack.frob.com>
6763
6764 * elf/dl-writev.h: New file.
6765 * elf/dl-misc.c: Include it.
6766 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
6767 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
6768
a7548d41
JM
67692013-05-04 Joseph Myers <joseph@codesourcery.com>
6770
b7dab1e4
JM
6771 * math/libm-test.inc (noXFails): Remove variable.
6772 (noXPasses): Likewise.
6773 (BUILD_COMPLEX_INT): Remove macro.
6774 (print_screen): Remove xfail argument.
6775 (print_screen_max_error): Likewise.
6776 (update_stats): Likewise.
6777 (print_max_error): Likewise. Update calls to other affected
6778 functions.
6779 (print_complex_max_error): Likewise.
6780 (test_single_exception): Update calls to print_screen.
6781 (test_single_errno): Likewise.
6782 (check_float_internal): Remove xfail argument. Update calls to
6783 other affected functions.
6784 (check_float): Likewise.
6785 (check_complex): Likewise.
6786 (check_int): Likewise.
6787 (check_long): Likewise.
6788 (check_bool): Likewise.
6789 (check_longlong): Likewise.
6790 (main): Don't print noXFails and noXPasses.
6791 * math/gen-libm-test.pl (top level): Don't mention expected
6792 failure handling in comment.
6793 (new_test): Don't handle expected failures.
6794 (parse_args): Don't mention expected failure handling in comment.
6795 (generate_testfile): Don't handle expected failures.
6796 (parse_ulps): Likewise.
6797 (print_ulps_file): Likewise.
6798 (get_failure): Remove function.
6799 (output_test): Don't handle expected failures.
6800 * make/README.libm-test: Don't mention expected failure handling.
6801
a7548d41
JM
6802 * math/libm-test.inc (plus_zero): Make const. Add initializer.
6803 (minus_zero): Likewise.
6804 (plus_infty): Likewise.
6805 (minus_infty): Likewise.
6806 (qnan_value): Likewise.
6807 (max_value): Likewise.
6808 (min_value): Likewise.
6809 (min_subnorm_value): Likewise.
6810 (initialize): Do not initialize those variables dynamically.
6811
60bfd54c
RM
68122013-05-03 Roland McGrath <roland@hack.frob.com>
6813
cc0e6ed8
RM
6814 * io/open.c (__open_2): Moved to ...
6815 * io/open_2.c: ... this new file.
6816 * io/open64.c (__open64_2): Moved to ...
6817 * io/open64_2.c: ... this new file.
6818 * io/openat.c (__openat_2): Moved to ...
6819 * io/openat_2.c: ... this new file.
6820 * io/openat64.c (__openat64_2): Moved to ...
6821 * io/openat64_2.c: ... this new file.
6822 * io/Makefile (routines): Add them.
6823 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
6824 * sysdeps/unix/sysv/linux/open_2.c: File removed.
6825 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
6826 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
6827 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
6828 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
6829 (__openat64): Add hidden_ver.
6830 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
6831 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
6832
60bfd54c
RM
6833 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
6834 Separately conditionalize setting of GLRO(dl_sysinfo) so
6835 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
6836 as well, but the actual setting is only under [NEED_DL_SYSINFO].
6837
83e7640f
AZ
68382013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6839
6840 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
6841 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
6842 definition.
6843 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
6844 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6845 (_libc_vdso_platform_setup): Add __vdso_time initialization.
6846 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
6847 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
6848
d5dc2af3
JM
68492013-05-03 Joseph Myers <joseph@codesourcery.com>
6850
c31a5b1e
JM
6851 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
6852 test signgam value.
6853
d5dc2af3
JM
6854 * math/libm-test.inc (hypot_test): Do not use
6855 IGNORE_ZERO_INF_SIGN.
6856
164fd39d
AJ
68572013-05-03 Andreas Jaeger <aj@suse.de>
6858
6859 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
6860 Linux 3.9.
6861 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
6862 (PF_MAX): Adjust for VSOCK change.
6863
8237f48c
AZ
68642013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6865
6866 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6867
9df02941
CD
68682013-05-02 Carlos O'Donell <carlos@redhat.com>
6869
6870 [BZ #15264]
6871 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
6872 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
6873 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
6874
d422395e
DM
68752013-05-02 David S. Miller <davem@davemloft.net>
6876
6877 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6878
a07c5731
OB
68792013-05-01 Ondřej Bílka <neleai@seznam.cz>
6880
6881 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
6882
1324e37f
RM
68832013-05-01 Roland McGrath <roland@hack.frob.com>
6884
6885 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
6886
0695940b
RS
68872013-05-01 Richard Smith <richard@metafoo.co.uk>
6888
bb5f27ad 6889 [BZ #14952]
0695940b
RS
6890 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
6891 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6892 Use __attribute__ ((__gnu_inline__)).
6893 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6894 Don't use __attribute__ ((__gnu_inline__)).
6895
10de07f5
JM
68962013-05-01 Joseph Myers <joseph@codesourcery.com>
6897
6898 [BZ #15423]
6899 * math/s_catan.c (__catan): Handle small real or imaginary part of
6900 input specially to avoid spurious underflow.
6901 * math/s_catanf.c (__catanf): Likewise.
6902 * math/s_catanh.c (__catanh): Likewise.
6903 * math/s_catanhf.c (__catanhf): Likewise.
6904 * math/s_catanhl.c (__catanhl): Likewise.
6905 * math/s_catanl.c (__catanl): Likewise.
6906 * math/libm-test.inc (catan_test): Add more tests.
6907 (catanh_test): Likewise.
6908 * sysdeps/i386/fpu/libm-test-ulps: Update.
6909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6910
cb4d5414
AZ
69112013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6912
6913 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6914
caf84319
JM
69152013-04-30 Joseph Myers <joseph@codesourcery.com>
6916
6917 [BZ #15416]
6918 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
6919 accurately for denominator in atan2.
6920 * math/s_catanf.c (__catanf): Likewise.
6921 * math/s_catanh.c (__catanh): Likewise.
6922 * math/s_catanhf.c (__catanhf): Likewise.
6923 * math/s_catanhl.c (__catanhl): Likewise.
6924 * math/s_catanl.c (__catanl): Likewise.
6925 * math/libm-test.inc (catan_test): Add more tests.
6926 (catanh_test): Likewise.
6927 * sysdeps/i386/fpu/libm-test-ulps: Update.
6928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6929
d569c6ee
SP
69302013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6931
6dbe713d
SP
6932 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
6933
f0ee064b
SP
6934 * benchtests/Makefile (bench): Remove slow benchmarks.
6935 * benchtests/atan-inputs: Add slow benchmark inputs.
6936 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
6937 (BENCH_FUNC): Accept variant offset.
6938 (VARIANT): Define.
6939 * benchtests/bench-skeleton.c (main): Run benchmark for each
6940 variant.
6941 * benchtests/cos-inputs: Add slow benchmark inputs.
6942 * benchtests/exp-inputs: Likewise.
6943 * benchtests/pow-inputs: Likewise.
6944 * benchtests/sin-inputs: Likewise.
6945 * benchtests/slowatan-inputs: Remove.
6946 * benchtests/slowatan.c: Remove.
6947 * benchtests/slowcos-inputs: Remove.
6948 * benchtests/slowcos.c: Remove.
6949 * benchtests/slowexp-inputs: Remove.
6950 * benchtests/slowexp.c: Remove.
6951 * benchtests/slowpow-inputs: Remove.
6952 * benchtests/slowpow.c: Remove.
6953 * benchtests/slowsin-inputs: Remove.
6954 * benchtests/slowsin.c: Remove.
6955 * benchtests/slowtan-inputs: Remove.
6956 * benchtests/slowtan.c: Remove.
6957 * benchtests/tan-inputs: Add slow benchmark inputs.
6958 * scripts/bench.pl: Parse comments and directives.
6959
d569c6ee
SP
6960 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
6961 in CPPFLAGS.
6962 ($(objpfx)bench-%.c): Remove *-ITER.
6963 * benchtests/bench-modf.c: Remove definition of ITER.
6964 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
6965 (main): Loop for DURATION seconds instead of fixed number of
6966 iterations.
6967 * scripts/bench.pl: Don't expect iterations in parameters.
6968
a6a242fe
RM
69692013-04-29 Roland McGrath <roland@hack.frob.com>
6970
6971 * io/fchdir.c (__fchdir): Renamed from fchdir.
6972 (fchdir): Define as weak alias.
6973
f2da7793
JM
69742013-04-29 Joseph Myers <joseph@codesourcery.com>
6975
6976 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
6977 (ERRNO_EDOM): Likewise.
6978 (ERRNO_ERANGE): Likewise.
6979 (noErrnoTests): New variable.
6980 (init_max_error): Set errno to 0.
6981 (test_single_errno): New function.
6982 (test_errno): Likewise.
6983 (check_float_internal): Call test_errno. Set errno to 0.
6984 (check_complex): Refer to errno tests in comment.
6985 (check_int): Call test_errno. Set errno to 0.
6986 (check_long): Likewise.
6987 (check_bool): Likewise.
6988 (check_longlong): Likewise.
6989 (cos_test): Use ERRNO_* flags for errno tests instead of
6990 check_int.
6991 (expm1_test): Likewise.
6992 (fmod_test): Likewise.
6993 (ilogb_test): Likewise.
6994 (lgamma_test): Likewise.
6995 (pow_test): Likewise.
6996 (remainder_test): Likewise.
6997 (sin_test): Likewise.
6998 (tan_test): Likewise.
6999 (yn_test): Likewise.
7000 (initialize): Set errno to 0.
7001 (main): Print number of errno tests.
7002 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
7003
b1a36ceb
AJ
70042013-04-29 Andreas Jaeger <aj@suse.de>
7005
c3ed8088
AJ
7006 [BZ #15084]
7007 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
7008 and RES_USEVC.
7009
f1a24198
AJ
7010 [BZ #15085]
7011 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
7012 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
7013 unimplemented.
7014
9ce3b2cb
AJ
7015 [BZ #15380]
7016 * stdlib/random.c (__initstate): Return NULL if
7017 __initstate fails.
7018
f1a24198 7019 [BZ #15086]
b1a36ceb
AJ
7020 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
7021 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
7022 RES_SNGLKUPREOP.
7023
7e7b6f36
AZ
70242013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7025
7026 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7027
4d14f449
JM
70282013-04-29 Joseph Myers <joseph@codesourcery.com>
7029
7030 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
7031 of individual tests.
7032 (casin_test): Likewise.
7033 (casinh_test): Likewise.
7034
5b4217d7
JM
70352013-04-27 Joseph Myers <joseph@codesourcery.com>
7036
7037 [BZ #15409]
7038 * math/s_catan.c (__catan): Handle arguments with large real or
7039 imaginary part separately without squaring.
7040 * math/s_catanf.c (__catanf): Likewise.
7041 * math/s_catanh.c (__catanh): Likewise.
7042 * math/s_catanhf.c (__catanhf): Likewise.
7043 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7044 and redefine.
7045 (__catanhl): Handle arguments with large real or imaginary part
7046 separately without squaring.
7047 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7048 and redefine.
7049 (__catanl): Handle arguments with large real or imaginary part
7050 separately without squaring.
7051 * math/libm-test.inc (catan_test): Add more tests.
7052 (catanh_test): Likewise.
7053 * sysdeps/i386/fpu/libm-test-ulps: Update.
7054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7055
4220c3ef
AJ
70562013-04-27 Andreas Jaeger <aj@suse.de>
7057
7058 [BZ #15007]
7059 * stdlib/stdlib.h: Update guards for qecvt.
7060 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
7061 <stdlib.h>.
7062
4721b2d1
AM
70632013-04-27 Allan McRae <allan@archlinux.org>
7064
7065 * sysdeps/i386/fpu/libm-test-ulps: Update.
7066
f0302940
JM
70672013-04-26 Joseph Myers <joseph@codesourcery.com>
7068
9457fd95
JM
7069 [BZ #15406]
7070 * math/s_catan.c: Include <float.h>.
7071 (__catan): Ensure underflow exception occurs for underflowed
7072 result.
7073 * math/s_catanf.c: Include <float.h>.
7074 (__catanf): Ensure underflow exception occurs for underflowed
7075 result.
7076 * math/s_catanh.c: Include <float.h>.
7077 (__catanh): Ensure underflow exception occurs for underflowed
7078 result.
7079 * math/s_catanhf.c: Include <float.h>.
7080 (__catanhf): Ensure underflow exception occurs for underflowed
7081 result.
7082 * math/s_catanhl.c: Include <float.h>.
7083 (__catanhl): Ensure underflow exception occurs for underflowed
7084 result.
7085 * math/s_catanl.c: Include <float.h>.
7086 (__catanl): Ensure underflow exception occurs for underflowed
7087 result.
7088 * math/libm-test.inc (catan_test): Add more tests.
7089 (catanh_test): Likewise.
7090
f0302940
JM
7091 [BZ #15405]
7092 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
7093 underflowed result.
7094 * math/s_ccoshf.c (__ccoshf): Likewise.
7095 * math/s_ccoshl.c (__ccoshl): Likewise.
7096 * math/s_csin.c (__csin): Likewise.
7097 * math/s_csinf.c (__csinf): Likewise.
7098 * math/s_csinh.c (__csinh): Likewise.
7099 * math/s_csinhf.c (__csinhf): Likewise.
7100 * math/s_csinhl.c (__csinhl): Likewise.
7101 * math/s_csinl.c (__csinl): Likewise.
7102 * math/libm-test.inc (ccos_test): Add more tests.
7103 (ccosh_test): Likewise.
7104 (csin_test): Likewise.
7105 (csinh_test): Likewise.
7106
aa630f59
AZ
71072013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7108
7109 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
7110 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
7111 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
7112 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
7113 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
7114 powerpc/power5+/fpu folders.
7115 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
7116
7117
1b835983
MT
71182013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
7119
7120 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7121
73709b26
JM
71222013-04-25 Joseph Myers <joseph@codesourcery.com>
7123
7124 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
7125 additions to variable.
7126 [$(config-machine) = x86_64] (modules-names): Likewise.
7127 ($(objpfx)tst-audit3): Remove dependency.
7128 ($(objpfx)tst-audit3.out): Likewise.
7129 ($(objpfx)tst-audit4): Likewise.
7130 ($(objpfx)tst-audit4.out): Likewise.
7131 ($(objpfx)tst-audit5): Likewise.
7132 ($(objpfx)tst-audit5.out): Likewise.
7133 ($(objpfx)tst-audit6): Likewise.
7134 ($(objpfx)tst-audit6.out): Likewise.
7135 ($(objpfx)tst-audit7): Likewise.
7136 ($(objpfx)tst-audit7.out): Likewise.
7137 (tst-audit3-ENV): Remove variable.
7138 (tst-audit4-ENV): Likewise.
7139 (tst-audit5-ENV): Likewise.
7140 (tst-audit6-ENV): Likewise.
7141 (tst-audit7-ENV): Likewise.
7142 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
7143 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
7144 addition to variable.
7145 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
7146 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
7147 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
7148 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
7149 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
7150 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
7151 tst-audit3, tst-audit4 and tst-audit5.
7152 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
7153 tst-audit6 and tst-audit7.
7154 [$(subdir) = elf] (modules-names): Add audit modules for those
7155 tests.
7156 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
7157 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
7158 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
7159 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
7160 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
7161 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
7162 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
7163 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
7164 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
7165 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
7166 [$(subdir) = elf] (tst-audit3-ENV): New variable.
7167 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
7168 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
7169 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
7170 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
7171 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
7172 Likewise.
7173 [$(subdir) = elf && $(config-cflags-avx) = yes]
7174 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
7175 [$(subdir) = elf && $(config-cflags-avx) = yes]
7176 (CFLAGS-tst-auditmod4a.c): Likewise.
7177 [$(subdir) = elf && $(config-cflags-avx) = yes]
7178 (CFLAGS-tst-auditmod4b.c): Likewise.
7179 [$(subdir) = elf && $(config-cflags-avx) = yes]
7180 (CFLAGS-tst-auditmod6b.c): Likewise.
7181 [$(subdir) = elf && $(config-cflags-avx) = yes]
7182 (CFLAGS-tst-auditmod6c.c): Likewise.
7183 [$(subdir) = elf && $(config-cflags-avx) = yes]
7184 (CFLAGS-tst-auditmod7b.c): Likewise.
7185 * elf/tst-audit3.c: Move to ...
7186 * sysdeps/x86_64/tst-audit3.c: ... here.
7187 * elf/tst-audit4.c: Move to ...
7188 * sysdeps/x86_64/tst-audit4.c: ... here.
7189 * elf/tst-audit5.c: Move to ...
7190 * sysdeps/x86_64/tst-audit5.c: ... here.
7191 * elf/tst-audit6.c: Move to ...
7192 * sysdeps/x86_64/tst-audit6.c: ... here.
7193 * elf/tst-audit7.c: Move to ...
7194 * sysdeps/x86_64/tst-audit7.c: ... here.
7195 * elf/tst-auditmod3a.c: Move to ...
7196 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
7197 * elf/tst-auditmod3b.c: Move to ...
7198 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
7199 * elf/tst-auditmod4a.c: Move to ...
7200 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
7201 * elf/tst-auditmod4b.c: Move to ...
7202 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
7203 * elf/tst-auditmod5a.c: Move to ...
7204 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
7205 * elf/tst-auditmod5b.c: Move to ...
7206 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
7207 * elf/tst-auditmod6a.c: Move to ...
7208 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
7209 * elf/tst-auditmod6b.c: Move to ...
7210 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
7211 * elf/tst-auditmod6c.c: Move to ...
7212 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
7213 * elf/tst-auditmod7a.c: Move to ...
7214 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
7215 * elf/tst-auditmod7b.c: Move to ...
7216 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
7217
1ef74943
PP
72182013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
7219
7220 [BZ #15366]
7221 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
7222 define unconditionally.
7223 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
7224 define unconditionally.
7225 (INT8_C, INT16_C, etc.): Likewise.
7226
93fd48c5
MR
72272013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
7228
ae9552cf
MR
7229 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
7230 __ehdr_start with hidden visibility.
7231
93fd48c5
MR
7232 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
7233
418601aa
CD
72342013-04-24 Carlos O'Donell <carlos@redhat.com>
7235
7236 * math/libm-test.inc (cos_test): Use accurate hex constants.
7237 (sincost_test): Likewise.
7238
2f38fbfe
JM
72392013-04-24 Joseph Myers <joseph@codesourcery.com>
7240
5e221800
JM
7241 * math/libm-test.inc (catan_test): Add more tests.
7242 (catanh_test): Likewise.
7243
77f143fd
JM
7244 * math/s_catanf.c (__catanf): Use suffixed floating-point
7245 constants.
7246 * math/s_catanhf.c (__catanhf): Likewise.
7247 * math/s_catanhl.c (__catanhl): Likewise.
7248 * math/s_catanl.c (__catanl): Likewise.
7249
2f38fbfe
JM
7250 [BZ #15394]
7251 * math/s_catan.c (__catan): Calculate imaginary part of result
7252 with log1p not log unless computing log of number close to 0.
7253 * math/s_catanf.c (__catanf): Likewise.
7254 * math/s_catanl.c (__catanl): Likewise.
7255 * math/s_catanh.c (__catanh): Calculate real part of result with
7256 log1p not log unless computing log of number close to 0.
7257 * math/s_catanhf.c (__catanhf): Likewise.
7258 * math/s_catanhl.c (__catanhl): Likewise.
7259 * math/libm-test.inc (catan_test): Add more tests.
7260 (catanh_test): Likewise.
7261 * sysdeps/i386/fpu/libm-test-ulps: Update.
7262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7263
45d69176
SP
72642013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7265
7266 * benchtests/Makefile: Mention files in which fast and slow
7267 paths of math functions are implemented.
7268
87f51853
RM
72692013-04-23 Roland McGrath <roland@hack.frob.com>
7270
7271 * sysdeps/posix/timespec_get.c: New file.
7272
3c026539
AZ
72732013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7274
7275 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
7276 POWER.
7277 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
7278 for POWER.
7279 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
7280 powerpc/power5/fpu folders.
7281 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
7282 * benchtests/Makefile: Add modf testcase.
7283 * benchtests/bench-modf.c: New file: Benchmark test for mo
7284
ff491d14
SP
72852013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7286
7287 [BZ #14888]
7288 * time/Makefile (tests): Add tst-strptime-whitespace.
7289 * time/strptime_l.c (get_number): Use ISSPACE.
7290 (__strptime_internal): Likewise.
7291 * time/tst-strptime-whitespace.c: New test case.
7292
7ed3f4e8
AS
72932013-04-23 Andreas Schwab <schwab@linux-m68k.org>
7294
7295 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
7296 member.
7297 (_nss_files_init): Set it here.
7298
5c95f7b6
HC
72992013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
7300
7301 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
7302 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
7303 unsigned.
7304
d34c9158
JBG
73052013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
7306
7307 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
7308
2169712d
SP
73092013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7310
7311 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
7312 size just once.
7313
29c5de99
DM
73142013-04-21 David S. Miller <davem@davemloft.net>
7315
7316 * po/ru.po: Update Russion translation from translation project.
7317
ccdad15d
AC
73182013-04-17 Adam Conrad <adconrad@0c3.net>
7319
7320 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
7321 and setfsgid.
7322
0f122b8d
CD
73232013-04-17 Carlos O'Donell <carlos@redhat.com>
7324
5c5b07da 7325 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 7326 * configure: Regenerate.
5c5b07da 7327 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
7328 Add example to error message.
7329 * sysdeps/i386/configure: Regenerate.
7330
037714dd
SP
73312013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7332
7333 * benchtests/Makefile (bench): Add cos, tan, slowcos and
7334 slowtan.
7335 * benchtests/cos-inputs: New file.
7336 * benchtests/slowcos-inputs: New file.
7337 * benchtests/slowcos.c: New file.
7338 * benchtests/slowtan-inputs: New file.
7339 * benchtests/slowtan.c: New file.
7340 * benchtests/tan-inputs: New file.
7341
e913141d
RM
73422013-04-16 Roland McGrath <roland@hack.frob.com>
7343
7344 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
7345 considered kosher.
7346
a2964074
SP
73472013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7348
4856bcd2
SP
7349 * benchtests/Makefile: Include cppflags-iterator.mk to add
7350 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
7351
a2964074
SP
7352 * Makefile.in (bench-clean): New target.
7353 * benchtests/Makefile (bench-clean): Likewise.
7354
9fbf9aca
DH
73552013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
7356
7357 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
7358
207d1e2a
TS
73592013-04-15 Thomas Schwinge <thomas@codesourcery.com>
7360
7361 * stdio-common/tstdiomisc.c: Fix coding-style violation.
7362
306dfba9
AS
73632013-04-15 Andreas Schwab <schwab@suse.de>
7364
7365 * nscd/grpcache.c (cache_addgr): Properly check for short write.
7366 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7367 * nscd/pwdcache.c (cache_addpw): Likewise.
7368 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
7369 more than recsize.
7370
206a6699
SP
73712013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7372
7373 * benchtests/Makefile (bench): Write all output to
7374 bench-out.tmp together.
7375
0582f6b3
AS
73762013-04-15 Andreas Schwab <schwab@suse.de>
7377
7378 * nscd/nscd.c (main): Don't fork again after closing files.
7379
acb4325f
SP
73802013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7381
5cb26d0a
SP
7382 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
7383
acb4325f
SP
7384 * benchtests/Rules (bench-deps): Collect dependencies into a
7385 single variable. Add Makefile to dependencies.
7386 ($(objpfx)bench-%.c): Depend on bench-deps.
7387
47792506
RM
73882013-04-12 Roland McGrath <roland@hack.frob.com>
7389 Xavier Roche <roche+kml2@exalead.com>
7390
7391 [BZ #15361]
7392 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
7393 just that it's a file descriptor.
7394 * manual/llio.texi (Synchronizing AIO Operations): Update description
7395 for EBADF error from aio_fsync.
7396
8fc1bee5
SP
73972013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7398
7399 * Rules (bench): Move target definition...
7400 * benchtests/Makefile: ... here.
7401
aba5e333
CD
74022013-04-11 Carlos O'Donell <carlos@redhat.com>
7403
7404 * math/libm-test.inc (cos_test): Fix PI/2 test.
7405 (sincos_test): Likewise.
7406 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7407 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
7408
273cdee8
AS
74092013-04-11 Andreas Schwab <schwab@suse.de>
7410
6ecec3b6
AS
7411 [BZ #13988]
7412 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
7413 accept exponent character only when digits were seen.
7414 * stdio-common/Makefile (tests): Add bug26.
7415 * stdio-common/bug26.c: New file.
7416
273cdee8
AS
7417 [BZ #14293]
7418 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
7419 non-freeable.
7420
8da491f5
SP
74212013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7422
01dc6df9
SP
7423 * Makeconfig (rtld-prefix): Define built linker prefix.
7424 * Rules (run-bench): Use it.
7425 * math/Makefile (run-regen-ulps): Likewise.
7426
8da491f5
SP
7427 * Rules (bench): Remove eval.
7428
abe7f530
SP
74292013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7430 Roland McGrath <roland@hack.frob.com>
7431 Ondrej Bilka <neleai@seznam.cz>
7432
7433 [BZ #15346]
7434 * time/getdate.c: Include ctype.h and alloca.h.
7435 (__getdate_r): Trim leading and trailing spaces of input.
7436 * time/tst-getdate.c (tests): Add tests with leading and
7437 trailing spaces.
7438
61c23e62
RM
74392013-04-08 Roland McGrath <roland@hack.frob.com>
7440
7441 [BZ #14280]
7442 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
7443 when computing value.
7444
7208a313
CD
74452013-04-06 Carlos O'Donell <carlos@redhat.com>
7446
085b2d41
CD
7447 * math/README.libm-test (How can I generate "libm-test-ulps"?):
7448 Use testrun.sh to run libm tests.
7449
7208a313
CD
7450 [BZ #15309]
7451 * elf/dl-open.c (dl_open_worker): memset all of seen array.
7452
872c0acd
MM
74532013-04-06 Marko Myllynen <myllynen@redhat.com>
7454
7455 [BZ #15264]
7456 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
7457
26510bdd
CD
74582013-04-06 Carlos O'Donell <carlos@redhat.com>
7459
7460 * Makefile.in (regen-ulps): New target.
7461 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
7462 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
7463 [ifneq (no,$(PERL)] (regen-ulps): New target.
7464 [ifeq (no,$(PERL)] (regen-ulps): New target.
7465 * math/libm-test.inc (ulps_file_name): Define.
7466 (output_dir): New variable.
7467 (options): Add "output-dir" option.
7468 (parse_opt): Handle 'o' case.
7469 (main): If output_dir is non-NULL use it as a prefix
7470 otherwise use "".
7471 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
7472
a01f19c8
CD
74732013-04-06 Carlos O'Donell <carlos@redhat.com>
7474
7475 [BZ #10060, #10062]
7476 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
7477 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
7478 fail configure if __sync_val_compare_and_swap is not inlined.
7479 * sysdeps/i386/configure: Regenerate.
7480 * configure.in: Build for i686 when configured for i386.
7481 * configure: Regenerate.
7482 * README: Remove i386 reference.
7483
b7a329a5
CD
74842013-04-06 Carlos O'Donell <carlos@redhat.com>
7485
7486 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
7487 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7488
bf0f50df
TS
74892013-04-05 Thomas Schwinge <thomas@codesourcery.com>
7490
ee091edf
TS
7491 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
7492 (lmsnanval): New variables.
7493 (F): Add conversion tests.
7494 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
7495 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
7496
a8b792d6
TS
7497 * stdio-common/tstdiomisc.c (F): Properly collect individual
7498 tests' results.
7499
a1cbf437
TS
7500 [BZ #14686, #15336]
7501 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
7502 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
7503 Instead, use input NaN values or generate a qNaN by arithmetic
7504 operation. Also fix bugs to comply with the standard.
7505 * math/libm-test.inc (remainder_test): Add more tests.
7506
8b43a0c9
TS
7507 [BZ #15335, #15342]
7508 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
7509 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
7510 input NaN values or generate a qNaN by arithmetic operation.
7511
d91da4ce
TS
7512 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
7513 unreachable code.
7514
bf0f50df
TS
7515 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
7516 definitions.
7517
05e166c8
JM
75182013-04-03 Joseph Myers <joseph@codesourcery.com>
7519
7520 [BZ #14478]
7521 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
7522 underflowed result.
7523 * math/s_cexpf.c (__cexpf): Likewise.
7524 * math/s_cexpl.c (__cexpl): Likewise.
7525 * math/libm-test.inc (cexp_test): Add more tests.
7526
1cef1b19
AS
75272013-04-03 Andreas Schwab <schwab@suse.de>
7528
7529 [BZ #15330]
7530 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
7531 order arrays from heap if bigger than alloca cutoff.
7532
74d87055
TS
75332013-04-03 Thomas Schwinge <thomas@codesourcery.com>
7534
7535 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
7536 (SNAN_TESTS_double): Refer to GCC PR56831.
7537 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
7538 GCC PR56828.
7539
d755bba4
SP
75402013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7541
90d5d5bb
SP
7542 * Rules (bench): Move bench.out after the run is complete.
7543
73e0cd5d
SP
7544 * Rules (bench): Echo currently running benchmark.
7545
64aabd4b
SP
7546 * benchtests/Makefile (bench): Add atan and slowatan.
7547 * benchtests/atan-inputs: New file.
7548 * benchtests/slowatan-inputs: New file.
7549 * benchtests/slowatan.c: New file.
7550
c871eccd
SP
7551 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
7552 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
7553 its value.
7554
d755bba4
SP
7555 [BZ #15305]
7556 * sysdeps/unix/sysv/linux/kernel-features.h
7557 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
7558 __ASSUME_XFS_RESTRICTED_CHOWN.
7559 * sysdeps/unix/sysv/linux/pathconf.c
7560 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7561 Save and restore errno.
7562
52ce4860
JM
75632013-04-02 Joseph Myers <joseph@codesourcery.com>
7564
7565 [BZ #15327]
7566 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
7567 arguments using __kernel_casinh.
7568 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
7569 arguments using __kernel_casinhf.
7570 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
7571 arguments using __kernel_casinhl.
7572 * math/libm-test.inc (cacosh_test): Add more tests.
7573 * sysdeps/i386/fpu/libm-test-ulps: Update.
7574 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7575
81f311c2
SP
75762013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7577
e7906a47
SP
7578 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
7579 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
7580
92e3664b
SP
7581 * bench/Makefile (bench): Add sin and slowsin.
7582 * benchtests/sin-inputs: New file.
7583 * benchtests/slowsin-inputs: New file.
7584 * benchtests/slowsin.c: New file.
7585
81f311c2
SP
7586 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
7587 (bench): Add slowexp and slowpow.
7588 (exp-ITER): Increase iterations.
7589 (pow-ITER): Likewise.
7590 * benchtests/exp-inputs: Change input.
7591 * benchtests/pow-inputs: Likewise.
7592 * benchtests/slowexp-inputs: New file.
7593 * benchtests/slowexp.c: New file.
7594 * benchtests/slowpow-inputs: New file.
7595 * benchtests/slowpow.c: New file.
7596
ab0f1aa9
AZ
75972013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7598
7599 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
7600 instructions.
7601 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7602 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
7603 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
7604 * benchtests/Makefile: Add rint benchtest.
7605 * benchtests/rint-inputs: Input for rint benchtest.
7606
57267616
TS
76072013-04-02 Thomas Schwinge <thomas@codesourcery.com>
7608
7609 * Versions.def (libm): Add GLIBC_2.18.
7610 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
7611 hidden libm prototypes.
7612 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
7613 * math/Makefile (libm-calls): Add s_issignaling.
7614 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
7615 __issignalingf, __issignalingl. Adjust all libm.abilist files.
7616 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
7617 declaration.
7618 * math/math.h [__USE_GNU] (issignaling): New macro.
7619 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
7620 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
7621 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
7622 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
7623 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
7624 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
7625 * manual/arith.texi (issignaling): New section.
7626 * manual/libm-err-tab.pl (@all_functions): Update comment.
7627 * math/gen-libm-test.pl (parse_args): Apply special handling for
7628 issignaling.
7629 * math/libm-test.inc (print_float, issignaling_test): New
7630 functions.
7631 (check_float_internal): Add issignaling checks.
7632 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
7633 default definition.
7634 * sysdeps/powerpc/math-tests.h: New file.
7635 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
7636 tests.
7637 * math/test-snan.c (TEST_FUNC): Likewise.
7638
6142896d
DM
76392013-03-30 David S. Miller <davem@davemloft.net>
7640
7641 * po/de.po: Update from translation team.
7642
ccc8cadf
JM
76432013-03-30 Joseph Myers <joseph@codesourcery.com>
7644
7645 [BZ #10357]
7646 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7647 imaginary part less than 1.0 and real part less than 0.5
7648 specially.
7649 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7650 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7651 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
7652 (cacos_test): Add more tests.
7653 (casin_test): Likewise.
7654 (casinh_test): Likewise.
7655 * sysdeps/i386/fpu/libm-test-ulps: Update.
7656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7657
0f6a8d4b
SP
76582013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7659
0d1029de
SP
7660 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
7661 ONE with its value.
7662
c2d94018
SP
7663 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
7664 (__pow_mp): Replace ONE and MONE with their values.
7665 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7666 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
7667 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7668 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
7669 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7670 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7671
27ec37f1
SP
7672 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
7673
a64d7e0e
SP
7674 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
7675 (__pow_mp): Replace ZERO and MZERO with their values.
7676 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7677 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7678 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7679 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7680 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7681 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
7682 (__sqr): Likewise.
7683
d26dd3eb
SP
7684 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
7685
0f6a8d4b
SP
7686 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
7687
e57b0c61
RM
76882013-03-28 Roland McGrath <roland@hack.frob.com>
7689
7690 * include/stdlib.h [!SHARED] (__call_tls_dtors):
7691 Declare with __attribute__ ((weak)).
7692 * stdlib/exit.c (__libc_atexit) [!SHARED]:
7693 Call __call_tls_dtors only if it's not NULL.
7694
356b3480
RM
76952013-03-28 Roland McGrath <roland@hack.frob.com>
7696
288f7d79
RM
7697 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
7698 didn't do it already, then set _dl_phdr and _dl_phnum based on the
7699 magic __ehdr_start linker symbol if it's defined.
7700 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
7701 them up here if it was already done.
7702
dc0a0263
RM
7703 * elf/dl-support.c (_dl_phdr): Make pointer to const.
7704 (_dl_aux_init): Use const in cast when setting it.
7705 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
7706 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
7707 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
7708
3d3436ae
RM
7709 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
7710 Declare them here.
7711 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
7712 * csu/libc-tls.c: Nor here.
7713 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
7714
356b3480
RM
7715 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
7716 (__libc_message): Never call vsyslog.
7717
b0f1246a
AM
77182013-03-28 Alan Modra <amodra@gmail.com>
7719
7720 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
7721 Define as empty.
7722 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
7723 Likewise.
7724
fbbe2b9a
AZ
77252013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7726
7727 [BZ #15214]
7728 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
7729 underflow.
7730 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7731
1728ab37
SP
77322013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7733
7a86be6e
SP
7734 [BZ #15304]
7735 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7736 Don't add gid passed as argument.
7737
1728ab37
SP
7738 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
7739
3a7182a1
JM
77402013-03-27 Joseph Myers <joseph@codesourcery.com>
7741
7742 [BZ #15307]
7743 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7744 imaginary part between 1.0 and 1.5 and real part less than 0.5
7745 specially.
7746 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7747 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7748 * math/libm-test.inc (cacos_test): Add more tests.
7749 (casin_test): Likewise.
7750 (casinh_test): Likewise.
7751 * sysdeps/i386/fpu/libm-test-ulps: Update.
7752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7753
6f2e90e7
SP
77542013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7755
5739f705
SP
7756 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
7757 constants.
7758 (norm): Likewise.
7759 (denorm): Likewise.
7760 (__dbl_mp): Likewise.
7761 (add_magnitudes): Likewise.
7762 (sub_magnitudes): Likewise.
7763 (__add): Likewise.
7764 (__sub): Likewise.
7765 (__mul): Likewise.
7766 (__sqr): Likewise.
7767 (__inv): Likewise.
7768 (__dvd): Likewise.
7769
e375e83d
SP
7770 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
7771 commented code.
7772 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
7773 (__dubcos): Likewise.
7774 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
7775 (__ieee754_acos): Likewise.
7776 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7777 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
7778 (__exp1): Likewise.
7779 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7780 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7781 (log1): Likewise.
7782 (my_log2): Likewise.
7783 (checkint): Likewise.
7784 * sysdeps/ieee754/dbl-64/e_remainder.c
7785 (__ieee754_remainder): Likewise.
7786 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7787 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
7788 (bsloww): Likewise.
7789 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7790
6f2e90e7
SP
7791 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7792 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
7793 MANTISSA_STORE_T to store computations on mantissa. Use
7794 macros for rounding and division.
7795 (denorm): Likewise.
7796 (__dbl_mp): Likewise.
7797 (add_magnitudes): Likewise.
7798 (sub_magnitudes): Likewise.
7799 (__mul): Likewise.
7800 (__sqr): Likewise.
7801 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
7802 powers of two in terms of TWOPOW macro.
7803 (mp_no): Make type of mantissa as MANTISSA_T.
7804 [!RADIXI]: Define RADIXI.
7805 [!TWO52]: Define TWO52.
7806 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7807
fce14d4e
AZ
78082013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7809
7810 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
7811 llroundl symbol when building for PPC32.
7812
9ad027fb
MW
78132013-03-24 Mark H Weaver <mhw@netris.org>
7814
7815 * manual/arith.texi (Normalization Functions): Fix prototypes for
7816 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
7817
e42a38dd
AZ
78182013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7819
7820 [BZ #13889]
7821 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
7822 high value to check if expl overflow.
7823 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
7824 to check for underflow and overflow.
7825 * math/libm-test.inc: Add exp test.
7826
2e0fb521
DL
78272013-03-21 Dmitry V. Levin <ldv@altlinux.org>
7828
7829 [BZ #11120]
7830 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
7831 with NOT_IN_libc.
7832
b5784d95
AZ
78332013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7834
7835 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
7836 symbol.
7837
5aa4a1a1
TS
78382013-03-21 Thomas Schwinge <thomas@codesourcery.com>
7839
bdef0be7
TS
7840 * math/gen-libm-test.pl (parse_args, special_functions): Properly
7841 wrap blocks consisting of several statements.
7842
5aa4a1a1
TS
7843 * sysdeps/generic/math-tests.h: New file.
7844 * sysdeps/i386/fpu/math-tests.h: Likewise.
7845 * math/test-snan.c: Include it.
7846 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
7847
98c48fe5
JM
78482013-03-21 Joseph Myers <joseph@codesourcery.com>
7849
7850 [BZ #15285]
7851 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
7852 (__ieee754_j0l): Do not improve calculations using cos of twice
7853 input for inputs above LDBL_MAX / 2.0L.
7854 (__ieee754_y0l): Likewise.
7855 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
7856 (__ieee754_j1l): Do not improve calculations using cos of twice
7857 input for inputs above LDBL_MAX / 2.0L.
7858 (__ieee754_y1l): Likewise.
7859 * math/libm-test.inc (j0_test): Add another test.
7860 (j1_test): Likewise.
7861 (y0_test): Likewise.
7862 (y1_test): Likewise.
7863 * sysdeps/i386/fpu/libm-test-ulps: Update.
7864
3775a8bc
SP
78652013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7866
7867 * Rules ($(objpfx)bench-%.c): Include code from a C source
7868 file.
7869
0a1b2ae6
JM
78702013-03-21 Joseph Myers <joseph@codesourcery.com>
7871
7872 [BZ #15287]
7873 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7874 imaginary part 1.0 and real part less than 0.5 specially.
7875 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7876 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7877 * math/libm-test.inc (cacos_test): Add more tests.
7878 (casin_test): Likewise.
7879 (casinh_test): Likewise.
7880 * sysdeps/i386/fpu/libm-test-ulps: Update.
7881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7882
b33d4ce4
SP
78832013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7884
7885 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
7886 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
7887
bef0b507
JM
78882013-03-20 Joseph Myers <joseph@codesourcery.com>
7889
7890 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
7891 * config.make.in (config-cflags-sse4): Remove variable.
7892 (config-cflags-avx): Likewise.
7893 (config-cflags-sse2avx): Likewise.
7894 (config-cflags-novzeroupper): Likewise.
7895 (config-asflags-i686): Likewise.
7896 (have-mfma4): Likewise.
7897 (have-as-vis3): Likewise.
7898 (MIG): Likewise.
7899 * configure.in (MIG): Do not AC_SUBST.
7900 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
7901 (libc_cv_cc_sse4): Do not AC_SUBST.
7902 (libc_cv_cc_avx): Likewise.
7903 (libc_cv_cc_sse2avx): Likewise.
7904 (libc_cv_cc_novzeroupper): Likewise.
7905 (libc_cv_cc_fma4): Likewise.
7906 (libc_cv_as_i686): Likewise.
7907 (libc_cv_sparc_as_vis3): Likewise.
7908 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
7909 LIBC_CONFIG_VAR.
7910 (config-asflags-i686): Likewise.
7911 (config-cflags-avx): Likewise.
7912 (config-cflags-sse2avx): Likewise.
7913 (have-mfma4): Likewise.
7914 (config-cflags-novzeroupper): Likewise.
7915 * sysdeps/mach/configure.in (MIG): Likewise.
7916 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
7917 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
7918 LIBC_CONFIG_VAR.
7919 (config-cflags-avx): Likewise.
7920 (config-cflags-sse2avx): Likewise.
7921 (have-mfma4): Likewise.
7922 (config-cflags-novzeroupper): Likewise.
7923 * configure: Regenerated.
7924 * sysdeps/i386/configure: Likewise.
7925 * sysdeps/mach/configure: Likewise.
7926 * sysdeps/sparc/configure: Likewise.
7927 * sysdeps/x86_64/configure: Likewise.
7928
912cc4b3
RM
79292013-03-20 Roland McGrath <roland@hack.frob.com>
7930
7931 [BZ #14812]
7932 * locale/programs/localedef.c (options): Put N_ translation marker
7933 on argument names, not just descriptions.
7934
04eed2b0
MS
79352013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7936
7937 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
7938
a065ceff
OB
79392013-03-20 Ondřej Bílka <neleai@seznam.cz>
7940
9bb2a810 7941 [BZ #14176]
a065ceff
OB
7942 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
7943
a600e5ce
RM
79442013-03-19 Roland McGrath <roland@hack.frob.com>
7945
7946 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
7947 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
7948 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
7949 [!BEFORE_ABORT] (before_abort): New function.
7950 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
7951 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
7952 (writev_for_fatal): New function.
7953 (WRITEV_FOR_FATAL): New macro; call that.
7954 (backtrace_and_maps): New function.
7955 (BEFORE_ABORT): New macro; call that.
7956 (struct str_list): Type removed.
7957 (__libc_message, __libc_fatal): Functions removed.
7958 Include <sysdeps/posix/libc_fatal.c> instead.
7959
6b18bea6
JM
79602013-03-19 Joseph Myers <joseph@codesourcery.com>
7961
7962 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
7963 constants.
7964 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
7965 double constants.
7966
aaa8cb4b
AS
79672013-03-19 Andreas Schwab <schwab@suse.de>
7968
44673770
AS
7969 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
7970 * sysdeps/gnu/configure: Regenerate.
7971
aaa8cb4b
AS
7972 * configure.in: Substitute libc_cv_rtlddir.
7973 * configure: Regenerate.
7974 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
7975 * Makeconfig (rtlddir, inst_rtlddir): New variables.
7976 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
7977 * elf/Makefile (install-others, CFLAGS-interp.c)
7978 (ldso_install, common-ldd-rewrite): Likewise.
7979 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
7980 $(inst_slibdir)/$(rtld-installed-name).
7981 * scripts/rellns-sh: Add -p option.
7982 * Makerules (make-shlib-link): Use rellns-sh to get relative name
7983 for source.
7984
d3cfc668
SP
79852013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7986
7987 * manual/nptl.texi: Renamed to ...
7988 * manual/threads.texi: ... this.
7989 * manual/Makefile (chapters): Update.
7990
0e2b9cdd
RM
79912013-03-18 Roland McGrath <roland@hack.frob.com>
7992
7993 [BZ #14812]
7994 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
7995 on argument names, not just descriptions.
0e2b9cdd
RM
7996 * malloc/memusagestat.c (options): Likewise.
7997 * nss/getent.c (options): Likewise.
63270c24
RM
7998
79992013-03-18 Benno Schulenberg <bensberg@justemail.net>
8000
8001 [BZ #14812]
8002 * iconv/iconv_prog.c (options): Put N_ translation marker
8003 on argument names, not just descriptions.
8004 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 8005
b2e1393c
OB
80062013-03-18 Ondrej Bilka <neleai@seznam.cz>
8007
8008 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
8009 implementation which is faster on all x86_64 architectures.
8010 Tested on AMD, Intel Nehalem, SNB, IVB.
8011 * sysdeps/x86_64/strnlen.S: Likewise.
8012
8013 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
8014 Remove all multiarch strlen and strnlen versions.
8015 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
8016 Remove strlen and strnlen related parts.
8017
8018 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
8019 Inline strlen part.
8020 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8021
8022 * sysdeps/x86_64/multiarch/strlen.S: Remove.
8023 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
8024 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
8025 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
8026 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
8027 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
8028
ec4ff04d
CD
80292013-03-17 Carlos O'Donell <carlos@redhat.com>
8030
8031 * manual/memory.texi (Malloc Tunable Parameters):
8032 Sort parameters alphabetically. Add comments for missing entries.
8033
cd18e90a
DM
80342013-03-17 David S. Miller <davem@davemloft.net>
8035
8036 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8037
2a185d32
JM
80382013-03-16 Joseph Myers <joseph@codesourcery.com>
8039
d2f9799e
JM
8040 [BZ #15283]
8041 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
8042 for arguments at most half maximum finite value.
8043 * math/libm-test.inc (j0_test): Add more tests.
8044 (j1_test): Likewise.
8045 (y0_test): Likewise.
8046 (y1_test): Likewise.
8047 * sysdeps/i386/fpu/libm-test-ulps: Update.
8048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8049
2a185d32
JM
8050 [BZ #14155]
8051 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
8052 1 / x and functions P and Q for arguments above 0x1p256L.
8053 (__ieee754_y0l): Likewise.
8054 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
8055 (__ieee754_y1l): Likewise.
8056 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
8057 (j1_test): Likewise.
8058 (y0_test): Likewise.
8059 (y1_test): Likewise.
8060
6cbec759
TS
80612013-03-16 Thomas Schwinge <thomas@codesourcery.com>
8062
8063 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
8064 variable.
8065
bc16e260
RM
80662013-03-15 Roland McGrath <roland@hack.frob.com>
8067
aefc9b8c
RM
8068 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
8069 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
8070 zero since it's initialized to EXEC_PAGESIZE.
8071
bc16e260
RM
8072 * sysdeps/unix/sysv/linux/ldsodefs.h
8073 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
8074 * sysdeps/generic/ldsodefs.h: ... here.
8075
a57da955
TS
80762013-03-15 Thomas Schwinge <thomas@codesourcery.com>
8077
af00a34d
TS
8078 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
8079
495ded2c
TS
8080 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
8081 math/test-snan.c.
8082 * math/test-snan.c: Renamed from
8083 sysdeps/powerpc/fpu/test-powerpc-snan.c.
8084 * math/Makefile (tests): Add test-snan.
8085 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
8086 test-powerpc-snan.
8087
777b0332
TS
8088 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
8089 SUFFIX. Initialize qNaN_var with __builtin_nan family of
8090 functions.
8091 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
8092 __builtin_nan family of functions.
8093 * math/libm-test.inc (initialize): Initialize qnan_value with
8094 __builtin_nan family of functions.
8095 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
8096 Remove variables.
8097 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
8098 Remove functions.
8099 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
8100 storage class. Initialize qNaN_var and sNaN_var with
8101 __builtin_nan and __builtin_nans families of functions,
8102 respectively.
8103
64d063b8
TS
8104 * math/libm-test.inc (acosh_test): Also test with qNaN input.
8105 (sqrt_test): Remove duplicate test with qNaN input.
8106 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
8107 (round_test, signbit_test, significand_test): Note missing +/-Inf
8108 as well as qNaN tests.
8109
67e971f1
TS
8110 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
8111 qNaN_var. Fix a few strings, too.
8112 * math/libm-test.inc (nan_value): Rename to qnan_value.
8113 * math/gen-libm-test.pl (%beautify): Adjust to that.
8114 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
8115 * math/test-misc.c (main): Likewise.
8116 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
8117 to __qnan_bytes, and __qnan_union, respectively.
8118 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
8119 Likewise.
8120 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
8121 and lqnanval, respectively.
8122 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
8123 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
8124 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
8125 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
8126
64487e12
TS
8127 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
8128 * math/test-misc.c (main) [__x86_64__]: Enable test for long
8129 doubles.
8130
e015e27b
TS
8131 * math/test-misc.c (main): Fix copy'n'pastos.
8132 * misc/tst-efgcvt.c (special): Likewise.
8133
a57da955
TS
8134 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
8135 Remove declarations.
8136
1e380345
SP
81372013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8138
8139 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
8140 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
8141 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
8142 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
8143
ef26eece
AZ
81442013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8145
8146 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
8147 macro to return vdso values correctly in IFUNC implementations.
8148 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8149 Optimization by using IFUNC.
8150
8cfdb7e0
SP
81512013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8152 Richard Henderson <rth@redhat.com>
8153 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8154
8155 * Makefile.in (bench): New target.
8156 * NEWS: Mention the benchmark framework.
8157 * Rules (bench): Likewise.
8158 (binaries-bench): Generate binaries for functions to
8159 benchmark.
8160 * benchtests/Makefile: New makefile for benchmark tests.
8161 * benchtests/bench-skeleton.c: New skeleton file for benchmark
8162 programs.
8163 * benchtests/exp-inputs: New input file for EXP function.
8164 * benchtests/pow-inputs: New input file for POW function.
8165 * scripts/bench.pl: New script to generate source files for
8166 benchmark programs.
8167
bcda9880
SP
81682013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8169
d22ca8cd
SP
8170 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8171 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
8172 computations on mantissa. Use macros for rounding and
8173 division.
8174 (denorm): Likewise.
8175 (__dbl_mp): Likewise.
8176 (add_magnitudes): Likewise.
8177 (sub_magnitudes): Likewise.
8178 (__mul): Likewise.
8179 (__sqr): Likewise.
8180 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
8181 powers of two in terms of TWOPOW macro.
8182 (mp_no): Make type of mantissa as MANTISSA_T.
8183 [!RADIXI]: Define RADIXI.
8184 [!TWO52]: Define TWO52.
8185 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8186
bcda9880
SP
8187 * manual/nptl.texi (cindex): Modify threads to pthreads.
8188
06d5adfb
JM
81892013-03-15 Joseph Myers <joseph@codesourcery.com>
8190
8191 * sysdeps/x86_64/preconfigure: Regenerated.
8192
41c7328e
JM
81932013-03-14 Joseph Myers <joseph@codesourcery.com>
8194
8195 [BZ #14155]
8196 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
8197 0x1p28 and above.
8198 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
8199 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
8200 0x1p28 and above.
8201 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
8202 * math/libm-test.inc (j0_test): Do not allow one spurious
8203 underflow exception.
8204 (y1_test): Likewise.
8205
e25cfa60
SP
82062013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8207
0409959c
SP
8208 * manual/Makefile (chapters): Add nptl.
8209 * manual/debug.texi (Debugging Support): Add link to Threads
8210 chapter.
8211 * manual/nptl.texi: New file.
8212
e25cfa60
SP
8213 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
8214
58a1335e
PB
82152013-03-14 Petr Baudis <pasky@ucw.cz>
8216
8217 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
8218 for non-NULL pointer before the memory validity test. Pointed
8219 out by Holger Brunck <holger.brunck@keymile.com>.
8220
9dc7c64f
AS
82212013-03-13 Andreas Schwab <schwab@suse.de>
8222
8223 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
8224 instead of .os.
8225
54206aa6
JM
82262013-03-13 Joseph Myers <joseph@codesourcery.com>
8227
8228 * timezone/zic.c: Update from tzcode 2013b.
8229
e98cdb38
CD
82302013-03-12 Carlos O'Donell <carlos@redhat.com>
8231
8232 * manual/install.texi (Configuring and compiling):
8233 Mention i686 and i586.
8234 * INSTALL: Regenerate.
8235
9967e003
RM
82362013-03-12 Roland McGrath <roland@hack.frob.com>
8237
8238 * sysdeps/init_array/elf-init.c: New file.
8239 * csu/elf-init.c
8240 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
8241 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
8242
8243 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
8244 __gmon_start__ as global, but as static with a .preinit_array pointer.
8245 * sysdeps/init_array/gmon-start.c: New file. Use that.
8246 * sysdeps/init_array/crti.S: New file, empty except for comments.
8247 * sysdeps/init_array/crtn.S: Likewise.
8248
e6b5a293 82492013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
8250
8251 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
8252 definining bcopy.
80f844c9
OB
8253 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8254 Remove Prefer_SSE_for_memop.
8255 * sysdeps/x86_64/multiarch/init-arch.h: Remove
8256 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
8257 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
8258 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8259 memset-x86-64.
80f844c9 8260 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 8261 Remove bzero, memset ifunc support.
80f844c9
OB
8262 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
8263 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
8264 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8265 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8266
fb6b0fcb
AS
82672013-03-11 Andreas Schwab <schwab@suse.de>
8268
8269 [BZ #15234]
8270 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
8271 by SHLIB_COMPAT.
8272 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
8273 (GLIBC_2.16): Remove pthread_atfork.
8274
3e6bd4b1
PP
82752013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
8276
8277 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
8278 (ptestcases.h): Likewise.
8279
222d7f00
RM
82802013-03-08 Roland McGrath <roland@hack.frob.com>
8281
8282 * Makeconfig ($(common-objpfx)config.status): Depend on
8283 sysdeps/*/preconfigure{,.in} too.
8284
1ba4f030
JM
82852013-03-08 Joseph Myers <joseph@codesourcery.com>
8286
a222d91a
JM
8287 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
8288 (__free_hook): Use void * instead of __malloc_ptr_t.
8289 (__malloc_hook): Likewise.
8290 (__realloc_hook): Likewise.
8291 (__memalign_hook): Likewise.
8292 (__after_morecore_hook): Likewise.
8293 * malloc/arena.c (save_malloc_hook): Likewise.
8294 (save_free_hook): Likewise.
8295 * malloc/hooks.c (malloc_hook_ini): Likewise.
8296 (realloc_hook_ini): Likewise.
8297 (memalign_hook_ini): Likewise.
8298 * malloc/malloc.c (malloc_hook_ini): Likewise.
8299 (realloc_hook_ini): Likewise.
8300 (memalign_hook_ini): Likewise.
8301 (__free_hook): Likewise.
8302 (__malloc_hook): Likewise.
8303 (__realloc_hook): Likewise.
8304 (__memalign_hook): Likewise.
8305 (__libc_malloc): Likewise.
8306 (__libc_free): Likewise.
8307 (__libc_realloc): Likewise.
8308 (__libc_memalign): Likewise.
8309 (__libc_valloc): Likewise.
8310 (__libc_pvalloc): Likewise.
8311 (__libc_calloc): Likewise.
8312 (__posix_memalign): Likewise.
8313 * malloc/morecore.c (__sbrk): Likewise.
8314 (__default_morecore): Likewise.
8315
5cc45e10
JM
8316 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
8317
dd54b864
JM
8318 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
8319 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
8320 __malloc_ptrdiff_t.
8321
1ba4f030
JM
8322 * malloc/malloc.h (__malloc_size_t): Remove macro.
8323 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
8324 __malloc_size_t.
8325 (old_memalign_hook): Likewise.
8326 (old_realloc_hook): Likewise.
8327 (struct hdr): Likewise.
8328 (flood): Likewise.
8329 (mallochook): Likewise.
8330 (memalignhook): Likewise.
8331 (reallochook): Likewise.
8332 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
8333 (tr_old_realloc_hook): Likewise.
8334 (tr_old_memalign_hook): Likewise.
8335 (tr_mallochook): Likewise.
8336 (tr_reallochook): Likewise.
8337 (tr_memalignhook): Likewise.
8338
edf66e57
AZ
83392013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8340
8341 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
8342 default_ldbl_pack and using as default implementation.
8343 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
8344 implementation.
8345 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
8346 redundant definition.
8347 (ldbl_insert_mantissa): Likewise.
8348 (ldbl_canonicalize): Likewise.
8349 (ldbl_nearbyint): Likewise.
8350 (ldbl_pack): Rename to ldbl_pack_ppc.
8351 (ldbl_unpack): Rename to ldbl_unpack_ppc.
8352 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
8353 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
8354
6d9145d8
SP
83552013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8356
8357 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
8358 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
8359 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
8360 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
8361 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
8362 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
8363 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
8364 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
8365
4dd4e157
AJ
83662013-03-07 Andreas Jaeger <aj@suse.de>
8367
8368 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8369 bits/mman-linux.h.
8370
adbb8027
SP
83712013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8372
ce544b5b
SP
8373 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
8374 Include mpa.h and declare __MPEXP.
8375 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
8376 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8377 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8378 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
8379 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8380 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8381 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
8382
4cc149fd
SP
8383 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
8384 (__slowpow): Use long double EXPL and LOGL functions to
8385 compute POW.
8386 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8387 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8388 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
8389 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8390 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8391 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
8392
e6ebd4a7
SP
8393 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
8394 intermediate variable to calculate exponent.
8395 (__sqr): Likewise.
8396 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8397 Likewise.
8398 (__sqr): Likewise.
8399
82a9811d
SP
8400 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
8401 [!NO__SQR]: Define __sqr.
8402 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
8403 and NO__SQR. Remove all code except __mul and __sqr. Include
8404 sysdeps/ieee754/dbl-64/mpa.c.
8405 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8406
adbb8027
SP
8407 [BZ #12723]
8408 * posix/Makefile (tests): Add tst-pathconf.
8409 * posix/tst-pathconf.c: New test case.
8410 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
8411 _PC_PIPE_BUF.
8412 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
8413
39120df9
PF
84142013-03-06 Patsy Franklin <pfrankli@redhat.com>
8415
8416 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
8417
67525cb8
AJ
84182013-03-06 Andreas Jaeger <aj@suse.de>
8419
664a9ce4
AJ
8420 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
8421 definition via __MAP_ANONYMOUS.
8422
8e39047d
AJ
8423 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
8424 it's not part of Linux headers.
8425
67525cb8
AJ
8426 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
8427 (MAP_HUGE_MASK): Define.
8428
8429 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8430 Define.
8431 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8432 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8433 Define.
8434 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8435 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8436 Define.
8437 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8438 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
8439 Define.
8440 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8441
8442 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
8443 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
8444 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
8445 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
8446 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
8447 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
8448
8449 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
8450 Handle f2fs.
8451
8452 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8453 Handle f2fs and efivarfs.
8454
8455 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
8456 f2fs.
8457
8458 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
8459 (EFIVARFS_MAGIC): Add.
8460 (F2FS_LINK_MAX): Add.
8461
e1b42695
PP
84622013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8463
8464 * stdio-common/vfprintf.c: Replace __builtin_expect with
8465 __glibc_unlikely.
8466
2d67d91a
JM
84672013-03-06 Joseph Myers <joseph@codesourcery.com>
8468
8469 [BZ #13550]
8470 * sysdeps/generic/bp-sym.h: Remove file.
8471 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
8472 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
8473 <bp-sym.h> and <bp-asm.h>.
8474 (__longjmp): Don't use BP_SYM.
8475 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
8476 and <bp-asm.h>.
8477 (memcpy): Don't use BP_SYM.
8478 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
8479 <bp-sym.h> and <bp-asm.h>.
8480 (memcpy): Don't use BP_SYM.
8481 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
8482 <bp-asm.h>.
8483 (memcpy): Don't use BP_SYM.
8484 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
8485 <bp-asm.h>.
8486 (memset): Don't use BP_SYM.
8487 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8488 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8489 (__bzero): Don't use BP_SYM.
8490 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8491 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8492 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
8493 <bp-sym.h> and <bp-asm.h>.
8494 (memcmp): Don't use BP_SYM. Remove comment about bounded
8495 pointers.
8496 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
8497 <bp-sym.h> and <bp-asm.h>.
8498 (memcpy): Don't use BP_SYM.
8499 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
8500 <bp-sym.h> and <bp-asm.h>.
8501 (memset): Don't use BP_SYM.
8502 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8503 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8504 (__bzero): Don't use BP_SYM.
8505 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8506 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8507 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
8508 <bp-sym.h> and <bp-asm.h>.
8509 (strncmp): Don't use BP_SYM. Remove comment about bounded
8510 pointers.
8511 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
8512 <bp-sym.h> and <bp-asm.h>.
8513 (memcpy): Don't use BP_SYM.
8514 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
8515 <bp-sym.h> and <bp-asm.h>.
8516 (memset): Don't use BP_SYM.
8517 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8518 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8519 (__bzero): Don't use BP_SYM.
8520 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8521 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8522 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
8523 <bp-sym.h> and <bp-asm.h>.
8524 (__memchr): Don't use BP_SYM.
8525 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
8526 <bp-sym.h> and <bp-asm.h>.
8527 (memcmp): Don't use BP_SYM. Remove comment about bounded
8528 pointers.
8529 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
8530 <bp-sym.h> and <bp-asm.h>.
8531 (memcpy): Don't use BP_SYM.
8532 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
8533 <bp-sym.h> and <bp-asm.h>.
8534 (__mempcpy): Don't use BP_SYM.
8535 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
8536 <bp-sym.h> and <bp-asm.h>.
8537 (__memrchr): Don't use BP_SYM.
8538 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
8539 <bp-sym.h> and <bp-asm.h>.
8540 (memset): Don't use BP_SYM.
8541 (__bzero): Likewise.
8542 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
8543 <bp-sym.h> and <bp-asm.h>.
8544 (__rawmemchr): Don't use BP_SYM.
8545 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
8546 <bp-sym.h> and <bp-asm.h>.
8547 (__STRCMP): Don't use BP_SYM.
8548 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
8549 <bp-sym.h> and <bp-asm.h>.
8550 (strchr): Don't use BP_SYM.
8551 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
8552 <bp-sym.h> and <bp-asm.h>.
8553 (__strchrnul): Don't use BP_SYM.
8554 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
8555 <bp-sym.h> and <bp-asm.h>.
8556 (strlen): Don't use BP_SYM.
8557 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
8558 <bp-sym.h> and <bp-asm.h>.
8559 (strncmp): Don't use BP_SYM. Remove comment about bounded
8560 pointers.
8561 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
8562 <bp-sym.h> and <bp-asm.h>.
8563 (__strnlen): Don't use BP_SYM.
8564 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
8565 <bp-sym.h> and <bp-asm.h>.
8566 (__GI__setjmp): Don't use BP_SYM.
8567 (_setjmp): Likewise.
8568 (__sigsetjmp): Likewise.
8569 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
8570 (L(start_addresses)): Don't use BP_SYM.
8571 (_start): Likewise.
8572 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
8573 <bp-asm.h>.
8574 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
8575 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
8576 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8577 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8578 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
8579 <bp-asm.h>.
8580 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
8581 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
8582 about bounded pointers.
8583 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8584 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8585 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
8586 <bp-asm.h>.
8587 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
8588 about bounded pointers. Remove GKM FIXME comments.
8589 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8590 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
8591 <bp-asm.h>.
8592 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
8593 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
8594 Remove GKM FIXME comments.
8595 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8596 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8597 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
8598 <bp-asm.h>.
8599 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
8600 about bounded pointers. Remove GKM FIXME comment.
8601 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
8602 and <bp-asm.h>.
8603 (strncmp): Don't use BP_SYM. Remove comment about bounded
8604 pointers.
8605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
8606 <bp-sym.h> and <bp-asm.h>.
8607 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
8609 <bp-sym.h> and <bp-asm.h>.
8610 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
8611 comment.
8612
cdcf361f
PP
86132013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8614
8615 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
8616 call free(NULL).
8617
3c4a2b15
DM
86182013-03-05 David S. Miller <davem@davemloft.net>
8619
8620 * po/es.po: Update from translation team.
8621
cdcf361f 86222013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
8623
8624 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
8625 <bits/mman-linux.h>.
8626 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8627 is fine.
8628 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
8629 <bits/mman-linux.h> to end of file.
8630 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8631 is fine.
8632 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
8633 <bits/mman-linux.h> to end of file.
8634 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8635 is fine.
8636 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
8637 <bits/mman-linux.h> to end of file.
8638
8639 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
8640 (MCL_CURRENT, MCL_FUTURE): Define here.
8641
5f67c04f
AK
86422013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8643
8a4473cc 8644 [BZ #15232]
5f67c04f
AK
8645 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
8646 attribute_hidden.
8647 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8648
c3e94a95
AK
86492013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8650
8651 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
8652 fourth parameter needed for rt_sigprocmask syscall.
8653 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8654 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8655 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
8656 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8657 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8658 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
8659
cfb6382a
JM
86602013-03-04 Joseph Myers <joseph@codesourcery.com>
8661
8662 [BZ #13550]
8663 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
8664 comment about bounded pointers.
8665 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
8666 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
8667
539d8e01
AJ
86682013-03-04 Andreas Jaeger <aj@suse.de>
8669
8670 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
8671 common definitions.
8672
8673 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
8674 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
8675 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
8676 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8677 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
8678 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8679
2e167a70 86802013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
8681
8682 [BZ #15055]
8683 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8684 __ieee754_sqrl instead of __sqrl.
8685
68508633
JM
86862013-03-01 Joseph Myers <joseph@codesourcery.com>
8687
8688 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
8689 * sysdeps/powerpc/fpu_control.h: ... here.
8690 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
8691 * sysdeps/powerpc/bits/fenvinline.h: ... here.
8692 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
8693 * sysdeps/powerpc/bits/mathinline.h: ... here.
8694
7775448e
RM
86952013-03-01 Roland McGrath <roland@hack.frob.com>
8696
8697 * elf/dl-hwcaps.c (_dl_important_hwcaps):
8698 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
8699 to just [NEED_DL_SYSINFO_DSO].
8700 * elf/dl-support.c: Likewise.
8701 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8702 * elf/rtld.c (dl_main): Likewise.
8703 * elf/setup-vdso.h (setup_vdso): Likewise.
8704 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
8705 * sysdeps/unix/sysv/linux/dl-sysdep.c
8706 (_dl_discover_osversion): Likewise.
8707
4e9b5995
CD
87082013-03-01 Carlos O'Donell <carlos@redhat.com>
8709
8710 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
8711 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8712
e23872c8
SP
87132013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8714
e5c74c63
SP
8715 * NEWS: Mention libm performance improvements and non-x86 PI
8716 futex support.
8717
e23872c8
SP
8718 * csu/libc-start.c (__pthread_initialize_minimal): Change
8719 function arguments.
8720 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8721
b5510883
JM
87222013-02-28 Joseph Myers <joseph@codesourcery.com>
8723
8724 [BZ #13550]
8725 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
8726 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
8727 <bp-sym.h> and <bp-asm.h>.
8728 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8729 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
8730 and <bp-asm.h>.
8731 (memcpy): Don't use BP_SYM.
8732 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
8733 <bp-asm.h>.
8734 (__mpn_add_n): Don't use BP_SYM.
8735 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
8736 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
8737 and <bp-asm.h>.
8738 (__mpn_addmul_1): Don't use BP_SYM.
8739 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8740 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
8741 <bp-sym.h>.
8742 (_setjmp): Don't use BP_SYM.
8743 (__novmx_setjmp): Likewise.
8744 (__GI__setjmp): Likewise.
8745 (__vmx_setjmp): Likewise.
8746 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
8747 <bp-sym.h>.
8748 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
8749 (__bzero): Don't use BP_SYM.
8750 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8751 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8752 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
8753 <bp-sym.h> and <bp-asm.h>.
8754 (memcpy): Don't use BP_SYM.
8755 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
8756 <bp-sym.h> and <bp-asm.h>.
8757 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8758 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
8759 <bp-sym.h> and <bp-asm.h>.
8760 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8761 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
8762 <bp-asm.h>.
8763 (__mpn_lshift): Don't use BP_SYM.
8764 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8765 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
8766 <bp-asm.h>.
8767 (memset): Don't use BP_SYM.
8768 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8769 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8770 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
8771 <bp-asm.h>.
8772 (__mpn_mul_1): Don't use BP_SYM.
8773 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8774 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
8775 <bp-sym.h> and <bp-asm.h>.
8776 (memcmp): Don't use BP_SYM.
8777 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
8778 <bp-sym.h> and <bp-asm.h>.
8779 (memcpy): Don't use BP_SYM.
8780 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
8781 <bp-sym.h> and <bp-asm.h>.
8782 (memset): Don't use BP_SYM.
8783 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
8784 <bp-sym.h> and <bp-asm.h>.
8785 (strncmp): Don't use BP_SYM.
8786 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
8787 <bp-sym.h> and <bp-asm.h>.
8788 (memcpy): Don't use BP_SYM.
8789 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
8790 <bp-sym.h> and <bp-asm.h>.
8791 (memset): Don't use BP_SYM.
8792 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
8793 <bp-sym.h> and <bp-asm.h>.
8794 (__memchr): Don't use BP_SYM.
8795 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
8796 <bp-sym.h> and <bp-asm.h>.
8797 (memcmp): Don't use BP_SYM.
8798 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
8799 <bp-sym.h> and <bp-asm.h>.
8800 (memcpy): Don't use BP_SYM.
8801 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
8802 <bp-sym.h> and <bp-asm.h>.
8803 (__mempcpy): Don't use BP_SYM.
8804 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
8805 <bp-sym.h> and <bp-asm.h>.
8806 (__memrchr): Don't use BP_SYM.
8807 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
8808 <bp-sym.h> and <bp-asm.h>.
8809 (memset): Don't use BP_SYM.
8810 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
8811 <bp-sym.h> and <bp-asm.h>.
8812 (__rawmemchr): Don't use BP_SYM.
8813 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
8814 <bp-sym.h> and <bp-asm.h>.
8815 (__STRCMP): Don't use BP_SYM.
8816 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
8817 <bp-sym.h> and <bp-asm.h>.
8818 (strchr): Don't use BP_SYM.
8819 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
8820 <bp-sym.h> and <bp-asm.h>.
8821 (__strchrnul): Don't use BP_SYM.
8822 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
8823 <bp-sym.h> and <bp-asm.h>.
8824 (strlen): Don't use BP_SYM.
8825 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
8826 <bp-sym.h> and <bp-asm.h>.
8827 (strncmp): Don't use BP_SYM.
8828 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
8829 <bp-sym.h> and <bp-asm.h>.
8830 (__strnlen): Don't use BP_SYM.
8831 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
8832 <bp-asm.h>.
8833 (__mpn_rshift): Don't use BP_SYM.
8834 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8835 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
8836 <bp-sym.h> and <bp-asm.h>.
8837 (__sigsetjmp): Don't use BP_SYM.
8838 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
8839 (L(start_addresses)): Don't use BP_SYM.
8840 (_start): Likewise.
8841 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
8842 <bp-asm.h>.
8843 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
8844 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8845 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8846 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
8847 <bp-asm.h>.
8848 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
8849 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8850 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8851 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
8852 <bp-asm.h>.
8853 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
8854 comments.
8855 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8856 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
8857 <bp-asm.h>.
8858 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
8859 FIXME comments.
8860 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8861 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8862 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
8863 <bp-asm.h>.
8864 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
8865 comment.
8866 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
8867 and <bp-asm.h>.
8868 (strncmp): Don't use BP_SYM,
8869 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
8870 <bp-asm.h>.
8871 (__mpn_sub_n): Don't use BP_SYM.
8872 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8873 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
8874 and <bp-asm.h>.
8875 (__mpn_submul_1): Don't use BP_SYM.
8876 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
8878 <bp-sym.h> and <bp-asm.h>.
8879 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
8881 <bp-sym.h> and <bp-asm.h>.
8882 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
8883 comment.
8884
8d19fe64
SP
88852013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8886
8887 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
8888 Use ZK to minimize writes to Z.
8889 (sub_magnitudes): Simplify code a bit.
8890 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
8891 Use ZK to minimize writes to Z.
8892 (sub_magnitudes): Simplify code a bit.
8893
85bd816a
RM
88942013-02-27 Roland McGrath <roland@hack.frob.com>
8895
8896 * csu/gmon-start.c: Add special exception to license text.
8897
b5977bf2
RH
88982013-02-27 Richard Henderson <rth@redhat.com>
8899
8900 * scripts/config.guess: Update from config.git.
8901 * scripts/config.sub: Likewise.
8902
11d6e2f2
SP
89032013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8904
09c14ed2
SP
8905 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
8906
a688864e
SP
8907 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
8908
6295157a
SP
8909 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
8910
b8de2202
SP
8911 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
8912
11d6e2f2
SP
8913 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
8914
7e80ddb8
RM
89152013-02-26 Roland McGrath <roland@hack.frob.com>
8916
8917 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
8918 [$(build-shared = yes].
7e80ddb8 8919
7da6d9ed
SP
89202013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8921
45f05884
SP
8922 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
8923 (__mul): Reduce iterations for calculating mantissa.
8924
2236d359
SP
8925 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
8926 MPTWO.
8927 (__mpranred): Likewise.
8928
7da6d9ed
SP
8929 [BZ #15160]
8930 * malloc/memusagestat.c (main): Draw graphs for heap and stack
8931 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
8932
b7688c42
PE
89332013-02-26 Paul Eggert <eggert@cs.ucla.edu>
8934
8935 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
8936 Define __attribute__.
8937
53a5c423
SP
89382013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8939
8940 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
8941 unused.
8942 * posix/regex_internal.h (__attribute): Remove.
8943 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
8944 (re_string_context_at): Likewise.
8945 (bitset_not): Use __attribute__ and mark function as possibly
8946 unused.
8947 (bitset_merge): Likewise.
8948 (bitset_mask): Likewise.
8949 (re_string_char_size_at): Likewise.
8950 (re_string_wchar_at): Likewise.
8951 (re_string_elem_size_at): Likewise.
8952
60f5a8b5
SP
89532013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8954
2a983a2e
SP
8955 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
8956 code.
8957 (cc32): Likewise.
8958
e69804d1
SP
8959 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
8960 (__acr): Likewise.
8961 (__cpy): Likewise.
8962 (norm): Likewise.
8963 (denorm): Likewise.
8964 (__dbl_mp): Likewise.
8965 (add_magnitudes): Likewise.
8966 (sub_magnitudes): Likewise.
8967 (__mul): Likewise.
8968 (__inv): Likewise.
8969
2f22a1e8
SP
8970 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
8971 style.
8972
8930ddc7
SP
8973 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
8974 style.
8975
dc60cb11
SP
8976 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
8977 code.
8978
60f5a8b5
SP
8979 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
8980 up changes with default code.
8981 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
8982 Likewise.
8983
b4d1fd33
AM
89842013-02-24 Allan McRae <allan@archlinux.org>
8985
faf6f8bc
AM
8986 * manual/socket.texi (The Internet Namespace): Order menu items
8987 to match that in the file.
8988
b4d1fd33
AM
8989 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
8990 node listing of the info page menu.
8991
2366713d
JM
89922013-02-21 Joseph Myers <joseph@codesourcery.com>
8993
8994 [BZ #13550]
8995 * sysdeps/i386/bp-asm.h: Remove file.
8996 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8997 (PARMS): Do not use macros from bp-asm.h.
8998 (S1): Likewise.
8999 (S2): Likewise.
9000 (SIZE): Likewise.
9001 (__mpn_add_n): Do not use BP_SYM
9002 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
9003 "bp-asm.h".
9004 (PARMS): Do not use macros from bp-asm.h.
9005 (S1): Likewise.
9006 (SIZE): Likewise.
9007 (__mpn_addmul_1): Do not use BP_SYM
9008 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
9009 "bp-asm.h".
9010 (PARMS): Do not use macros from bp-asm.h.
9011 (SIGMSK): Likewise.
9012 (_setjmp): Likewise. Do not use BP_SYM.
9013 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
9014 "bp-asm.h".
9015 (PARMS): Do not use macros from bp-asm.h.
9016 (SIGMSK): Likewise.
9017 (setjmp): Likewise. Do not use BP_SYM.
9018 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
9019 "bp-asm.h".
9020 (PARMS): Do not use macros from bp-asm.h.
9021 (__frexp): Do not use BP_SYM.
9022 (frexp): Likewise.
9023 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
9024 "bp-asm.h".
9025 (PARMS): Do not use macros from bp-asm.h.
9026 (__frexpf): Do not use BP_SYM.
9027 (frexpf): Likewise.
9028 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
9029 "bp-asm.h".
9030 (PARMS): Do not use macros from bp-asm.h.
9031 (__frexpl): Do not use BP_SYM.
9032 (frexpl): Likewise.
9033 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
9034 "bp-asm.h".
9035 (PARMS): Do not use macros from bp-asm.h.
9036 (__remquo): Do not use BP_SYM.
9037 (remquo): Likewise.
9038 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
9039 "bp-asm.h".
9040 (PARMS): Do not use macros from bp-asm.h.
9041 (__remquof): Do not use BP_SYM.
9042 (remquof): Likewise.
9043 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
9044 "bp-asm.h".
9045 (PARMS): Do not use macros from bp-asm.h.
9046 (__remquol): Do not use BP_SYM.
9047 (remquol): Likewise.
9048 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
9049 "bp-asm.h".
9050 (PARMS): Do not use macros from bp-asm.h.
9051 (DEST): Likewise.
9052 (SRC): Likewise.
9053 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
9054 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
9055 "bp-asm.h".
9056 (PARMS): Do not use macros from bp-asm.h.
9057 (strlen): Do not use BP_SYM.
9058 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
9059 "bp-asm.h".
9060 (PARMS): Do not use macros from bp-asm.h.
9061 (S1): Likewise.
9062 (S2): Likewise.
9063 (SIZE): Likewise.
9064 (__mpn_add_n): Do not use BP_SYM.
9065 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
9066 "bp-asm.h".
9067 (PARMS): Do not use macros from bp-asm.h.
9068 (S1): Likewise.
9069 (SIZE): Likewise.
9070 (__mpn_addmul_1): Do not use BP_SYM.
9071 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
9072 weak_alias.
9073 (bzero): Likewise.
9074 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
9075 "bp-asm.h".
9076 (PARMS): Do not use macros from bp-asm.h.
9077 (S): Likewise.
9078 (SIZE): Likewise.
9079 (__mpn_lshift): Do not use BP_SYM.
9080 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
9081 "bp-asm.h".
9082 (PARMS): Do not use macros from bp-asm.h.
9083 (DEST): Likewise.
9084 (SRC): Likewise.
9085 (LEN): Likewise.
9086 (memcpy): Likewise. Do not use BP_SYM.
9087 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
9088 libc_hidden_def and weak_alias.
9089 (mempcpy): Do not use BP_SYM in weak_alias.
9090 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
9091 "bp-asm.h".
9092 (PARMS): Do not use macros from bp-asm.h.
9093 (DEST): Likewise.
9094 (LEN): Likewise.
9095 [!BZERO_P] (CHR): Likewise.
9096 (memset): Likewise. Do not use BP_SYM.
9097 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
9098 "bp-asm.h".
9099 (PARMS): Do not use macros from bp-asm.h.
9100 (S1): Likewise.
9101 (SIZE): Likewise.
9102 (__mpn_mul_1): Do not use BP_SYM.
9103 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
9104 "bp-asm.h".
9105 (PARMS): Do not use macros from bp-asm.h.
9106 (S): Likewise.
9107 (SIZE): Likewise.
9108 (__mpn_rshift): Do not use BP_SYM.
9109 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
9110 "bp-asm.h".
9111 (PARMS): Do not use macros from bp-asm.h.
9112 (STR): Likewise.
9113 (CHR): Likewise.
9114 (strchr): Likewise. Do not use BP_SYM.
9115 (index): Do not use BP_SYM in weak_alias.
9116 * sysdeps/i386/i586/strcpy.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 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
9122 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
9123 "bp-asm.h".
9124 (PARMS): Do not use macros from bp-asm.h.
9125 (strlen): Do not use BP_SYM.
9126 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
9127 "bp-asm.h".
9128 (PARMS): Do not use macros from bp-asm.h.
9129 (S1): Likewise.
9130 (S2): Likewise.
9131 (SIZE): Likewise.
9132 (__mpn_sub_n): Do not use BP_SYM.
9133 * sysdeps/i386/i586/submul_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_submul_1): Do not use BP_SYM.
9139 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
9140 "bp-asm.h".
9141 (PARMS): Do not use macros from bp-asm.h.
9142 (S1): Likewise.
9143 (S2): Likewise.
9144 (SIZE): Likewise.
9145 (__mpn_add_n): Do not use BP_SYM.
9146 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
9147 weak_alias.
9148 (bzero): Likewise.
9149 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
9150 "bp-asm.h".
9151 (PARMS): Do not use macros from bp-asm.h.
9152 (BLK2): Likewise.
9153 (LEN): Likewise.
9154 (memcmp): Do not use BP_SYM.
9155 (bcmp): Do not use BP_SYM in weak_alias.
9156 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
9157 "bp-asm.h".
9158 (PARMS): Do not use macros from bp-asm.h.
9159 (DEST): Likewise.
9160 (SRC): Likewise.
9161 (LEN): Likewise.
9162 (memcpy): Likewise. Do not use BP_SYM.
9163 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
9164 "bp-asm.h".
9165 (PARMS): Do not use macros from bp-asm.h.
9166 (DEST): Likewise.
9167 (SRC): Likewise.
9168 (LEN): Likewise.
9169 (memmove): Likewise. Do not use BP_SYM.
9170 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
9171 "bp-asm.h".
9172 (PARMS): Do not use macros from bp-asm.h.
9173 (DEST): Likewise.
9174 (SRC): Likewise.
9175 (LEN): Likewise.
9176 (__mempcpy): Likewise. Do not use BP_SYM.
9177 (mempcpy): Do not use BP_SYM in weak_alias.
9178 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
9179 "bp-asm.h".
9180 (PARMS): Do not use macros from bp-asm.h.
9181 (DEST): Likewise.
9182 (LEN): Likewise.
9183 [!BZERO_P] (CHR): Likewise.
9184 (memset): Likewise. Do not use BP_SYM.
9185 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
9186 "bp-asm.h".
9187 (PARMS): Do not use macros from bp-asm.h.
9188 (STR2): Likewise.
9189 (strcmp): Do not use BP_SYM.
9190 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
9191 "bp-asm.h".
9192 (PARMS): Do not use macros from bp-asm.h.
9193 (STR): Likewise.
9194 (DELIM): Likewise.
9195 [USE_AS_STRTOK_R] (SAVE): Likewise.
9196 (FUNCTION): Likewise. Do not use BP_SYM.
9197 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
9198 aliases.
9199 (strtok_r): Likewise.
9200 (__GI___strtok_r): Likewise.
9201 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9202 (PARMS): Do not use macros from bp-asm.h.
9203 (S): Likewise.
9204 (SIZE): Likewise.
9205 (__mpn_lshift): Do not use BP_SYM.
9206 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9207 (PARMS): Do not use macros from bp-asm.h.
9208 (STR): Likewise.
9209 (CHR): Likewise.
9210 (__memchr): Do not use BP_SYM.
9211 (memchr): Do not use BP_SYM in weak_alias.
9212 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9213 (PARMS): Do not use macros from bp-asm.h.
9214 (BLK2): Likewise.
9215 (LEN): Likewise.
9216 (memcmp): Do not use BP_SYM.
9217 (bcmp): Do not use BP_SYM in weak_alias.
9218 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
9219 (PARMS): Do not use macros from bp-asm.h.
9220 (S1): Likewise.
9221 (SIZE): Likewise.
9222 (__mpn_mul_1): Do not use BP_SYM.
9223 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
9224 "bp-asm.h".
9225 (PARMS): Do not use macros from bp-asm.h.
9226 (STR): Likewise.
9227 (CHR): Likewise.
9228 (__rawmemchr): Do not use BP_SYM.
9229 (rawmemchr): Do not use BP_SYM in weak_alias.
9230 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9231 (PARMS): Do not use macros from bp-asm.h.
9232 (S): Likewise.
9233 (SIZE): Likewise.
9234 (__mpn_rshift): Do not use BP_SYM.
9235 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9236 (PARMS): Do not use macros from bp-asm.h.
9237 (SIGMSK): Likewise.
9238 (__sigsetjmp): Likewise. Do not use BP_SYM.
9239 * sysdeps/i386/start.S: Do not include "bp-sym.h".
9240 (_start): Do not use BP_SYM.
9241 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
9242 (PARMS): Do not use macros from bp-asm.h.
9243 (DEST): Likewise.
9244 (SRC): Likewise.
9245 (__stpcpy): Likewise. Do not use BP_SYM.
9246 (stpcpy): Do not use BP_SYM in weak_alias.
9247 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
9248 "bp-asm.h".
9249 (PARMS): Do not use macros from bp-asm.h.
9250 (DEST): Likewise.
9251 (SRC): Likewise.
9252 (LEN): Likewise.
9253 (__stpncpy): Likewise. Do not use BP_SYM.
9254 (stpncpy): Do not use BP_SYM in weak_alias.
9255 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9256 (PARMS): Do not use macros from bp-asm.h.
9257 (STR): Likewise.
9258 (CHR): Likewise.
9259 (strchr): Likewise. Do not use BP_SYM.
9260 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
9261 "bp-asm.h".
9262 (PARMS): Do not use macros from bp-asm.h.
9263 (STR): Likewise.
9264 (CHR): Likewise.
9265 (__strchrnul): Likewise. Do not use BP_SYM.
9266 (strchrnul): Do not use BP_SYM in weak_alias.
9267 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
9268 "bp-asm.h".
9269 (PARMS): Do not use macros from bp-asm.h.
9270 (STOP): Likewise.
9271 (strcspn): Do not use BP_SYM.
9272 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
9273 "bp-asm.h".
9274 (PARMS): Do not use macros from bp-asm.h.
9275 (STR): Likewise.
9276 (STOP): Likewise.
9277 (strpbrk): Likewise. Do not use BP_SYM.
9278 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
9279 "bp-asm.h".
9280 (PARMS): Do not use macros from bp-asm.h.
9281 (STR): Likewise.
9282 (CHR): Likewise.
9283 (strrchr): Likewise. Do not use BP_SYM.
9284 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
9285 (PARMS): Do not use macros from bp-asm.h.
9286 (SKIP): Likewise.
9287 (strspn): Do not use BP_SYM.
9288 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
9289 (PARMS): Do not use macros from bp-asm.h.
9290 (STR): Likewise.
9291 (DELIM): Likewise.
9292 (SAVE): Likewise.
9293 (FUNCTION): Likewise. Do not use BP_SYM.
9294 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
9295 aliases.
9296 (strtok_r): Likewise.
9297 (__GI___strtok_r): Likewise.
9298 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9299 (PARMS): Do not use macros from bp-asm.h.
9300 (S1): Likewise.
9301 (S2): Likewise.
9302 (SIZE): Likewise.
9303 (__mpn_sub_n): Do not use BP_SYM.
9304 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
9305 "bp-asm.h".
9306 (PARMS): Do not use macros from bp-asm.h.
9307 (S1): Likewise.
9308 (SIZE): Likewise.
9309 (__mpn_submul_1): Do not use BP_SYM.
9310 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
9311 <bp-sym.h>.
9312 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
9313 and <bp-asm.h>.
9314 (PARMS): Do not use macros from bp-asm.h.
9315 (FLAGS): Likewise.
9316 (PTID): Likewise.
9317 (TLS): Likewise.
9318 (CTID): Likewise.
9319 (__clone): Do not use BP_SYM.
9320 (clone): Do not use BP_SYM in weak_alias.
9321 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
9322 and <bp-asm.h>.
9323 (PARMS): Do not use macros from bp-asm.h.
9324 (LEN): Likewise.
9325 (__mmap64): Do not use BP_SYM.
9326 (mmap64): Do not use BP_SYM in weak_alias.
9327 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9328 <bp-sym.h> and <bp-asm.h>.
9329 (PARMS): Do not use macros from bp-asm.h.
9330 (__posix_fadvise64_l64): Do not use BP_SYM.
9331 * sysdeps/unix/sysv/linux/i386/semtimedop.S
9332 (PARMS): Do not use macros from bp-asm.h.
9333 (NSOPS): Likewise.
9334 (semtimedop): Do not use BP_SYM.
9335 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
9336 and <bp-asm.h>.
9337
582a3cff
AM
93382013-02-21 Allan McRae <allan@archlinux.org>
9339
9340 * manual/message.texi (Charset conversion in gettext):
9341 Move @end statement to beginning of line.
9342
bab8a695
SP
93432013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9344
80945231
SP
9345 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
9346 static.
9347 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9348 Likewise.
9349
bab8a695
SP
9350 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
9351 (denorm): Likewise.
9352 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
9353 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
9354
e21d7aa7
AK
93552013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9356
9357 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
9358 tail-call to the resolved function if pltexit isn't needed.
9359
4c7a4263
SP
93602013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9361
9362 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
9363 or Y being zero as being unlikely.
9364 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9365 Likewise.
9366
41f49342
CD
93672013-02-20 Carlos O'Donell <carlos@redhat.com>
9368
9369 * manual/nss.texi (System Databases and Name Service Switch):
9370 Remove frobnicate @pxref.
9371
50022a93
TS
93722013-02-20 Thomas Schwinge <thomas@codesourcery.com>
9373
9374 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9375 __attribute__ ((unused)) to __attribute__ ((__unused__)).
9376
08cbd996
PM
93772013-02-20 Petr Machata <pmachata@redhat.com>
9378
9379 * elf/elf.h (R_ARM_TARGET1): New macro.
9380 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
9381 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
9382 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
9383 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
9384 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
9385 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
9386 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
9387 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
9388 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
9389 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
9390 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
9391 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
9392 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
9393 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
9394 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
9395 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
9396 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
9397 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
9398 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
9399 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
9400 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
9401 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
9402 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
9403 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
9404 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
9405 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
9406 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
9407 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
9408 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
9409 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
9410 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
9411 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
9412 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
9413 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
9414 (R_ARM_THM_GOT_BREL12): Likewise.
9415 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
9416 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
9417 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
9418 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
9419 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
9420 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
9421 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
9422 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
9423 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
9424
c7b275d6
TS
94252013-02-20 Thomas Schwinge <thomas@codesourcery.com>
9426
9427 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9428 __attribute_used__ to __attribute__ ((unused)).
9429
20cd7fb3
SP
94302013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9431
9432 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
9433 powerpc mpa.c.
9434 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
9435 comment formatting.
9436 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
9437
92945b52
JM
94382013-02-19 Joseph Myers <joseph@codesourcery.com>
9439
9440 [BZ #13550]
9441 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
9442 Remove macro.
9443 (ENTER): Remove both macro definitions.
9444 (LEAVE): Likewise.
9445 (CHECK_BOUNDS_LOW): Likewise.
9446 (CHECK_BOUNDS_HIGH): Likewise.
9447 (CHECK_BOUNDS_BOTH): Likewise.
9448 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
9449 (RETURN_BOUNDED_POINTER): Likewise.
9450 (RETURN_NULL_BOUNDED_POINTER): Likewise.
9451 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
9452 (POP_ERRNO_LOCATION_RETURN): Likewise.
9453 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
9454 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9455 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
9456 macros.
9457 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9458 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
9459 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
9460 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
9461 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
9462 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
9463 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
9464 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
9465 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
9466 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
9467 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
9468 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
9469 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9470 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
9471 removed macros.
9472 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9473 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
9474 macros.
9475 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9476 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
9477 * sysdeps/i386/i586/memset.S (memset): Likewise.
9478 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
9479 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9480 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
9481 macros.
9482 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9483 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
9484 Change uses of L(2) to L(out).
9485 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
9486 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
9487 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
9488 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9489 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
9490 removed macros.
9491 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9492 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
9493 macros.
9494 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9495 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
9496 (RETURN): Do not use macro LEAVE.
9497 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
9498 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
9499 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
9500 * sysdeps/i386/i686/memset.S (memset): Likewise.
9501 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
9502 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
9503 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9504 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
9505 Likewise.
9506 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9507 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
9508 L(1_2) and L(1_3) into L(1).
9509 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9510 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
9511 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9512 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
9513 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9514 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
9515 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
9516 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9517 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
9518 macros.
9519 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
9520 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9521 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
9522 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
9523 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
9524 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9525 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
9526 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
9527 * sysdeps/i386/strcspn.S (strcspn): Likewise.
9528 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
9529 * sysdeps/i386/strrchr.S (strrchr): Likewise.
9530 * sysdeps/i386/strspn.S (strspn): Likewise.
9531 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
9532 conditional code.
9533 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9534 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
9535 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9536 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
9537 L(1_3) into L(1_1).
9538 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
9539 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9540 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
9541 macros.
9542 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9543
2389741a
JJ
95442013-02-19 Jakub Jelinek <jakub@redhat.com>
9545
9546 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
9547 macro.
9548
2016b3cd
SP
95492013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9550
e4f22324
SP
9551 * math/atest-exp.c (exp_mpn): Remove ROUND.
9552 * math/atest-exp2.c (exp_mpn): Likewise.
9553 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
9554
2016b3cd
SP
9555 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
9556 * stdlib/tst-tls-atexit-lib.c: Likewise.
9557 * stdlib/tst-tls-atexit.c: Likewise.
9558
4be9b544
MF
95592013-02-18 Mike Frysinger <vapier@gentoo.org>
9560
9561 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
9562 and __attribute_alloc_size__.
9563
2f62b9ee
MF
95642013-02-18 Mike Frysinger <vapier@gentoo.org>
9565
9566 * include/programs/xmalloc.h: Change __attribute_alloc_size to
9567 __attribute_alloc_size__.
9568 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
9569 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
9570
6ff444c4
MF
95712013-02-18 Mike Frysinger <vapier@gentoo.org>
9572
9573 * include/programs/xmalloc.h: New file.
9574 * catgets/gencat.c: Include it.
9575 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
9576 * elf/pldd.c: Likewise.
9577 * iconv/iconv_charmap.c: Likewise.
9578 * iconv/iconvconfig.c: Likewise.
9579 * iconv/strtab.c: Likewise.
9580 * locale/programs/locale.c: Likewise.
9581 * locale/programs/localedef.h: Likewise.
9582 * locale/programs/simple-hash.c: Likewise.
9583 * nscd/nscd.h: Likewise.
9584 * nss/makedb.c: Likewise.
9585 * sysdeps/generic/ldconfig.h: Likewise.
9586
be179c8a
SP
95872013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9588
ba384f6e
SP
9589 * Versions.def: Add GLIBC_2.18.
9590 * include/link.h (struct link_map): New member l_tls_dtor_count.
9591 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
9592 (__call_tls_dtors): Likewise.
9593 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
9594 __cxa_thread_atexit_impl.
9595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9596 Likewise.
9597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9598 Likewise.
9599 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9600 Likewise.
9601 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9602 Likewise.
9603 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9604 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
9605 Likewise.
9606 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
9607 Likewise.
9608 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9609 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9610 Likewise.
9611 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
9612 (tests): Add test case tst-tls-atexit.
9613 (modules-names): Add shared library for tst-tls-atexit.
85891aca 9614 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
9615 (GLIBC_PRIVATE): Add __call_tls_dtors.
9616 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
9617 for libstdc++.
9618 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
9619 * stdlib/tst-tls-atexit.c: New test case.
9620 * stdlib/tst-tls-atexit-lib.c: New test case.
9621
ffaa74cf 9622 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 9623
be179c8a
SP
9624 * elf/Versions (ld): Add _dl_find_dso_for_object.
9625 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
9626 * elf/dl-open.c (_dl_find_dso_for_object): New function.
9627 (dl_open_worker): Use _dl_find_dso_for_object.
9628 * elf/dl-sym.c (do_sym): Likewise.
9629 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
9630
f78b5caa
AK
96312013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9632
9633 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
9634 Syntactic changes only.
9635 (_dl_runtime_profile): Do a tail-call to the resolved function.
9636
29691210
JM
96372013-02-17 Joseph Myers <joseph@codesourcery.com>
9638
9639 [BZ #13550]
9640 * sysdeps/x86_64/bp-asm.h: Remove file.
9641 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
9642 <bp-sym.h> and <bp-asm.h>.
9643 (__clone): Do not use BP_SYM.
9644 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
9645 <bp-sym.h> and <bp-asm.h>.
9646 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9647 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
9648 "bp-asm.h".
9649 (_setjmp): Do not use BP_SYM.
9650 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
9651 "bp-asm.h".
9652 (setjmp): Do not use BP_SYM.
9653 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
9654 libc_hidden_def.
9655 (mempcpy): Do not use BP_SYM in weak_alias.
9656 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
9657 "bp-asm.h".
9658 (strchr): Do not use BP_SYM.
9659 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
9660 "bp-asm.h".
9661 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
9662 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
9663 (_start): Do not use BP_SYM.
9664 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
9665 "bp-asm.h".
9666 (strcat): Do not use BP_SYM.
9667 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
9668 "bp-asm.h".
9669 (STRCMP): Do not use BP_SYM.
9670 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
9671 "bp-asm.h".
9672 (STRCPY): Do not use BP_SYM.
9673 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
9674 "bp-asm.h".
9675 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
9676 "bp-asm.h".
9677 (FUNCTION): Do not use BP_SYM.
9678 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
9679 weak_alias.
9680 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
9681
f238fd19
AJ
96822013-02-17 Andreas Jaeger <aj@suse.de>
9683
9684 * time/Versions: Sort entries.
9685 * string/Versions: Likewise.
9686 * resolv/Versions: Likewise.
9687 * posix/Versions: Likewise.
9688 * iconv/Versions: Likewise.
9689 * elf/Versions: Likewise.
9690 * wcsmbs/Versions: Likewise.
9691
bd07f23c 96922013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 9693
22af19f9
SP
9694 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
9695 loop termination condition.
9696
4709fe76
SP
9697 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
9698 variable to calculate EZ.
9699 (__sqr): Likewise.
2d0e0f29
SP
9700
9701 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
9702 the lower precision input.
9703
daaa7713
JM
97042013-02-15 Joseph Myers <joseph@codesourcery.com>
9705
9706 [BZ #13550]
9707 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
9708 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
9709 (run-via-rtld-prefix): Do not handle %-bp tests.
9710 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
9711 (all-object-suffixes): Remove .ob.
9712 (bppfx): Remove variable.
9713 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
9714 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
9715 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
9716 [$(build-bounded) = yes] (libtype.ob): Likewise.
9717 * Makerules (elide-routines.ob): Remove variable.
9718 (do-tests-clean): Do not handle *-bp.out.
9719 (common-mostlyclean): Do not handle *-bp and *-bp.out.
9720 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
9721 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
9722 (tests): Do not include $(tests-bp.out).
9723 (xtests): Do not include $(xtests-bp.out).
9724 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
9725 [$(build-bounded) = yes] ($(addprefix
9726 $(objpfx),$(binaries-bounded))): Remove rule.
9727 ($(objpfx)%-bp.out): Remove rule.
9728 * config.make.in (build-bounded): Remove variable.
9729 * crypt/Makefile [$(build-bounded) = yes]
9730 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
9731 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
9732 append to variable.
9733 [$(build-bounded) = yes] (install-lib): Likewise.
9734 [$(build-bounded) = yes] (generated): Likewise.
9735 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
9736 Remove rule.
9737 * intl/Makefile [$(build-bounded) = yes]
9738 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
9739 * math/Makefile [$(build-bounded) = yes]
9740 ($(tests:%=$(objpfx)%-bp): Likewise.
9741 * misc/Makefile [$(build-bounded) = yes]
9742 ($(objpfx)tst-tsearch-bp): Likewise.
9743 * nptl/Makeconfig (bounded-thread-library): Remove variable.
9744 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
9745 Remove dependency.
9746 * string/Makefile (o-objects.ob): Remove variable.
9747 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
9748 (CFLAGS-.ob): Remove variable.
9749 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
9750 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
9751 both definitions of variable.
9752 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
9753 (ASFLAGS-.ob): Remove variable.
9754
e97ed6dd
JM
97552013-02-14 Joseph Myers <joseph@codesourcery.com>
9756
2bdd4ca6
JM
9757 [BZ #13550]
9758 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
9759 Remove __BOUNDED_POINTERS__ from condition.
9760 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
9761 * string/bits/string2.h [!__NO_STRING_INLINES &&
9762 !__BOUNDED_POINTERS__]: Likewise.
9763 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
9764 Likewise.
9765 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
9766 Remove conditional code.
9767 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
9768 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
9769 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
9770 condition.
9771
e97ed6dd
JM
9772 [BZ #13550]
9773 * csu/libc-start.c: Do not include <bp-sym.h>.
9774 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
9775 * elf/dl-open.c: Do not include <bp-sym.h>.
9776 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
9777 * math/fegetenv.c: Do not include <bp-sym.h>.
9778 (fegetenv): Do not use BP_SYM in versioned symbols.
9779 * nptl/sysdeps/pthread/bits/libc-lockP.h
9780 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
9781 <bp-sym.h>.
9782 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9783 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
9784 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9785 (__pthread_mutex_destroy): Likewise.
9786 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9787 (__pthread_mutex_lock): Likewise.
9788 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9789 (__pthread_mutex_trylock): Likewise.
9790 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9791 (__pthread_mutex_unlock): Likewise.
9792 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9793 (__pthread_mutexattr_init): Likewise.
9794 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9795 (__pthread_mutexattr_destroy): Likewise.
9796 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9797 (__pthread_mutexattr_settype): Likewise.
9798 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9799 (__pthread_rwlock_init): Likewise.
9800 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9801 (__pthread_rwlock_destroy): Likewise.
9802 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9803 (__pthread_rwlock_rdlock): Likewise.
9804 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9805 (__pthread_rwlock_tryrdlock): Likewise.
9806 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9807 (__pthread_rwlock_wrlock): Likewise.
9808 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9809 (__pthread_rwlock_trywrlock): Likewise.
9810 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9811 (__pthread_rwlock_unlock): Likewise.
9812 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9813 (__pthread_key_create): Likewise.
9814 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9815 (__pthread_setspecific): Likewise.
9816 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9817 (__pthread_getspecific): Likewise.
9818 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
9819 Likewise.
9820 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9821 (_pthread_cleanup_push_defer): Likewise.
9822 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9823 (_pthread_cleanup_pop_restore): Likewise.
9824 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9825 (pthread_setcancelstate): Likewise.
9826 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
9827 <bp-sym.h>.
9828 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
9829 (memchr): Do not use BP_SYM in weak_alias.
9830 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
9831 (fegetenv): Do not use BP_SYM in versioned symbols.
9832 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
9833 (fesetenv): Do not use BP_SYM in versioned symbols.
9834 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9835 (feupdateenv): Do not use BP_SYM in versioned symbols.
9836 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9837 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9838 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
9839 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
9840 (open64): Do not use BP_SYM in weak_alias.
9841 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
9842 (fegetenv): Do not use BP_SYM in versioned symbols.
9843 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
9844 (fesetenv): Do not use BP_SYM in versioned symbols.
9845 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9846 (feupdateenv): Do not use BP_SYM in versioned symbols.
9847 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
9848 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
9849 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
9850 (feraiseexcept): Do not use BP_SYM in versioned symbols.
9851 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9852 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9853 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
9854 <bp-sym.h>.
9855 (__libc_start_main): Do not use BP_SYM.
9856
d6752ccd
SP
98572013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9858
cb57ce60
SP
9859 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
9860 redundant return line.
9861 (norm): Likewise.
9862 (denorm): Likewise.
9863 (dbl_mp): Likewise.
9864 (sub_magnitudes): Likewise.
9865 (__add): Likewise.
9866 (__sub): Likewise.
9867 (__mul): Likewise.
9868 (__inv): Likewise.
9869 (__dvd): Likewise.
9870 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
9871 (norm): Likewise.
9872 (denorm): Likewise.
9873 (dbl_mp): Likewise.
9874 (sub_magnitudes): Likewise.
9875 (__add): Likewise.
9876 (__sub): Likewise.
9877 (__mul): Likewise.
9878 (__inv): Likewise.
9879 (__dvd): Likewise.
9880
f414520d
SP
9881 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
9882 instead of __mul.
9883 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9884 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
9885 (cc32): Likewise.
9886
d6752ccd
SP
9887 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
9888 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
9889 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
9890 of __mul for squares.
9891 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
9892 function
9893 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
9894 Likewise.
9895 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
9896 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9897
70d9946a
JM
98982013-02-13 Joseph Myers <joseph@codesourcery.com>
9899
9900 [BZ #13550]
9901 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
9902 code.
9903 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
9904 prototype or function definition. Rename ubp_* variables and
9905 parameters. Remove argv definitions conditional on
9906 [__BOUNDED_POINTERS__].
9907 * debug/backtrace.c (__backtrace): Do not use __unbounded.
9908 * elf/dl-runtime.c (_dl_fixup): Likewise.
9909 * include/set-hooks.h (RUN_HOOK): Likewise.
9910 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
9911 definition.
9912 * string/strcpy.c (strcpy): Do not use __unbounded.
9913 * sysdeps/generic/frame.h (struct layout): Likewise.
9914 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
9915 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
9916 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
9917 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
9918 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
9919 (__backtrace): Likewise.
9920 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
9921 use __ptrvalue.
9922 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
9923 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9924 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
9925 Likewise.
9926 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
9927 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
9928 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9929 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9930 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
9931 Do not use __unbounded.
9932 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
9933 Rename __unboundedrlimits parameter to rlimits in prototype.
9934 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
9935 Do not use __unbounded.
9936 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
9937 not use __ptrvalue.
9938 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9939 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
9940 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9941 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
9942 __ptrvalue or __unbounded.
9943 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
9944 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
9945 use __unbounded.
9946 (__new_msgctl): Do not use __ptrvalue.
9947 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
9948 __unbounded.
9949 (__libc_msgrcv): Do not use __ptrvalue.
9950 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
9951 startup_info): Do not use __unbounded.
9952 (__libc_start_main): Likewise. Rename ubp_* variables and
9953 parameters. Remove argv definitions conditional on
9954 [__BOUNDED_POINTERS__].
9955 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
9956 __ptrvalue.
9957 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
9958 use __unbounded.
9959 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
9960 or __ptrvalue.
9961 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
9962 use __unbounded.
9963 (__new_shmctl): Do not use __ptrvalue.
9964 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
9965 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
9966 Likewise.
9967 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
9968 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
9969 (__libc_sigaction): Likewise.
9970 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
9971 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
9972 Likewise.
9973 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9974
cc7834d6
OB
99752013-02-13 Ondřej Bílka <neleai@seznam.cz>
9976
ffb1ec7b 9977 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
9978
9979 * string/mempcpy.c: Implement by calling memcpy.
9980
bdf02814
SP
99812013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9982
c2af38aa
SP
9983 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
9984
4e92d59e
SP
9985 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
9986 evaluation.
9987
909279a5
SP
9988 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
9989 values in the mantissa.
9990
bdf02814
SP
9991 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
9992 minimize writes to Z.
9993 (sub_magnitudes): Simplify code a bit.
9994
cd525923
RM
99952013-02-12 Roland McGrath <roland@hack.frob.com>
9996
9997 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
9998 from the message. The linker prefixes all warnings with that already.
9999
7e2f0d2d
AS
100002013-02-12 Andreas Schwab <schwab@suse.de>
10001
a445af0b
AS
10002 [BZ #15078]
10003 * posix/regexec.c (extend_buffers): Add parameter min_len.
10004 (check_matching): Pass minimum needed length.
10005 (clean_state_log_if_needed): Likewise.
10006 (get_subexp): Likewise.
10007 * posix/Makefile (tests): Add bug-regex34.
10008 (bug-regex34-ENV): Define.
10009 * posix/bug-regex34.c: New file.
10010
7e2f0d2d
AS
10011 [BZ #11561]
10012 * posix/regcomp.c (parse_bracket_exp): When looking up collating
10013 elements compare against the byte sequence of it, not its name.
10014 * posix/Makefile (tests): Add bug-regex35.
10015 (bug-regex35-ENV): Define.
10016 * posix/bug-regex35.c: New file.
10017
a175b684
TV
100182013-02-11 Tom de Vries <tom@codesourcery.com>
10019
10020 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
10021 comment.
10022 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
10023 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
10024 (CHECK_EOL): Add undef.
10025
310998fe 100262013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
10027
10028 * bits/stdlib-bsearch.h: New file.
10029 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 10030 * stdlib/stdlib.h: Likewise.
41eda41d 10031
8ded91fb
RM
100322013-02-11 Roland McGrath <roland@hack.frob.com>
10033
10034 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
10035 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
10036 declaration.
10037 * manual/search.texi (Array Search Function): Add missing const in
10038 lfind prototype.
10039 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
10040 declaration to use rlim_t.
10041 (Basic Scheduling Functions): Remove erroneous const from
10042 sched_getparam prototype. Remove erroneous * from
10043 sched_get_priority_max and sched_get_priority_min prototypes.
10044 (Resource Usage): Fix summary @comment on vtimes to refer to
10045 sys/vtimes.h rather than vtimes.h.
10046 Add missing *s in vtimes prototype.
10047 (Limits on Resources): Fix ulimit prototype to return long int.
10048 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
10049 prototypes to use long int rather than double.
10050 (BSD Random): Fix initstate and setstate to use char *, not void *.
10051 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
10052 prototype to make second argument 'struct aiocb64 *const[]'.
10053 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
10054 (Status of AIO Operations): Remove erroneous const in aio_return and
10055 aio_return64 prototypes.
10056 (Synchronizing I/O): Fix sync prototype to return void.
10057 * manual/startup.texi (Suboptions): Remove an erroneous const in
10058 getsubopt prototype.
10059 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
10060 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
10061 use size_t rather than int.
10062 (Scanning All Users): Likewise for getpwent_r.
10063 (Setting Groups): Add missing const to setgroups prototype.
10064 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
10065 * manual/socket.texi (Host Names): Fix gethostbyaddr and
10066 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
10067 'const void *' rather than 'const char *'.
10068 (Host Address Functions): Likewise for inet_ntop.
10069 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
10070 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
10071 ssize_t for return value.
10072 (Sending Data): Likewise for send, sendto, sendmsg.
10073 (Socket Option Functions): Add a missing const in setsockopt prototype.
10074 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
10075 use wchar_t for the argument.
10076 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
10077 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
10078 take no arguments.
10079 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
10080 double/float/long double for second argument.
10081 Fix return types of significand, significandf, significandl.
10082 * manual/filesys.texi (Setting Permissions): Use mode_t for second
10083 argument in fchmod prototype.
10084 (File Owner): Use uid_t and gid_t in fchown prototype.
10085 (File Times): Add const to utimes, futimes, and lutimes prototypes.
10086 (Making Special Files): Use mode_t and dev_t in mknod prototype.
10087 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
10088 use 'const struct dirent **' as argument types to CMP function pointer
10089 argument.
10090 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
10091 (File Times): Fix summary magic @comment for struct utimbuf and utime
10092 to refer to utime.h, not time.h.
10093 * manual/string.texi (Argz Functions): Add missing const in
10094 argz_extract and argz_next prototypes.
10095 (Finding Tokens in a String): Likewise for basename.
10096 (String/Array Comparison): Fix typo in wcscasecmp prototype.
10097 (Copying and Concatenation): Fix typo in wmemmove prototype.
10098 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
10099 (Signal Stack): Remove erroneous const in sigstack prototype.
10100 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
10101 prototype.
10102 (Simple Calendar Time): Likewise for stime.
10103 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
10104 prototype.
10105 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
10106 say sys/sysctl.h instead.
10107 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
10108 and vsyslog prototypes.
10109
fe77fe6d
TV
101102013-02-11 Tom de Vries <tom@codesourcery.com>
10111
10112 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
10113 Remove.
10114
3a09b620
RM
101152013-02-11 Roland McGrath <roland@hack.frob.com>
10116
10117 * misc/sys/mman.h: Fix typo in mremap comment.
10118
550a0b89
RM
101192013-02-08 Roland McGrath <roland@hack.frob.com>
10120
10121 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
10122 the '\0' terminator.
10123
a2da1673
JM
101242013-02-08 Joseph Myers <joseph@codesourcery.com>
10125
10126 [BZ #13550]
10127 * debug/segfault.c: Don't include <bp-checks.h>.
10128 * sysdeps/generic/bp-checks.h: Remove file.
10129 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
10130 (__GETDENTS): Don't use CHECK_N.
10131 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
10132 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10133 (__getgroups): Don't use CHECK_N.
10134 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
10135 (setgroups): Don't use CHECK_N.
10136 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
10137 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
10138 (__libc_msgrcv): Don't use CHECK_N.
10139 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
10140 (__libc_msgsnd): Don't use CHECK_N.
10141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
10142 <bp-checks.h>.
10143 (__libc_pread): Don't use CHECK_N.
10144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
10145 include <bp-checks.h>.
10146 (__libc_pread64): Don't use CHECK_N.
10147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
10148 include <bp-checks.h>.
10149 (__libc_pwrite): Don't use CHECK_N.
10150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
10151 include <bp-checks.h>.
10152 (__libc_pwrite64): Don't use CHECK_N.
10153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
10154 <bp-checks.h>.
10155 (__libc_pread): Don't use CHECK_N.
10156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
10157 include <bp-checks.h>.
10158 (__libc_pread64): Don't use CHECK_N.
10159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
10160 include <bp-checks.h>.
10161 (__libc_pwrite): Don't use CHECK_N.
10162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
10163 include <bp-checks.h>.
10164 (__libc_pwrite64): Don't use CHECK_N.
10165 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
10166 (do_pread): Don't use CHECK_N.
10167 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
10168 (do_pread64): Don't use CHECK_N.
10169 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
10170 (do_pwrite): Don't use CHECK_N.
10171 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
10172 (do_pwrite64): Don't use CHECK_N.
10173 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
10174 (__libc_readv): Don't use CHECK_N.
10175 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
10176 (semop): Don't use CHECK_N.
10177 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
10178 <bp-checks.h>.
10179 (semtimedop): Don't use CHECK_N.
10180 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
10181 (__libc_pread): Don't use CHECK_N.
10182 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
10183 <bp-checks.h>.
10184 (__libc_pread64): Don't use CHECK_N.
10185 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
10186 <bp-checks.h>.
10187 (__libc_pwrite): Don't use CHECK_N.
10188 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
10189 <bp-checks.h>.
10190 (__libc_pwrite64): Don't use CHECK_N.
10191 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
10192 <bp-checks.h>.
10193 (__libc_msgrcv): Don't use CHECK_N.
10194 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
10195 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
10196 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
10197 (__libc_writev): Don't use CHECK_N.
10198
b84660a8
RM
101992013-02-08 Roland McGrath <roland@hack.frob.com>
10200
7f3e75f8
RM
10201 * string/strcpy.c: Removed unused variable.
10202
b84660a8
RM
10203 * Makeconfig (+sysdep-includes): Define with := rather than =.
10204 Use an existing include/ subdir of each sysdeps dir before it.
10205
471514d3
CD
102062013-02-08 Carlos O'Donell <carlos@redhat.com>
10207
10208 * nscd/connection.c (register_traced_file): Comment function.
10209 [HAVE_INOTIFY] (union __inev): Define.
10210 [HAVE_INOTIFY] (inotify_check_files): New function.
10211 [HAVE_INOTIFY] (clear_db_cache): Likewise.
10212 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
10213 clear_db_cache.
10214 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
10215
b2d3c3be
CD
102162013-02-08 Carlos O'Donell <carlos@redhat.com>
10217
10218 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
10219 loaded if not already and that a failure is permanent.
10220
b39949d2
CD
102212013-02-08 Carlos O'Donell <carlos@redhat.com>
10222
ddacd1db 10223 [BZ #15006]
b39949d2
CD
10224 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
10225 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
10226
b2c9eff4
JM
102272013-02-08 Joseph Myers <joseph@codesourcery.com>
10228
f3aae3f3
JM
10229 [BZ #13550]
10230 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
10231 (CHECK_1_NULL_OK): Likewise.
10232 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
10233 (__fxstat): Do not use CHECK_1.
10234 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
10235 <bp-checks.h>.
10236 (___fxstat64): Do not use CHECK_1.
10237 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10238 <bp-checks.h>.
10239 (__fxstatat): Do not use CHECK_1.
10240 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10241 <bp-checks.h>.
10242 (__fxstatat64): Do not use CHECK_1.
10243 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
10244 <bp-checks.h>.
10245 (__fxstat): Do not use CHECK_1.
10246 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10247 <bp-checks.h>.
10248 (__fxstatat): Do not use CHECK_1.
10249 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10250 <bp-checks.h>.
10251 (__getresgid): Do not use CHECK_1.
10252 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10253 <bp-checks.h>.
10254 (__getresuid): Do not use CHECK_1.
10255 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
10256 <bp-checks.h>.
10257 (__lxstat): Do not use CHECK_1.
10258 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10259 <bp-checks.h>.
10260 (__old_msgctl): Do not use CHECK_1.
10261 (__new_msgctl): Likewise.
10262 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
10263 <bp-checks.h>.
10264 (__new_setrlimit): Do not use CHECK_1.
10265 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10266 <bp-checks.h>.
10267 (__old_shmctl): Do not use CHECK_1.
10268 (__new_shmctl): Likewise.
10269 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
10270 <bp-checks.h>.
10271 (__xstat): Do not use CHECK_1.
10272 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
10273 (__lxstat): Do not use CHECK_1.
10274 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
10275 <bp-checks.h>.
10276 (___lxstat64): Do not use CHECK_1.
10277 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
10278 (__old_msgctl): Do not use CHECK_1.
10279 (__new_msgctl): Likewise.
10280 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
10281 <bp-checks.h>.
10282 (__gettimeofday): Do not use CHECK_1.
10283 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
10284 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
10285 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
10286 <bp-checks.h>.
10287 (__gettimeofday): Do not use CHECK_1.
10288 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
10289 (__old_shmctl): Do not use CHECK_1_NULL_OK.
10290 (__new_shmctl): Do not use CHECK_1.
10291 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
10292 <bp-checks.h>.
10293 (do_sigtimedwait): Do not use CHECK_1.
10294 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
10295 <bp-checks.h>.
10296 (do_sigwaitinfo): Do not use CHECK_1.
10297 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
10298 <bp-checks.h>.
10299 (msgctl): Do not use CHECK_1.
10300 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
10301 <bp-checks.h>.
10302 (shmctl): Do not use CHECK_1.
10303 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
10304 (ustat): Do not use CHECK_1.
10305 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
10306 <bp-checks.h>.
10307 (__fxstat): Do not use CHECK_1.
10308 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10309 <bp-checks.h>.
10310 (__fxstatat): Do not use CHECK_1.
10311 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
10312 <bp-checks.h>.
10313 (__lxstat): Do not use CHECK_1.
10314 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
10315 <bp-checks.h>.
10316 (__xstat): Do not use CHECK_1.
10317 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
10318 (__xstat): Do not use CHECK_1.
10319 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
10320 (___xstat64): Do not use CHECK_1.
10321
b2c9eff4
JM
10322 [BZ #13550]
10323 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
10324 definitions.
10325 (CHECK_BOUNDS_HIGH): Likewise.
10326 * string/strcpy.c: Do not include <bp-checks.h>.
10327 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
10328
f1d70dad
RM
103292013-02-07 Roland McGrath <roland@hack.frob.com>
10330
10331 * nscd/nscd-client.h (__nscd_drop_map_ref):
10332 Add __attribute__ ((unused)).
10333 * nis/nss-nisplus.h (niserr2nss): Likewise.
10334
10335 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
10336 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
10337
10338 * csu/libc-tls.c (init_static_tls, init_slotinfo):
10339 Remove inline keyword.
10340 * include/rounding-mode.h (round_away): Likewise.
10341 * libio/wfileops.c (adjust_wide_data): Likewise.
10342 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
10343 (__m128i_strloadu_tolower): Likewise.
10344 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
10345 (__m128i_strloadu_tolower): Likewise.
10346 * time/mktime.c (ydhms_diff): Likewise.
10347 * locale/elem-hash.h (elem_hash): Likewise.
10348 * locale/setlocale.c (setdata): Likewise.
10349 * posix/regex_internal.h (re_string_char_size_at): Likewise.
10350 (re_string_wchar_at): Likewise.
10351 (bitset_not, bitset_merge, bitset_mask): Likewise.
10352 [!(__GNUC__ > 3)] (inline): Remove macro.
10353 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
10354 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
10355 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
10356 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
10357 * string/memcmp.c (memcmp_bytes): Likewise.
10358 * locale/programs/locarchive.c (compute_hashval): Likewise.
10359 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
10360 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
10361 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
10362 * nss/getent.c (print_rpc, print_protocols): Likewise.
10363 (print_passwd, print_group, print_aliases): Likewise.
10364 * nis/nss-nisplus.h (niserr2nss): Likewise.
10365 * nscd/connections.c (restart_p): Likewise.
10366 Change return type to bool.
10367
eab55bfb
RM
103682013-02-05 Roland McGrath <roland@hack.frob.com>
10369
7bd642f5
RM
10370 * Makeconfig (all-Depend-files): Add existing
10371 $(sorted-subdirs:=/Depend) files.
10372 (all-subdirs): Remove nss.
10373 * sysdeps/unix/inet/Subdirs: Add it here instead.
10374 * hesiod/Depend: New file.
10375
573c29b2
RM
10376 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
10377 instead of calling alloca.
10378
b2e25af0
RM
10379 * io/lseek.c (__lseek): Rename to __libc_lseek.
10380 Define __lseek as an alias.
10381
eab55bfb
RM
10382 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
10383
9a0d1941
CD
103842013-02-04 Carlos O'Donell <carlos@redhat.com>
10385
10386 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
10387 else clause and remove check for non-standard endianness.
10388
b83bbec4
DM
103892013-02-04 David S. Miller <davem@davemloft.net>
10390
10391 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10392
6277fdab
JM
103932013-02-04 Joseph Myers <joseph@codesourcery.com>
10394
10395 [BZ #13550]
10396 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
10397 (__ubp_memchr): Remove prototype.
10398 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
10399 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10400 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
10401 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10402 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
10403 Remove alias.
10404 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
10405 (__ubp_memchr): Likewise.
10406 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
10407 (__ubp_memchr): Likewise.
10408 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
10409 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
10410 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
10411 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
10412 CHECK_STRING.
10413 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10414 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
10415 (__getcwd): Do not use CHECK_STRING.
10416 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10417 <bp-checks.h>.
10418 (__real_chown): Do not use CHECK_STRING.
10419 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
10420 <bp-checks.h>.
10421 (fchownat): Do not use CHECK_STRING.
10422 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
10423 CHECK_STRING.
10424 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10425 <bp-checks.h>.
10426 (__lchown): Do not use CHECK_STRING.
10427 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10428 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10429 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10430 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10432 include <bp-checks.h>.
10433 (truncate64): Do not use CHECK_STRING.
10434 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10435 <bp-checks.h>.
10436 (__real_chown): Do not use CHECK_STRING.
10437 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10438 <bp-checks.h>.
10439 (__lchown): Do not use CHECK_STRING.
10440 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10441 <bp-checks.h>.
10442 (__chown): Do not use CHECK_STRING.
10443 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
10444 <bp-checks.h>.
10445 (truncate64): Do not use CHECK_STRING.
10446 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
10447 Likewise.
10448 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
10449 (__xmknod): Do not use CHECK_STRING.
10450 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10451 <bp-checks.h>.
10452 (__xmknodat): Do not use CHECK_STRING.
10453 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10454 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
10455
903ae060
AS
104562013-02-04 Andreas Schwab <schwab@suse.de>
10457
10458 [BZ #14142]
10459 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
10460 * include/netdb.h: Likewise for h_errno.
10461 * elf/tst-stackguard1.c: Include <tls.h>.
10462
542f9466
JK
104632013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10464
10465 * elf/link.h (struct link_map): Extend the l_addr comment.
10466 * include/link.h (struct link_map): Likewise.
10467
e782a927
JM
104682013-02-01 Joseph Myers <joseph@codesourcery.com>
10469
10470 [BZ #13550]
10471 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
10472 (BOUNDED_1): Remove macro.
10473 * debug/backtrace.c: Don't include <bp-checks.h>.
10474 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
10475 (__backtrace): Likewise.
10476 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
10477 <bp-checks.h>.
10478 (__backtrace): Don't use BOUNDED_1.
10479 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
10480 <bp-checks.h>.
10481 (__backtrace): Don't use BOUNDED_1.
10482 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
10483 (__backtrace): Don't use BOUNDED_1.
10484 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
10485 (shmat): Don't use BOUNDED_N.
10486
8cf28c5e
JM
104872013-01-31 Joseph Myers <joseph@codesourcery.com>
10488
3a7ac8a0
JM
10489 [BZ #13550]
10490 * sysdeps/generic/bp-start.h: Remove file.
10491 * csu/libc-start.c: Don't include <bp-start.h>.
10492 (LIBC_START_MAIN): Set up __environ directly instead of using
10493 INIT_ARGV_and_ENVIRON.
10494 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
10495 <bp-start.h>.
10496
f3499f95
JM
10497 [BZ #13550]
10498 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
10499 definitions.
10500 (CHECK_FCNTL): Likewise.
10501 (CHECK_N_PAGES): Likewise.
10502
32a45bea
JM
10503 [BZ #13550]
10504 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
10505 definitions.
10506 (CHECK_SIGSET_NULL_OK): Likewise.
10507 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
10508 <bp-checks.h>.
10509 (sigpending): Don't use CHECK_SIGSET.
10510 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
10511 <bp-checks.h>.
10512 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10513 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
10514 <bp-checks.h>.
10515 (do_sigsuspend): Don't use CHECK_SIGSET.
10516 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
10517 use CHECK_SIGSET.
10518 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
10519 (do_sigwait): Don't use CHECK_SIGSET.
10520 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
10521 use CHECK_SIGSET.
10522 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
10523 include <bp-checks.h>.
10524 (sigpending): Don't use CHECK_SIGSET.
10525 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
10526 include <bp-checks.h>.
10527 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10528 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
10529 <bp-checks.h>.
10530 (sigpending): Don't use CHECK_SIGSET.
10531 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
10532 <bp-checks.h>.
10533 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10534
2e8a5c8c
JM
10535 [BZ #13550]
10536 * sysdeps/generic/bp-semctl.h: Remove file.
10537 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
10538 <bp-checks.h> and <bp-semctl.h>.
10539 (__old_semctl): Don't use CHECK_SEMCTL.
10540 (__new_semctl): Likewise.
10541 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
10542 and <bp-semctl.h>.
10543 (__old_semctl): Don't use CHECK_SEMCTL.
10544 (__new_semctl): Likewise.
10545 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
10546 <bp-checks.h> and <bp-semctl.h>.
10547 (__old_semctl): Don't use CHECK_SEMCTL.
10548 (__new_semctl): Likewise.
10549 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
10550 <bp-checks.h> and <bp-semctl.h>.
10551 (semctl): Don't use CHECK_SEMCTL.
10552
c2d54929
JM
10553 [BZ #13550]
10554 * Makerules (elide-bp-thunks): Remove variable.
10555 (elide-routines.oS): Don't use $(elide-bp-thunks).
10556 (elide-routines.os): Likewise.
10557 (elide-routines.o): Likewise.
10558 (elide-routines.op): Likewise.
10559 (elide-routines.og): Likewise.
10560 (objects): Don't use $(bp-thunks).
10561 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
10562 include.
10563 (common-generated): Do not add s-proto-bp.d.
10564 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
10565 (int): Likewise.
10566 (typ): Likewise.
10567 Do not generate makefile rules for bounded-pointer thunks.
10568 * sysdeps/generic/bp-thunks.h: Remove file.
10569 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
10570 * sysdeps/unix/s-proto-bp.S: Likewise.
10571
8cf28c5e
JM
10572 [BZ #15062]
10573 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
10574 parts of result separately when argument is not close to line from
10575 -i to i and one part of argument is small.
10576 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10577 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10578 * math/libm-test.inc (cacos_test): Add more tests.
10579 (casin_test): Likewise.
10580 (casinh_test): Likewise.
10581 * sysdeps/i386/fpu/libm-test-ulps: Update.
10582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10583
c4e33b8d
DM
105842013-01-31 David S. Miller <davem@davemloft.net>
10585
10586 * po/de.po: Update from translation team.
10587
3b60b421
MK
105882013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
10589
10590 * time/tzfile.c: Include stdint.h for SIZE_MAX.
10591
bb931195
TS
105922013-01-25 Thomas Schwinge <thomas@codesourcery.com>
10593
b5a5da23
TS
10594 * configure.in (_AC_PROG_CC_C89): New definition.
10595 * configure: Regenerate.
10596
bb931195
TS
10597 * configure.in (AC_PROG_CPP): New definition.
10598 * configure: Regenerate.
10599
8c53a12c
JM
106002013-01-23 Joseph Myers <joseph@codesourcery.com>
10601
10602 * debug/tst-backtrace.h: New file.
10603 * debug/tst-backtrace2.c: Include tst-backtrace.h.
10604 (ret): Remove variable.
10605 (x): Likewise.
10606 (FAIL): Remove macro.
10607 (NO_INLINE): Likewise.
10608 (fn1): Use match function instead of strstr.
10609 * debug/tst-backtrace3.c: Include tst-backtrace.h.
10610 (ret): Remove variable.
10611 (x): Likewise.
10612 (FAIL): Remove macro.
10613 (NO_INLINE): Likewise.
10614 (fn): Use match function instead of strstr.
10615 * debug/tst-backtrace4.c: Include tst-backtrace.h.
10616 (ret): Remove variable.
10617 (x): Likewise.
10618 (FAIL): Remove macro.
10619 (NO_INLINE): Likewise.
10620 (handle_signal): Use match function instead of strstr.
10621 * debug/tst-backtrace5.c: Include tst-backtrace.h.
10622 (ret): Remove variable.
10623 (x): Likewise.
10624 (FAIL): Remove macro.
10625 (NO_INLINE): Likewise.
10626 (handle_signal): Use match function instead of strstr.
10627
4858fa2a
RM
106282013-01-23 Roland McGrath <roland@hack.frob.com>
10629
10630 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
10631
bae8e7f5
DM
106322013-01-23 David S. Miller <davem@davemloft.net>
10633
10634 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
10635 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
10636 argument of CAS if possible.
10637 * sysdeps/sparc/sparc64/bits/atomic.h
10638 (__arch_compare_and_exchange_val_32_acq): Likewise.
10639 (__arch_compare_and_exchange_val_64_acq): Likewise.
10640
9cbbc4ae
PT
106412013-01-23 Pino Toscano <toscano.pino@tiscali.it>
10642
10643 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
10644 * sysdeps/posix/ulimit.c: ... this.
92a601b8 10645 Include <limits.h>.
67b3f58c 10646 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 10647
5655a0b5
AC
106482013-01-23 Adam Conrad <adconrad@0c3.net>
10649
10650 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
10651 (LDFLAGS-tst-array5): Likewise.
10652
052aff95
JM
106532013-01-23 Joseph Myers <joseph@codesourcery.com>
10654
10655 [BZ #15036]
10656 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
10657 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
10658 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
10659 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
10660
7c1e01aa
DM
106612013-01-21 David S. Miller <davem@davemloft.net>
10662
10663 * sysdeps/sparc/backtrace.c: New file.
10664 * sysdeps/sparc/sparc32/backtrace.h: New file.
10665 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
10666 * sysdeps/sparc/sparc64/backtrace.h: New file.
10667 * sysdeps/sparc/sparc64/backtrace.c: Delete.
10668 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
10669 -funwind-tables.
10670
ab087e0a
AS
106712013-01-21 Andreas Schwab <schwab@suse.de>
10672
10673 [BZ #15020]
10674 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
10675 closed its stdout.
10676
ed689c2f
AS
106772013-01-20 Andreas Schwab <schwab@linux-m68k.org>
10678
10679 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
10680 "mpa2.h".
10681 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10682
31d470ac
JM
106832013-01-18 Joseph Myers <joseph@codesourcery.com>
10684 Mark Mitchell <mark@codesourcery.com>
10685 Tom de Vries <tom@codesourcery.com>
10686 Paul Pluzhnikov <ppluzhnikov@google.com>
10687
10688 * debug/tst-backtrace2.c: New file.
10689 * debug/tst-backtrace3.c: Likewise.
10690 * debug/tst-backtrace4.c: Likewise.
10691 * debug/tst-backtrace5.c: Likewise.
10692 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
10693 (CFLAGS-tst-backtrace3.c): Likewise.
10694 (CFLAGS-tst-backtrace4.c): Likewise.
10695 (CFLAGS-tst-backtrace5.c): Likewise.
10696 (LDFLAGS-tst-backtrace2): Likewise.
10697 (LDFLAGS-tst-backtrace3): Likewise.
10698 (LDFLAGS-tst-backtrace4): Likewise.
10699 (LDFLAGS-tst-backtrace5): Likewise.
10700 (tests): Add new tests tst-backtrace2, tst-backtrace3,
10701 tst-backtrace4 and tst-backtrace5.
10702
90567f30 107032013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
10704 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10705
10706 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
10707 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
10708 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
10709 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
10710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10711 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
10712 "+r" and remove output regs list as redundant. Add explicit inline
10713 asm to specify register of return val to work around compiler codegen
10714 bug. Remove (int) cast on return value. Add return type parameter to
10715 use in macro so that this macro does not truncate return value for
10716 64-bit values.
10717 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
10718 pass to INTERNAL_VSYSCALL_NCS.
10719 (INLINE_VSYSCALL): Add 'long int' as return type to
10720 INTERNAL_VSYSCALL_NCS macro invocation.
10721 (INTERNAL_VSYSCALL): Add 'long int' as return type to
10722 INTERNAL_VSYSCALL_NCS macro invocation.
10723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10724
d3b9ea61
SP
107252013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10726
0b57daeb
SP
10727 [BZ #14496]
10728 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
10729 Fix application of SIMD FP exception mask.
10730
caa99d06
SP
10731 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
10732 mp_no from a power of two.
10733 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
10734 __mpexp_twomm1. Use __pow_mp.
10735
d3b9ea61
SP
10736 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
10737 multiplication.
10738
1dbaee3c
DM
107392013-01-17 David S. Miller <davem@davemloft.net>
10740
10741 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10742
728d7b43
JM
107432013-01-17 Joseph Myers <joseph@codesourcery.com>
10744
10745 [BZ #15023]
10746 * include/complex.h: Condition contents on [!_COMPLEX_H].
10747 (__kernel_casinhf): New prototype.
10748 (__kernel_casinh): Likewise.
10749 (__kernel_casinhl): Likewise.
10750 * math/Makefile (libm_calls): Add k_casinh.
10751 * math/k_casinh.c: New file.
10752 * math/k_casinhf.c: Likewise.
10753 * math/k_casinhl.c: Likewise.
10754 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
10755 finite nonzero arguments.
10756 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
10757 finite nonzero arguments.
10758 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
10759 finite nonzero arguments.
10760 * math/s_casinh.c: Do not include <float.h>.
10761 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
10762 * math/s_casinhf.c: Do not include <float.h>.
10763 (__casinhf): Move code for finite nonzero arguments to
10764 k_casinhf.c.
10765 * math/s_casinhl.c: Do not include <float.h>.
10766 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
10767 redefine.
10768 (__casinhl): Move code for finite nonzero arguments to
10769 k_casinhl.c.
10770 * math/libm-test.inc (cacos_test): Add more tests.
10771 * sysdeps/i386/fpu/libm-test-ulps: Update.
10772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10773
2a26ef3a
PT
107742013-01-17 Pino Toscano <toscano.pino@tiscali.it>
10775
10776 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
10777 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
10778 [!HAVE_MREMAP]: Remove [defined linux] case.
10779 * malloc/arena.c: Do not include <malloc-sysdep.h>.
10780
a897655d
SP
107812013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10782
10783 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
10784
881ebe89 107852013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
10786
10787 * elf/elf.h (R_386_SIZE32): New relocation.
10788 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
10789 R_386_SIZE32.
10790 (elf_machine_rela): Likewise.
10791 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10792 R_X86_64_SIZE64 and R_X86_64_SIZE32.
10793
59981e9b
JM
107942013-01-17 Joseph Myers <joseph@codesourcery.com>
10795
10796 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
10797 (FP_FAST_FMA): Do not define.
10798 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
10799 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
10800 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
10801 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
10802 !_SOFT_FLOAT]: Likewise.
10803 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
10804 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
10805 value.
10806 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
10807 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
10808 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
10809 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
10810 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
10811 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
10812 file.
10813
cfa8054f
AS
108142013-01-16 Andreas Schwab <schwab@suse.de>
10815
10816 [BZ #14327]
10817 * include/stdlib.h (__mktemp): Add declaration.
10818 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
10819 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
10820
dd930cc5
SP
108212013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10822
881ebe89
SP
10823 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
10824 definitions.
10825 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10826 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
10827 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
10828 definitions here.
10829 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
10830 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
10831 definitions.
10832 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
10833 and ONE.
10834 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
10835 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
10836 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
10837 definitions.
10838 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
10839 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
10840 definitions.
10841 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 10842
dd930cc5
SP
10843 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
10844
c19a9f89
DM
108452013-01-15 David S. Miller <davem@davemloft.net>
10846
1aa61767
DM
10847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10848 trunc{,f} to libm-sysdep_routes.
10849 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
10851 file.
10852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
10853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
10854 file.
10855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
10856 file.
10857 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
10858 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
10859 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
10860 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
10861 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
10862 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
10863 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
10864 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
10865
c42d5e98
DM
10866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10867 nearbyint{,f} to libm-sysdep_routes.
10868 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
10870 New file.
10871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
10872 file.
10873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
10874 New file.
10875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
10876 file.
10877 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
10878 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
10879 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
10880 file.
10881 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
10882 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
10883 file.
10884 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
10885 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
10886 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
10887
c19a9f89
DM
10888 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10889 libc_feholdexcept and libc_fesetenv.
10890
357679d2
MF
108912013-01-15 Mike Frysinger <vapier@gentoo.org>
10892
10893 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
10894
65a82e3d
DM
108952013-01-14 David S. Miller <davem@davemloft.net>
10896
8b954ab9
DM
10897 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
10898 (SPARC_ASM_VIS2_IFUNC): Likewise.
10899 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
10900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
10901 use of 'siam' instruction.
10902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
10903 Likewise.
10904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
10905 Likewise.
10906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
10907 Likewise.
10908 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
10909 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
10910 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
10911 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
10912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
10913 file.
10914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
10915 file.
10916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
10917 file.
10918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
10919 file.
10920 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
10921 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
10922 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
10923 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
10924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
10925 new VIS2 routines.
10926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10929 Likewise.
10930 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10931 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10932 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10933 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
10935 routines to libm-sysdep_routines.
10936 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10937
65a82e3d
DM
10938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10939 fdim/fdimf to libm-sysdep_routines.
10940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
10941 file.
10942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
10943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
10944 file.
10945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
10946 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
10947 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
10948 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
10949 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
10950 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
10951 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
10952
e34ab705
SP
109532013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10954
2a91b573
SP
10955 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
10956 to optimize copies.
10957
1066a534
SP
10958 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
10959 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10960 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10961
e34ab705
SP
10962 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
10963 local variable MPTWO.
10964 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10965 Likewise.
10966
aba5e596
MF
109672013-01-13 Mike Frysinger <vapier@gentoo.org>
10968
10969 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
10970 GLOB_NOESCAPE.
10971
e557e9e5
MF
109722013-01-13 Mike Frysinger <vapier@gentoo.org>
10973
10974 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
10975
0428cec9
MF
109762013-01-13 Mike Frysinger <vapier@gentoo.org>
10977
10978 * manual/pattern.texi (glob_t): Document gl_flags.
10979 (glob64_t): Likewise.
10980
8794a964
DM
109812013-01-11 David S. Miller <davem@davemloft.net>
10982
66438c3f
RM
10983 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
10984 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
10985 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
10986 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
10987 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
10988 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
10989 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
10990 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
10991 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
10992 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
10993 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
10994 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
10995 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
10996
4ae4244d
DM
10997 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10998 sparc V9 rather than using V8 code.
10999 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11000 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11001
8794a964
DM
11002 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
11003 Move to...
11004 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
11005 Here.
11006
6270516e
RM
110072013-01-11 Roland McGrath <roland@hack.frob.com>
11008
11009 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
11010 not in the main loop.
11011 * configure: Regenerated.
11012
6a57d931
JM
110132013-01-11 Joseph Myers <joseph@codesourcery.com>
11014
11015 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
11016 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
11017 to just #else.
11018 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
11019 [!__GLIBC_HAVE_LONG_LONG] case.
11020 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
11021 condition to just #else.
11022 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
11023 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
11024 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
11025 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
11026 unconditional.
11027 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
11028 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11029 #elif condition to just #else.
11030 * sysdeps/unix/sysv/linux/sys/sysmacros.h
11031 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
11032 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11033 #elif condition to just #else.
11034
0e8529e9
SE
110352013-01-11 Steve Ellcey <sellcey@mips.com>
11036
11037 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
11038 (EF_MIPS_ARCH_64): Fix value.
11039 (EF_MIPS_ARCH_32R2): New.
11040 (EF_MIPS_ARCH_64R2): New.
11041
740b3dbe
L
110422013-01-11 H.J. Lu <hongjiu.lu@intel.com>
11043
11044 * Makeconfig (+link-pie-before-libc): New.
11045 (+link-pie-after-libc): Likewise.
11046 (+link-pie-tests): Likewise.
11047 (+link-pie): Rewritten.
11048 (link-before-libc): Remove $(config-LDFLAGS).
11049 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
11050 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
11051 (config-LDFLAGS): Renamed to ...
11052 (rtld-LDFLAGS): This.
11053 (rtld-tests-LDFLAGS): New macro.
11054 (link-libc-rpath-link): Likewise.
11055 (link-libc-tests-rpath-link): Likewise.
11056 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
11057 (link-libc): Prepand $(link-libc-rpath-link).
11058 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
11059 (test-program-prefix): New macro.
11060 (test-via-rtld-prefix): Likewise.
11061 (test-program-cmd): Likewise.
11062 (host-test-program-cmd): Likewise.
11063 * Makefile ($(common-objpfx)testrun.sh): Replace
11064 $(run-program-prefix) with $(test-program-prefix).
11065 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
11066 $(rtld-LDFLAGS).
11067 ($(common-objpfx)shlib.lds): Likewise.
11068 (build-module-helper): Likewise.
11069 ($(common-objpfx)format.lds): Likewise.
11070 * Rules (binaries-pie-tests): New.
11071 (binaries-pie-notests): Likewise.
11072 (binaries-pie): Rewritten.
11073 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
11074 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
11075 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
11076 (make-test-out): Replace $(host-built-program-cmd) with
11077 $(host-test-program-cmd).
11078 * config.make.in (build-hardcoded-path-in-tests): New variable.
11079 * configure.in (--enable-hardcoded-path-in-tests): New configure
11080 option.
11081 (hardcoded_path_in_tests): New AC_SUBST.
11082 * configure: Regenerated.
11083 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
11084 $(built-program-cmd) with $(test-program-cmd).
11085 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
11086 (test_program_cmd): This.
11087 * elf/Makefile ($(objpfx)order.out): Run test with
11088 $(test-program-prefix).
11089 ($(objpfx)order2.out): Likewise.
11090 ($(objpfx)tst-initorder.out): Likewise.
11091 ($(objpfx)tst-initorder2.out): Likewise.
11092 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
11093 $(test-program-cmd).
11094 ($(objpfx)tst-array1-static.out): Likewise.
11095 ($(objpfx)tst-array2.out): Likewise.
11096 ($(objpfx)tst-array3.out): Likewise.
11097 ($(objpfx)tst-array4.out): Likewise.
11098 ($(objpfx)tst-array5.out): Likewise.
11099 ($(objpfx)tst-array5-static.out): Likewise.
11100 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
11101 $(test-program-cmd).
11102 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
11103 $(run-program-prefix) with $(test-program-prefix).
11104 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
11105 (test_program_prefix): This.
11106 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
11107 $(run-program-prefix) with $(test-program-prefix).
11108 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
11109 (test_program_prefix): This.
11110 * iconvdata/tst-tables.sh: Likewise.
11111 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
11112 $(run-program-prefix) with $(test-program-prefix).
11113 ($(objpfx)tst-translit.out): Likewise.
11114 ($(objpfx)tst-gettext2.out): Likewise.
11115 ($(objpfx)tst-gettext4.out): Likewise.
11116 ($(objpfx)tst-gettext6.out): Likewise.
11117 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
11118 (test_program_prefix): This.
11119 * intl/tst-gettext2.sh: Likewise.
11120 * intl/tst-gettext4.sh Likewise.
11121 * intl/tst-gettext6.sh: Likewise.
11122 * intl/tst-translit.sh: Likewise.
11123 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
11124 with $(test-program-cmd).
11125 * libio/Makefile ($(objpfx)test-freopen.out): Replace
11126 $(run-program-prefix) with $(test-program-prefix).
11127 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
11128 (test_program_prefix): This.
11129 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
11130 $(run-program-prefix) with $(test-program-prefix).
11131 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
11132 (test_program_prefix): This.
11133 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
11134 * posix/Makefile ($(objpfx)globtest.out): Replace
11135 $(run-via-rtld-prefix) and $(test-wrapper) with
11136 $(test-program-prefix) and $(test-via-rtld-prefix).
11137 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
11138 $(test-program-prefix).
11139 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
11140 $(host-test-program-cmd).
11141 (tst-spawn-ARGS): Likewise.
11142 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
11143 $(test-program-prefix).
11144 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
11145 (test_via_rtld_prefix): This.
11146 (test_wrapper): Renamed to ...
11147 (test_program_prefix): This.
11148 (run_program_prefix): Replaced by test_program_prefix.
11149 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
11150 (test_program_prefix): This.
11151 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
11152 with $(host-test-program-cmd).
11153 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
11154 $(run-program-prefix) with $(test-program-prefix).
11155 ($(objpfx)tst-printf.out): Likewise.
11156 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
11157 $(test-program-cmd).
11158 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
11159 (test_program_prefix): This.
11160 * stdio-common/tst-unbputc.sh: Likewise.
11161 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
11162 $(run-program-prefix) with $(test-program-prefix).
11163 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
11164 (test_program_prefix): This.
11165 * string/Makefile ($(objpfx)tst-svc.out): Replace
11166 $(built-program-cmd) with $(test-program-cmd).
11167
c6fe55cf
AJ
111682013-01-11 Andreas Jaeger <aj@suse.de>
11169
11170 [BZ #15003]
11171 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
11172 value. Sync with Linux 3.7.
11173
9e6919c8
DM
111742013-01-10 David S. Miller <davem@davemloft.net>
11175
11176 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
11177 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11178 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11179
1c9f1a02
RM
111802013-01-10 Roland McGrath <roland@hack.frob.com>
11181
11182 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
11183 never set.
11184 * configure: Regenerated.
11185
b9de2dde
DM
111862013-01-10 David S. Miller <davem@davemloft.net>
11187
11188 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11189 sparc V9 rather than using V8 code.
11190 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11191 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11192
e7f68ef4
RM
111932013-01-10 Roland McGrath <roland@hack.frob.com>
11194
11195 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
11196 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
11197 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
11198 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
11199 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
11200 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
11201 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
11202 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
11203 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
11204 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
11205 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
11206 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
11207 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
11208 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
11209 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
11210 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
11211 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
11212 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
11213 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
11214 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
11215 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
11216 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
11217 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
11218 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
11219 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
11220 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
11221 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
11222
5a47cc9c
DM
112232013-01-10 David S. Miller <davem@davemloft.net>
11224
11225 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11226
4cf8f209
L
112272013-01-10 H.J. Lu <hongjiu.lu@intel.com>
11228
11229 * posix/Makefile (tests-static): New variable.
11230 (tests): Add $(tests-static).
11231 (tst-exec-static-ARGS): New variable.
11232 (tst-spawn-static-ARGS): Likewise.
11233 * posix/tst-exec-static.c: New file.
11234 * posix/tst-spawn-static.c: Likewise.
11235 * posix/tst-exec.c: Support run directly.
11236 * posix/tst-spawn.c: Likewise.
11237
fed0faa1
JM
112382013-01-10 Joseph Myers <joseph@codesourcery.com>
11239
828beb13
JM
11240 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
11241 long.
11242 * math/bits/mathcalls.h (llrint): Likewise.
11243 (llround): Likewise.
11244 * stdlib/stdlib.h (struct drand48_data): Likewise.
11245 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
11246 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
11247 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
11248 Likewise.
11249 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
11250 Likewise.
11251 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
11252 (elf_greg_t): Likewise.
11253 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
11254 (__jmp_buf): Likewise.
11255 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
11256 definitions.
11257 (llrint): Likewise, for all definitions.
11258 (llrintl): Likewise.
11259
fed0faa1
JM
11260 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
11261 Remove [__GNUC__] condition.
11262 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
11263 condition to just [__USE_ISOC99].
11264 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
11265
1a20cb20
L
112662013-01-10 H.J. Lu <hongjiu.lu@intel.com>
11267
11268 [BZ #14200]
11269 * sysdeps/unix/sysv/linux/x86/bits/environments.h
11270 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
11271 defined.
11272 (_POSIX_V6_ILP32_OFF32): Likewise.
11273 (_XBS5_ILP32_OFF32): Likewise.
11274 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
11275 (__ILP32_OFFBIG_LDFLAGS): Likewise.
11276
751b85f7
SP
112772013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11278
7490eb81
SP
11279 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
11280
751b85f7
SP
11281 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
11282 doubles __mpexp_twomm1. Adjust usage.
11283 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
11284 Remove.
11285
988197f0
AS
112862013-01-10 Andreas Schwab <schwab@suse.de>
11287
11288 [BZ #14964]
11289 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
11290 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
11291
e83d7298
DM
112922013-01-09 David S. Miller <davem@davemloft.net>
11293
034ed64b 11294 [BZ #15003]
e83d7298
DM
11295 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
11296 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
11297 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
11298 TCP_FASTOPEN): Define.
11299 (tcp_repair_opt): New structure.
11300 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
11301 enum values.
11302 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
11303 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
11304 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
11305 (tcp_cookie_transactions): New structure.
11306
d5e0b9bd
AB
113072013-01-09 Anton Blanchard <anton@samba.org>
11308
11309 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
11310 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
11311 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
11312 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
11313
0c07e3ea
JM
113142013-01-09 Joseph Myers <joseph@codesourcery.com>
11315
11316 * include/features.h (__USE_ANSI): Remove.
11317
232f7002
RM
113182013-01-09 Roland McGrath <roland@hack.frob.com>
11319
ad98e30c
RM
11320 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
11321
232f7002
RM
11322 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
11323
950c99ca
SP
113242013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
11325
b5792741
SP
11326 * sysdeps/s390/fpu/libm-test-ulps: Update.
11327
47cf2278
SP
11328 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11329
950c99ca
SP
11330 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
11331 (__acr): Likewise.
11332 (__cpy): Likewise.
11333 (norm): Likewise.
11334 (denorm): Likewise.
11335 (__mp_dbl): Likewise.
11336 (__dbl_mp): Likewise.
11337 (add_magnitudes): Likewise.
11338 (sub_magnitudes): Likewise.
11339 (__add): Likewise.
11340 (__sub): Likewise.
11341 (__mul): Likewise.
11342 (__inv): Likewise.
11343 (__dvd): Likewise.
11344 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
11345 (__acr): Likewise.
11346 (__cpy): Likewise.
11347 (norm): Likewise.
11348 (denorm): Likewise.
11349 (__mp_dbl): Likewise.
11350 (__dbl_mp): Likewise.
11351 (add_magnitudes): Likewise.
11352 (sub_magnitudes): Likewise.
11353 (__add): Likewise.
11354 (__sub): Likewise.
11355 (__mul): Likewise.
11356 (__inv): Likewise.
11357 (__dvd): Likewise.
11358 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
11359 (__acr): Likewise.
11360 (__cpy): Likewise.
11361 (norm): Likewise.
11362 (denorm): Likewise.
11363 (__mp_dbl): Likewise.
11364 (__dbl_mp): Likewise.
11365 (add_magnitudes): Likewise.
11366 (sub_magnitudes): Likewise.
11367 (__add): Likewise.
11368 (__sub): Likewise.
11369 (__mul): Likewise.
11370 (__inv): Likewise.
11371 (__dvd): Likewise.
11372
eede9df9
JM
113732013-01-08 Joseph Myers <joseph@codesourcery.com>
11374
11375 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
11376 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
11377 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
11378 2 && __USE_EXTERN_INLINES]: Likewise.
11379
c40ea3d9
AJ
113802013-01-08 Andreas Jaeger <aj@suse.de>
11381
11382 [BZ# 14985]
11383 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
11384 Remove.
11385 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11386 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11387
2ccdea26
AB
113882013-01-07 Anton Blanchard <anton@samba.org>
11389
11390 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
11391 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11392 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
11393 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11394 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11395 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11396 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
11397 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11398 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11399 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11400 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11401 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11402 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11403 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11404 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11405 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11406 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11407 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11408 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11409 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11410 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11411 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
11412 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11413 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11414 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
11415 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11416 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11417 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11418 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
11419 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11420 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11421 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11422 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11423 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11424 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11425 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11426 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11427 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
11428 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
11429 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11430 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
11431 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11432 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11433
a9708fed
JM
114342013-01-07 Joseph Myers <joseph@codesourcery.com>
11435
375607b9
JM
11436 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
11437 (__MALLOC_PMT): Likewise.
11438 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
11439 [__GNUC__], only on [_LIBC].
11440 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11441 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
11442 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11443 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
11444 forward declaration.
11445 (realloc_hook_ini): Likewise.
11446 (memalign_hook_ini): Likewise.
11447 (__libc_memalign): Do not use __MALLOC_PMT in variable
11448 declaration.
11449 (__libc_valloc): Likewise.
11450 (__libc_pvalloc): Likewise.
11451 (__libc_calloc): Likewise.
11452 (__posix_memalign): Likewise.
11453
a9708fed
JM
11454 [BZ #14996]
11455 * math/s_casinh.c: Include <float.h>.
11456 (__casinh): Do not do computation with squaring and square root
11457 for large arguments.
11458 * math/s_casinhf.c: Include <float.h>.
11459 (__casinhf): Do not do computation with squaring and square root
11460 for large arguments.
11461 * math/s_casinhl.c: Include <float.h>.
11462 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
11463 (__casinhl): Do not do computation with squaring and square root
11464 for large arguments.
11465 * math/libm-test.inc (casin_test): Add more tests.
11466 (casinh_test): Likewise.
11467 * sysdeps/i386/fpu/libm-test-ulps: Update.
11468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11469
afec409a
L
114702013-01-04 H.J. Lu <hongjiu.lu@intel.com>
11471
11472 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
11473 (__x86_64_raw_data_cache_size): Likewise.
11474 (__x86_64_data_cache_size_half): Likewise.
11475 (__x86_64_raw_data_cache_size_half): Likewise.
11476 (__x86_64_shared_cache_size): Likewise.
11477 (__x86_64_raw_shared_cache_size): Likewise.
11478 (__x86_64_shared_cache_size_half): Likewise.
11479 (__x86_64_raw_shared_cache_size_half): Likewise.
11480 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
11481 to ...
11482 (__x86_data_cache_size): This.
11483 (__x86_64_raw_data_cache_size): Renamed to ...
11484 (__x86_raw_data_cache_size): This.
11485 (__x86_64_data_cache_size_half): Renamed to ...
11486 (__x86_data_cache_size_half): This.
11487 (__x86_64_raw_data_cache_size_half): Renamed to ...
11488 (__x86_raw_data_cache_size_half): This.
11489 (__x86_64_shared_cache_size): Renamed to ...
11490 (__x86_shared_cache_size): This.
11491 (__x86_64_raw_shared_cache_size): Renamed to ...
11492 (__x86_raw_shared_cache_size): This.
11493 (__x86_64_shared_cache_size_half): Renamed to ...
11494 (__x86_shared_cache_size_half): This.
11495 (__x86_64_raw_shared_cache_size_half): Renamed to ...
11496 (__x86_raw_shared_cache_size_half): This.
11497 * sysdeps/x86_64/memcpy.S: Updated.
11498 * sysdeps/x86_64/memset.S: Likewise.
11499 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11500 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11501 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11502
0b3986d0
DM
115032013-01-04 David S. Miller <davem@davemloft.net>
11504
11505 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11506
e47686e9
AS
115072013-01-04 Andreas Schwab <schwab@linux-m68k.org>
11508
d643bac1
AS
11509 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
11510 1 to avoid redefinition warning.
11511 (__USE_GNU): Don't define.
11512 (init_signaling_nan): Protoize.
11513
e47686e9
AS
11514 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11515
b18decba
SP
115162013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11517
fffb407f
SP
11518 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
11519 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
11520 (__cpymn): Likewise.
11521 (norm): Remove commented code.
11522 (denorm): Likewise.
11523 (__mp_dbl): Likewise.
11524 (__inv): Likewise.
11525 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
11526 (__cpymn): Likewise.
11527 (norm): Remove commented code.
11528 (denorm): Likewise.
11529 (__mp_dbl): Likewise.
11530 (__inv): Likewise.
11531
b18decba
SP
11532 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
11533 mp_no value for 1.0 and 2.0.
11534 (norm): Use RADIXI instead of radixi.d.
11535 (denorm): Likewise.
11536 (__mul): Use 0.0 instead of zero.d.
11537 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
11538 mp_no value for 1.0 and 2.0.
11539 (norm): Use RADIXI instead of radixi.d.
11540 (denorm): Likewise.
11541 (__mul): Use 0.0 instead of zero.d.
11542
cdc1c96f
JM
115432013-01-04 Joseph Myers <joseph@codesourcery.com>
11544
11545 [BZ #14994]
11546 * math/s_casinh.c (__casinh): Reduce finite argument to first
11547 quadrant then set signs of results at the end.
11548 * math/s_casinhf.c (__casinhf): Likewise.
11549 * math/s_casinhl.c (__casinhl): Likewise.
11550 * math/libm-test.inc (casin_test): Add more tests.
11551 (casinh_test): Likewise.
11552 * sysdeps/i386/fpu/libm-test-ulps: Update.
11553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11554
302913e1
SP
115552013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11556
6420d207
SP
11557 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
11558
a9e48ab4
SP
11559 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
11560
b7837264
SP
11561 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
11562 declarations.
11563 (denorm): Likewise.
11564 (__mp_dbl): Likewise.
11565 (__inv): Likewise.
11566
f8af25d2
SP
11567 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
11568 and adjust the header comment.
11569
302913e1
SP
11570 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
11571 variable name from declaration.
11572
5d7dd1ca
L
115732013-01-03 H.J. Lu <hongjiu.lu@intel.com>
11574
11575 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11576 Initialize COMMON_CPUID_INDEX_7 element.
11577 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
11578 (CPUID_RTM): Likewise.
11579 (HAS_RTM): Likewise.
11580 (COMMON_CPUID_INDEX_7): New enum.
11581
2f5f40f4
AS
115822013-01-03 Andreas Schwab <schwab@linux-m68k.org>
11583
11584 [BZ #14981]
11585 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
11586 size is zero, record memory as freed.
11587
4056f4a0
AJ
115882013-01-03 Andreas Jaeger <aj@suse.de>
11589
11590 * po/ia.po: Add new Interlingua translation.
11591
ab15736f 115922012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
11593
11594 * locale/programs/localedef.c: Fix description of '--posix' flag.
11595
568035b7
JM
115962013-01-02 Joseph Myers <joseph@codesourcery.com>
11597
e6898b8d
JM
11598 * NEWS: Update dates in second copyright notice.
11599 * README: Update copyright dates in example.
11600 * manual/libc.texinfo: Update copyright dates.
11601 * scripts/test-installation.pl: Update copyright date in --version
11602 output.
11603
0e2f9562
JM
11604 * hurd/ctty-input.c: Fix copyright notice formatting.
11605 * hurd/ctty-output.c: Likewise.
11606 * hurd/dtable.c: Likewise.
11607 * hurd/hurd-raise.c: Likewise.
11608 * hurd/hurdprio.c: Likewise.
11609 * hurd/msgportdemux.c: Likewise.
11610 * misc/sys/file.h: Likewise.
11611 * misc/sys/ioctl.h: Likewise.
11612 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11613 * sysdeps/mach/hurd/chdir.c: Likewise.
11614 * sysdeps/mach/hurd/fchdir.c: Likewise.
11615 * sysdeps/mach/hurd/rename.c: Likewise.
11616 * sysdeps/mach/hurd/rmdir.c: Likewise.
11617 * sysdeps/mach/hurd/seekdir.c: Likewise.
11618 * sysdeps/mach/hurd/setsid.c: Likewise.
11619 * sysdeps/posix/wait3.c: Likewise.
11620
568035b7
JM
11621 * All files with FSF copyright notices: Update copyright dates
11622 using scripts/update-copyrights.
11623 * intl/plural.c: Regenerated.
11624 * locale/programs/charmap-kw.h: Likewise.
11625 * locale/programs/locfile-kw.h: Likewise.
11626
da08f647
SP
116272013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11628
0f5477af
SP
11629 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
11630 four values.
11631
44e0d4c2
SP
11632 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
11633 calculation loop and add branch prediction.
11634
4d55b4e5
SP
11635 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
11636 check access beyond bounds of m1np.
11637
da08f647
SP
11638 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11639 MPTWO.
11640 (__inv): Remove local variable MPTWO to use the global
11641 constant.
11642 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
11643 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11644 variable MPTWO.
11645 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
11646 MP3HALFS static const.
11647
8e051029
DM
116482013-01-01 David S. Miller <davem@davemloft.net>
11649
11650 * po/ca.po: Update from translation team.
11651
f4cf5f2d
JM
116522013-01-01 Joseph Myers <joseph@codesourcery.com>
11653
11654 * scripts/update-copyrights: New file.
11655 * Makeconfig: Reformat copyright notice.
11656 * ctype/ctype.h: Likewise.
11657 * debug/swprintf_chk.c: Likewise.
11658 * elf/dl-cache.c: Likewise.
11659 * elf/dl-debug.c: Likewise.
11660 * elf/dl-object.c: Likewise.
11661 * grp/initgroups.c: Likewise.
11662 * hurd/Makefile: Likewise.
11663 * hurd/hurd/signal.h: Likewise.
11664 * hurd/hurdfault.c: Likewise.
11665 * hurd/hurdioctl.c: Likewise.
11666 * hurd/hurdlookup.c: Likewise.
11667 * hurd/intr-msg.c: Likewise.
11668 * iconv/gconv_open.c: Likewise.
11669 * libio/swprintf.c: Likewise.
11670 * locale/lc-ctype.c: Likewise.
11671 * locale/nl_langinfo.c: Likewise.
11672 * mach/Machrules: Likewise.
11673 * mach/Makefile: Likewise.
11674 * malloc/obstack.h: Likewise.
11675 * manual/Makefile: Likewise.
11676 * manual/tsort.awk: Likewise.
11677 * misc/bits/stab.def: Likewise.
11678 * nis/nis_print_group_entry.c: Likewise.
11679 * nis/nis_table.c: Likewise.
11680 * nis/nss_compat/compat-pwd.c: Likewise.
11681 * nis/nss_compat/compat-spwd.c: Likewise.
11682 * po/Makefile: Likewise.
11683 * posix/fnmatch.c: Likewise.
11684 * posix/regex.h: Likewise.
11685 * resolv/Makefile: Likewise.
11686 * resolv/nss_dns/dns-network.c: Likewise.
11687 * resolv/res_hconf.c: Likewise.
11688 * scripts/gen-sorted.awk: Likewise.
11689 * soft-fp/soft-fp.h: Likewise.
11690 * stdio-common/printf.h: Likewise.
11691 * stdlib/monetary.h: Likewise.
11692 * stdlib/random.c: Likewise.
11693 * stdlib/random_r.c: Likewise.
11694 * sysdeps/generic/Makefile: Likewise.
11695 * sysdeps/gnu/Makefile: Likewise.
11696 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11697 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11698 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11699 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11700 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11701 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11702 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11703 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11704 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11705 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11706 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11707 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11708 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11709 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11710 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
11711 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11712 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11713 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11714 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11715 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11716 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11717 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11718 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11719 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11720 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
11721 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11722 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11723 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
11724 * sysdeps/mach/hurd/errnos.awk: Likewise.
11725 * sysdeps/mach/hurd/fork.c: Likewise.
11726 * sysdeps/mach/hurd/getcwd.c: Likewise.
11727 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
11728 * sysdeps/mach/hurd/mmap.c: Likewise.
11729 * sysdeps/mach/hurd/utimes.c: Likewise.
11730 * sysdeps/mach/hurd/xmknod.c: Likewise.
11731 * sysdeps/posix/profil.c: Likewise.
11732 * sysdeps/posix/readdir_r.c: Likewise.
11733 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11734 * sysdeps/powerpc/bits/setjmp.h: Likewise.
11735 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
11736 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11737 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11738 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11739 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11740 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11741 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11742 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11743 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11744 * sysdeps/pthread/lio_listio.c: Likewise.
11745 * sysdeps/sparc/dl-procinfo.h: Likewise.
11746 * sysdeps/unix/i386/sysdep.S: Likewise.
11747 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
11748 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
11749 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
11750 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
11751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11752 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11753 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11754 * sysdeps/unix/sysv/linux/speed.c: Likewise.
11755 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
11756 * sysdeps/wordsize-32/divdi3.c: Likewise.
11757 * time/sys/time.h: Likewise.
11758 * wcsmbs/Makefile: Likewise.
11759
0549fbba
DM
117602013-01-01 David S. Miller <davem@davemloft.net>
11761
a141f1a7
DM
11762 * po/fr.po: Update from translation team.
11763
0549fbba
DM
11764 * catgets/gencat.c: Update copyright year.
11765 * csu/version.c: Likewise.
11766 * debug/catchsegv.sh: Likewise.
11767 * debug/pcprofiledump.c: Likewise.
11768 * debug/xtrace.sh: Likewise.
11769 * elf/ldconfig.c: Likewise.
11770 * elf/ldd.bash.in: Likewise.
11771 * elf/pldd.c: Likewise.
11772 * elf/sotruss.ksh: Likewise.
11773 * elf/sprof.c: Likewise.
11774 * iconv/iconv_prog.c: Likewise.
11775 * iconv/iconvconfig.c: Likewise.
11776 * locale/programs/locale.c: Likewise.
11777 * locale/programs/localedef.c: Likewise.
11778 * login/programs/pt_chown.c: Likewise.
11779 * malloc/memusage.sh: Likewise.
11780 * malloc/memusagestat.c: Likewise.
11781 * malloc/mtrace.pl: Likewise.
11782 * nscd/nscd.c: Likewise.
11783 * nss/getent.c: Likewise.
11784 * nss/makedb.c: Likewise.
11785 * posix/getconf.c: Likewise.
11786
18ea052c
SP
117872012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11788
11789 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
11790 numbers.
11791
9c89fca6
MF
117922012-12-30 Mike Frysinger <vapier@gentoo.org>
11793
11794 * math/bits/mathcalls.h (modf): Use __nonnull.
11795
085ec079
SP
117962012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11797
11798 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
11799 (split): Use macro CN instead of the bare value.
11800 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
11801 could be used.
11802 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
11803 instead of the bare value.
11804 (power1): Likewise.
11805
6d9f97e1
SP
118062012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11807
d63f73be
SP
11808 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
11809 __ATAN_TWOM.
11810 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11811
6d9f97e1
SP
11812 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
11813 their values.
11814 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11815 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11816 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
11817 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
11818
4c4febf5
AJ
118192012-12-28 Andreas Jaeger <aj@suse.de>
11820
af5843ef
AJ
11821 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
11822 values are from Linux 3.7.
11823
4c4febf5
AJ
11824 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
11825 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
11826
99136f82
SP
118272012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11828
2f216c3c 11829 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
11830 TRUE case.
11831
99136f82
SP
11832 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
11833 (norm): Likewise.
11834 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
11835 variables with preprocessor constants.
11836 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11837 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11838 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11839
7fffbdff
BH
118402012-12-27 Bruno Haible <bruno@clisp.org>
11841
11842 [BZ #14317]
11843 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
11844 only if needed.
11845
b76eb5f0
SP
118462012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11847
31a7fe5c
SP
11848 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
11849 and use variable directly.
11850 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
11851
b76eb5f0
SP
11852 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11853 MPONE.
11854 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
11855 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11856 variable MPONE.
11857 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11858 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11859 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
11860 include directive. Remove local variable MPONE.
11861 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
11862 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
11863 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11864
2c8bfe7d
DM
118652012-12-25 David S. Miller <davem@davemloft.net>
11866
11867 * version.h (RELEASE): Set to "development".
11868 (VERSION): Set to "2.17.90".
11869 * NEWS: Add 2.18 section.
11870
147d03b0
DM
118712012-12-21 David S. Miller <davem@davemloft.net>
11872
11873 * po/hr.po: Update from translation team.
11874
a8ebb2b9
AK
118752012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11876
11877 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
11878
95b4f1b6
SE
118792012-12-19 Steve Ellcey <sellcey@mips.com>
11880
b2d94007 11881 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 11882
cedb2a90
MS
118832012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11884
11885 * manual/contrib.texi (Contributors): Spelling correction.
11886
bbf527d6
DM
118872012-12-15 David S. Miller <davem@davemloft.net>
11888
11889 * po/ru.po: Update from translation team.
11890
bc38c906
DM
118912012-12-13 David S. Miller <davem@davemloft.net>
11892
85429b1a
DM
11893 * NEWS: Mention IFUNC testsuite enhancements.
11894
d283e353
DM
11895 * po/pl.po: Update from translation team.
11896 * po/bg.po: Likewise.
11897
bc38c906
DM
11898 * manual/contrib.texi (Contributors): Update entries for Hongjiu
11899 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
11900
a181b0d7
DM
119012012-12-11 David S. Miller <davem@davemloft.net>
11902
4641d57e
DM
11903 * po/sv.po: Update from translation team.
11904
f7bc6495
DM
11905 * po/vi.po: Update from translation team.
11906
6fc9048f
DM
11907 * po/cs.po: Update from translation team.
11908
a181b0d7
DM
11909 * po/de.po: Update from translation team.
11910 * po/eo.po: Likewise.
11911 * po/nl.po: Likewise.
11912
f70bfe80
SP
119132012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11914
3c8b4190
SP
11915 [BZ #14246]
11916 * manual/argp.texi (Argp Helper Functions): Move node to follow
11917 Argp Parsing State.
11918
f70bfe80
SP
11919 [BZ #14872]
11920 * manual/conf.texi (Limits on File System Capacity): Mention if
11921 terminating null is included in the max size.
11922
188f0adf
AJ
119232012-12-10 Andreas Jaeger <aj@suse.de>
11924
11925 * po/cs.po: Update from translation team.
11926
56e7d3ad
SP
119272012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11928
11929 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
11930 void pointer and cast to uintptr_t.
11931 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
11932 path.
11933 * sysdeps/s390/s390-64/memcpy.S: Likewise.
11934 * sysdeps/s390/s390-64/memset.S: Likewise.
11935
76f2d2ea 119362012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
11937
11938 [BZ #14833]
11939 * menual/message.texi (Message Translation): Fix typos.
11940 (Helper programs for gettext): Likewise.
11941
67cbf9a2
AS
119422012-12-07 Andreas Schwab <schwab@linux-m68k.org>
11943
11944 [BZ #14898]
11945 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
11946 Change to -1.
11947
682d0e9a
DM
119482012-12-07 David S. Miller <davem@davemloft.net>
11949
11950 * po/libc.pot: Update.
11951
573cd484
RH
119522012-12-07 Richard Henderson <rth@redhat.com>
11953
7e9da188 11954 [BZ #10114]
573cd484
RH
11955 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
11956 normal/normal case to before the switch.
11957 (_FP_DIV): Likewise.
11958
e933a943
MF
119592012-12-06 Carlos O'Donell <carlos@systemhalted.org>
11960 Mike Frysinger <vapier@gentoo.org>
11961
11962 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
11963 check for __NR_fadvise64_64.
11964
82123268
CM
119652012-12-06 Chris Metcalf <cmetcalf@tilera.com>
11966
11967 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
11968 0, not just to plain "0" as a statement.
11969 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
11970 with cw.
11971
d9814526
JM
119722012-12-06 Joseph Myers <joseph@codesourcery.com>
11973
11974 * NEWS: Use sourceware.org in Bugzilla URL.
11975
7728c574
SP
119762012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11977
f16946dd
SP
11978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11979 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11980
5704bbcb
SP
11981 * stdio-common/tst-put-error.c (do_test): Add newline to the
11982 padded test to ensure flush.
11983
17aa0516
JL
119842012-12-05 Jeff Law <law@redhat.com>
11985
11986 * sunrpc/etc.rpc (fedfs_admin): Add entry.
11987
363313b5
JM
119882012-12-05 Joseph Myers <joseph@codesourcery.com>
11989
effbd42a
JM
11990 * README: Don't refer to ports add-on as distributed separately.
11991 Mention AArch64 in list of systems supported in the ports add-on.
11992
87600365
JM
11993 * LICENSES: Add more non-FSF copyright and license notices.
11994
a0d7066a
JM
11995 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
11996 ((unused)).
11997
66ca5a5b
JM
11998 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
11999
363313b5
JM
12000 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
12001 10000 as width of padded output.
12002
b37984ad
JM
120032012-12-04 Joseph Myers <joseph@codesourcery.com>
12004
9003570a
JM
12005 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
12006
b37984ad
JM
12007 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
12008 variable LX with __attribute__ ((unused)).
12009 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
12010 Likewise.
12011 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
12012 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12013 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
12014 with __attribute__ ((unused)).
12015
c8df52ec
DM
120162012-12-04 David S. Miller <davem@abraco.davemloft.net>
12017
12018 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
12019
b3b099af
JM
120202012-12-04 Joseph Myers <joseph@codesourcery.com>
12021
c33aa6e3
JM
12022 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
12023 (CFLAGS-nldbl-acos.c): New variable.
12024 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
12025 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
12026 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
12027 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
12028 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
12029 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
12030 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
12031 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
12032 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
12033 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
12034 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
12035 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
12036 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
12037 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
12038 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
12039 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
12040 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
12041 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
12042 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
12043 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
12044 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
12045 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
12046 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
12047 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
12048 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
12049 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
12050 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
12051 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
12052 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
12053 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
12054 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
12055 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
12056 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
12057 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
12058 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
12059 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
12060 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
12061 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
12062 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
12063 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
12064 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
12065 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
12066 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
12067 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
12068 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
12069 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
12070 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
12071 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
12072 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
12073 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
12074 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
12075 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
12076 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
12077 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
12078 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
12079 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
12080 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
12081 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
12082 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
12083 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
12084 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
12085 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
12086 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
12087 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
12088 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
12089 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
12090 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
12091 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
12092 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
12093 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
12094 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
12095 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
12096 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
12097 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
12098 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
12099 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
12100 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
12101 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
12102 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
12103 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
12104 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
12105 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
12106 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
12107 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
12108 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
12109 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
12110 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
12111 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
12112 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
12113 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
12114 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
12115 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
12116 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
12117 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
12118 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
12119 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
12120 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
12121
20f0018d
JM
12122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12123 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12124
b3b099af
JM
12125 [BZ #14914]
12126 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
12127 whole low double instead of just low 47 bits when splitting values
12128 into two parts.
12129
029264d1
AM
121302012-12-03 Allan McRae <allan@archlinux.org>
12131
12132 * manual/stdio.texi (Predefined Printf Handlers): Remove
12133 @hsep and @vsep usage.
12134
c9d6789e
MF
121352012-12-03 Mike Frysinger <vapier@gentoo.org>
12136
12137 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
12138 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
12139
4b7634a5
JL
121402012-12-03 Jeff Law <law@redhat.com>
12141
12142 * time/sys/time.h (settimeofday): Do not mark TV argument
12143 as __nonnull.
12144
eb6cbd24
MF
121452012-12-01 Mike Frysinger <vapier@gentoo.org>
12146
12147 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
12148 when currently writing and seek to current position when not.
12149 * libio/Makefile (tests): Remove bug-fclose1.
12150 * libio/bug-fclose1.c: Delete.
12151
f638872a
JM
121522012-12-01 Joseph Myers <joseph@codesourcery.com>
12153
12154 * manual/arith.texi (feenableexcept): Fix typo.
12155 (fedisableexcept): Likewise.
12156
48085d14
RM
121572012-11-30 Roland McGrath <roland@hack.frob.com>
12158
12159 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
12160 second, differently-typed declaration, rather than a cast.
12161
1a538b9f
SP
121622012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12163
12164 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
12165 * include/rpc/svc.h: ... here.
12166
d07f2ff1 121672012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
12168
12169 [BZ #13013]
12170 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
12171 depending n and resplen2 to catch cases where answer
12172 equals answerp2.
12173
c93ec1f0
CD
121742012-11-29 Carlos O'Donell <carlos@systemhalted.org>
12175
12176 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
12177 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
12178
37db69de
MF
121792012-11-29 Mike Frysinger <vapier@gentoo.org>
12180
12181 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
12182
e10c4e4f
RM
121832012-11-29 Roland McGrath <roland@hack.frob.com>
12184
12185 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
12186
2af1b328
JL
121872012-11-28 Jeff Law <law@redhat.com>
12188
12189 [BZ #13761]
12190 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
12191 dataset_temporary. Track alloca usage into alloca_used.
12192 If dataset is large allocate and release it via malloc/free.
12193
111db5b1
FW
121942012-06-04 Florian Weimer <fweimer@redhat.com>
12195
f06cc227 12196 [BZ #14197]
111db5b1
FW
12197 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
12198
dd694abd
DM
121992012-11-28 David S. Miller <davem@davemloft.net>
12200
12201 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12202
9984dd01
JM
122032012-11-28 Joseph Myers <joseph@codesourcery.com>
12204
12205 [BZ #14803]
12206 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
12207 of pi/2 rounded to nearest to 64 bits.
12208 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
12209 nearest to 64 bits.
12210 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
12211 bits.
12212
14bc93a9
JL
122132012-11-28 Jeff Law <law@redhat.com>
12214 Martin Osvald <mosvald@redhat.com>
12215
12216 [BZ #14889]
12217 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
12218 * sunrpc/svc.c: Include time.h.
12219 (__svc_accept_failed): New function.
12220 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
12221 any reason other than EINTR, call __svc_accept_failed.
12222 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
12223 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
12224
e3c6aa3a
AS
122252012-11-28 Andreas Schwab <schwab@suse.de>
12226
12227 * scripts/abilist.awk: Also handle indirect functions in .opd
12228 section.
12229
1bead169
JM
122302012-11-28 Joseph Myers <joseph@codesourcery.com>
12231
12232 [BZ #13881]
12233 * sysdeps/x86/fpu/powl_helper.c: New file.
12234 * sysdeps/x86/fpu/Makefile: Likewise.
12235 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
12236 (p3): New object.
12237 (__ieee754_powl): Use __powl_helper for finite arguments except
12238 integer exponents below 8.
12239 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
12240 (p3): New object.
12241 (__ieee754_powl): Use __powl_helper for finite arguments except
12242 integer exponents below 8.
12243 * math/libm-test.inc (pow_test): Add more tests and enable some
12244 previously disabled tests.
12245 * sysdeps/i386/fpu/libm-test-ulps: Update.
12246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12247
0817d63d
SP
122482012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12249 Carlos O'Donell <carlos_odonell@mentor.com>
12250
12251 * nss/makedb.c (is_prime): Assert that input is odd and greater
12252 than 4. Note that fact in a comment too.
12253 (next_prime): Add 4 to input.
12254
de2fd463
SP
122552012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12256
12257 [BZ #11741]
12258 * libio/Makefile (tests): Add test case tst-fwrite-error.
12259 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
12260 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
12261 * libio/tst-fwrite-error.c: New test case.
12262
c515fb51
L
122632012-11-26 H.J. Lu <hongjiu.lu@intel.com>
12264
12265 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
12266 before casting to void *.
12267 * include/libc-internal.h (__pointer_type): New macro.
12268 (__integer_if_pointer_type_sub): Likewise.
12269 (__integer_if_pointer_type): Likewise.
12270 (cast_to_integer): Likewise.
12271 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
12272 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
12273 before casting to atomic64_t.
12274 (atomic_exchange_acq): Likewise.
12275 (__arch_exchange_and_add_body): Likewise.
12276 (__arch_add_body): Likewise.
12277 (atomic_add_negative): Likewise.
12278 (atomic_add_zero): Likewise.
12279
4cf77aa9
JM
122802012-11-26 Joseph Myers <joseph@codesourcery.com>
12281
12282 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
12283 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
12284 (add_fdes): Likewise.
12285 (linear_search_fdes): Likewise.
12286 (binary_search_unencoded_fdes): Likewise.
12287
d260b3b4
AS
122882012-11-26 Andreas Schwab <schwab@linux-m68k.org>
12289
12290 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
12291
67060746
AC
122922012-11-24 Adam Conrad <adconrad@0c3.net>
12293
12294 * configure.in: Autodetect C++ header directories.
12295 * configure: Regenerated.
12296
800938a1
MF
122972012-11-23 Mike Frysinger <vapier@gentoo.org>
12298
12299 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
12300
4e6e34e6
AS
123012012-11-23 Andreas Schwab <schwab@linux-m68k.org>
12302
12303 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12304
7c7feb47
JM
123052012-11-22 Joseph Myers <joseph@codesourcery.com>
12306
7184dcdf
JM
12307 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
12308 LDBL_MANT_DIG == 106]: Disable some tests.
12309 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12310 Likewise.
12311 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12312 Likewise.
12313
0a42601f
JM
12314 [BZ #14871]
12315 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
12316 input for small inputs. Return +/- pi/2 for large inputs.
12317 * math/libm-test.inc (atan_test): Add more tests.
12318
79c9b9fe
JM
12319 * sysdeps/generic/unwind-dw2-fde-glibc.c
12320 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
12321 __attribute__ ((unused)).
12322
c60d3bf2
JM
12323 [BZ #14645]
12324 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
12325 x * y if x and y are nonzero and z is zero.
12326
ef1e0867
JM
12327 [BZ #14811]
12328 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
12329 nonzero exponents with absolute value below 0x1p-117 to +/-
12330 0x1p-117.
12331
1468ded3
JM
12332 [BZ #14869]
12333 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
12334 up arguments below 2**-450, not just those below 2**-500.
12335 * math/libm-test.inc (hypot_test): Add another test.
12336
8e27e3cc
JM
12337 [BZ #14868]
12338 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12339 Return a+b for ratio over 2**120, not 2**60.
12340 * math/libm-test.inc (hypot_test): Add another test.
12341
c9c0279b
JM
12342 * math/libm-test.inc (clog_test): Use
12343 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
12344 (clog10_test): Likewise.
12345
7c7feb47
JM
12346 [BZ #6778]
12347 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
12348
fff1530e
AS
123492012-11-22 Andreas Schwab <schwab@suse.de>
12350
12351 * sysdeps/i386/fpu/libm-test-ulps: Update.
12352
94558d30
PT
123532012-11-22 Pino Toscano <toscano.pino@tiscali.it>
12354
12355 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
12356 printf output with newline.
12357
7e1be741
L
123582012-11-21 H.J. Lu <hongjiu.lu@intel.com>
12359
6bfea974
L
12360 [BZ #14865]
12361 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
12362 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
12363 -z nodlopen, -z initfirst and -z execstack support.
12364 * configure: Regenerated.
12365
7e1be741
L
12366 * elf/elf.h (DF_1_NODIRECT): New macro.
12367 (DF_1_IGNMULDEF): Likewise.
12368 (DF_1_NOKSYMS): Likewise.
12369 (DF_1_NOHDR): Likewise.
12370 (DF_1_EDITED): Likewise.
12371 (DF_1_NORELOC): Likewise.
12372 (DF_1_SYMINTPOSE): Likewise.
12373 (DF_1_GLOBAUDIT): Likewise.
12374 (DF_1_SINGLETON): Likewise.
12375 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
12376 DT_1_SUPPORTED_MASK bits.
12377 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
12378
105ce2ce
CD
123792012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
12380
12381 * sysdeps/unix/make-syscalls.sh: Document prefixes.
12382
123be9de
TS
123832012-11-20 Thomas Schwinge <thomas@codesourcery.com>
12384
d072f3f7
TS
12385 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
12386 macro.
12387
123be9de
TS
12388 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
12389 (sendmmsg): Move declarations...
12390 * socket/sys/socket.h: ... here.
12391 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
12392 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
12393 include it from...
12394 * socket/recvmmsg.c: ... this new file.
12395 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
12396 (sendmmsg): Rename to __sendmmsg, create weak alias and make
12397 definition of __sendmmsg hidden.
12398 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
12399 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
12400 Move ENOSYS stub into and include it from...
12401 * socket/sendmmsg.c: ... this new file.
12402 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
12403 (sysdep_routines): Move recvmmsg and sendmmsg...
12404 * socket/Makefile (routines): ... here.
12405 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
12406 (GLIBC_PRIVATE): Add __sendmmsg.
12407 * include/sys/socket.h (__sendmmsg): Add declarations.
12408 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
12409 sendmmsg.
12410
cf9a5d18
JM
124112012-11-20 Joseph Myers <joseph@codesourcery.com>
12412
12413 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
12414 variable I1 with __attribute__ ((unused)).
12415 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12416
ecd4caf9
JM
124172012-11-19 Joseph Myers <joseph@codesourcery.com>
12418
be14d48f
JM
12419 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
12420 DUMMY variables with __attribute__ ((unused)).
12421
ecd4caf9
JM
12422 * bits/byteswap.h: Include <bits/types.h>.
12423 (__bswap_64): Use __uint64_t instead of unsigned long long int.
12424
986cab95
PT
124252012-11-19 Pino Toscano <toscano.pino@tiscali.it>
12426
12427 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
12428 string_t. Do not manually set errno.
12429 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
12430 length with __strnlen. Make sure to both set errno and return it on
12431 failure.
12432
6d33cc9d
DM
124332012-11-19 David S. Miller <davem@davemloft.net>
12434
12435 With help from Joseph Myers.
12436 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
12437 very large arguments properly.
12438 * math/libm-test.inc (atan_test): New tests.
12439 (atan2_test): New tests.
12440 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12441 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12442
ee663277
JM
124432012-11-19 Joseph Myers <joseph@codesourcery.com>
12444
877f2d8e
JM
12445 [BZ #14856]
12446 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
12447 Define to 3.
12448
116fc08a
JM
12449 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
12450 [POSIX] (EADDRNOTAVAIL): Likewise.
12451 [POSIX] (EAFNOSUPPORT): Likewise.
12452 [POSIX] (EALREADY): Likewise.
12453 [POSIX] (ECONNABORTED): Likewise.
12454 [POSIX] (ECONNREFUSED): Likewise.
12455 [POSIX] (ECONNRESET): Likewise.
12456 [POSIX] (EDESTADDRREQ): Likewise.
12457 [POSIX] (EDQUOT): Likewise.
12458 [POSIX] (EHOSTUNREACH): Likewise.
12459 [POSIX] (EIDRM): Likewise.
12460 [POSIX] (EISCONN): Likewise.
12461 [POSIX] (ELOOP): Likewise.
12462 [POSIX] (EMULTIHOP): Likewise.
12463 [POSIX] (ENETDOWN): Likewise.
12464 [POSIX] (ENETUNREACH): Likewise.
12465 [POSIX] (ENOBUFS): Likewise.
12466 [POSIX] (ENODATA): Likewise.
12467 [POSIX] (ENOLINK): Likewise.
12468 [POSIX] (ENOMSG): Likewise.
12469 [POSIX] (ENOPROTOOPT): Likewise.
12470 [POSIX] (ENOSR): Likewise.
12471 [POSIX] (ENOSTR): Likewise.
12472 [POSIX] (ENOTCONN): Likewise.
12473 [POSIX] (ENOTSOCK): Likewise.
12474 [POSIX] (EOPNOTSUPP): Likewise.
12475 [POSIX] (EOVERFLOW): Likewise.
12476 [POSIX] (EPROTO): Likewise.
12477 [POSIX] (EPROTONOSUPPORT): Likewise.
12478 [POSIX] (EPROTOTYPE): Likewise.
12479 [POSIX] (ESTALE): Likewise.
12480 [POSIX] (ETIME): Likewise.
12481 [POSIX] (ETXTBSY): Likewise.
12482 [POSIX] (EWOULDBLOCK): Likewise.
12483 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
12484 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
12485 [POSIX] (SEEK_CUR): Likewise.
12486 [POSIX] (SEEK_END): Likewise.
12487 [POSIX || UNIX98] (mode_t): Do not require.
12488 [POSIX] (off_t): Likewise.
12489 [POSIX] (pid_t): Likewise.
12490 [POSIX] (sys/stat.h): Do not allow header.
12491 [POSIX] (unistd.h): Likewise.
12492 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
12493 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
12494 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
12495 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
12496 require.
12497 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
12498 sigevent): Specify elements.
12499 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
12500 entry.
12501 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
12502 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
12503
a483863f
JM
12504 * conform/data/cpio.h-data [POSIX]: Disable whole file.
12505 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
12506 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
12507 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
12508 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
12509 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
12510 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
12511 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
12512 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
12513 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
12514 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
12515 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
12516 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
12517 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
12518 Likewise.
12519 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
12520 Likewise.
12521 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
12522 Likewise.
12523 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
12524 Likewise.
12525 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
12526 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
12527 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
12528 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
12529 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
12530 Specify lower bound on value.
12531 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
12532 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
12533 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
12534 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
12535 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
12536 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
12537 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
12538 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
12539 value.
12540 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
12541 as optional.
12542 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
12543 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
12544 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
12545 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
12546 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
12547 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
12548 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
12549 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
12550 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
12551 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
12552 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
12553 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
12554 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
12555 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
12556 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
12557 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
12558 entry.
12559 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
12560 optional.
12561 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
12562 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
12563 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
12564 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
12565 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
12566 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
12567 Likewise.
12568 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
12569 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
12570 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
12571 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
12572 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
12573 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
12574 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
12575 as optional.
12576 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
12577 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
12578 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
12579 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
12580 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
12581 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
12582 specify as optional.
12583 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
12584 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
12585 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
12586 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
12587 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
12588 [XPG3] (NL_LANGMAX): Likewise.
12589 [POSIX || XPG3] (NL_MSGMAX): Likewise.
12590 [POSIX || XPG3] (NL_NMAX): Likewise.
12591 [POSIX || XPG3] (NL_SETMAX): Likewise.
12592 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
12593 [XPG3] (NZERO): Likewise.
12594 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
12595 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
12596 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
12597 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
12598 (REG_ERANGE): Expect.
12599 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
12600 optional-constant.
12601 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
12602 Use (void) in prototype.
12603 [POSIX] (*_t): Allow.
12604 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
12605 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
12606 (WRDE_BADVAL): Expect.
12607
5ba924e3
JM
12608 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
12609 expect.
12610 [XPG3 || XPG4] (O_RSYNC): Likewise.
12611 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
12612 Likewise.
12613 [XPG3 || XPG4] (pthread_sigmask): Likewise.
12614 [XPG3 || XPG4] (sigqueue): Likewise.
12615 [XPG3 || XPG4] (sigtimedwait): Likewise.
12616 [XPG3 || XPG4] (sigwaitinfo): Likewise.
12617 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
12618 [XPG3 || XPG4] (vsnprintf): Likewise.
12619 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
12620 Likewise.
12621 [XPG3 || XPG4] (blksize_t): Likewise.
12622 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
12623 Likewise.
12624 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
12625 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12626 [XPG3 || XPG4] (struct itimerspec): Likewise.
12627 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
12628 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
12629 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
12630 [XPG3 || XPG4] (clockid_t): Likewise.
12631 [XPG3 || XPG4] (timer_t): Likewise.
12632 [XPG3 || XPG4] (clock_getres): Likewise.
12633 [XPG3 || XPG4] (clock_gettime): Likewise.
12634 [XPG3 || XPG4] (clock_settime): Likewise.
12635 [XPG3 || XPG4] (nanosleep): Likewise.
12636 [XPG3 || XPG4] (timer_create): Likewise.
12637 [XPG3 || XPG4] (timer_delete): Likewise.
12638 [XPG3 || XPG4] (timer_gettime): Likewise.
12639 [XPG3 || XPG4] (timer_getoverrun): Likewise.
12640 [XPG3 || XPG4] (timer_settime): Likewise.
12641 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
12642 [XPG3 || XPG4] (getlogin_r): Likewise.
12643 [XPG3 || XPG4] (pread): Likewise.
12644 [XPG3 || XPG4] (pthread_atfork): Likewise.
12645 [XPG3 || XPG4] (pwrite): Likewise.
12646
ee663277
JM
12647 [BZ #14835]
12648 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
12649 <bits/siginfo.h>.
12650
942caa16
PT
126512012-11-19 Pino Toscano <toscano.pino@tiscali.it>
12652
e19af380
PT
12653 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
12654 finalizing MALLSTREAM.
12655
942caa16
PT
12656 * sysdeps/mach/hurd/syncfs.c: New file.
12657
cfde9b46
SP
126582012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12659
12660 [BZ #14719]
12661 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
12662 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
12663 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
12664 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
12665 (_nss_dns_gethostbyname4_r): Likewise.
12666 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
12667 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
12668
f6da27e5
PH
126692012-11-19 Peng Haitao <penght@cn.fujitsu.com>
12670
12671 [BZ #13763]
12672 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
12673
6665d4a2
SM
126742012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
12675
1f51ee92
SM
12676 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
12677 * elf/cache.c (print_entry): Print ",AArch64" for
12678 FLAG_AARCH64_LIB64
12679
6665d4a2
SM
12680 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
12681 * elf/cache.c (print_entry): Print ",hard-float" for
12682 FLAG_ARM_LIBHF.
12683
05b227bd
DM
126842012-11-18 David S. Miller <davem@davemloft.net>
12685
12686 With help from Joseph Myers.
12687 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
12688 cutoff to 2**-13.
12689 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
12690 cutoff to 2**-25.
12691 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
12692 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
12693 small.
12694 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
12695 * math/libm-test.inc (y0_test): New tests.
12696 (y1_test): New tests.
12697 * sysdeps/i386/fpu/libm-test-ulps: Update.
12698 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12699 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12700
786b0b67
AS
127012012-11-18 Andreas Schwab <schwab@linux-m68k.org>
12702
12703 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
12704 64-bit targets.
12705 * configure: Regenerated.
12706
8e18b86d
DM
127072012-11-17 David S. Miller <davem@davemloft.net>
12708
12709 [BZ #14811]
12710 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
12711 nonzero exponents with absolute value below 0x1p-128 to +/-
12712 0x1p-128.
12713
531f1ae0
JM
127142012-11-17 Joseph Myers <joseph@codesourcery.com>
12715
12df29e2
JM
12716 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
12717
150dc1a0
JM
12718 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
12719
531f1ae0
JM
12720 * posix/getconf-speclist.c: New file.
12721 * posix/posix-envs.def: Likewise.
12722 * posix/confstr.c (START_ENV_GROUP): New macro.
12723 (END_ENV_GROUP): Likewise.
12724 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12725 (KNOWN_PRESENT_ENV_STRING): Likewise.
12726 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12727 (UNKNOWN_ENVIRONMENT): Likewise.
12728 (confstr): Include posix-envs.def instead of handling
12729 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
12730 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
12731 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
12732 (END_ENV_GROUP): Likewise.
12733 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12734 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12735 (UNKNOWN_ENVIRONMENT): Likewise.
12736 (__sysconf): Include posix-envs.def instead of handling associated
12737 cases directly here.
12738 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
12739 preprocessing getconf-speclist.c rather than running getconf or
12740 generating empty file.
12741
a93f9cbc
PT
127422012-11-16 Pino Toscano <toscano.pino@tiscali.it>
12743
12744 * scripts/check-local-headers.sh: Ignore 'mach' headers.
12745
d64d9f87
AL
127462012-11-16 Andrej Lajovic <natrij@gmail.com>
12747
12748 [BZ #14672]
12749 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
12750
447885eb
DM
127512012-11-16 David S. Miller <davem@davemloft.net>
12752
12753 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
12754 smaller than LDBL_EPSILON/2.0L, just return xm1.
12755
bcbf9830
L
127562012-11-16 H.J. Lu <hongjiu.lu@intel.com>
12757
12758 * elf/tst-array1.c (init): Set constructor priority to 1000.
12759 (fini): Set destructor priority to 1000.
12760 * elf/tst-array2dep.c: Likewise.
12761
2b766585
SP
127622012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12763
12764 [BZ #11741]
12765 * libio/fileops.c (_IO_new_file_write): Correctly return error.
12766 (_IO_new_file_xsputn): Also return EOF if none of the input
12767 data was written when overflow failed.
12768 * libio/iopadn.c (_IO_padn): Likewise.
12769 * libio/iowpadn.c (_IO_wpadn): Likewise.
12770 * stdio-common/tst-put-error.c: Add copyright notice.
12771 (do_test): Add case for printing padded string.
12772 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
12773 _IO_padn returned error.
12774 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
12775 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
12776 return EOF.
12777
b1848fde
SP
127782012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12779
12780 * libio/libioP.h: Add comment note that the references to C++
12781 bits are now obsolete.
12782
2fd89785
MS
127832012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12784
12785 * math/libm-test.inc (check_complex): Use asprintf.
12786
e3ea5409
JM
127872012-11-14 Joseph Myers <joseph@codesourcery.com>
12788
12789 * debug/pcprofiledump.c (print_version): Update copyright year.
12790 * malloc/memusagestat.c (print_version): Likewise.
12791
2e64d265
L
127922012-11-14 H.J. Lu <hongjiu.lu@intel.com>
12793
12794 [BZ #14831]
12795 * elf/Makefile (tests): Add tst-audit8.
12796 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
12797 ($(objpfx)tst-audit8.out): New target.
12798 (tst-audit8-ENV): New variable.
12799 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
12800 audit if l_reloc_result is NULL.
12801 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
12802 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
12803 * elf/tst-audit8.c: New file.
12804
c485e4d2
MS
128052012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12806
12807 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
12808 * misc/Makefile (CFLAGS-select.c): Define.
12809 * posix/Makefile (CFLAGS-pause.c): Define.
12810
3a0d900a
DM
128112012-11-13 David S. Miller <davem@davemloft.net>
12812
12813 * crypt/Makefile: Move test targets after toplevel Rules
12814 inclusion. Grab any necessary sysdep routines when linking.
12815 * crypt/md5.c (md5_process_block): Remove define, we will always
12816 name it __md5_process_block.
12817 (md5_finish_ctx): Update md5_process_block call.
12818 (md5_stream): Likewise.
12819 (md5_process_bytes): Likewise.
12820 (md5_process_block): Rename to __md5_process_block and move to ...
12821 * crypt/md5-block.c: ... here.
12822 * crypt/sha256.c (sha256_process_block): Move to ...
12823 * crypt/sha256-block.c: ... here.
12824 * crypt/sha512.c (sha512_process_block): Move to ...
12825 * crypt/sha512-block.c: ... here.
12826 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
12827 path.
12828 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
12829 * sysdeps/sparc/sparc64/multiarch/Makefile
12830 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
12831 crypt subdir.
12832 (localedef-aux): Add md5 crypto assembler when in locale subdir.
12833 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
12834 multiarch changes.
12835 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
12836 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
12837 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
12838 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
12839 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
12840 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
12841 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
12842 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
12843 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
12844 file.
12845 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
12846 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
12847 file.
12848 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
12849
8ca89318
JM
128502012-11-13 Joseph Myers <joseph@codesourcery.com>
12851
e27d476a
JM
12852 * timezone/tzselect.ksh: Update from tzcode git revision
12853 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
12854 * timezone/zdump.c: Likewise.
12855 * timezone/zic.c: Likewise.
12856 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
12857 in TZVERSION setting, not $(PKGVERSION).
12858 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
12859 REPORT_BUGS_TO settings.
12860
8ca89318
JM
12861 [BZ #14838]
12862 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
12863 macro.
12864
47594329
MS
128652012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12866
12867 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
12868 detection to immediately after _FP_ROUND().
12869 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
12870 bits are 0.
12871
640ac3f1
DM
128722012-11-11 David S. Miller <davem@davemloft.net>
12873
12874 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
12875 inttypes.h
12876 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
12877 __close rather than their public counterparts.
12878
3d2577bb
JM
128792012-11-10 Joseph Myers <joseph@codesourcery.com>
12880
12881 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
12882 file.
12883 [UNIX98] (sem_timedwait): Do not expect.
12884 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
12885 [XPG4 || UNIX98] (sockatmark): Do not expect.
12886 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
12887 (clock_getcpuclockid): Do not expect.
12888 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
12889 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
12890 Do not expect.
12891 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
12892 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
12893 [UNIX98] (vwscanf): Likewise.
12894 [UNIX98] (vswscanf): Likewise.
12895
fb1ae1ee
JM
128962012-11-09 Joseph Myers <joseph@codesourcery.com>
12897
9ec6f8bd
JM
12898 * timezone/version.h: Remove file.
12899 * timezone/README: Do not refer to version.h.
12900 * timezone/Makefile ($(objpfx)zic.o): New dependency on
12901 $(objpfx)version.h.
12902 ($(objpfx)zdump.o): Likewise.
c3f81911 12903 ($(objpfx)version.h): New target.
9ec6f8bd 12904
0aa8f8a1
JM
12905 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
12906 2012i.
12907 * timezone/README: Don't mention modification to tzselect.ksh.
12908 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
12909 work on unmodified tzselect.ksh. Substitute version numbers in
12910 tzselect.ksh.
12911
4e87147f
JM
12912 * Makefile (format-me): Remove.
12913 (INSTALL): Adjust indentation. Use commands directly instead of
12914 using $(format-me).
12915
8b748aed
JM
12916 * aclocal.m4 (ACX_PKGVERSION): New macro.
12917 (ACX_BUGURL): Likewise.
12918 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
12919 (PKGVERSION): New AC_DEFINE_UNQUOTED.
12920 (REPORT_BUGS_TO): Likewise.
12921 * configure: Regenerated.
12922 * config.h.in (PKGVERSION): New macro.
12923 (REPORT_BUGS_TO): Likewise.
12924 * config.make.in (PKGVERSION): New variable.
12925 (PKGVERSION_TEXI): Likewise.
12926 (REPORT_BUGS_TO): Likewise.
12927 (REPORT_BUGS_TEXI): Likewise.
12928 * Makefile (format-me): Use -I$(common-objpfx)manual.
12929 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
12930 ($(common-objpfx)manual/%): New target.
12931 (manual/%): Remove target.
12932 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
12933 (print_version): Use PKGVERSION.
12934 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
12935 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
12936 and REPORT_BUGS_TO.
12937 ($(objpfx)xtrace): Likewise.
12938 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
12939 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
12940 (print_version): Use PKGVERSION.
12941 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
12942 (do_version): Use PKGVERSION.
12943 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
12944 REPORT_BUGS_TO.
12945 (common-ldd-rewrite): Likewise.
12946 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
12947 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
12948 (print_version): Use PKGVERSION.
12949 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
12950 * elf/pldd.c (argp_program_bug_address): Remove variable.
12951 (more_help): New function.
12952 (argp): Use more_help.
12953 (print_version): Use PKGVERSION.
12954 * elf/sln.c (main): Use PKGVERSION.
12955 (usage): Use REPORT_BUGS_TO.
12956 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
12957 (top level): Use PKGVERSION.
12958 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
12959 (print_version): Use PKGVERSION.
12960 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
12961 (print_version): Use PKGVERSION.
12962 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
12963 (print_version): Use PKGVERSION.
12964 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
12965 (print_version): Use PKGVERSION.
12966 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
12967 (print_version): Use PKGVERSION.
12968 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
12969 (print_version): Use PKGVERSION.
12970 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
12971 and BUGURL.
12972 ($(objpfx)memusage): Likewise.
12973 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
12974 (do_version): Use PKGVERSION.
12975 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
12976 (print_version): Use PKGVERSION.
12977 * malloc/mtrace.pl ($PACKAGE): Remove variable.
12978 ($PKGVERSION): New variable.
12979 ($REPORT_BUGS_TO): Likewise.
12980 (usage): Use $REPORT_BUGS_TO.
12981 (top level): Use $PKGVERSION.
12982 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
12983 ($(objpfx)pkgvers.texi): New rule.
12984 ($(objpfx)stamp-pkgvers): Likewise.
12985 * manual/install.texi: Include pkgvers.texi.
12986 (--with-pkgversion): Document new configure option.
12987 (--with-bugurl): Likewise.
12988 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
12989 than necessarily for this particular distribution. Use
12990 REPORT_BUGS_TO for where to report bugs.
12991 * INSTALL: Regenerated.
12992 * manual/libc.texinfo: Include pkgvers.texi.
12993 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
12994 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
12995 (print_version): Use PKGVERSION.
12996 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
12997 (print_version): Use PKGVERSION.
12998 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
12999 (print_version): Use PKGVERSION.
13000 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
13001 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
13002 macro.
13003 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
13004 (print_version): Use PKGVERSION.
13005 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
13006 (print_version): Use PKGVERSION.
13007 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
13008 and PKGVERSION.
13009
92e4b6a9
JM
13010 * timezone/checktab.awk: Update from tzcode 2012i.
13011 * timezone/ialloc.c: Likewise.
13012 * timezone/private.h: Likewise.
13013 * timezone/scheck.c: Likewise.
13014 * timezone/tzfile.h: Likewise.
13015 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
13016 (TZVERSION): Hardcode tzcode version number.
13017 * timezone/zdump.c: Update from tzcode 2012i.
13018 * timezone/zic.c: Likewise.
13019 * timezone/version.h: New file.
13020 * timezone/README: Describe version.h. Update upstream location.
13021
9bde902c
JM
13022 [BZ #14824]
13023 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
13024 (mktemp): Enable declaration.
13025 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
13026 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
13027 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
13028 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
13029 Likewise.
13030 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
13031 Likewise.
13032 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
13033 Likewise.
13034 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
13035 Likewise.
13036 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
13037 Likewise.
13038 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
13039 Likewise.
13040
fb1ae1ee
JM
13041 [BZ #14821]
13042 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
13043 offset in buffer as u_int32_t not u_long. Consistently use memcpy
13044 for copies of such integer values.
13045 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13046 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13047
2c1adbcb
AJ
130482012-11-09 Andreas Jaeger <aj@suse.de>
13049
13050 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
13051 definitions and declarations that are provided by
13052 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13053
d0f8457e
AK
130542012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13055
3a235abb 13056 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
13057 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
13058 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
13059 definition.
13060
57241e26
MS
130612012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13062
13063 * elf/elf.h: Update comment before AArch64 relocations.
13064
60e8270d
DM
130652012-11-07 David S. Miller <davem@davemloft.net>
13066
13067 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
13068 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13069 (__start_context): Declare.
13070 (__makecontext_ret): Delete.
13071 (__makecontext): Hook up __start_context instead of
13072 __makecontext_ret.
13073 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
13074 (sysdep_routines): Add __start_context when in stdlib.
13075
0fbb0fbc
JM
130762012-11-07 Joseph Myers <joseph@codesourcery.com>
13077
13078 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
13079 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
13080 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
13081 hardcoded "nm".
13082 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
13083 (READELF): New variable. Use it instead of hardcoded "readelf".
13084
eb48db7e
L
130852012-11-07 H.J. Lu <hongjiu.lu@intel.com>
13086
13087 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
13088 * sysdeps/x86/Makefile: Here.
13089 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
13090 * sysdeps/x86/tst-xmmymm.sh: This.
13091
05bcf62a
JM
130922012-11-07 Joseph Myers <joseph@codesourcery.com>
13093
c4b6cf53
JM
13094 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
13095 expectations.
13096 [UNIX98] (pthread_barrier_t): Do not expect.
13097 [UNIX98] (pthread_barrierattr_t): Likewise.
13098 [UNIX98] (pthread_spinlock_t): Likewise.
13099 [UNIX98] (pthread_barrier_destroy): Likewise.
13100 [UNIX98] (pthread_barrier_init): Likewise.
13101 [UNIX98] (pthread_barrier_wait): Likewise.
13102 [UNIX98] (pthread_barrierattr_destroy): Likewise.
13103 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
13104 [UNIX98] (pthread_barrierattr_init): Likewise.
13105 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
13106 [UNIX98] (pthread_getcpuclockid): Likewise.
13107 [UNIX98] (pthread_mutex_timedlock): Likewise.
13108 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
13109 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
13110 [UNIX98] (pthread_sigmask): Likewise.
13111 [UNIX98] (pthread_spin_destroy): Likewise.
13112 [UNIX98] (pthread_spin_init): Likewise.
13113 [UNIX98] (pthread_spin_lock): Likewise.
13114 [UNIX98] (pthread_spin_trylock): Likewise.
13115 [UNIX98] (pthread_spin_unlock): Likewise.
13116 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
13117 Do not expect.
13118 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
13119 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
13120 [XPG3 || XPG4] (pthread_cond_t): Likewise.
13121 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
13122 [XPG3 || XPG4] (pthread_key_t): Likewise.
13123 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
13124 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
13125 [XPG3 || XPG4] (pthread_once_t): Likewise.
13126 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
13127 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
13128 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
13129 [XPG3 || XPG4] (pthread_t): Likewise.
13130
cbe6e120
JM
13131 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
13132 not expect.
13133 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
13134
1b126443
JM
13135 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
13136 Change function return type to int.
13137
b961a573
JM
13138 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
13139 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
13140 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
13141 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
13142 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
13143 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
13144 [!POSIX] (posix_madvise): Likewise.
13145 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
13146 && !UNIX98].
13147 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
13148 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
13149 (mode_t): Likewise.
13150 (posix_mem_offset): Likewise.
13151 (posix_typed_mem_get_info): Likewise.
13152 (posix_typed_mem_open): Likewise.
13153
9e188909
JM
13154 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
13155 Change condition to [XOPEN2K8].
13156
05bcf62a
JM
13157 * conform/conformtest.pl: Preprocess allow-header data with -x c
13158 instead of from stdin.
13159 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
13160 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
13161 [C99-based standards] (cerfc): Likewise.
13162 [C99-based standards] (cexp2): Likewise.
13163 [C99-based standards] (cexpm1): Likewise.
13164 [C99-based standards] (clog10): Likewise.
13165 [C99-based standards] (clog1p): Likewise.
13166 [C99-based standards] (clog2): Likewise.
13167 [C99-based standards] (clgamma): Likewise.
13168 [C99-based standards] (ctgamma): Likewise.
13169 [C99-based standards] (cerff): Likewise.
13170 [C99-based standards] (cerfcf): Likewise.
13171 [C99-based standards] (cexp2f): Likewise.
13172 [C99-based standards] (cexpm1f): Likewise.
13173 [C99-based standards] (clog10f): Likewise.
13174 [C99-based standards] (clog1pf): Likewise.
13175 [C99-based standards] (clog2f): Likewise.
13176 [C99-based standards] (clgammaf): Likewise.
13177 [C99-based standards] (ctgammaf): Likewise.
13178 [C99-based standards] (cerfl): Likewise.
13179 [C99-based standards] (cerfcl): Likewise.
13180 [C99-based standards] (cexp2l): Likewise.
13181 [C99-based standards] (cexpm1l): Likewise.
13182 [C99-based standards] (clog10l): Likewise.
13183 [C99-based standards] (clog1pl): Likewise.
13184 [C99-based standards] (clog2l): Likewise.
13185 [C99-based standards] (clgammal): Likewise.
13186 [C99-based standards] (ctgammal): Likewise.
13187 * conform/data/inttypes.h-data [C99-based standards]: Include
13188 stdint.h-data. Remove all expectations for stdint.h contents.
13189 [C99-based standards] (PRI*): Do not allow.
13190 [C99-based standards] (SCN*): Likewise.
13191 [C99-based standards] (*_t): Likewise.
13192 [C99-based-standards] (PRId8): Expect macro.
13193 [C99-based-standards] (PRIi8): Likewise.
13194 [C99-based-standards] (PRIo8): Likewise.
13195 [C99-based-standards] (PRIu8): Likewise.
13196 [C99-based-standards] (PRIx8): Likewise.
13197 [C99-based-standards] (PRIX8): Likewise.
13198 [C99-based-standards] (SCNd8): Likewise.
13199 [C99-based-standards] (SCNi8): Likewise.
13200 [C99-based-standards] (SCNo8): Likewise.
13201 [C99-based-standards] (SCNu8): Likewise.
13202 [C99-based-standards] (SCNx8): Likewise.
13203 [C99-based-standards] (PRIdLEAST8): Likewise.
13204 [C99-based-standards] (PRIiLEAST8): Likewise.
13205 [C99-based-standards] (PRIoLEAST8): Likewise.
13206 [C99-based-standards] (PRIuLEAST8): Likewise.
13207 [C99-based-standards] (PRIxLEAST8): Likewise.
13208 [C99-based-standards] (PRIXLEAST8): Likewise.
13209 [C99-based-standards] (SCNdLEAST8): Likewise.
13210 [C99-based-standards] (SCNiLEAST8): Likewise.
13211 [C99-based-standards] (SCNoLEAST8): Likewise.
13212 [C99-based-standards] (SCNuLEAST8): Likewise.
13213 [C99-based-standards] (SCNxLEAST8): Likewise.
13214 [C99-based-standards] (PRIdFAST8): Likewise.
13215 [C99-based-standards] (PRIiFAST8): Likewise.
13216 [C99-based-standards] (PRIoFAST8): Likewise.
13217 [C99-based-standards] (PRIuFAST8): Likewise.
13218 [C99-based-standards] (PRIxFAST8): Likewise.
13219 [C99-based-standards] (PRIXFAST8): Likewise.
13220 [C99-based-standards] (SCNdFAST8): Likewise.
13221 [C99-based-standards] (SCNiFAST8): Likewise.
13222 [C99-based-standards] (SCNoFAST8): Likewise.
13223 [C99-based-standards] (SCNuFAST8): Likewise.
13224 [C99-based-standards] (SCNxFAST8): Likewise.
13225 [C99-based-standards] (PRId16): Likewise.
13226 [C99-based-standards] (PRIi16): Likewise.
13227 [C99-based-standards] (PRIo16): Likewise.
13228 [C99-based-standards] (PRIu16): Likewise.
13229 [C99-based-standards] (PRIx16): Likewise.
13230 [C99-based-standards] (PRIX16): Likewise.
13231 [C99-based-standards] (SCNd16): Likewise.
13232 [C99-based-standards] (SCNi16): Likewise.
13233 [C99-based-standards] (SCNo16): Likewise.
13234 [C99-based-standards] (SCNu16): Likewise.
13235 [C99-based-standards] (SCNx16): Likewise.
13236 [C99-based-standards] (PRIdLEAST16): Likewise.
13237 [C99-based-standards] (PRIiLEAST16): Likewise.
13238 [C99-based-standards] (PRIoLEAST16): Likewise.
13239 [C99-based-standards] (PRIuLEAST16): Likewise.
13240 [C99-based-standards] (PRIxLEAST16): Likewise.
13241 [C99-based-standards] (PRIXLEAST16): Likewise.
13242 [C99-based-standards] (SCNdLEAST16): Likewise.
13243 [C99-based-standards] (SCNiLEAST16): Likewise.
13244 [C99-based-standards] (SCNoLEAST16): Likewise.
13245 [C99-based-standards] (SCNuLEAST16): Likewise.
13246 [C99-based-standards] (SCNxLEAST16): Likewise.
13247 [C99-based-standards] (PRIdFAST16): Likewise.
13248 [C99-based-standards] (PRIiFAST16): Likewise.
13249 [C99-based-standards] (PRIoFAST16): Likewise.
13250 [C99-based-standards] (PRIuFAST16): Likewise.
13251 [C99-based-standards] (PRIxFAST16): Likewise.
13252 [C99-based-standards] (PRIXFAST16): Likewise.
13253 [C99-based-standards] (SCNdFAST16): Likewise.
13254 [C99-based-standards] (SCNiFAST16): Likewise.
13255 [C99-based-standards] (SCNoFAST16): Likewise.
13256 [C99-based-standards] (SCNuFAST16): Likewise.
13257 [C99-based-standards] (SCNxFAST16): Likewise.
13258 [C99-based-standards] (PRId32): Likewise.
13259 [C99-based-standards] (PRIi32): Likewise.
13260 [C99-based-standards] (PRIo32): Likewise.
13261 [C99-based-standards] (PRIu32): Likewise.
13262 [C99-based-standards] (PRIx32): Likewise.
13263 [C99-based-standards] (PRIX32): Likewise.
13264 [C99-based-standards] (SCNd32): Likewise.
13265 [C99-based-standards] (SCNi32): Likewise.
13266 [C99-based-standards] (SCNo32): Likewise.
13267 [C99-based-standards] (SCNu32): Likewise.
13268 [C99-based-standards] (SCNx32): Likewise.
13269 [C99-based-standards] (PRIdLEAST32): Likewise.
13270 [C99-based-standards] (PRIiLEAST32): Likewise.
13271 [C99-based-standards] (PRIoLEAST32): Likewise.
13272 [C99-based-standards] (PRIuLEAST32): Likewise.
13273 [C99-based-standards] (PRIxLEAST32): Likewise.
13274 [C99-based-standards] (PRIXLEAST32): Likewise.
13275 [C99-based-standards] (SCNdLEAST32): Likewise.
13276 [C99-based-standards] (SCNiLEAST32): Likewise.
13277 [C99-based-standards] (SCNoLEAST32): Likewise.
13278 [C99-based-standards] (SCNuLEAST32): Likewise.
13279 [C99-based-standards] (SCNxLEAST32): Likewise.
13280 [C99-based-standards] (PRIdFAST32): Likewise.
13281 [C99-based-standards] (PRIiFAST32): Likewise.
13282 [C99-based-standards] (PRIoFAST32): Likewise.
13283 [C99-based-standards] (PRIuFAST32): Likewise.
13284 [C99-based-standards] (PRIxFAST32): Likewise.
13285 [C99-based-standards] (PRIXFAST32): Likewise.
13286 [C99-based-standards] (SCNdFAST32): Likewise.
13287 [C99-based-standards] (SCNiFAST32): Likewise.
13288 [C99-based-standards] (SCNoFAST32): Likewise.
13289 [C99-based-standards] (SCNuFAST32): Likewise.
13290 [C99-based-standards] (SCNxFAST32): Likewise.
13291 [C99-based-standards] (PRId64): Likewise.
13292 [C99-based-standards] (PRIi64): Likewise.
13293 [C99-based-standards] (PRIo64): Likewise.
13294 [C99-based-standards] (PRIu64): Likewise.
13295 [C99-based-standards] (PRIx64): Likewise.
13296 [C99-based-standards] (PRIX64): Likewise.
13297 [C99-based-standards] (SCNd64): Likewise.
13298 [C99-based-standards] (SCNi64): Likewise.
13299 [C99-based-standards] (SCNo64): Likewise.
13300 [C99-based-standards] (SCNu64): Likewise.
13301 [C99-based-standards] (SCNx64): Likewise.
13302 [C99-based-standards] (PRIdLEAST64): Likewise.
13303 [C99-based-standards] (PRIiLEAST64): Likewise.
13304 [C99-based-standards] (PRIoLEAST64): Likewise.
13305 [C99-based-standards] (PRIuLEAST64): Likewise.
13306 [C99-based-standards] (PRIxLEAST64): Likewise.
13307 [C99-based-standards] (PRIXLEAST64): Likewise.
13308 [C99-based-standards] (SCNdLEAST64): Likewise.
13309 [C99-based-standards] (SCNiLEAST64): Likewise.
13310 [C99-based-standards] (SCNoLEAST64): Likewise.
13311 [C99-based-standards] (SCNuLEAST64): Likewise.
13312 [C99-based-standards] (SCNxLEAST64): Likewise.
13313 [C99-based-standards] (PRIdFAST64): Likewise.
13314 [C99-based-standards] (PRIiFAST64): Likewise.
13315 [C99-based-standards] (PRIoFAST64): Likewise.
13316 [C99-based-standards] (PRIuFAST64): Likewise.
13317 [C99-based-standards] (PRIxFAST64): Likewise.
13318 [C99-based-standards] (PRIXFAST64): Likewise.
13319 [C99-based-standards] (SCNdFAST64): Likewise.
13320 [C99-based-standards] (SCNiFAST64): Likewise.
13321 [C99-based-standards] (SCNoFAST64): Likewise.
13322 [C99-based-standards] (SCNuFAST64): Likewise.
13323 [C99-based-standards] (SCNxFAST64): Likewise.
13324 [C99-based-standards] (PRIdMAX): Likewise.
13325 [C99-based-standards] (PRIiMAX): Likewise.
13326 [C99-based-standards] (PRIoMAX): Likewise.
13327 [C99-based-standards] (PRIuMAX): Likewise.
13328 [C99-based-standards] (PRIxMAX): Likewise.
13329 [C99-based-standards] (PRIXMAX): Likewise.
13330 [C99-based-standards] (SCNdMAX): Likewise.
13331 [C99-based-standards] (SCNiMAX): Likewise.
13332 [C99-based-standards] (SCNoMAX): Likewise.
13333 [C99-based-standards] (SCNuMAX): Likewise.
13334 [C99-based-standards] (SCNxMAX): Likewise.
13335 [C99-based-standards] (PRIdPTR): Likewise.
13336 [C99-based-standards] (PRIiPTR): Likewise.
13337 [C99-based-standards] (PRIoPTR): Likewise.
13338 [C99-based-standards] (PRIuPTR): Likewise.
13339 [C99-based-standards] (PRIxPTR): Likewise.
13340 [C99-based-standards] (PRIXPTR): Likewise.
13341 [C99-based-standards] (SCNdPTR): Likewise.
13342 [C99-based-standards] (SCNiPTR): Likewise.
13343 [C99-based-standards] (SCNoPTR): Likewise.
13344 [C99-based-standards] (SCNuPTR): Likewise.
13345 [C99-based-standards] (SCNxPTR): Likewise.
13346 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
13347 allow.
13348 * conform/data/stdint.h-data: Update comments to clarify
13349 requirements.
13350 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
13351 type.
13352 [C99-based standards] (INT8_MAX): Likewise.
13353 [C99-based standards] (INT16_MIN): Likewise.
13354 [C99-based standards] (INT16_MAX): Likewise.
13355 [C99-based standards] (INT32_MIN): Likewise.
13356 [C99-based standards] (INT32_MAX): Likewise.
13357 [C99-based standards] (INT64_MIN): Likewise.
13358 [C99-based standards] (INT64_MAX): Likewise.
13359 [C99-based standards] (UINT8_MAX): Likewise.
13360 [C99-based standards] (UINT16_MAX): Likewise.
13361 [C99-based standards] (UINT32_MAX): Likewise.
13362 [C99-based standards] (UINT64_MAX): Likewise.
13363 [C99-based standards] (INT_LEAST8_MIN): Likewise.
13364 [C99-based standards] (INT_LEAST8_MAX): Likewise.
13365 [C99-based standards] (INT_LEAST16_MIN): Likewise.
13366 [C99-based standards] (INT_LEAST16_MAX): Likewise.
13367 [C99-based standards] (INT_LEAST32_MIN): Likewise.
13368 [C99-based standards] (INT_LEAST32_MAX): Likewise.
13369 [C99-based standards] (INT_LEAST64_MIN): Likewise.
13370 [C99-based standards] (INT_LEAST64_MAX): Likewise.
13371 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
13372 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
13373 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
13374 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
13375 [C99-based standards] (INT_FAST8_MIN): Likewise.
13376 [C99-based standards] (INT_FAST8_MAX): Likewise.
13377 [C99-based standards] (INT_FAST16_MIN): Likewise.
13378 [C99-based standards] (INT_FAST16_MAX): Likewise.
13379 [C99-based standards] (INT_FAST32_MIN): Likewise.
13380 [C99-based standards] (INT_FAST32_MAX): Likewise.
13381 [C99-based standards] (INT_FAST64_MIN): Likewise.
13382 [C99-based standards] (INT_FAST64_MAX): Likewise.
13383 [C99-based standards] (UINT_FAST8_MAX): Likewise.
13384 [C99-based standards] (UINT_FAST16_MAX): Likewise.
13385 [C99-based standards] (UINT_FAST32_MAX): Likewise.
13386 [C99-based standards] (UINT_FAST64_MAX): Likewise.
13387 [C99-based standards] (INTPTR_MIN): Likewise.
13388 [C99-based standards] (INTPTR_MAX): Likewise.
13389 [C99-based standards] (UINTPTR_MAX): Likewise.
13390 [C99-based standards] (INTMAX_MIN): Likewise.
13391 [C99-based standards] (INTMAX_MAX): Likewise.
13392 [C99-based standards] (UINTMAX_MAX): Likewise.
13393 [C99-based standards] (PTRDIFF_MIN): Likewise.
13394 [C99-based standards] (PTRDIFF_MAX): Likewise.
13395 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
13396 [C99-based standards] (SIZE_MAX): Likewise.
13397 [C99-based standards] (WCHAR_MAX): Likewise.
13398 [C99-based standards] (WINT_MAX): Likewise.
13399 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
13400 constraint on value.
13401 [C99-based standards] (WCHAR_MIN): Likewise.
13402 [C99-based standards] (WINT_MIN): Likewise.
13403 [C99-based standards] (*_t): Allow.
13404 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
13405 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
13406 Include math.h-data and complex.h-data. Remove all expectations
13407 of math.h and complex.h contents.
13408 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
13409 at end of line.
13410 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
13411 (struct tm): Expect tag.
13412 [C99-based-standards] (wcstof): Expect function.
13413 [C99-based-standards] (wcstold): Likewise.
13414 [C99-based-standards] (wcstoll): Likewise.
13415 [C99-based-standards] (wcstoull): Likewise.
13416 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
13417 macro-int-constant. Specify type.
13418 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
13419 constraint on value.
13420 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13421 Specify type.
13422 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
13423 Specify value.
13424 [ISO C standards]: Do not allow headers.
13425 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
13426 wcs[abcdefghijklmnopqrstuvwxyz]*.
13427 [ISO C standards] (*_t): Do not allow.
13428 * conform/data/wctype.h-data [C99-based standards] (iswblank):
13429 Expect function.
13430 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
13431 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13432 Specify type.
13433 [ISO C standards]: Do not allow headers.
13434 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
13435 is[abcdefghijklmnopqrstuvwxyz]*.
13436 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
13437 to[abcdefghijklmnopqrstuvwxyz]*.
13438 [ISO C standards] (*_t): Do not allow.
13439 * conform/data/stdalign.h-data: New file.
13440 * conform/data/stdbool.h-data: Likewise.
13441 * conform/data/stdnoreturn.h-data: Likewise.
13442
7514feb8
RM
134432012-11-07 Roland McGrath <roland@hack.frob.com>
13444
13445 [BZ #14815]
13446 * manual/filesys.texi (Directory Entries): Typo fix.
13447 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
13448
19b2ecfc
MS
134492012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13450
13451 * elf/elf.h (EM_AARCH64): New macro.
13452 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
13453 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
13454 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
13455 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
13456 (R_AARCH64_TLSDESC): Likewise.
13457 (NT_ARM_TLS): Likewise.
13458 (NT_ARM_HW_BREAK): Likewise.
13459 (NT_ARM_HW_WATCH): Likewise.
13460
60e235ee
JM
134612012-11-07 Joseph Myers <joseph@codesourcery.com>
13462
13463 [BZ #14811]
13464 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
13465 (__ieee754_powl): Saturate nonzero exponents with absolute value
13466 below 0x1p-79 to +/- 0x1p-79.
13467 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
13468 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
13469 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
13470 nonzero exponents with absolute value below 0x1p-32 to +/-
13471 0x1p-32.
13472 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
13473 (__ieee754_powl): Saturate nonzero exponents with absolute value
13474 below 0x1p-79 to +/- 0x1p-79.
13475 * math/libm-test.inc (pow_test): Add more tests.
13476
0ab234b7
AK
134772012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13478
13479 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
13480 _dl_s390_cap_flags with kernel. Increase string length.
13481 (_dl_s390_platforms): Add z196 and zEC12.
13482
45832f74
JM
134832012-11-07 Joseph Myers <joseph@codesourcery.com>
13484
13485 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
13486 Change XOPEN21K to XOPEN2K.
13487
19218757
MK
134882012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
13489
13490 * string/memmove.c: Use memcpy when possible.
13491
c5f45721
AJ
134922012-11-06 Andreas Jaeger <aj@suse.de>
13493
13494 * po/eo.po: Update from translation team.
13495
82477c28
JM
134962012-11-06 Joseph Myers <joseph@codesourcery.com>
13497
13498 [BZ #14793]
13499 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
13500 exponent and small x and y exponents, scale x or y up. Increase
13501 by 2 the exponent used in scaling up.
13502 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13503 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13504 * math/libm-test.inc (fma_test): Add more tests.
13505 (fma_test_towardzero): Likewise.
13506 (fma_test_downward): Likewise.
13507 (fma_test_upward): Likewise.
13508
99252c8c
JM
135092012-11-05 Joseph Myers <joseph@codesourcery.com>
13510
acfa885f
JM
13511 [BZ #14805]
13512 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
13513 fenv_t *.
13514
99252c8c
JM
13515 [BZ #14801]
13516 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
13517 namespace for names of struct fields.
13518 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
13519 fenv_t fields.
13520 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
13521 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
13522
d6d98dea
ST
135232012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13524
13525 [BZ #3665]
13526 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
13527
e10bb107
TS
135282012-11-04 Thomas Schwinge <thomas@codesourcery.com>
13529
13530 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
13531 PTR_DEMANGLE.
13532
13533 [BZ #5246]
13534 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
13535 PTR_DEMANGLE.
13536
a0c2940d
JM
135372012-11-04 Joseph Myers <joseph@codesourcery.com>
13538
13539 [BZ #14797]
13540 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
13541 definitely overflow as x * y not x * y + z.
13542 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13543 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13544 * math/libm-test.inc (fma_test): Add more tests.
13545 (fma_test_towardzero): Likewise.
13546 (fma_test_downward): Likewise.
13547 (fma_test_upward): Likewise.
13548
b830319d
TS
135492012-11-04 Thomas Schwinge <thomas@codesourcery.com>
13550
13551 [BZ #157]
13552
13553 * include/stub-tag.h: Remove file.
13554 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
13555 '#include' of it.
13556 * manual/maint.texi (Porting): Don't reference it.
13557 * Makerules ($(objpfx)stubs): Likewise.
13558 * dirent/closedir.c: Don't include <stub-tag.h>.
13559 * dirent/dirfd.c: Likewise.
13560 * dirent/fdopendir.c: Likewise.
13561 * dirent/getdents.c: Likewise.
13562 * dirent/getdents64.c: Likewise.
13563 * dirent/opendir.c: Likewise.
13564 * dirent/readdir.c: Likewise.
13565 * dirent/readdir64.c: Likewise.
13566 * dirent/readdir64_r.c: Likewise.
13567 * dirent/readdir_r.c: Likewise.
13568 * dirent/rewinddir.c: Likewise.
13569 * dirent/seekdir.c: Likewise.
13570 * dirent/telldir.c: Likewise.
13571 * gmon/profil.c: Likewise.
13572 * grp/setgroups.c: Likewise.
13573 * inet/if_index.c: Likewise.
13574 * io/access.c: Likewise.
13575 * io/chdir.c: Likewise.
13576 * io/chmod.c: Likewise.
13577 * io/chown.c: Likewise.
13578 * io/close.c: Likewise.
13579 * io/dup.c: Likewise.
13580 * io/dup2.c: Likewise.
13581 * io/dup3.c: Likewise.
13582 * io/euidaccess.c: Likewise.
13583 * io/faccessat.c: Likewise.
13584 * io/fchdir.c: Likewise.
13585 * io/fchmod.c: Likewise.
13586 * io/fchmodat.c: Likewise.
13587 * io/fchown.c: Likewise.
13588 * io/fchownat.c: Likewise.
13589 * io/fcntl.c: Likewise.
13590 * io/flock.c: Likewise.
13591 * io/fstatfs.c: Likewise.
13592 * io/fstatfs64.c: Likewise.
13593 * io/fstatvfs.c: Likewise.
13594 * io/fstatvfs64.c: Likewise.
13595 * io/futimens.c: Likewise.
13596 * io/fxstat.c: Likewise.
13597 * io/fxstat64.c: Likewise.
13598 * io/fxstatat.c: Likewise.
13599 * io/fxstatat64.c: Likewise.
13600 * io/getcwd.c: Likewise.
13601 * io/isatty.c: Likewise.
13602 * io/lchmod.c: Likewise.
13603 * io/lchown.c: Likewise.
13604 * io/link.c: Likewise.
13605 * io/linkat.c: Likewise.
13606 * io/lseek.c: Likewise.
13607 * io/lseek64.c: Likewise.
13608 * io/lxstat64.c: Likewise.
13609 * io/mkdir.c: Likewise.
13610 * io/mkdirat.c: Likewise.
13611 * io/mkfifo.c: Likewise.
13612 * io/mkfifoat.c: Likewise.
13613 * io/open.c: Likewise.
13614 * io/open64.c: Likewise.
13615 * io/openat.c: Likewise.
13616 * io/openat64.c: Likewise.
13617 * io/pipe.c: Likewise.
13618 * io/pipe2.c: Likewise.
13619 * io/poll.c: Likewise.
13620 * io/posix_fadvise.c: Likewise.
13621 * io/posix_fadvise64.c: Likewise.
13622 * io/posix_fallocate.c: Likewise.
13623 * io/posix_fallocate64.c: Likewise.
13624 * io/read.c: Likewise.
13625 * io/readlink.c: Likewise.
13626 * io/readlinkat.c: Likewise.
13627 * io/rmdir.c: Likewise.
13628 * io/sendfile.c: Likewise.
13629 * io/sendfile64.c: Likewise.
13630 * io/statfs.c: Likewise.
13631 * io/statfs64.c: Likewise.
13632 * io/statvfs.c: Likewise.
13633 * io/statvfs64.c: Likewise.
13634 * io/symlink.c: Likewise.
13635 * io/symlinkat.c: Likewise.
13636 * io/ttyname.c: Likewise.
13637 * io/ttyname_r.c: Likewise.
13638 * io/umask.c: Likewise.
13639 * io/unlink.c: Likewise.
13640 * io/unlinkat.c: Likewise.
13641 * io/utime.c: Likewise.
13642 * io/utimensat.c: Likewise.
13643 * io/write.c: Likewise.
13644 * io/xmknod.c: Likewise.
13645 * io/xmknodat.c: Likewise.
13646 * io/xstat.c: Likewise.
13647 * io/xstat64.c: Likewise.
13648 * login/getpt.c: Likewise.
13649 * login/grantpt.c: Likewise.
13650 * login/unlockpt.c: Likewise.
13651 * math/e_acoshl.c: Likewise.
13652 * math/e_acosl.c: Likewise.
13653 * math/e_asinl.c: Likewise.
13654 * math/e_atan2l.c: Likewise.
13655 * math/e_atanhl.c: Likewise.
13656 * math/e_coshl.c: Likewise.
13657 * math/e_expl.c: Likewise.
13658 * math/e_fmodl.c: Likewise.
13659 * math/e_gammal_r.c: Likewise.
13660 * math/e_hypotl.c: Likewise.
13661 * math/e_j0l.c: Likewise.
13662 * math/e_j1l.c: Likewise.
13663 * math/e_jnl.c: Likewise.
13664 * math/e_lgammal_r.c: Likewise.
13665 * math/e_log10l.c: Likewise.
13666 * math/e_log2l.c: Likewise.
13667 * math/e_logl.c: Likewise.
13668 * math/e_powl.c: Likewise.
13669 * math/e_rem_pio2l.c: Likewise.
13670 * math/e_sinhl.c: Likewise.
13671 * math/e_sqrtl.c: Likewise.
13672 * math/fclrexcpt.c: Likewise.
13673 * math/fedisblxcpt.c: Likewise.
13674 * math/feenablxcpt.c: Likewise.
13675 * math/fegetenv.c: Likewise.
13676 * math/fegetexcept.c: Likewise.
13677 * math/fegetround.c: Likewise.
13678 * math/feholdexcpt.c: Likewise.
13679 * math/fesetenv.c: Likewise.
13680 * math/fesetround.c: Likewise.
13681 * math/feupdateenv.c: Likewise.
13682 * math/fgetexcptflg.c: Likewise.
13683 * math/fraiseexcpt.c: Likewise.
13684 * math/fsetexcptflg.c: Likewise.
13685 * math/ftestexcept.c: Likewise.
13686 * math/k_cosl.c: Likewise.
13687 * math/k_rem_pio2l.c: Likewise.
13688 * math/k_sinl.c: Likewise.
13689 * math/k_tanl.c: Likewise.
13690 * math/s_asinhl.c: Likewise.
13691 * math/s_atanl.c: Likewise.
13692 * math/s_cbrtl.c: Likewise.
13693 * math/s_erfl.c: Likewise.
13694 * math/s_expm1l.c: Likewise.
13695 * math/s_log1pl.c: Likewise.
13696 * math/s_tanhl.c: Likewise.
13697 * misc/acct.c: Likewise.
13698 * misc/brk.c: Likewise.
13699 * misc/chflags.c: Likewise.
13700 * misc/chroot.c: Likewise.
13701 * misc/fchflags.c: Likewise.
13702 * misc/fgetxattr.c: Likewise.
13703 * misc/flistxattr.c: Likewise.
13704 * misc/fremovexattr.c: Likewise.
13705 * misc/fsetxattr.c: Likewise.
13706 * misc/fsync.c: Likewise.
13707 * misc/ftruncate.c: Likewise.
13708 * misc/futimes.c: Likewise.
13709 * misc/futimesat.c: Likewise.
13710 * misc/getdomain.c: Likewise.
13711 * misc/getdtsz.c: Likewise.
13712 * misc/gethostid.c: Likewise.
13713 * misc/gethostname.c: Likewise.
13714 * misc/getloadavg.c: Likewise.
13715 * misc/getpagesize.c: Likewise.
13716 * misc/getsysstats.c: Likewise.
13717 * misc/getxattr.c: Likewise.
13718 * misc/gtty.c: Likewise.
13719 * misc/ioctl.c: Likewise.
13720 * misc/lgetxattr.c: Likewise.
13721 * misc/listxattr.c: Likewise.
13722 * misc/llistxattr.c: Likewise.
13723 * misc/lremovexattr.c: Likewise.
13724 * misc/lsetxattr.c: Likewise.
13725 * misc/lutimes.c: Likewise.
13726 * misc/madvise.c: Likewise.
13727 * misc/mincore.c: Likewise.
13728 * misc/mlock.c: Likewise.
13729 * misc/mlockall.c: Likewise.
13730 * misc/mmap.c: Likewise.
13731 * misc/mprotect.c: Likewise.
13732 * misc/msync.c: Likewise.
13733 * misc/munlock.c: Likewise.
13734 * misc/munlockall.c: Likewise.
13735 * misc/munmap.c: Likewise.
13736 * misc/preadv.c: Likewise.
13737 * misc/preadv64.c: Likewise.
13738 * misc/ptrace.c: Likewise.
13739 * misc/pwritev.c: Likewise.
13740 * misc/pwritev64.c: Likewise.
13741 * misc/readv.c: Likewise.
13742 * misc/reboot.c: Likewise.
13743 * misc/remap_file_pages.c: Likewise.
13744 * misc/removexattr.c: Likewise.
13745 * misc/revoke.c: Likewise.
13746 * misc/select.c: Likewise.
13747 * misc/setdomain.c: Likewise.
13748 * misc/setegid.c: Likewise.
13749 * misc/seteuid.c: Likewise.
13750 * misc/sethostid.c: Likewise.
13751 * misc/sethostname.c: Likewise.
13752 * misc/setregid.c: Likewise.
13753 * misc/setreuid.c: Likewise.
13754 * misc/setxattr.c: Likewise.
13755 * misc/sstk.c: Likewise.
13756 * misc/stty.c: Likewise.
13757 * misc/swapoff.c: Likewise.
13758 * misc/swapon.c: Likewise.
13759 * misc/sync.c: Likewise.
13760 * misc/syncfs.c: Likewise.
13761 * misc/syscall.c: Likewise.
13762 * misc/truncate.c: Likewise.
13763 * misc/ualarm.c: Likewise.
13764 * misc/usleep.c: Likewise.
13765 * misc/ustat.c: Likewise.
13766 * misc/utimes.c: Likewise.
13767 * misc/vhangup.c: Likewise.
13768 * misc/writev.c: Likewise.
13769 * posix/_exit.c: Likewise.
13770 * posix/alarm.c: Likewise.
13771 * posix/execve.c: Likewise.
13772 * posix/fexecve.c: Likewise.
13773 * posix/fork.c: Likewise.
13774 * posix/fpathconf.c: Likewise.
13775 * posix/getaddrinfo.c: Likewise.
13776 * posix/getegid.c: Likewise.
13777 * posix/geteuid.c: Likewise.
13778 * posix/getgid.c: Likewise.
13779 * posix/getgroups.c: Likewise.
13780 * posix/getlogin.c: Likewise.
13781 * posix/getlogin_r.c: Likewise.
13782 * posix/getpgid.c: Likewise.
13783 * posix/getpid.c: Likewise.
13784 * posix/getppid.c: Likewise.
13785 * posix/getresgid.c: Likewise.
13786 * posix/getresuid.c: Likewise.
13787 * posix/getsid.c: Likewise.
13788 * posix/getuid.c: Likewise.
13789 * posix/glob64.c: Likewise.
13790 * posix/nanosleep.c: Likewise.
13791 * posix/pathconf.c: Likewise.
13792 * posix/pause.c: Likewise.
13793 * posix/posix_madvise.c: Likewise.
13794 * posix/pread.c: Likewise.
13795 * posix/pread64.c: Likewise.
13796 * posix/pwrite.c: Likewise.
13797 * posix/pwrite64.c: Likewise.
13798 * posix/sched_getaffinity.c: Likewise.
13799 * posix/sched_getp.c: Likewise.
13800 * posix/sched_gets.c: Likewise.
13801 * posix/sched_primax.c: Likewise.
13802 * posix/sched_primin.c: Likewise.
13803 * posix/sched_rr_gi.c: Likewise.
13804 * posix/sched_setaffinity.c: Likewise.
13805 * posix/sched_setp.c: Likewise.
13806 * posix/sched_sets.c: Likewise.
13807 * posix/sched_yield.c: Likewise.
13808 * posix/setgid.c: Likewise.
13809 * posix/setlogin.c: Likewise.
13810 * posix/setpgid.c: Likewise.
13811 * posix/setresgid.c: Likewise.
13812 * posix/setresuid.c: Likewise.
13813 * posix/setsid.c: Likewise.
13814 * posix/setuid.c: Likewise.
13815 * posix/sleep.c: Likewise.
13816 * posix/spawni.c: Likewise.
13817 * posix/sysconf.c: Likewise.
13818 * posix/times.c: Likewise.
13819 * posix/wait.c: Likewise.
13820 * posix/wait3.c: Likewise.
13821 * posix/wait4.c: Likewise.
13822 * posix/waitpid.c: Likewise.
13823 * resolv/gai_sigqueue.c: Likewise.
13824 * resource/getpriority.c: Likewise.
13825 * resource/getrlimit.c: Likewise.
13826 * resource/getrusage.c: Likewise.
13827 * resource/nice.c: Likewise.
13828 * resource/setpriority.c: Likewise.
13829 * resource/setrlimit.c: Likewise.
13830 * resource/ulimit.c: Likewise.
13831 * rt/aio_cancel.c: Likewise.
13832 * rt/aio_fsync.c: Likewise.
13833 * rt/aio_read.c: Likewise.
13834 * rt/aio_sigqueue.c: Likewise.
13835 * rt/aio_suspend.c: Likewise.
13836 * rt/aio_write.c: Likewise.
13837 * rt/clock_getres.c: Likewise.
13838 * rt/clock_gettime.c: Likewise.
13839 * rt/clock_nanosleep.c: Likewise.
13840 * rt/clock_settime.c: Likewise.
13841 * rt/lio_listio.c: Likewise.
13842 * rt/mq_close.c: Likewise.
13843 * rt/mq_getattr.c: Likewise.
13844 * rt/mq_notify.c: Likewise.
13845 * rt/mq_open.c: Likewise.
13846 * rt/mq_receive.c: Likewise.
13847 * rt/mq_send.c: Likewise.
13848 * rt/mq_setattr.c: Likewise.
13849 * rt/mq_timedreceive.c: Likewise.
13850 * rt/mq_timedsend.c: Likewise.
13851 * rt/mq_unlink.c: Likewise.
13852 * rt/shm_open.c: Likewise.
13853 * rt/shm_unlink.c: Likewise.
13854 * rt/timer_create.c: Likewise.
13855 * rt/timer_delete.c: Likewise.
13856 * rt/timer_getoverr.c: Likewise.
13857 * rt/timer_gettime.c: Likewise.
13858 * rt/timer_settime.c: Likewise.
13859 * setjmp/__longjmp.c: Likewise.
13860 * setjmp/setjmp.c: Likewise.
13861 * signal/kill.c: Likewise.
13862 * signal/killpg.c: Likewise.
13863 * signal/raise.c: Likewise.
13864 * signal/sigaction.c: Likewise.
13865 * signal/sigaltstack.c: Likewise.
13866 * signal/sigblock.c: Likewise.
13867 * signal/sigignore.c: Likewise.
13868 * signal/sigintr.c: Likewise.
13869 * signal/signal.c: Likewise.
13870 * signal/sigpause.c: Likewise.
13871 * signal/sigpending.c: Likewise.
13872 * signal/sigqueue.c: Likewise.
13873 * signal/sigreturn.c: Likewise.
13874 * signal/sigset.c: Likewise.
13875 * signal/sigsetmask.c: Likewise.
13876 * signal/sigstack.c: Likewise.
13877 * signal/sigsuspend.c: Likewise.
13878 * signal/sigtimedwait.c: Likewise.
13879 * signal/sigvec.c: Likewise.
13880 * signal/sigwait.c: Likewise.
13881 * signal/sigwaitinfo.c: Likewise.
13882 * signal/sysv_signal.c: Likewise.
13883 * socket/accept.c: Likewise.
13884 * socket/accept4.c: Likewise.
13885 * socket/bind.c: Likewise.
13886 * socket/connect.c: Likewise.
13887 * socket/getpeername.c: Likewise.
13888 * socket/getsockname.c: Likewise.
13889 * socket/getsockopt.c: Likewise.
13890 * socket/isfdtype.c: Likewise.
13891 * socket/listen.c: Likewise.
13892 * socket/recv.c: Likewise.
13893 * socket/recvfrom.c: Likewise.
13894 * socket/recvmsg.c: Likewise.
13895 * socket/send.c: Likewise.
13896 * socket/sendmsg.c: Likewise.
13897 * socket/sendto.c: Likewise.
13898 * socket/setsockopt.c: Likewise.
13899 * socket/shutdown.c: Likewise.
13900 * socket/sockatmark.c: Likewise.
13901 * socket/socket.c: Likewise.
13902 * socket/socketpair.c: Likewise.
13903 * stdio-common/ctermid.c: Likewise.
13904 * stdio-common/cuserid.c: Likewise.
13905 * stdio-common/remove.c: Likewise.
13906 * stdio-common/rename.c: Likewise.
13907 * stdio-common/renameat.c: Likewise.
13908 * stdio-common/tempname.c: Likewise.
13909 * stdlib/getcontext.c: Likewise.
13910 * stdlib/makecontext.c: Likewise.
13911 * stdlib/setcontext.c: Likewise.
13912 * stdlib/swapcontext.c: Likewise.
13913 * stdlib/system.c: Likewise.
13914 * streams/fattach.c: Likewise.
13915 * streams/fdetach.c: Likewise.
13916 * streams/getmsg.c: Likewise.
13917 * streams/getpmsg.c: Likewise.
13918 * streams/putmsg.c: Likewise.
13919 * streams/putpmsg.c: Likewise.
13920 * sysdeps/unix/bsd/getpt.c: Likewise.
13921 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
13922 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
13923 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13925 Likewise.
13926 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
13927 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13928 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
13929 * sysvipc/msgctl.c: Likewise.
13930 * sysvipc/msgget.c: Likewise.
13931 * sysvipc/msgrcv.c: Likewise.
13932 * sysvipc/msgsnd.c: Likewise.
13933 * sysvipc/semctl.c: Likewise.
13934 * sysvipc/semget.c: Likewise.
13935 * sysvipc/semop.c: Likewise.
13936 * sysvipc/semtimedop.c: Likewise.
13937 * sysvipc/shmat.c: Likewise.
13938 * sysvipc/shmctl.c: Likewise.
13939 * sysvipc/shmdt.c: Likewise.
13940 * sysvipc/shmget.c: Likewise.
13941 * termios/tcdrain.c: Likewise.
13942 * termios/tcflow.c: Likewise.
13943 * termios/tcflush.c: Likewise.
13944 * termios/tcgetattr.c: Likewise.
13945 * termios/tcgetpgrp.c: Likewise.
13946 * termios/tcsendbrk.c: Likewise.
13947 * termios/tcsetattr.c: Likewise.
13948 * termios/tcsetpgrp.c: Likewise.
13949 * time/adjtime.c: Likewise.
13950 * time/clock.c: Likewise.
13951 * time/getitimer.c: Likewise.
13952 * time/gettimeofday.c: Likewise.
13953 * time/setitimer.c: Likewise.
13954 * time/settimeofday.c: Likewise.
13955 * time/stime.c: Likewise.
13956 * time/time.c: Likewise.
13957
139582012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 13959
a20492cf
PT
13960 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
13961 /usr/old/bin.
13962
72e182e3
PT
13963 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
13964 instead of spaces.
13965 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
13966
fbeafede
JM
139672012-11-03 Joseph Myers <joseph@codesourcery.com>
13968
5b5b04d6
JM
13969 [BZ #14796]
13970 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
13971 FE_TONEAREST before applying Dekker multiplication and Knuth
13972 addition. Clear inexact exceptions and check for exact zero
13973 results afterwards.
13974 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13975 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13976 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13977 * math/libm-test.inc (fma_test): Add more tests.
13978 (fma_test_towardzero): Likewise.
13979 (fma_test_downward): Likewise.
13980 (fma_test_upward): Likewise.
13981 * sysdeps/generic/math_private.h (default_libc_fesetround): New
13982 function.
13983 (libc_fesetround): New macro.
13984 (libc_fesetroundf): Likewise.
13985 (libc_fesetroundl): Likewise.
13986 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
13987 function.
13988 (libc_fesetround_387): Likewise.
13989 (libc_fesetroundf): New macro.
13990 (libc_fesetround): Likewise.
13991 (libc_fesetroundl): Likewise.
13992 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
13993 function.
13994 (libc_fesetroundf): New macro.
13995 (libc_fesetround): Likewise.
13996 (libc_fesetroundl): Likewise.
13997 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
13998 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
13999 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
14000 libm_hidden_ver.
14001 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
14002 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
14003 libm_hidden_def.
14004 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
14005 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
14006 libm_hidden_ver.
14007 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
14008 libm_hidden_def.
14009
fbeafede
JM
14010 [BZ #3439]
14011 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
14012 integer constant usable in #if and use that to give value to enum
14013 constant.
14014 (FE_DIVBYZERO): Likewise.
14015 (FE_UNDERFLOW): Likewise.
14016 (FE_OVERFLOW): Likewise.
14017 (FE_INVALID): Likewise.
14018 (FE_INVALID_SNAN): Likewise.
14019 (FE_INVALID_ISI): Likewise.
14020 (FE_INVALID_IDI): Likewise.
14021 (FE_INVALID_ZDZ): Likewise.
14022 (FE_INVALID_IMZ): Likewise.
14023 (FE_INVALID_COMPARE): Likewise.
14024 (FE_INVALID_SOFTWARE): Likewise.
14025 (FE_INVALID_SQRT): Likewise.
14026 (FE_INVALID_INTEGER_CONVERSION): Likewise.
14027 (FE_TONEAREST): Likewise.
14028 (FE_TOWARDZERO): Likewise.
14029 (FE_UPWARD): Likewise.
14030 (FE_DOWNWARD): Likewise.
14031 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
14032 (FE_DIVBYZERO): Likewise.
14033 (FE_OVERFLOW): Likewise.
14034 (FE_UNDERFLOW): Likewise.
14035 (FE_INEXACT): Likewise.
14036 (FE_TONEAREST): Likewise.
14037 (FE_DOWNWARD): Likewise.
14038 (FE_UPWARD): Likewise.
14039 (FE_TOWARDZERO): Likewise.
14040 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
14041 (FE_UNDERFLOW): Likewise.
14042 (FE_OVERFLOW): Likewise.
14043 (FE_DIVBYZERO): Likewise.
14044 (FE_INVALID): Likewise.
14045 (FE_TONEAREST): Likewise.
14046 (FE_TOWARDZERO): Likewise.
14047 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
14048 (FE_OVERFLOW): Likewise.
14049 (FE_UNDERFLOW): Likewise.
14050 (FE_DIVBYZERO): Likewise.
14051 (FE_INEXACT): Likewise.
14052 (FE_TONEAREST): Likewise.
14053 (FE_TOWARDZERO): Likewise.
14054 (FE_UPWARD): Likewise.
14055 (FE_DOWNWARD): Likewise.
14056 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
14057 (FE_DIVBYZERO): Likewise.
14058 (FE_OVERFLOW): Likewise.
14059 (FE_UNDERFLOW): Likewise.
14060 (FE_INEXACT): Likewise.
14061 (FE_TONEAREST): Likewise.
14062 (FE_DOWNWARD): Likewise.
14063 (FE_UPWARD): Likewise.
14064 (FE_TOWARDZERO): Likewise.
14065
105ca950
CM
140662012-11-02 Chris Metcalf <cmetcalf@tilera.com>
14067
14068 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
14069
a542b389
AS
140702012-11-03 Andreas Schwab <schwab@linux-m68k.org>
14071
14072 * scripts/cross-test-ssh.sh (command): Use newlines to separate
14073 commands. Quote $PWD.
14074 (blacklist_exports): Don't use remove_newlines. Replace "declare
14075 -x" by "export".
14076 (remove_newlines): Remove.
14077
f62c8abc
L
140782012-11-02 H.J. Lu <hongjiu.lu@intel.com>
14079
14080 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
14081 * stdlib/stdlib.h (atof): Moved to ...
14082 * include/bits/stdlib-float.h: Here. New file.
14083 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
14084 * stdlib/bits/stdlib-float.h: New file.
14085 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
14086 -mno-sse -mno-mmx.
14087 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
14088 <xmmintrin.h>.
14089
0155d5b2
JM
140902012-11-02 Joseph Myers <joseph@codesourcery.com>
14091
a68d0680
JM
14092 * conform/conformtest.pl (@headers): Add fenv.h.
14093 * conform/data/fenv.h-data: New file.
14094 * include/fenv.h [_ISOMAC]: Disable all contents of file except
14095 include of <math/fenv.h>.
14096
caf7f573
JM
14097 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
14098 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
14099 && !UNIX98]. Enables tests for XOPEN2K8.
14100 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
14101 POSIX2008]: Likewise.
14102
6c073ad6
JM
14103 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
14104 (struct rusage): Do not expect type or its members.
14105
0155d5b2
JM
14106 [BZ #3439]
14107 * math/math.h (FP_NAN): Define macro to integer constant usable in
14108 #if and use that to give value to enum constant.
14109 (FP_INFINITE): Likewise.
14110 (FP_ZERO): Likewise.
14111 (FP_SUBNORMAL): Likewise.
14112 (FP_NORMAL): Likewise.
14113
b5dcacb4
AS
141142012-11-02 Andreas Schwab <schwab@linux-m68k.org>
14115
14116 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
14117 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
14118 arguments.
14119
f7934be8
RM
141202012-11-02 Roland McGrath <roland@hack.frob.com>
14121
14122 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
14123 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
14124 autoconf-time if not.
14125 * configure.in: Remove AC_PREREQ.
14126
d7d08bde
TMQMF
141272012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14128
14129 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
14130 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
14131 of the internal implementation.
14132
dcdae19a
JM
141332012-11-02 Joseph Myers <joseph@codesourcery.com>
14134
14135 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
14136 except include of <misc/sys/syslog.h>.
14137
d6cffd3e
AS
141382012-11-01 Andreas Schwab <schwab@linux-m68k.org>
14139
14140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
14141 function returns with a NULL context exit with zero.
14142
b3563932
TMQMF
141432012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14144
14145 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
14146
b288a93d
L
141472012-11-01 H.J. Lu <hongjiu.lu@intel.com>
14148
14149 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
14150 (run_program_cmd): This.
14151 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
14152 (tst_langinfo): New variable. Use it.
14153
a2421a68
SAS
141542012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
14155
14156 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
14157 floating point opcodes.
14158
6f796e1b
TS
141592012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14160
7402596b
TS
14161 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
14162 variable.
14163
d0d4f868
TS
14164 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
14165
6f796e1b
TS
14166 * sysdeps/mach/hurd/powerpc: Remove directory.
14167 * sysdeps/mach/powerpc: Likewise.
14168
4da224a2
AS
141692012-11-01 Andreas Schwab <schwab@linux-m68k.org>
14170
14171 * scripts/check-local-headers.sh: Ignore c++ headers.
14172
341dd673
TS
141732012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14174
14175 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
14176 __libc_cleanup_region_start argument.
14177
473611b2
JM
141782012-11-01 Joseph Myers <joseph@codesourcery.com>
14179
14180 [BZ #14784]
14181 [BZ #14785]
14182 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
14183 x * y using scaling, not as x * y + z.
14184 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14185 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14186 * math/libm-test.inc (fma_test): Add more tests.
14187 (fma_test_towardzero): Likewise.
14188 (fma_test_downward): Likewise.
14189 (fma_test_upward): Likewise.
14190
4078da3d
TS
141912012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14192
14193 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
14194
903252aa
JM
141952012-10-31 Joseph Myers <joseph@codesourcery.com>
14196
14197 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
14198 New variable.
14199
cbc818d0
TS
142002012-10-31 Thomas Schwinge <thomas@codesourcery.com>
14201
14202 * rt/tst-shm.c (worker): Correct checking for mmap failure.
14203
5a03cb1e
AS
142042012-10-31 Andreas Schwab <schwab@linux-m68k.org>
14205
14206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14207 Fix sort order.
14208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14209 Likewise.
14210
90aff2ff
TMQMF
142112012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14212
14213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14214 Fix the order of the list for glibc 2.17.
14215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14216 Likewise.
14217
1818fcb7
AS
142182012-10-31 Andreas Schwab <schwab@linux-m68k.org>
14219
14220 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14221
ef82f4da
JM
142222012-10-31 Joseph Myers <joseph@codesourcery.com>
14223
16a0e2ec
JM
14224 [BZ #14610]
14225 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
14226 for low part of x being zero before using __atanl (y).
14227 * math/libm-test.inc (atan2_test): Add another test.
14228
0eb69512
JM
14229 * manual/install.texi (Configuring and compiling): Document
14230 general use of test-wrapper and test-wrapper-env.
14231 * INSTALL: Regenerated.
14232
ef82f4da
JM
14233 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
14234 (__fma): Do not extract and scale down low bits on after-rounding
14235 systems when result rounded to normal precision would have normal
14236 exponent.
14237 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
14238 (__fmal): Do not extract and scale down low bits on after-rounding
14239 systems when result rounded to normal precision would have normal
14240 exponent.
14241 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
14242 (__fmal): Do not extract and scale down low bits on after-rounding
14243 systems when result rounded to normal precision would have normal
14244 exponent.
14245 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
14246 macro.
14247 (fma_test): Add more tests.
14248 (fma_test_towardzero): Likewise.
14249 (fma_test_downward): Likewise.
14250 (fma_test_upward): Likewise.
14251
954ef0d9
L
142522012-10-30 H.J. Lu <hongjiu.lu@intel.com>
14253
14254 * sysdeps/i386/tininess.h: Renamed to ...
14255 * sysdeps/x86/tininess.h: This.
14256 * sysdeps/x86_64/tininess.h: Removed.
14257
df61ffb2
JM
142582012-10-30 Joseph Myers <joseph@codesourcery.com>
14259
14260 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
14261 input. Use $(build-program-cmd).
14262 ($(objpfx)tst-array1-static.out): Likewise.
14263 ($(objpfx)tst-array2.out): Likewise.
14264 ($(objpfx)tst-array3.out): Likewise.
14265 ($(objpfx)tst-array4.out): Likewise.
14266 ($(objpfx)tst-array5.out): Likewise.
14267 ($(objpfx)tst-array5-static.out): Likewise.
14268
01767843
CM
142692012-10-30 Chris Metcalf <cmetcalf@tilera.com>
14270
47cc1490
CM
14271 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
14272 if defined.
14273
01767843
CM
14274 * nss/nsswitch.h (nss_interface_function): Provide new
14275 macro for use with NSS functions.
14276 * grp/initgroups.c: Use new macro.
14277 * nss/getXXbyYY.c: Likewise.
14278 * nss/getXXbyYY_r.c: Likewise.
14279 * nss/getXXent.c: Likewise.
14280 * nss/getXXent_r.c: Likewise.
14281 * sysdeps/posix/getaddrinfo.c: Likewise.
14282
8321aa97
AJ
142832012-10-30 Andreas Jaeger <aj@suse.de>
14284
14285 * po/ru.po: Update Russion translation from translation project.
14286
2a27fd6d
JM
142872012-10-30 Joseph Myers <joseph@codesourcery.com>
14288
8627a232
JM
14289 [BZ #14152]
14290 [BZ #14783]
14291 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
14292 result and shift together with sticky bit instead of replicating
14293 round-to-nearest rounding.
14294 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14295 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14296 * math/libm-test.inc (fma_test): Add more tests. Do not permit
14297 missing underflow exceptions.
14298 (fma_test_towardzero): Add more tests.
14299 (fma_test_downward): Likewise.
14300 (fma_test_upward): Likewise.
14301
2a27fd6d
JM
14302 [BZ #14047]
14303 * sysdeps/generic/tininess.h: New file.
14304 * sysdeps/i386/tininess.h: Likewise.
14305 * sysdeps/sh/tininess.h: Likewise.
14306 * sysdeps/x86_64/tininess.h: Likewise.
14307 * stdlib/tst-strtod-underflow.c: Likewise.
14308 * stdlib/tst-tininess.c: Likewise.
14309 * stdlib/strtod_l.c: Include <tininess.h>.
14310 (round_and_return): Do not set errno for exact underflow cases.
14311 Force an underflow exception when setting errno for underflow.
14312 Determine underflow based on rounding to normal precision if
14313 TININESS_AFTER_ROUNDING.
14314 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
14315 ERANGE for exact underflow cases.
14316 * stdlib/Makefile (tests): Add tst-tininess and
14317 tst-strtod-underflow.
14318 ($(objpfx)tst-tininess): Use $(link-libm).
14319 ($(objpfx)tst-strtod-underflow): Likewise.
14320
e7170363
AJ
143212012-10-30 Andreas Jaeger <aj@suse.de>
14322
e5088dc6
AJ
14323 [BZ#14767]
14324 * elf/Makefile (tests): Remove conditional for have-initfini-array
14325 since this is now always required and the variable does not exist
14326 anymore.
14327 (tests-static): Likewise.
14328 (modules-names): Likewise.
14329
e7170363 14330 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
14331
14332 * elf/tst-array1.c (fini_array): Make writeable so that it can be
14333 merged with constructor/destructor.
14334 (init_array): Likewise.
14335 * elf/tst-array2dep.c (fini_array): Likewise.
14336 (init_array): Likewise.
14337
60457d8a
MF
143382012-10-29 Mike Frysinger <vapier@gentoo.org>
14339
14340 * manual/message.texi: Delete @cartouche tags.
14341
8bece752
PT
143422012-10-29 Pino Toscano <toscano.pino@tiscali.it>
14343
94ce799f
PT
14344 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
14345 EOPNOTSUPP.
14346 * sysdeps/mach/hurd/fsync.c: Likewise.
14347
8bece752
PT
14348 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
14349 [_POSIX_REALTIME_SIGNALS]: Change condition to
14350 [_POSIX_REALTIME_SIGNALS > 0].
14351
86ebe6b1
AJ
143522012-10-27 Andreas Jaeger <aj@suse.de>
14353
14354 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
14355 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
14356 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
14357 [__WORDSIZE != 64]: Likewise.
14358
54399c08
L
143592012-10-26 H.J. Lu <hongjiu.lu@intel.com>
14360
14361 * iconvdata/tst-table.sh: Remove ${SHELL}.
14362 * iconvdata/tst-tables.sh: Likewise.
14363
e2211bed
DM
143642012-10-25 David S. Miller <davem@davemloft.net>
14365
14366 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14367 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
14368 of strtoull.
14369
f303f97c
DM
14370 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
14371 ifunc-impl-list.c
14372 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14373 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
14374 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
14375 file.
14376
1e9d84cd
RM
143772012-10-25 Roland McGrath <roland@hack.frob.com>
14378
14379 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14380 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
14381 __getdirentries.
14382
df381762
JM
143832012-10-25 Joseph Myers <joseph@codesourcery.com>
14384 Jim Blandy <jimb@codesourcery.com>
14385
14386 * scripts/cross-test-ssh.sh: New file.
14387 * manual/install.texi (Configuring and compiling): Document use of
14388 cross-test-ssh.sh.
14389 * INSTALL: Regenerated.
14390
bff64913
PT
143912012-10-25 Pino Toscano <toscano.pino@tiscali.it>
14392
14393 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
14394 EOPNOTSUPP.
14395
25fe8932
JM
143962012-10-25 Joseph Myers <joseph@codesourcery.com>
14397
14398 * Makeconfig (run-program-prefix): Fix comment.
14399
cc1290d0
JM
144002012-10-24 Joseph Myers <joseph@codesourcery.com>
14401 Jim Blandy <jimb@codesourcery.com>
14402
14403 * Makeconfig (test-wrapper): New variable,
14404 (test-wrapper-env): Likewise.
14405 [$(cross-compiling) = yes && $(test-wrapper) != ""]
14406 (run-built-tests): Define to yes.
14407 (run-program-prefix): Use $(test-wrapper).
14408 (built-program-cmd): Likewise.
14409 * Rules (make-test-out): Use $(test-wrapper-env) and
14410 $(host-built-program-cmd).
14411 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
14412 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
14413 tst-pathopt.sh.
14414 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
14415 $(test-wrapper-env) to tst-rtld-load-self.sh.
14416 ($(objpfx)order2.out): Use $(test-wrapper).
14417 ($(objpfx)tst-initorder.out): Likewise.
14418 ($(objpfx)tst-initorder2.out): Likewise.
14419 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
14420 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
14421 (test_wrapper_env): New variable. Use it to run ld.so.
14422 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
14423 Use it to run ld.so.
14424 (test_wrapper_env): Likewise.
14425 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
14426 $(test-wrapper) to run-iconv-test.sh.
14427 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
14428 (ICONV): Use $test_wrapper.
14429 * posix/Makefile ($(objpfx)globtest.out): Pass
14430 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
14431 globtest.sh, not $(run-program-prefix).
14432 * posix/globtest.sh (run_via_rtld_prefix): New variable.
14433 (test_wrapper): Likewise.
14434 (test_wrapper_env): Likewise. Use it to run globtest with HOME
14435 set together with run_via_rtld_prefix.
14436 (run_program_prefix): Define in terms of test_wrapper and
14437 run_via_rtld_prefix.
14438
6e6249d0
RM
144392012-10-24 Roland McGrath <roland@hack.frob.com>
14440
14441 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
14442 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
14443 Targets removed.
14444
14445 [BZ #14743]
14446 * include/time.h: Remove librt_hidden_proto (clock_gettime).
14447 Declare __clock_getres, __clock_gettime, __clock_settime,
14448 __clock_nanosleep, and __clock_getcpuclockid.
14449 * rt/clock_gettime.c: Define __clock_gettime as an alias.
14450 Remove librt_hidden_def (clock_gettime).
14451 * sysdeps/unix/clock_gettime.c: Likewise.
14452 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
14453 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14454 * rt/clock_getres.c: Define __clock_getres as an alias.
14455 * sysdeps/posix/clock_getres.c: Likewise.
14456 * rt/clock_settime.c: Define __clock_settime as an alias.
14457 * sysdeps/unix/clock_settime.c: Likewise.
14458 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
14459 * sysdeps/unix/clock_nanosleep.c: Likewise.
14460 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14461 * rt/clock-compat.c: New file.
14462 * rt/Makefile (librt-routines): Add clock-compat and move
14463 $(clock-routines) to ...
14464 (routines): ... here, new variable.
14465 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
14466 Don't add get_clockfreq here.
14467 * rt/Versions (libc: GLIBC_2.17): New version set.
14468 Add clock_* symbols here.
14469 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
14470 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
14471 (GLIBC_2.17): Add clock_* symbols.
14472 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14473 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14474 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14476 Likewise.
14477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14478 Likewise.
14479 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14480 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
14481 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14482 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14483 * NEWS: Mention the move.
14484
14485 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
14486 Use __open, __read, __close rather than their public counterparts.
14487 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14488 (__get_clockfreq_via_cpuinfo): Likewise.
14489 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
14490 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
14491
14492 * config.h.in (HAVE_IFUNC): New #undef.
14493 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
14494 was successful.
14495 * configure: Regenerated.
14496
0cae3f4b
MF
144972012-10-24 Mike Frysinger <vapier@gentoo.org>
14498
14499 * configure.in: Move READELF check to start of file.
14500 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
14501 libc_cv_asm_gnu_indirect_function in the process.
14502 * configure: Regenerated.
14503
8175a253
MF
145042012-10-24 Mike Frysinger <vapier@gentoo.org>
14505
14506 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
14507 send the output to /dev/null.
14508 (libc_cv_cc_with_libunwind): Likewise.
14509 (libc_cv_as_noexecstack): Likewise.
14510 * configure: Regenerate.
14511
0708a7d1
JM
145122012-10-24 Joseph Myers <joseph@codesourcery.com>
14513
10b40d85
JM
14514 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
14515
0708a7d1
JM
14516 * posix/globtest.sh (TMPDIR): Do not set.
14517 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
14518 (testout): Likewise.
14519
9fddec1a
AJ
145202012-10-24 Andreas Jaeger <aj@suse.de>
14521
3a8db22f
AJ
14522 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
14523 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
14524 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
14525 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
14526 posix_fadvise64, posix_fallocate64.
14527
9fddec1a
AJ
14528 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
14529 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
14530 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
14531 Likewise.
14532 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
14533 Likewise.
14534 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
14535
14536 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
14537 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
14538 <bits/fcntl-linux.h>.
14539 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
14540
14541 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
14542 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
14543 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
14544 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
14545 [__WORDSIZE != 64]: Likewise.
14546
ebfd1bbd
JM
145472012-10-23 Joseph Myers <joseph@codesourcery.com>
14548
03ac099f
JM
14549 * Makeconfig (run-built-tests): New variable.
14550 * Rules [$(cross-compiling) = yes]: Change condition to
14551 [$(run-built-tests) = no].
14552 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
14553 to [$(run-built-tests) = yes].
14554 * elf/Makefile [$(cross-compiling) = no]: Likewise
14555 * grp/Makefile [$(cross-compiling) = no]: Likewise.
14556 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
14557 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
14558 * intl/Makefile [$(cross-compiling) = no]: Likewise.
14559 * io/Makefile [$(cross-compiling) = no]: Likewise.
14560 * libio/Makefile [$(cross-compiling) = no]: Likewise.
14561 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
14562 * misc/Makefile [$(cross-compiling) = no]: Likewise.
14563 * posix/Makefile [$(cross-compiling) = no]: Likewise.
14564 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
14565 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
14566 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
14567 * string/Makefile [$(cross-compiling) = no]: Likewise.
14568
ebfd1bbd
JM
14569 * posix/Makefile ($(objpfx)globtest.out): Pass
14570 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
14571 $(rtld-installed-name).
14572 * posix/globtest.sh (elf_objpfx): Remove variable.
14573 (rtld_installed_name): Likewise.
14574 (library_path): Likewise.
14575 (run_program_prefix): New variable. Use for running globtest
14576 binary.
14577
166bca24
JB
145782012-10-23 Jim Blandy <jimb@codesourcery.com>
14579 Joseph Myers <joseph@codesourcery.com>
14580
14581 * Makeconfig (host-built-program-cmd): New variable.
14582 * elf/Makefile (tst-stackguard1-ARGS): Use
14583 $(host-built-program-cmd).
14584 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
14585 (tst-spawn-ARGS): Likewise.
14586 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
14587
88866099
JM
145882012-10-23 Joseph Myers <joseph@codesourcery.com>
14589 Jim Blandy <jimb@codesourcery.com>
14590
14591 * Makeconfig (run-via-rtld-prefix): New variable.
14592 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
14593 (built-program-cmd): Likewise.
14594
b4b4c296
AJ
145952012-10-22 Andreas Jaeger <aj@suse.de>
14596
14597 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
14598 __O_RSYNC if it exists, otherwise to O_SYNC.
14599
6fb54a22
JB
146002012-10-22 Jim Blandy <jimb@codesourcery.com>
14601 Joseph Myers <joseph@codesourcery.com>
14602
14603 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
14604 /dev/null.
14605 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
14606 from /dev/null
14607 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
14608 /dev/null.
14609
481b90b9
AJ
146102012-10-22 Andreas Jaeger <aj@suse.de>
14611
2a0e2669
AJ
14612 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
14613 Define always.
14614 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
14615
76e38f9a
AJ
14616 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14617 bits/fcntl-linux.h.
14618
7cd37b43
AJ
14619 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
14620 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
14621
481b90b9
AJ
14622 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
14623 to __O_LARGEFILE.
14624 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
14625 to __O_LARGEFILE.
14626
aba75984
JB
146272012-10-21 Jim Blandy <jimb@codesourcery.com>
14628 Joseph Myers <joseph@codesourcery.com>
14629
14630 * config.make.in (NM): New variable.
14631
88d4247f
AJ
146322012-10-21 Andreas Jaeger <aj@suse.de>
14633
14634 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
14635 definitions and declarations that are provided by
14636 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14637
f2eed205
L
146382012-10-20 H.J. Lu <hongjiu.lu@intel.com>
14639
14640 [BZ #14683]
14641 * elf/Makefile (tests-static): Add tst-leaks1-static.
14642 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
14643 ($(objpfx)tst-leaks1-static): New rule.
14644 ($(objpfx)tst-leaks1-static-mem): Likewise.
14645 (tst-leaks1-static-ENV): New macro.
14646 * elf/dl-open.c (dl_open_worker): Check the main application
14647 only if SHARED is defined.
14648 * elf/tst-leaks1-static.c: New file.
14649
335e6931
AJ
146502012-10-20 Andreas Jaeger <aj@suse.de>
14651
14652 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
14653 generic values for Linux.
14654 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
14655 and declarations that are provided by <bits/fcntl-linux.h> and
14656 include <bits/fcntl-linux.h>.
14657 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14658 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14659
ac5c94d3
RM
146602012-10-20 Roland McGrath <roland@hack.frob.com>
14661
14662 * io/fcntl.h: Move include of <bits/types.h> to the top and
14663 include it unconditionally.
14664
de54b33a
L
146652012-10-20 H.J. Lu <hongjiu.lu@intel.com>
14666
228cfb01
L
14667 * wcsmbs/Makefile (tests-ifunc): New variable.
14668 (tests): Add $(tests-ifunc).
14669 * wcsmbs/test-wcschr-ifunc.c: New file.
14670 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
14671 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
14672 * wcsmbs/test-wcslen-ifunc.c: Likewise.
14673 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
14674 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
14675
69f07e5f
L
14676 * string/Makefile (tests-ifunc): New variable.
14677 (tests): Add $(tests-ifunc).
14678 * string/test-memccpy.c (TEST_NAME): New macro.
14679 * string/test-memchr.c (TEST_NAME): Likewise.
14680 * string/test-memcmp.c (TEST_NAME): Likewise.
14681 * string/test-memcpy.c (TEST_NAME): Likewise.
14682 * string/test-memmem.c (TEST_NAME): Likewise.
14683 * string/test-memmove.c (TEST_NAME): Likewise.
14684 * string/test-memset.c (TEST_NAME): Likewise.
14685 * string/test-rawmemchr.c (TEST_NAME): Likewise.
14686 * string/test-stpcpy.c (TEST_NAME): Likewise.
14687 * string/test-stpncpy.c (TEST_NAME): Likewise.
14688 * string/test-strcasecmp.c (TEST_NAME): Likewise.
14689 * string/test-strcasestr.c (TEST_NAME): Likewise.
14690 * string/test-strcat.c (TEST_NAME): Likewise.
14691 * string/test-strchr.c (TEST_NAME): Likewise.
14692 * string/test-strcmp.c(TEST_NAME): Likewise.
14693 * string/test-strcpy.c (TEST_NAME): Likewise.
14694 * string/test-strcspn.c (TEST_NAME): Likewise.
14695 * string/test-strlen.c (TEST_NAME): Likewise.
14696 * string/test-strncasecmp.c (TEST_NAME): Likewise.
14697 * string/test-strncmp.c (TEST_NAME): Likewise.
14698 * string/test-strncpy.c (TEST_NAME): Likewise.
14699 * string/test-strnlen.c (TEST_NAME): Likewise.
14700 * string/test-strpbrk.c (TEST_NAME): Likewise.
14701 * string/test-strrchr.c (TEST_NAME): Likewise.
14702 * string/test-strspn.c (TEST_NAME): Likewise.
14703 * string/test-strstr.c (TEST_NAME): Likewise.
14704 * string/test-bcopy-ifunc.c: New file.
14705 * string/test-bzero-ifunc.c: Likewise.
14706 * string/test-memccpy-ifunc.c: Likewise.
14707 * string/test-memchr-ifunc.c: Likewise.
14708 * string/test-memcmp-ifunc.c: Likewise.
14709 * string/test-memcpy-ifunc.c: Likewise.
14710 * string/test-memmem-ifunc.c: Likewise.
14711 * string/test-memmove-ifunc.c: Likewise.
14712 * string/test-mempcpy-ifunc.c: Likewise.
14713 * string/test-memset-ifunc.c: Likewise.
14714 * string/test-rawmemchr-ifunc.c: Likewise.
14715 * string/test-stpcpy-ifunc.c: Likewise.
14716 * string/test-stpncpy-ifunc.c: Likewise.
14717 * string/test-strcasecmp-ifunc.c: Likewise.
14718 * string/test-strcasestr-ifunc.c: Likewise.
14719 * string/test-strcat-ifunc.c: Likewise.
14720 * string/test-strchr-ifunc.c: Likewise.
14721 * string/test-strchrnul-ifunc.c: Likewise.
14722 * string/test-strcmp-ifunc.c: Likewise.
14723 * string/test-strcpy-ifunc.c: Likewise.
14724 * string/test-strcspn-ifunc.c: Likewise.
14725 * string/test-strlen-ifunc.c: Likewise.
14726 * string/test-strncasecmp-ifunc.c: Likewise.
14727 * string/test-strncat-ifunc.c: Likewise.
14728 * string/test-strncmp-ifunc.c: Likewise.
14729 * string/test-strncpy-ifunc.c: Likewise.
14730 * string/test-strnlen-ifunc.c: Likewise.
14731 * string/test-strpbrk-ifunc.c: Likewise.
14732 * string/test-strrchr-ifunc.c: Likewise.
14733 * string/test-strspn-ifunc.c: Likewise.
14734 * string/test-strstr-ifunc.c: Likewise.
14735
de54b33a
L
14736 * debug/Makefile (tests-ifunc): New variable.
14737 (tests): Add $(tests-ifunc).
14738 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
14739 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
14740 * debug/test-stpcpy_chk-ifunc.c: New file.
14741 * debug/test-strcpy_chk-ifunc.c: Likewise.
14742
88481c16
SP
147432012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14744
14745 [BZ #13601]
14746 * elf/dl-load.c (open_verify): Retry read if the entire ELF
14747 header is not read in.
14748
135948bd
JM
147492012-10-19 Joseph Myers <joseph@codesourcery.com>
14750
89f1c388
JM
14751 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
14752 script to $(SHELL) as $<. Pass $(common-objpfx) to script
14753 directly. Pass built executable to script as
14754 $(built-program-cmd).
14755 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
14756 $testprogram without using LD_LIBRARY_PATH and $ldso.
14757
e40a0d21
JM
14758 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
14759 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
14760 $(rtld-installed-name).
14761 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
14762 (rtld_installed_name): Likewise.
14763 (library_path): Likewise.
14764 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
14765 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
14766 $(run-program-prefix) to tst-tables.sh.
14767 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
14768 it to run tst-table-from and tst-table-to.
14769 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
14770 Pass it to tst-table.sh.
14771 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
14772 $(run-program-prefix) to tst-gettext.sh.
14773 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
14774 tst-translit.sh.
14775 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
14776 tst-gettext2.sh.
14777 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
14778 to run tst-gettext.
14779 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
14780 to run tst-gettext2.
14781 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
14782 to run tst-translit.
14783 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
14784 $(run-program-prefix) to tst-mtrace.sh.
14785 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
14786 to run tst-mtrace.
14787 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
14788 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
14789 $(rtld-installed-name).
14790 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
14791 (rtld_installed_name): Likewise.
14792 (run_program_prefix): New variable. Use it to run wordexp-test.
14793
728e272a
JM
14794 * Makeconfig (ARCH): Remove all definitions.
14795 (machine): Likewise.
14796 [ARCH]: Remove conditional code.
14797 [!objdir]: Give error.
14798 [!objdir] (objpfx): Remove.
14799 [!objdir] (common-objpfx): Likewise.
14800 [!objdir] (common-objdir): Likewise.
14801 * configure.in (config_makefile): Remove. Hardcode Makefile in
14802 AC_CONFIG_FILES call.
14803 * configure: Regenerated.
14804
d528cdcf
JM
14805 [BZ #13888]
14806 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
14807 or TMPDIR.
14808 (testout): Likewise.
14809
135948bd
JM
14810 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
14811 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
14812 $(rtld-installed-name).
14813 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
14814 (rtld_installed_name): Likwise.
14815 (runit): Remove function.
14816 (run_getconf): New variable, Use it for running getconf binary.
14817
38c78296
L
148182012-10-18 H.J. Lu <hongjiu.lu@intel.com>
14819
14820 [BZ #14716]
14821 * string/test-memmem.c (check_result): New function.
14822 (do_one_test): Use it.
14823 (check1): New function.
14824 (test_main): Use it.
14825
d077f65f
MT
148262012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
14827
14828 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
14829
ced52c71
JM
148302012-10-18 Joseph Myers <joseph@codesourcery.com>
14831
14832 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
14833 (_G_LSEEK64): Likewise.
14834 (_G_MMAP64): Likewise.
14835 (_G_FSTAT64): Likewise.
14836 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
14837 (_G_LSEEK64): Likewise.
14838 (_G_MMAP64): Likewise.
14839 (_G_FSTAT64): Likewise.
14840 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
14841 unconditional. Call __mmap64 directly.
14842 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
14843 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
14844 __lseek64 directly.
14845 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
14846 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
14847 __mmap64 directly.
14848 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
14849 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
14850 __lseek64 directly.
14851 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
14852 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
14853 __lseek64 directly.
14854 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
14855 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
14856 __lseek64 directly.
14857 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
14858 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
14859 __fxstat64 directly.
14860 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
14861 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
14862 unconditional.
14863 (freopen64) [!_G_OPEN64]: Remove conditional code.
14864 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
14865 unconditional.
14866 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
14867 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
14868 unconditional.
14869 (ftello64) [!_G_LSEEK64]: Remove conditional code.
14870 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
14871 unconditional.
14872 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14873 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
14874 unconditional.
14875 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
14876 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
14877 unconditional.
14878 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14879 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
14880 unconditional.
14881 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14882 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
14883 unconditional.
14884 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14885
b741de23
SP
148862012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14887
14888 [BZ #12140]
14889 * manual/memory.texi (Malloc Tunable Parameters): Add note
14890 about free list pointers overwriting some perturb bytes.
14891 Wording suggested by Roland McGrath.
14892
f9b9d9c9
JM
148932012-10-17 Joseph Myers <joseph@codesourcery.com>
14894
14895 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
14896 (lgamma_test): Likewise.
14897 (tgamma_test): Likewise.
14898
172a631a
FW
148992012-10-16 Florian Weimer <fweimer@redhat.com>
14900
14901 [BZ #14700]
14902 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
14903 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
14904
e9f37252
MK
149052012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
14906
14907 * NEWS: Mention BZ #14716.
14908 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
14909 when removing AVAILABLE1_USES_J macro.
14910
d394eb74
L
149112012-10-12 H.J. Lu <hongjiu.lu@intel.com>
14912
14913 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
14914 (__bswap_64): __uint64_t for unsigned 64-bit int.
14915
ca38dc17
AS
149162012-10-12 Andreas Schwab <schwab@linux-m68k.org>
14917
14918 * include/string.h (memmem): Declare libc hidden alias.
14919 * string/memmem.c (memmem): Define libc hidden alias.
14920 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
14921 __read, __close instead of open, read, close.
14922
9a387d1f
L
149232012-10-11 H.J. Lu <hongjiu.lu@intel.com>
14924
ac49ecaf
L
14925 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
14926 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
14927 global and hidden.
14928 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
14929 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
14930 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
14931 Likewise.
14932 (__rawmemchr_sse2): Likewise.
14933 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
14934 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
14935 (__strchr_sse2): Likewise.
14936 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
14937 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
14938 (__strcasecmp_sse2): Likewise.
14939 (__strncasecmp_sse2): Likewise.
14940 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
14941 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
14942 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
14943 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
14944 (__strrchr_sse2): Likewise.
14945 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
14946 ifunc-impl-list.c.
14947 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14948 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14949 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14950 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14951 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14952 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14953 * sysdeps/x86_64/multiarch/memset.S: Likewise.
14954 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14955 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
14956 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
14957 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
14958 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
14959 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
14960 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14961 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14962 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14963 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14964 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14965 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
14966 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
14967 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
14968 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
14969 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
14970 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
14971 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
14972 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14973 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14974 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14975 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14976 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14977
b090e8ea
L
14978 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
14979 global and hidden.
14980 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
14981 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
14982 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
14983 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
14984 Likewise.
14985 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
14986 Likewise.
14987 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
14988 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
14989 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
14990 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
14991 ifunc-impl-list.c.
14992 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14993 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14994 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14995 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14996 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14997 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14998 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14999 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15000 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15001 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15002 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15003 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15004 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15005 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
15006 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
15007 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15008 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
15009 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
15010 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15011 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15012 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15013 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15014 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15015 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15016 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15017 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
15018 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
15019 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
15020 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
15021 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15022 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
15023 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15024 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15025 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
15026 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15027 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15028 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15029 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15030 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15031 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15032 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
15033
11dd4af6
L
15034 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
15035 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
15036 * include/ifunc-impl-list.h: New file.
15037 * misc/ifunc-impl-list.c: Likewise.
15038 * misc/Makefile (routines): Add ifunc-impl-list.
15039 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
15040 * string/test-string.h: Include <ifunc-impl-list.h>.
15041 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
15042 impl_array): New variables.
15043 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
15044 are defined.
15045 (test_init): Call __libc_ifunc_impl_list to initialize
15046 func_list if TEST_IFUNC and TEST_NAME are defined.
15047
9a387d1f
L
15048 * string/Makefile (strop-tests): Add bcopy and bzero.
15049 * string/test-bcopy.c: New file.
15050 * string/test-bzero.c: Likewise.
15051 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
15052 defined.
15053 * string/test-memset.c: Support bzero test if TEST_BZERO is
15054 defined.
15055 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
15056 __libc_memmove.
15057 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
15058 __libc_memset.
15059 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
15060 of memset.
15061
472371b9
JM
150622012-10-10 Joseph Myers <joseph@codesourcery.com>
15063
1e4a9536
JM
15064 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
15065 * configure: Regenerated.
15066
d173d12e
JM
15067 * Makeconfig (+link-static-before-libc): Don't include
15068 $(link-static-libc).
15069
472371b9
JM
15070 * libio/libio.h (_IO_pos_t): Remove.
15071
89a3ad0b
AO
150722012-10-10 Alexandre Oliva <aoliva@redhat.com>
15073
15074 * NEWS: Add note about FIPS mode. Wording suggested by Roland
15075 McGrath.
15076
e7451425
AO
150772012-10-10 Alexandre Oliva <aoliva@redhat.com>
15078
15079 * crypt/crypt-entry.c: Include fips-private.h.
15080 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
15081 * crypt/md5c-test.c (main): Tolerate disabled MD5.
15082 * sysdeps/unix/sysv/linux/fips-private.h: New file.
15083 * sysdeps/generic/fips-private.h: New file, dummy fallback.
15084
4ba74a35
AO
150852012-10-10 Alexandre Oliva <aoliva@redhat.com>
15086
15087 * crypt/crypt-private.h: Include stdbool.h.
15088 (_ufc_setup_salt_r): Return bool.
15089 * crypt/crypt-entry.c: Include errno.h.
15090 (__crypt_r): Return NULL with EINVAL for bad salt.
15091 * crypt/crypt_util.c (bad_for_salt): New.
15092 (_ufc_setup_salt_r): Check that salt is long enough and within
15093 the specified alphabet.
15094 * crypt/badsalttest.c: New file.
15095 * crypt/Makefile (tests): Add it.
15096 ($(objpfx)badsalttest): New.
15097
f96f1242
MK
150982012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
15099
15100 * NEWS: Add entry for BZ #14602.
15101
0e8e0c1c
JM
151022012-10-09 Joseph Myers <joseph@codesourcery.com>
15103
15104 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
15105 type-generic.
15106 * math/libm-test.inc: Update comment listing what functions and
15107 macros are tested.
15108 (isgreater_test): New function.
15109 (isgreaterequal_test): Likewise.
15110 (isless_test): Likewise.
15111 (islessequal_test): Likewise.
15112 (islessgreater_test): Likewise.
15113 (isunordered_test): Likewise.
15114 (main): Call the new functions.
15115
273edc5e
RM
151162012-10-09 Roland McGrath <roland@hack.frob.com>
15117
b8493de0
RM
15118 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
15119 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
15120 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
15121 * sysdeps/i386/configure: Regenerated.
15122 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
15123 * sysdeps/mach/configure: Regenerated.
15124 * sysdeps/mach/hurd/configure: Regenerated.
15125 * sysdeps/powerpc/configure: Regenerated.
15126 * sysdeps/powerpc/powerpc32/configure: Regenerated.
15127 * sysdeps/powerpc/powerpc64/configure: Regenerated.
15128 * sysdeps/s390/s390-32/configure: Regenerated.
15129 * sysdeps/s390/s390-64/configure: Regenerated.
15130 * sysdeps/sh/configure: Regenerated.
15131 * sysdeps/sparc/configure: Regenerated.
15132 * sysdeps/unix/sysv/linux/configure: Regenerated.
15133 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
15134 * sysdeps/x86_64/configure: Regenerated.
15135
273edc5e
RM
15136 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
15137 defined. Don't check if MAP is NULL.
15138
c8450f70
JM
151392012-10-09 Joseph Myers <joseph@codesourcery.com>
15140
15141 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
15142 (_G_stat64): Likewise.
15143 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
15144 (_G_stat64): Likewise.
15145 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
15146 instead of struct _G_stat64.
15147 * libio/fileops.c (mmap_remap_check): Likewise.
15148 (decide_maybe_mmap): Likewise.
15149 (_IO_new_file_seekoff): Likewise.
15150 (_IO_file_stat): Likewise.
15151 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
15152 _G_off64_t.
15153 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
15154 instead of struct _G_stat64.
15155 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15156
57e605ba
MK
151572012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
15158
15159 [BZ #14602]
15160 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15161 Replace with ...
15162 (CHECK_EOL): New macro.
15163 (two_way_short_needle): Check beginning of haystack for EOL. Use
15164 CHECK_EOL.
15165 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15166 Replace with CHECK_EOL.
15167 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15168 Replace with CHECK_EOL.
15169
ef1bb361
JM
151702012-10-08 Joseph Myers <joseph@codesourcery.com>
15171
15172 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
15173 type-generic.
15174 * math/libm-test.inc: Update comment listing what functions and
15175 macros are tested.
15176 (finite_test): New function.
15177 (isinf_test): Likewise.
15178 (isnan_test): Likewise.
15179 (fpclassify_test): Test subnormal input.
15180 (isfinite_test): Likewise.
15181 (isnormal_test): Likewise.
15182 (main): Call the new functions.
15183
55f11534
JN
151842012-10-08 Jonathan Nieder <jrnieder@gmail.com>
15185
15186 [BZ #14660]
15187 * Makerules (%.dynsym): Force C locale when running
15188 $(OBJDUMP) --dynamic-syms.
15189
1ab29350
AS
151902012-10-08 Andreas Schwab <schwab@linux-m68k.org>
15191
15192 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
15193 <stdint.h>.
15194
f1ecb7ef
DM
151952012-10-06 David S. Miller <davem@davemloft.net>
15196
15197 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
15198 upper 32-bits of the length value in %o2 since we use branch-on-register
15199 tests which consider the entire 64-bit register.
15200
5d41d91a
L
152012012-10-06 H.J. Lu <hongjiu.lu@intel.com>
15202
15203 * string/test-strstr.c (check2): Add a test for page boundary.
15204
3baddb72
DM
152052012-10-05 David S. Miller <davem@davemloft.net>
15206
15207 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
15208 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
15209 file.
15210 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15211 sysdep_routines.
15212 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15213 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
15214 and bzero when HWCAP_SPARC_CRYPTO is present.
15215
9cee5585
L
152162012-10-05 H.J. Lu <hongjiu.lu@intel.com>
15217
d7e0dab9
L
15218 [BZ #14602]
15219 * string/test-strstr.c (check2): New function.
15220 (test_main): Call check2.
15221
03759f47
L
15222 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
15223 and bug-strchr1.
15224 * string/bug-strcasestr1.c (do_test): Moved to ...
15225 * string/test-strcasestr.c (check1): Here. New function.
15226 (do_one_test): Break out result checking code into ...
15227 (check_result): This. New function.
15228 (do_one_test): Call check_result.
15229 (test_main): Call check1.
15230 * string/bug-strchr1.c (do_test): Moved to ...
15231 * string/test-strchr.c (check1): Here. New function.
15232 (do_one_test): Break out result checking code into ...
15233 (check_result): This. New function.
15234 (do_one_test): Call check_result.
15235 (test_main): Call check1.
15236 * string/bug-strstr1.c (main): Moved to ...
046f153e 15237 * string/test-strstr.c (check1): Here. New function.
03759f47
L
15238 (do_one_test): Break out result checking code into ...
15239 (check_result): This. New function.
15240 (do_one_test): Call check_result.
15241 (test_main): Call check1.
15242 * string/bug-strcasestr1.c: Removed.
15243 * string/bug-strchr1.c: Likewise.
15244 * string/bug-strstr1.c: Likewise.
15245
53cea63e
L
15246 * elf/Makefile (dl-routines): Add hwcaps.
15247 * elf/dl-support.c (_dl_important_hwcaps): Removed.
15248 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
15249 (_dl_important_hwcaps): Moved to ...
15250 * elf/dl-hwcaps.c: Here. New file.
15251 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
15252
9cee5585 15253 [BZ #14557]
bb859b06
L
15254 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
15255 if IS_IN_rtld isn't defined.
15256
9cee5585
L
15257 * elf/dl-support.c (_dl_sysinfo_map): New.
15258 Include "get-dynamic-info.h" and "setup-vdso.h".
15259 (_dl_non_dynamic_init): Call setup_vdso.
15260 * elf/dynamic-link.h: Don't include <assert.h>.
15261 (elf_get_dynamic_info): Moved to ...
15262 * elf/get-dynamic-info.h: Here. New file.
15263 * elf/dynamic-link.h: Include "get-dynamic-info.h".
15264 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
15265 * elf/setup-vdso.h: Here. New file.
15266 * elf/rtld.c: Include "setup-vdso.h".
15267 (dl_main): Call setup_vdso.
15268
23c31b76
JM
152692012-10-05 Joseph Myers <joseph@codesourcery.com>
15270
28234b07
JM
15271 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
15272 creal in comment listing functions tested. List finite, isinf,
15273 isnan, isless, islessequal, isgreater, isgreaterequal,
15274 islessgreater, isunordered, lgamma_r and pow10 as functions and
15275 macros not tested. Mention which functions not tested are aliases
15276 for other functions. Fix typo. Note that signs of NaNs are not
15277 tested.
15278
23c31b76
JM
15279 * scripts/config.guess: Update from config.git.
15280 * scripts/config.sub: Likewise.
15281
9043e228
RM
152822012-10-04 Roland McGrath <roland@hack.frob.com>
15283
15284 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
15285 * misc/madvise.c (madvise): Renamed to __madvise.
15286 Make madvise a weak alias.
15287 * include/sys/mman.h: Declare __madvise.
15288 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
15289 * sysdeps/unix/syscalls.list
15290 (madvise): Make __madvise the strong name, and madvise a weak alias.
15291 * sysdeps/unix/sysv/linux/syscalls.list
15292 (madvise, mmap): Remove redundant entries.
15293 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
15294 * malloc/malloc.c (mtrim): Likewise.
15295 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
15296
f57f8055
RM
152972012-10-03 Roland McGrath <roland@hack.frob.com>
15298
15299 * sysdeps/mach/hurd/dl-cache.c: File removed.
15300 * config.h.in (USE_LDCONFIG): New #undef.
15301 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
15302 * configure: Regenerated.
15303 * elf/Makefile (dl-routines): Add dl-cache only under
15304 [$(use-ldconfig) = yes].
15305 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
15306 cache on [USE_LDCONFIG].
15307 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
15308 [USE_LDCONFIG].
15309 * elf/rtld.c (dl_main): Likewise.
15310
5bb0c10a
PT
153112012-10-03 Pino Toscano <toscano.pino@tiscali.it>
15312
15313 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
15314 _SC_LEVEL4_CACHE_LINESIZE.
15315
010188c6
RM
153162012-10-03 Roland McGrath <roland@hack.frob.com>
15317
15318 * sysdeps/unix/bsd/confstr.h: File removed.
15319
b6c5ec07
AO
153202012-10-02 Alexandre Oliva <aoliva@redhat.com>
15321
15322 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
15323 sys/sdt-config.h.
15324
408223d4
RM
153252012-10-02 Roland McGrath <roland@hack.frob.com>
15326
15327 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
15328 Make 'mapoff' field ElfW(Off) rather than off_t.
15329
bb9510dc
DL
153302012-10-02 Dmitry V. Levin <ldv@altlinux.org>
15331
fc997c6e
DL
15332 * nscd/Makefile: Remove nscd-cflags and all its users.
15333 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
15334 (CFLAGS-nonlib): Add compiler flags for nscd modules.
15335
bb9510dc
DL
15336 [BZ #10631]
15337 * malloc.c (malloc_printerr): Clarify error message.
15338
05699367
L
153392012-10-02 H.J. Lu <hongjiu.lu@intel.com>
15340
15341 [BZ #14648]
15342 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15343 Set bit_FMA_Usable if FMA is supported.
15344 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
15345 macro.
15346 (bit_FMA4_Usable): Updated.
15347 (index_FMA_Usable): New macro.
15348 (CPUID_FMA): Likewise
15349 (HAS_FMA): Defined with bit_FMA_Usable.
15350
51367701
RM
153512012-10-01 Roland McGrath <roland@hack.frob.com>
15352
15353 * bits/types.h (__swblk_t): Type removed.
15354 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
15355 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
15356 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15357 (__SWBLK_T_TYPE): Likewise.
15358 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15359 (__SWBLK_T_TYPE): Likewise.
15360 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15361 (__SWBLK_T_TYPE): Likewise.
15362 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15363 (__SWBLK_T_TYPE): Likewise.
15364
4d57bf63 153652012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 15366 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
15367
15368 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
15369 (xdr_mapname): Use YPMAXMAP as maxsize.
15370 (xdr_peername): Use YPMAXPEER as maxsize.
15371 (xdr_keydat): Use YPAXRECORD as maxsize.
15372 (xdr_valdat): Use YPMAXRECORD as maxsize.
15373
93c65d43
RM
153742012-10-01 Roland McGrath <roland@hack.frob.com>
15375
497a03d6
RM
15376 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
15377
93c65d43
RM
15378 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
15379 * csu/init-first.c: ... here.
15380 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
15381 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
15382 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
15383 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15384 * sysdeps/i386/init-first.c: File removed.
15385 * sysdeps/sh/init-first.c: File removed.
15386
bec749fd
JM
153872012-10-01 Joseph Myers <joseph@codesourcery.com>
15388
15389 [BZ #14645]
15390 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
15391 if x * y might underflow to zero and z is zero.
15392 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15393 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15394 * math/libm-test.inc (min_subnorm_value): New variable.
15395 (fma_test): Add more tests.
15396 (fma_test_towardzero): Likewise.
15397 (fma_test_downward): Likewise
15398 (fma_test_upward): Likewise.
15399 (initialize): Set min_subnorm_value.
15400
8ec5b013
JM
154012012-09-29 Joseph Myers <joseph@codesourcery.com>
15402
15403 [BZ #14638]
15404 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
15405 0 + 0.
15406 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
15407 mode for addition resulting in exact zero.
15408 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
15409 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
15410 exact 0 + 0.
15411 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15412 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15413 * math/libm-test.inc (fma_test): Add more tests.
15414 (fma_test_towardzero): New function.
15415 (fma_test_downward): Likewise.
15416 (fma_test_upward): Likewise.
15417 (main): Call the new functions.
15418
b1fa802e
DM
154192012-09-28 David S. Miller <davem@davemloft.net>
15420
15421 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
15422
d3b9fd9e
RM
154232012-09-28 Roland McGrath <roland@hack.frob.com>
15424
ea4d37b3
RM
15425 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
15426 instead of SIGALRM.
15427
ac51c949
RM
15428 * sysdeps/gnu/_G_config.h: Moved to ...
15429 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
15430 * sysdeps/mach/hurd/_G_config.h: Moved to ...
15431 * sysdeps/generic/_G_config.h: ... here.
15432
28c195f7
RM
15433 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
15434
848917f9
RM
15435 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
15436
6bacf05b
RM
15437 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
15438 Conditionalize target on [libnss_test1.so-version].
15439
91363dbb
RM
15440 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
15441
cc87f7d8
RM
15442 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
15443 (elfobjdir): Move out of conditionals.
15444
b1c608fe
RM
15445 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
15446 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
15447 (__nss_lookup_function): Conditionalize label remove_from_tree on
15448 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 15449
1d9a6d96
DM
154502012-09-28 David S. Miller <davem@davemloft.net>
15451
15452 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
15453 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
15454 file.
15455 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15456 sysdep_routines.
15457 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15458 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
15459 when HWCAP_SPARC_CRYPTO is present.
15460
72581615
PT
154612012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15462
15463 * io/tst-mknodat.c: Create a FIFO instead of a socket.
15464
715a900c
JL
154652012-09-28 Andreas Schwab <schwab@linux-m68k.org>
15466
15467 [BZ #6530]
15468 * stdio-common/vfprintf.c (process_string_arg): Revert
15469 2000-07-22 change.
15470
154712011-09-28 Jonathan Nieder <jrnieder@gmail.com>
15472
15473 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
15474 for testcase.
15475 * stdio-common/tst-sprintf.c: Include <locale.h>
15476 (main): Test sprintf's handling of incomplete multibyte
15477 characters.
15478
9bac1d86
L
154792012-09-28 H.J. Lu <hongjiu.lu@intel.com>
15480
15481 * elf/dl-runtime.c (VERSYMIDX): Removed.
15482 * elf/dl-version.c (VERSYMIDX): Likewise.
15483 * elf/do-rel.h (VERSYMIDX): Likewise.
15484 (VALIDX): Likewise.
15485 * elf/dynamic-link.h (VERSYMIDX): Likewise.
15486 * elf/rtld.c (VALIDX): Likewise.
15487 (ADDRIDX): Likewise.
9bac1d86
L
15488 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
15489 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
15490 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
15491 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
15492 (VALIDX): Likewise.
15493 (ADDRIDX): Likewise.
9bac1d86 15494
b31606c0
PT
154952012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15496
15497 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
15498
11541177
JL
154992012-09-28 Dmitry V. Levin <ldv@altlinux.org>
15500
15501 [BZ #11438]
15502 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
15503 to global scope.
15504 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
15505 addresses are in the same scope as 192.0.2/24.
15506 * posix/gai.conf: Document new scope table defaults.
15507
adb26fae
SP
155082012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15509
15510 [BZ #5298]
15511 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
15512 for ftell. Compute offsets from write pointers instead.
15513 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15514
4573c6b0
SP
155152012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15516
15517 [BZ #14543]
15518 * libio/Makefile (tests): New test case tst-fseek.
15519 * libio/tst-fseek.c: New test case to verify that fseek/ftell
15520 combination works in wide mode.
15521 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
15522 state when the external buffer state changes.
15523
aa9bbfe6
DM
155242012-09-27 David S. Miller <davem@davemloft.net>
15525
15526 [BZ #14376]
15527 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
15528 pass reloc->r_addend in as the 'high' argument to
15529 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
15530
784421e7
DM
15531 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15532
c39bc8b8
PT
155332012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15534
15535 * rt/tst-aio2.c: Include <pthread.h>.
15536 * rt/tst-aio3.c: Likewise.
15537
1ccc2399
SE
155382012-09-27 Steve Ellcey <sellcey@mips.com>
15539
15540 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
15541
31ed4153
L
155422012-09-27 H.J. Lu <hongjiu.lu@intel.com>
15543
25f5f885
L
15544 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
15545 contents on [SHARED].
31ed4153 15546
b7bfe116
MP
155472012-09-26 Marek Polacek <polacek@redhat.com>
15548
15549 [BZ #14530]
15550 [BZ #13741]
15551 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
15552 for C++ and GCC <4.3 as well as for non GCC compilers.
15553
43c4edba
MT
155542012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15555
15556 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15557
6a1bf82f
RM
155582012-09-25 Roland McGrath <roland@hack.frob.com>
15559
15560 * Makefile.in (all, install): Declare with .PHONY.
15561 Reported by Michael Hope <michael.hope@linaro.org>.
15562
8ad11b9a
TMQMF
155632012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15564
15565 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
15566 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
15567 system header.
15568 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
15569 Likewise.
15570 (sydep_routines): Add the new and the internal functions.
15571 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
15572 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
15573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
15574 (GLIBC_2.17): Add the new function.
15575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15576 (GLIBC_2.17): Likewise.
15577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
15578 (GLIBC_2.17): Likewise.
15579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
15580 (GLIBC_2.17): Likewise.
15581 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
15582
7e2fca8d
AM
155832012-09-25 Alan Modra <amodra@gmail.com>
15584
15585 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
15586 Add release barrier before setting once_control to say
15587 initialisation is done. Add hints on lwarx. Use macro in
15588 place of isync.
15589 (clear_once_control): Add release barrier.
15590
b87c4b24
JM
155912012-09-25 Joseph Myers <joseph@codesourcery.com>
15592
d032e0d2
JM
15593 [BZ #13629]
15594 * math/s_clog.c (__clog): Handle more values close to |z| = 1
15595 specially.
15596 * math/s_clog10.c (__clog10): Likewise.
15597 * math/s_clog10f.c (__clog10f): Likewise.
15598 * math/s_clog10l.c (__clog10l): Likewise.
15599 * math/s_clogf.c (__clogf): Likewise.
15600 * math/s_clogl.c (__clogl): Likewise.
15601 * math/Makefile (libm-calls): Add x2y2m1.
15602 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
15603 (__x2y2m1): Likewise.
15604 (__x2y2m1l): Likewise.
15605 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
15606 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
15607 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15608 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15609 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
15610 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
15611 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
15612 * sysdeps/i386/fpu/libm-test-ulps: Update.
15613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15614
b87c4b24
JM
15615 [BZ #14621]
15616 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
15617 int as type of variable DEPTH.
15618 (glob): Use size_t instead of int as type of variables NEWCOUNT
15619 and OLD_PATHC.
15620
6d3bf199
LD
156212012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15622
22bf5c17
LD
15623 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15624 Add s_sincosf-sse2.
15625 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
15626 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
15627 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
15628 macros for using routine as __sincosf_ia32.
15629 Use macro for function declaration and weak_alias.
15630 * sysdeps/i386/fpu/libm-test-ulps: Update.
15631
15632 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
15633 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15634
15635 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
15636 subnormal argument.
15637 * math/s_cexpf.c (__cexpf): Likewise.
15638 * math/s_csinf.c (__csinf): Likewise.
15639 * math/s_csinhf.c (__csinhf): Likewise.
15640 * math/s_ctanf.c (__ctanf): Likewise.
15641 * math/s_ctanhf.c (__ctanhf): Likewise.
15642 * math/s_ccosh.c (__ccoshf): Likewise.
15643 * math/s_cexp.c (__cexpl): Likewise.
15644 * math/s_csin.c (__csin): Likewise.
15645 * math/s_csinh.c (__csinh): Likewise.
15646 * math/s_ctan.c (__ctan): Likewise.
15647 * math/s_ctanh.c (ctanh): Likewise.
15648 * math/s_ccoshl.c (__ccoshl): Likewise.
15649 * math/s_cexpl.c (__cexpl): Likewise.
15650 * math/s_csinl.c (__csinl): Likewise.
15651 * math/s_csinhl.c (__csinhl): Likewise.
15652 * math/s_ctanl.c (__ctanl): Likewise.
15653 * math/s_ctanhl.c (__ctanhl): Likewise.
15654
203e5603
JM
156552012-09-25 Joseph Myers <joseph@codesourcery.com>
15656
15657 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
15658 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
15659 (_IO_off_t): Define to __off_t, not _G_off_t.
15660 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
15661 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
15662 (_IO_wint_t): Define to wint_t, not _G_wint_t.
15663 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
15664 type of __dummy and __dummy2 fields.
15665 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
15666 (_G_ssize_t): Likewise.
15667 (_G_off_t): Likewise.
15668 (_G_pid_t): Likewise.
15669 (_G_uid_t): Likewise.
15670 (_G_wchar_t): Likewise.
15671 (_G_wint_t): Likewise.
15672 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
15673 (_G_ssize_t): Likewise.
15674 (_G_off_t): Likewise.
15675 (_G_pid_t): Likewise.
15676 (_G_uid_t): Likewise.
15677 (_G_wchar_t): Likewise.
15678 (_G_wint_t): Likewise.
15679 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
15680 (_G_ssize_t): Likewise.
15681 (_G_off_t): Likewise.
15682 (_G_pid_t): Likewise.
15683 (_G_uid_t): Likewise.
15684 (_G_wchar_t): Likewise.
15685 (_G_wint_t): Likewise.
15686
9fab36eb
SP
156872012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15688
15689 * malloc/arena.c: Include malloc-sysdep.h.
15690 (shrink_heap): Use check_may_shrink_heap to decide if madvise
15691 is sufficient to shrink the heap or an unmap is needed.
15692 * sysdeps/generic/malloc-sysdep.h: New file. Define
15693 new function check_may_shrink_heap.
15694 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
15695 new function check_may_shrink_heap.
15696
2b4f00d1
SP
156972012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15698
15699 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
15700 comments.
15701
9a9028b1
DL
157022012-09-24 Dmitry V. Levin <ldv@altlinux.org>
15703
57c69bef
DL
15704 * catgets/test-gencat.sh: Add "set -e".
15705 * elf/tst-pathopt.sh: Likewise.
15706 * grp/tst_fgetgrent.sh: Likewise.
15707 * iconvdata/run-iconv-test.sh: Likewise.
15708 * intl/tst-gettext.sh: Likewise.
15709 * intl/tst-gettext2.sh: Likewise.
15710 * intl/tst-gettext4.sh: Likewise.
15711 * intl/tst-gettext6.sh: Likewise.
15712 * intl/tst-translit.sh: Likewise.
15713 * io/ftwtest-sh: Likewise.
15714 * libio/test-freopen.sh: Likewise.
15715 * malloc/tst-mtrace.sh: Likewise.
15716 * posix/globtest.sh: Likewise.
15717 * posix/tst-getconf.sh: Likewise.
15718 * posix/wordexp-tst.sh: Likewise.
15719 * stdio-common/tst-printf.sh: Likewise.
15720 * stdio-common/tst-unbputc.sh: Likewise.
15721 * stdlib/tst-fmtmsg.sh: Likewise.
15722 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15723 * catgets/Makefile: Do not specify -e option when running
15724 testsuite shell scripts.
15725 * elf/Makefile: Likewise.
15726 * grp/Makefile: Likewise.
15727 * iconvdata/Makefile: Likewise.
15728 * intl/Makefile: Likewise.
15729 * io/Makefile: Likewise.
15730 * libio/Makefile: Likewise.
15731 * malloc/Makefile: Likewise.
15732 * posix/Makefile: Likewise.
15733 * stdio-common/Makefile: Likewise.
15734 * stdlib/Makefile: Likewise.
15735 * sysdeps/x86_64/Makefile: Likewise.
15736
9a9028b1
DL
15737 * io/ftwtest-sh: Add copyright header.
15738 * posix/globtest.sh: Likewise.
15739 * posix/tst-getconf.sh: Likewise.
15740 * posix/wordexp-tst.sh: Likewise.
15741 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15742
ced6f16e
L
157432012-09-24 H.J. Lu <hongjiu.lu@intel.com>
15744
94b32c39
L
15745 [BZ #13679]
15746 * Makeconfig (+link): Defined as $(+link-static) if
15747 $(build-shared) isn't yes.
15748 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
15749 isn't yes.
15750 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
15751
189e935b
L
15752 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
15753
ced6f16e
L
15754 [BZ #14562]
15755 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
15756 new chunk size with MALLOC_ALIGN_MASK.
15757
a9f8e53a
JM
157582012-09-24 Joseph Myers <joseph@codesourcery.com>
15759
15760 [BZ #5044]
15761 * stdio-common/printf_fphex.c: Include <stdbool.h> and
15762 <rounding-mode.h>.
15763 (__printf_fphex): Determine rounding using get_rounding_mode and
15764 round_away.
15765 * stdio-common/tst-printf-round.c (struct hex_test): New
15766 structure.
15767 (hex_tests): New variable.
15768 (test_hex_in_one_mode): New function.
15769 (do_test): Also run tests for hex float output.
15770
43153109
JM
157712012-09-21 Joseph Myers <joseph@codesourcery.com>
15772
15773 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15774 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15775 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
15776 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15777 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15778 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
15779 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15780 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15781
8a26625d
JM
157822012-09-20 Joseph Myers <joseph@codesourcery.com>
15783
15784 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
15785 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
15786 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
15787 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
15788
f3fd569c
DL
157892012-09-19 Dmitry V. Levin <ldv@altlinux.org>
15790
15791 [BZ #14579]
15792 * elf/rtld.c (dl_main): Limit the check for self loading to normal
15793 mode only.
15794 * elf/tst-rtld-load-self.sh: New test.
15795 * elf/Makefile: Run it.
15796
63bbedd4
JM
157972012-09-18 Joseph Myers <joseph@codesourcery.com>
15798
15799 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
15800 (tst-writev-ENV): Remove.
15801 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
15802
626f8b6a
CM
158032012-09-17 Chris Metcalf <cmetcalf@tilera.com>
15804
15805 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
15806
b7aaa4d6
JM
158072012-09-17 Joseph Myers <joseph@codesourcery.com>
15808
15809 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
15810 unconditional.
15811 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
15812 Likewise.
15813 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
15814 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
15815 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
15816 Likewise.
15817
65513990
L
158182012-09-14 H.J. Lu <hongjiu.lu@intel.com>
15819
15820 [BZ #14587]
15821 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
15822 * config.make.in (have-cpp-asm-debuginfo): Removed.
15823 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
15824 * configure: Regenerated.
15825
784761be
JM
158262012-09-14 Joseph Myers <joseph@codesourcery.com>
15827
15828 [BZ #5044]
15829 * stdio-common/printf_fp.c: Include <stdbool.h> and
15830 <rounding-mode.h>.
15831 (___printf_fp): Determine rounding using get_rounding_mode and
15832 round_away.
15833 * stdio-common/tst-printf-round.c: New file.
15834 * stdio-common/Makefile (tests): Add tst-printf-round.
15835 (link-libm): New variable.
15836 ($(objpfx)tst-printf-round): Depend in $(link-libm).
15837
9503345f
L
158382012-09-13 H.J. Lu <hongjiu.lu@intel.com>
15839
15840 [BZ #14576]
15841 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
15842 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
15843 Likewise.
15844 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
15845 Likewise.
15846
ad35fc00
JM
158472012-09-13 Joseph Myers <joseph@codesourcery.com>
15848
15849 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
15850 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15851 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15852 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15853
6c9b0f68
JM
158542012-09-12 Joseph Myers <joseph@codesourcery.com>
15855
15856 [BZ #14518]
15857 * include/rounding-mode.h: New file.
15858 * sysdeps/generic/get-rounding-mode.h: Likewise.
15859 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
15860 * stdlib/strtod_l.c: Include <rounding-mode.h>.
15861 (MAX_VALUE): New macro.
15862 (MIN_VALUE): Likewise.
15863 (overflow_value): New function.
15864 (underflow_value): Likewise.
15865 (round_and_return): Use overflow_value and underflow_value to
15866 determine return values in overflow and underflow cases. Use
15867 round_away to determine rounding depending on rounding mode.
15868 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
15869 determine return values in overflow and underflow cases.
15870 * stdlib/tst-strtod-round.c: Include <fenv.h>.
15871 (struct test_results): New structure.
15872 (struct test): Use struct test_results to store expected results
15873 for all rounding modes.
15874 (TEST): Include expected results for all rounding modes.
15875 (test_in_one_mode): New function.
15876 (do_test): Use test_in_one_mode to compute and check results.
15877 Check results for all rounding modes.
15878 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
15879 $(link-libm).
15880
19fcedd5
AM
158812012-12-09 Allan McRae <allan@archlinux.org>
15882
1e9d84cd 15883 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 15884
8bbfd2f1
JM
158852012-09-11 Joseph Myers <joseph@codesourcery.com>
15886
15887 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
15888 (_G_int32_t): Likewise.
15889 (_G_uint16_t): Likewise.
15890 (_G_uint32_t): Likewise.
15891 (_G_HAVE_BOOL): Likewise.
15892 (_G_HAVE_ATEXIT): Likewise.
15893 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15894 (_G_HAVE_IO_FILE_OPEN): Likewise.
15895 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
15896 (_G_int32_t): Likewise.
15897 (_G_uint16_t): Likewise.
15898 (_G_uint32_t): Likewise.
15899 (_G_HAVE_BOOL): Likewise.
15900 (_G_HAVE_ATEXIT): Likewise.
15901 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15902 (_G_HAVE_IO_FILE_OPEN): Likewise.
15903 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
15904 (_G_int32_t): Likewise.
15905 (_G_uint16_t): Likewise.
15906 (_G_uint32_t): Likewise.
15907 (_G_HAVE_BOOL): Likewise.
15908 (_G_HAVE_ATEXIT): Likewise.
15909 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15910 (_G_HAVE_IO_FILE_OPEN): Likewise.
15911
b1dc5912
L
159122012-09-11 H.J. Lu <hongjiu.lu@intel.com>
15913
15914 * csu/libc-tls.c: Update copyright years.
15915
0e886ef9
JM
159162012-09-10 Joseph Myers <joseph@codesourcery.com>
15917
28361c5e
JM
15918 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
15919 [!_G_USING_THUNKS]: Remove conditional code.
15920 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
15921 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
15922
0e886ef9
JM
15923 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
15924 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
15925 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15926 (_G_VTABLE_LABEL_PREFIX): Likewise.
15927 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15928 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15929 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15930 (_G_VTABLE_LABEL_PREFIX): Likewise.
15931 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15932 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15933 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15934 (_G_VTABLE_LABEL_PREFIX): Likewise.
15935 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15936
bcba7aa2
L
159372012-09-10 H.J. Lu <hongjiu.lu@intel.com>
15938
15939 * libio/Makefile: Include ../Makeconfig before tests.
15940 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
15941 only if $(build-shared) is yes.
15942
06585ee8
L
15943 * iconv/gconv_db.c: Update copyright years.
15944
80ccd52c
LD
159452012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15946
15947 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
15948 unwind info if defined PIC. Fix special cases description.
15949 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
15950
15951 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
15952 DP_HI_MASK entry.
15953 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
15954
691bc9c1
L
159552012-09-07 H.J. Lu <hongjiu.lu@intel.com>
15956
3d9b46b3
L
15957 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
15958
de2139a9
L
15959 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
15960 is NULL.
15961
5ca78dd0
L
15962 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
15963 (LDLIBS-tst-chk4): This.
15964 (LDFLAGS-tst-chk5): Renamed to ...
15965 (LDLIBS-tst-chk5): This.
15966 (LDFLAGS-tst-chk6): Renamed to ...
15967 (LDLIBS-tst-chk6): This.
15968 (LDFLAGS-tst-lfschk4): Renamed to ...
15969 (LDLIBS-tst-lfschk4): This.
15970 (LDFLAGS-tst-lfschk5): Renamed to ...
15971 (LDLIBS-tst-lfschk5): This.
15972 (LDFLAGS-tst-lfschk6): Renamed to ...
15973 (LDLIBS-tst-lfschk6): This.
15974
691bc9c1
L
15975 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
15976 on $(common-objpfx)soversions.mk.
15977
65cafb1c
JM
159782012-09-07 Joseph Myers <joseph@codesourcery.com>
15979
15980 [BZ #10014]
15981 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
15982 example host name.
15983
c78ab094
SP
159842012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15985
15986 * malloc/arena.c (arena_get_retry): New function that gets
15987 another arena for the caller to try its request on.
15988 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
15989 current arena cannot fulfill the request.
15990 (__libc_memalign): Likewise.
15991 (__libc_memalign): Likewise.
15992 (__libc_pvalloc): Likewise.
15993 (__libc_calloc): Likewise.
15994
01f49f59
JT
159952012-09-05 John Tobey <john.tobey@gmail.com>
15996
15997 [BZ #13542]
15998 * manual/arith.texi (Operations on Complex): Fix description
15999 of carg branch cut.
16000
4c23fed5
JM
160012012-09-06 Joseph Myers <joseph@codesourcery.com>
16002
1d3c8572
JM
16003 [BZ #10014]
16004 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
16005 host name.
16006
4c23fed5
JM
16007 [BZ #10038]
16008 * manual/memory.texi (Memory): Make order of menu items match
16009 order of sections.
16010
04570aaa
L
160112012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16012
16013 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
16014 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
16015 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
16016
b80af2f4
L
160172012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16018
16019 * csu/libc-tls.c (static_dtv): Renamed to ...
16020 (_dl_static_dtv): This. Make it global.
16021 (_dl_initial_dtv): Removed.
16022 (__libc_setup_tls): Updated.
16023 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
16024 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
16025 DL_INITIAL_DTV.
16026
2abe9f15
PM
160272012-09-06 Petr Machata <pmachata@redhat.com>
16028
16029 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
16030 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
16031 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
16032 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
16033
0948c3af
L
160342012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16035
16036 [BZ #14545]
16037 * csu/libc-tls.c (_dl_initial_dtv): New variable.
16038 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
16039 freeing dtv[-1].
16040
a5055ad1
L
160412012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16042
16043 [BZ #14544]
16044 * Makeconfig (link-static-before-libc): Replace $(+prector)
16045 with $(+prectorT).
16046 (link-static-after-libc): Replace $(+postctor) with
16047 $(+postctorT).
16048 (link-bounded): Replace $(+prector)/$(+postctor) with
16049 $(+prectorT)/$(+postctorT).
16050 (+prectorT): New macro.
16051 (+postctorT): Likewise.
16052
ed8c2ecd
JM
160532012-09-06 Joseph Myers <joseph@codesourcery.com>
16054
16055 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
16056 (round_str): Handle values above the maximum for IBM long double
16057 as inexact.
16058 * stdlib/tst-strtod-round.c (tests): Regenerated.
16059
14c996c8
AK
160602012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16061
16062 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
16063 assembler flag.
16064 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
16065 zarch_nohighgprs around the zarch optimized routines.
16066 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
16067 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
16068 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
16069 for zarch.
16070
430d6ce6
DM
160712012-09-05 David S. Miller <davem@davemloft.net>
16072
16073 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16074
ff04dda4
DM
16075 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
16076 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
16077 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
16078 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16079 entries.
16080
24d4e01b
AO
160812012-09-05 Alexandre Oliva <aoliva@redhat.com>
16082
16083 * malloc/arena.c: Fold copyright years.
16084 * malloc/mcheck.c, malloc/memusage.c: Likewise.
16085
61d58174
AO
160862012-09-05 Alexandre Oliva <aoliva@redhat.com>
16087
16088 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
16089
20196a5e
AO
160902012-09-05 Alexandre Oliva <aoliva@redhat.com>
16091
16092 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
16093
5c447383
AO
160942012-09-05 Alexandre Oliva <aoliva@redhat.com>
16095
16096 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
16097 change internal state upon failure.
16098
fad64255
AO
160992012-09-05 Alexandre Oliva <aoliva@redhat.com>
16100
16101 * malloc/mcheck.c (mcheck_check_all): Fix typo.
16102 * malloc/memusage.c (mmap): Likewise.
16103 (mmap64, mremap): Likewise. Adjust name in comment.
16104
1ffb8c90
SP
161052012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16106
16107 * libio/fileops.c: Fix typos in comments.
16108 * libio/oldfileops.c: Likewise.
16109 * libio/wfileops.c: Likewise.
16110
6ef9cc37
SP
161112012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16112
16113 [BZ #1349]
16114 * malloc/Makefile (tests): Add tst-malloc-usable test case.
16115 (tst-malloc-usable-ENV): Set environment for test case.
16116 * malloc/hooks.c (malloc_check_get_size): New function to get
16117 requested size.
16118 * malloc/malloc.c (musable): Use malloc_check_get_size.
16119 * malloc/tst-malloc-usable.c: New test case.
16120
4d038ae3
AS
161212012-09-05 Andreas Schwab <schwab@linux-m68k.org>
16122
16123 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
16124
c4e85184
AM
161252012-09-05 Allan McRae <allan@archlinux.org>
16126
b9dafc56 16127 [BZ #13966]
c4e85184
AM
16128 * configure.in (CXX_SYSINCLUDES): Use compiler output to
16129 determine header location.
16130 * configure: Regenerated.
16131
e1343020
AS
161322012-09-05 Andreas Schwab <schwab@linux-m68k.org>
16133
16134 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
16135 float format.
16136 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
16137 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
16138 format.
e1343020
AS
16139 (test): Regenerate.
16140
0a9f1987
DM
161412012-09-04 David S. Miller <davem@davemloft.net>
16142
16143 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
16144 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
16145 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
16146
29237804
FW
161472012-09-04 Florian Weimer <fweimer@redhat.com>
16148
16149 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
16150 failures.
16151
edb3cb88
FW
16152 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
16153
60160d83
JM
161542012-09-04 Joseph Myers <joseph@codesourcery.com>
16155
16156 [BZ #9914]
16157 * libio/iogetdelim.c: Include <limits.h>.
16158 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
16159 + len + 1 would overflow.
16160
bcd6c8dc
AJ
161612012-09-03 Andreas Jaeger <aj@suse.de>
16162
16163 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16164 * sysdeps/i386/fpu/libm-test-ulps: Update.
16165
4ffffbd2
LD
161662012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16167
16168 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16169 Add s_sinf-sse2, s_conf-sse2.
16170
16171 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
16172 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
16173 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
16174 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
16175
16176 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
16177 for using routine as __sinf_ia32.
16178 Use macro for function declaration and weak_alias.
16179 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
16180 for using routine as __cosf_ia32.
16181 Use macro for function declaration and weak_alias.
16182
16183 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
16184 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
16185
16186 * sysdeps/x86_64/fpu/s_sinf.S: New file.
16187 * sysdeps/x86_64/fpu/s_cosf.S: New file.
16188 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16189
16190 * math/libm-test.inc (cos_test): Add more test cases.
16191 (sin_test): Likewise.
16192 (sincos_test): Likewise.
16193
511fa286
AK
161942012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16195
16196 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
16197 (IFUNC_RESOLVE): Make pointers to the specialized implementations
16198 hidden.
16199 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16200
5f30cfec
L
162012012-09-02 H.J. Lu <hongjiu.lu@intel.com>
16202
16203 [BZ #14538]
16204 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
16205 first element of the GOT.
16206 (elf_machine_load_address): Return the difference between
16207 the runtime address of _DYNAMIC and elf_machine_dynamic ().
16208
0786794f
AM
162092012-09-01 Allan McRae <allan@archlinux.org>
16210
5f30cfec
L
16211 [BZ #13412]
16212 * configure.in (AWK): Require gawk version 3.0 or later.
16213 * configure: Regenerated.
0786794f 16214
26889eac
JM
162152012-09-01 Joseph Myers <joseph@codesourcery.com>
16216
16217 * sysdeps/unix/sysv/linux/kernel-features.h
16218 (__ASSUME_POSIX_CPU_TIMERS): Remove.
16219 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16220 [__NR_clock_getres]: Make code unconditional.
16221 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
16222 (clock_getcpuclockid): Remove code left unreachable by removal of
16223 conditionals.
16224 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
16225 code unconditional.
16226 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16227 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16228 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
16229 Make code unconditional.
16230 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16231 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16232 * sysdeps/unix/sysv/linux/clock_settime.c
16233 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
16234 conditional code.
16235 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
16236 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16237
d22e28b0
L
162382012-08-29 H.J. Lu <hongjiu.lu@intel.com>
16239
16240 [BZ #14476]
16241 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
16242 scripts/test-installation.pl.
16243
16244 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
16245 and $ld_so_version if it is set.
16246
050af9c4
SP
162472012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16248
16249 [BZ #14516]
16250 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
16251 failure if reading from procfs failed.
16252 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
16253
ad845c0b
JM
162542012-08-27 Joseph Myers <joseph@codesourcery.com>
16255
16256 * sysdeps/unix/sysv/linux/kernel-features.h
16257 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
16258 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16259 Remove conditional code.
16260 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16261 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
16262 Remove conditional code.
16263 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16264 * sysdeps/unix/sysv/linux/i386/fxstat.c
16265 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16266 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16267 * sysdeps/unix/sysv/linux/i386/fxstatat.c
16268 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16269 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16270 * sysdeps/unix/sysv/linux/i386/lxstat.c
16271 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16272 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16273 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
16274 Remove conditional code.
16275 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16276 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16277 Remove conditional code.
16278 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16279 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
16280 <kernel-features.h>.
16281 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
16282 Remove.
16283 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
16284 Remove conditional code.
16285 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16286 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
16287 Remove conditional.
16288
5dbf56af
MF
162892012-08-27 Mike Frysinger <vapier@gentoo.org>
16290
16291 [BZ #5400]
16292 * NEWS: Add fixed bug number.
16293
d6e70f43
JM
162942012-08-27 Joseph Myers <joseph@codesourcery.com>
16295
7efb4737
JM
16296 [BZ #14519]
16297 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
16298 underflowing exponent in case of negative sign.
16299 * stdlib/tst-strtod-round-data: Add more tests.
16300 * stdlib/tst-strtod-round.c (tests): Regenerated.
16301
af92131a
JM
16302 [BZ #3479]
16303 * stdlib/strtod_l.c (NDIG): Remove.
16304 (HEXNDIG): Likewise.
16305 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
16306 smallest representable value.
16307 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
16308 lie within an exact representation of 1/2 ulp of the result.
16309 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
16310 unconditionally.
16311 (TENS_P9_IDX): Define unconditionally.
16312 (TENS_P9_SIZE): Likewise.
16313 (TENS_P10_IDX): Likewise.
16314 (TENS_P10_SIZE): Likewise.
16315 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
16316 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
16317 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
16318 entries for 10^2^13 and 10^2^14.
16319 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
16320 (TENS_P13_IDX): Define.
16321 (TENS_P13_SIZE): Likewise.
16322 (TENS_P14_IDX): Likewise.
16323 (TENS_P14_SIZE): Likewise.
16324 (_fpioconst_pow10): Change array size to
16325 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
16326 unconditional.
16327 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
16328 1024]: Add entries for 10^2^13 and 10^2^14.
16329 [LAST_POW10 > _LAST_POW10]: Remove #error.
16330 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
16331 (_fpioconst_pow10): Change array size to
16332 FPIOCONST_POW10_ARRAY_SIZE.
16333 * stdlib/gen-fpioconst.c: New file.
16334 * stdlib/gen-tst-strtod-round.c: Likewise.
16335 * stdlib/tst-strtod-round-data: Likewise.
16336 * stdlib/tst-strtod-round.c: Likewise.
16337 * stdlib/Makefile (tests): Add tst-strtod-round.
16338
d6e70f43
JM
16339 [BZ #14459]
16340 * stdlib/strtod_l.c: Include <stdint.h>.
16341 (NDEBUG): Do not define.
16342 (round_and_return): Change EXPONENT parameter to type intmax_t.
16343 Rearrange calculations to avoid internal overflow possibilities.
16344 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
16345 Rearrange calculations to avoid internal overflow possibilities.
16346 Assert that number fits inside MPNSIZE limbs.
16347 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
16348 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
16349 calculations and add assertions to avoid internal overflow
16350 possibilities. Add casts to avoid signed/unsigned operations.
16351 * stdlib/tst-strtod-overflow.c: New file.
16352 * stdlib/Makefile (tests): Add tst-strtod-overflow.
16353
1f529f7d
MP
163542012-08-25 Marek Polacek <polacek@redhat.com>
16355
16356 * time/time.h: Fix some typos in comments.
16357
59a629f1
RM
163582012-08-23 Roland McGrath <roland@hack.frob.com>
16359
16360 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
16361 * posix/tst-rfc3484-2.c: Likewise.
16362 * posix/tst-rfc3484-3.c: Likewise.
16363
d3bafbc9
SM
163642012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
16365
16366 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
16367 (EF_ARM_ABI_FLOAT_HARD): Likewise.
16368
4efcc022
JM
163692012-08-23 Joseph Myers <joseph@codesourcery.com>
16370
16371 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
16372 #include of fxstatat64.c.
16373
3cc3ef96
RM
163742012-08-22 Roland McGrath <roland@hack.frob.com>
16375
f04e2132
RM
16376 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
16377 * shadow/getspent_r.c: Likewise.
16378 * shadow/getspnam.c: Likewise.
16379 * shadow/getspnam_r.c: Likewise.
16380 * gshadow/getsgent.c: Likewise.
16381 * gshadow/getsgent_r.c: Likewise.
16382 * gshadow/getsgnam.c: Likewise.
16383 * gshadow/getsgnam_r.c: Likewise.
16384 * inet/getnetbyad.c: Likewise.
16385 * inet/getnetbyad_r.c: Likewise.
16386 * inet/getnetbynm.c: Likewise.
16387 * inet/getnetbynm_r.c: Likewise.
16388 * inet/getnetent.c: Likewise.
16389 * inet/getnetent_r.c: Likewise.
16390 * inet/getproto.c: Likewise.
16391 * inet/getproto_r.c: Likewise.
16392 * inet/getprtent.c: Likewise.
16393 * inet/getprtent_r.c: Likewise.
16394 * inet/getprtname.c: Likewise.
16395 * inet/getprtname_r.c: Likewise.
16396 * inet/getrpcbyname.c: Likewise.
16397 * inet/getrpcbyname_r.c: Likewise.
16398 * inet/getrpcbynumber.c: Likewise.
16399 * inet/getrpcbynumber_r.c: Likewise.
16400 * inet/getrpcent.c: Likewise.
16401 * inet/getrpcent_r.c: Likewise.
16402 * inet/getaliasent.c: Likewise.
16403 * inet/getaliasent_r.c: Likewise.
16404 * inet/getaliasname.c: Likewise.
16405 * inet/getaliasname_r.c: Likewise.
16406 * nscd/getgrgid_r.c: Likewise.
16407 * nscd/getgrnam_r.c: Likewise.
16408 * nscd/gethstbyad_r.c: Likewise.
16409 * nscd/gethstbynm3_r.c: Likewise.
16410 * nscd/getpwnam_r.c: Likewise.
16411 * nscd/getpwuid_r.c: Likewise.
16412 * nscd/getsrvbynm_r.c: Likewise.
16413 * nscd/getsrvbypt_r.c: Likewise.
16414 * nscd/gai.c: Likewise.
16415
c53d909c
RM
16416 * configure.in (build_nscd): New substituted variable, set
16417 by --disable-build-nscd and defaults to $use_nscd.
16418 * configure: Regenerated.
16419 * config.make.in (build-nscd): New substituted variable.
16420 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
16421 Change conditional to require [$(build-nscd) = yes] as well.
16422 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
16423
3cc3ef96
RM
16424 [BZ# 13696]
16425 * configure.in (use_nscd): New substituted variable, set by
16426 --disable-nscd. If enabled, define USE_NSCD.
16427 * configure: Regenerated.
16428 * config.h.in: Add USE_NSCD.
16429 * config.make.in (use-nscd): New substituted variable.
16430 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
16431 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
16432 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
16433 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
16434 (CFLAGS-getgrnam_r.c): Likewise.
16435 (CFLAGS-initgroups.c): Likewise.
16436 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
16437 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
16438 Variables removed.
16439 * inet/getnetgrent_r.c
16440 (nscd_setnetgrent): New function, broken out of ...
16441 (setnetgrent): ... here. Call it.
16442 (innetgr): Conditionalize nscd bits on [USE_NSCD].
16443 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
16444 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
16445 * nscd/Makefile (routines, aux): Move definitions after include of
16446 Makeconfig. Conditionalize on [$(use-nscd) != no].
16447 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
16448 Conditionalize on [USE_NSCD].
16449 (is_nscd, nscd_init_cb): Likewise.
16450 (nss_load_library): Conditionalize init callback on [USE_NSCD].
16451 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
16452 * nss/nss_db/db-init.c: Likewise.
16453 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
16454 [USE_NSCD].
16455 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
16456 (make_request): Use it.
16457 (cache_valid_p): New function.
16458 (__check_pf): Use it.
16459 * NEWS: Add item for --disable-nscd.
16460
07e51550
DL
164612012-08-22 Dmitry V. Levin <ldv@altlinux.org>
16462
16463 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
16464 to support sed >= 4.2.1-20-ga9bf076.
16465 * configure: Regenerated.
16466
35a5b08b
RM
164672012-08-22 Roland McGrath <roland@hack.frob.com>
16468
16469 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
16470 Conditionalize whole body on [IREL].
16471
8479f23a
JL
164722012-08-22 Jeff Law <law@redhat.com>
16473
16474 [BZ #14505]
16475 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
16476 if the family is PF_UNSPEC.
16477
48da0b21
MF
164782012-08-22 Mike Frysinger <vapier@gentoo.org>
16479
16480 * Makerules (lib-version): Rename from V.
16481 (install-lib-nosubdir): Change V to lib-version.
16482
15d0da8c
WS
164832012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
16484
16485 [BZ #14252]
16486 * powerpc32/power6/wcschr.c: New file.
16487 * powerpc32/power6/wcscpy.c: New file.
16488 * powerpc32/power6/wcsrchr.c: New file.
16489 * powerpc64/power6/wcschr.c: New file.
16490 * powerpc64/power6/wcscpy.c: New file.
16491 * powerpc64/power6/wcsrchr.c: New file.
16492
bcca0895
MK
164932012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
16494
16495 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
16496 (two_way_short_needle): Use it.
5a4aaa33
RM
16497 * string/strstr.c (AVAILABLE1_USES_J): Define.
16498 * string/strcasestr.c: Likewise.
99677e57
MK
16499
16500 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
16501 array references.
16502 * string/strcasestr.c (TOLOWER): Make side-effect safe.
16503
400726de
MK
16504 [BZ #11607]
16505 * NEWS: Add an entry.
16506 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
16507 define their defaults.
16508 (two_way_short_needle): Detect end-of-string on-the-fly.
16509 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
16510 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
16511 * string/bug-strcasestr1.c: New test.
16512 * string/Makefile: Run it.
16513
20a71f2c
MK
165142012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
16515
16516 [BZ #11607]
16517 * string/str-two-way.h (two_way_short_needle): Optimize matching of
16518 the first character.
16519
21ad0558
RM
165202012-08-21 Roland McGrath <roland@hack.frob.com>
16521
16522 * csu/elf-init.c (__libc_csu_irel): Function removed.
16523 * csu/libc-start.c (apply_irel): New function.
16524 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
16525
0e1d9911
JM
165262012-08-21 Joseph Myers <joseph@codesourcery.com>
16527
16528 * sysdeps/unix/sysv/linux/kernel-features.h
16529 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
16530 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16531 <kernel-features.h>.
16532 [__NR_fadvise64_64]: Make code unconditional.
16533 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
16534 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16535 !__NR_fadvise64_64)]: Likewise.
16536 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16537 !__NR_fadvise64_64))]: Likewise.
16538 [__NR_fadvise64]: Make code unconditional.
16539 [!__NR_fadvise64]: Remove conditional code.
16540 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
16541 <kernel-features.h>.
16542 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16543 unconditional.
16544 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16545 conditional code.
16546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
16547 not include <kernel-features.h>.
16548 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16549 unconditional.
16550 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16551 conditional code.
16552 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
16553 include <kernel-features.h>.
16554 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16555 unconditional.
16556 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16557 conditional code.
16558
14a50c9d
WS
165592012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16560
16561 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
16562 slight instruction rearrangements per scrollpipe analysis.
16563 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16564
c0f4faf0
RM
165652012-08-20 Roland McGrath <roland@hack.frob.com>
16566
696da859
RM
16567 * manual/syslog.texi (syslog; vsyslog, closelog):
16568 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
16569 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
16570
c0f4faf0
RM
16571 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
16572 DSOCAPS to match condition on defining it.
16573
348363b2
JM
165742012-08-20 Joseph Myers <joseph@codesourcery.com>
16575
a35cbf28
JM
16576 * sysdeps/unix/sysv/linux/kernel-features.h
16577 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
16578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
16579 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16580 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
16582 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16583 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
16585 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16586 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16587
445f7ecd
JM
16588 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
16589 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
16590
348363b2
JM
16591 * sysdeps/unix/sysv/linux/kernel-features.h
16592 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
16593 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
16594 unconditional.
16595 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16596 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
16597 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16598 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16599 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
16600 Make code unconditional.
16601 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16602 (__mmap64) [!__NR_mmap2]: Likewise.
16603 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
16604 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16605 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16606 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
16607 [__NR_mmap2]: Make code unconditional.
16608 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16609 (__mmap64) [!__NR_mmap2]: Likewise.
16610
bc5bc0e5
AK
166112012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16612
16613 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
16614
88d506de
AJ
166152012-08-18 Andreas Jaeger <aj@suse.de>
16616
16617 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
16618
493387d2
MF
166192012-08-18 Mike Frysinger <vapier@gentoo.org>
16620
16621 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
16622 * include/unistd.h (__have_sock_cloexec): Likewise.
16623 (__have_pipe2): Likewise.
16624 (__have_dup3): Likewise.
16625
a277af22
MF
166262012-08-18 Mike Frysinger <vapier@gentoo.org>
16627
16628 [BZ #9685]
16629 * include/unistd.h (__have_pipe2): Change define into an extern int.
16630 (__have_dup3): Likewise.
16631 * socket/have_sock_cloexec.c: Include fcntl.h.
16632 (__have_pipe2): New variable.
16633 (__have_dup3): Likewise.
16634
fdab8fd3
MF
166352012-08-17 Mike Frysinger <vapier@gentoo.org>
16636
16637 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
16638
31035e80
MP
166392012-08-17 Marek Polacek <polacek@redhat.com>
16640
16641 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
16642 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
16643
3bd9e993
RM
166442012-08-17 Roland McGrath <roland@hack.frob.com>
16645
c91c505f
RM
16646 * configure.in: Add AC_SUBST for sysheaders.
16647 * configure: Regenerated.
16648 * config.make.in (sysheaders): New substituted variable.
16649
7c6f9d53
RM
16650 * sysdeps/unix/mkfifo.c: Moved ...
16651 * sysdeps/posix/mkfifo.c: ... here.
16652 * sysdeps/unix/mkfifoat.c: Moved ...
16653 * sysdeps/posix/mkfifoat.c: ... here.
16654
16655 * sysdeps/unix/utime.c: Moved ...
16656 * sysdeps/posix/utime.c: ... here.
16657
16658 * sysdeps/unix/time.c: Moved ...
16659 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
16660 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
16661 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
16662
16663 * sysdeps/unix/nice.c: Moved ...
16664 * sysdeps/posix/nice.c: ... here.
16665
16666 * sysdeps/unix/alarm.c: Moved ...
16667 * sysdeps/posix/alarm.c: ... here.
16668
3bd9e993
RM
16669 * intl/Makefile ($(codeset_mo)): Depend on the input file.
16670
d1f09384
JL
166712012-08-17 Jeff Law <law@redhat.com>
16672
16673 * intl/Makefile (codeset_mo): New variable.
16674 ($(codeset_mo)): New target.
16675 (tst-codeset.out): Depend on that. Remove explicit rule.
16676 (tst-gettext3.out, tst-gettext5.out): Likewise.
16677 (LOCPATH-ENV, tst-codeset-ENV): New variables.
16678 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
16679 * intl/tst-codeset.sh: Remove.
16680 * intl/tst-gettext3.sh: Likewise.
16681 * intl/tst-gettext5.sh: Likewise.
16682
2ae1ae5c
RM
166832012-08-17 Roland McGrath <roland@hack.frob.com>
16684
c31fdb83
RM
16685 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
16686 * sysdeps/unix/syscalls.list: ... here.
16687
a0844057
RM
16688 * sysdeps/posix/getaddrinfo.c
16689 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
16690 (gaiconf_init, gaiconf_reload): Use them.
16691 [!_STATBUF_ST_NSEC]
16692 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
16693 Define using time_t rather than struct timespec.
16694
750c1f2a
RM
16695 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
16696 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
16697 Macros removed.
16698 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
16699 [!NO_THREADS].
16700 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
16701 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
16702 Likewise.
16703
2ae1ae5c
RM
16704 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
16705 __libc_cleanup_push argument.
16706
e66a42f5
RM
16707 * bits/param.h: New file.
16708 * misc/sys/param.h: New file.
16709 * include/sys/param.h: New file.
16710 * misc/Makefile (headers): Add bits/param.h.
16711 * sysdeps/generic/sys/param.h: File removed.
16712 * sysdeps/unix/sysv/linux/bits/param.h: New file.
16713 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
16714 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 16715 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 16716
b7c08a66
RM
16717 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
16718 last change.
16719
b2e1c562
RM
16720 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
16721 [_IO_MTSAFE_IO].
16722 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
16723 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
16724 New macros.
16725
c75ccd4c
RM
16726 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
16727 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
16728 rather than -D_IO_MTSAFE_IO conditionally.
16729 * stdio-common/Makefile (CPPFLAGS): Likewise.
16730 * wcsmbs/Makefile (CPPFLAGS): Likewise.
16731 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
16732 Use $(libio-mtsafe).
16733 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
16734 of -D_IO_MTSAFE_IO.
16735 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
16736 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
16737 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
16738 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
16739 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
16740 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
16741 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
16742 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
16743 (CFLAGS-fread_u_chk.c): Likewise.
16744 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
16745 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
16746 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
16747 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
16748 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
16749 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
16750 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
16751 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
16752 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
16753
16754 * libio/Makefile: Test [$(libc-reentrant) = yes]
16755 instead of [$(filter %REENTRANT, $(defines)) nonempty].
16756
16757 * Makeconfig
16758 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
16759 * sysdeps/pthread/configure: File removed.
16760 * sysdeps/pthread/Makeconfig: New file.
16761 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
16762 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
16763
d9195db8
GB
167642012-08-16 Gary Benson <gbenson@redhat.com>
16765
16766 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
16767 unmapping the first object in a namespace.
16768
86466cd9
RM
167692012-08-16 Roland McGrath <roland@hack.frob.com>
16770
16771 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
16772 (__internal_setnetgrent): ... this. Add internal_function to
16773 definition. Add libc_hidden_def.
16774 (setnetgrent): Update caller.
16775 (internal_endnetgrent): Renamed to ...
16776 (__internal_endnetgrent): ... this. Add internal_function to
16777 definition. Add libc_hidden_def.
16778 (endnetgrent): Update caller.
16779 (internal_getnetgrent_r): Renamed to ...
16780 (__internal_getnetgrent_r): ... this. Add internal_function to
16781 definition. Add libc_hidden_def.
16782 (__getnetgrent_r): Update caller.
16783 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
16784
c3c8283c
JM
167852012-08-16 Joseph Myers <joseph@codesourcery.com>
16786
16787 * stdlib/longlong.h: Update from GCC.
16788
db1ee0a8
RM
167892012-08-16 Roland McGrath <roland@hack.frob.com>
16790
16791 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
16792 on _QL, which is set by umul_ppmm but never used.
16793 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
16794 variables, which are set by GMP macros but never used.
16795 * stdio-common/_itowa.c (_itowa): Likewise.
16796 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
16797 * stdlib/mod_1.c (mpn_mod_1): Likewise.
16798
30f69637
CD
167992012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
16800
16801 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
16802 struct La_sh_regs is not constant.
16803 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
16804 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
16805 and struct La_sparc64_regs are not constant.
16806
93a78ac4
JM
168072012-08-16 Joseph Myers <joseph@codesourcery.com>
16808
16809 * sysdeps/unix/sysv/linux/kernel-features.h
16810 (__ASSUME_POSIX_TIMERS): Remove.
16811 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16812 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16813 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
16814 Make code unconditional.
16815 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16816 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
16817 Make code unconditional.
16818 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16819 * sysdeps/unix/sysv/linux/clock_nanosleep.c
16820 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
16821 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16822 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
16823 Make code unconditional.
16824 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16825 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
16826 (__libc_missing_posix_timers): Remove.
16827
dd924cd7
RM
168282012-08-15 Roland McGrath <roland@hack.frob.com>
16829
4b4f2771
RM
16830 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
16831 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
16832
601c888b
RM
16833 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
16834
176790a7
RM
16835 * elf/dl-sym.c: Include <stdlib.h>.
16836
329bc018
RM
16837 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
16838 constants, which avoids warnings in 32-bit builds.
16839
e04e272d
RM
16840 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
16841 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
16842
952bf94a
RM
16843 * misc/lseek.c: File moved to ...
16844 * io/lseek.c: ... here.
16845
7c99b50a
RM
16846 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
16847
dd924cd7
RM
16848 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
16849 shifting LEN more than 31 bits at once.
16850
b3f479a8
LD
168512012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16852
16853 [BZ #14195]
8c4ae0d4
RM
16854 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
16855 segmentation fault for a case of two empty input strings.
b3f479a8
LD
16856 * string/test-strncasecmp.c (check1): Renamed to...
16857 (bz12205): ...this.
16858 (bz14195): Add new testcase for two empty input strings and N > 0.
16859 (test_main): Call new testcase, adapt for renamed function.
16860
9c55864e
AJ
168612012-08-15 Andreas Jaeger <aj@suse.de>
16862
16863 [BZ #14090]
16864 * crypt/md5test2.c: New test, based on test supplied by Serge
16865 Belyshev <belyshev@depni.sinp.msu.ru>.
16866 * crypt/Makefile (xtests): Add md5test-giant..
16867 * crypt/Makefile ($(objpfx)md5test-giant): Add.
16868
02dcb6c5
PE
168692012-08-15 Paul Eggert <eggert@cs.ucla.edu>
16870
16871 [BZ #14090]
16872 * crypt/md5.c (md5_process_block): Don't assume the buffer
16873 length is less than 2**32.
16874 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
16875 length is less than 2**64.
16876
a3f95dcc
RM
168772012-08-15 Roland McGrath <roland@hack.frob.com>
16878
be75d758
RM
16879 * string/str-two-way.h: Include <sys/param.h>.
16880 (MAX): Macro removed.
16881
7312ca90
RM
16882 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
16883 Move #define and #undef of memmove to just before and after
16884 including <string.h>.
16885
9a0a5486
RM
16886 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
16887 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
16888 and after including <string.h>. Move declarations of
16889 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
16890 to before #include "string/memmove.c".
16891
67cc348d
RM
16892 * include/dirent.h: Declare __getdirentries.
16893
a3f95dcc
RM
16894 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
16895 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
16896
ca98e171
MF
168972012-08-14 Mike Frysinger <vapier@gentoo.org>
16898
16899 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
16900 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
16901 * sysdeps/i386/configure: Regenerated.
16902 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
16903 STABS_CURRENT_FILE, and STABS_FUN.
16904 (END): Remove call to STABS_FUN_END.
16905 (STABS_CURRENT_FILE1): Delete.
16906 (STABS_CURRENT_FILE): Likewise.
16907 (STABS_FUN): Likewise.
16908 (STABS_FUN_END): Likewise.
16909 (STABS_FUN2): Likewise.
16910 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
16911 * sysdeps/x86_64/configure: Regenerated.
16912
5908bf46
RM
169132012-08-14 Roland McGrath <roland@hack.frob.com>
16914
16915 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 16916 * elf/dl-lookup.c: Likewise.
5908bf46 16917
f2c05b9e
JM
169182012-08-14 Joseph Myers <joseph@codesourcery.com>
16919
16920 * sysdeps/unix/sysv/linux/kernel-features.h
16921 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
16922 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
16923 unconditionally.
16924 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
16925 unconditionally.
16926 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
16927 condition on __ASSUME_CLONE_THREAD_FLAGS.
16928
e11f5155
AJ
169292012-08-14 Andreas Jaeger <aj@suse.de>
16930
16931 * sysdeps/i386/fpu/libm-test-ulps: Update.
16932
51a9ba86
MK
169332012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
16934
2fdd4f78
AJ
16935 * include/atomic.h (atomic_exchange_and_add): Split into ...
16936 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
16937 New atomic macros.
51a9ba86 16938
ba6cba9e
MT
169392012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
16940
16941 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16942
42443a47
JL
169432012-08-13 Jeff Law <law@redhat.com>
16944
16945 * manual/stdio.texi (snprintf): Clarify handling of the trailing
16946 null byte in the output string.
16947
121dce05
JM
169482012-08-10 Joseph Myers <joseph@codesourcery.com>
16949
16950 * sysdeps/unix/sysv/linux/kernel-features.h
16951 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
16952 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
16953 (__ASSUME_ARG_MAX_STACK_BASED): Define.
16954 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
16955 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
16956 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
16957 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
16958
bf51f568
JL
169592012-08-09 Jeff Law <law@redhat.com>
16960
16961 [BZ #13939]
16962 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
16963 When avoid_arena is set, don't retry in the that arena. Pick the
16964 next one, whatever it might be.
16965 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
16966 (arena_lock): Pass in new parameter to arena_get2.
16967 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
16968 arena_get2.
16969 (__libc_malloc): Unify retrying after main arena failure with
16970 __libc_memalign version.
16971 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
16972
f85fa270
L
169732012-08-09 H.J. Lu <hongjiu.lu@intel.com>
16974
16975 [BZ #14166]
16976 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
16977 to __redirect_strstr.
16978 (__strstr_sse42): Use typeof __redirect_strstr.
16979 (__strstr_ia32): Likewise.
16980 (__libc_strstr): New prototype.
16981 (strstr): Renamed to ...
16982 (__libc_strstr): This.
16983 (strstr): New strong alias of __libc_strstr.
16984 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16985 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
16986 __redirect_time.
16987 Include <time.h>.
16988 (__libc_time): New prototype.
16989 (time_ifunc): Replace time with __libc_time.
16990 (time): New strong alias and hidden definition of __libc_time.
16991 (__GI_time): Remove strong alias.
16992 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
16993 Include <stddef.h>.
16994 (memmove): Redefined to __redirect_memmove.
16995 (__memmove_sse2): Use typeof __redirect_memmove.
16996 (__memmove_ssse3): Likewise.
16997 (__memmove_ssse3_back): Likewise.
16998 (__libc_memmove): New prototype.
16999 (memmove): Renamed to ...
17000 (__libc_memmove): This.
17001 (memmove): New strong alias of __libc_memmove.
17002
33b4a91e
MS
170032012-08-08 Mark Salter <msalter@redhat.com>
17004
17005 * elf/elf.h
17006 (R_MN10300_TLS_GD): Define.
17007 (R_MN10300_TLS_LD): Likewise.
17008 (R_MN10300_TLS_LDO): Likewise.
17009 (R_MN10300_TLS_GOTIE): Likewise.
17010 (R_MN10300_TLS_IE): Likewise.
17011 (R_MN10300_TLS_LE): Likewise.
17012 (R_MN10300_TLS_DTPMOD): Likewise.
17013 (R_MN10300_TLS_DTPOFF): Likewise.
17014 (R_MN10300_TLS_TPOFF): Likewise.
17015 (R_MN10300_SYM_DIFF): Likewise.
17016 (R_MN10300_ALIGN): Likewise.
17017 (R_MN10300_NUM): Update.
17018
b36137f1
JM
170192012-08-08 Joseph Myers <joseph@codesourcery.com>
17020
17021 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
17022 Remove.
17023
cdd915fd
RM
170242012-08-08 Roland McGrath <roland@hack.frob.com>
17025
a2433aac
RM
17026 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
17027
cdd915fd
RM
17028 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
17029 sysdeps/unix -> sysdeps/posix move.
17030 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17031
bf9b740a
AM
170322012-08-07 Allan McRae <allan@archlinux.org>
17033
17034 [BZ #14303]
17035 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
17036 (SUNOS_CPP): Likewise.
17037 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
17038 not found.
17039 (open_input): Call CPP using execvp.
17040
93df14ee
JM
170412012-08-07 Joseph Myers <joseph@codesourcery.com>
17042
17043 * sysdeps/unix/sysv/linux/kernel-features.h
17044 (__ASSUME_PROT_GROWSUPDOWN): Remove.
17045 (__ASSUME_NO_CLONE_DETACHED): Likewise.
17046 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17047 (__ASSUME_WAITID_SYSCALL): Likewise.
17048 * sysdeps/unix/sysv/linux/dl-execstack.c
17049 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
17050 code unconditional.
17051 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
17052 conditional code.
17053 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
17054 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
17055 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
17056 code.
17057 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
17058 unconditional.
17059 [__ASSUME_WAITID_SYSCALL]: Likewise.
17060 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
17061
d34689de
RM
170622012-08-07 Roland McGrath <roland@hack.frob.com>
17063
a281decc
RM
17064 * sysdeps/unix/closedir.c: Renamed to ...
17065 * sysdeps/posix/closedir.c: ... here.
17066 * sysdeps/unix/dirfd.c: Renamed to ...
17067 * sysdeps/posix/dirfd.c: ... here.
17068 * sysdeps/unix/dirstream.h: Renamed to ...
17069 * sysdeps/posix/dirstream.h: ... here.
17070 * sysdeps/unix/fdopendir.c: Renamed to ...
17071 * sysdeps/posix/fdopendir.c: ... here.
17072 * sysdeps/unix/opendir.c: Renamed to ...
17073 * sysdeps/posix/opendir.c: ... here.
17074 * sysdeps/unix/readdir.c: Renamed to ...
17075 * sysdeps/posix/readdir.c: ... here.
17076 * sysdeps/unix/readdir_r.c: Renamed to ...
17077 * sysdeps/posix/readdir_r.c: ... here.
17078 * sysdeps/unix/rewinddir.c: Renamed to ...
17079 * sysdeps/posix/rewinddir.c: ... here.
17080 * sysdeps/unix/seekdir.c: Renamed to ...
17081 * sysdeps/posix/seekdir.c: ... here.
17082 * sysdeps/unix/telldir.c: Renamed to ...
17083 * sysdeps/posix/telldir.c: ... here.
17084 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
17085 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
17086 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
17087 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
17088
22895b47
RM
17089 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
17090 * bits/fcntl.h: ... here.
17091
707a53b6
RM
17092 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
17093 not 0.
17094 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
17095 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
17096 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
17097 (struct flock): Move l_start, l_len to the beginning.
17098 Use __pid_t for l_pid.
17099 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
17100 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
17101 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
17102 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
17103 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
17104 [__USE_LARGEFILE64] (struct flock64): New type.
17105 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
17106
f0bd3e25
RM
17107 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
17108 * bits/dirent.h: ... here.
17109
d34689de
RM
17110 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
17111 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
17112
6dad2c06
JM
171132012-08-07 Joseph Myers <joseph@codesourcery.com>
17114
17115 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17116 Change from 2.6.0 to 2.6.16.
17117 * sysdeps/unix/sysv/linux/configure: Regenerated.
17118 * sysdeps/unix/sysv/linux/kernel-features.h
17119 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
17120 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
17121 version.
17122 (__ASSUME_UTIMES): Likewise.
17123 (__ASSUME_CLONE_STOPPED): Remove.
17124 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
17125 architectures, not kernel version.
17126 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
17127 (__ASSUME_NO_CLONE_DETACHED): Likewise.
17128 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17129 (__ASSUME_WAITID_SYSCALL): Likewise.
17130 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
17131 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
17132 * README: State 2.6.16 as minimum Linux kernel version. Do not
17133 refer to older versions.
17134
03af9520
RM
171352012-08-06 Roland McGrath <roland@hack.frob.com>
17136
8e49df1d
RM
17137 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
17138 Define alphasort64 as an alias.
17139 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
17140 Define versionsort64 as an alias.
17141 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
17142 Define scandir64 as an alias.
17143 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
17144 Define scandirat64 as an alias.
17145 * dirent/alphasort64.c (alphasort64):
17146 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
17147 * dirent/versionsort64.c: Likewise.
17148 * dirent/scandir64.c: Likewise.
17149 * dirent/scandirat64.c: Likewise.
17150 * sysdeps/wordsize-64/alphasort.c: File removed.
17151 * sysdeps/wordsize-64/alphasort64.c: File removed.
17152 * sysdeps/wordsize-64/scandir.c: File removed.
17153 * sysdeps/wordsize-64/scandir64.c: File removed.
17154 * sysdeps/wordsize-64/scandirat.c: File removed.
17155 * sysdeps/wordsize-64/scandirat64.c: File removed.
17156 * sysdeps/wordsize-64/versionsort.c: File removed.
17157 * sysdeps/wordsize-64/versionsort64.c: File removed.
17158 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
17159 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
17160 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
17161 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
17162 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
17163 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
17164 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
17165 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
17166
17167 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
17168 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17169 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
17170 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17171 [defined __arch64__ || defined __sparcv9]
17172 (__INO_T_MATCHES_INO64_T): New macro.
17173 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17174 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
17175 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
17176 * sysdeps/unix/sysv/linux/bits/dirent.h
17177 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
17178 (_DIRENT_MATCHES_DIRENT64): New macro.
17179
03af9520
RM
17180 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
17181 Define lockf64 as an alias.
17182 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
17183 Define fseeko64 as an alias.
17184 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
17185 Define ftello64 as an alias.
17186 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
17187 Define _IO_fgetpos64 and fgetpos64 as aliases.
17188 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
17189 Define _IO_fsetpos64 and fsetpos64 as aliases.
17190 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
17191 Conditionalize body on this.
17192 * libio/fseeko64.c: Likewise.
17193 * libio/ftello64.c: Likewise.
17194 * libio/iofgetpos64.c: Likewise.
17195 * libio/iofsetpos64.c: Likewise.
17196 * sysdeps/wordsize-64/lockf.c: File removed.
17197 * sysdeps/wordsize-64/lockf64.c: File removed.
17198 * sysdeps/wordsize-64/fseeko.c: File removed.
17199 * sysdeps/wordsize-64/fseeko64.c: File removed.
17200 * sysdeps/wordsize-64/ftello.c: File removed.
17201 * sysdeps/wordsize-64/ftello64.c: File removed.
17202 * sysdeps/wordsize-64/iofgetpos.c: File removed.
17203 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
17204 * sysdeps/wordsize-64/iofsetpos.c: File removed.
17205 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
17206 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
17207 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
17208 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
17209 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
17210 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
17211 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
17212 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
17213 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
17214 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
17215 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
17216
17217 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17218 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17219 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
17220 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17221 [defined __arch64__ || defined __sparcv9]
17222 (__OFF_T_MATCHES_OFF64_T): New macro.
17223 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17224 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17225 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17226 (__OFF_T_MATCHES_OFF64_T): New macro.
17227
c5757acd
L
172282012-08-06 H.J. Lu <hongjiu.lu@intel.com>
17229
17230 * stdlib/secure-getenv.c (__secure_getenv): Replace
17231 GLIBC_2_16 with GLIBC_2_17.
17232
3a31811e
L
172332012-08-06 H.J. Lu <hongjiu.lu@intel.com>
17234
17235 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
17236 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17237
faa2bccb
DM
172382012-08-03 David S. Miller <davem@davemloft.net>
17239
17240 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17241
85fe1997
JM
172422012-08-03 Joseph Myers <joseph@codesourcery.com>
17243
17244 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
17245 Remove.
17246 (__ASSUME_CORRECT_SI_PID): Likewise.
17247 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
17248 (__ASSUME_TMPFS_NAME): Likewise.
17249 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
17250 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
17251 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
17252 (HAVE_AUX_SECURE): Make definition unconditional.
17253 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
17254 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
17255
4f75b7a0
RM
172562012-08-03 Roland McGrath <roland@hack.frob.com>
17257
17258 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
17259 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
17260 * sysdeps/mach/hurd/eloop-threshold.h: New file.
17261 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17262 __eloop_threshold instead of SYMLOOP_MAX.
17263
17264 * sysdeps/generic/eloop-threshold.h: New file.
17265 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
17266 of MAXSYMLINKS.
17267 * elf/chroot_canon.c (chroot_canon): Likewise.
17268
7aab07e4
JM
172692012-08-03 Joseph Myers <joseph@codesourcery.com>
17270
17271 [BZ #13717]
17272 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17273 Change to 2.6.0 everywhere.
17274 * sysdeps/unix/sysv/linux/configure: Regenerated.
17275 * sysdeps/unix/sysv/linux/kernel-features.h
17276 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
17277 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
17278 kernel versions.
17279 (__ASSUME_POSIX_TIMERS): Define unconditionally.
17280 (__ASSUME_FUTEX_REQUEUE): Remove.
17281 (__ASSUME_STATFS64): Define unconditionally.
17282 (__ASSUME_AT_SECURE): Likewise.
17283 (__ASSUME_CORRECT_SI_PID): Likewise.
17284 (__ASSUME_TGKILL): Define without depending on kernel version for
17285 i386.
17286 (__ASSUME_UTIMES): Likewise.
17287 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
17288 kernel version.
17289 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
17290 (__ASSUME_TMPFS_NAME): Likewise.
17291 * README: Update reference to Linux kernel versions.
17292
b67e9372
MP
172932012-08-02 Marek Polacek <polacek@redhat.com>
17294
1f529f7d 17295 [BZ# 14150]
b67e9372
MP
17296 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
17297 libc_cv_asm_type_prefix with %.
17298 * configure: Regenerated.
d2441631
RM
17299 * include/libc-symbols.h: Remove comment about
17300 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
17301 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
17302 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
17303 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
17304 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
17305 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17306 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
17307 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
17308 * elf/tst-unique2mod1.c: Likewise.
17309 * elf/tst-unique1mod2.c: Likewise.
17310 * elf/tst-unique1mod1.c: Likewise.
17311 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
17312 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
17313 Replace ASM_TYPE_DIRECTIVE with .type.
17314 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17315 * sysdeps/i386/sysdep.h: Likewise.
17316 * sysdeps/x86_64/sysdep.h: Likewise.
17317 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
17318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17319 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 17320 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
17321 * sysdeps/powerpc/powerpc32/sysdep.h:
17322 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
17323 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17324 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17325 * sysdeps/i386/fpu/e_powf.S: Likewise.
17326 * sysdeps/i386/fpu/e_expl.S: Likewise.
17327 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17328 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17329 * sysdeps/i386/fpu/e_pow.S: Likewise.
17330 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17331 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17332 * sysdeps/i386/fpu/s_expm1.S: Likewise.
17333 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17334 * sysdeps/i386/fpu/e_log2.S: Likewise.
17335 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17336 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17337 * sysdeps/i386/fpu/e_powl.S: Likewise.
17338 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17339 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17340 * sysdeps/i386/fpu/e_logl.S: Likewise.
17341 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17342 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17343 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17344 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17345 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17346 * sysdeps/i386/fpu/e_log.S: Likewise.
17347 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17348 * sysdeps/i386/fpu/e_logf.S: Likewise.
17349 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17350 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17351 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17352 * sysdeps/i386/fpu/e_log10.S: Likewise.
17353 * sysdeps/i386/fpu/s_frexp.S: Likewise.
17354 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17355 * sysdeps/i386/fpu/s_asinh.S: Likewise.
17356 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17357 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17358 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
17359 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17360 * sysdeps/i386/i686/strtok.S: Likewise.
17361 * sysdeps/i386/i386-mcount.S: Likewise.
17362 * sysdeps/i386/strtok.S: Likewise.
17363 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
17364 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17365 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17366 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17367 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17368 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17369 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17370 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17371 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17372 * sysdeps/x86_64/_mcount.S: Likewise.
17373 * sysdeps/x86_64/strtok.S: Likewise.
17374 * sysdeps/sh/_mcount.S: Likewise.
17375
2747bf9a
RM
173762012-08-01 Roland McGrath <roland@hack.frob.com>
17377
17378 * libio/iofopen.c: Include <fcntl.h>.
17379 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
17380 (_IO_fopen64, fopen64): Define as aliases.
17381 * libio/iofopen64.c: Include <fcntl.h>.
17382 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
17383 Conditionalize body on this.
17384 * sysdeps/wordsize-64/iofopen.c: File removed.
17385 * sysdeps/wordsize-64/iofopen64.c: File removed.
17386
3fb791b8
MP
173872012-08-01 Marek Polacek <polacek@redhat.com>
17388
17389 * libc/Makeconfig: Use elf in place of binfmt-subdir.
17390 Use dlfcn directly instead of a variable.
17391 (binfmt-subdir): Do not define.
17392 (dlfcn): Likewise.
17393
a9f1039f
JM
173942012-08-01 Joseph Myers <joseph@codesourcery.com>
17395
23bddc06
JM
17396 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
17397 Remove all definitions.
17398 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
17399 <kernel-features.h>.
17400 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17401 (miss_F_GETOWN_EX): Remove all definitions.
17402 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
17403 macro definition.
17404 [!__ASSUME_FCNTL64]: Remove conditional code.
17405 [__ASSUME_FCNTL64]: Make code unconditional.
17406 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
17407 <kernel-features.h>.
17408 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17409 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
17410 (lockf64) [__NR_fcntl64]: Make code unconditional.
17411 (lockf64) [__ASSUME_FCNTL64]: Likewise.
17412
a9f1039f
JM
17413 * sysdeps/unix/sysv/linux/kernel-features.h
17414 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
17415 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
17416 Make code unconditional.
17417 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17418 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
17420 [__NR_vfork]: Make code unconditional.
17421 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17422 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
17424 [__NR_vfork]: Make code unconditional.
17425 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17426 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17427
09c0ee5f
RM
174282012-08-01 Roland McGrath <roland@hack.frob.com>
17429
48aec5b9
RM
17430 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
17431 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
17432
cd97c966
RM
17433 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17434 Define mkstemp64 as an alias.
3f55550c
RM
17435 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17436 Define mkstemps64 as an alias.
cd97c966
RM
17437 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17438 Define mkostemp64 as an alias.
b8625cfc
RM
17439 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17440 Define mkostemps64 as an alias.
cd97c966
RM
17441 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
17442 Conditionalize body on this.
17443 * misc/mkostemp64.c: Likewise.
b8625cfc 17444 * misc/mkostemps64.c: Likewise.
3f55550c 17445 * misc/mkstemps64.c: Likewise.
cd97c966
RM
17446 * sysdeps/wordsize-64/mkstemp64.c: File removed.
17447 * sysdeps/wordsize-64/mkostemp64.c: File removed.
17448 * sysdeps/wordsize-64/mkostemp.c: File removed.
17449 * sysdeps/wordsize-64/mkstemp.c: File removed.
17450 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
17451 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
17452 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
17453 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
17454
09c0ee5f
RM
17455 [BZ #14138]
17456 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
17457 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
17458 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
17459 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
17460
17461 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
17462 compat_symbol macros from <shlib-compat.h> rather than the underlying
17463 default_symbol_version and symbol_version macros, so that DEFAULT
17464 lines in shlib-versions are respected.
17465 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
17466
7e66ee51
FW
174672012-08-01 Florian Weimer <fweimer@redhat.com>
17468
17469 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
17470 Declare with warn_unused_result.
17471 (setgid, setregid, setegid, setresgid): Likewise.
17472 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
17473 Likewise.
17474 * WUR-REPORT: Remove set*id functions.
17475
d2a54255
PT
174762012-07-31 Pino Toscano <toscano.pino@tiscali.it>
17477
17478 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
17479
7ecdb005
RM
174802012-07-31 Roland McGrath <roland@hack.frob.com>
17481
b4180a5e 17482 [BZ #10191]
789bd351
RM
17483 * include/sys/socket.h (__libc_accept, __libc_accept4):
17484 Add attribute_hidden.
17485 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
17486
40ce302d
RM
17487 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
17488 use of PTR_MANGLE.
17489 * inet/getnetgrent_r.c (setup): Likewise.
17490
7ecdb005
RM
17491 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
17492
e2eabb2c
DM
174932012-07-31 David S. Miller <davem@davemloft.net>
17494
17495 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17496
d0419dbf
JM
174972012-07-31 Joseph Myers <joseph@codesourcery.com>
17498
17499 [BZ #13629]
17500 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
17501 value between 1.0 and 2.0 and smaller part has absolute value less
17502 than 1.0.
17503 * math/s_clog10.c (__clog10): Likewise.
17504 * math/s_clog10f.c (__clog10f): Likewise.
17505 * math/s_clog10l.c (__clog10l): Likewise.
17506 * math/s_clogf.c (__clogf): Likewise.
17507 * math/s_clogl.c (__clogl): Likewise.
17508 * math/libm-test.inc (clog_test): Add more tests.
17509 (clog10_test): Likewise.
17510 * sysdeps/i386/fpu/libm-test-ulps: Update.
17511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17512
2bc13872
FW
175132012-07-31 Florian Weimer <fweimer@redhat.com>
17514
17515 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
17516 Exit with zero in case no suitable GID is found, and write a
17517 message to standard error.
17518
bea9b193
RM
175192012-07-30 Roland McGrath <roland@hack.frob.com>
17520
17521 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
17522 rather than to 1.
17523 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
17524 (MAXPATHLEN): Removed.
17525 (NOGROUP, NODEV): New macros.
17526 (setbit, clrbit, isset, isclr): New macros.
17527 (howmany, roundup, powerof2): New macros.
17528 (DEV_BSIZE): New macro.
17529
17530 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
17531 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
17532
17533 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
17534 definition on [!__NO_LONG_DOUBLE_MATH].
17535
17536 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
17537 PTR_MANGLE and PTR_DEMANGLE.
17538
17539 * socket/accept4.c (accept4): Rename to __libc_accept4.
17540 Define accept4 as a weak alias.
17541
17542 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
17543 on [_DIRENT_HAVE_D_TYPE].
17544 * io/ftw.c (ftw_dir): Likewise.
17545
17546 * io/xmknod.c (__xmknod): Don't check PATH for being null.
17547
17548 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
17549
17550 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
17551 Use the BSD numbers rather than the arbitrary ones we had.
17552 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
17553 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
17554 (SIGXCPU, SIGXFSZ): New macros.
17555 (_NSIG): Now 32.
17556
17557 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
17558 initializer on [_LIBC_REENTRANT].
17559
17560 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
17561 definitions inside [_POSIX_MAPPED_FILES].
17562
17563 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
17564
17565 * dirent/opendir.c: Include <fcntl.h>.
17566
17567 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
17568 (__libc_getspecific): Likewise.
17569 (__libc_key_create): Likewise.
17570
17571 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
17572 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
17573 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
17574 (tmpfile64): Define as alias.
17575 * sysdeps/wordsize-64/tmpfile.c: File removed.
17576 * sysdeps/wordsize-64/tmpfile64.c: File removed.
17577 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
17578 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
17579
17580 * stdio-common/vfscanf.c: Include <stdbool.h>.
17581 * nss/makedb.c: Likewise.
17582 * stdio-common/_i18n_number.h: Likewise.
17583 * argp/argp-help.c: Likewise.
17584 * posix/wordexp.c: Likewise.
17585 * sysdeps/posix/spawni.c: Likewise.
17586 * nss/nss_files/files-initgroups.c: Likewise.
17587 * stdio-common/reg-modifier.c: Include <stdlib.h>.
17588 * nss/nss_files/files-initgroups.c: Likewise.
17589 * nss/nss_db/db-netgrp.c: Likewise.
17590 * nss/nss_db/db-initgroups.c: Likewise.
17591 * io/fchmodat.c: Include <sys/stat.h>.
17592
17593 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
17594 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
17595
17596 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
17597 [HAVE_MMAP].
17598
17599 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
17600 Add multiple inclusion protection.
17601
e5abc686
DM
176022012-07-27 David S. Miller <davem@davemloft.net>
17603
17604 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17605
815e6fa3
GB
176062012-07-27 Gary Benson <gbenson@redhat.com>
17607
17608 [BZ #14298]
17609 * elf/rtld.c: Include <stap-probe.h>.
17610 (dl_main): Added static probes "init_start" and "init_complete".
17611 * elf/dl-load.c: Include <stap-probe.h>.
17612 (lose): Take new parameter "nsid".
17613 Added static probe "map_failed".
17614 (_dl_map_object_from_fd): Pass namespace id to lose.
17615 Added static probe "map_start".
17616 (open_verify): Pass namespace id to lose.
17617 * elf/dl-open.c: Include <stap-probe.h>.
17618 (dl_open_worker) Added static probes "map_complete", "reloc_start"
17619 and "reloc_complete".
17620 * elf/dl-close.c: Include <stap-probe.h>.
17621 (_dl_close_worker): Added static probes "unmap_start" and
17622 "unmap_complete".
17623 * elf/rtld-debugger-interface.txt: New file documenting the above.
17624
9f98c16c
RM
176252012-07-26 Roland McGrath <roland@hack.frob.com>
17626
17627 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
17628 rather than a string variable.
17629 * sunrpc/rpc_main.c (h_output): Likewise.
17630 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
17631
f3c22df3
PT
176322012-07-26 Pino Toscano <toscano.pino@tiscali.it>
17633
17634 * inet/check_native.c: New file.
17635
3129cfc6
JM
176362012-07-26 Joseph Myers <joseph@codesourcery.com>
17637
da865e95
JM
17638 [BZ #13629]
17639 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
17640 if larger part has absolute value 1.0.
17641 * math/s_clog10.c (__clog10): Likewise.
17642 * math/s_clog10f.c (__clog10f): Likewise.
17643 * math/s_clog10l.c (__clog10l): Likewise.
17644 * math/s_clogf.c (__clogf): Likewise.
17645 * math/s_clogl.c (__clogl): Likewise.
17646 * math/libm-test.inc (clog_test): Add more tests.
17647 (clog10_test): Likewise.
17648 * sysdeps/i386/fpu/libm-test-ulps: Update.
17649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17650
3129cfc6
JM
17651 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
17652 (pltexit): Likewise.
17653 (La_regs): Likewise.
17654 (La_retval): Likewise.
17655 (int_retval): Likewise.
17656 Update #error for removed macros to refer only to definitions in
17657 tst-audit.h.
17658 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
17659 macro.
17660 (pltexit): Likewise.
17661 (La_regs): Likewise.
17662 (La_retval): Likewise.
17663 (int_retval): Likewise.
17664 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
17665 macro.
17666 (pltexit): Likewise.
17667 (La_regs): Likewise.
17668 (La_retval): Likewise.
17669 (int_retval): Likewise.
17670 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
17671 macro.
17672 (pltexit): Likewise.
17673 (La_regs): Likewise.
17674 (La_retval): Likewise.
17675 (int_retval): Likewise.
17676 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
17677 macro.
17678 (pltexit): Likewise.
17679 (La_regs): Likewise.
17680 (La_retval): Likewise.
17681 (int_retval): Likewise.
17682 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
17683 macro.
17684 (pltexit): Likewise.
17685 (La_regs): Likewise.
17686 (La_retval): Likewise.
17687 (int_retval): Likewise.
17688 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
17689 macro.
17690 (pltexit): Likewise.
17691 (La_regs): Likewise.
17692 (La_retval): Likewise.
17693 (int_retval): Likewise.
17694 * sysdeps/generic/tst-audit.h: Update comment to refer only to
17695 macro definitions in tst-audit.h.
17696 * sysdeps/i386/tst-audit.h: New file.
17697 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
17698 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
17699 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
17700 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
17701 * sysdeps/sh/tst-audit.h: Likewise.
17702 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
17703 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
17704 * sysdeps/x86_64/tst-audit.h: Likewise.
17705
bfc07087
AJ
177062012-07-26 Andreas Jaeger <aj@suse.de>
17707
b1b2aaf8
AJ
17708 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
17709 ptrace.
17710
17711 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
17712 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
17713 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
17714 PTRACE_O_MASK.
17715 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
17716 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
17717 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
17718
bfc07087
AJ
17719 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
17720 value.
17721
17722 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
17723 _sigsys.
17724 (si_call_addr, si_syscall, si_arch): Define new macro.
17725 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
17726 _sigsys.
17727 (si_call_addr, si_syscall, si_arch): Define new marcro.
17728 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
17729 _sigsys.
17730 (si_call_addr, si_syscall, si_arch): Define new macro.
17731 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
17732 _sigsys.
17733 (si_call_addr, si_syscall, si_arch): Define new macro.
17734
89b4b02f
JM
177352012-07-25 Joseph Myers <joseph@codesourcery.com>
17736
17737 [BZ #13717]
17738 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17739 Change to 2.4.21 where previously 2.4.1.
17740 * sysdeps/unix/sysv/linux/configure: Regenerated.
17741 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
17742 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
17743 Linux kernel version.
17744 (__ASSUME_STD_AUXV): Remove.
17745 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
17746 kernel version.
17747 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
17748 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
17749 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
17750 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
17751 (__ASSUME_NETLINK_SUPPORT): Likewise.
17752 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
17753 (__no_netlink_support): Remove conditional definition.
17754 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
17755 Remove.
17756 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17757 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
17758 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
17759 (if_nameindex_ioctl): Remove.
17760 (if_nameindex_netlink): Do not handle __no_netlink_support.
17761 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17762 code.
17763 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
17764 Remove conditional code.
17765 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17766 code.
17767 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
17768 unconditional.
17769 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17770 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
17771 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
17772 Remove.
17773 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
17774 [!__ASSUME_STD_AUXV]: Remove conditional code.
17775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
17776 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
17777 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
17778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
17779 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
17780 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17781 code.
17782 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17784 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
17785 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17786 conditional code.
17787 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17789 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17790 code.
17791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17792 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17793 conditional code.
17794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
17795 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17796 code unconditional.
17797 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17798 conditional code.
17799 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17800 unconditional.
17801 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17802 conditional code.
17803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17804 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17805 unconditional.
17806 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17807 conditional code.
17808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
17809 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17810 code unconditional.
17811 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17812 conditional code.
17813 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17814 unconditional.
17815 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17816 conditional code.
17817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
17818 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17819 code unconditional.
17820 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17821 conditional code.
17822 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17823 unconditional.
17824 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17825 conditional code.
17826
842a39cd
AS
178272012-07-25 Andreas Schwab <schwab@linux-m68k.org>
17828
17829 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
17830 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
17831 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17832 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
17833 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
17834 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
17835 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17836 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
17837 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
17838 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
17839 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
17840 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
17841 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
17842 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17843 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
17844 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
17845 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
17846 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
17847 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
17848 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
17849 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
17850 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
17851 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17852
84b3fd84
FW
178532012-07-25 Florian Weimer <fweimer@redhat.com>
17854
17855 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
17856 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
17857 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
17858 Introduce __libc_secure_getenv.
0c7936d5
FW
17859 * stdlib/Versions (2.17): Add secure_getenv
17860 (GLIBC_PRIVATE): Add __libc_secure_getenv.
17861 * stdlib/secure-getenv.c: Rename __secure_getenv to
17862 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
17863 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
17864 * stdlib/tst-secure-getenv.c: New.
17865 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
17866 * manual/startup.texi (Environment Access): Document
17867 secure_getenv.
84b3fd84
FW
17868 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
17869 __libc_secure_getenv.
17870 * inet/ruserpass.c (ruserpass): Likewise.
17871 * malloc/mtrace.c (mtrace): Likewise.
17872 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 17873 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
17874 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
17875 * sysdeps/posix/tempname.c: Likewise. Evaluate
17876 HAVE_SECURE_GETENV.
17877 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 17878 __secure_getenv to __libc_secure_getenv.
84b3fd84 17879 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
17880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17881 Likewise.
17882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17883 Likewise.
17884 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17885 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17886 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17887 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17888 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17889 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17890 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 17891
56e49b71
JM
178922012-07-25 Joseph Myers <joseph@codesourcery.com>
17893
17894 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
17895 (struct La_i86_retval): Likewise.
17896 (struct La_x86_64_regs): Likewise.
17897 (struct La_x86_64_retval): Likewise.
17898 (struct La_x32_regs): Likewise.
17899 (struct La_x32_retval): Likewise.
17900 (struct La_ppc32_regs): Likewise.
17901 (struct La_ppc32_retval): Likewise.
17902 (struct La_ppc64_regs): Likewise.
17903 (struct La_ppc64_retval): Likewise.
17904 (struct La_sh_regs): Likewise.
17905 (struct La_sh_retval): Likewise.
17906 (struct La_s390_32_regs): Likewise.
17907 (struct La_s390_32_retval): Likewise.
17908 (struct La_s390_64_regs): Likewise.
17909 (struct La_s390_64_retval): Likewise.
17910 (struct La_sparc32_regs): Likewise.
17911 (struct La_sparc32_retval): Likewise.
17912 (struct La_sparc64_regs): Likewise.
17913 (struct La_sparc64_retval): Likewise.
17914 (struct audit_ifaces): Remove architecture-specific pltenter and
17915 pltexit members.
17916 * sysdeps/i386/ldsodefs.h: New file.
17917 * sysdeps/powerpc/ldsodefs.h: Likewise.
17918 * sysdeps/s390/ldsodefs.h: Likewise.
17919 * sysdeps/sh/ldsodefs.h: Likewise.
17920 * sysdeps/sparc/ldsodefs.h: Likewise.
17921 * sysdeps/x86_64/ldsodefs.h: Likewise.
17922
354691b7
MP
179232012-07-25 Marek Polacek <polacek@redhat.com>
17924
17925 [BZ #6808]
17926 * math/libm-test.inc (yn_test): Add another test.
17927 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
17928 to ERANGE when the result is +-Inf.
17929 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17930 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
17931 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
17932 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
17933
bf9e2071
JM
179342012-07-24 Joseph Myers <joseph@codesourcery.com>
17935
17936 * conform/data/time.h-data (NULL): Use macro-constant. Require
17937 equal to 0.
17938 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
17939 clock_t.
17940 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
17941
57633811
TS
179422012-07-23 Thomas Schwinge <thomas@codesourcery.com>
17943
17944 * configure.in <sysdeps resolving>: Correct printing
17945 Implies_before.
17946 * configure: Regenerate.
17947
c23c33b0
TS
179482012-07-22 Thomas Schwinge <thomas@codesourcery.com>
17949
17950 * math/w_ilogb.c: Include <limits.h>.
17951 * math/w_ilogbl.c: Likewise.
17952
b5982523
JM
179532012-07-20 Joseph Myers <joseph@codesourcery.com>
17954
17955 * manual/lang.texi (__va_copy): Document primarily as ISO C99
17956 va_copy. Document allowing for unavailable va_copy only as
17957 pre-C99 compatibility.
17958 * manual/string.texi (Copying and Concatenation): Use va_copy
17959 instead of __va_copy in concat example.
17960
ac4ea442
PT
179612012-07-20 Pino Toscano <toscano.pino@tiscali.it>
17962
17963 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
17964 (__sendto): Use create_address_port. Initialize APORT and deallocate
17965 it if not null.
17966
f98eafbd
PT
17967 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
17968 with O_NOLINK passed to __file_name_lookup.
17969
898c7aab
PT
17970 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
17971 with O_NOLINK passed to __file_name_lookup.
17972
0ced335a
PT
17973 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
17974 negative N or less than NGIDS.
17975
b3404dbd
PT
17976 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
17977 type to string_t. Set ERANGE as errno and return it if NAME is not big
17978 enough. Use memcpy instead of strncpy.
17979
0f48659e
JM
179802012-07-20 Joseph Myers <joseph@codesourcery.com>
17981
17982 * elf/Makefile (check-data): Remove.
17983 (localplt.data): New vpath directive.
17984 ($(objpfx)check-localplt.out): Use localplt.data from vpath
17985 instead of $(check-data).
17986 * scripts/data/localplt-generic.data: Move to ...
17987 * sysdeps/generic/localplt.data: ... here.
17988 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
17989 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
17990 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
17991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
17992 ... here.
17993 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
17994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
17995 ... here.
17996 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
17997 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
17998 ... here.
17999 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
18000 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
18001 ... here.
18002 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
18003 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
18004 ... here.
18005 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
18006 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
18007 ... here.
18008
d37cbdaa
AZ
180092012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18010
18011 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
18012 PPC32 and PPC64 files.
18013 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
18014 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
18015
46f85fc2
AK
180162012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18017
18018 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
18019 __makecontext_ret to ...
18020 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
18021 ... here and call exit if uc_link is NULL. New file.
18022 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
18023 __makecontext_ret.S.
18024 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
18025 __makecontext_ret to ...
18026 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
18027 ... here and call exit if uc_link is NULL. New file.
18028 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
18029 __makecontext_ret.S.
18030
08f43f9b
AK
180312012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18032
18033 * elf/elf.h (R_390_IRELATIVE): New definition.
18034 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
18035 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
18036 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
18037 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18038 (elf_machine_lazy_rel): Likewise.
18039 * sysdeps/s390/dl-irel.h: New file.
18040 * sysdeps/s390/s390-64/memcpy.S: New asm code.
18041 * sysdeps/s390/s390-64/memset.S: New asm code.
18042 * sysdeps/s390/s390-64/memcmp.S: New asm code.
18043 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
18044 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
18045 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
18046 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
18047 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
18048 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
18049 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
18050 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
18051 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
18052 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
18053 * sysdeps/s390/s390-32/memcpy.S: New asm code.
18054 * sysdeps/s390/s390-32/memset.S: New asm code.
18055 * sysdeps/s390/s390-32/memcmp.S: New asm code.
18056
3b05db33
MP
180572012-07-17 Marek Polacek <polacek@redhat.com>
18058
18059 [BZ #14349]
18060 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
18061 * sysdeps/s390/s390-64/configure.in: Likewise.
18062 * sysdeps/sparc/configure.in: Likewise.
18063 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
18064 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
18065 * sysdeps/i386/configure.in: Likewise.
18066 * sysdeps/x86_64/configure.in: Likewise.
18067 * sysdeps/sh/configure.in: Likewise.
18068 * sysdeps/s390/s390-32/configure: Regenerated.
18069 * sysdeps/s390/s390-64/configure: Likewise.
18070 * sysdeps/x86_64/configure: Likewise.
18071 * sysdeps/sh/configure: Likewise.
18072 * sysdeps/powerpc/powerpc64/configure: Likewise.
18073 * sysdeps/powerpc/powerpc32/configure: Likewise.
18074 * sysdeps/sparc/configure: Likwise.
18075 * sysdeps/i386/configure: Likewise.
18076
a66877c6
MP
18077 * elf/dl-open.c: Comment fixes.
18078
cfc82fd8
JM
180792012-07-17 Joseph Myers <joseph@codesourcery.com>
18080
bd29910a
JM
18081 * Makefile [CXX] (check-data): Remove.
18082 [CXX] (c++-types.data): New vpath directive.
18083 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
18084 vpath. Do not allow for C++ type data being missing.
18085 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
18086 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
18087 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
18088 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
18089 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
18090 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
18091 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
18092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
18093 ... here.
18094 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
18095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
18096 ... here.
18097 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
18098 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
18099 ... here.
18100 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
18101 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
18102 ... here.
18103 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
18104 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
18105 ... here.
18106 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
18107 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
18108 ... here.
18109 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
18110 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
18111 ... here.
18112 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
18113 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
18114
cfc82fd8
JM
18115 * elf/tls-macros.h (TLS_LE): Move architecture-specific
18116 definitions to architecture-specific files.
18117 (TLS_IE): Likewise.
18118 (TLS_LD): Likewise.
18119 (TLS_GD): Likewise.
18120 * sysdeps/i386/tls-macros.h: New file.
18121 * sysdeps/powerpc/tls-macros.h: Likewise.
18122 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
18123 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
18124 * sysdeps/sh/tls-macros.h: Likewise.
18125 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
18126 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
18127 * sysdeps/x86_64/tls-macros.h: Likewise.
18128
f7db3170
TS
181292012-07-17 Thomas Schwinge <thomas@codesourcery.com>
18130
07cbfc23
TS
18131 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
18132 zero value for regular exit case.
18133
f7db3170
TS
18134 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
18135 (__start_context): Preserve zero value for regular exit case.
18136
dc97c227
TS
181372012-07-17 Thomas Schwinge <thomas@codesourcery.com>
18138 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18139
18140 * manual/setjmp.texi (setcontext): Clarify normal process
18141 termination when uc_link is the null pointer.
18142 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
18143 exit call.
18144
d0cd7d02
AS
181452012-07-16 Andreas Schwab <schwab@linux-m68k.org>
18146
18147 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
18148 preprocessor. Test for each exception mask separately.
18149
dd318934
AJ
181502012-07-16 Andreas Jaeger <aj@suse.de>
18151
18152 * po/ru.po: Update from translation team.
18153
8048311a
JM
181542012-07-15 Joseph Myers <joseph@codesourcery.com>
18155
18156 * conform/data/string.h-data (NULL): Use macro-constant. Require
18157 equal to 0.
18158 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18159 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18160 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
18161 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
18162 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18163
b637d46e
AJ
181642012-07-13 Andreas Jaeger <aj@suse.de>
18165
18166 * po/fr.po: Update from translation team.
18167
541428fe
MP
181682012-07-12 Marek Polacek <polacek@redhat.com>
18169
18170 [BZ #14173]
18171 * math/libm-test.inc (yn_test): Add test for BZ #14173.
18172 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
18173 loop condition.
18174
ec332e94
JM
181752012-07-12 Joseph Myers <joseph@codesourcery.com>
18176
18177 [BZ #13717]
18178 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18179 Change to 2.4.1 where previously 2.4.0.
18180 * sysdeps/unix/sysv/linux/configure: Regenerated.
18181 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
18182 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
18183 version.
18184 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
18185 (__ASSUME_AT_CLKTCK): Remove.
18186 (__ASSUME_AT_PAGESIZE): Likewise.
18187 (__ASSUME_AT_XID): Likewise.
18188 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
18189 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
18190 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
18191 unconditionally.
18192 (HAVE_AUX_PAGESIZE): Likewise.
18193 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
18194 [__ASSUME_AT_CLKTCK]: Make code unconditional.
18195 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
18196
7b6e99be
JB
181972012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
18198
18199 [BZ #14307]
18200 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
18201 the temporary buffer used to invoke __gethostbyname2_r,
18202 __gethostbyaddr_r and gethostbyname4_r to make room for struct
18203 host_data / struct gaih_addrtuple.
18204 * resolv/nss_dns/dns-host.c (global scope): Move definition of
18205 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
18206 header file nss/nsswitch.h.
18207 * nss/nsswitch.h (global scope): Add definition of implementation
18208 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
18209 resolv/nss_dns/dns-host.c).
18210
608404eb
AJ
182112012-07-11 Andreas Jaeger <aj@suse.de>
18212
18213 * po/fr.po: Update from translation team.
18214
71220aca
AJ
18215 * po/sv.po: Update from translation team
18216 * po/fr.po: Another update from translation team.
18217
28cfe843
AZ
182182012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18219
18220 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
18221 for subnormals or multiply small sinh result by itself.
18222 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18223 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18224
6b90f981
DM
182252012-07-11 David S. Miller <davem@davemloft.net>
18226
18227 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18228
c6825772
AS
182292012-07-10 Andreas Schwab <schwab@linux-m68k.org>
18230
18231 [BZ #14347]
18232 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
18233 (INTERNAL_MARK): Shift it here.
18234
7b8e0d49
MP
182352012-07-10 Marek Polacek <polacek@redhat.com>
18236
18237 [BZ #14151]
18238 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
18239 libc_cv_asm_global_directive with .globl.
18240 * configure: Regenerated.
18241 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
18242 with .globl.
18243 * sysdeps/i386/configure: Regenerated.
18244 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
18245 with .globl.
18246 * sysdeps/x86_64/configure: Regenerated.
18247 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
18248 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
18249 * elf/tst-unique2mod2.c: Likewise.
18250 * elf/tst-unique2mod1.c: Likewise.
18251 * elf/tst-unique1mod2.c: Likewise.
18252 * elf/tst-unique1mod1.c: Likewise.
18253 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18254 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18255 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18256 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18257 * sysdeps/mach/sysdep.h: Likewise.
18258 * sysdeps/i386/sysdep.h: Likewise.
18259 * sysdeps/i386/i386-mcount.S: Likewise.
18260 * sysdeps/x86_64/_mcount.S: Likewise.
18261 * sysdeps/x86_64/sysdep.h: Likewise.
18262 * sysdeps/sh/_mcount.S: Likewise.
18263 * sysdeps/sh/sysdep.h: Likewise.
18264 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
18265 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
18266 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
18267 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18268 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
18269 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
18270 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
18271 * locale/localeinfo.h: Likewise.
18272 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
18273 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
18274
6c55cda3
RM
182752012-07-09 Roland McGrath <roland@hack.frob.com>
18276
18277 [BZ #14336]
18278 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
18279 system".
18280 * manual/message.texi (The Uniforum approach): Likewise.
18281 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
18282 (glibc iconv Implementation): Likewise.
18283
638a572e
JM
182842012-07-09 Joseph Myers <joseph@codesourcery.com>
18285
18286 [BZ #14337]
18287 * math/s_clog.c (__clog): Avoid scaling a value down where that
18288 could result in underflow.
18289 * math/s_clog10.c (__clog10): Likewise.
18290 * math/s_clog10f.c (__clog10f): Likewise.
18291 * math/s_clog10l.c (__clog10l): Likewise.
18292 * math/s_clogf.c (__clogf): Likewise.
18293 * math/s_clogl.c (__clogl): Likewise.
18294 * math/libm-test.inc (clog_test): Add more tests.
18295 (clog10_test): Likewise.
18296 * sysdeps/i386/fpu/libm-test-ulps: Update.
18297 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18298
261f4859
AS
182992012-07-06 Andreas Schwab <schwab@linux-m68k.org>
18300
0abaf3e4
AS
18301 [BZ #14283]
18302 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
18303 by 7 not 8 to examine high bit of fractional part.
18304
261f4859
AS
18305 [BZ #14042]
18306 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
18307 for call to __mcount_internal.
18308 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
18309 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
18310 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
18311
f17ac40d
JM
183122012-07-06 Joseph Myers <joseph@codesourcery.com>
18313
9ad63c23
JM
18314 [BZ #14154]
18315 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
18316 approximation for values within 0x1p-13f of an odd multiple of
18317 pi/4.
18318 * math/libm-test.inc (tan_test): Do not allow spurious underflow
18319 exception. Add more tests.
18320 * sysdeps/i386/fpu/libm-test-ulps: Update.
18321
f17ac40d
JM
18322 [BZ #6778]
18323 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
18324 inputs and return -1 for them. Do not check for +Inf in case not
18325 reachable for +Inf.
18326 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18327 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
18328 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18329 and return -1 for them. Do not check for +Inf in case not
18330 reachable for +Inf.
18331 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
18332 define.
18333 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18334 and return -1 for them. Do not check for +Inf in case not
18335 reachable for +Inf.
18336 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
18337 spurious underflow.
18338 * sysdeps/i386/fpu/libm-test-ulps: Update.
18339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18340
fb21f89b
MF
183412012-07-06 Mike Frysinger <vapier@gentoo.org>
18342
18343 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
18344
cdfe2c5e
JM
183452012-07-05 Joseph Myers <joseph@codesourcery.com>
18346
18347 [BZ #14157]
18348 [BZ #14331]
18349 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
18350 could result in spurious underflow. Scale down values above
18351 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
18352 * math/s_csqrtf.c (__csqrtf): Likewise.
18353 * math/s_csqrtl.c (__csqrtl): Likewise.
18354 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
18355 spurious underflow.
18356 * sysdeps/i386/fpu/libm-test-ulps: Update.
18357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18358
70d35b67
AS
183592012-07-04 Andreas Schwab <schwab@linux-m68k.org>
18360
704bc459
AS
18361 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
18362 xopen-msg.sed.
18363 * catgets/xopen-msg.awk: New file.
18364 * catgets/xopen-msg.sed: Removed.
18365
70d35b67
AS
18366 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
18367 po2text.sed.
18368 * intl/po2test.awk: New file.
18369 * intl/po2test.sed: Removed.
18370
ca61cf32
JM
183712012-07-04 Joseph Myers <joseph@codesourcery.com>
18372
18373 [BZ #14328]
18374 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
18375 or multiply small sinh result by itself.
18376 * math/s_ctanf.c (__ctanf): Likewise.
18377 * math/s_ctanh.c (__ctanh): Likewise.
18378 * math/s_ctanhf.c (__ctanhf): Likewise.
18379 * math/s_ctanhl.c (__ctanhl): Likewise.
18380 * math/s_ctanl.c (__ctanl): Likewise.
18381 * math/libm-test.inc (ctan_test_tonearest): New function.
18382 (ctan_test_towardzero): Likewise.
18383 (ctan_test_downward): Likewise.
18384 (ctan_test_upward): Likewise.
18385 (ctanh_test_tonearest): Likewise.
18386 (ctanh_test_towardzero): Likewise.
18387 (ctanh_test_downward): Likewise.
18388 (ctanh_test_upward): Likewise.
18389 (main): Call these new functions.
18390 * sysdeps/i386/fpu/libm-test-ulps: Update.
18391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18392
ca48a46a
MF
183932012-07-03 Mike Frysinger <vapier@gentoo.org>
18394
18395 * .gitignore: Delete /ports entry.
18396
9d63d37d
AJ
183972012-07-03 Andreas Jaeger <aj@suse.de>
18398
18399 * po/bg.po: Update from translation team.
18400 * po/cs.po: Likewise.
18401 * po/de.po: Likewise.
18402 * po/hr.po: Likewise.
18403 * po/nl.pl: Likewise.
18404 * po/pl.po: Likewise.
18405 * po/vi.po: Likewise.
18406
370ca3d2
JM
184072012-07-03 Joseph Myers <joseph@codesourcery.com>
18408
95f5a9a8
JM
18409 * Makeconfig [!+link] (+link-before-libc): New variable.
18410 [!+link] (+link-after-libc): Likewise.
18411 [!+link] (+link-tests): Likewise.
18412 [!+link] (+link): Define in terms of $(+link-before-libc) and
18413 $(+link-after-libc).
18414 [!+link-static] (+link-static-before-libc): New variable.
18415 [!+link-static] (+link-static-after-libc): Likewise.
18416 [!+link-static] (+link-static-tests): Likewise.
18417 [!+link-static] (+link-static): Define in terms of
18418 $(+link-static-before-libc) and $(+link-static-after-libc).
18419 [build-shared] (link-libc-before-gnulib): New variable.
18420 [build-shared] (link-libc-tests): Likewise.
18421 [build-shared] (link-libc): Define in terms of
18422 $(link-libc-before-gnulib).
18423 [!build-shared] (link-libc-tests): New variable.
18424 (link-libc-static-tests): New variable.
18425 [!gnulib] (gnulib-arch): New variable.
18426 [!gnulib] (gnulib-tests): Likewise.
18427 [!gnulib] (static-gnulib-arch): Likewise.
18428 [!gnulib] (static-gnulib-tests): Likewise.
18429 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
18430 Define with "=" instead of ":=".
18431 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
18432 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
18433 * Rules (binaries-all-notests): New variable.
18434 (binaries-all-tests): Likewise.
18435 (binaries-static-notests): Likewise.
18436 (binaries-static-tests): Likewise.
18437 (binaries-all): Define using $(binaries-all-notests) and
18438 $(binaries-all-tests).
18439 (binaries-static): Define using $(binaries-static-notests) and
18440 $(binaries-static-tests).
18441 (binaries-shared-tests): New variable.
18442 (binaries-shared-notests): Likewise.
18443 (binaries-shared): Remove variable.
18444 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
18445 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
18446 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
18447 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
18448 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
18449 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
18450 * elf/Makefile (sln-modules): New variable.
18451 (extra-objs): Add $(sln-modules:=.o).
18452 (ldconfig-modules): Add static-stubs.
18453 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
18454 * elf/static-stubs.c: New file.
18455
7a845b2c
JM
18456 [BZ #14283]
18457 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
18458 by 7 not 8 to examine high bit of fractional part. Use volatile
18459 variables when splitting into final array of floats if
18460 __FLT_EVAL_METHOD__ != 0.
18461 * math/libm-test.inc (cos_test): Add another test.
18462 (sin_test): Likewise.
18463 * sysdeps/i386/fpu/libm-test-ulps: Update.
18464
e2283f38
JM
18465 [BZ #14273]
18466 * math/libm-test.inc (cosh_test): Add more tests.
18467
370ca3d2
JM
18468 * version.h (RELEASE): Set to "development".
18469 (VERSION): Set to "2.16.90".
18470
ee9247c3
CD
184712012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
18472
18473 * NEWS: Update copyright. Remove last-updated date.
18474 Mention math library bug fixes and timezone data changes.
18475 * README: Mention GNU/Hurd, x32, and HPPA support status.
18476
4648c381
TS
184772012-06-28 Thomas Schwinge <thomas@codesourcery.com>
18478
18479 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
18480
aac78a43
AJ
184812012-06-27 Andreas Jaeger <aj@suse.de>
18482
18483 * manual/contrib.texi (Contributors): Add Samuel Thibault.
18484
ed3dbfad
AJ
184852012-06-25 Andreas Jaeger <aj@suse.de>
18486
18487 * sysdeps/s390/fpu/libm-test-ulps: Update.
18488
4d0ee855
AS
184892012-06-23 Andreas Schwab <schwab@linux-m68k.org>
18490 Thomas Schwinge <thomas@codesourcery.com>
18491
18492 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
18493 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
18494 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
18495 fanotify_mark.
18496
af1bce34
TS
184972012-06-23 Thomas Schwinge <thomas@codesourcery.com>
18498
a9fa33ba
TS
18499 * sysdeps/mach/start.c: Remove file.
18500 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
18501 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
18502 * sysdeps/sh/init-first.c: Likewise.
18503
58f902b8
TS
18504 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
18505 registers for frame unwinding purposes, add CFI directives.
18506 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18507 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
18508 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
18509 Likewise.
18510
1518f58b
TS
18511 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
18512 __fortify_fail returning.
18513 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18514
db9b5059
TS
18515 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
18516 sysdeps/sh/____longjmp_chk.S.
18517 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
18518 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
18519 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
18520 (gen-as-const-headers): Append sigaltstack-offsets.sym.
18521
967705fe
TS
18522 * sysdeps/sh/abort-instr.h: New file.
18523 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
18524 process in case exit returns.
18525
a9def8c4
TS
18526 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
18527 initialize the GOT register before use.
18528
2a649725
TS
18529 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
18530 calculation of ARGC > 4.
18531
af1bce34
TS
18532 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
18533 meaningful names to some local labels.
18534
d230f50a
KK
185352012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18536 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18537
18538 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
18539 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
18540 (__arch_compare_and_exchange_val_16_acq): Likewise.
18541 (__arch_compare_and_exchange_val_32_acq): Likewise.
18542 (atomic_exchange_and_add): Fix gUSA sequence.
18543 (atomic_add): Likewise.
18544 (atomic_add_negative): Likewise.
18545 (atomic_add_zero): Likewise.
18546 (atomic_bit_test_set): Likewise.
18547
0479b305
AS
185482012-06-22 Andreas Schwab <schwab@redhat.com>
18549
18550 [BZ #13579]
18551 * include/link.h (struct link_map): Add l_free_initfini.
18552 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
18553 l_initfini.
18554 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
18555 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
18556 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
18557 set.
18558
0e3933b9
CD
185592012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
18560
18561 * configure.in: Use AC_LANG_SOURCE.
18562 * configure: Regenerate.
18563
4248b1b1
RM
185642012-06-22 Roland McGrath <roland@hack.frob.com>
18565
18566 * configure.in (libc_cv_localstatedir): New substituted variable.
18567 * configure: Regenerated.
18568 * config.make.in (localstatedir): New variable, substituted from
18569 libc_cv_localstatedir.
18570 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
18571 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
18572 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
18573 * sysdeps/gnu/configure: Regenerated.
18574
006dd861
JL
185752012-06-21 Jeff Law <law@redhat.com>
18576
18577 [BZ #14277]
18578 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
18579 free. Simplify list management for _LIBC case.
18580
79662d42
JM
185812012-06-21 Joseph Myers <joseph@codesourcery.com>
18582
b7abb4bf
JM
18583 [BZ #14273]
18584 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
18585 Clear sign bit of 64-bit integer value before comparing against
18586 overflow value.
18587
79662d42
JM
18588 * sysdeps/mach/configure: Regenerated.
18589
1f150908
L
185902012-06-21 H.J. Lu <hongjiu.lu@intel.com>
18591
18592 [BZ #14278]
18593 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
18594
28363bbf
JL
185952012-06-21 Jeff Law <law@redhat.com>
18596
18597 [BZ #13882]
18598 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
18599 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 18600 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
18601 * elf/dl-open.c (dl_open_worker): Likewise.
18602
09615db4
CD
186032012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
18604
18605 * scripts/list-sources.sh: Scan PORTS for translations.
18606 * po/libc.pot: Regenerated.
18607
2174c6dd
AJ
186082012-06-21 Andreas Jaeger <aj@suse.de>
18609
18610 [BZ #12194]
18611 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
18612 warning.
18613 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
18614 * bits/byteswap-16.h (__bswap_16): Likewise.
18615 * bits/byteswap.h (__bswap_constant_16): Likewise.
18616
3ee947b1
L
186172012-06-18 H.J. Lu <hongjiu.lu@intel.com>
18618
18619 [BZ #14117]
a2f34833
L
18620 * sysdeps/i386/fpu_control.h: Removed.
18621 * sysdeps/x86_64/fpu_control.h: Moved to ...
18622 * sysdeps/x86/fpu_control.h: Here.
18623
3ee947b1
L
18624 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
18625 (_FPU_SETCW): Likewise.
18626
ed1825f8
L
186272012-06-15 H.J. Lu <hongjiu.lu@intel.com>
18628
25f1282a
L
18629 [BZ #14117]
18630 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
18631 * sysdeps/x86/fpu/bits/mathinline.h: This.
18632 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
18633
ed1825f8
L
18634 [BZ #14050]
18635 [BZ #14117]
18636 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
18637 functions if __x86_64__ is defined.
18638
36d54b74
CLT
186392012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
18640
18641 * string/endian.h: Add !__ASSEMBLER__ condition for including
18642 conversion interfaces.
18643
10285c21
JM
186442012-06-15 Joseph Myers <joseph@codesourcery.com>
18645
18646 [BZ #14241]
18647 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
18648 of ABS(x) in calculating zero to negative powers other than odd
18649 integers.
18650 * math/libm-test.inc (pow_test): Add more tests.
18651
06c5abbd
AJ
186522012-06-15 Andreas Jaeger <aj@suse.de>
18653
18654 * manual/contrib.texi (Contributors): Update entry of Liubov
18655 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
18656 Machado Filho.
18657
a3aeac40
CH
186582012-06-15 Cyril Hrubis <metan@ucw.cz>
18659
18660 * string/string.h: Add __wur to GNU version of strerror_r.
18661
49bdf4c1
L
186622012-06-14 H.J. Lu <hongjiu.lu@intel.com>
18663
18664 [BZ #14229]
18665 * string/Makefile (tests): Add tst-strtok_r.
18666 * string/tst-strtok_r.c: New file.
18667 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
18668 RAX_LP/RDX_LP on SAVE_PTR.
18669
834f9b8d
RM
186702012-06-14 Roland McGrath <roland@hack.frob.com>
18671
18672 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
18673
75fa1921
JM
186742012-06-14 Joseph Myers <joseph@codesourcery.com>
18675
18676 * libm_test.inc (csqrt_test): Allow more spurious underflow
18677 exceptions.
18678 (j0_test): Likewise.
18679 (j1_test): Likewise.
18680 (y0_test): Likewise.
18681 (y1_test): Likewise.
18682
771766df
CD
186832012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
18684
18685 * po/Makefile (libc.pot): Use UTF-8 charset.
18686
ceb9e56b
PP
186872012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
18688
18689 [BZ #14210]
18690 Suppress sign-conversion warning from FD_SET.
18691 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
18692 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
18693 not unsigned long int.
18694 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
18695
ddb28975
L
186962012-06-12 H.J. Lu <hongjiu.lu@intel.com>
18697
18698 [BZ #14050]
18699 [BZ #14117]
18700 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
18701 __extern_always_inline instead of __extern_inline.
18702 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
18703 (__signbit): Likewise.
18704 (__signbitl): Support C++ namespace.
18705 (lrintf): New inline function.
18706 (lrint): Likewise.
18707 (llrintf): Likewise.
18708 (llrint): Likewise.
18709 (fmaxf): Likewise.
18710 (fmax): Likewise.
18711 (fminf): Likewise.
18712 (fmin): Likewise.
18713 (rint): Likewise.
18714 (rintf): Likewise.
18715 (ceil): Likewise.
18716 (ceilf): Likewise.
18717 (floor): Likewise.
18718 (floorf): Likewise.
18719 (nearbyint): Likewise.
18720 (nearbyintf): Likewise.
18721
d7b4fb26
TS
187222012-06-12 Thomas Schwinge <thomas@codesourcery.com>
18723
18724 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
18725 non-default versions.
18726
eb55f5c2
RM
187272012-06-11 Roland McGrath <roland@hack.frob.com>
18728
18729 [BZ #14218]
18730 * manual/argp.texi (Argp): Reword argp_parse description slightly.
18731
366af02c
TS
187322012-06-09 Thomas Schwinge <thomas@codesourcery.com>
18733
99ff6e5c
TS
18734 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
18735 (FE_UPWARD, FE_DOWNWARD): Don't define.
18736 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
18737 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18738
366af02c
TS
18739 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
18740 reading it.
18741 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18742 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18743
793ea851
KK
187442012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18745
18746 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18747 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
18748 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
18749 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
18750
a728a38f
L
187512012-06-06 H.J. Lu <hongjiu.lu@intel.com>
18752
18753 [BZ #14117]
c08010c7
L
18754 * sysdeps/i386/fpu/bits/fenv.h: Removed.
18755 * sysdeps/i386/fpu/Implies: New file.
18756 * sysdeps/x86_64/fpu/Implies: Likewise.
18757 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
18758 * sysdeps/x86/fpu/bits/fenv.h: This.
18759
a728a38f
L
18760 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
18761 __SSE_MATH__.
18762
6e230d11
SP
187632012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18764
18765 [BZ #14134]
18766 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
18767 character 0xffff that matches the last element of the
18768 conversion table.
18769
1b671feb
AZ
187702012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18771
18772 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
18773 fmodl commit.
18774
6043738b
AZ
187752012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18776
18777 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
18778 values higher than 25.6283.
18779
34ae0b32
AZ
187802012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18781
18782 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
18783 subnormal exponent extraction and add some __builtin_expect.
18784 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
18785 Fix for subnormal mantissa calculation.
18786
1214ec8f
MF
187872012-06-04 Mike Frysinger <vapier@gentoo.org>
18788
18789 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
18790 cpu2 is -1 and errno is not ENOSYS.
18791
f3d1f93c
L
187922012-06-04 H.J. Lu <hongjiu.lu@intel.com>
18793
18794 [BZ #14117]
0e4a3cd7
L
18795 * sysdeps/i386/i486/bits/string.h: Renamed to ...
18796 * sysdeps/x86/bits/string.h: This.
18797 * sysdeps/x86_64/bits/string.h: Removed.
18798
6704c645
L
18799 * sysdeps/i386/i486/bits/string.h: Define inline functions only
18800 if not compiling for x86-64, but compiling for >= i486.
18801
48495318
L
18802 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
18803 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
18804
14adcbfc
L
18805 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
18806 New macro from Linux kernel 3.4.0.
18807 (FP_XSTATE_MAGIC2): Likewise.
18808 (FP_XSTATE_MAGIC2_SIZE): Likewise.
18809 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
18810 (struct _fpx_sw_bytes): New struct.
18811 (struct _xsave_hdr): Likewise.
18812 (struct _ymmh_state): Likewise.
18813 (struct _xstate): Likewise.
18814
68e408ab
L
18815 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
18816 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
18817 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
18818 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
18819 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
18820 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
18821
f3d1f93c
L
18822 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
18823 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
18824 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
18825 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
18826 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
18827 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
18828
d9dc34cd
TMQMF
188292012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18830
18831 [BZ #13743]
18832 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
18833 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
18834 (sysdep_headers): Include sys/platform/ppc.h.
18835 * sysdeps/powerpc/test-gettimebase.c: Test for
18836 __ppc_get_timebase() to catch future ISA opcode/insn changes.
18837 * manual/Makefile (appendices): Include platform.texi.
18838 * manual/contrib.texi (Contributors): Update @node pointers.
18839 * manual/maint.texi (Maintenance): Likewise.
18840 (Platform): New node.
18841 * manual/platform.texi: New file. Document the new features.
18842
4af3879c
SP
188432012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18844 Jakub Jelinek <jakub@redhat.com>
18845
18846 [BZ #14188]
18847 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
18848 where __builtin_expect is unavailable.
18849
2fd6ff13
DM
188502012-06-03 David S. Miller <davem@davemloft.net>
18851
18852 * stdlib/longlong.h: Updated from GCC.
18853
173f7220
AS
188542012-06-02 Andreas Schwab <schwab@linux-m68k.org>
18855
18856 [BZ #14042]
18857 * sysdeps/powerpc/powerpc32/mcount.c: New file.
18858 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
18859 __mcount_internal.
18860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18861 (GLIBC_2.16): Likewise.
18862
f34a1c6f
L
188632012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18864
18865 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
18866
88a4576f
JM
188672012-06-01 Joseph Myers <joseph@codesourcery.com>
18868
ea32bcdd
JM
18869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
18870 (default-abi): New variable.
18871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
18872 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
18873 variable.
18874 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
18875 Likewise.
18876 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
18877 Likewise.
18878 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
18879 Likewise.
18880
88a4576f
JM
18881 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
18882 definition. Document in comment.
18883
402fe938
DM
188842012-06-01 David S. Miller <davem@davemloft.net>
18885
18886 * stdlib/longlong.h: Updated from GCC.
18887
3553723f
L
188882012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18889
18890 [BZ #14117]
3bd872c4
L
18891 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
18892 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
18893 sys/debugreg.h sys/io.h here.
18894 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
18895 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
18896 sys/io.h.
18897 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
18898 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
18899 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
18900 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
18901 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
18902 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
18903
3553723f
L
18904 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
18905 Define only if __x86_64__ is defined.
18906
4842e4fe
JM
189072012-06-01 Joseph Myers <joseph@codesourcery.com>
18908
c5bfe3d5
JM
18909 [BZ #14048]
18910 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
18911 Use int64_t for variable i.
18912 * math/libm-test.inc (fmod_test): Add more tests.
18913
4842e4fe
JM
18914 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
18915 z computation is not scheduled after fetestexcept.
18916 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
18917 Use math_force_eval instead of asm to ensure calculation scheduled
18918 before exception test.
18919 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
18920 Ensure a1 + u.d computation is not scheduled after fetestexcept.
18921
efb73488
AJ
189222012-06-01 Aurelien Jarno <aurelien@aurel32.net>
18923
18924 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
18925 computation is not scheduled after fetestexcept.
18926
29bcce7c
L
189272012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18928
18929 [BZ #14117]
18930 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
18931 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
18932
73a68f94
AZ
189332012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18934
18935 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
18936 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18937
67b6df78
L
189382012-05-31 H.J. Lu <hongjiu.lu@intel.com>
18939
edf2933a 18940 [BZ #14117]
ebc64a18
L
18941 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
18942 <bits/wordsize.h>.
18943 (__WCHAR_MIN): Support __WORDSIZE == 64.
18944 (__WCHAR_MAX): Likewise.
18945
edf2933a
L
18946 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
18947 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
18948
57c6cf40
L
18949 [BZ #14183]
18950 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
18951 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
18952
67b6df78 18953 [BZ #14117]
8eb6281e
L
18954 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
18955 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
18956
aac639f4
L
18957 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
18958 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
18959
67b6df78
L
18960 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
18961 Defined to 1 if __x86_64__ isn't defined.
18962 (_STAT_VER_LINUX_OLD): New.
18963 (st_atime): Remove duplicate.
18964 (st_mtime): Likewise.
18965 (st_ctime): Likewise.
18966
1c2cfe81
DM
189672012-05-31 David S. Miller <davem@davemloft.net>
18968
18969 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
18970 entries.
18971
5be8418c
AS
189722012-06-01 Andreas Schwab <schwab@linux-m68k.org>
18973
e7725326
AS
18974 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
18975 gen-libm-test.pl.
18976
5be8418c
AS
18977 [BZ #14132]
18978 * elf/dl-reloc.c: Include <_itoa.h>.
18979 (_dl_reloc_bad_type): Remove use of INTUSE.
18980 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
18981 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
18982 * stdio-common/psiginfo.c (psiginfo): Likewise.
18983 * stdio-common/psignal.c (psignal): Likewise.
18984 * string/strsignal.c (strsignal): Likewise.
18985 * include/signal.h (_sys_siglist): Declare hidden proto.
18986 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
18987 INTVARDEF with libc_hidden_data_def.
18988 * stdio-common/itoa-udigits.c: Likewise.
18989 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
18990 (_itoa_lower_digits_internal): Remove declaration.
18991 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
18992 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
18993 (_sys_sigabbrev_internal): Remove aliases.
18994 (_sys_siglist): Define hidden alias.
18995
507352f1
MT
189962012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
18997
18998 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18999 bits/sysctl.h.
19000
42bbb1c3
L
190012012-05-31 H.J. Lu <hongjiu.lu@intel.com>
19002
19003 [BZ #14117]
6bd784b6
L
19004 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
19005 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
19006
8bca20f0
L
19007 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
19008 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
19009 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
19010 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
19011 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
19012 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
19013
f9e890a9
L
19014 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
19015 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
19016 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
19017
471101a1
L
19018 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
19019 with __addr.
19020 (insw): Likewise.
19021 (insl): Likewise.
19022 (outsb): Likewise.
19023 (outsw): Likewise.
19024 (outsl): Likewise.
19025
6451c862
L
19026 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
19027 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
19028 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
19029
a254b8c9
L
19030 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
19031 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
19032 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
19033 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
19034 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
19035 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
19036
b8dfdd92
L
19037 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
19038 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
19039
578cd270
L
19040 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
19041 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
19042
de662f5f
L
19043 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
19044 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
19045 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
19046
25653439
L
19047 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
19048 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
19049 to ...
19050 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
19051
6bad24a0
L
19052 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
19053 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
19054 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
19055
42bbb1c3
L
19056 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
19057 for x86-64.
19058 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
19059
2d10d547
JM
190602012-05-31 Joseph Myers <joseph@codesourcery.com>
19061
19062 * math/math.h (M_El): Use two more decimal places.
19063 (M_LOG2El): Likewise.
19064 (M_LOG10El): Likewise.
19065 (M_LN2l): Likewise.
19066 (M_LN10l): Likewise.
19067 (M_PIl): Likewise.
19068 (M_PI_2l): Likewise.
19069 (M_PI_4l): Likewise.
19070 (M_1_PIl): Likewise.
19071 (M_2_PIl): Likewise.
19072 (M_2_SQRTPIl): Likewise.
19073 (M_SQRT2l): Likewise.
19074 (M_SQRT1_2l): Likewise.
19075
f230c29b
DM
190762012-05-31 David S. Miller <davem@davemloft.net>
19077
19078 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
19079 values between float registers.
19080 * sysdeps/sparc/sparc64/memset.S: Likewise.
19081 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19082
fed806c3
MF
190832012-05-31 Mike Frysinger <vapier@gentoo.org>
19084
19085 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
19086 -D_FORTIFY_SOURCE=1.
19087 (CPPFLAGS-tst-longjmp_chk.c): Define.
19088 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
19089 (CPPFLAGS-tst-longjmp_chk2.c): Define.
19090 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
19091 CFLAGS-tst-wchar-h.c.
19092
30917259
MP
190932012-05-31 Marek Polacek <polacek@redhat.com>
19094
19095 [BZ #14132]
19096 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
19097 __endmntent_internal): Remove declaration.
19098 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
19099 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
19100 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
19101
1c58d5dc
DM
191022012-05-30 David S. Miller <davem@davemloft.net>
19103
19104 * sysdeps/sparc/sparc32/soft-fp/q_util.c
19105 (___Q_simulate_exceptions): Use real FP ops rather than writing
19106 into the %fsr.
19107 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
19108 Likewise.
19109
7dc00e0d
L
191102012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19111
19112 [BZ #14117]
0bd53985
L
19113 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
19114 * sysdeps/x86/bits/xtitypes.h: This.
19115
3a257e66
L
19116 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
19117 * sysdeps/x86/bits/wordsize.h: This.
19118
62f62904
L
19119 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
19120 * sysdeps/x86/bits/huge_vall.h: This.
19121
404fe9d9
L
19122 * sysdeps/i386/bits/select.h: Removed.
19123 * sysdeps/x86_64/bits/select.h: Renamed to ...
19124 * sysdeps/x86/bits/select.h: This.
19125
d48d0446
L
19126 * sysdeps/i386/bits/setjmp.h: Removed.
19127 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
19128 * sysdeps/x86/bits/setjmp.h: This.
19129
7dc00e0d
L
19130 * sysdeps/i386/bits/mathdef.h: Removed.
19131 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
19132 * sysdeps/x86/bits/mathdef.h: This.
19133
03277f8f
AS
191342012-05-30 Andreas Schwab <schwab@linux-m68k.org>
19135
19136 [BZ #14132]
19137 * include/sys/socket.h (__connect_internal)
19138 (__libc_sa_len_internal): Remove declaration.
19139 (__connect, __libc_sa_len): Declare hidden_proto.
19140 (SA_LEN): Remove use of INTUSE.
19141 * socket/connect.c: Add libc_hidden_def.
19142 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
19143 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
19144 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
19145 alias.
19146 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
19147 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
19148 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
19149 of adding _internal alias.
19150
13764867
L
191512012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19152
19153 [BZ #14117]
6bd97696
L
19154 * sysdeps/i386/bits/link.h: Removed.
19155 * sysdeps/i386/bits/linkmap.h: Likewise.
19156 * sysdeps/x86_64/bits/link.h: Renamed to ...
19157 * sysdeps/x86/bits/link.h: This.
19158 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
19159 * sysdeps/x86/bits/linkmap.h: This.
19160
f726f0bb
L
19161 * sysdeps/i386/bits/endian.h: Removed.
19162 * sysdeps/x86_64/bits/endian.h: Renamed to ...
19163 * sysdeps/x86/bits/endian.h: This.
19164
13764867
L
19165 * sysdeps/i386/bits/byteswap.h: Removed.
19166 * sysdeps/i386/bits/byteswap-16.h: Likewise.
19167 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
19168 * sysdeps/x86/bits/byteswap.h: This.
19169 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
19170 * sysdeps/x86/bits/byteswap-16.h: This.
19171 * sysdeps/i386/Implies: Add x86.
19172 * sysdeps/x86_64/Implies: Likewise.
19173
ae251b0b
DM
191742012-05-30 David S. Miller <davem@davemloft.net>
19175
19176 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
19177 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
19178 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
19179 (FP_TRAPPING_EXCEPTIONS): Define.
19180 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
19181 (FP_TRAPPING_EXCEPTIONS): Define.
19182 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
19183 subnormals only when inexact has been signalled or underflow
19184 exceptions are enabled.
19185 (_FP_PACK_CANONICAL): Likewise.
19186
d5c90867
L
191872012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19188
19189 [BZ #14183]
19190 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
19191 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
19192
63f1549e
RH
191932012-05-30 Richard Henderson <rth@twiddle.net>
19194
8d8f2279
RH
19195 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
19196 with #ifndef NOT_IN_libc.
19197
63f1549e
RH
19198 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
19199 marked to avoid plt entry.
19200
0ab0291b
L
192012012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19202
19203 [BZ #14112]
19204 * Makeconfig (default-abi): New macro.
19205 (abi-includes): Likewise.
19206 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
19207 $(abi-$(default-abi)-lib-soname) for soname if defined.
19208 ($(common-objpfx)gnu/lib-names.stmp): Generate from
19209 abi-variants.
19210 * Makefile (installed-stubs): Likewise.
19211 * include/stubs-biarch.h: Removed.
19212 * scripts/lib-names.awk: Only handle one library at a time.
19213 * scripts/soversions.awk: Remove WORDSIZE support.
19214 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
19215 entries.
19216 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
19217 Removed.
19218 (syscall-list-default-condition): Likewise.
19219 (syscall-list-default-condition): Likewise.
19220 (syscall-list-includes): Likewise.
19221 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
19222 syscall-list-* with abi-*. Handle undefined abi-variants.
19223 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
19224 * sysdeps/unix/sysv/linux/i386/Implies: New file.
19225 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
19226 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
19227 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
19228 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
19229 Removed.
19230 (syscall-list-32-options): Likewise.
19231 (syscall-list-32-condition): Likewise.
19232 (syscall-list-64-options): Likewise.
19233 (syscall-list-64-condition): Likewise.
19234 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
19235 macro.
19236 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
19237 Renamed to ...
19238 (abi-*): This.
19239 (abi-64-ld-soname): New macro.
19240 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
19241 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
19242 Renamed to ...
19243 (abi-*): This.
19244 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
19245 * sysdeps/x86_64/x32/shlib-versions: Likewise.
19246
4da0431d
JM
192472012-05-30 Joseph Myers <joseph@codesourcery.com>
19248
3a85279c
JM
19249 * sysdeps/unix/sysv/linux/kernel-features.h
19250 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
19251 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
19252 include <kernel-features.h>.
19253 [!__NR_ftruncate64]: Remove conditional code.
19254 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19255 [__NR_ftruncate64]: Make code unconditional.
19256 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19257 * sysdeps/unix/sysv/linux/truncate64.c: Do not
19258 include <kernel-features.h>.
19259 [!__NR_ftruncate64]: Remove conditional code.
19260 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19261 [__NR_ftruncate64]: Make code unconditional.
19262 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
19264 include <kernel-features.h>.
19265 [!__NR_ftruncate64]: Remove conditional code.
19266 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19267 [__NR_ftruncate64]: Make code unconditional.
19268 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19270 include <kernel-features.h>.
19271 [!__NR_ftruncate64]: Remove conditional code.
19272 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19273 [__NR_ftruncate64]: Make code unconditional.
19274 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19275
4da0431d
JM
19276 * configure.in (libc_cv_fpie): Weaken to a compile test using
19277 LIBC_TRY_CC_OPTION.
19278 * configure: Regenerated.
19279
11ef492c
AK
192802012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19281
19282 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
19283 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
19284 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
19285 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19286 Refreshed.
19287 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
19288 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
19289 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
19290 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
19291 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
19292 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19293 Refreshed.
19294
d66ef399
DM
192952012-05-27 David S. Miller <davem@davemloft.net>
19296
19297 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
19298 (___Q_zero): New.
19299 (__Q_simulate_exceptions): Return void. Change to simulate
19300 exceptions by writing into the %fsr.
19301 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
19302 (__Qp_handle_exceptions): Likewise.
19303 (numbers): Delete.
19304 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
19305 __Qp_handle_exceptions.
19306 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
19307 __Qp_handle_exceptions.
19308 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19309 as unused and give dummy FP_RND_NEAREST initializer.
19310 (FP_INHIBIT_RESULTS): Define.
19311 (___Q_simulate_exceptions): Update declaration.
19312 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
19313 formatting.
19314 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19315 as unused and give dummy FP_RND_NEAREST initializer.
19316 (__Qp_handle_exceptions): Update declaration.
19317 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
19318 formatting.
19319
04fb54b5
TS
193202012-05-27 Thomas Schwinge <thomas@codesourcery.com>
19321
19322 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
19323 the temporary FPU control word.
19324 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19325 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
19326 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
19327 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19328 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19329 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
19330 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
19331 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19332 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19333 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
19334 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19335
3f99608f
KK
193362012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19337
19338 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
19339 fields.
19340
65a4de4e
CLT
193412012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
19342
19343 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
19344 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
19345 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
19346 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
19347 Likewise.
19348 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
19349 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
19350 Likewise.
19351
15749d40
UD
193522012-05-27 Ulrich Drepper <drepper@gmail.com>
19353
19354 * po/h.po: Update from translation team.
19355
25dbcb27
AS
193562012-05-26 Andreas Schwab <schwab@linux-m68k.org>
19357
3d3f8e55
AS
19358 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
19359
25dbcb27
AS
19360 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
19361 handling of denormals.
19362 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19363 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19364 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19365 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19366 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19367 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
19368 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
19369 Likewise.
19370
7ad47a80 193712012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
19372
19373 [BZ #14152]
19374 * math/libm-test.inc (fma_test): Don't always expect underflow
19375 exception.
19376
9c6ea9fa
SP
193772012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19378
19379 [BZ #12416]
19380 * elf/tst-execstack.c: Include stackinfo.h.
19381 (do_test): Adjust test case to ensure that pthread_getattr_np
19382 behaviour remains the same after marking stack executable.
19383
a8239222
JM
193842012-05-25 Joseph Myers <joseph@codesourcery.com>
19385
19386 * sysdeps/unix/sysv/linux/kernel-features.h
19387 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
19388 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
19389 kernel-features.h.
19390 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19391 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19392 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
19393 kernel-features.h.
19394 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19395 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19396
918b5606
L
193972012-05-25 H.J. Lu <hongjiu.lu@intel.com>
19398
19399 * configure.in: Define the default includes to being none.
19400 * configure: Regenerated.
19401
3a097cc7
RM
194022012-05-25 Roland McGrath <roland@hack.frob.com>
19403
8422c9a5
RM
19404 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
19405 * sysdeps/x86_64/setjmp.S: Likewise.
19406 * sysdeps/i386/bsd-setjmp.S: Likewise.
19407 * sysdeps/i386/bsd-_setjmp.S: Likewise.
19408 * sysdeps/i386/setjmp.S: Likewise.
19409 * sysdeps/i386/__longjmp.S: Likewise.
19410 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19411 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
19412
3a097cc7
RM
19413 * include/stap-probe.h: New file.
19414 * configure.in: Handle --enable-systemtap.
19415 * configure: Regenerated.
19416 * config.h.in (USE_STAP_PROBE): New #undef.
19417 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
19418 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
19419 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19420
21708942
JM
194212012-05-25 Joseph Myers <joseph@codesourcery.com>
19422
19423 [BZ #13717]
19424 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19425 to 2.4.0 where earlier.
19426 * sysdeps/unix/sysv/linux/configure: Regenerated.
19427 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19428 <kernel-features.h>.
19429 [__ASSUME_32BITUIDS]: Make code unconditional.
19430 [!__ASSUME_32BITUIDS]: Remove conditional code.
19431 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
19432 <kernel-features.h>.
19433 [__ASSUME_32BITUIDS]: Make code unconditional.
19434 [!__ASSUME_32BITUIDS]: Remove conditional code.
19435 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
19436 [__ASSUME_32BITUIDS]: Make code unconditional.
19437 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
19438 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
19439 <kernel-features.h>.
19440 [__ASSUME_32BITUIDS]: Make code unconditional.
19441 [!__ASSUME_32BITUIDS]: Remove conditional code.
19442 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
19443 <kernel-features.h>.
19444 [__ASSUME_32BITUIDS]: Make code unconditional.
19445 [!__ASSUME_32BITUIDS]: Remove conditional code.
19446 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
19447 <kernel-features.h>.
19448 [__ASSUME_32BITUIDS]: Make code unconditional.
19449 [!__ASSUME_32BITUIDS]: Remove conditional code.
19450 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
19451 <kernel-features.h>.
19452 [__ASSUME_32BITUIDS]: Make code unconditional.
19453 [!__ASSUME_32BITUIDS]: Remove conditional code.
19454 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19455 <kernel-features.h>.
19456 [__ASSUME_32BITUIDS]: Make code unconditional.
19457 [!__ASSUME_32BITUIDS]: Remove conditional code.
19458 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19459 <kernel-features.h>.
19460 [__ASSUME_32BITUIDS]: Make code unconditional.
19461 [!__ASSUME_32BITUIDS]: Remove conditional code.
19462 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
19463 <kernel-features.h>.
19464 [__ASSUME_32BITUIDS]: Make code unconditional.
19465 [!__ASSUME_32BITUIDS]: Remove conditional code.
19466 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19467 <kernel-features.h>.
19468 [__ASSUME_32BITUIDS]: Make code unconditional.
19469 [!__ASSUME_32BITUIDS]: Remove conditional code.
19470 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19471 <kernel-features.h>.
19472 [__ASSUME_32BITUIDS]: Make code unconditional.
19473 [!__ASSUME_32BITUIDS]: Remove conditional code.
19474 * sysdeps/unix/sysv/linux/i386/semctl.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/setegid.c: Do not include
19479 <kernel-features.h>.
19480 [__NR_setresgid] (__setresgid): Do not declare.
19481 [__ASSUME_32BITUIDS]: Make code unconditional.
19482 [!__ASSUME_32BITUIDS]: Remove conditional code.
19483 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
19484 <kernel-features.h>.
19485 [__NR_setresuid] (__setresuid): Do not declare.
19486 [__ASSUME_32BITUIDS]: Make code unconditional.
19487 [!__ASSUME_32BITUIDS]: Remove conditional code.
19488 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
19489 <kernel-features.h>.
19490 [__ASSUME_32BITUIDS]: Make code unconditional.
19491 [!__ASSUME_32BITUIDS]: Remove conditional code.
19492 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
19493 <kernel-features.h>.
19494 [__ASSUME_32BITUIDS]: Make code unconditional.
19495 [!__ASSUME_32BITUIDS]: Remove conditional code.
19496 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
19497 <kernel-features.h>.
19498 [__ASSUME_32BITUIDS]: Make code unconditional.
19499 [!__ASSUME_32BITUIDS]: Remove conditional code.
19500 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
19501 <kernel-features.h>.
19502 [__ASSUME_32BITUIDS]: Make code unconditional.
19503 [!__ASSUME_32BITUIDS]: Remove conditional code.
19504 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
19505 <kernel-features.h>.
19506 [__ASSUME_32BITUIDS]: Make code unconditional.
19507 [!__ASSUME_32BITUIDS]: Remove conditional code.
19508 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
19509 <kernel-features.h>.
19510 [__ASSUME_32BITUIDS]: Make code unconditional.
19511 [!__ASSUME_32BITUIDS]: Remove conditional code.
19512 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
19513 <kernel-features.h>.
19514 [__ASSUME_32BITUIDS]: Make code unconditional.
19515 [!__ASSUME_32BITUIDS]: Remove conditional code.
19516 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
19517 <kernel-features.h>.
19518 [__ASSUME_32BITUIDS]: Make code unconditional.
19519 [!__ASSUME_32BITUIDS]: Remove conditional code.
19520 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
19521 <kernel-features.h>.
19522 [__ASSUME_32BITUIDS]: Make code unconditional.
19523 [!__ASSUME_32BITUIDS]: Remove conditional code.
19524 * sysdeps/unix/sysv/linux/i386/shmctl.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/kernel-features.h
19529 (__ASSUME_SETRESUID_SYSCALL): Remove.
19530 (__ASSUME_SETRESGID_SYSCALL): Likewise.
19531 (__ASSUME_32BITUIDS): Likewise.
19532 (__ASSUME_LDT_WORKS): Likewise.
19533 (__ASSUME_O_DIRECTORY): Likewise.
19534 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
19535 architecture but not kernel version.
19536 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19537 (__ASSUME_MMAP2_SYSCALL): Likewise.
19538 (__ASSUME_STAT64_SYSCALL): Likewise.
19539 (__ASSUME_IPC64): Likewise.
19540 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
19541 <kernel-features.h>.
19542 [__ASSUME_32BITUIDS]: Make code unconditional.
19543 [!__ASSUME_32BITUIDS]: Remove conditional code.
19544 * sysdeps/unix/sysv/linux/opendir.c: Do not include
19545 <kernel-features.h>.
19546 [__ASSUME_O_DIRECTORY]: Make code unconditional.
19547 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
19548 132096]: Remove conditional code.
19549 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
19550 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19551 <kernel-features.h>.
19552 [__ASSUME_32BITUIDS]: Make code unconditional.
19553 [!__ASSUME_32BITUIDS]: Remove conditional code.
19554 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19555 <kernel-features.h>.
19556 [__ASSUME_32BITUIDS]: Make code unconditional.
19557 [!__ASSUME_32BITUIDS]: Remove conditional code.
19558 * sysdeps/unix/sysv/linux/setegid.c: Do not include
19559 <kernel-features.h>.
19560 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
19561 unconditional.
19562 (__setresgid): Do not declare.
19563 [__ASSUME_32BITUIDS]: Make code unconditional.
19564 [!__ASSUME_32BITUIDS]: Remove conditional code.
19565 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
19566 <kernel-features.h>.
19567 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
19568 unconditional.
19569 (__setresuid): Do not declare.
19570 [__ASSUME_32BITUIDS]: Make code unconditional.
19571 [!__ASSUME_32BITUIDS]: Remove conditional code.
19572 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19573 <kernel-features.h>.
19574 [__ASSUME_32BITUIDS]: Make code unconditional.
19575 [!__ASSUME_32BITUIDS]: Remove conditional code.
19576 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
19577 <kernel-features.h>.
19578 [__ASSUME_32BITUIDS]: Make code unconditional.
19579 [!__ASSUME_32BITUIDS]: Remove conditional code.
19580
a386f1cc
RH
195812012-05-25 Richard Henderson <rth@twiddle.net>
19582
19583 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
19584 dl_hwcap to ifunc resolver.
19585 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
19586 elf_ifunc_invoke.
19587 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
19588 dl_hwcap to ifunc resolver.
19589 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
19590
b6550497
JM
195912012-05-24 Joseph Myers <joseph@codesourcery.com>
19592
19593 [BZ #14153]
19594 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
19595 for |x| <= 2**-26, not 2**-57.
19596 * math/libm-test.inc (acos_test): Do not allow spurious underflow
19597 exception.
19598
b0bc23a1
JL
195992012-05-24 Jeff Law <law@redhat.com>
19600
19601 * stdio-common/Makefile (tests): Add bug25.
19602 * stdio-common/bug25.c: New test.
19603
347c92e9
L
196042012-05-24 H.J. Lu <hongjiu.lu@intel.com>
19605
19606 [BZ #13576]
19607 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
19608 multiple of MALLOC_ALIGNMENT in size.
19609 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
19610
6bcc8b3f
JM
196112012-05-24 Joseph Myers <joseph@codesourcery.com>
19612
19613 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
19614 Require >= 256.
19615 (FILENAME_MAX): Use macro-int-constant.
19616 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
19617 (_IOFBF): Use macro-int-constant.
19618 (_IOLBF): Likewise.
19619 (_IONBF): Likewise.
19620 (SEEK_CUR): Likewise.
19621 (SEEK_END): Likewise.
19622 (SEEK_SET): Likewise.
19623 (TMP_MAX): Likewise.
19624 (EOF): Use macro-int-constant. Require < 0.
19625 (NULL): Use macro-constant. Require == 0.
19626 (stdin): Require type to be FILE *.
19627 (stdout): Likewise.
19628 (stderr): Likewise.
19629 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
19630 macro-int-constant.
19631 (EXIT_SUCCESS): Likewise.
19632 (NULL): Use macro-constant. Require == 0.
19633 (RAND_MAX): Use macro-int-constant.
19634 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
19635 [C99-based standards] (strtof): Require function.
19636 [C99-based standards] (strtold): Likewise.
19637 [C99-based standards] (strtoll): Likewise.
19638 [C99-based standards] (strtoull): Likewise.
19639 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19640 [ISO || ISO99 || ISO11] (limits.h): Likewise.
19641 [ISO || ISO99 || ISO11] (math.h): Likewise.
19642 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
19643 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19644 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19645
d18ea0c5
AS
196462012-05-24 Andreas Schwab <schwab@linux-m68k.org>
19647
19648 [BZ #14132]
56d25bb8
AS
19649 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
19650 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
19651 * intl/dgettext.c (DCGETTEXT): Likewise.
19652 * intl/gettext.c (DCGETTEXT): Likewise.
19653 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
19654 * posix/regex_internal.h (gettext): Likewise.
19655 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
19656 Remove declaration.
19657 * include/argz.h (__argz_count_internal)
19658 (__argz_stringify_internal): Remove declaration.
19659 (__argz_count, __argz_stringify): Declare hidden proto.
19660 * intl/dcgettext.c: Remove use of INTDEF.
19661 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
19662 * string/argz-stringify.c: Likewise.
19663 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19664 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19665 Declare hidden proto.
d18ea0c5
AS
19666 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19667 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19668 Declare hidden proto.
19669 * include/stdio.h (__asprintf_internal): Don't declare.
19670 (__asprintf): Don't define as macro. Declare hidden proto.
19671 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
19672 (__fsetlocking): Declare hidden proto.
19673 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
19674 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
19675 hidden proto.
19676 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
19677 (_IO_setlinebuf): Remove use of INTUSE.
19678 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
19679 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
19680 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
19681 Remove declaration.
19682 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
19683 (_IO_do_flush): Remove use of INTUSE.
19684 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
19685 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
19686 (_IO_adjust_column, _IO_least_wmarker)
19687 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
19688 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
19689 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
19690 (_IO_default_doallocate, _IO_wdefault_doallocate)
19691 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
19692 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
19693 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
19694 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
19695 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
19696 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
19697 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
19698 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
19699 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
19700 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
19701 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
19702 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
19703 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
19704 proto.
19705 (_IO_flush_all_internal, _IO_adjust_column_internal)
19706 (_IO_default_uflow_internal, _IO_default_finish_internal)
19707 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
19708 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
19709 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
19710 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
19711 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
19712 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
19713 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
19714 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
19715 (_IO_file_close_internal, _IO_file_close_it_internal)
19716 (_IO_file_underflow_internal, _IO_file_overflow_internal)
19717 (_IO_file_init_internal, _IO_file_attach_internal)
19718 (_IO_file_fopen_internal, _IO_file_read_internal)
19719 (_IO_file_sync_internal, _IO_file_seek_internal)
19720 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
19721 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
19722 (_IO_str_underflow_internal, _IO_str_overflow_internal)
19723 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
19724 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
19725 (_IO_list_all_internal, _IO_link_in_internal)
19726 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
19727 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
19728 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
19729 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
19730 (_IO_do_write_internal, _IO_padn_internal)
19731 (_IO_getline_info_internal, _IO_getline_internal)
19732 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
19733 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
19734 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
19735 (_IO_vfscanf_internal, _IO_vfprintf_internal)
19736 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
19737 (_IO_init_internal, _IO_un_link_internal): Don't declare.
19738 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
19739 with libc_hidden_ver, remove use of INTUSE.
19740 * libio/genops.c: Likewise.
19741 * libio/freopen.c: Likewise.
19742 * libio/freopen64.c: Likewise.
19743 * libio/iofclose.c: Likewise.
19744 * libio/iofdopen.c: Likewise.
19745 * libio/iofflush.c: Likewise.
19746 * libio/iofflush_u.c: Likewise.
19747 * libio/iofgets.c: Likewise.
19748 * libio/iofgets_u.c: Likewise.
19749 * libio/iofopen.c: Likewise.
19750 * libio/iofopncook.c: Likewise.
19751 * libio/iofread.c: Likewise.
19752 * libio/iofread_u.c: Likewise.
19753 * libio/ioftell.c: Likewise.
19754 * libio/iofwrite.c: Likewise.
19755 * libio/iogetline.c: Likewise.
19756 * libio/iogets.c: Likewise.
19757 * libio/iogetwline.c: Likewise.
19758 * libio/iopadn.c: Likewise.
19759 * libio/iopopen.c: Likewise.
19760 * libio/ioseekoff.c: Likewise.
19761 * libio/ioseekpos.c: Likewise.
19762 * libio/iosetbuffer.c: Likewise.
19763 * libio/iosetvbuf.c: Likewise.
19764 * libio/ioungetc.c: Likewise.
19765 * libio/ioungetwc.c: Likewise.
19766 * libio/iovdprintf.c: Likewise.
19767 * libio/iovsprintf.c: Likewise.
19768 * libio/iovsscanf.c: Likewise.
19769 * libio/memstream.c: Likewise.
19770 * libio/obprintf.c: Likewise.
19771 * libio/oldfileops.c: Likewise.
19772 * libio/oldiofclose.c: Likewise.
19773 * libio/oldiofdopen.c: Likewise.
19774 * libio/oldiofopen.c: Likewise.
19775 * libio/oldiopopen.c: Likewise.
19776 * libio/oldstdfiles.c: Likewise.
19777 * libio/putc.c: Likewise.
19778 * libio/setbuf.c: Likewise.
19779 * libio/setlinebuf.c: Likewise.
19780 * libio/stdfiles.c: Likewise.
19781 * libio/strops.c: Likewise.
19782 * libio/vasprintf.c: Likewise.
19783 * libio/vscanf.c: Likewise.
19784 * libio/vsnprintf.c: Likewise.
19785 * libio/vswprintf.c: Likewise.
19786 * libio/wfiledoalloc.c: Likewise.
19787 * libio/wfileops.c: Likewise.
19788 * libio/wgenops.c: Likewise.
19789 * libio/wmemstream.c: Likewise.
19790 * libio/wstrops.c: Likewise.
19791 * libio/__fpurge.c: Likewise.
19792 * libio/__fsetlocking.c: Likewise.
19793 * assert/assert.c: Likewise.
19794 * debug/fgets_chk.c: Likewise.
19795 * debug/fgets_u_chk.c: Likewise.
19796 * debug/fread_chk.c: Likewise.
19797 * debug/fread_u_chk.c: Likewise.
19798 * debug/gets_chk.c: Likewise.
19799 * debug/obprintf_chk.c: Likewise.
19800 * debug/vasprintf_chk.c: Likewise.
19801 * debug/vdprintf_chk.c: Likewise.
19802 * debug/vsnprintf_chk.c: Likewise.
19803 * debug/vsprintf_chk.c: Likewise.
19804 * malloc/mtrace.c: Likewise.
19805 * misc/error.c: Likewise.
19806 * misc/syslog.c: Likewise.
19807 * stdio-common/asprintf.c: Likewise.
19808 * stdio-common/fxprintf.c: Likewise.
19809 * stdio-common/getw.c: Likewise.
19810 * stdio-common/isoc99_fscanf.c: Likewise.
19811 * stdio-common/isoc99_scanf.c: Likewise.
19812 * stdio-common/isoc99_vfscanf.c: Likewise.
19813 * stdio-common/isoc99_vscanf.c: Likewise.
19814 * stdio-common/isoc99_vsscanf.c: Likewise.
19815 * stdio-common/printf-prs.c: Likewise.
19816 * stdio-common/printf_fp.c: Likewise.
19817 * stdio-common/printf_fphex.c: Likewise.
19818 * stdio-common/printf_size.c: Likewise.
19819 * stdio-common/putw.c: Likewise.
19820 * stdio-common/scanf.c: Likewise.
19821 * stdio-common/sprintf.c: Likewise.
19822 * stdio-common/tmpfile.c: Likewise.
19823 * stdio-common/vfprintf.c: Likewise.
19824 * stdio-common/vfscanf.c: Likewise.
19825 * stdlib/strfmon_l.c: Likewise.
19826 * sunrpc/openchild.c: Likewise.
19827 * sunrpc/xdr_stdio.c: Likewise.
19828 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
19829 * sysdeps/mach/hurd/tmpfile.c: Likewise.
19830
d6c33fda
RM
198312012-05-24 Roland McGrath <roland@hack.frob.com>
19832
c1487492
RM
19833 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19834
19835 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
19836 in the third column, to generate for the shared library an IFUNC
19837 that uses _dl_vdso_vsym.
19838 * Makerules (COMPILE.c, compile-stdin.c): New variables.
19839 * Makeconfig (object-suffixes-noshared): New variable.
19840
19841 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
19842 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
19843 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
19844 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
19845
d6c33fda
RM
19846 [BZ #14132]
19847 * include/sys/time.h (__gettimeofday): Remove macro.
19848 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
19849 * time/gettimeofday.c (__gettimeofday): Remove #undef.
19850 Remove INTDEF.
19851 (__gettimeofday): Add libc_hidden_def.
19852 (gettimeofday): Add libc_hidden_weak.
19853 * sysdeps/mach/gettimeofday.c: Likewise.
19854 * sysdeps/posix/gettimeofday.c: Likewise.
19855 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
19856 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
19857 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
19858 (__gettimeofday_internal): Remove strong_alias.
19859 (__gettimeofday): Add libc_hidden_def.
19860 (gettimeofday): Add libc_hidden_weak.
19861 * sysdeps/unix/syscalls.list (gettimeofday):
19862 Remove __gettimeofday_internal alias.
19863
b5a2bbe6
L
198642012-05-24 Daniel Jacobowitz <drow@false.org>
19865 H.J. Lu <hongjiu.lu@intel.com>
19866
19867 [BZ #12495]
19868 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
19869 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
19870 (largebin_index_32_big): New.
19871 (largebin_index): Use it for 16-byte alignment.
19872 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
19873 correction with front_misalign.
19874
cfba4fda
L
198752012-05-24 H.J. Lu <hongjiu.lu@intel.com>
19876
7f907421
L
19877 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
19878 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19879 Likewise.
19880 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
19881 Likewise.
19882 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19883 Likewise.
19884 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
19885 Likewise.
19886 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
19887 Likewise.
19888 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
19889 Likewise.
19890 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
19891 Likewise.
19892 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19893 Likewise.
19894 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
19895 Likewise.
19896 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
19897 Likewise.
19898 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
19899 Likewise.
19900 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
19901 Likewise.
19902
cfba4fda
L
19903 * scripts/data/c++-types-x32-linux-gnu.data: New file.
19904 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
19905
80bad0cc
JM
199062012-05-24 Joseph Myers <joseph@codesourcery.com>
19907
7a25eb06
JM
19908 [BZ #10846]
19909 [BZ #14036]
19910 * math/libm-test.inc (exp_test): Add test from bug 14036.
19911 (pow_test): Add test from bug 10846.
19912
795405f9
JM
19913 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
19914 and other flags.
19915 (special_function): Do not include flags in test name.
19916 (parse_args): Likewise.
19917 * sysdeps/i386/fpu/libm-test-ulps: Update.
19918 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19919 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19920 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19922
80bad0cc
JM
19923 * math/gen-libm-test.pl (%beautify): Add entries for underflow
19924 exceptions.
19925 * math/libm-test.inc ("Philosophy"): Update comment about
19926 exception testing.
19927 (UNDERFLOW_EXCEPTION): New macro.
19928 (UNDERFLOW_EXCEPTION_OK): Likewise.
19929 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
19930 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
19931 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
19932 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
19933 (INVALID_EXCEPTION_OK): Update value.
19934 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19935 (OVERFLOW_EXCEPTION_OK): Likewise.
19936 (IGNORE_ZERO_INF_SIGN): Likewise.
19937 (test_exceptions): Handle underflow exceptions.
19938 (acos_test): Update for underflow exception expectations.
19939 (cexp_test): Likewise.
19940 (clog_test): Likewise.
19941 (clog10_test): Likewise.
19942 (csqrt_test): Likewise.
19943 (ctan_test): Likewise.
19944 (ctanh_test): Likewise.
19945 (exp_test): Likewise.
19946 (exp10_test): Likewise.
19947 (exp2_test): Likewise.
19948 (expm1_test): Likewise.
19949 (fma_test): Likewise.
19950 (j0_test): Likewise.
19951 (jn_test): Likewise.
19952 (nexttoward_test): Likewise.
19953 (pow_test): Likewise.
19954 (scalbn_test): Likewise.
19955 (scalbln_test): Likewise.
19956 (tan_test): Likewise.
19957 (y1_test): Likewise.
19958 * sysdeps/i386/fpu/libm-test-ulps: Update.
19959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19960
9e0e3d0b
DM
199612012-05-23 David S. Miller <davem@davemloft.net>
19962
19963 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19964 (__libc_sigaction): Remove unused local variables.
19965
ccd0a08f
L
199662012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19967
19968 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
19969
62bdf9a6
PE
199702012-05-23 Paul Eggert <eggert@cs.ucla.edu>
19971
f8591f80
PE
19972 mktime: avoid signed integer overflow
19973 * time/mktime.c (__mktime_internal): Do not mishandle the case
19974 where diff == INT_MIN.
19975
94c7d826
PE
19976 mktime: simplify computation of average
19977 * time/mktime.c (ranged_convert): Use new time_t_avg function
19978 instead of rolling our own (probably-slower) code.
19979
ce73d683
PE
19980 mktime: do not assume signed right shift propagates sign bit
19981 * time/mktime.c (isdst_differ): New static function.
19982 (__mktime_internal): No need to normalize tm_isdst now.
19983 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
19984 tm_isdst values.
19985
72a22e59
PE
19986 mktime: merge another wrapv change from gnulib
19987 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
19988 from some compilers.
19989
68605433
PE
19990 mktime: remove incorrect attempt at unusual arithmetics
19991 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
19992 The code didn't really work on such machines anyway.
19993 (TYPE_MINIMUM): Assume two's complement.
19994 (twos_complement_arithmetic): Verify that long_int and time_t
19995 are two's complement (or unsigned, in the latter case).
19996
03cf7fe3
PE
19997 mktime: check signed shifts on long_int and time_t, too
19998 * time/mktime.c (SHR): Check that shifts work as desired
19999 on the types long_int and time_t too, as SHR is used on
20000 such types.
20001
f04dfbc2
PE
20002 mktime: do not assume 'long' is wide enough
20003 * time/mktime.c (verify): Move decl up.
20004 (long_int): New type.
20005 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
20006 to remove assumption in the code that 'long' is wide enough to
20007 store year values. This assumption is not true on x32 and on
20008 some non-glibc platforms.
20009
62bdf9a6
PE
20010 mktime: merge wrapv change from gnulib
20011 * time/mktime.c (WRAPV): New macro.
20012 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
20013 (guess_time_tm, __mktime_internal): Do not assume that signed
20014 integer overflow wraps around; modern compilers generate code
20015 where this assumption is no longer valid.
20016
5e292e4f
L
200172012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20018
20019 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20020 Replace "jmp L(pseudo_end)" with "ret".
20021 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
20022 Likewise.
20023
8caf8c87
AJ
200242012-05-23 Andreas Jaeger <aj@suse.de>
20025
20026 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
20027 * sysdeps/unix/sysv/linux/poll.c: Remove file.
20028
1a09dc56
AJ
200292012-05-23 Andreas Jaeger <aj@suse.de>
20030 Maximilian Attems <max@stro.at>
20031
20032 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
20033 New macros.
20034
1c87aba0
L
200352012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20036
20037 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
20038 code so that pseudo_end is just ret and the stack pointer is
20039 correct also for static library in error case.
20040
40e45bd5
JM
200412012-05-23 Joseph Myers <joseph@codesourcery.com>
20042
c2670533
JM
20043 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
20044 move to syscalls.list.
20045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
20046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
20047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
20048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
20049
40e45bd5
JM
20050 * manual/install.texi (Running make install): Do not mention Linux
20051 kernel version for which pt_chown is not needed.
20052 (Linux): Do not mention problems with nscd with 2.0 kernels.
20053 * INSTALL: Regenerated.
20054
be08eda5
AJ
200552012-05-23 Andreas Jaeger <aj@suse.de>
20056
20057 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
20058 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
20059 macro.
20060 * sysdeps/unix/sysv/linux/s390/bits/mman.h
20061 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20062 * sysdeps/unix/sysv/linux/sh/bits/mman.h
20063 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20064 * sysdeps/unix/sysv/linux/i386/bits/mman.h
20065 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20066 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
20067 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20068 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
20069 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20070 * sysdeps/unix/sysv/linux/bits/in.h
20071 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
20072
a6a056bb
RM
200732012-05-22 Roland McGrath <roland@hack.frob.com>
20074
20075 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
20076 (PREPARE_VERSION): Just use assert instead, it will be elided
20077 under [NDEBUG] anyway.
20078
c9009328
L
200792012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20080
20081 * sysdeps/unix/sysv/linux/Makefile: Include
20082 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 20083 (sysdep_routines): Remove sysctl.
c9009328
L
20084 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
20085 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
20086 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
20087 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
20088 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
20089
73338355
AJ
200902012-05-22 Andreas Jaeger <aj@suse.de>
20091
20092 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
20093 that pseudo_end is just ret and the stack pointer is correct also
20094 for static library in error case.
20095
d44638b0
PP
200962012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
20097
20098 [BZ #14122]
20099 * nss/nsswitch.c (defconfig_entries): New variable.
20100 (__nss_database_lookup): Don't leak defconfig entries.
20101 (nss_parse_service_list): Don't leak on error paths.
20102 (free_database_entries): New function.
20103 (free_defconfig): New function.
20104 (free_mem): Move common code to free_database_entries.
20105
31a39bd8
L
201062012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20107
da0331a8
L
20108 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
20109 Add arch_prctl.
20110 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
20111
31a39bd8
L
20112 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20113 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
20114 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
20115 New macro.
20116 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
20117 (INTERNAL_SYSCALL_TYPES): Likewise.
20118 (LOAD_ARGS_TYPES_[1-6]): Likewise.
20119 (LOAD_REGS_TYPES_[1-6]): Likewise.
20120 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
20121 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
20122
45470df3
AZ
201232012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20124
20125 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
20126 copysignl for GLIBC_2_0.
20127 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
20128 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
20129 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
20130 logbl for GLIBC_2_0.
20131 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
20132 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
20133
98a61bcb
L
201342012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20135
a4f6e481
L
20136 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
20137 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20138
f63d5db6
L
20139 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20140 Use "neg %eax".
20141
98a61bcb
L
20142 * time/mktime.c: Update copyright years.
20143
95770f14
PE
201442012-05-22 Paul Eggert <eggert@cs.ucla.edu>
20145
6226efbd
PE
20146 mktime: merge comment-quoting-style change from gnulib
20147 * time/mktime.c: Quote 'like this' in comments.
20148 The GNU coding standards suggest that we no longer quote `like this',
20149 as "`" and "'" are typically rendered asymmetrically nowadays.
20150 The typical gnulib style is to quote 'like this' when quoting
20151 code, and "like this" when quoting English.
20152
b99e4f78
PE
20153 * time/mktime.c (compile-command): Add "-I.".
20154
643e01e6
PE
20155 mktime: merge mktime-internal.h change from gnulib
20156 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
20157
2554247d
PE
20158 mktime: merge time_r change from gnulib
20159 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
20160
826dd0ab
PE
20161 mktime: merge DEBUG change from gnulib
20162 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
20163 case system <time.h> has a #define.
20164
bd83aabe
PE
20165 mktime: merge <sys/types.h> change from gnulib
20166 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
20167 since <time.t> is now guaranteed to define time_t.
20168
95770f14
PE
20169 mktime: merge HAVE_CONFIG_H change from gnulib
20170 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
20171
5e1a27a9
L
201722012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20173
0e44a77e
L
20174 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20175 Use "neg %eax".
20176
5e1a27a9
L
20177 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
20178 __rlim_t cast.
20179 (struct rusage): Use anonymous union to pad each field to
20180 __syscall_slong_t.
20181
46259bec
DM
201822012-05-21 David S. Miller <davem@davemloft.net>
20183
20184 * Makefules (o-iterator): Remove .s cases.
20185 (compile-command.s): Delete.
20186 (COMPILE.s): Delete.
20187 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
20188
59f0c22e
JM
201892012-05-21 Joseph Myers <joseph@codesourcery.com>
20190
20191 * configure.in (libc_cv_predef_stack_protector): Only consider
20192 "foobar" and "__stack_chk_fail" lines in libc_undefs.
20193 * configure: Regenerated.
20194
20c07380
L
201952012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20196
bbb3154b
L
20197 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20198 New macro. Use R*LP on int and pointer.
20199 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
20200 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
20201 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
20202 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
20203
20c07380
L
20204 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
20205 [__WORDSIZE_TIME64_COMPAT32] instead of
20206 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
20207 (struct utmp): Likewise.
20208 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
20209 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
20210 Renamed to ...
20211 (__WORDSIZE_TIME64_COMPAT32): This.
20212 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
20213 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
20214 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
20215 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
20216 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
20217 (__WORDSIZE_TIME64_COMPAT32): New macro.
20218
d8d1017e
AJ
202192012-05-21 Andreas Jaeger <aj@suse.de>
20220
20221 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
20222 only if [SHARED]. Add prototype for __wcschr_ia32.
20223
6c7fb145
RM
202242012-05-21 Roland McGrath <roland@hack.frob.com>
20225
20226 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
20227 of %rbp unmolested in the jmp_buf while mangling the low bits.
20228 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
20229 unmolested high bits of %rbp while demangling the low bits.
20230 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20231
66274218
AJ
202322012-05-21 Andreas Jaeger <aj@suse.de>
20233
07c58f8f
AJ
20234 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
20235 * sunrpc/svc_simple.c: Use it for registerrpc.
20236 * sunrpc/xcrypt.c: Use it for passwd2des.
20237
66274218
AJ
20238 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
20239
61f65140
L
202402012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20241
20242 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
20243 Don't define if [__SYSCALL_WORDSIZE != 32].
20244 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
20245 New macro.
20246
5fefb436
AJ
202472012-05-21 Bruno Haible <bruno@clisp.org>
20248 Andreas Jaeger <aj@suse.de>
20249
20250 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
20251 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
20252 inptr and inend for must_buffer_ch.
20253 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
20254 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
20255 * stdio-common/Makefile (tests): Remove bug15.
20256 (bug15-ENV): Remove macro.
20257 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
20258 anymore.
20259
d8e272ab
AJ
202602012-05-19 Andreas Jaeger <aj@suse.de>
20261 Roland McGrath <roland@hack.frob.com>
20262
20263 * manual/contrib.texi: Completely rewritten. It contains now an
20264 alphabetical list of contributors and their contributions.
20265
4a56a162
RH
202662012-05-21 Richard Henderson <rth@twiddle.net>
20267
20268 * misc/getauxval.c (__getauxval): Use unsigned long int.
20269 * misc/sys/auxv.h: Include <sys/cdefs.h>.
20270 (getauxval): Use unsigned long int.
20271
d024d23c
L
202722012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20273
20274 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20275
cbc00a03
RM
202762012-05-21 Roland McGrath <roland@hack.frob.com>
20277
20278 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
20279 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
20280 __alignof__ (long double).
20281
478143fa
AZ
202822012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20283
20284 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20285
c7683a6d
RH
202862012-05-20 Richard Henderson <rth@twiddle.net>
20287
20288 * misc/getauxval.c: New file.
20289 * misc/sys/auxv.h: New file.
20290 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
20291 (routines): Add getauxval.
20292 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
20293 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
20294 * elf/dl-sysdep.c (_dl_auxv): Remove.
20295 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
20296 * elf/dl-support.c (_dl_auxv): New variable.
20297 (_dl_aux_init): Initialize it.
20298 * manual/startup.texi (Auxiliary Vector): New node.
20299 * sysdeps/generic/bits/hwcap.h: New file.
20300 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
20301 * sysdeps/powerpc/sysdep.h: ... here. Include it.
20302 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
20303 * sysdeps/sparc/sysdep.h: ... here. Include it.
20304 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
20305 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
20306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20307 Update.
c7683a6d
RH
20308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
20309 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
20310 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
20311 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
20312 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20313 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20314 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
20315 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
20316
a6f1845d
AZ
203172012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20318
20319 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20320
cbcbe830
DM
203212012-05-19 David S. Miller <davem@davemloft.net>
20322
20323 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20324
e0b16cc2
JM
203252012-05-19 Joseph Myers <joseph@codesourcery.com>
20326
20327 [BZ #14123]
20328 * math/s_ccosh.c: Include <float.h>
20329 (__ccosh): Avoid internal overflow calculating sinh and cosh
20330 values before multiplying by sin and cos values.
20331 * math/s_ccoshf.c: Likewise.
20332 * math/s_ccoshl.c: Likewise.
20333 * math/s_csin.c: Likewise.
20334 * math/s_csinf.c: Likewise.
20335 * math/s_csinl.c: Likewise.
20336 * math/s_csinh.c: Likewise.
20337 * math/s_csinhf.c: Likewise.
20338 * math/s_csinhl.c: Likewise.
20339 * math/libm-test.inc (ccos_test): Add more tests.
20340 (ccosh_test): Likewise.
20341 (csin_test): Likewise.
20342 (csinh_test): Likewise.
20343 * sysdeps/i386/fpu/libm-test-ulps: Update.
20344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20345
6ad13e08
L
203462012-05-19 H.J. Lu <hongjiu.lu@intel.com>
20347
f66f0ce8
L
20348 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
20349 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20350
6ad13e08
L
20351 * sysdeps/x86_64/x32/_itoa.h: Add comment.
20352
b1d072a7
JM
203532012-05-19 Joseph Myers <joseph@codesourcery.com>
20354
20355 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
20356 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
20357 * sysdeps/powerpc/soft-fp/Versions: Likewise.
20358 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
20359 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
20360 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
20361 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
20362 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
20363 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
20364 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
20365 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
20366 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
20367 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
20368 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
20369 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
20370 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
20371 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
20372 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
20373 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
20374 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
20375 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
20376 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
20377 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
20378 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
20379 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
20380 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
20381 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
20382 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
20383 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
20384 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
20385 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
20386
9eae47cb
AJ
203872012-05-18 Andreas Jaeger <aj@suse.de>
20388
20389 * csu/.gitignore: Delete.
20390
bb07f69f
L
203912012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20392
20393 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
20394 (timex): Use __syscall_slong_t.
20395
e6bdb741
AJ
203962012-05-18 Andreas Jaeger <aj@suse.de>
20397 Carlos O'Donell <carlos_odonell@mentor.com>
20398
20399 * manual/install.texi (Configuring and compiling): Update
20400 description about files modified in the source directory.
d6c33fda 20401 * INSTALL: Regenerated.
e6bdb741 20402
1b74487e
L
204032012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20404
20405 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
20406 value. Use "or" to set return value to -1.
20407 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
20408 negate return value.
20409
a88b64b9
TMQMF
204102012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20411
20412 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
20413 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
20414 failure if the compiler has Graphite support disabled.
20415 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
20416 Likewise.
20417 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
20418 CFLAGS-memmove.c): Likewise.
20419 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
20420 Likewise.
20421
3707636e
L
204222012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20423
610b8622
L
20424 * sysdeps/x86_64/x32/_itoa.h: New file.
20425
7cd195df
L
20426 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
20427 getdents system call only if kernel and user dirents have the
20428 same d_ino and d_off.
20429
94b07d20
L
20430 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20431 LLONG_MAX != LONG_MAX.
20432 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20433 (_fitoa_word): Likewise.
20434
18298070
L
20435 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
20436 years.
20437 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
20438 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
20439 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
20440
553c7ea4
L
20441 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
20442 include <bits/wordsize.h>. Check __x86_64__ instead of
20443 __WORDSIZE.
20444 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
20445 if __x86_64__ is defined. Use anonymous union on fpstate.
20446
3707636e
L
20447 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
20448 anonymous union.
20449
b53ef01a
AS
204502012-05-18 Andreas Schwab <schwab@linux-m68k.org>
20451
37fb1dc0
AS
20452 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
20453 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
20454 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
20455 Refer to _rtld_local_ro instead of _rtld_global_ro.
20456 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
20457 Likewise.
20458 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
20459 Likewise.
20460 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
20461 Likewise.
20462 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
20463 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
20464 of _rtld_global, and rtld_progname instead of _dl_argv[0].
20465
b53ef01a
AS
20466 * sysdeps/powerpc/powerpc32/dl-machine.c
20467 (__elf_machine_runtime_setup) [PROF]: Don't reference
20468 _dl_prof_resolve.
20469
7a185db2
AJ
204702012-05-18 Andreas Jaeger <aj@suse.de>
20471
20472 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
20473 function only available for GCCs before 3.4 since GCC 3.4
20474 introduced a builtin.
20475 (lrint): Likewise.
20476 (llrintf): Likewise.
20477 (llrint): Likewise.
20478 (fmaxf): Likewise.
20479 (fmax): Likewise.
20480 (fminf): Likewise.
20481 (fmin): Likewise.
20482 (rint): Likewise.
20483 (rintf): Likewise.
20484 (nearbyint): Likewise.
20485 (nearbyintf): Likewise.
20486 (ceil): Likewise.
20487 (ceilf): Likewise.
20488 (floor): Likewise.
20489 (floorf): Likewise.
20490
3e5aef87
L
204912012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20492
428bd707
L
20493 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
20494 on both fields and cast pointer to __syscall_ulong_t.
20495
3e5aef87
L
20496 * bits/types.h (__fsword_t): New type.
20497 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
20498 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
20499 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20500 (__FSWORD_T_TYPE): Likewise.
20501 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20502 (__FSWORD_T_TYPE): Likewise.
20503 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20504 (__FSWORD_T_TYPE): Likewise.
20505 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
20506 (__FSWORD_T_TYPE): Likewise.
20507 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
20508 __SWORD_TYPE with __fsword_t.
20509 (statfs64): Likewise.
20510
1ba7c3dc
DM
205112012-05-17 David S. Miller <davem@davemloft.net>
20512
20513 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
20514
59910343
AJ
205152012-05-17 Andreas Jaeger <aj@suse.de>
20516
20517 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
20518 warning.
20519
2e4c1e9e
L
205202012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20521
20522 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
20523
de7f5ce7
AJ
205242012-05-17 Andreas Jaeger <aj@suse.de>
20525
20526 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
20527 when it is used.
20528
286abc3d
CM
205292012-05-17 Chris Metcalf <cmetcalf@tilera.com>
20530
20531 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
20532
477cc68e
L
205332012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20534
20535 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
20536 * sysdeps/x86_64/tst-mallocalign1.c: New file.
20537
1a0994f5
CD
205382012-05-17 Andreas Jaeger <aj@suse.de>
20539 Carlos O'Donell <carlos_odonell@mentor.com>
20540
20541 [BZ #14059]
20542 * sysdeps/x86_64/multiarch/init-arch.h
20543 (bit_YMM_Usable): Rename to...
20544 (bit_AVX_Usable): ... this.
20545 (bit_FMA4_Usable): New macro.
20546 (bit_XMM_state): New macro.
20547 (bit_YMM_state): New macro.
20548 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
20549 [__ASSEMBLER__] (index_AVX_Usable): ... this.
20550 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
20551 (CPUID_OSXSAVE): New macro.
20552 (CPUID_AVX): New macro.
20553 (CPUID_FMA4): New macro.
20554 (index_YMM_Usable): Rename to...
20555 (index_AVX_Usable): ... this.
20556 (HAS_AVX): Use HAS_ARCH_FEATURE.
20557 (HAS_FMA4): Likewise.
20558 (HAS_YMM_USABLE): Remove.
20559 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20560 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
20561 are present.
20562 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
20563 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
20564 * sysdeps/x86_64/multiarch/Makefile: Likewise.
20565 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
20566 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
20567
0af797de
CM
205682012-05-17 Chris Metcalf <cmetcalf@tilera.com>
20569
20570 * math/libm-test.c: Support platforms without multiple rounding modes.
20571 * math/bug-nextafter.c: Support platforms without FP exceptions.
20572 * math/bug-nexttoward.c: Likewise.
20573 * math/test-fenv.c: Likewise.
20574 * math/test-misc.c: Likewise.
20575 * stdlib/bug-getcontext.c: Likewise.
20576
e39745ff
AJ
205772012-05-17 Andreas Jaeger <aj@suse.de>
20578
20579 * manual/examples/search.c (critter_cmp): Change signature to
20580 avoid warnings.
20581 * manual/string.texi (Collation Functions): Likewise.
20582
48970aba
L
205832012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20584
20585 * bits/types.h: Fold copyright years.
20586 * bits/typesizes.h: Likewise.
20587 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
20588 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20589 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
20590 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
20591 * time/time.h: Likewise.
20592
bedee953
PP
205932012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
20594
20595 [BZ #208]
20596 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
20597 in instead of returning them. Return void.
20598 (__libc_mallinfo): Accumulate over all arenas.
20599 (__malloc_stats): Adjust for change in int_mallinfo interface.
20600
61653dfb
RM
206012012-05-16 Roland McGrath <roland@hack.frob.com>
20602
30b99d79
RM
20603 [BZ #10375]
20604 * configure.in (NM): Add AC_CHECK_TOOL for it.
20605 (libc_extra_cflags): New substituted variable.
20606 Check for -fstack-protector being used implicitly.
20607 * configure: Regenerated.
20608 * config.make.in (config-extra-cflags): New variable,
20609 gets @libc_extra_cflags@.
20610 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
20611
61653dfb
RM
20612 [BZ #10375]
20613 * configure.in: Check for _FORTIFY_SOURCE being predefined.
20614 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
20615 * configure: Regenerated.
20616 * config.make.in (CPPUNDEFS): New substituted variable.
20617 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
20618 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
20619 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
20620
661768bb
L
206212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20622
20623 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
20624 (mq_attr): Use __syscall_slong_t.
20625
d4261567
L
206262012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20627
20628 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
20629 Check __x86_64__ instead of __WORDSIZE.
20630 (_STAT_VER_LINUX): Likewise.
20631 (stat): Check __x86_64__ instead of __WORDSIZE. Use
20632 __syscall_ulong_t and __syscall_slong_t.
20633 (stat64): Likewise.
20634
cf3ff365
L
206352012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20636
20637 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
20638
76cf3e4d
L
206392012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20640
20641 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
20642
a637753a
L
206432012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20644
20645 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
20646 __syscall_ulong_t.
20647
d5e05119
L
20648 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
20649 include <bits/wordsize.h>. Check __x86_64__ instead of
20650 __WORDSIZE.
20651 (greg_t): Use "__extension__ long long int" if __x86_64__ is
20652 defined.
20653 (mcontext_t): Replace "unsigned long" with "unsigned long long".
20654
f62ee380
L
20655 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
20656 include <bits/wordsize.h>. Check __x86_64__ instead of
20657 __WORDSIZE.
20658 (user_regs_struct): Use "__extension__ unsigned long long"
20659 instead of "unsigned long" if __x86_64__ is defined.
20660 (user): Likewise. Pad after pointer field if __ILP32__ is
20661 defined.
20662
4e124ced
JM
206632012-05-16 Joseph Myers <joseph@codesourcery.com>
20664
6a3951a0
JM
20665 * configure.in (makeinfo): Require version 4.5 or later. Allow
20666 versions 5 to 9.
20667 * configure: Regenerated.
20668 * manual/install.texi (texinfo): Increase version requirement to
20669 4.5 or later.
20670 * INSTALL: Regenerated.
20671
4e124ced
JM
20672 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
20673
953ca31a
L
206742012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20675
20676 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
20677
617aca05
L
20678 * sysdeps/x86_64/x32/ffs.c: New file.
20679
5762f7ae
L
20680 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
20681 __syscall_ulong_t.
20682 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
20683 defined. Use __syscall_ulong_t.
20684 (shminfo): Use __syscall_ulong_t.
20685 (shm_info): Likewise.
20686
a26b6856
L
20687 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
20688 __syscall_ulong_t.
20689
cb2b9ef7
L
20690 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
20691 <bits/wordsize.h>.
20692 (msgqnum_t): Use __syscall_ulong_t.
20693 (msglen_t): Likewise.
20694 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
20695 __syscall_ulong_t.
20696
34683bb0
L
20697 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
20698 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20699
84a68786
L
20700 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
20701
48baa5f1
L
20702 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
20703 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
20704
180be88b
L
20705 * sysvipc/sys/msg.h (msgbuf): Replace long int with
20706 __syscall_slong_t.
20707
5e90c8ad
L
20708 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
20709 include <bits/wordsize.h>. Check __x86_64__ instead of
20710 __WORDSIZE.
20711
23dfb58b
L
20712 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
20713 "unsigned long long int" if __x86_64__ is defined.
20714 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
20715
ce5d54b0
L
20716 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
20717 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20718 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
20719
13dc9eac
L
20720 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
20721 <stdint.h>.
20722 (GET_PC): Cast to uintptr_t first.
20723 (GET_FRAME): Likewise.
20724 (GET_STACK): Likewise.
20725
a7895d15
L
20726 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
20727 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
20728 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
20729 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
20730 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
20731 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
20732 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
20733 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
20734 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
20735 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
20736 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
20737 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
20738 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20739 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
20740 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
20741 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
20742 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
20743 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
20744 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
20745 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
20746 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
20747 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
20748 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
20749 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
20750 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
20751 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
20752 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
20753 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
20754 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
20755
656416c9
AS
207562012-05-16 Andreas Schwab <schwab@linux-m68k.org>
20757
5bd66283
AS
20758 * Makerules (+depfiles): Also collect depfiles from .oS in
20759 $(extra-objs).
20760 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
20761 .oS, $(libnldbl-routines)).
20762
656416c9
AS
20763 * Makerules (native-compile-mkdep-flags): Define.
20764 * sunrpc/Makefile (extra-objs): Add $(addprefix
20765 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
20766 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
20767 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
20768 calling $(make-target-directory).
20769
a46f2169
L
207702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20771
20772 * bits/types.h (__snseconds_t): Removed.
20773 * time/time.h (struct timespec): Replace __snseconds_t with
20774 __syscall_slong_t.
20775 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
20776 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
20777 Likewise.
20778 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20779 (__SNSECONDS_T_TYPE): Likewise.
20780 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20781 (__SNSECONDS_T_TYPE): Likewise.
20782 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20783 (__SNSECONDS_T_TYPE): Likewise.
20784
6af6528b
L
207852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20786
20787 * sysdeps/mach/hurd/bits/typesizes.h
20788 (__SYSCALL_SLONG_TYPE): New macro.
20789 (__SYSCALL_ULONG_TYPE): Likewise.
20790
de986b56
L
207912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20792
20793 * bits/types.h (__syscall_slong_t): New type.
20794 (__syscall_ulong_t): Likewise.
20795
20796 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
20797 (__SYSCALL_ULONG_TYPE): Likewise.
20798 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20799 (__SYSCALL_SLONG_TYPE): Likewise.
20800 (__SYSCALL_ULONG_TYPE): Likewise.
20801 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20802 (__SYSCALL_SLONG_TYPE): Likewise.
20803 (__SYSCALL_ULONG_TYPE): Likewise.
20804 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20805 (__SYSCALL_SLONG_TYPE): Likewise.
20806 (__SYSCALL_ULONG_TYPE): Likewise.
20807
85736dc7
L
208082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20809
20810 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
20811 Add sigaltstack-offsets.sym.
20812 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
20813 <sigaltstack-offsets.h>.
20814 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
20815 longjmp_msg pointer.
20816 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
20817 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
20818 signal stack.
20819 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
20820
cc03b296
JM
208212012-05-15 Joseph Myers <joseph@codesourcery.com>
20822
a9538892
JM
20823 * elf/stackguard-macros.h: Remove file.
20824 * sysdeps/generic/stackguard-macros.h: New file.
20825 * sysdeps/i386/stackguard-macros.h: Likewise.
20826 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20827 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20828 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20829 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20830 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20831 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20832 * sysdeps/x86_64/stackguard-macros.h: Likewise.
20833 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
20834 <elf/stackguard-macros.h>.
20835
cc03b296
JM
20836 [BZ #14109]
20837 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
20838 __aligned__ in attribute.
20839 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
20840 (gregset_t): Likewise.
20841
93171016
L
208422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20843
20844 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
20845 * sysdeps/x86_64/64/Implies-after: Here. New file.
20846 * sysdeps/x86_64/x32/Implies-after: New file.
20847
d86813a0
L
208482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20849
20850 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
20851 and access return value for _dl_profile_fixup. Use R10_LP to
20852 load frame size.
20853
2953ec75
L
208542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20855
20856 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
20857
3b550e9e
L
208582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20859
20860 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
20861 * sysdeps/x86_64/x32/sysdep.h: New file.
20862
eda41706
L
208632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20864
20865 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
20866 * sysdeps/x86_64/setjmp.S: Likewise.
20867
9ea01d93
AZ
208682012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20869
20870 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
20871 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
20872 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
20873 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
20874 remove unused global constant.
20875
02a91938
CM
208762012-05-15 Chris Metcalf <cmetcalf@tilera.com>
20877
20878 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
20879 include of <not-cancel.h>.
20880
6540185f
RM
208812012-05-15 Roland McGrath <roland@hack.frob.com>
20882
20883 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
20884
509072a0
AJ
208852012-05-15 Jeff Law <law@redhat.com>
20886 Andreas Jaeger <aj@suse.de>
20887
20888 [BZ #13594]
20889 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
20890 out from...
20891 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
20892 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
20893 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
20894 code changing __hst_map_handle.map.
20895
ba75122d
RM
208962012-05-15 Roland McGrath <roland@hack.frob.com>
20897
20898 * configure.in (sysnames): Look for Implies-before and Implies-after
20899 files.
20900 * configure: Regenerated.
20901
890d8bd8
L
209022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20903
20904 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
20905 8-byte data alignment with LP_SIZE alignment.
20906
f6ee6623
L
209072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20908
20909 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
20910 into R10_LP.
20911
ea2626f6
L
209122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20913
20914 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
20915
085f715e
L
209162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20917
20918 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
20919 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
20920 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
20921 Likewise.
20922 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20923
be8498fc
L
209242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20925
20926 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
20927 (stackinfo_sub_sp): Likewise.
20928
70bc83b9
L
209292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20930
20931 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
20932 RAX_LP.
20933
9bc0b730
L
209342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20935
20936 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
20937 into R*_LP.
20938
6d2850e7
L
209392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20940
20941 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
20942 sizes into R*_LP.
20943
3cb84561
L
209442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20945
20946 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
20947
54e2ed81
L
209482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20949
20950 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
20951 into R11_LP and load __x86_64_shared_cache_size_half into
20952 R8_LP.
20953
8a17f349
L
209542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20955
20956 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
20957 R8_LP.
20958
777b1eea
AZ
209592012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20960
20961 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
20962 logb for POWER7.
20963 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
20964 logbf for POWER7.
20965 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
20966 logbl for POWER7.
20967 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
20968 powerpc32/power7/fpu/s_logb.c via #include.
20969 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
20970 powerpc32/power7/fpu/s_logbf.c via #include.
20971 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
20972 powerpc32/power7/fpu/s_logbl.c via #include.
20973
d20d4ac2
JM
209742012-05-15 Joseph Myers <joseph@codesourcery.com>
20975
20976 * README.libm: Remove file.
20977
6cdef1ab
L
209782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20979
20980 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
20981 count for x32. Use R*_LP and omit operand-size suffix.
20982
0b254d8f
L
209832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20984
20985 * shlib-versions: Move x86_64-.*-linux.* entries to ...
20986 * sysdeps/x86_64/64/shlib-versions: Here. New file.
20987 * sysdeps/x86_64/x32/shlib-versions: New file.
20988
ceb809dc
RM
209892012-05-14 Roland McGrath <roland@hack.frob.com>
20990
20991 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
20992 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
20993 Use _dl_fatal_printf instead.
20994
37f1abd4
JM
209952012-05-14 Joseph Myers <joseph@codesourcery.com>
20996
20997 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
20998 set if not set by the user. Do not allow for being unset.
20999 * sysdeps/unix/sysv/linux/configure: Regenerated.
21000
11de3a33
L
210012012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21002
21003 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
21004 the `q' suffix from lea and replace .quad with ASM_ADDR.
21005
e02f153a
L
210062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21007
21008 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
21009 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
21010 instead of $17.
21011 (PTR_DEMANGLE): Likewise.
21012
520ae0fd
L
210132012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21014
21015 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
21016 (LP_OP): Likewise.
21017 (ASM_ADDR): Likewise.
21018 (RAX_LP): Likewise.
21019 (RBP_LP): Likewise.
21020 (RBX_LP): Likewise.
21021 (RCX_LP): Likewise.
21022 (RDI_LP): Likewise.
21023 (RSI_LP): Likewise.
21024 (RSP_LP): Likewise.
21025 (R8_LP): Likewise.
21026 (R9_LP): Likewise.
21027 (R10_LP): Likewise.
21028 (R10_LP): Likewise.
21029 (R11_LP): Likewise.
21030 (R12_LP): Likewise.
21031 (R13_LP): Likewise.
21032 (R14_LP): Likewise.
21033 (R15_LP): Likewise.
21034
b985be81
L
210352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21036
21037 * sysdeps/x86_64/x32/dl-machine.h: New file.
21038
6a4888ff
AJ
210392012-05-14 Andreas Jaeger <aj@suse.de>
21040
21041 * manual/Makefile (subdir): Remove export of subdir.
21042 (all): Remove target.
21043 (.PHONY): Remove all from list.
21044 (mkinstalldirs): Remove.
21045 (.PHONY): Remove installdirs from list.
21046 ($(inst_infodir)/libc.info): Use make-target-directory.
21047 (installdirs): Remove.
21048 (subdir_%): Remove.
21049 (glibc-targets): Remove.
21050 (lib): Remove.
21051 (stubs): Remove.
21052 ($(objpfx)stubs ../po/manual.pot): Remove.
21053 ($(objpfx)stamp%): Remove.
21054 (make-target-directory): Remove.
21055 (subdir_install): Remove.
21056 (routines): Remove.
21057 (aux): Remove.
21058 (sources): Remove.
21059 (objects): Remove.
21060 (headers): Remove.
21061
21062 [BZ #13750]
21063 * manual/.gitignore: Remove, it's not needed anymore.
21064 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
21065 all files in it.
21066 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
21067 directory.
21068 (texis): Renamed to $(objpfx)texis.
21069 (texis-path): New, contains path to generated files.
21070 (chapters.%): Use texis-path for complete path, add extra argument
21071 libc-texinfo.sh.
21072 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
21073 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
21074 (summary,texi, stamp-summary): Use complete path of
21075 files. Generate files in build dir.
21076 (dir-add.texi): Build in build dir.
21077 (libm-err.texi,stamp-libm-err): Likewise.
21078 (version.texi, stamp-version): Likewise.
21079 (.%c.texi): Likewise.
21080 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
21081 (mostlyclean): Remove target.
21082 (realclean): Remove target.
21083 (generated): Add new variable with contents from mostlyclean and
21084 realclean, remove entries duplicated in common-mostlyclean, add
21085 stamp-libm-err and stamp-version.
21086 (generated-dirs): Add libc directory.
21087 ($(inst_infodir)/libc.info): Install files from build dir.
21088
21089 * manual/install.texi (Configuring and compiling): Adjust since
21090 the info files are not part of the tar ball anymore.
21091
7ac77294
AJ
210922012-05-14 Andreas Jaeger <aj@suse.de>
21093
21094 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
21095 variable.
21096
ffb7875d
JM
210972012-05-14 Joseph Myers <joseph@codesourcery.com>
21098
21099 [BZ #13717]
21100 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21101 to 2.2.0 where earlier.
21102 * sysdeps/unix/sysv/linux/configure: Regenerated.
21103 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
21104 Remove conditional code.
21105 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
21106 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
21107 Remove conditional code.
21108 [!__NR_lchown]: Likewise.
21109 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21110 [__NR_lchown]: Likewise.
21111 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
21112 comment referencing __ASSUME_LCHOWN_SYSCALL.
21113 * sysdeps/unix/sysv/linux/i386/sigaction.c
21114 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21115 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21116 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
21117 Remove conditional code.
21118 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
21119 (__protocol_available): Remove #if 0 code.
21120 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
21121 conditional code.
21122 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
21123 * sysdeps/unix/sysv/linux/kernel-features.h
21124 (__ASSUME_GETCWD_SYSCALL): Don't define.
21125 (__ASSUME_REALTIME_SIGNALS): Likewise.
21126 (__ASSUME_PREAD_SYSCALL): Likewise.
21127 (__ASSUME_PWRITE_SYSCALL): Likewise.
21128 (__ASSUME_POLL_SYSCALL): Likewise.
21129 (__ASSUME_LCHOWN_SYSCALL): Likewise.
21130 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
21131 non-SPARC.
21132 (__ASSUME_SIOCGIFNAME): Don't define.
21133 (__ASSUME_MSG_NOSIGNAL): Likewise.
21134 (__ASSUME_SENDFILE): Define unconditionally.
21135 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
21136 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
21137 conditional code.
21138 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
21139 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
21140 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21141 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21142 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
21143 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21144 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
21146 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21147 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
21149 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21150 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
21152 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21153 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
21155 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21156 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
21158 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21159 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
21161 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21162 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
21164 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21165 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
21167 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21168 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21169 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
21170 Remove conditional code.
21171 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21172 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21173 Remove conditional code.
21174 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21175 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
21176 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
21177 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21178 Remove conditional code.
21179 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21180 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
21181 Remove conditional code.
21182 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21183 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
21184 Remove conditional code.
21185 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21186 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21187 Remove conditional code.
21188 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21189 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21190 Remove conditional code.
21191 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21192 * sysdeps/unix/sysv/linux/sh/pwrite64.c
21193 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21194 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21195 * sysdeps/unix/sysv/linux/sigaction.c
21196 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21197 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21198 * sysdeps/unix/sysv/linux/sigpending.c
21199 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21200 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21201 * sysdeps/unix/sysv/linux/sigprocmask.c
21202 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21203 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21204 * sysdeps/unix/sysv/linux/sigsuspend.c
21205 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21206 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21207 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21208 (__libc_missing_rt_sigs): Remove.
21209 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
21210 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
21211 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
21212 Remove conditional code.
21213 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
21214 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
21215 return 1.
21216 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
21217 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
21218 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
21219 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
21220
1bfb7291
AJ
212212012-05-14 Andreas Jaeger <aj@suse.de>
21222
caae5a81
AJ
21223 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
21224 it's not used in glibc.
21225 (__coshm1): Likewise.
21226 (__acosh1p): Likewise.
21227 (__sgn): Likewise.
21228
1bfb7291
AJ
21229 * manual/string.texi (Copying and Concatenation): Add missing
21230 variable in concat example.
21231 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
21232
c044d724
L
212332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21234
144c5467 21235 [BZ #14103]
c044d724
L
21236 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
21237 __builtin_clzl with __builtin_clzll.
21238
2523c62b
L
212392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21240
21241 [BZ #14104]
21242 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
21243 libc_freeres_ptr.
21244
d7bb4c42
LD
212452012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21246
21247 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
21248 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
21249 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
21250 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
21251
9dc4e1fb
MF
212522012-05-14 Mike Frysinger <vapier@gentoo.org>
21253
21254 * NEWS: Update ia64 info.
21255
c7df0112
AS
212562012-05-12 Andreas Schwab <schwab@linux-m68k.org>
21257
21258 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
21259 used as bcopy.
21260
dc70356c
TS
212612012-05-12 Thomas Schwinge <thomas@codesourcery.com>
21262
21263 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
21264 * sysdeps/unix/syscalls.list (dup3): Likewise.
21265 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
21266 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
21267
9fb1a21f
L
212682012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21269
21270 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
21271 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
21272
4822a2a5
L
212732012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21274
21275 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
21276 thread pointer.
21277 (TLS_IE): Use mov/add instead of movq/addq to load thread
21278 pointer.
21279 (TLS_GD_PREFIX): New.
21280 (TLS_GD): Use it.
21281
842b81d6
DM
212822012-05-11 David S. Miller <davem@davemloft.net>
21283
21284 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
21285 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
21286 (_FPU_SETCW): Likewise.
21287
1cf463cd
L
212882012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21289
21290 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
21291 is 32-byte aligned.
21292
60cc4a18
AS
212932012-05-11 Andreas Schwab <schwab@linux-m68k.org>
21294
21295 [BZ #11837]
21296 * iconvdata/gb18030.c: Update tables.
21297 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
21298 characters specially.
21299 (BODY for TO_LOOP): Add encoding of missing ranges.
21300
febb44a4
TS
213012012-05-11 Thomas Schwinge <thomas@codesourcery.com>
21302
21303 [BZ #13673]
21304 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
21305 * sysdeps/mach/hurd/dup3.c: Likewise.
21306 * sysdeps/mach/hurd/readlinkat.c: Likewise.
21307 * sysdeps/powerpc/memmove.c:: Likewise.
21308
0a10fb9e
L
213092012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21310
21311 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
21312 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
21313
df8a552f
L
213142012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21315
21316 * elf/elf.h (R_X86_64_RELATIVE64): New.
21317 (R_X86_64_NUM): Updated.
21318 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21319 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
21320 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
21321 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
21322 tst-quad1pie tst-quad2pie
21323 (modules-names): Add tst-quadmod1 tst-quadmod2.
21324 ($(objpfx)tst-quad1): New dependency.
21325 ($(objpfx)tst-quad2): Likewise.
21326 ($(objpfx)tst-quad1pie): Likewise.
21327 ($(objpfx)tst-quad2pie): Likewise.
21328 * sysdeps/x86_64/tst-quad1.c: New file.
21329 * sysdeps/x86_64/tst-quad1pie.c: New file.
21330 * sysdeps/x86_64/tst-quad2.c: Likewise.
21331 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
21332 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
21333 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
21334 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
21335 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
21336
f34d6f84
ST
213372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21338
f42d41d1
ST
21339 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
21340 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
21341 * streams/stropts.h (t_scalar_t): Define type.
21342
3c3571fc
ST
21343 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
21344 (_PATH_PRESERVE): Set to "/var/lib".
21345 (_PATH_RWHODIR): Set to "/var/spool/rwho".
21346
61f06bd3
ST
21347 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
21348 instead of int.
21349
918d4d71
ST
21350 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
21351 if __dir_mkfile succeeded.
21352
f34d6f84
ST
21353 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
21354 checking for _hurd_dtablesize. Unlock it right after having
21355 finished _hurd_dtable allocation.
21356
10589b4a
TS
213572012-05-10 Thomas Schwinge <thomas@schwinge.name>
21358
674cdbc7
TS
21359 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
21360 * sysdeps/mach/hurd/configure: Regenerated.
21361 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
21362 special-casing to...
21363 * sysdeps/gnu/configure.in: ... this new file.
21364 * sysdeps/unix/sysv/linux/configure: Regenerated.
21365 * sysdeps/gnu/configure: New generated file.
21366
8e41b99f
TS
21367 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
21368 for Linux: use nsec instead of usec, as well as:
21369 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
21370 members of type struct timespec.
21371 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
21372 New macros.
21373 (struct stat64): Likewise.
21374 (_STATBUF_ST_NSEC): New macro.
21375 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
21376
10589b4a
TS
21377 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21378 __strtoul_internal rather than strtoul.
21379
63643c85
PT
213802012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21381
21382 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
21383 and reject them.
21384
3faebe6a
ST
213852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21386
21387 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
21388 which preserves existing values.
21389 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
21390
c6474b07
PT
213912012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21392
21393 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
21394 TIMEOUT values. Return EINVAL for NFDS values either negative or
21395 greater than FD_SETSIZE.
21396
1043890b
ST
213972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21398
21399 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
21400 allocated, call __vm_protect to finish enabling the existing space, and
21401 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
21402 allocate the remainder.
21403
37ed8b9b
PT
214042012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21405
21406 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
21407 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
21408
db653660
ST
214092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21410
37ed8b9b
PT
21411 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
21412 sysdeps/mach/hurd/readlink.c.
b29d4053 21413
db653660
ST
21414 * posix/tst-sysconf.c (posix_options): Only use
21415 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
21416 _POSIX_SYNCHRONIZED_IO when they are defined
21417 * sysdeps/mach/hurd/bits/posix_opt.h:
21418 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
21419 (_XOPEN_REALTIME): Undefine macro.
21420 (_XOPEN_REALTIME_THREADS): Undefine macro.
21421 (_XOPEN_SHM): Undefine macro.
21422 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
21423 macro to -1.
21424 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
21425 macro to -1.
21426 (_POSIX_ASYNC_IO): Undefine macro.
21427 (_POSIX_PRIORITIZED_IO): Undefine macro.
21428 (_POSIX_SPIN_LOCKS): Define macro to -1.
21429
ee16e894
ST
21430 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
21431 SA_NODEFER, SA_RESETHAND.
21432 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
21433 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
21434 F_DUPFD_CLOEXEC.
21435
6103ae3b
TS
214362012-05-10 Thomas Schwinge <thomas@schwinge.name>
21437
21438 * elf/Makefile (pldd-modules): Define unconditionally.
21439
80b4e5f3
TS
214402012-05-10 Thomas Schwinge <thomas@schwinge.name>
21441
21442 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
21443
edadcbd6
ST
214442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21445
21446 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
21447 Return ENOENT when name is empty.
21448 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
21449
80694780
TS
214502012-05-10 Thomas Schwinge <thomas@schwinge.name>
21451
1792c087
TS
21452 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
21453
80694780
TS
21454 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
21455
6b645f0d
ST
214562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21457
80694780
TS
21458 Fix mlock in all cases except non-readable pages.
21459 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
21460 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 21461
6b645f0d
ST
21462 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
21463 (__mkdir): When path is `/', just fail with EEXIST.
21464 * sysdeps/mach/hurd/mkdirat.c: Likewise.
21465
e468f8a3
TS
214662012-05-10 Thomas Schwinge <thomas@schwinge.name>
21467
21468 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
21469 <sys/uio.h> (for writev).
21470 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
21471 and <sys/param.h> (for MIN).
21472
a4186cff
PT
214732012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21474
21475 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
21476 REQUESTED_TIME. Properly set the remaining time and return EINTR
21477 if interrupted.
21478
510bbf14
TS
214792012-05-10 Thomas Schwinge <thomas@schwinge.name>
21480
21481 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
21482 Depend on against $(link-rpcuserlibs).
21483
5d5722e8
ST
214842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21485
a4186cff
PT
21486 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
21487 (__libc_stack_end): Do not use attribute_relro.
21488 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
21489 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 21490 to libthread-provided value.
a4186cff
PT
21491 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
21492 attribute_relro.
5d5722e8 21493
37233df9
TS
214942012-05-10 Thomas Schwinge <thomas@schwinge.name>
21495
be971a2b
TS
21496 [BZ #3748]
21497 * bits/libc-lock.h (__libc_once_get): New macro.
21498 * sysdeps/mach/bits/libc-lock.h: Likewise.
21499 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
21500 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
21501 instead of using implementation details.
21502
37233df9
TS
21503 * libio/fileops.c: Unconditionally include <kernel-features.h>.
21504 * libio/freopen.c: Likewise.
21505 * libio/freopen64.c: Likewise.
21506 * misc/syslog.c: Likewise.
21507 * nscd/connections.c: Likewise.
21508 * nscd/netgroupcache.c: Likewise.
21509 * sysdeps/posix/getcwd.c: Likewise.
21510
38de94a5
RM
215112012-05-10 Roland McGrath <roland@hack.frob.com>
21512
21513 * math/w_ilogbf.c: Add #include <limits.h>.
21514
67530489
ST
215152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21516
a4186cff 21517 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
21518 path instead of returning without unlocking.
21519
67530489
ST
21520 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
21521 immediate-write ioctls.
21522 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
21523
5aa3a74a
TS
215242012-05-10 Thomas Schwinge <thomas@schwinge.name>
21525
18bad2ae
TS
21526 * sysdeps/mach/hurd/i386/init-first.c (init): Use
21527 __builtin_frame_address instead of making assumptions about the
21528 location of the return address relative to DATA. Force early load of
21529 the return address.
21530 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
21531 __builtin_frame_address.
21532
5aa3a74a
TS
21533 dup3 for GNU Hurd.
21534 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
21535 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
21536 implement dup3 and do some further code clean-ups.
21537 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
21538 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
21539
ecd0de9a
ST
215402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21541
cd9fa985
ST
21542 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
21543
a4186cff
PT
21544 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
21545 HURD_CRITICAL_END around holding _hurd_dtable_lock.
21546 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
21547 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
21548 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
21549 d->port.lock.
802ca5a5 21550
a4186cff
PT
21551 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
21552 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
21553 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 21554
bcf55240
TS
215552012-05-10 Thomas Schwinge <thomas@schwinge.name>
21556
6960eb42
TS
21557 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
21558 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
21559 definitions.
21560
eb43375f
TS
21561 accept4 for GNU Hurd.
21562 * include/sys/socket.h (__libc_accept4): New prototype.
21563 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
21564 to implement __libc_accept4.
21565 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
21566 __libc_accept4.
21567 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
21568
bcf55240
TS
21569 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
21570 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
21571 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
21572 signal-defines.sym.
21573
6178c55b
ST
215742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21575
a4186cff 21576 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 21577
6f080c2f
TS
215782012-05-10 Thomas Schwinge <thomas@schwinge.name>
21579
21580 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
21581 assertion on O_CLOEXEC flag.
21582 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
21583 * hurd/intern-fd.c: Likewise.
21584 * hurd/port2fd.c: Likewise.
21585
bcfe3a54
ST
215862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21587
21588 [BZ #3906]
21589 * bits/in.h (IPV6_PKTINFO): Define new macro.
21590 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
21591
89c9aa49
AZ
215922012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21593
21594 [BZ #13954]
21595 [BZ #13955]
21596 [BZ #13956]
21597 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
21598 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21599 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
21600 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21601 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21602 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21603 * math/libm-test.inc (logb_test) : Additional logb tests.
21604
021db4be
AJ
216052012-05-09 Andreas Schwab <schwab@linux-m68k.org>
21606 Andreas Jaeger <aj@suse.de>
21607
21608 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
21609 * configure: Regenerated.
21610 * config.h.in (LINK_OBSOLETE_RPC): New macro.
21611 * config.make.in (link-obsolete-rpc): New substituted variable.
21612 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
21613 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
21614 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21615 (shared-only-routines): Don't set it under [link-obsolete-rpc],
21616 so that libc.a contains the symbols.
21617 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21618 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
21619 * sunrpc/auth_none.c: Likewise.
21620 * sunrpc/auth_unix.c: Likewise.
21621 * sunrpc/authdes_prot.c: Likewise.
21622 * sunrpc/authuxprot.c: Likewise.
21623 * sunrpc/clnt_gen.c: Likewise.
21624 * sunrpc/clnt_perr.c: Likewise.
21625 * sunrpc/clnt_raw.c: Likewise.
21626 * sunrpc/clnt_simp.c: Likewise.
21627 * sunrpc/clnt_tcp.c: Likewise.
21628 * sunrpc/clnt_udp.c: Likewise.
21629 * sunrpc/clnt_unix.c: Likewise.
21630 * sunrpc/des_crypt.c: Likewise.
21631 * sunrpc/des_soft.c: Likewise.
21632 * sunrpc/get_myaddr.c: Likewise.
21633 * sunrpc/key_call.c: Likewise.
21634 * sunrpc/key_prot.c: Likewise.
21635 * sunrpc/netname.c: Likewise.
21636 * sunrpc/pm_getmaps.c: Likewise.
21637 * sunrpc/pm_getport.c: Likewise.
21638 * sunrpc/pmap_clnt.c: Likewise.
21639 * sunrpc/pmap_prot.c: Likewise.
21640 * sunrpc/pmap_prot2.c: Likewise.
21641 * sunrpc/pmap_rmt.c: Likewise.
21642 * sunrpc/publickey.c: Likewise.
21643 * sunrpc/rpc_cmsg.c: Likewise.
21644 * sunrpc/rpc_common.c: Likewise.
21645 * sunrpc/rpc_dtable.c: Likewise.
21646 * sunrpc/rpc_prot.c: Likewise.
21647 * sunrpc/rpc_thread.c: Likewise.
21648 * sunrpc/rtime.c: Likewise.
21649 * sunrpc/svc.c: Likewise.
21650 * sunrpc/svc_auth.c: Likewise.
21651 * sunrpc/svc_raw.c: Likewise.
21652 * sunrpc/svc_run.c: Likewise.
21653 * sunrpc/svc_tcp.c: Likewise.
21654 * sunrpc/svc_udp.c: Likewise.
21655 * sunrpc/svc_unix.c: Likewise.
21656 * sunrpc/svcauth_des.c: Likewise.
21657 * sunrpc/xcrypt.c: Likewise.
21658 * sunrpc/xdr.c: Likewise.
21659 * sunrpc/xdr_array.c: Likewise.
21660 * sunrpc/xdr_float.c: Likewise.
21661 * sunrpc/xdr_intXX_t.c: Likewise.
21662 * sunrpc/xdr_mem.c: Likewise.
21663 * sunrpc/xdr_rec.c: Likewise.
21664 * sunrpc/xdr_ref.c: Likewise.
21665 * sunrpc/xdr_sizeof.c: Likewise.
21666 * sunrpc/xdr_stdio.c: Likewise.
21667
b5c086a2
RM
216682012-05-10 Roland McGrath <roland@hack.frob.com>
21669
21670 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
21671 change. Update copyright years.
21672
6d74dd09
JM
216732012-05-10 Joseph Myers <joseph@codesourcery.com>
21674
21675 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
21676
28e72501
MK
216772012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
21678 Joseph Myers <joseph@codesourcery.com>
21679 Paul Pluzhnikov <ppluzhnikov@google.com>
21680
21681 [BZ #14012]
21682 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
21683 requiring rpcgen.
21684 [cross-compiling] (extra-libs): Likewise.
21685 [cross-compiling] (extra-libs-others): Likewise.
21686 [cross-compiling] (librpcsvc-routines): Likewise.
21687 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
21688 [cross-compiling] (omit-deps): Likewise.
21689 (sunrpc-CPPFLAGS): New variable.
21690 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
21691 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
21692 (cross-rpcgen-objs): New variable.
21693 (extra-objs): Append $(cross-rpcgen-objs).
21694 ($(cross-rpcgen-objs)): New rule.
21695 ($(objpfx)cross-rpcgen): Likewise.
21696 (rpcgen-cmd): Define to use $(built-program-file). Expand
21697 comment.
21698 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
21699 ($(objpfx)x%.stmp): Likewise.
21700 * sunrpc/proto.h [IS_IN_build] (_): Define.
21701 [IS_IN_build] (_libc_intl_domainname): Likewise.
21702
c8c59454
L
217032012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21704
21705 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
21706 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
21707 and R_X86_64_TPOFF64.
21708
6f27cd16
JM
217092012-05-10 Joseph Myers <joseph@codesourcery.com>
21710
21711 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
21712 sysdeps/unix/sysv/syscalls.list.
21713 (stime): Likewise.
21714 (utime): Likewise.
21715 * sysdeps/unix/sysv/syscalls.list: Remove file.
21716
02467e1c
PE
217172012-05-10 Paul Eggert <eggert@cs.ucla.edu>
21718
21719 [BZ #3440]
21720 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
21721 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
21722 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
21723 (__LC_IDENTIFICATION): Make these macros useful in #if
21724 expressions, as required by C99.
21725
da392631
AS
217262012-05-10 Andreas Schwab <schwab@linux-m68k.org>
21727
21728 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
21729 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
21730 after this.
21731
8115f29b
L
217322012-05-09 H.J. Lu <hongjiu.lu@intel.com>
21733
21734 * stdlib/longlong.h: Updated from GCC.
21735
bdd74070
AJ
217362012-05-09 Andreas Jaeger <aj@suse.de>
21737
edfe0dbe
AJ
21738 * nscd/nscd.c (run_modes): Make named enum, reorder so that
21739 default is first entry.
21740 (run_mode): Set type.
21741 (main): Remove informal message about syslog.
21742 (options): Fix typo.
21743
bcfe3a54
ST
21744 [BZ #14053]
21745 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 21746 to asm.
bcfe3a54
ST
21747 (lrint): Likewise.
21748 (llrintf): Likewise.
21749 (llrint): Likewise.
21750 (rint): Likewise.
21751 (rintf): Likewise.
21752 (nearbyint): Likewise.
21753 (nearbyintf): Likewise.
bdd74070 21754
91d8d69e
AJ
217552012-05-09 Andreas Jaeger <aj@suse.de>
21756 Pedro Alves <palves@redhat.com>
21757
21758 * nscd/nscd.c (run_mode): Use enum.
21759 (main): Cleanup coding style issue.
21760
bb90b80b
AJ
217612012-05-09 Alexandre Oliva <aoliva@redhat.com>
21762 Andreas Jaeger <aj@suse.de>
21763
bcfe3a54
ST
21764 * nscd/nscd.c (go_background): Replaced with...
21765 (run_mode): ... this.
bb90b80b 21766 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
21767 (options): Add -F --foreground.
21768 (main): Implement it.
21769 (parse_opt): Parse it.
bb90b80b 21770
1a4b75a1
AJ
217712012-05-09 Andreas Jaeger <aj@suse.de>
21772
21773 [BZ #14083]
21774 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
21775 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
21776 -Wconversion warning.
21777 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
21778 Likewise.
21779
b1cc2472
JM
217802012-05-09 Joseph Myers <joseph@codesourcery.com>
21781
21782 * conform/data/locale.h-data (NULL): Use macro-constant. Require
21783 == 0.
21784 (LC_ALL): Use macro-int-constant.
21785 (LC_COLLATE): Likewise.
21786 (LC_CTYPE): Likewise.
21787 (LC_MESSAGES): Likewise.
21788 (LC_MONETARY): Likewise.
21789 (LC_NUMERIC): Likewise.
21790 (LC_TIME): Likewise.
21791 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
21792 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21793 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21794 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
21795 Specify type.
21796 [C99-based standards] (float_t): Expect type.
21797 [C99-based standards] (double_t): Expect type.
21798 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
21799 type.
21800 [C99-based standards] (HUGE_VALL): Likewise.
21801 [C99-based standards] (INFINITY): Likewise.
21802 [C99-based standards] (NAN): Likewise.
21803 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
21804 [C99-based standards] (FP_NAN): Likewise.
21805 [C99-based standards] (FP_NORMAL): Likewise.
21806 [C99-based standards] (FP_SUBNORMAL): Likewise.
21807 [C99-based standards] (FP_ZERO): Likewise.
21808 [C99-based standards] (FP_FAST_FMA): Use
21809 optional-macro-int-constant. Specify type. Require == 1.
21810 [C99-based standards] (FP_FAST_FMAF): Likewise.
21811 [C99-based standards] (FP_FAST_FMAL): Likewise.
21812 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
21813 [C99-based standards] (FP_ILOGBNAN): Likewise.
21814 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
21815 Specify type.
21816 [C99-based standards] (MATH_ERREXCEPT): Likewise.
21817 [C99-based standards] (math_errhandling): Specify type.
21818 [ISO99 || ISO11] (signgam): Do not allow.
21819 [non-C99-based standards] (copysignf): Do not allow.
21820 [non-C99-based standards] (exp2f): Likewise.
21821 [non-C99-based standards] (log2f): Likewise.
21822 [non-C99-based standards] (modff): Allow.
21823 [non-C99-based standards] (erff): Do not allow.
21824 [non-C99-based standards] (erfcf): Likewise.
21825 [non-C99-based standards] (gammaf): Likewise.
21826 [non-C99-based standards] (hypotf): Likewise.
21827 [non-C99-based standards] (j0f): Likewise.
21828 [non-C99-based standards] (j1f): Likewise.
21829 [non-C99-based standards] (jnf): Likewise.
21830 [non-C99-based standards] (lgammaf): Likewise.
21831 [non-C99-based standards] (tgammaf): Likewise.
21832 [non-C99-based standards] (y0f): Likewise.
21833 [non-C99-based standards] (y1f): Likewise.
21834 [non-C99-based standards] (ynf): Likewise.
21835 [non-C99-based standards] (isnanf): Likewise.
21836 [non-C99-based standards] (acoshf): Likewise.
21837 [non-C99-based standards] (asinhf): Likewise.
21838 [non-C99-based standards] (atanhf): Likewise.
21839 [non-C99-based standards] (cbrtf): Likewise.
21840 [non-C99-based standards] (expm1f): Likewise.
21841 [non-C99-based standards] (ilogbf): Likewise.
21842 [non-C99-based standards] (log1pf): Likewise.
21843 [non-C99-based standards] (logbf): Likewise.
21844 [non-C99-based standards] (nextafterf): Likewise.
21845 [non-C99-based standards] (remainderf): Likewise.
21846 [non-C99-based standards] (rintf): Likewise.
21847 [non-C99-based standards] (scalbf): Likewise.
21848 [non-C99-based standards] (copysignl): Likewise.
21849 [non-C99-based standards] (exp2l): Likewise.
21850 [non-C99-based standards] (log2l): Likewise.
21851 [non-C99-based standards] (modfl): Allow.
21852 [non-C99-based standards] (erfl): Do not allow.
21853 [non-C99-based standards] (erfcl): Likewise.
21854 [non-C99-based standards] (gammal): Likewise.
21855 [non-C99-based standards] (hypotl): Likewise.
21856 [non-C99-based standards] (j0l): Likewise.
21857 [non-C99-based standards] (j1l): Likewise.
21858 [non-C99-based standards] (jnl): Likewise.
21859 [non-C99-based standards] (lgammal): Likewise.
21860 [non-C99-based standards] (tgammal): Likewise.
21861 [non-C99-based standards] (y0l): Likewise.
21862 [non-C99-based standards] (y1l): Likewise.
21863 [non-C99-based standards] (ynl): Likewise.
21864 [non-C99-based standards] (isnanl): Likewise.
21865 [non-C99-based standards] (acoshl): Likewise.
21866 [non-C99-based standards] (asinhl): Likewise.
21867 [non-C99-based standards] (atanhl): Likewise.
21868 [non-C99-based standards] (cbrtl): Likewise.
21869 [non-C99-based standards] (expm1l): Likewise.
21870 [non-C99-based standards] (ilogbl): Likewise.
21871 [non-C99-based standards] (log1pl): Likewise.
21872 [non-C99-based standards] (logbl): Likewise.
21873 [non-C99-based standards] (nextafterl): Likewise.
21874 [non-C99-based standards] (remainderl): Likewise.
21875 [non-C99-based standards] (rintl): Likewise.
21876 [non-C99-based standards] (scalbl): Likewise.
21877 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21878 [non-C99-based standards] (FP_*): Do not allow.
21879 [C99-based standards] (FP_*): Change to
21880 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21881 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21882 allow.
21883 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
21884 (SIG_ERR): Likewise.
21885 [X/Open-based standards] (SIG_HOLD): Likewise.
21886 (SIG_IGN): Likewise.
21887 (SIGABRT): Use macro-int-constant. Specify type. Require
21888 positive value.
21889 (SIGFPE): Likewise.
21890 (SIGILL): Likewise.
21891 (SIGINT): Likewise.
21892 (SIGSEGV): Likewise.
21893 (SIGTER): Likewise.
21894 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
21895 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
21896 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
21897 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
21898 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
21899 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
21900 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
21901 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
21902 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
21903 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
21904 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
21905 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
21906 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
21907 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
21908 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
21909 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
21910 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
21911 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
21912 [X/Open-based standards] (SIGTRAP): Likewise.
21913 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
21914 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
21915 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
21916 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
21917 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21918 allow.
21919
b9f1922d
IW
219202012-05-08 Ian Wienand <ianw@vmware.com>
21921
21922 [BZ #14080]
21923 * time/tzset.c (__tzset_parse_tz): Update default rules for
21924 daylight time changes in the Energy Policy Act of 2005.
21925
1db86e88
AJ
219262012-05-09 Andreas Jaeger <aj@suse.de>
21927
21928 [BZ #13983]
21929 * elf/ldconfig.c (parse_conf): Change string to make clear that
21930 ldconfig only issued a warning if ld.so.conf does not exist.
21931
dee4a4e3
DM
219322012-05-08 David S. Miller <davem@davemloft.net>
21933
ee0db190
DM
21934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
21935 movxtod instead of popping the value on the stack.
21936
dee4a4e3
DM
21937 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21938
6a43ec98
CD
219392012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
21940
21941 * config.h.in: Add HAVE_ARM_PCS_VFP.
21942
05c2c961
RMG
219432012-05-08 Roland Mc Grath <roland@hack.frob.com>
21944
bcfe3a54
ST
21945 [BZ #13979]
21946 * include/features.h: Warn if user requests __FORTIFY_SOURCE
21947 checking but the checks are disabled for any reason.
05c2c961 21948
4b30f61a
L
219492012-05-08 H.J. Lu <hongjiu.lu@intel.com>
21950
21951 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
21952 and ELF64_R_TYPE with ELFW(R_TYPE).
21953
eee2bc67
JM
219542012-05-08 Joseph Myers <joseph@codesourcery.com>
21955
7ea5391a
JM
21956 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
21957 (ulimit): Likewise.
21958
eee2bc67
JM
21959 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
21960 (settimeofday): Likewise.
21961
abb66a67
MF
219622012-05-08 Mike Frysinger <vapier@gentoo.org>
21963
21964 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
21965 a struct th_u2 inside the union, and move tu_block/tu_code into
21966 a new th_u3 union of tu_block/tu_code inside of that. Move
21967 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
21968 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
21969 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
21970 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
21971 (th_stuff): Change to th_u1.tu_stuff.
21972 (th_data): Define.
21973 (th_msg): Change to th_u1.th_u2.tu_data.
21974
7f18b530
DM
219752012-05-07 David S. Miller <davem@davemloft.net>
21976
05760585
DM
21977 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21978
7f18b530
DM
21979 [BZ #14074]
21980 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
21981 (SETUP_PIC_REG): Use it.
21982 (SETUP_PIC_REG_LEAF): Use it.
21983
495fd99f
JM
219842012-05-07 Joseph Myers <joseph@codesourcery.com>
21985
21986 [BZ #13885]
21987 [BZ #13923]
21988 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21989 USE_AS_EXPM1L.
21990 (EXPL_FINITE): Likewise.
21991 (FLDLOG): Likewise.
21992 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21993 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21994 e_expl.S.
21995 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21996 USE_AS_EXPM1L.
21997 (EXPL_FINITE): Likewise.
21998 (FLDLOG): Likewise.
21999 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
22000 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
22001 e_expl.S.
22002 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
22003 test of -max_value argument for long double.
22004 * sysdeps/i386/fpu/libm-test-ulps: Update.
22005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22006
6693d694
DM
220072012-05-06 David S. Miller <davem@davemloft.net>
22008
22009 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
22010 quad soft-float symbols whose references which are compiler
22011 generated.
22012 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
22013
6c23e11c
JM
220142012-05-06 Joseph Myers <joseph@codesourcery.com>
22015
d8b82cad
JM
22016 [BZ #13884]
22017 [BZ #13914]
22018 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22019 USE_AS_EXP10L.
22020 (EXPL_FINITE): Likewise.
22021 (FLDLOG): Likewise.
22022 (c0): Likewise.
22023 (c1): Likewise.
22024 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
22025 Adjust comments for base varying.
22026 (__expl_finite): Change alias to EXPL_FINITE.
22027 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
22028 e_expl.S.
22029 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
22030 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
22031 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22032 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
22033 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22034 USE_AS_EXP10L.
22035 (EXPL_FINITE): Likewise.
22036 (FLDLOG): Likewise.
22037 (c0): Likewise.
22038 (c1): Likewise.
22039 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
22040 Adjust comments for base varying.
22041 (__expl_finite): Change alias to EXPL_FINITE.
22042 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
22043 tests for bugs.
22044 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22045
6c23e11c
JM
22046 [BZ #14064]
22047 * math/libm-test.inc (check_float_internal): Correct ulp
22048 calculation for subnormal expected results.
22049
29ba805c
AJ
220502012-05-06 Andreas Jaeger <aj@suse.de>
22051
22052 * Makeconfig (+math-flags): New, set to -frounding-math.
22053 (+cflags): Add +math-flags so that all of glibc gets compiled with
22054 it.
22055
22056 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
22057
7b17aeda
JM
220582012-05-05 Joseph Myers <joseph@codesourcery.com>
22059
5779f134
JM
22060 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
22061 Disable one test.
22062
41498f4d
JM
22063 [BZ #13787]
22064 [BZ #13922]
22065 [BZ #14036]
22066 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
22067 (__ieee754_expl): Allow for and saturate large arguments.
22068 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
22069 (u_threshold): Likewise.
22070 (__exp): Call __ieee754_exp before checking for overflow and
22071 underflow.
22072 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
22073 (u_threshold): Likewise.
22074 (__expf): Call __ieee754_expf before checking for overflow and
22075 underflow.
22076 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
22077 (u_threshold): Likewise.
22078 (__expl): Call __ieee754_expl before checking for overflow and
22079 underflow.
22080 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
22081 (__ieee754_expl): Allow for and saturate large arguments.
22082 * math/libm-test.inc (exp_test): Add another test. Do not allow
22083 missing overflow exception on overflow.
22084 (expm1_test): Do not allow missing overflow exception on overflow.
22085
6698b8bf
JM
22086 * sysdeps/i386/fpu/e_expl.c: Move to ...
22087 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
22088 rather than using inline asm.
22089 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
22090 * sysdeps/x86_64/fpu/e_expl.S: Copy from
22091 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
22092
7b17aeda
JM
22093 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
22094 (nice): Likewise.
22095 (poll): Likewise.
22096 (signal): Likewise.
22097 (time): Likewise.
22098 (times): Likewise.
22099
f7c85819
JM
221002012-05-04 Joseph Myers <joseph@codesourcery.com>
22101
22102 * sysdeps/unix/syscalls.list (adjtime): Add entry from
22103 sysdeps/unix/common/syscalls.list.
22104 (fchmod): Likewise.
22105 (fchown): Likewise.
22106 (ftruncate): Likewise.
22107 (getrusage): Likewise.
22108 (gettimeofday): Likewise.
22109 (setpgid): Likewise.
22110 (setregid): Likewise.
22111 (setreuid): Likewise.
22112 (sigaction): Likewise.
22113 (truncate): Likewise.
22114 (vhangup): Likewise.
22115 * sysdeps/unix/common/syscalls.list: Remove file.
22116 * sysdeps/unix/bsd/Implies: Don't include unix/common.
22117 * sysdeps/unix/sysv/linux/Implies: Likewise.
22118
336270d0
L
221192012-05-04 H.J. Lu <hongjiu.lu@intel.com>
22120
22121 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
22122 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
22123 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
22124 Moved to ...
22125 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
22126 Here.
22127 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
22128 to ...
22129 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
22130 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
22131 to ...
22132 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
22133 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
22134 to ...
22135 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
22136 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
22137 to ...
22138 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
22139 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
22140 to ...
22141 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
22142 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
22143 to ...
22144 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
22145 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
22146 to ...
22147 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22148 Here.
22149 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
22150 to ...
22151 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
22152 Here.
22153 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
22154 to ...
22155 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
22156 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
22157 Moved to ...
22158 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
22159 Here.
22160 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
22161 to ...
22162 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
22163
d128e450
JM
221642012-05-04 Joseph Myers <joseph@codesourcery.com>
22165
fa8ee516
JM
22166 * sysdeps/unix/common/bits/dirent.h: Remove file.
22167 * sysdeps/unix/common/bits/fcntl.h: Likewise.
22168
d128e450
JM
22169 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
22170 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
22171 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
22172 * sysdeps/unix/bsd/isatty.c: Likewise.
22173 * sysdeps/unix/bsd/tcdrain.c: Likewise.
22174 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
22175 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
22176
ff8faaf0 221772012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 22178
62881be4 22179 [BZ #13563]
31dc8730
AZ
22180 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
22181 long double comparison inaccuracies.
22182 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22183 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22184
6fef930c
AS
221852012-05-04 Andreas Schwab <schwab@linux-m68k.org>
22186
22187 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
22188 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
22189
8f203e6c
JM
221902012-05-04 Joseph Myers <joseph@codesourcery.com>
22191
22192 [BZ #14049]
22193 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
22194 nonzero digits before rounding a hex value.
22195 * stdlib/tst-strtod.c (tests): Add another test.
22196
5197d9c2
AK
221972012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22198
22199 * sysdeps/s390/fpu/libm-test-ulps: Update.
22200
f0c1dedf
AJ
222012012-05-03 Andreas Jaeger <aj@suse.de>
22202
22203 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
22204 does not get optimized out.
22205 (malloc_opt_barrier): New.
22206
a65ef2ae 222072012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 22208 Roland McGrath <roland@hack.frob.com>
a65ef2ae 22209
2b942cb7 22210 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 22211 intermediate file deletion.
2b942cb7 22212 (generated): Add .symlist files.
a65ef2ae 22213
54b71e02
JM
222142012-05-03 Joseph Myers <joseph@codesourcery.com>
22215
22216 [BZ #13775]
22217 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
22218 Redirect under this condition.
22219 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22220 [__USE_GNU] (__dprintf_chk): Not under this condition.
22221 [__USE_GNU] (__vdprintf_chk): Likewise.
22222 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
22223 under this condition.
22224 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22225 [__USE_XOPEN2K8] (dprintf): Define under this condition.
22226 [__USE_XOPEN2K8] (vdprintf): Likewise.
22227 [__USE_GNU] (__dprintf_chk): Not under this condition.
22228 [__USE_GNU] (__vdprintf_chk): Likewise.
22229 [__USE_GNU] (dprintf): Likewise.
22230 [__USE_GNU] (vdprintf): Likewise.
22231
d3dfcc41
RM
222322012-05-03 Roland McGrath <roland@hack.frob.com>
22233
22234 * elf/Makefile (common-generated): Set this instead of generated for
22235 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
22236 $(all-built-dso)-derived lists.
22237
7ac30cc5
AJ
222382012-05-03 Andreas Jaeger <aj@suse.de>
22239
0c51e550
AJ
22240 * sysdeps/i386/fpu/libm-test-ulps: Update.
22241
7ac30cc5
AJ
22242 * FAQ: Removed.
22243 * FAQ.in: Likewise.
22244 * scripts/gen-FAQ.pl: Likewise.
22245 * manual/install.texi (Installation): Point to online location of
22246 FAQ.
22247 * Makefile (files-for-dist): Remove FAQ.
22248 (FAQ): Remove.
22249
d4c2917f
AM
222502012-05-02 Allan McRae <allan@archlinux.org>
22251
22252 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
22253 (LDFLAGS-reldepmod5.so): Likewise.
22254 (LDFLAGS-reldep6mod1.so): Likewise.
22255 (LDFLAGS-reldep6mod4.so): Likewise.
22256 (LDFLAGS-reldep8mod3.so): Likewise.
22257 (LDFLAGS-unload4mod1.so): Likewise.
22258 (LDFLAGS-unload4mod2.so): Likewise.
22259 (LDFLAGS-tst-initorder): Likewise.
22260 (LDFLAGS-tst-initordera2.so): Likewise.
22261 (LDFLAGS-tst-initordera3.so): Likewise.
22262 (LDFLAGS-tst-initordera4.so): Likewise.
22263 (LDFLAGS-tst-initorderb2.so): Likewise.
22264 (LDFLAGS-noload): Likewise.
22265 (LDFLAGS-next): Likewise.
22266 (LDFLAGS-order2mod1.so): Likewise.
22267 (LDFLAGS-order2mod2.so): Likewise.
22268 (LDFLAGS-tst-initorder2): Likewise.
22269 (LDFLAGS-tst-initorder2a.so): Likewise.
22270 (LDFLAGS-tst-initorder2b.so): Likewise.
22271 (LDFLAGS-tst-initorder2c.so): Likewise.
22272 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
22273
d77f993f
DM
222742012-05-02 David S. Miller <davem@davemloft.net>
22275
22276 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22277
171a70b4
PP
222782012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
22279
22280 [BZ #14055]
22281 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
22282
0be196ad
AJ
222832012-05-02 Andreas Jaeger <aj@suse.de>
22284
22285 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
22286 since we manipulate rounding mode.
22287 (CPPFLAGS-test-idouble.c): Likewise.
22288 (CPPFLAGS-test-ifloat.c): Likewise.
22289 (CFLAGS-test-ldouble.c): Likewise.
22290 (CFLAGS-test-double.c): Likewise.
22291 (CFLAGS-test-float.c): Likewise.
22292 (CFLAGS-test-misc.c): Likewise.
22293 (CFLAGS-test-test-fenv.c): Likewise.
22294
4f9d04aa
AZ
222952012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22296
2b942cb7
RM
22297 [BZ #2550]
22298 [BZ #2570]
22299 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
22300 comparisons to determine direction to adjust input.
4f9d04aa 22301
82a79e7d
RM
223022012-05-01 Roland McGrath <roland@hack.frob.com>
22303
f5a01ca9
RM
22304 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
22305 output to the target.
22306
90fe4186
RM
22307 * scripts/localplt.awk: New file.
22308 * elf/Makefile ($(objpfx)check-localplt): Target removed.
22309 (check-localplt-CFLAGS): Variable removed.
22310 ($(all-built-dso:=.jmprel)): New static pattern rule.
22311 (generated): Add those targets.
22312 (localplt-built-dso): New variable.
22313 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
22314
22315 * elf/check-localplt.c: File removed.
22316
82397ed6
RM
22317 * scripts/check-execstack.awk: New file.
22318 * elf/Makefile ($(objpfx)check-execstack): Target removed.
22319 (check-execstack-CFLAGS): Variable removed.
22320 ($(objpfx)check-execstack.h): Target removed.
22321 ($(objpfx)execstack-default): New target.
22322 (generated): Add that instead of check-execstack.h.
22323 ($(all-built-dso:=.phdr)): New static pattern rule.
22324 (generated): Add those targets.
22325 * elf/check-execstack.c: File removed.
22326
82a79e7d
RM
22327 * scripts/check-textrel.awk: New file.
22328 * elf/Makefile ($(objpfx)check-textrel): Target removed.
22329 (check-textrel-CFLAGS): Variable removed.
22330 (all-built-dso): Use := to define.o
22331 ($(all-built-dso:=.dyn)): New static pattern rule.
22332 (generated): Add those targets.
22333 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
22334 * config.make.in (READELF): New substituted variable.
22335 * elf/check-textrel.c: File removed.
22336
62fde54f 223372012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 22338
615605c9
JM
22339 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22340 allow.
22341 * conform/data/ctype.h-data [C99-based standards] (isblank):
22342 Expect function.
22343 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
22344 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
22345 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22346 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
22347 Specify type. Require positive value.
22348 (EILSEQ): Likewise.
22349 (ERANGE): Likewise.
22350 [ISO || POSIX] (EILSEQ): Do not expect.
22351 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
22352 Specify type. Require positive value.
22353 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
22354 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
22355 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
22356 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
22357 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
22358 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
22359 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
22360 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
22361 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
22362 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
22363 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
22364 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
22365 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
22366 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
22367 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
22368 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
22369 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
22370 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
22371 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
22372 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
22373 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
22374 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
22375 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
22376 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
22377 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
22378 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
22379 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
22380 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
22381 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
22382 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
22383 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
22384 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
22385 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
22386 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
22387 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
22388 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
22389 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
22390 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
22391 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
22392 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
22393 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
22394 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
22395 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
22396 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
22397 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
22398 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
22399 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
22400 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
22401 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
22402 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
22403 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
22404 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
22405 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
22406 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
22407 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
22408 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
22409 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
22410 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
22411 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
22412 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
22413 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
22414 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
22415 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
22416 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
22417 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
22418 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
22419 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
22420 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
22421 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
22422 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
22423 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
22424 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
22425 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
22426 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
22427 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
22428 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
22429 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
22430 Require >= 2.
22431 (FLT_ROUNDS): Expect as macro, not constant.
22432 (FLT_MANT_DIG): Use macro-int-constant.
22433 (DBL_MANT_DIG): Likewise.
22434 (LDBL_MANT_DIG): Likewise.
22435 (FLT_DIG): Likewise.
22436 (DBL_DIG): Likewise.
22437 (LDBL_DIG): Likewise.
22438 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
22439 (DBL_MIN_EXP): Likewise.
22440 (LDBL_MIN_EXP): Likewise.
22441 (FLT_MAX_EXP): Use macro-int-constant.
22442 (DBL_MAX_EXP): Likewise.
22443 (LDBL_MAX_EXP): Likewise.
22444 (FLT_MAX_10_EXP): Likewise.
22445 (DBL_MAX_10_EXP): Likewise.
22446 (LDBL_MAX_10_EXP): Likewise.
22447 (FLT_MAX): Use macro-constant.
22448 (DBL_MAX): Likewise.
22449 (LDBL_MAX): Likewise.
22450 (FLT_EPSILON): Use macro-constant. Give upper bound.
22451 (DBL_EPSILON): Likewise.
22452 (LDBL_EPSILON): Likewise.
22453 (FLT_MIN): Likewise.
22454 (DBL_MIN): Likewise.
22455 (LDBL_MIN): Likewise.
22456 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
22457 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
22458 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
22459 [ISO11] (FLT_HAS_SUBNORM): Likewise.
22460 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
22461 [ISO11] (DBL_DECIMAL_DIG): Likewise.
22462 [ISO11] (FLT_DECIMAL_DIG): Likewise.
22463 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
22464 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
22465 [ISO11] (FLT_TRUE_MIN): Likewise.
22466 [ISO11] (LDBL_TRUE_MIN): Likewise.
22467 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22468 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
22469 (SCHAR_MIN): Use macro-int-constant. Specify type.
22470 (SCHAR_MAX): Likewise.
22471 (UCHAR_MAX): Likewise.
22472 (CHAR_MIN): Likewise.
22473 (CHAR_MAX): Likewise.
22474 (MB_LEN_MAX): Use macro-int-constant.
22475 (SHRT_MIN): Use macro-int-constant. Specify type.
22476 (SHRT_MAX): Likewise.
22477 (USHRT_MAX): Likewise.
22478 (INT_MAX): Likewise.
22479 (INT_MIN): Use macro-int-constant. Specify type. Make upper
22480 bound negative.
22481 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
22482 bound with "U".
22483 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
22484 bound with "L".
22485 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
22486 bound negative. Suffix upper bound with "L".
22487 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
22488 bound with "UL".
22489 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
22490 Specify type.
22491 [C99-based standards] (LLONG_MAX): Likewise.
22492 [C99-based standards] (ULLONG_MAX): Likewise.
22493 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
22494 == 0.
22495 [ISO11] (max_align_t): Require type.
22496 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22497
c9140a62
JM
22498 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
22499 from $CFLAGS, without defining away __attribute__ calls.
22500 (checknamespace): Use $CFLAGS_namespace.
22501
9af0bf29
JM
22502 * conform/conformtest.pl (@keywords): Only include C99 keywords
22503 for standards based on C99 or C11.
22504
343222a2
JM
22505 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
22506 Disable tests.
22507 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
22508 UNIX98]: Likewise.
22509
661f8cf0
JM
22510 * conform/conformtest.pl: Handle "macro-int-constant" and test for
22511 usability of symbols in #if.
22512
ee74b9cb
JM
22513 * conform/conformtest.pl: If macro or constant types start
22514 "promoted:", expect the symbol to be of the following type
22515 promoted by the integer promotions.
62fde54f 22516
aafc49b3
JM
22517 * conform/conformtest.pl: Parse all "constant" and "macro" lines
22518 in one place. Also handle "macro-constant".
22519
fefdf574
JM
22520 * conform/conformtest.pl: Only accept expected macro values with
22521 "==". Parse all "macro" lines in one place.
22522 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
22523
f2d922fe
JM
22524 * conform/conformtest.pl: Handle braced types on "constant" lines
22525 instead of handling "typed-constant".
22526 * conform/data/signal.h-data: Use "constant" instead of
22527 "typed-constant".
22528
d22956c9
JM
22529 * conform/conformtest.pl: Handle "optional-" at start of lines in
22530 one place rather than duplicating several cases. Handle each
22531 format of "macro" line with initial "optional-".
22532
028e2e38
JM
22533 * conform/conformtest.pl: Only accept expected constant or
22534 optional-constant values with "==". Parse all "constant" lines in
22535 one place. Parse all "optional-constant" lines in one place.
22536 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
22537 * conform/data/fmtmsg.h-data: Likewise.
22538 * conform/data/netinet/in.h-data: Likewise.
22539 * conform/data/tar.h-data: Likewise.
22540 * conform/data/limits.h-data: Use "==" form on "constant" and
22541 "optional-constant" lines.
22542
1b8f2850
JM
22543 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
22544 Use -std=c99 for XOPEN2K.
22545 (@knownproblems): Remove.
22546 (newtoken): Don't check %isknown.
22547
a05a144b
JM
22548 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
22549 Do not expect macro.
22550 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
22551 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
22552 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
22553 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
22554 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
22555 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
22556 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
22557 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
22558 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
22559 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
22560 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
22561 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
22562 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
22563 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
22564 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
22565 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
22566 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
22567 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
22568 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
22569 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
22570 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
22571 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
22572 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
22573 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
22574 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
22575 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
22576 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
22577 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
22578 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
22579 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
22580 [XPG3] (acosh): Likewise.
22581 [XPG3] (asinh): Likewise.
22582 [XPG3] (atanh): Likewise.
22583 [XPG3] (cbrt): Likewise.
22584 [XPG3] (expm1): Likewise.
22585 [XPG3] (ilogb): Likewise.
22586 [XPG3] (log1p): Likewise.
22587 [XPG3] (logb): Likewise.
22588 [XPG3] (nextafter): Likewise.
22589 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
22590 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
22591 [XPG3] (remainder): Likewise.
22592 [XPG3] (rint): Likewise.
22593 [XPG3 || XPG4 || UNIX98] (round): Likewise.
22594 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
22595 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
22596 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
22597 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
22598 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
22599 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
22600 [UNIX98 || XOPEN2K] (scalb): Expect.
22601 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
22602 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
22603 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
22604 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
22605 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
22606 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
22607 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
22608 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
22609 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
22610 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
22611 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
22612 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
22613 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
22614 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
22615 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
22616 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
22617 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
22618 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
22619 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
22620 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
22621 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
22622 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
22623 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
22624 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
22625 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
22626 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
22627 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
22628 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
22629 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
22630 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
22631 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
22632 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
22633 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
22634 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
22635 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
22636 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
22637 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
22638 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
22639 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
22640 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
22641 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
22642 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
22643 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
22644 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
22645 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
22646 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
22647 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
22648 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
22649 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
22650 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
22651 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
22652 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
22653 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
22654 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
22655 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
22656 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
22657 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
22658 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
22659 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
22660 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
22661 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
22662 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
22663 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
22664 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
22665 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
22666 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
22667 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
22668 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
22669 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
22670 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
22671 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
22672 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
22673 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
22674 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
22675 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
22676 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
22677 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
22678 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
22679 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
22680 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
22681 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
22682 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
22683 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
22684 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
22685 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
22686 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
22687 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
22688 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
22689 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
22690 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
22691 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
22692 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
22693 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
22694 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
22695 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
22696 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
22697 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
22698 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
22699 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
22700 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
22701 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
22702 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
22703 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
22704 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
22705 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
22706 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
22707 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
22708 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
22709 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
22710 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
22711 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
22712 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
22713 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
22714 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
22715 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
22716 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
22717 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
22718 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
22719 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
22720 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
22721 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
22722 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
22723 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
22724 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
22725 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
22726 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
22727 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
22728 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
22729 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
22730 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
22731 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
22732 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
22733 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
22734 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
22735 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
22736 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
22737 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
22738
73c5ebe3
JM
22739 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
22740 _XOPEN_SOURCE_EXTENDED for XPG4.
22741
39c33b6c
JM
22742 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
22743
62fde54f
JM
22744 * Makeconfig (localtime): Remove variable.
22745 (inst_localtime-file): Likewise.
22746
0741d64c
AS
227472012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22748
22749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
22750 Update.
22751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22752 Update.
22753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
22754 Update.
22755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22756 Update.
22757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
22758 Update.
22759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
22760 Update.
22761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22762 Update.
22763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
22764 Update.
22765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22766 Update.
22767
7cb029ee
JM
227682012-05-01 Joseph Myers <joseph@codesourcery.com>
22769
22770 [BZ #2550]
22771 [BZ #2570]
22772 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
22773 comparisons to determine direction to adjust input.
22774 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22775 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
22776 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
22777 Likewise.
22778 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
22779 Likewise.
22780 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22781 Likewise.
22782 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
22783 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22784 Likewise.
22785 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22786 Likewise.
22787 * math/libm-test.inc (nexttoward_test): Add more tests.
22788
412bd966
AS
227892012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22790
22791 [BZ #14040]
22792 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
22793 in version GLIBC_2.1, not GLIBC_2.0.
22794 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
22795 Likewise.
22796
9568c0c2
JM
227972012-04-30 Joseph Myers <joseph@codesourcery.com>
22798
adfbc8ac
JM
22799 [BZ #13942]
22800 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
22801 (1 - x) * (1 + x).
22802 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22803 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
22804 * math/libm-test.inc (acos_test): Add more tests.
22805 (asin_test): Likewise.
22806 * sysdeps/i386/fpu/libm-test-ulps: Update.
22807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22808
5ba3cc69
JM
22809 [BZ #14034]
22810 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
22811 of square root.
22812 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
22813 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22814 * math/libm-test.inc (acos_test_tonearest): New function.
22815 (acos_test_towardzero): Likewise.
22816 (acos_test_downward): Likewise.
22817 (acos_test_upward): Likewise.
22818 (asin_test_tonearest): Likewise.
22819 (asin_test_towardzero): Likewise.
22820 (asin_test_downward): Likewise.
22821 (asin_test_upward): Likewise.
22822 (main): Call the new functions.
22823 * sysdeps/i386/fpu/libm-test-ulps: Update.
22824 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22825
9568c0c2
JM
22826 [BZ #13884]
22827 [BZ #13924]
22828 * math/e_exp10.c: Include <float.h>.
22829 (__ieee754_exp10): Handle underflow here rather than multiplying
22830 large negative argument by M_LN10.
22831 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
22832 of __ieee754_expf.
22833 * math/e_exp10l.c: Include <float.h>.
22834 (__ieee754_exp10l): Handle underflow here rather than multiplying
22835 large negative argument by M_LN10l.
22836 * math/libm-test.inc (exp10_test): Add another test. Do not allow
22837 spurious overflow exception on underflow.
22838
5ac3ea17
MP
228392012-04-29 Marek Polacek <polacek@redhat.com>
22840
22841 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
22842 (__fortify_function): New macro.
22843 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
22844 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
22845 __extern_always_inline.
22846 * libio/bits/stdio2.h: Likewise.
22847 * libio/bits/stdio.h: Likewise.
22848 * string/string.h: Likewise.
22849 * string/bits/string3.h: Likewise.
22850 * include/stdio.h: Likewise.
22851 * stdlib/bits/stdlib.h: Likewise.
22852 * stdlib/stdlib.h: Likewise.
22853 * rt/bits/mqueue2.h: Likewise.
22854 * rt/mqueue.h: Likewise.
22855 * posix/bits/unistd.h: Likewise.
22856 * posix/unistd.h: Likewise.
22857 * io/bits/poll2.h: Likewise.
22858 * io/bits/fcntl2.h: Likewise.
22859 * io/fcntl.h: Likewise.
22860 * io/sys/poll.h: Likewise.
22861 * misc/bits/syslog.h: Likewise.
22862 * misc/bits/syslog-ldbl.h: Likewise.
22863 * misc/sys/syslog.h: Likewise.
22864 * socket/bits/socket2.h: Likewise.
22865 * socket/sys/socket.h: Likewise.
22866 * debug/tst-chk1.c: Likewise.
22867 * wcsmbs/bits/wchar2.h: Likewise.
22868 * wcsmbs/bits/wchar-ldbl.h: Likewise.
22869 * wcsmbs/wchar.h: Likewise.
22870
ecf0ebfb
AJ
228712012-04-29 Andreas Jaeger <aj@suse.de>
22872
22873 * Makerules (tests): Remove enable-check-abi protection.
22874 (check-abi-warn): Remove.
22875 (check-abi-%): Remove check-abi-warn usage.
22876
22877 * configure.in: Remove check-abi configure option.
22878 * configure: Regenerated.
22879 * config.make.in (enable-check-abi): Remove.
22880
6d5c57fa
AS
228812012-04-28 Andreas Schwab <schwab@linux-m68k.org>
22882
24c5d07e 22883 [BZ #14033]
ded5180a
AS
22884 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
22885 double functions to double *_finite functions.
22886
7e0d315d
AS
22887 [BZ #13941]
22888 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
22889 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
22890 LDBL_MIN_EXP.
22891 * stdio-common/Makefile (tests): Add tst-sprintf3.
22892 * stdio-common/tst-sprintf3.c: New file.
22893
6d5c57fa
AS
22894 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
22895 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
22896
0749ff8b
JM
228972012-04-28 Joseph Myers <joseph@codesourcery.com>
22898
22899 * conform/conformtest.pl: Remove duplicate typed-constant
22900 handling.
22901
8dbd5d7b
DM
229022012-04-28 David S. Miller <davem@davemloft.net>
22903
22904 * Makerules (%.abilist): Add vpath on sysdep_dirs.
22905 (check-abi-%): Remove AWK script prerequisite and explicit
22906 abilist directory.
22907 (check-abi): Rewrite to just diff the symlist with the abilist.
22908 (config-tls, config-abi-config): Delete, no longer used.
22909 (update-abi-%): Remove AWK script and explicit abilist directory.
22910 (update-abi): Rewrite to simply compare and conditionally copy the
22911 symlist and the sysdep abilist file. Remove update-abi-config
22912 checks.
22913 * abilist/ld.abilist: Remove.
22914 * abilist/libBrokenLocale.abilist: Remove.
22915 * abilist/libanl.abilist: Remove.
22916 * abilist/libcrypt.abilist: Remove.
22917 * abilist/libdl.abilist: Remove.
22918 * abilist/librt.abilist: Remove.
22919 * abilist/libthread_db.abilist: Remove.
22920 * abilist/libutil.abilist: Remove.
22921 * scripts/extract-abilist.awk: Remove.
22922 * scripts/merge-abilist.awk: Remove.
22923 * sysdeps/generic/libcidn.abilist: New file.
22924 * sysdeps/generic/libnss_compat.abilist: New file.
22925 * sysdeps/generic/libnss_db.abilist: New file.
22926 * sysdeps/generic/libnss_dns.abilist: New file.
22927 * sysdeps/generic/libnss_files.abilist: New file.
22928 * sysdeps/generic/libnss_hesiod.abilist: New file.
22929 * sysdeps/generic/libnss_nis.abilist: New file.
22930 * sysdeps/generic/libnss_nisplus.abilist: New file.
22931 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
22932 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
22933 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
22934 file.
22935 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
22936 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
22937 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
22938 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
22939 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
22940 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
22941 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
22942 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
22943 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
22944 file.
22945 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
22946 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
22947 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
22948 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
22949 file.
22950 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
22951 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
22952 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
22953 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
22954 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
22955 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
22956 file.
22957 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
22958 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
22959 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
22960 file.
22961 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
22962 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
22963 New file.
22964 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
22965 New file.
22966 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
22967 New file.
22968 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
22969 New file.
22970 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
22971 New file.
22972 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
22973 New file.
22974 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
22975 New file.
22976 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
22977 New file.
22978 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
22979 New file.
22980 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
22981 New file.
22982 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
22983 New file.
22984 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
22985 New file.
22986 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
22987 New file.
22988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
22989 file.
22990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
22991 New file.
22992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
22993 New file.
22994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
22995 file.
22996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
22997 New file.
22998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
22999 New file.
23000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
23001 file.
23002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
23003 New file.
23004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23005 New file.
23006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
23007 New file.
23008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
23009 New file.
23010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
23011 New file.
23012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
23013 New file.
23014 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
23015 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
23016 file.
23017 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
23018 New file.
23019 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
23020 file.
23021 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
23022 file.
23023 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
23024 file.
23025 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
23026 file.
23027 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
23028 file.
23029 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23030 New file.
23031 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
23032 file.
23033 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
23034 file.
23035 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
23036 New file.
23037 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
23038 file.
23039 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
23040 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
23041 file.
23042 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
23043 New file.
23044 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
23045 file.
23046 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
23047 file.
23048 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
23049 file.
23050 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
23051 file.
23052 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
23053 file.
23054 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23055 New file.
23056 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
23057 file.
23058 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
23059 file.
23060 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
23061 New file.
23062 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
23063 file.
23064 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23065 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
23066 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
23067 file.
23068 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
23069 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
23070 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
23071 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
23072 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
23073 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
23074 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
23075 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
23076 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
23077 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
23078 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
23079 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
23080 file.
23081 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
23082 New file.
23083 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
23084 file.
23085 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
23086 file.
23087 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
23088 file.
23089 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
23090 file.
23091 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
23092 file.
23093 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23094 New file.
23095 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
23096 New file.
23097 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
23098 file.
23099 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
23100 New file.
23101 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
23102 file.
23103 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
23104 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
23105 file.
23106 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
23107 New file.
23108 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
23109 file.
23110 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
23111 file.
23112 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
23113 file.
23114 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
23115 file.
23116 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
23117 file.
23118 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23119 New file.
23120 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
23121 New file.
23122 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
23123 file.
23124 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
23125 New file.
23126 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
23127 file.
23128
41d73a1b
JM
231292012-04-28 Joseph Myers <joseph@codesourcery.com>
23130
23131 * conform/conformtest.pl: Fix typo in handling typed-constant from
23132 allow-header.
23133
28aeeda4
JM
231342012-04-27 Joseph Myers <joseph@codesourcery.com>
23135
adae8f5e
JM
23136 * README: Cut down references to pre-2.6 Linux kernels and
23137 Linuxthreads. Update lists of configurations in libc and ports
23138 and sort alphabetically. Say "or newer" with Linux kernel version
23139 requirements.
23140
28aeeda4
JM
23141 * config.h.in [IS_IN_build]: Allow compiling without optimization.
23142
a462cb63
RA
231432012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23144
23145 [BZ #887]
23146 * math/libm-test.inc (logb_test_downward): New test to expose
23147 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
23148 rounding mode.
23149
6ad3493e
JM
231502012-04-27 Joseph Myers <joseph@codesourcery.com>
23151
23152 [BZ #14027]
23153 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
23154 to be done.
23155 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
23156 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
23157
2ce4f015
JM
231582012-04-26 Joseph Myers <joseph@codesourcery.com>
23159
5aeb141a
JM
23160 * sysdeps/unix/i386/brk.S: Remove file.
23161 * sysdeps/unix/i386/dl-brk.S: Likewise.
23162 * sysdeps/unix/i386/pipe.S: Likewise.
23163 * sysdeps/unix/i386/sigreturn.S: Likewise.
23164 * sysdeps/unix/i386/syscall.S: Likewise.
23165 * sysdeps/unix/i386/vfork.S: Likewise.
23166 * sysdeps/unix/i386/wait.S: Likewise.
23167
7143acae
JM
23168 * sysdeps/unix/common/tcsendbrk.c: Move to ...
23169 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
23170
2ce4f015
JM
23171 * configure.in (arm*-none*): Do not allow without
23172 --enable-hacker-mode.
23173 (netbsd*): Remove case setting base_os.
23174 (386bsd*): Likewise.
23175 (freebsd*): Likewise.
23176 (bsdi*): Likewise.
23177 (osf*): Likewise.
23178 (sunos*): Likewise.
23179 (ultrix*): Likewise.
23180 (newsos*): Likewise.
23181 (dynix*): Likewise.
23182 (*bsd*): Likewise.
23183 (sysv*): Likewise.
23184 (isc*): Likewise.
23185 (esix*): Likewise.
23186 (sco*): Likewise.
23187 (minix*): Likewise.
23188 (irix4*): Likewise.
23189 (irix6*): Likewise.
23190 (solaris[2-9]*): Likewise.
23191 (none): Likewise.
23192 * configure: Regenerated.
23193
0ac229c8
AZ
231942012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23195
23196 [BZ #11521]
23197 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
23198 overflow or cancellation in calculating denominator.
23199 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
23200 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
23201 down expression to avoid unexpected rounding in newer GCCs.
23202 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
23203
33f244f4
DM
232042012-04-26 David S. Miller <davem@davemloft.net>
23205
23206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
23207 long-double compat symbols.
23208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
23212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
23214 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
23215 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
23216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
23217 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
23218 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
23219 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
23220 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23221
cfa1f3e8
DM
232222012-04-25 David S. Miller <davem@davemloft.net>
23223
23224 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
23225 HWCAP_* values only after the memory barriers have been defined.
23226 (atomic_full_barrier): Define.
23227 (atomic_read_barrier): Define.
23228 (atomic_write_barrier): Define.
23229
6e236b92
SP
232302012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23231
23232 * shlib-versions: Add libgcc_s version information.
23233 * sysdeps/generic/libgcc_s.h: Remove.
23234 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
23235 libgcc_s.h.
23236 * sysdeps/gnu/unwind-resume.c: Likewise.
23237 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
23238
aab39a09
DM
232392012-04-25 David S. Miller <davem@davemloft.net>
23240
23241 * sysdeps/unix/sparc/brk.S: Delete.
23242 * sysdeps/unix/sparc/dl-brk.S: Delete.
23243 * sysdeps/unix/sparc/pipe.S: Delete.
23244 * sysdeps/unix/sparc/sysdep.S: Delete.
23245 * sysdeps/unix/sparc/sysdep.h: Delete.
23246 * sysdeps/unix/sparc/vfork.S: Delete.
23247 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
23248 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
23249 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
23250 ret_ERRVAL, r0, r1, MOVE): Define.
23251 (JUMPTARGET): Remove.
23252 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
23253 sysdeps/unix/sparc/sysdep.h
23254 (ENTRY, END): Remove.
23255 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23256
a3cc4f48
JM
232572012-04-25 Joseph Myers <joseph@codesourcery.com>
23258
2ed8cda2
JM
23259 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
23260 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
23261 -DIS_IN_build.
23262
35d76d59
JM
23263 * timezone/README: Update upstream location and email address for
23264 tzcode and tzdata.
23265 * timezone/zdump.c: Update from tzcode 2012b.
23266 * timezone/zic.c: Likewise.
23267
a3cc4f48
JM
23268 * configure.in (libc_cv_as_needed): Remove test.
23269 * configure: Regenerated.
23270 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
23271 conditional definition.
23272 [$(have-as-needed) != yes] (no-as-needed): Likewise.
23273 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
23274 * config.make.in (have-as-needed): Remove variable.
23275
ceab42c3
SP
232762012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23277 Paul Pluzhnikov <ppluzhnikov@google.com>
23278
23279 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
23280 strings correctly.
23281
3ce2865f
CLT
232822012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
23283
23284 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
23285 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
23286 * sysdeps/sh/strlen.S: Likewise.
23287
f37e0d68
JM
232882012-04-24 Joseph Myers <joseph@codesourcery.com>
23289
ae186e9a
JM
23290 * sysdeps/unix/fork.S: Remove file.
23291 * sysdeps/unix/i386/fork.S: Likewise.
23292 * sysdeps/unix/sparc/fork.S: Likewise.
23293
b96914af
JM
23294 * sysdeps/unix/system.c: Remove file.
23295 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
23296
f37e0d68
JM
23297 * sysdeps/unix/getegid.S: Remove file.
23298 * sysdeps/unix/geteuid.S: Likewise.
23299
87ef29ca
RM
233002012-04-24 Roland McGrath <roland@hack.frob.com>
23301
83bcd236
RM
23302 * scripts/check-localplt.awk: New file.
23303 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
23304 of diff.
23305 * scripts/data/localplt-generic.data: Add a comment.
23306
87ef29ca
RM
23307 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
23308 NODE when __dir_mkfile failed.
23309 * sysdeps/mach/hurd/symlinkat.c: Likewise.
23310 Reported by Ludovic Courtès <ludo@gnu.org>.
23311
e5a6e567
AJ
233122012-04-24 Andreas Jaeger <aj@suse.de>
23313
23314 * Makerules (common-clean): Also remove gen-as-const-headers
23315 files.
23316
c1820385
JM
233172012-04-24 Joseph Myers <joseph@codesourcery.com>
23318
23319 * Makerules (native-compile): Do not change working directory for
23320 build. Use $(OUTPUT_OPTION) in command.
23321 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
23322
94e02fc4
AZ
233232012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23324
23325 [BZ #13886]
23326 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
23327 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
23328 * math/libm-test.inc (floor_test): Add more tests.
23329 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
23330
3a533ca3
JM
233312012-04-24 Joseph Myers <joseph@codesourcery.com>
23332
940ab4b3
JM
23333 * sysdeps/unix/getdents.c: Remove file.
23334 * sysdeps/unix/sysv/getdents.c: Likewise.
23335 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
23336
90e037bd
JM
23337 * sysdeps/unix/syscalls.list (madvise): Add syscall from
23338 sysdeps/unix/mman/syscalls.list.
23339 (mmap): Likewise.
23340 (mprotect): Likewise.
23341 (msync): Likewise.
23342 (munmap): Likewise.
23343 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
23344 * sysdeps/unix/mman/syscalls.list: Remove.
23345 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
23346
3a533ca3
JM
23347 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
23348 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
23349 * configure: Regenerated.
23350 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
23351 $(libgcc_s_suffix).
23352 * config.make.in (libgcc_s_suffix): Remove variable.
23353
1ad743de
JM
233542012-04-23 Joseph Myers <joseph@codesourcery.com>
23355
4ad451e2
JM
23356 * sysdeps/unix/sysv/gethostname.c: Move to ...
23357 * sysdeps/posix/gethostname.c: ... here.
23358
5e37ce39
JM
23359 * sysdeps/unix/execve.S: Remove file.
23360
1ad743de
JM
23361 * sysdeps/unix/_exit.S: Remove file.
23362
4e681b5b
AJ
233632012-04-23 Andreas Jaeger <aj@suse.de>
23364
23365 [BZ #13739]
23366 * manual/Makefile: Remove make dist support, there's no
23367 need for a stand-alone documentation tar ball.
23368 (TEXI2DVI): Define always, it's not in Makeconfig.
23369 (dist): Removed.
23370 (tar-it): Removed.
23371 (edition): Removed.
23372 (glibc-doc-$(edition).tar): Removed
23373 (%.Z): Removed.
23374 (%.gz): Removed.
23375 (%.uu): Removed.
23376 (ETAGS): Remove, it's in Makeconfig.
23377 (move-if-change): Remove, it's in Makeconfig.
23378
38686a03 233792012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
23380
23381 [BZ #13970]
23382 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
23383 (strtod, strtof, strtold, strtol, strtoul, strtoq)
23384 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
23385 (strtod_l, strtof_l, strtold_l): Remove __wur.
23386 It is not necessarily an error to ignore strtol's return value.
23387 One can reliably look at the stored endptr to decide whether
23388 the number had valid syntax.
23389
7c0616fa
AJ
233902012-04-21 Andreas Jaeger <aj@suse.de>
23391
803cb6b7 23392 [BZ #13739]
7c0616fa
AJ
23393 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
23394
b0fe253f
JM
233952012-04-21 Joseph Myers <joseph@codesourcery.com>
23396
23397 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
23398 * sysdeps/unix/sysv/Versions: Remove file.
23399
8280f22d
MT
234002012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
23401
23402 [BZ #13927]
23403 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23404
75ce411f 234052012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
23406
23407 [BZ #7064]
23408 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
23409 version from __vm86.
23410
097d59fa
JM
234112012-04-20 Joseph Myers <joseph@codesourcery.com>
23412
a90f3bcb
JM
23413 * sysdeps/unix/common/lxstat.c: Remove file.
23414 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
23415
edc7ea78
JM
23416 * sysdeps/unix/sysv/Makefile: Remove file.
23417
cb78c221
JM
23418 * sysdeps/unix/sysv/direct.h: Remove file.
23419
efa6a45f
JM
23420 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
23421 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
23422 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
23423 * sysdeps/unix/sysv/bits/signum.h: Likewise.
23424 * sysdeps/unix/sysv/bits/stat.h: Likewise.
23425 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
23426 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
23427
9c9f2d0c
JM
23428 * sysdeps/unix/sysv/setrlimit.c: Remove file.
23429
4541c83b
JM
23430 * sysdeps/unix/xmknod.c: Remove file.
23431 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
23432
f5d153a0
JM
23433 * sysdeps/unix/sysv/settimeofday.c: Remove file.
23434
aa746595
JM
23435 * sysdeps/unix/sysv/i386/time.S: Remove file.
23436
cce5905e
JM
23437 * sysdeps/unix/fxstat.c: Remove file.
23438 * sysdeps/unix/xstat.c: Likewise.
23439 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
23440
37fa3841
JM
23441 * sysdeps/unix/sysv/sigaction.c: Remove file.
23442
ff1962a3
JM
23443 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
23444 (sysdep_headers): Remove variable.
23445 [termio.h not in sysdep_headers] (generated): Likewise.
23446 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
23447 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
23448 * sysdeps/unix/sysv/tcdrain.c: Likewise.
23449 * sysdeps/unix/sysv/tcflow.c: Likewise.
23450 * sysdeps/unix/sysv/tcflush.c: Likewise.
23451 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
23452 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
23453 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
23454 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
23455 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
23456
e7740d31
JM
23457 * sysdeps/unix/siglist.c: Remove file.
23458
ee06f18b
JM
23459 * sysdeps/unix/getppid.S: Remove file.
23460
097d59fa
JM
23461 * sysdeps/unix/mkdir.c: Remove file.
23462 * sysdeps/unix/rmdir.c: Likewise.
23463
ff3d51ec
AS
234642012-04-19 Andreas Schwab <schwab@linux-m68k.org>
23465
23466 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
23467 ERR_MAX value.
23468 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
23469 errlist-compat value.
23470
50f81fd7
DM
234712012-04-18 David S. Miller <davem@davemloft.net>
23472
23473 * sysdeps/generic/memcopy.h (reg_char): Delete.
23474 * debug/strcat_chk.c: Use char, not reg_char.
23475 * debug/strcpy_chk.c: Likewise.
23476 * debug/strncat_chk.c: Likewise.
23477 * debug/strncpy_chk.c: Likewise.
23478 * string/memchr.c: Likewise.
23479 * string/memrchr.c: Likewise.
23480 * string/rawmemchr.c: Likewise.
23481 * string/strcat.c: Likewise.
23482 * string/strchr.c: Likewise.
23483 * string/strchrnul.c: Likewise.
23484 * string/strcmp.c: Likewise.
23485 * string/strcpy.c: Likewise.
23486 * string/strncat.c: Likewise.
23487 * string/strncmp.c: Likewise.
23488 * string/strncpy.c: Likewise.
23489
8ff41c46
WS
234902012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23491
23492 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
23493 __builtin_memcopy is called when src and dest ranges are known to not
23494 overlap.
23495
6b652f46
WS
234962012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23497
23498 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
23499 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
23500 fwd_align_merge macro call.
23501 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
23502 bwd_align_merge macro call.
23503 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23504
b282631e
WS
235052012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23506
23507 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
23508 bwd_align_merge macros.
23509 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
23510 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
23511 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23512
95aa737c
DM
235132012-04-18 David S. Miller <davem@davemloft.net>
23514
23515 * sysdeps/sparc/sparc64/memcopy.h: Delete.
23516
7a99a614
AJ
235172012-04-18 Andreas Jaeger <aj@suse.de>
23518
23519 [BZ# 6794]
23520 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
23521 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
23522 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23523
23524 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
23525 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
23526 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23527
23528 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
23529 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
23530 Adjust for changed ldbl-128 files.
23531
23532 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
23533 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
23534 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23535
e5270c23
DM
235362012-04-17 David S. Miller <davem@davemloft.net>
23537
23538 * sysdeps/sparc/sparc32/memcopy.h: Delete.
23539
fb5e92c9
AS
235402012-04-17 Andreas Schwab <schwab@linux-m68k.org>
23541
23542 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
23543 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
23544 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
23545 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
23546 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23547 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
23548
76da7265
AZ
235492012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23550
23551 [BZ #6794]
23552 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
23553 * math/libm-test.inc: Add ilogb errno and exception tests.
23554 * math/w_ilogb.c: New file: ilogb wrapper.
23555 * math/w_ilogbf.c: New file: ilogbf wrapper.
23556 * math/w_ilogbl.c: New file: ilogbl wrapper.
23557 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
23558 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
23559 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
23560 exception being thrown with 0.0 as argument.
23561 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
23562 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
23563 exception being thrown with 0.0 as argument.
23564 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
23565 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23566 exception being thrown with 0.0 as argument.
23567 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
23568 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23569 exception being thrown with 0.0 as argument.
23570 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
23571 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 23572 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
23573 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
23574 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
23575 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
23576 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
23577 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
23578 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
23579
0396e69d
PB
235802012-04-17 Petr Baudis <pasky@ucw.cz>
23581
23582 * include/sys/uio.h: Change __vector to __iovec to avoid clash
23583 with altivec.
23584
750b5926
MP
235852012-04-16 Marek Polacek <polacek@redhat.com>
23586
23587 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
23588
751728a1
MP
235892012-04-16 Marek Polacek <polacek@redhat.com>
23590
23591 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
23592 operands of fdivp instruction.
23593
34a27407
L
235942012-04-13 H.J. Lu <hongjiu.lu@intel.com>
23595
23596 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
23597 * elf/tst-auditmod3b.c: Likewise.
23598 * elf/tst-auditmod4b.c: Likewise.
23599 * elf/tst-auditmod5b.c: Likewise.
23600 * elf/tst-auditmod6b.c: Likewise.
23601 * elf/tst-auditmod6c.c: Likewise.
23602 * elf/tst-auditmod7b.c: Likewise.
23603 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
23604 * sysdeps/x86_64/preconfigure.in: Likewise.
23605 * sysdeps/x86_64/preconfigure: Regenerated.
23606
7e73e17d
L
236072012-04-13 H.J. Lu <hongjiu.lu@intel.com>
23608
23609 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
23610 __ILP32__.
23611
c7a6ab72
AB
236122012-04-13 Antoine Balestrat <merkil33@gmail.com>
23613
23614 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23615 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
23616
a9e8e0e0
CL
236172012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
23618
23619 [BZ #13973]
23620 * locale/iso-639.def: Fix gl language name. Spotted by
23621 Yaron Shahrabani.
23622
ec98af7d
RM
236232012-04-12 Roland McGrath <roland@hack.frob.com>
23624
23625 [BZ #2074]
23626 * libio/libio.h (__io_write_fn): Update comment.
23627
247c3ede
PB
236282012-04-12 Petr Baudis <pasky@ucw.cz>
23629
23630 [BZ #2074]
23631 * stdio.texi (Hook Functions): The user provided writer function
23632 is not allowed to return -1.
23633
55939d6d
DM
236342012-04-11 David S. Miller <davem@davemloft.net>
23635
23636 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23637
90020f5a
MF
236382012-04-11 Mike Frysinger <vapier@gentoo.org>
23639
23640 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
23641 Add a leading slash to rtkaio.
23642
288f9098
JM
236432012-04-11 Jim Meyering <meyering@redhat.com>
23644
90020f5a
MF
23645 [BZ #11959]
23646 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
23647 It is not necessarily an error to ignore fwrite's return
23648 value. One can reliably use ferror to test for errors after
23649 the fact.
288f9098 23650
4be2b570
L
236512012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23652
23653 * bits/types.h (__snseconds_t): New type.
23654 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
23655
23656 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
23657 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23658 (__SNSECONDS_T_TYPE): Likewise.
23659 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23660 (__SNSECONDS_T_TYPE): Likewise.
23661 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23662 (__SNSECONDS_T_TYPE): Likewise.
23663
288f9098 236642012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
23665
23666 [BZ #2636]
23667 * manual/time.texi (Processor Time): Return type of times is
23668 elapsed real time since an arbitrary point in the past.
23669 (CPU Time): Move CLK_TCK from here...
23670 (Processor Time): ...to here. Correct description.
23671 * manual/conf.texi (Constants for Sysconf): Correct description of
23672 _SC_CLK_TCK.
23673
d7dd4413
DM
236742012-04-10 David S. Miller <davem@davemloft.net>
23675
23676 [BZ #13967]
23677 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
23678 where the is a gap between DT_REL(A) and DT_JMPREL.
23679
b46068fc
L
236802012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23681
23682 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
23683 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23684 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23685
73d65cc3
SP
236862012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23687
23688 * elf/dl-support.c (_dl_inhibit_cache): New variable.
23689 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
23690 (dl_main): Handle --inhibit-cache.
23691 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
23692 _dl_inhibit_cache.
23693 * elf/dl-load.c (_dl_map_object): Use it.
23694 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
23695
bcc8d661
JM
236962012-04-09 Joseph Myers <joseph@codesourcery.com>
23697
8f9a2fae
JM
23698 [BZ #13872]
23699 * sysdeps/i386/fpu/e_powl.S (p78): New object.
23700 (__ieee754_powl): Saturate large exponents rather than testing for
23701 overflow of y*log2(x).
23702 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23703 * math/libm-test.inc (pow_test): Do not permit spurious overflow
23704 exceptions.
23705
bcc8d661
JM
23706 [BZ #11521]
23707 * math/s_ctan.c: Include <float.h>.
23708 (__ctan): Avoid internal overflow or cancellation in calculating
23709 denominator.
23710 * math/s_ctanf.c: Likewise.
23711 * math/s_ctanl.c: Likewise.
23712 * math/s_ctanh.c: Likewise.
23713 * math/s_ctanhf.c: Likewise.
23714 * math/s_ctanhl.c: Likewise.
23715 * math/libm-test.inc (ctan_test): Add more tests.
23716 (ctanh_test): Likewise.
23717 * sysdeps/i386/fpu/libm-test-ulps: Update.
23718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23719
823fbbb4
AJ
237202012-04-09 Andreas Jaeger <aj@suse.de>
23721
03879793
AJ
23722 [BZ #6894]
23723 * manual/filesys.texi (Directory Entries): Mention that d_namlen
23724 is an optional BSD extension.
23725
823fbbb4
AJ
23726 [BZ #10254]
23727 * manual/stdio.texi (Opening Streams): Document additional fopen
23728 parameters.
23729
8de131cb
RM
237302012-04-09 Roland McGrath <roland@hack.frob.com>
23731
23732 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
23733 %eax without telling the compiler.
23734
c0ed9d7d
CD
237352012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
23736
23737 [BZ # 13963]
23738 * manual/install.texi: Use sourceware.org.
23739
c483f6b4
JM
237402012-04-09 Joseph Myers <joseph@codesourcery.com>
23741
d7dd9453
JM
23742 [BZ #13873]
23743 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
23744 (__ieee754_pow): Generate overflow and underflow using huge*huge
23745 and tiny*tiny rather than just returning constant infinity or zero
23746 for large exponents.
23747 * math/libm-test.inc (pow_test): Require overflow exceptions for
23748 applicable cases of large exponents.
23749
c483f6b4
JM
23750 [BZ #706]
23751 * sysdeps/i386/fpu/e_pow.S (p10): New object.
23752 (__ieee754_pow): Use iterative multiplication algorithm only for
23753 integer exponents with absolute value below 1024. Check for odd
23754 integer exponents when using algorithm for real exponents.
23755 * math/libm-test.inc (pow_test): Add more tests.
23756 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23757
d2de7579
JM
237582012-04-08 Joseph Myers <joseph@codesourcery.com>
23759
23760 [BZ #13705]
23761 * math/libm-test.inc (exp_test): Do not allow overflow exception
23762 on underflow test.
23763
f77f1232
AJ
237642012-04-08 Aurelien Jarno <aurelien@aurel32.net>
23765
23766 [BZ #13705]
23767 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
23768 instead of __kernel_standard_f.
23769
3884932b
MF
237702012-04-08 Mike Frysinger <vapier@gentoo.org>
23771
23772 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
23773 * sysdeps/x86_64/memset_chk.S: Likewise.
23774
54472e9c
AJ
237752012-04-08 Andreas Jaeger <aj@suse.de>
23776
6ab0fbfc
AJ
23777 [BZ #10153]
23778 * manual/startup.texi (Environment Access): Describe return value
23779 for putenv and setenv.
23780
61efba8c
AJ
23781 [BZ #6895]
23782 * manual/filesys.texi (Directory Entries): Add description for
23783 DT_LNK.
23784
95c3f29a
AJ
23785 [BZ #6890]
23786 * manual/filesys.texi (Directory Entries): Clarify that it's file
23787 system not operating system in the description of DT_UNKNOWN.
23788
54472e9c
AJ
23789 [BZ #6578]
23790 * manual/syslog.texi (closelog): Fix reference, it's openlog.
23791
624254b1
SC
237922012-04-08 Stephen Compall <s11@member.fsf.org>
23793
23794 [BZ #6649]
23795 * manual/llio.texi (Opening and Closing Files): Add cross
23796 reference to explain mode argument.
23797
1e4920e0
MF
237982012-04-07 Mike Frysinger <vapier@gentoo.org>
23799
23800 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
23801 * sysdeps/x86_64/memset_chk.S: Likewise.
23802
5ed848f3
DM
238032012-04-07 David S. Miller <davem@davemloft.net>
23804
23805 * elf/elf.h (R_SPARC_WDISP10): Define.
23806 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
23807 R_SPARC_SIZE32.
23808 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
23809 R_SPARC_SIZE64 and R_SPARC_H34.
23810
96154cd8
CD
238112012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
23812
23813 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
23814 conditions and remove no longer applicable assertion.
23815
9904dc47
L
238162012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23817
23818 * bits/byteswap.h: Include <features.h>.
23819 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23820 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23821
f8887d0a
L
238222012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23823
23824 * bits/byteswap.h (__bswap_16): Removed.
23825 Include <bits/byteswap-16.h> to get __bswap_16.
23826 * sysdeps/i386/bits/byteswap.h: Likewise.
23827 * sysdeps/s390/bits/byteswap.h: Likewise.
23828 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23829 * bits/byteswap-16.h: New file.
23830 * sysdeps/i386/bits/byteswap-16.h: Likewise.
23831 * sysdeps/s390/bits/byteswap-16.h: Likewise.
23832 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
23833 * string/Makefile (headers): Add bits/byteswap-16.h.
23834
62470f60
PP
238352012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23836
23837 [BZ #13895]
23838 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
23839 extra indirection.
23840 * nss/Makefile (tests-static, tests): Add tst-nss-static.
23841 * nss/tst-nss-static.c: New.
23842
4dad7bab
RM
238432012-04-06 Robert Millan <rmh@gnu.org>
23844
23845 [BZ #6486]
23846 * manual/llio.texi (File Position Primitive): lseek
23847 refers to WHENCE when it really means OFFSET.
23848
e9142a17
AJ
238492012-04-06 Andreas Jaeger <aj@suse.de>
23850
2c040eff
AJ
23851 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
23852 strncmp declarations.
23853
e9142a17
AJ
23854 * abilist/libc.abilist: Add __poll and __ppoll.
23855
ff9f1c5f
DM
238562012-04-05 David S. Miller <davem@davemloft.net>
23857
dcd2ae90
DM
23858 * scripts/check-local-headers.sh: Accept a host triplet in the
23859 path matched by the exclude regexp.
23860
993eb054
DM
23861 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
23862 definition.
23863 * sysdeps/powerpc/powerpc32/dl-machine.h
23864 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
23865 * sysdeps/s390/s390-32/dl-machine.h
23866 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23867 * sysdeps/sparc/sparc32/dl-machine.h
23868 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23869 * sysdeps/sparc/sparc64/dl-machine.h
23870 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23871
ff9f1c5f
DM
23872 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
23873 lazy binding.
48e2e132 23874 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
23875 undefined symbol errors.
23876
48e2e132 23877 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
23878 DT_NEEDED entries.
23879
e80d6f94
MM
238802012-04-05 Michael Matz <matz@suse.de>
23881
23882 [BZ #13592]
23883 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
23884
349fa79f
AJ
238852012-04-05 Andreas Jaeger <aj@suse.de>
23886
23887 [BZ #13908]
23888 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
23889 comment.
23890
f402708f
KK
238912012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23892
23893 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
23894 which ROUND is no valid rounding mode.
23895
2ecccfc9
KK
238962012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23897
23898 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
23899 read again.
23900 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
23901
8a53f50f
KK
239022012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23903
23904 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
23905 an exception using FPU order intentionally.
23906
239072012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23908
23909 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
23910 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
23911 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
23912 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
23913
d653abb7
SJ
239142012-04-05 Simon Josefsson <simon@josefsson.org>
23915
23916 [BZ #12340]
23917 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
23918 EINVAL when BUFLEN is too smal.
23919
c3b1bf7d
TS
239202012-04-05 Thomas Schwinge <thomas@codesourcery.com>
23921
23922 [BZ #13553]
23923 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
23924 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
23925
b1aa60f3
AJ
239262012-04-03 Andreas Jaeger <aj@suse.de>
23927
c3b1bf7d 23928 [BZ #13938]
67f60a26
AJ
23929 * manual/setjmp.texi (System V contexts): Fix sentence.
23930
b1aa60f3
AJ
23931 [BZ #13926]
23932 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
23933 New macro for this case.
23934 [!__GNUC__] (__bswap_64): New inline function for this case.
23935 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23936 * bits/byteswap.h: Likewise.
23937 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
23938 ull, guard with __GLIBC_HAVE_LONG_LONG.
23939
23940 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
23941 __GLIBC_HAVE_LONG_LONG.
23942
23943 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
23944 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
23945
39c59c35
TMQMF
239462012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23947
23948 [BZ #13691]
23949 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
23950 inptr and inend, rather than using last_ch.
23951
135ffda8
DM
239522012-04-02 David S. Miller <davem@davemloft.net>
23953
23954 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
23955 * stdio-common/printf-parse.h (read_int): Change return type to
23956 'int', return -1 on INT_MAX overflow.
23957 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
23958 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
23959 overflows INT_MAX. Check for overflow of in-format-string precision
23960 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
23961 SIZE_MAX not INT_MAX for integer overflow test.
23962 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
23963 skip the construct in the format string but do not record anything.
23964 * stdio-common/bug22.c: Adjust to test both width/prevision
23965 INT_MAX overflow as well as total length INT_MAX overflow. Check
23966 explicitly for proper errno values.
23967
228c019e
TS
239682012-04-02 Thomas Schwinge <thomas@codesourcery.com>
23969
302cadd3
TS
23970 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
23971 CHAR_MAX.
23972 * string/test-strcmp.c [! WIDE]: Likewise.
23973 * time/tst-mktime2.c: Likewise for INT_MAX.
23974 * string/test-string.h: #include <sys/param.h> for MIN.
23975
228c019e
TS
23976 * csu/init-first.c (__libc_init_first): Call __ctype_init.
23977 * sysdeps/i386/init-first.c (init): Likewise.
23978 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
23979 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
23980 * sysdeps/sh/init-first.c (init): Likewise.
23981
cfa633f5
UD
239822012-04-01 Ulrich Drepper <drepper@gmail.com>
23983
23984 * po/ru.po: Update from translation team.
d1635ef8 23985 * po/vi.po: Likewise.
cfa633f5 23986
6cd0a5ea
SP
239872012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23988
23989 * resolv/nss_dns/dns-host.c: Merge copyright years.
23990
4b43400f
LD
239912012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23992
23993 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
23994 Optimize memcpy with prefetch if
23995 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
23996 src, dst pointers have unequal 16 byte alignments.
23997
48c41d04
SP
239982012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23999
24000 [BZ #13928]
24001 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
24002 from a CNAME entry and return the minimum ttl for the query.
24003 (gaih_getanswer_slice): Likewise.
24004
b8dc394d
JL
240052012-03-30 Jeff Law <law@redhat.com>
24006
24007 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
24008 due to long keys.
24009 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
24010 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
24011
2f5a5ed0
JL
24012 * resolv/nss_dns/dns-host.c: Update copyright year.
24013
1d39e359
UD
240142012-03-30 Ulrich Drepper <drepper@gmail.com>
24015
c030f70c 24016 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 24017 requests to save a system call. Fix check that all bytes are sent.
c030f70c 24018
1d39e359
UD
24019 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
24020 comments for sendmmsg.
24021
240222012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
24023
24024 [BZ #13691]
24025 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
24026 with only 1 character between 0x0041 and 0x01b0.
24027 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
24028 * wcsmbs/tst-mbsnrtowcs.c: New file.
24029
20fde227
DM
240302012-03-29 David S. Miller <davem@davemloft.net>
24031
24032 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
24033 small copies by hand.
24034
984a4237
JL
240352012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24036
24037 [BZ #13761]
24038 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
24039 _nss_compat_initgroups_dyn): Fall back to malloc/free
24040 for large group memberships.
24041
18c9d62b
DM
240422012-03-28 David S. Miller <davem@davemloft.net>
24043
88d85d4f
DM
24044 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
24045 that branches into memcpy.
24046 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24047 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
24048 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24049 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
24050 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
24051 bits.
24052 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
24053 implementation too.
24054 * sysdeps/sparc/mempcpy.S: New file.
24055
e5aa83e1
DM
24056 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
24057 the IFUNC routine in the libc case.
24058 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24059
88570753
DM
24060 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
24061 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
24062 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
24063 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
24064 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
24065 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
24066 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
24067 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
24068
249d7567
DM
24069 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
24070 loop to 256 bytes instead of 64 bytes and fix test signedness.
24071
18c9d62b
DM
24072 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
24073 * sysdeps/sparc/sparc32/Makefile: rather than here...
24074 * sysdeps/sparc/sparc64/Makefile: and here.
24075
05f3d1f6
UD
240762012-03-28 Ulrich Drepper <drepper@gmail.com>
24077
24078 * malloc/mallocbug.c: Avoid warnings about unused variables.
24079
86ae07a8
JL
240802012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24081
24082 [BZ #13760]
24083 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
24084 in the right place. Discard and retry query if response is
24085 larger than input buffer size.
24086
41bf21a1
JM
240872012-03-28 Joseph Myers <joseph@codesourcery.com>
24088
d6270972
JM
24089 [BZ #369]
24090 [BZ #2678]
24091 [BZ #3866]
24092 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
24093 x for large integer exponent.
24094 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
24095 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
24096 sign of result as needed afterwards.
24097 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
24098 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
24099 result for underflowing pow the same as for overflow.
24100 (__kernel_standard_l): Handle powl overflow and underflow here
24101 rather than calling __kernel_standard.
24102 * math/libm-test.inc (pow_test): Add more tests.
24103
414fca03 24104 [BZ #3868]
41bf21a1
JM
24105 [BZ #13879]
24106 [BZ #13910]
24107 [BZ #13911]
24108 [BZ #13912]
24109 [BZ #13913]
24110 [BZ #13915]
24111 [BZ #13916]
24112 [BZ #13917]
24113 [BZ #13918]
24114 [BZ #13919]
24115 [BZ #13920]
24116 [BZ #13921]
24117 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
24118 * sysdeps/ieee754/k_standard.c: Include <float.h>.
24119 (__kernel_standard_l): New function.
24120 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
24121 __kernel_standard.
24122 * math/w_acosl.c (__acosl): Likewise.
24123 * math/w_asinl.c (__asinl): Likewise.
24124 * math/w_atan2l.c (__atan2l): Likewise.
24125 * math/w_atanhl.c (__atanhl): Likewise.
24126 * math/w_coshl.c (__coshl): Likewise.
24127 * math/w_exp10l.c (__exp10l): Likewise.
24128 * math/w_exp2l.c (__exp2l): Likewise.
24129 * math/w_fmodl.c (__fmodl): Likewise.
24130 * math/w_hypotl.c (__hypotl): Likewise.
24131 * math/w_j0l.c (__j0l, __y0l): Likewise.
24132 * math/w_j1l.c (__j1l, __y1l): Likewise.
24133 * math/w_jnl.c (__jnl, __ynl): Likewise.
24134 * math/w_lgammal.c (__lgammal): Likewise.
24135 * math/w_log10l.c (__log10l): Likewise.
24136 * math/w_log2l.c (__log2l): Likewise.
24137 * math/w_logl.c (__logl): Likewise.
24138 * math/w_powl.c (__powl): Likewise.
24139 * math/w_remainderl.c (__remainderl): Likewise.
24140 * math/w_scalbl.c (sysv_scalbl): Likewise.
24141 * math/w_sinhl.c (__sinhl): Likewise.
24142 * math/w_sqrtl.c (__sqrtl): Likewise.
24143 * math/w_tgammal.c (__tgammal): Likewise.
24144 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
24145 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
24146 * math/libm-test.inc (acos_test): Add more tests.
24147 (acosh_test): Likewise.
24148 (asin_test): Likewise.
24149 (atanh_test): Likewise.
24150 (exp_test): Likewise.
24151 (exp10_test): Likewise.
24152 (exp2_test): Likewise.
24153 (expm1_test): Likewise.
24154 (lgamma_test): Likewise.
24155 (log_test): Likewise.
24156 (log10_test): Likewise.
24157 (log1p_test): Likewise.
24158 (log2_test): Likewise.
24159 (pow_test): Do not allow some spurious overflow exceptions.
24160 (sqrt_test): Add more tests.
24161 (tgamma_test): Likewise.
24162 (y0_test): Likewise.
24163 (y1_test): Likewise.
24164 (yn_test): Likewise.
24165
dd62fda6
AB
241662012-03-27 Anton Blanchard <anton@samba.org>
24167
24168 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
24169 MAP_HUGETLB.
24170 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24171 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24172 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24173
1e3cdfda
AJ
241742012-03-27 David S. Miller <davem@davemloft.net>
24175
b855ab85
DM
24176 * conform/Makefile: Run run-conformtest.sh using $(BASH).
24177
1e3cdfda
AJ
24178 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
24179 have-as-vis3 check.
24180
241812012-03-27 Andreas Jaeger <aj@suse.de>
24182
24183 * sysdeps/x86_64/elf/configure.in: Moved to ...
24184 * sysdeps/x86_64/configure.in: ... here.
24185 * sysdeps/x86_64/elf/start.S: Moved to ...
24186 * sysdeps/x86_64/start.S: ... here.
24187 * sysdeps/x86_64/elf/configure: Delete.
24188
24189 * sysdeps/x86_64/configure.in: Merge contents from
24190 sysdeps/i386/configure.in (without i686 check).
24191
24192 * sysdeps/i386/elf/Versions: Merge into ...
24193 * sysdeps/i386/Versions: ... this.
24194 * sysdeps/i386/elf/Versions: Delete file.
24195 * sysdeps/i386/elf/start.S: Moved to ...
24196 * sysdeps/i386/start.S: ...here.
24197 * sysdeps/i386/elf/configure.in: Merge into...
24198 * sysdeps/i386/configure.in: ...here.
24199 * sysdeps/i386/elf/configure.in: Delete file.
24200 * sysdeps/i386/elf/configure: Delete file.
24201
24202 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
24203 * debug/backtracesyms.c: ... here.
24204 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
24205 * debug/backtracesymsfd.c: ... here.
24206 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
24207 * sysdeps/generic/ifunc-sel.h: ... here.
24208
24209 * sysdeps/unix/i386/start.c: Delete file.
24210 * sysdeps/unix/sparc/start.c: Delete file.
24211 * sysdeps/unix/start.c: Delete file.
24212
24213 * sysdeps/sh/elf/configure.in: Moved to ...
24214 * sysdeps/sh/configure.in: ... here.
24215 * sysdeps/sh/elf/start.S: Moved to ...
24216 * sysdeps/sh/start.S: ... here.
24217 * sysdeps/sh/elf/configure: Delete file.
24218
24219 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
24220 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
24221 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
24222 * sysdeps/powerpc/powerpc64/entry.h: ... here.
24223 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
24224 * sysdeps/powerpc/powerpc64/start.S: here.
24225 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
24226 * sysdeps/powerpc/powerpc64/Makefile: ... this.
24227 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
24228 * sysdeps/powerpc/powerpc64/configure.in: ... this.
24229 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
24230
24231 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
24232 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
24233 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
24234 * sysdeps/powerpc/powerpc32/start.S: ... here.
24235 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
24236 * sysdeps/powerpc/powerpc32/configure.in: ... this.
24237 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
24238
24239 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
24240 * sysdeps/powerpc/ifunc-sel.h: ... here.
24241 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
24242 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
24243
24244 * sysdeps/sparc/elf/configure.in: Moved to ...
24245 * sysdeps/sparc/configure.in: ... here.
24246 * sysdeps/sparc/elf/configure: Delete file.
24247 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
24248 * sysdeps/sparc/sparc32/start.S: ... here.
24249 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
24250 * sysdeps/sparc/sparc64/start.S: ... here.
24251 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
24252 * sysdeps/sparc/sparc32/Makefile: ... this.
24253 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
24254 * sysdeps/sparc/sparc64/Makefile: ... this.
24255
24256 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
24257 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
24258 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
24259 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
24260 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
24261 * sysdeps/s390/s390-32/setjmp.S: ... here.
24262 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
24263 * sysdeps/s390/s390-32/configure.in: ... here.
24264 * sysdeps/s390/s390-32/elf/configure: Delete file.
24265 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
24266 * sysdeps/s390/s390-32/start.S: ... here.
24267
24268 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
24269 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
24270 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
24271 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
24272 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
24273 * sysdeps/s390/s390-64/setjmp.S: ... here.
24274 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
24275 * sysdeps/s390/s390-64/configure.in: ... here
24276 * sysdeps/s390/s390-64/elf/configure: Delete file.
24277 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
24278 * sysdeps/s390/s390-64/start.S: ... here.
24279 * sysdeps/s390/s390-64/elf/configure: Delete.
24280
24281 * configure.in: Remove support for elf directories in sysdeps.
24282
24283 * configure: Regenerated.
24284 * sysdeps/i386/configure: Regenerated.
24285 * sysdeps/powerpc/powerpc32/configure: Regenerated.
24286 * sysdeps/powerpc/powerpc64/configure: Regenerated.
24287 * sysdeps/s390/s390-32/configure: Regenerated.
24288 * sysdeps/s390/s390-64/configure: Regenerated.
24289 * sysdeps/sh/configure: Regenerated.
24290 * sysdeps/sparc/configure: Regenerated.
24291 * sysdeps/x86_64/configure: Regenerated.
24292
a3f61311
AS
242932012-03-26 Andreas Schwab <schwab@linux-m68k.org>
24294
c876e002
AS
24295 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24296
a3f61311
AS
24297 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
24298 denormal result into account.
24299
ac4c54f0
RM
243002012-03-25 Roland McGrath <roland@hack.frob.com>
24301
24302 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
24303 Reported by Allan McRae <allan@archlinux.org>.
24304
6a9b9c02
JL
243052012-03-23 Jeff Law <law@redhat.com>
24306
24307 * nss/getnssent.c (__nss_getent): Fix typo.
24308
4c42a0c1
DM
243092012-03-23 David S. Miller <davem@davemloft.net>
24310
24311 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24312
1532c7ac
L
243132012-03-23 H.J. Lu <hongjiu.lu@intel.com>
24314
24315 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
24316 to pad to uint64_t for each field.
24317 (dl_tls_index): Replace unsigned long with uint64_t.
24318
3ff42526
PP
243192012-03-23 Daniel Jacobowitz <dmj@google.com>
24320 Paul Pluzhnikov <ppluzhnikov@google.com>
24321
24322 [BZ #6528]
24323 * grp/Makefile (otherlibs): Don't set it.
24324 * inet/Makefile (otherlibs): Likewise.
24325 * login/Makefile (otherlibs): Likewise.
24326 * nscd/Makefile (otherlibs): Likewise.
24327 * posix/Makefile (otherlibs): Likewise.
24328 * pwd/Makefile (otherlibs): Likewise.
24329 * rt/Makefile (otherlibs): Likewise.
24330 * sunrpc/Makefile (otherlibs): Likewise.
24331 * nss/Makefile (otherlibs): Likewise.
24332 Add libnss_files to routines and static-only-routines.
24333 ($(objpfx)getent): Remove rule.
24334 * resolv/Makefile: Add libnss_dns and libresolv to routines and
24335 static-only-routines.
24336
7c69cd14
JM
243372012-03-22 Joseph Myers <joseph@codesourcery.com>
24338
24339 [BZ #13892]
24340 * math/s_cexp.c: Include <float.h>.
24341 (__cexp): Handle exp result overflowing not necessarily
24342 overflowing both real and imaginary parts of result.
24343 * math/s_cexpf.c: Likewise.
24344 * math/s_cexpl.c: Likewise.
24345 * math/libm-test.inc (cexp_test): Add more tests.
24346 * sysdeps/i386/fpu/libm-test-ulps: Update.
24347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24348
81b035fe
L
243492012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24350
24351 * include/link.h (ELFW): New macro.
24352 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
24353 Replace ELF64_R_TYPE with ELFW(R_TYPE).
24354
1da7940c
L
243552012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24356
24357 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
24358 with uint64_t.
24359
b749dbb9
L
243602012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24361
24362 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
24363 declaration.
24364 (struct La_x32_retval): Likewise.
24365
2ff87f3f
L
243662012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24367
24368 * sysdeps/x86_64/preconfigure.in: New file.
24369 * sysdeps/x86_64/preconfigure: New generated file.
24370
c0df8e69
JM
243712012-03-22 Joseph Myers <joseph@codesourcery.com>
24372
48e44791
JM
24373 [BZ #13824]
24374 * math/e_exp2l.c: Include <float.h>.
24375 (__ieee754_exp2l): Handle overflow and underflow cases
24376 separately. Only pass fractional part of argument to
24377 __ieee754_expl.
24378 * math/libm-test.inc (exp2_test): Add more tests.
24379
c0df8e69
JM
24380 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
24381 negating x to take absolute value.
24382 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
24383 Likewise.
24384 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24385 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
24386 Likewise.
24387 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
24388 computing low part if x was negated.
24389 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24390
c8e43ba7
L
243912012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24392
24393 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
24394 la_x32_gnu_pltexit.
24395 (pltexit): Cast int_retval to ptrdiff_t.
24396 * elf/tst-auditmod3b.c: Likewise.
24397 * elf/tst-auditmod4b.c: Likewise.
24398 * elf/tst-auditmod5b.c: Likewise.
24399 * elf/tst-auditmod6b.c: Likewise.
24400 * elf/tst-auditmod6c.c: Likewise.
24401 * elf/tst-auditmod7b.c: Likewise.
24402
24403 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
24404 and x32_gnu_pltexit.
24405
24406 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
24407 __ELF_NATIVE_CLASS.
24408 (La_x32_regs): New macro.
24409 (La_x32_retval): Likewise.
24410 (la_x32_gnu_pltenter): New function prototype.
24411 (la_x32_gnu_pltexit): Likewise.
24412
7998fa78
AS
244132012-03-21 Andreas Schwab <schwab@linux-m68k.org>
24414
dcb33988
AS
24415 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
24416 exponent.
24417
233fc563
AS
24418 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24419
7998fa78
AS
24420 * configure.in (libc_cv_cc_nofma): Check for option to disable
24421 generation of FMA instructions.
24422 * configure: Regenerate.
24423 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
24424 * sysdeps/ieee754/dbl-64/Makefile: New file.
24425 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24426 Remove brandred-fma4.
24427 (CFLAGS-brandred-fma4.c): Remove.
24428 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
24429 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
24430 define.
24431 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
24432 define.
24433
8e95c99a
L
244342012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24435
24436 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24437 LLONG_MAX != LONG_MAX.
24438 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24439 (_fitoa_word): Likewise.
24440 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
24441 LLONG_MAX != LONG_MAX.
24442 * stdio-common/_itowa.h: Include <_itoa.h>.
24443 (_itowa_word): Use _ITOA_WORD_TYPE on value.
24444 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
24445 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
24446 only if not defined.
24447 (_ITOA_WORD_TYPE): Likewise.
24448 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24449 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
24450
6f4db457
DM
244512012-03-21 David S. Miller <davem@davemloft.net>
24452
24453 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24454
7785fe5a
L
244552012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24456
24457 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
24458 of x86_64 when setting libc_cv_slibdir, libdir and
24459 libc_cv_localedir.
24460 * sysdeps/unix/sysv/linux/configure: Regenerated.
24461
4535cd55
JM
244622012-03-21 Joseph Myers <joseph@codesourcery.com>
24463
24464 * manual/lang.texi (Old Varargs): Remove section.
24465 (How Variadic): Update menu.
24466 (va_start): Do not mention varargs.h.
24467
17228132
TS
244682012-03-21 Thomas Schwinge <thomas@codesourcery.com>
24469 Joseph Myers <joseph@codesourcery.com>
24470
24471 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
24472 link test.
24473 * configure: Regenerated.
24474
8149f976
TS
244752012-03-21 Thomas Schwinge <thomas@codesourcery.com>
24476
05f3d1f6
UD
24477 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
24478 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
24479 conformtest.pl
8149f976 24480
1a4ac776
JM
244812012-03-21 Joseph Myers <joseph@codesourcery.com>
24482
be22ce65
JM
24483 * NOTES: Remove.
24484 * Makefile (files-for-dist): Remove NOTES.
24485 (NOTES): Remove rule.
24486 * README: Don't refer to NOTES.
24487 * manual/creature.texi: Don't include macros.texi.
24488 * manual/intro.texi (creature.texi): Remove comment referring to
24489 NOTES.
24490
40b601fb
JM
24491 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
24492 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
24493 * configure: Regenerated.
24494 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
24495 LIBC_TRY_CC_OPTION.
24496 (libc_cv_as_i686): Likewise.
24497 (libc_cv_cc_avx): Likewise.
24498 (libc_cv_cc_sse2avx): Likewise.
24499 (libc_cv_cc_fma4): Likewise.
24500 (libc_cv_cc_novzeroupper): Likewise.
24501 * sysdeps/i386/configure: Regenerated.
24502
1a4ac776
JM
24503 [BZ #13883]
24504 * sysdeps/i386/fpu/s_cexp.S: Remove.
24505 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24506 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24507 * math/libm-test.inc (cexp_test): Add more tests.
24508 * sysdeps/i386/fpu/libm-test-ulps: Update.
24509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24510
a458e7fe
AM
245112012-03-21 Allan McRae <allan@archlinux.org>
24512
24513 * timezone/Makefile: Do not install iso3166.tab and zone.tab
24514
0cb7efc5
JM
245152012-03-21 Joseph Myers <joseph@codesourcery.com>
24516
24517 [BZ #13871]
24518 * math/w_exp2.c: Do not include <float.h>.
24519 (o_threshold, u_threshold): Remove.
24520 (__exp2): Calculate result before checking finiteness and calling
24521 __kernel_standard.
24522 * math/w_exp2f.c: Likewise.
24523 * math/w_exp2l.c: Likewise.
24524 * math/libm-test.inc (exp2_test): Require overflow exception for
24525 1e6 input.
2460d3aa
JM
24526
24527 [BZ #3866]
24528 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
24529 range of signed 64-bit integers before using fistpll. Remove
24530 checks for whether integers fit in mantissa bits.
24531 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
24532 the range of signed 32-bit integers before using fistpl. Remove
24533 checks for whether integers fit in mantissa bits.
24534 * sysdeps/i386/fpu/e_powl.S (p64): New object.
24535 (__ieee754_powl): Test for y outside the range of signed 64-bit
24536 integers before using fistpll. Reduce 64-bit values to 63-bit
24537 ones as needed.
24538 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
24539 divide-by-zero is raised for zero to large negative powers.
24540 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
24541 (__ieee754_powl): Test for y outside the range of signed 64-bit
24542 integers before using fistpll. Reduce 64-bit values to 63-bit
24543 ones as needed.
24544 * math/libm-test.inc (pow_test): Add more tests.
24545
eb96ffb0
L
245462012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24547
24548 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
24549 <stdio-common/_itoa.h>.
24550 * debug/segfault.c: Likewise.
24551 * elf/dl-cache.c: Likewise.
24552 * elf/dl-minimal.c: Likewise.
24553 * elf/dl-misc.c: Likewise.
24554 * elf/dl-sysdep.c: Likewise.
24555 * elf/dl-version.c: Likewise.
24556 * elf/rtld.c: Likewise.
24557 * hurd/hurdsock.c: Likewise.
24558 * hurd/lookup-retry.c: Likewise.
24559 * malloc/malloc.c: Likewise.
24560 * malloc/mtrace.c: Likewise.
24561 * nscd/nscd_getgr_r.c: Likewise.
24562 * nscd/nscd_getpw_r.c: Likewise.
24563 * nscd/nscd_getserv_r.c: Likewise.
24564 * posix/getopt_init.c: Likewise.
24565 * posix/wordexp.c: Likewise.
24566 * stdio-common/_itoa.c: Likewise.
24567 * stdio-common/printf_fphex.c: Likewise.
24568 * stdio-common/vfprintf.c: Likewise.
24569 * string/_strerror.c: Likewise.
24570 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
24571 * sysdeps/i386/i686/hp-timing.h: Likewise.
24572 * sysdeps/mach/_strerror.c: Likewise.
24573 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
24574 * sysdeps/mach/hurd/sethostid.c: Likewise.
24575 * sysdeps/mach/hurd/xmknodat.c: Likewise.
24576 * sysdeps/mach/xpg-strerror.c: Likewise.
24577 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24578 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24579 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
24580 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
24581 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24582 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
24583 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
24584 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
24585 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
24586 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
24587 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
24588 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24589 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
24590 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24591 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24592 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
24593 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
24594 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
24595 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
24596 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
24597 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
24598
24599 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
24600
24601 * stdio-common/_itoa.h: Moved to ...
24602 * sysdeps/generic/_itoa.h: Here.
24603
24604 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
24605
24606 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
24607 instead of "_itoa.h" and "_itowa.h".
24608 * stdio-common/vfprintf.: Likewise.
24609
d1af992d
L
246102012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24611
24612 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
24613 <bits/wordsize.h>.
24614 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
24615 (__signbit): Likwise.
24616 (llrintf): Likwise.
24617 (llrint): Likwise.
24618
114883e0
L
246192012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24620
24621 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
24622 __WORDSIZE != 64.
24623
c135cc1b
JM
246242012-03-20 Joseph Myers <joseph@codesourcery.com>
24625
24626 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
24627 OVERFLOW_EXCEPTION_OK.
24628 * math/libm-test.inc ("Philosophy"): Update comment about
24629 exception testing.
24630 (OVERFLOW_EXCEPTION): Define.
24631 (OVERFLOW_EXCEPTION_OK): Likewise.
24632 (INVALID_EXCEPTION_OK): Renumber.
24633 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24634 (IGNORE_ZERO_INF_SIGN): Likewise.
24635 (test_exceptions): Handle FE_OVERFLOW.
24636 (exp10_test): Expect overflow exceptions.
24637 (exp2_test): Likewise.
24638 (expm1_test): Likewise.
24639 (nextafter_test): Likewise.
24640 (pow_test): Likewise.
24641 (scalbn_test): Likewise.
24642 (scalbln_test): Likewise.
24643
95443d88
L
246442012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24645
24646 * sysdeps/x86_64/bits/atomic.h
24647 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
24648 64bit integer.
24649 (atomic_exchange_acq): Likewise.
24650 (__arch_exchange_and_add_body): Likewise.
24651 (__arch_add_body): Likewise.
24652 (atomic_add_negative): Likewise.
24653 (atomic_add_zero): Likewise.
24654
490df6c4
L
246552012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24656
c2722551 24657 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
24658 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
24659
5e52b189
L
246602012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24661
24662 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
24663 Check __x86_64__ instead of __WORDSIZE.
24664
a9879d4c
L
246652012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24666
24667 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
24668
5df98260
DM
246692012-03-19 David S. Miller <davem@davemloft.net>
24670
e1497744
DM
24671 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24672
5df98260
DM
24673 * sysdeps/sparc/fpu/fenv_private.h: New file.
24674 * sysdeps/sparc/fpu/math_private.h: Use it.
24675 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
24676 Remove.
24677 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
24678 (libc_feholdexcept_setroundl): Remove.
24679 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
24680 Remove.
24681 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
24682 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
24683
b4c35121
L
246842012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24685
24686 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
24687 int64_t instead of long int.
24688 (INSERT_WORDS64): Likwise.
24689
56965fd7
L
246902012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24691
24692 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
24693 _Unwind_GetCFA return to _Unwind_Ptr first.
24694
83d1aec8
JM
246952012-03-19 Joseph Myers <joseph@codesourcery.com>
24696
1897ad44
JM
24697 [BZ #13629]
24698 * math/s_clog.c: Include <float.h>.
24699 (__clog): Scale large or subnormal inputs.
24700 * math/s_clogf.c: Likewise.
24701 * math/s_clogl.c: Likewise.
24702 * math/s_clog10.c: Include <float.h>.
24703 (M_LOG10_2): Define.
24704 (__clog10): Scale large or subnormal inputs.
24705 * math/s_clog10f.c: Likewise.
24706 * math/s_clog10l.c: Likewise.
24707 * math/libm-test.inc (clog_test): Add more tests.
24708 (clog10_test): Likewise.
24709 * sysdeps/i386/fpu/libm-test-ulps: Update.
24710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24711
7726d6a9
JM
24712 [BZ #11451]
24713 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
24714 x and y.
24715 * math/libm-test.inc (atan2_test): Add another test.
24716
83d1aec8
JM
24717 * Makerules (common-objdir-compile): Remove.
24718 * sysdeps/unix/Makefile (config-generated): Do not add
24719 $(unix-generated) to variable.
24720 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
24721 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
24722 Remove rule.
24723 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
24724 Likewise.
24725 [generic bits/local_lim.h] (before-compile): Do not append to
24726 variable.
24727 [generic bits/local_lim.h] (common-generated): Likewise.
24728 [generic sys/param.h] (before-compile): Do not append to variable.
24729 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
24730 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
24731 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
24732 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
24733 include.
24734 [generic sys/param.h] (sys/param.h-includes): Remove variable.
24735 [generic sys/param.h] (sys/param.h-includes): Remove rule.
24736 [generic sys/param.h] ($(addprefix
24737 $(common-objpfx),$(sys/param.h-includes))): Likewise.
24738 [generic sys/param.h] (common-generated): Do not append to
24739 variable.
24740 [generic sys/param.h] (sysdep_headers): Likewise.
24741 [generic bits/errno.h] (before-compile): Do not append to
24742 variable.
24743 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
24744 rule.
24745 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
24746 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
24747 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
24748 [generic bits/errno.h] (common-generated): Do not append to
24749 variable.
24750 [generic bits/ioctls.h] (before-compile): Do not append to
24751 variable.
24752 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
24753 rule.
24754 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
24755 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
24756 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
24757 rule.
24758 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
24759 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
24760 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
24761 [generic bits/ioctls.h] (common-generated): Do not append to
24762 variable.
24763 [generic sys/syscall.h] (syscall.h): Remove variable.
24764 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
24765 rule.
24766 [generic sys/syscall.h] (before-compile): Do not append to
24767 variable.
24768 [generic sys/syscall.h] (common-generated): Likewise.
24769 * sysdeps/unix/errnos-tmpl.c: Remove file.
24770 * sysdeps/unix/errnos.awk: Likewise.
24771 * sysdeps/unix/ioctls-tmpl.c: Likewise.
24772 * sysdeps/unix/ioctls.awk: Likewise.
24773 * sysdeps/unix/mk-local_lim.c: Likewise.
24774 * sysdeps/unix/snarf-ioctls: Likewise.
24775
4851a949
RH
247762012-03-19 Richard Henderson <rth@twiddle.net>
24777
bd37f2ee
RH
24778 * sysdeps/i386/fpu/fenv_private.h: New file.
24779 * sysdeps/i386/fpu/math_private.h: Use it.
24780 (math_opt_barrier, math_force_eval): Remove.
24781 (libc_feholdexcept_setround_53bit): Remove.
24782 (libc_feupdateenv_53bit): Remove.
24783 * sysdeps/x86_64/fpu/math_private.h: Likewise.
24784 (math_opt_barrier, math_force_eval): Remove.
24785 (libc_feholdexcept): Remove.
24786 (libc_feholdexcept_setround): Remove.
24787 (libc_fetestexcept, libc_fesetenv): Remove.
24788 (libc_feupdateenv_test): Remove.
24789 (libc_feupdateenv, libc_feholdsetround): Remove.
24790 (libc_feresetround): Remove.
24791
d0adc922
RH
24792 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
24793 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24794
0fe0f1f8
RH
24795 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
24796 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
24797 (libc_feupdateenv_testl): New.
24798 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
24799 (libc_feupdateenv_testf): New.
24800 (libc_feupdateenv): Use libc_feupdateenv_test.
24801 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
24802 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
24803
eb92c487
RH
24804 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
24805 (libc_feholdsetroundf, libc_feholdsetroundl): New.
24806 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
24807 (libc_feresetround_noex): New.
24808 (libc_feresetround_noexf): New.
24809 (libc_feresetround_noexl): New.
24810 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
24811 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
24812 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
24813 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
24814 SET_RESTORE_ROUND.
24815 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24816 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
24817 (__cos): Likewise.
24818 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
24819 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
24820 SET_RESTORE_ROUND_NOEX.
24821 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
24822 SET_RESTORE_ROUND_NOEXF.
24823 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
24824 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
24825 (libc_feholdsetroundf): New.
24826 (libc_feresetround, libc_feresetroundf): New.
24827
7d2e8012
RH
24828 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
24829 (libc_feholdexcept_setround_53bit): Convert from macro to function.
24830 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
24831
b4dabbb4
RH
24832 * sysdeps/generic/math_private.h: Include <fenv.h>.
24833 (default_libc_feholdexcept): New.
24834 (default_libc_feholdexcept_setround): New.
24835 (default_libc_fesetenv, default_libc_feupdateenv): New.
24836 (libc_feholdexcept): Only define if undefined.
24837 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
24838 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
24839 (libc_feholdexcept_setroundl): Likewise.
24840 (libc_feholdexcept_setround_53bit): Likewise.
24841 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
24842 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
24843 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
24844 (libc_feupdateenv_53bit): Likewise.
24845 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
24846 (libc_feholdexcept): Convert from macro to inline function.
24847 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
24848 (libc_fesetenv, libc_feupdateenv): Likewise.
24849
4851a949
RH
24850 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
24851 not previously defined.
24852 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
24853 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
24854 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
24855 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
24856 * sysdeps/ieee754/flt-32/math_private.h: New file.
24857 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
24858 math_private.h below SET_FLOAT_WORD.
24859 (__isnan, __isinf_ns, __finite): Remove.
24860 (__isnanf, __isinf_nsf, __finitef): Remove.
24861
e79d442e
AS
248622012-03-18 Andreas Schwab <schwab@linux-m68k.org>
24863
24864 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24865
90b80344
DM
248662012-03-17 David S. Miller <davem@davemloft.net>
24867
24868 [BZ #6471]
24869 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
24870 for 2.16.
24871
edc21804
DM
248722012-03-16 David S. Miller <davem@davemloft.net>
24873
77e927af
DM
24874 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
24875 warnings.
24876
374976dd
DM
24877 [BZ #6471]
24878 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
24879 properly.
24880 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
24881 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
24882 sysdep_routines when subdir is sysvipc.
24883 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
24884 __getshmlba helper.
24885
edc21804
DM
24886 * sysdeps/sparc/fpu/libm-test/ulps: Update.
24887
473c3ef3
L
248882012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24889
24890 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
24891 [__LP64__].
24892
eb0f39b6
L
248932012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24894
24895 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
24896 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
24897 (__lround): Renamed to ...
24898 (__llround): This. Replace long int with long long int.
24899 Define lround functions as aliases of llround functions.
24900 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
24901
6b6cd74b
L
249022012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24903
24904 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
24905 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
24906 adresses to uintptr_t. Replace "long int" and "unsigned long
24907 int" with "greg_t" on va_arg.
24908
f1a77b01
L
249092012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24910
24911 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
24912 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
24913
24914 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
24915 Move e_machine check before EI_CLASS check. Handle x32
24916 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
24917 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
24918 SKIP_EM_IA_64 and include
24919 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
24920
24921 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
24922 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
24923 (add_system_dir): New macro.
24924
24925 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
24926 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
24927
11b90b9f
JM
249282012-03-16 Joseph Myers <joseph@codesourcery.com>
24929
c36e1d23
JM
24930 [BZ #2551]
24931 [BZ #2552]
24932 [BZ #2553]
24933 [BZ #2554]
24934 [BZ #2562]
24935 [BZ #2563]
24936 [BZ #2565]
24937 [BZ #2566]
24938 [BZ #2576]
24939 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
24940 (y0): Likewise.
24941 * math/w_j0f.c (j0f): Likewise.
24942 (y0f): Likewise.
24943 * math/w_j0l.c (__j0l): Likewise.
24944 (__y0l): Likewise.
24945 * math/w_j1.c (j1): Likewise.
24946 (y1): Likewise.
24947 * math/w_j1f.c (j1f): Likewise.
24948 (y1f): Likewise.
24949 * math/w_j1l.c (__j1l): Likewise.
24950 (__y1l): Likewise.
24951 * math/w_jn.c (jn): Likewise.
24952 (yn): Likewise.
24953 * math/w_jnf.c (jnf): Likewise.
24954 (ynf): Likewise.
24955 * math/w_jnl.c (__jnl): Likewise.
24956 (__ynl): Likewise.
24957 * math/libm-test.inc (j0_test): Add more tests.
24958 (j1_test): Likewise.
24959 (jn_test): Likewise. Add trailing semicolon to existing test.
24960 (y0_test): Likewise.
24961 (y1_test): Likewise.
24962 * sysdeps/i386/fpu/libm-test-ulps: Update.
24963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24964
11b90b9f
JM
24965 [BZ #13851]
24966 [BZ #13854]
24967 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
24968 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
24969 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
24970 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
24971 (__tanl): Set errno for infinite argument.
24972 * sysdeps/i386/fpu/mptan.c: Remove.
24973 * sysdeps/i386/fpu/s_tan.S: Likewise.
24974 * sysdeps/i386/fpu/s_tanl.S: Likewise.
24975 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
24976 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
24977 * math/libm-test.inc (tan_test): Add more tests and enable more
24978 tests for double and long double.
24979 * sysdeps/i386/fpu/libm-test-ulps: Update.
24980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24981
6a1bd2a1
JK
249822012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
24983
24984 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
24985 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
24986
10a803e0
RM
249872012-03-16 Roland McGrath <roland@hack.frob.com>
24988
24989 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
24990 * configure.in: Use it for both main tree and add-ons.
24991 * configure: Regenerated.
24992
f196c7f7
L
249932012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24994
24995 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
24996
8848d99d
JM
249972012-03-16 Joseph Myers <joseph@codesourcery.com>
24998
96cbe7f4
JM
24999 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
25000 in comment.
25001
8848d99d
JM
25002 [BZ #13851]
25003 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
25004 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
25005 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
25006 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
25007 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
25008 infinite argument.
25009 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
25010 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
25011 != 0 for prec == 2.
25012 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
25013 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
25014 * sysdeps/i386/fpu/s_cosl.S: Likewise.
25015 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
25016 * sysdeps/i386/fpu/s_sinl.S: Likewise.
25017 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
25018 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
25019 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
25020 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
25021 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
25022 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
25023 * math/libm-test.inc (cos_test): Add more tests and enable more
25024 tests for long double.
25025 (sin_test): Likewise.
25026 (sincos_test): Likewise.
25027 * sysdeps/i386/fpu/libm-test-ulps: Update.
25028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25029
dd7f4703
DM
250302012-03-16 David S. Miller <davem@davemloft.net>
25031
25032 * sysdeps/sparc/fpu/math_private.h: New file.
25033
006f1daa
DM
250342012-03-15 David S. Miller <davem@davemloft.net>
25035
c0c83bc8
DM
25036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
25037 file.
e6a62e18 25038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
25039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
25040 file.
e6a62e18
DM
25041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
25042 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
25043 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
25044 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
25045 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
25046 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
25047 sysdep routines.
25048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25049
88cb87d9
DM
25050 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
25051 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
25052
006f1daa 25053 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
25054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
25055 sparc-ifunc.h
006f1daa 25056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
25057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25058 Likewise.
25059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
25060 Likewise.
006f1daa
DM
25061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
25062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
25063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
25064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25065 Likewise.
006f1daa
DM
25066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
25068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
25070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
25071 Likewise.
25072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
25073 Likewise.
006f1daa
DM
25074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
25076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
25077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
25078 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25079 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25080 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
25081 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
25082 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25083 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25084 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
25085 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
25086 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
25087 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
25088 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
25089 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
25090 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
25091 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
25092 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
25093 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
25094 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
25095 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
25096 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
25097 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
25098
11e0098e
AS
250992012-03-15 Andreas Schwab <schwab@linux-m68k.org>
25100
25101 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
25102 scaling.
25103 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25104
e85b09d0
AJ
251052012-03-15 Andreas Jaeger <aj@suse.de>
25106
25107 [BZ #13852]
25108 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
25109 ieee754/flt-32 implementation for sin, cos and sincos.
25110 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
25111 * sysdeps/i386/fpu/s_cosf.S: Likewise.
25112 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
25113 * sysdeps/i386/fpu/s_sinf.S: Likewise.
25114 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
25115 ieee754/flt-32 implementation for tan.
25116
25117 * math/libm-test.inc (cos_test): Enable some large input tests for
25118 float as well
25119 (sin_test): Likewise.
25120 (sincos_test): Likewise.
25121 (tan_test): Add tests for large input.
25122
25123 * sysdeps/i386/fpu/libm-test-ulps: Update.
25124
81c64153
AJ
251252012-03-15 Andreas Jaeger <aj@suse.de>
25126
25127 [BZ #13658]
25128 * math/libm-test.inc (cos_test): Add more test cases.
25129 (sin_test): Likewise.
25130 (sincos_test): Likewise.
25131
7bbfa5c6
AJ
251322012-03-15 Andreas Jaeger <aj@suse.de>
25133
25134 [BZ #13837]
25135 * math/libm-test.inc (cos_test): Add a test case for large input
25136 value.
25137 (sin_test): Likewise.
25138 (sincos_test): Likewise.
25139
251402012-03-15 Andreas Jaeger <aj@suse.de>,
25141 Joseph Myers <joseph@codesourcery.com>
25142
25143 [BZ #13658]
0671f479 25144 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
25145 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
25146 * sysdeps/i386/fpu/branred.c: Likewise.
25147 * sysdeps/i386/fpu/dosincos.c: Likewise.
25148 * sysdeps/i386/fpu/mpa.c: Likewise.
25149 * sysdeps/i386/fpu/s_cos.S: Likewise.
25150 * sysdeps/i386/fpu/s_sin.S: Likewise.
25151 * sysdeps/i386/fpu/s_sincos.S: Likewise.
25152 * sysdeps/i386/fpu/sincos32.c: Likewise.
25153
25154 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
25155 Define.
25156 (libc_feupdateenv_53bit): Define.
25157 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
25158 Define.
25159 (libc_feupdateenv_53bit): Define.
25160
25161 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
25162 53 bit (without extend i386 double precision).
25163
25164 * math/libm-test.inc (sincos_test): Add tests for large input.
25165 (sin): Likewise.
25166 (cos): Likewise.
25167
25168 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
25169
9cad04ea
AS
251702012-03-15 Andreas Schwab <schwab@linux-m68k.org>
25171
25172 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25173
f7062b9a
DM
251742012-03-15 David S. Miller <davem@davemloft.net>
25175
25176 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
25177 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
25178 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
25179 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
25180 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
25181 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
25182 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
25183 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
25184 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
25185 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
25186 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
25187 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
25188 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
25189 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
25190 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
25191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
25192 file.
f7062b9a 25193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
25194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
25195 file.
f7062b9a 25196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
25197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
25198 file.
f7062b9a 25199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
25200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
25201 file.
f7062b9a
DM
25202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
25203 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
25204 fmin/fmax sysdep routines.
25205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25206
7bd951ff
DM
252072012-03-14 David S. Miller <davem@davemloft.net>
25208
559398ab
DM
25209 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
25210 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
25211 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
25212 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
25213 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
25214 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
25215 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
25216 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
25217 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
25218 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
25219 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
25220 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
25221 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
25222 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
25223 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
25224 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
25225 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
25226 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
25227 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
25228 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
25229 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
25230 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
25231 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
25232 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
25233 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
25234 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
25235 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
25236 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
25237 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
25238 routines.
25239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
25240 file.
559398ab 25241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
25242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
25243 file.
559398ab 25244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
25245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
25246 file.
559398ab 25247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
25248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
25249 file.
559398ab 25250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
25251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
25252 file.
559398ab 25253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
25254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
25255 file.
25256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
25257 file.
25258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
25259 file.
25260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
25261 file.
25262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
25263 New file.
25264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
25265 file.
25266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
25267 file.
559398ab 25268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
25269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
25270 file.
559398ab 25271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
25272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
25273 file.
559398ab 25274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
25275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
25276 file.
559398ab 25277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
25278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
25279 VIS3 routines.
559398ab
DM
25280
25281 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25282 New file.
25283
5a1c1e32
DM
25284 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25285
eae47a36
DM
25286 * sysdeps/sparc/configure.in: New file.
25287 * sysdeps/sparc/configure: Generate.
25288 * configure.in (libc_cv_sparc_as_vis3): Substitute.
25289 * configure: Regenerate.
25290 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
25291 * config.make.in (have-as-vis3): New.
25292 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
25293 available use -Av9d instead of -Av9a.
25294 * sysdeps/sparc/sparc64/Makefile: Likewise.
25295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
25296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
25297 New file.
25298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
25299 file.
25300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
25301 New file.
25302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
25303 file.
eae47a36
DM
25304 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
25305 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
25306 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
25307 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
25308 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
25309
c0c83bc8
DM
25310 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
25311 fzeros/fnegs to load 0x80000000 into a float register instead of
25312 using the stack.
7bd951ff
DM
25313 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
25314
bd951ccb
JM
253152012-03-14 Joseph Myers <joseph@codesourcery.com>
25316
25317 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25318 bits/syscall.h.
25319 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
25320 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
25321 ($(inst_includedir)/bits/syscall.h): Remove rule.
25322 ($(objpfx)bits/syscall.d): Include instead of
25323 $(objpfx)syscall-list.d.
25324 (generated): Change syscall-list.h and syscall-list.d to
25325 bits/syscall.h and bits/syscall.d.
25326
bb4e6db2
RM
253272012-03-14 Roland McGrath <roland@hack.frob.com>
25328
25329 [BZ #13846]
25330 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
25331
aa4a2ae1
JM
253322012-03-14 Joseph Myers <joseph@codesourcery.com>
25333
e456826d
JM
25334 [BZ #13841]
25335 * math/s_csqrt.c: Include <float.h>.
25336 (__csqrt): Scale large or subnormal inputs.
25337 * math/s_csqrtf.c: Likewise.
25338 * math/s_csqrtl.c: Likewise.
25339 * math/libm-test.inc (csqrt_test): Add more tests.
25340 * sysdeps/i386/fpu/libm-test-ulps: Update.
25341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25342
aa4a2ae1
JM
25343 [BZ #13840]
25344 * math/libm-test.inc (hypot_test): Add more tests.
25345
7c10fd35
DM
253462012-03-13 David S. Miller <davem@davemloft.net>
25347
25348 [BZ #13840]
25349 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
25350 double-precision for the calculation instead of scaling.
25351
f453b98b
JM
253522012-03-13 Joseph Myers <joseph@codesourcery.com>
25353
25354 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
25355 manipulate bits before adding and subtracting TWO52[sx].
25356 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
25357 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
25358 Likewise.
25359 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
25360
09a3453f
DM
253612012-03-13 David S. Miller <davem@davemloft.net>
25362
8e59da90
DM
25363 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
25364 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
25365 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
25366 rtld-global-offsets.h
25367 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25368
2a8ab7f2
DM
25369 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
25370 large parameters.
25371
10f62770
DM
25372 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
25373
5f0bdb18
DM
25374 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
25375 'err' in the ifdef scope in which it is actually used.
25376
09a3453f
DM
25377 * nss/nss_db/db-init.c: Include string.h
25378
b4b2eb5e
DM
253792012-03-12 David S. Miller <davem@davemloft.net>
25380
98bb2f1c
DM
25381 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25382 masking out of the most significant byte of random value used.
25383 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25384 Fix coding style in previous change.
25385
b4b2eb5e
DM
25386 * sysdeps/unix/sysv/linux/kernel-features.h
25387 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
25388 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
25389 expression.
25390 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
25391 later.
25392
6e226b09
DM
253932012-03-11 David S. Miller <davem@davemloft.net>
25394
a1bcbd40
DM
25395 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25396 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
25397 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
25398 for 'resultvar' otherwise things get truncated on 64-bit.
25399
cb9d6174
DM
25400 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25401 Fix masking out of the most significant byte of random value used.
25402
6e226b09
DM
25403 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25404
058c132d
AS
254052012-03-10 Andreas Schwab <schwab@linux-m68k.org>
25406
25407 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25408
2d2cd515
DM
254092012-03-09 David S. Miller <davem@davemloft.net>
25410
25411 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
25412 variables with appropriate CPP guards.
25413 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
25414 frame pointer, not the stack pointer. Correct layout comments. Fix test
25415 on resulting framesize and the management of the outregs buffer for pltexit.
25416 Preserve floating point return values across _dl_call_pltexit call.
25417 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
25418 framesize and the management of the outregs buffer for pltexit.
25419 Preserve floating point return values across _dl_call_pltexit
25420 call.
25421 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
25422 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
25423 (print_exit): Fix format string for return register value.
25424
9a07f9d0
JM
254252012-03-10 Joseph Myers <joseph@codesourcery.com>
25426
25427 * sunrpc/Makefile (others): Add rpcgen.
25428 ($(objpfx)rpcgen): Remove special build rule and dependency on
25429 libc.
25430 * sunrpc/rpcgen.c: New file.
25431
547b5e30
PE
254322012-03-09 Paul Eggert <eggert@cs.ucla.edu>
25433
c524201a
PE
25434 [BZ #13673]
25435 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
25436 * stdio-common/bug-vfprintf-nargs.c: Likewise.
25437 * sysdeps/i386/crti.S: Likewise.
25438 * sysdeps/i386/crtn.S: Likewise.
25439 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
25440 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
25441 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
25442 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
25443 * sysdeps/sh/crti.S: Likewise.
25444 * sysdeps/sh/crtn.S: Likewise.
25445 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25446
7b6235f2
PE
25447 [BZ #13673]
25448 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
25449 with URL.
25450 * locale/programs/locfile-kw.gperf: Likewise.
25451 * locale/programs/charmap-kw.h: Regenerated.
25452 * locale/programs/locfile-kw.h: Likewise.
25453
547b5e30
PE
25454 [BZ #13673]
25455 * intl/plural.y: Replace FSF snail mail address with URL.
25456 * intl/plural.c: Regenerated.
25457
5f0a5dae
RH
254582012-03-09 Richard Henderson <rth@twiddle.net>
25459
25460 * include/math_private.h: Remove file.
25461 * math/math_private.h: Move file ...
25462 * sysdeps/generic/math_private.h: ... here.
25463
b8c03620
RH
25464 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
25465 * sysdeps/powerpc/fpu/math_private.h: Likewise.
25466 * sysdeps/x86_64/fpu/math_private.h: Likewise.
25467
4e234f5d 25468 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
25469 and <math_private.h>.
25470 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25471 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25472 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25473 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25474 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25475 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
25476 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25477 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25478 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25479 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25480 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25481 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25482 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25483 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25484 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25485 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25486 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25487 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25488 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25489 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
25490 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25491 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25492 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25493 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25494 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
25495 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25496 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25497 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25498 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25499 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25500 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25501 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25502 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25503 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25504 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25505 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25506 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25507 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25508 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25509 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25510 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
25511 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25512 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25513 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25514 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25515 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25516 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
25517 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25518 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25519 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25520 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25521 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
25522 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25523 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25524 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25525 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25526 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25527 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25528 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25529 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
25530 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25531 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25532 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25533 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25534 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
25535 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25536 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25537 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25538 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
25539 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
25540 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25541 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25542 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25543 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25544 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
25545 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25546 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
25547 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25548 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
25549 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
25550 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25551 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
25552 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25553 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25554 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25555 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
25556 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
25557 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
25558 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
25559 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25560 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25561 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
25562 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25563 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
25564 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
25565 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
25566 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25567 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25568 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25569 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
25570 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
25571 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
25572 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
25573 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
25574 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25575 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
25576 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
25577 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
25578 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25579 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25580 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25581 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25582 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
25583 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25584 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
25585 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25586 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25587 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25588 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25589 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25590 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25591 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25592 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25593 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
25594 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25595 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25596 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
25597 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
25598 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25599 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
25600 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
25601 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25602 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25603 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
25604 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
25605 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25606 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25607 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25608 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
25609 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25610 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25611 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25612 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25613 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
25614 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
25615 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25616 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25617 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25618 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
25619 * sysdeps/ieee754/k_standard.c: Likewise.
25620 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
25621 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
25622 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25623 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
25624 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
25625 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
25626 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
25627 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
25628 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25629 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25630 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25631 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25632 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
25633 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
25634 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
25635 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
25636 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25637 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
25638 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
25639 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
25640 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
25641 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
25642 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25643 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25644 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25645 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
25646 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25647 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25648 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25649 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25650 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25651 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25652 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25653 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25654 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25655 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25656 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25657 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
25658 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
25659 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25660 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25661 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25662 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25663 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25664 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25665 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25666 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25667 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25668 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25669 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25670 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25671 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25672 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25673 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
25674 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25675 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25676 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
25677 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
25678 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25679 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25680 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25681 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25682 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25683 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
25684 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25685 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25686 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
25687 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
25688 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
25689 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
25690 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
25691 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25692 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
25693 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
25694 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
25695 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
25696 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
25697 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
25698 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25699 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25700 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25701 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25702 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25703 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25704 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
25705 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25706 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25707 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25708 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25709 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25710 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
25711 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25712 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
25713 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25714 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25715 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25716 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
25717 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
25718 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
25719 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
25720 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25721 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25722 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25723 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25724 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
25725 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25726 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25727 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
25728 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
25729 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25730 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25731 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25732 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
25733 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25734 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
25735 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25736 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
25737 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25738 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25739 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25740 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25741 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
25742 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25743 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
25744 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25745 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
25746 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25747 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25748 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25749 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25750 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25751 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25752 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25753 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25754 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25755 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25756 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
25757 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25758 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25759 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
25760 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
25761 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25762 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
25763 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
25764 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25765 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25766 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25767 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25768 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25769 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
25770 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25771 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25772 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25773 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25774 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
25775 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
25776 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25777 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25778 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25779 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
25780 * sysdeps/ieee754/s_lib_version.c: Likewise.
25781 * sysdeps/ieee754/s_matherr.c: Likewise.
25782 * sysdeps/ieee754/s_signgam.c: Likewise.
25783 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25784 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25785 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
25786 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
25787 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
25788 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25789 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
25790 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
25791 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
25792 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
25793 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25794 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
25795 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25796 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25797 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
25798 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25799 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25800 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25801 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25802 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25803 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 25804
1991fa03
JM
258052012-03-09 Joseph Myers <joseph@codesourcery.com>
25806
25807 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
25808 * sunrpc/rpc_main.c: Likewise.
25809 * sunrpc/rpc_svcout.c: Likewise.
25810
60d6f5a6
DM
258112012-03-09 David S. Miller <davem@davemloft.net>
25812
25813 * include/math_private.h: New file.
25814
4962050e
JM
258152012-03-09 Joseph Myers <joseph@codesourcery.com>
25816
02a6f887
JM
25817 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
25818 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
25819 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
25820 from <bits/socket_type.h>.
25821 (enum __socket_type): Don't define here.
25822 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
25823 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25824 bits/socket_type.h.
25825
c6e013c1
JM
25826 [BZ #13566]
25827 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
25828 checking __USE_GNU.
25829
4962050e
JM
25830 * Makerules ($(inst_includedir)/%.h): New rule.
25831 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
25832 (install-others): Remove variable setting.
25833 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
25834
38842f45
RH
258352012-03-08 Richard Henderson <rth@twiddle.net>
25836
67bb6da6
RH
25837 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
25838 from macro to inline function; merge with the
25839 !__LIBC_INTERNAL_MATH_INLINES version.
25840 (__ieee754_sqrtf): Likewise.
25841
15194b4b
RH
25842 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
25843 to inline function.
25844 (__rintf, __floor, __floorf): Likewise.
25845
64e21ede
RH
25846 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
25847 macro to inline function.
25848 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
25849
38842f45
RH
25850 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
25851 not <math/math_private.h>.
25852
c64bf5fe
DM
258532012-03-08 David S. Miller <davem@davemloft.net>
25854
25855 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
25856 copyright year.
25857 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
25858
82d86f28
TS
258592012-03-08 Thomas Schwinge <thomas@codesourcery.com>
25860
25861 * resolv/gai_misc.c (handle_requests): Fix struct timespec
25862 normalization.
25863 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
25864 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
25865
aea5d727
UD
258662012-03-08 Ulrich Drepper <drepper@gmail.com>
25867
25868 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
25869 be defined individually, they must be defined as a block. Define
25870 S for printing a string instead of hidint the different by using a
25871 macro for adding the 'l'.
25872 * stdio-common/tst-fphex-wide.c: Adjust.
25873
70bca0a3
MP
258742012-03-07 Marek Polacek <polacek@redhat.com>
25875
25876 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
25877
65b81130
MP
258782012-03-08 Marek Polacek <polacek@redhat.com>
25879
25880 [BZ #13806]
25881 * stdio-common/Makefile (tests): Add tst-fphex-wide.
25882 * stdio-common/tst-fphex.c: Define a few macros to make the
25883 test reusable. Use them.
25884 * stdio-common/tst-fphex-wide.c: New file.
25885
07037eeb
JM
258862012-03-08 Joseph Myers <joseph@codesourcery.com>
25887
a7a93d50
JM
25888 [BZ #6911]
25889 * manual/macros.texi (gnusystems): New macro.
25890 (nongnusystems): Likewise.
25891 (gnulinuxhurdsystems): Likewise.
25892 (gnuhurdsystems): Likewise..
25893 (gnulinuxsystems): Likewise.
25894 * manual/charset.texi: Use new macros or @theglibc{} to refer to
25895 variants of the GNU system, not "GNU system".
25896 * manual/conf.texi: Likewise.
25897 * manual/errno.texi: Likewise. Update example of errno macro
25898 expansion.
25899 * manual/filesys.texi: Likewise.
25900 (getumask): Document as specific to GNU/Hurd.
25901 * manual/install.texi: Likewise. Reword some references to
25902 GNU/Linux.
25903 * manual/intro.texi: Likewise.
25904 * manual/io.texi: Likewise.
25905 (File Name Portability): Detail which constraints are inapplicable
25906 to all GNU systems and which are only inapplicable to GNU/Hurd.
25907 * manual/job.texi: Likewise.
25908 * manual/llio.texi: Likewise.
25909 (O_NOCTTY): Document as present on GNU/Linux.
25910 * manual/maint.texi: Likewise.
25911 * manual/memory.texi: Likewise.
25912 * manual/pattern.texi: Likewise.
25913 * manual/pipe.texi: Likewise.
25914 * manual/process.texi: Likewise.
25915 * manual/resource.texi: Likewise.
25916 (RUSAGE_CHILDREN): Remove statement about specifying a particular
25917 child on GNU/Hurd.
25918 * manual/setjmp.texi: Likewise.
25919 * manual/signal.texi: Likewise.
25920 * manual/startup.texi: Likewise.
25921 * manual/stdio.texi: Likewise.
25922 * manual/terminal.texi: Likewise.
25923 (ONLCR): Document as POSIX.
25924 (OXTABS): Document availability on GNU/Linux as XTABS.
25925 (ONOEOT): Document availability separately from other bits.
25926 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
25927 * manual/time.texi: Likewise.
25928 * manual/users.texi: Likewise.
25929 * INSTALL: Regenerated.
25930 * sysdeps/gnu/errlist.c: Regenerated.
25931
07037eeb
JM
25932 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
25933 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
25934 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
25935 puts.
25936 * configure: Regenerated.
25937
d1d3431a
JM
259382012-03-07 Joseph Myers <joseph@codesourcery.com>
25939
af6a1e37
JM
25940 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
25941 default includes instead of AC_HEADER_CHECK.
25942 * sysdeps/i386/configure: Regenerated.
25943
d1d3431a
JM
25944 [BZ #10716]
25945 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
25946 * math/s_cacoshf.c (__cacoshf): Likewise.
25947 * math/s_cacoshl.c (__cacoshl): Likewise.
25948 * math/s_casinh.c (__casinh): Set signs of result from argument.
25949 * math/s_casinhf.c (__casinhf): Likewise.
25950 * math/s_casinhl.c (__casinhl): Likewise.
25951 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
25952 (casinh_test): Add more tests.
25953 * sysdeps/i386/fpu/libm-test-ulps: Update.
25954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25955
482ff4da
UD
259562012-03-07 Ulrich Drepper <drepper@gmail.com>
25957
872fda05
UD
25958 * po/zh_TW.po: Update from translation team.
25959
a4300c7a
UD
25960 * login/Makefile (distribute): Remove variable.
25961 * catgets/Makefile: Likewise.
25962 * mach/Makefile: Likewise.
25963 * malloc/Makefile: Likewise.
25964 * misc/Makefile: Likewise.
25965 * iconv/Makefile: Likewise.
25966 * nscd/Makefile: Likewise.
25967 * hurd/Makefile: Likewise.
25968 * manual/Makefile: Likewise.
25969 * locale/Makefile: Likewise.
25970 * intl/Makefile: Likewise.
25971 * conform/Makefile: Likewise.
25972 * nss/Makefile: Likewise.
25973 * time/Makefile: Likewise.
25974 * soft-fp/Makefile: Likewise.
25975 * dirent/Makefile: Likewise.
25976 * gmon/Makefile: Likewise.
25977 * po/Makefile: Likewise.
25978 * rt/Makefile: Likewise.
25979 * socket/Makefile: Likewise.
25980 * math/Makefile: Likewise.
25981 * signal/Makefile: Likewise.
25982 * debug/Makefile: Likewise.
25983 * elf/Makefile: Likewise.
25984 * timezone/Makefile: Likewise.
25985 * stdlib/Makefile: Likewise.
25986 * iconvdata/Makefile: Likewise.
25987 * sunrpc/Makefile: Likewise.
25988 * io/Makefile: Likewise.
25989 * argp/Makefile: Likewise.
25990 * inet/Makefile: Likewise.
25991 * hesiod/Makefile: Likewise.
25992 * grp/Makefile: Likewise.
25993 * csu/Makefile: Likewise.
25994 * wctype/Makefile: Likewise.
25995 * crypt/Makefile: Likewise.
25996 * libio/Makefile: Likewise.
25997 * string/Makefile: Likewise.
25998 * nis/Makefile: Likewise.
25999 * resolv/Makefile: Likewise.
26000 * stdio-common/Makefile: Likewise.
26001 * wcsmbs/Makefile: Likewise.
26002 * dlfcn/Makefile: Likewise.
26003 * posix/Makefile: Likewise.
26004
3b7c4e74 26005 [BZ #6959]
482ff4da
UD
26006 * timezone/Makefile: Don't install timezone files, just the programs
26007 and scripts.
26008
f72ed77d
UD
260092012-03-06 Ulrich Drepper <drepper@gmail.com>
26010
a000466f
UD
26011 * nss/databases.def: Add missing gshadow entry.
26012
f72ed77d
UD
26013 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
26014
a53b7a4e
MP
260152012-03-06 Marek Polacek <polacek@redhat.com>
26016
26017 [BZ #13726]
26018 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
26019 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
26020 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
26021 * stdio-common/tst-long-dbl-fphex.c: New file.
26022
e9258400
DM
260232012-03-06 David S. Miller <davem@davemloft.net>
26024
26025 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26026 (set_obp_int): New function.
26027 (get_obp_int): New function.
26028 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
26029 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
26030 Avoid unused variable warnings on 'val' and use builtin_expect.
26031 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
26032 __builtin_expect.
e9258400
DM
26033 (INLINE_CLONE_SYSCALL): Likewise.
26034
3bd2c723
DM
260352012-03-05 David S. Miller <davem@davemloft.net>
26036
26037 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26038
bbb78d03
AS
260392012-03-05 Andreas Schwab <schwab@linux-m68k.org>
26040
884c5db4
AS
26041 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26042
bbb78d03
AS
26043 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
26044 only for |x| >= 40.
26045 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26046
1c9f702a 260472012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
26048
26049 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
26050 Replace gettimeofday with __vdso_gettimeofday.
26051
7be16f82
RM
26052 * sysdeps/unix/sysv/linux/x86_64/init-first.c
26053 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
26054 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
26055
26056 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
26057 time with __vdso_time.
26058
ed58a00f
JM
260592012-03-05 Joseph Myers <joseph@codesourcery.com>
26060
26061 * manual/lang.texi (size_t): Note types to which size_t may be
26062 equivalent with the GNU C Library, but do not describe when
26063 differences between them are significant.
26064
30ee4ced
AJ
260652012-03-05 Andreas Jaeger <aj@suse.de>
26066
26067 * sysdeps/i386/fpu/libm-test-ulps: Update.
26068
b7cd39e8
JM
260692012-03-05 Joseph Myers <joseph@codesourcery.com>
26070
26071 [BZ #3976]
26072 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
26073 (__ieee754_pow): Save and restore rounding mode and use
26074 round-to-nearest for main computations.
26075 * math/libm-test.inc (pow_test_tonearest): New function.
26076 (pow_test_towardzero): Likewise.
26077 (pow_test_downward): Likewise.
26078 (pow_test_upward): Likewise.
26079 (main): Call the new functions.
26080 * sysdeps/i386/fpu/libm-test-ulps: Update.
26081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
26082
26083 [BZ #3976]
26084 * math/libm-test.inc (cosh_test_tonearest): New function.
26085 (cosh_test_towardzero): Likewise.
26086 (cosh_test_downward): Likewise.
26087 (cosh_test_upward): Likewise.
26088 (sinh_test_tonearest): Likewise.
26089 (sinh_test_towardzero): Likewise.
26090 (sinh_test_downward): Likewise.
26091 (sinh_test_upward): Likewise.
26092 (main): Call the new functions.
26093 * sysdeps/i386/fpu/libm-test-ulps: Update.
26094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26095
6c6a98c9
TV
260962012-03-05 Tom de Vries <tom@codesourcery.com>
26097
26098 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
26099 default stack guard is set in last bytes.
26100 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
26101
21bb2d2e 261022012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 26103
21bb2d2e 26104 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 26105
21bb2d2e
AJ
26106 [BZ #13656]
26107 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
26108 possibly allocate from heap instead of stack.
26109 * stdio-common/bug-vfprintf-nargs.c: New file.
26110 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 26111
c6922934
AS
261122012-03-03 Andreas Schwab <schwab@linux-m68k.org>
26113
26114 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26115
bc957d53
MP
261162012-03-03 Marek Polacek <polacek@redhat.com>
26117
26118 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
26119 * math/math_private.h: Likewise.
26120 * stdlib/tst-strtod.c: Likewise.
26121 * sysdeps/i386/i486/bits/atomic.h: Likewise.
26122 * sysdeps/x86_64/bits/atomic.h: Likewise.
26123
6358490d
DM
261242012-03-02 David S. Miller <davem@davemloft.net>
26125
26126 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
26127 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
26128 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
26129 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
26130 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
26131 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
26132 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
26133 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
26134
01ae168d
RM
261352012-03-02 Roland McGrath <roland@hack.frob.com>
26136
d9a17c07
RM
26137 [BZ #13792]
26138 * manual/examples/README: New file, says the example source files
26139 can be used under GPL>=2.
26140 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
26141 line containing just "*/".
26142 * manual/examples/add.c: Add copyright header (GPL>=2).
26143 * manual/examples/argp-ex1.c: Likewise.
26144 * manual/examples/argp-ex2.c: Likewise.
26145 * manual/examples/argp-ex3.c: Likewise.
26146 * manual/examples/argp-ex4.c: Likewise.
26147 * manual/examples/atexit.c: Likewise.
26148 * manual/examples/db.c: Likewise.
26149 * manual/examples/dir.c: Likewise.
26150 * manual/examples/dir2.c: Likewise.
26151 * manual/examples/execinfo.c: Likewise.
26152 * manual/examples/filecli.c: Likewise.
26153 * manual/examples/filesrv.c: Likewise.
26154 * manual/examples/fmtmsgexpl.c: Likewise.
26155 * manual/examples/genpass.c: Likewise.
26156 * manual/examples/inetcli.c: Likewise.
26157 * manual/examples/inetsrv.c: Likewise.
26158 * manual/examples/isockad.c: Likewise.
26159 * manual/examples/longopt.c: Likewise.
26160 * manual/examples/memopen.c: Likewise.
26161 * manual/examples/memstrm.c: Likewise.
26162 * manual/examples/mkfsock.c: Likewise.
26163 * manual/examples/mkisock.c: Likewise.
26164 * manual/examples/mygetpass.c: Likewise.
26165 * manual/examples/pipe.c: Likewise.
26166 * manual/examples/popen.c: Likewise.
26167 * manual/examples/rprintf.c: Likewise.
26168 * manual/examples/search.c: Likewise.
26169 * manual/examples/select.c: Likewise.
26170 * manual/examples/setjmp.c: Likewise.
26171 * manual/examples/sigh1.c: Likewise.
26172 * manual/examples/sigusr.c: Likewise.
26173 * manual/examples/stpcpy.c: Likewise.
26174 * manual/examples/strdupa.c: Likewise.
26175 * manual/examples/strftim.c: Likewise.
26176 * manual/examples/strncat.c: Likewise.
26177 * manual/examples/subopt.c: Likewise.
26178 * manual/examples/swapcontext.c: Likewise.
26179 * manual/examples/termios.c: Likewise.
26180 * manual/examples/testopt.c: Likewise.
26181 * manual/examples/testpass.c: Likewise.
26182 * manual/examples/timeval_subtract.c: Likewise.
26183
01ae168d
RM
26184 [BZ #13792]
26185 * manual/time.texi (Elapsed Time): Move timeval_subtract example
26186 function to ...
26187 * manual/timeval_subtract.c.texi: ... here, new file.
26188
49efa33d
DM
261892012-03-02 David S. Miller <davem@davemloft.net>
26190
26191 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
26192
28afd92d
JM
261932012-03-02 Joseph Myers <joseph@codesourcery.com>
26194
804360ed
JM
26195 [BZ #3976]
26196 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
26197 (__sin): Save and restore rounding mode and use round-to-nearest
26198 for all computations.
26199 (__cos): Save and restore rounding mode and use round-to-nearest
26200 for all computations.
26201 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
26202 <fenv.h>.
26203 (tan): Save and restore rounding mode and use round-to-nearest for
26204 all computations.
26205 * math/libm-test.inc (cos_test_tonearest): New function.
26206 (cos_test_towardzero): Likewise.
26207 (cos_test_downward): Likewise.
26208 (cos_test_upward): Likewise.
26209 (sin_test_tonearest): Likewise.
26210 (sin_test_towardzero): Likewise.
26211 (sin_test_downward): Likewise.
26212 (sin_test_upward): Likewise.
26213 (tan_test_tonearest): Likewise.
26214 (tan_test_towardzero): Likewise.
26215 (tan_test_downward): Likewise.
26216 (tan_test_upward): Likewise.
26217 (main): Call the new functions.
26218 * sysdeps/i386/fpu/libm-test-ulps: Update.
26219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26220
a6d06d7b
JM
26221 [BZ #10135]
26222 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
26223 small n, then large n, before computing and testing k+n.
26224 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
26225 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
26226 Likewise.
26227 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
26228 Likewise.
26229 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
26230 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
26231 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
26232 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
26233 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
26234 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
26235 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
26236 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
26237 * math/libm-test.inc (scalbn_test): Add more tests.
26238 (scalbln_test): Likewise.
26239
07e12bb3
JM
26240 * manual/filesys.texi (mode_t): Describe constraints on size and
26241 signedness, not exact equivalence to a particular type.
26242 (ino_t): Likewise.
26243 (ino64_t): Likewise.
26244 (dev_t): Likewise.
26245 (nlink_t): Likewise.
26246 (blkcnt_t): Likewise.
26247 (blkcnt64_t): Likewise.
26248 * manual/llio.texi (off_t): Likewise.
26249
28afd92d
JM
26250 [BZ #3976]
26251 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
26252 (__ieee754_exp): Save and restore rounding mode and use
26253 round-to-nearest for all computations.
26254 * math/libm-test.inc (exp_test_tonearest): New function.
26255 (exp_test_towardzero): Likewise.
26256 (exp_test_downward): Likewise.
26257 (exp_test_upward): Likewise.
26258 (main): Call the new functions.
26259 * sysdeps/i386/fpu/libm-test-ulps: Update.
26260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26261
b1eeb65d
CD
262622012-03-01 Chris Demetriou <cgd@google.com>
26263
26264 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
26265 have predictable order.
26266
53362a4b
DM
262672012-03-01 David S. Miller <davem@davemloft.net>
26268
3c969083
DM
26269 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
26270
759707de
DM
26271 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
26272 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
26273 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
26274 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
26275
dfdb8ff2
DM
26276 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
26277 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
26278 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
26279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
26280 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
26281 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
26282 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
26283 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
26284 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
26285
ead89f96
DM
26286 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26287
7f66bd07
DM
26288 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
26289 * sysdeps/sparc/fpu/libm-test-ulps: to here.
26290 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
26291
53362a4b
DM
26292 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
26293 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26294 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26295 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
26296 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
26297 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
26298 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
26299 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26300 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26301 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
26302 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
26303 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26304 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26305 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26306 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26307 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26308 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
26309 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
26310 * sysdeps/sparc/elf/configure: Regenerated.
26311
7b1902cb
JM
263122012-03-01 Joseph Myers <joseph@codesourcery.com>
26313
bec039bc
JM
26314 * configure.in (AS, LD): Require binutils 2.20 or later.
26315 * configure: Regenerated.
26316 * manual/install.texi (Tools for Compilation): Give binutils 2.20
26317 as required minimum version.
26318 * INSTALL: Regenerated.
26319
7b1902cb
JM
26320 [BZ #2541]
26321 [BZ #4108]
26322 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
26323 before squaring exponent.
26324 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
26325 bottom long double and 27 bits of top long double before squaring
26326 exponent.
26327 * math/libm-test.inc (erfc_test): Add more tests.
26328 * sysdeps/i386/fpu/libm-test-ulps: Update.
26329 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26331
f775c276
KT
263322012-03-01 Kai Tietz <ktietz@redhat.com>
26333
26334 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
26335 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
26336 containing bit-fields.
26337 * soft-fp/extended.h (_FP_UNION_E): Likewise.
26338 * soft-fp/single.h (_FP_UNION_S): Likewise.
26339 * soft-fp/double.h (_FP_UNION_D): Likewise.
26340
5b8a4d4a
JM
263412012-02-29 Joseph Myers <joseph@codesourcery.com>
26342
0bab47b6
JM
26343 [BZ #13786]
26344 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
26345 not include ../strcmp.S.
26346 [USE_AS_STRNCASECMP_L]: Likewise.
26347 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
26348 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
26349 * sysdeps/i386/i686/multiarch/strncase_l-c.c
26350 (__strncasecmp_l_ia32): Define as alias to
26351 __strncasecmp_l_nonascii.
26352
0fcad3e2
JM
26353 [BZ #5794]
26354 * math/libm-test.inc (expm1_test): Add test for bug 5794.
26355 * sysdeps/i386/fpu/libm-test-ulps: Update.
26356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26357
5b8a4d4a
JM
26358 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
26359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26360
8fdceb2e
JL
263612012-02-29 Jeff Law <law@redhat.com>
26362
26363 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
26364 out of bounds read.
26365
1f393a11
MP
263662012-02-29 Marek Polacek <polacek@redhat.com>
26367
26368 [BZ #13706]
26369 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
26370 * elf/Makefile: Add rules to run tst-unused-dep.out.
26371
8847f037
DM
263722012-02-28 David S. Miller <davem@davemloft.net>
26373
26374 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
26375 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
26376 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
26377 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
26378 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
26379 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
26380
169d7f11
JM
263812012-02-29 Joseph Myers <joseph@codesourcery.com>
26382
26383 * math/libm-test.inc (llround_test): Move one test from
26384 lround_test. Use TEST_f_L in moved test.
26385 (lround_test): Move misplaced test to llround_test. Add testcase
26386 from bug 2561.
26387
39adf059
UD
263882012-02-28 Ulrich Drepper <drepper@gmail.com>
26389
26390 * sysdeps/x86_64/fpu/e_expf.S: New file.
26391 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
26392
71b5d1c5
SB
263932012-02-28 Stanislav Brabec <sbrabec@suse.cz>
26394
26395 [BZ #13637]
26396 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
26397 of remain_len that may cause incomplete multi-byte character and
26398 false match.
26399 * posix/bug-regex33.c: New file.
26400 * posix/Makefile (tests): Add bug-regex33.
26401
1f77f049
JM
264022012-02-28 Joseph Myers <joseph@codesourcery.com>
26403
26404 * manual/macros.texi: New file.
26405 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
26406 * manual/libc.texinfo: Include macros.texi.
26407 * manual/creatute.texi: Likewise.
26408 * manual/install.texi: Likewise.
26409 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
26410 @glibcadj{} in references to the GNU C Library.
26411 * manual/charset.texi: Likewise.
26412 * manual/conf.texi: Likewise.
26413 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
26414 when not using those macros.
26415 * manual/creature.texi: Likewise.
26416 * manual/crypt.texi: Likewise.
26417 * manual/errno.texi: Likewise.
26418 * manual/filesys.texi: Likewise.
26419 * manual/header.texi: Likewise.
26420 * manual/install.texi: Likewise.
26421 * manual/intro.texi: Likewise.
26422 * manual/io.texi: Likewise.
26423 * manual/job.texi: Likewise.
26424 * manual/lang.texi: Likewise.
26425 * manual/libc.texiinfo: Likewise.
26426 * manual/llio.texi: Likewise.
26427 * manual/locale.texi: Likewise.
26428 * manual/maint.texi: Likewise.
26429 * manual/math.texi: Likewise.
26430 * manual/memory.texi: Likewise.
26431 * manual/message.texi: Likewise.
26432 * manual/nss.texi: Likewise.
26433 * manual/pattern.texi: Likewise.
26434 * manual/process.texi: Likewise.
26435 * manual/resource.texi: Likewise.
26436 * manual/search.texi: Likewise.
26437 * manual/setjmp.texi: Likewise.
26438 * manual/signal.texi: Likewise.
26439 * manual/socket.texi: Likewise.
26440 * manual/startup.texi: Likewise.
26441 * manual/stdio.texi: Likewise.
26442 * manual/string.texi: Likewise.
26443 * manual/sysinfo.texi: Likewise.
26444 * manual/syslog.texi: Likewise.
26445 * manual/terminal.texi: Likewise.
26446 * manual/time.texi: Likewise.
26447 * manual/users.texi: Likewise.
26448 * INSTALL: Regenerated.
26449 * NOTES: Regenerated.
d40c5d54 26450 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 26451
450bf206
AS
264522012-02-28 Andreas Schwab <schwab@linux-m68k.org>
26453
26454 * include/dirent.h: Include <dirstream.h> before
26455 <dirent/dirent.h>.
26456
741a235b
DM
264572012-02-28 David S. Miller <davem@davemloft.net>
26458
26459 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
26460 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
26461 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
26462 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
26463
d6b5aa58
DM
264642012-02-27 David S. Miller <davem@davemloft.net>
26465
1aff59a3
DM
26466 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
26467 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
26468 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
26469 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
26470
d6b5aa58
DM
26471 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
26472 frame pointer instead of stack pointer relative arg slot.
26473 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26474 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26475 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26476
433f48bf
CD
264772012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
26478
26479 [BZ #3992]
26480 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
26481
d674b76d
DM
264822012-02-27 David S. Miller <davem@davemloft.net>
26483
26484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
26485 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26486 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26487 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
26488 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26489 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26490 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
26491 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
26492
0e7727f7
JM
264932012-02-27 Joseph Myers <joseph@codesourcery.com>
26494
26495 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
26496 later. Allow versions 5-9.
43be4ca2 26497 * configure: Regenerated.
0e7727f7
JM
26498 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
26499 required minimum version and 4.6 as recommended version. Do not
26500 mention bugs in GCC 2.7 and 2.8.
43be4ca2 26501 * INSTALL: Regenerated.
0e7727f7 26502
a78bc654
DM
265032012-02-27 David S. Miller <davem@davemloft.net>
26504
428d5830
DM
26505 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
26506 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
26507 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
26508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
26509 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
26510 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
26511 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
26512 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
26513
a78bc654
DM
26514 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
26515 manipulate bits before adding and subtracting TWO112[sx].
26516 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26517
4579f81c
RM
265182012-02-27 Roland McGrath <roland@hack.frob.com>
26519
36c8acb4
RM
26520 [BZ #13775]
26521 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
26522 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
26523 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
26524 being in POSIX, because they are in 1003.1-2008.
26525
84ad622b
RM
26526 * rt/tst-aio.c: Include <fcntl.h>.
26527 * rt/tst-aio7.c: Likewise.
26528 * rt/tst-aio64.c: Likewise.
26529
4579f81c
RM
26530 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
26531
abd923db
JM
265322012-02-27 Joseph Myers <joseph@codesourcery.com>
26533
26534 * manual/install.texi (--with-headers): Describe headers as
26535 interface headers, not private headers.
26536 (Specific advice for GNU/Linux systems): Describe use of headers
26537 from "make headers_install", not private headers from older
26538 kernels.
43be4ca2 26539 * INSTALL: Regenerated.
abd923db
JM
26540 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
26541 Change to 2.6.19.
26542 * sysdeps/unix/sysv/linux/configure: Regenerated.
26543
6664049b
JM
26544 * manual/llio.texi (fclean): Remove documentation.
26545
bb8b6697
JM
26546 * manual/Makefile (libc-texi-generated): New variable. Include
26547 version.texi.
26548 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
26549 $(libc-texi-generated), not duplicated list of files.
26550 (version.texi, stamp-version): New rules.
26551 (realclean): Remove $(libc-texi-generated), not individual files
26552 from that list. Do not remove dir-add.texinfo.
26553 * manual/libc.texinfo: Comment out uses of edition numbers and
26554 references to printed manual. Remove last-updated dates.
26555 (EDITION): Comment out.
26556 (ISBN): Likewise.
26557 (VERSION, UPDATED): Remove.
26558 (version.texi): Include.
26559
12e5c3b9
AS
265602012-02-27 Andreas Schwab <schwab@linux-m68k.org>
26561
26562 * sysdeps/posix/spawni.c: Include <signal.h>.
26563 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
26564 * sysdeps/pthread/aio_fsync.c: Likewise.
26565
4efeffc1 265662012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 26567
ba63ba08
UD
26568 * conform/Makefile (tests): Run only when not cross-compiling and
26569 when fast-check is not defined.
26570
d94a4670
UD
26571 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
26572 * conform/data/limits.h-data: Fixes for POSIX2008.
26573 * conform/run-conformtest.sh: Run all tests.
26574 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
26575 headers.
26576 * include/bits/dlfcn.h: Likewise.
26577 * include/langinfo.h: Likewise.
26578 * include/monetary.h: Likewise.
26579 * include/sys/poll.h: Likewise.
26580
26581 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
26582 for __USE_GNU.
26583 * posix/spawn.h: Define __need_sigset_t.
26584 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
26585 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
26586 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
26587 to get sigevent_t only.
26588 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
26589 only for __USE_GNU.
26590 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26591 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26592 process_vm_writev only for __USE_GNU.
26593 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
26594
26595 * conform/Makefile: For now ignore errors from run-conformtest.
26596 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
26597 POSIX to avoid namespace pollution. Don't prepend headers.
26598 * conform/data/aio.h-data: Fixes for POSIX testing.
26599 * conform/data/fcntl.h-data: Likewise.
26600 * conform/data/glob.h-data: Likewise.
26601 * conform/data/grp.h-data: Likewise.
26602 * conform/data/pthread.h-data: Likewise.
26603 * conform/data/pwd.h-data: Likewise.
26604 * conform/data/signal.h-data: Likewise.
26605 * conform/data/spawn.h-data: Likewise.
26606 * conform/data/stdio.h-data: Likewise.
26607 * conform/data/stdlib.h-data: Likewise.
26608 * conform/data/stropts.h-data: Likewise.
26609 * conform/data/sys/mman.h-data: Likewise.
26610 * conform/data/sys/stat.h-data: Likewise.
26611 * conform/data/sys/types.h-data: Likewise.
26612 * conform/data/sys/wait.h-data: Likewise.
26613 * conform/data/time.h-data: Likewise.
26614 * conform/data/unistd.h-data: Likewise.
26615 * conform/data/utime.h-data: Likewise.
26616
26617 * io/sys/stat.h: fchmod was always in POSIX.
26618 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
26619 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
26620 * rt/aio.h: Define __need_timespec before including <time.h>.
26621 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
26622 struct. Add forward declaration of pthread_attr_t and use it in
26623 sigevent.
26624 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26625 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26626 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
26627 always remove CLK_TCK definition.
26628
c20105c3
AS
266292012-02-26 Andreas Schwab <schwab@linux-m68k.org>
26630
26631 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
26632
7a270350
UD
266332012-02-25 Ulrich Drepper <drepper@gmail.com>
26634
31341567
UD
26635 * conform/run-conformtest.sh: New file.
26636 * conform/Makefile: Run run-conformtest for tests.
26637 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
26638 support.
26639
26640 * conform/data/uchar.h-data: New file.
26641 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
26642 * conform/data/arpa/inet.h-data: Likewise.
26643 * conform/data/assert.h-data: Likewise.
26644 * conform/data/complex.h-data: Likewise.
26645 * conform/data/cpio.h-data: Likewise.
26646 * conform/data/ctype.h-data: Likewise.
26647 * conform/data/dirent.h-data: Likewise.
26648 * conform/data/dlfcn.h-data: Likewise.
26649 * conform/data/errno.h-data: Likewise.
26650 * conform/data/fcntl.h-data: Likewise.
26651 * conform/data/float.h-data: Likewise.
26652 * conform/data/fmtmsg.h-data: Likewise.
26653 * conform/data/fnmatch.h-data: Likewise.
26654 * conform/data/ftw.h-data: Likewise.
26655 * conform/data/glob.h-data: Likewise.
26656 * conform/data/grp.h-data: Likewise.
26657 * conform/data/iconv.h-data: Likewise.
26658 * conform/data/inttypes.h-data: Likewise.
26659 * conform/data/langinfo.h-data: Likewise.
26660 * conform/data/libgen.h-data: Likewise.
26661 * conform/data/limits.h-data: Likewise.
26662 * conform/data/locale.h-data: Likewise.
26663 * conform/data/math.h-data: Likewise.
26664 * conform/data/monetary.h-data: Likewise.
26665 * conform/data/mqueue.h-data: Likewise.
26666 * conform/data/ndbm.h-data: Likewise.
26667 * conform/data/net/if.h-data: Likewise.
26668 * conform/data/netdb.h-data: Likewise.
26669 * conform/data/netinet/in.h-data: Likewise.
26670 * conform/data/nl_types.h-data: Likewise.
26671 * conform/data/poll.h-data: Likewise.
26672 * conform/data/pthread.h-data: Likewise.
26673 * conform/data/pwd.h-data: Likewise.
26674 * conform/data/regex.h-data: Likewise.
26675 * conform/data/sched.h-data: Likewise.
26676 * conform/data/search.h-data: Likewise.
26677 * conform/data/semaphore.h-data: Likewise.
26678 * conform/data/setjmp.h-data: Likewise.
26679 * conform/data/signal.h-data: Likewise.
26680 * conform/data/spawn.h-data: Likewise.
26681 * conform/data/stdarg.h-data: Likewise.
26682 * conform/data/stdio.h-data: Likewise.
26683 * conform/data/stdlib.h-data: Likewise.
26684 * conform/data/string.h-data: Likewise.
26685 * conform/data/strings.h-data: Likewise.
26686 * conform/data/stropts.h-data: Likewise.
26687 * conform/data/sys/ipc.h-data: Likewise.
26688 * conform/data/sys/mman.h-data: Likewise.
26689 * conform/data/sys/msg.h-data: Likewise.
26690 * conform/data/sys/resource.h-data: Likewise.
26691 * conform/data/sys/select.h-data: Likewise.
26692 * conform/data/sys/sem.h-data: Likewise.
26693 * conform/data/sys/shm.h-data: Likewise.
26694 * conform/data/sys/socket.h-data: Likewise.
26695 * conform/data/sys/stat.h-data: Likewise.
26696 * conform/data/sys/statvfs.h-data: Likewise.
26697 * conform/data/sys/time.h-data: Likewise.
26698 * conform/data/sys/timeb.h-data: Likewise.
26699 * conform/data/sys/times.h-data: Likewise.
26700 * conform/data/sys/types.h-data: Likewise.
26701 * conform/data/sys/uio.h-data: Likewise.
26702 * conform/data/sys/un.h-data: Likewise.
26703 * conform/data/sys/utsname.h-data: Likewise.
26704 * conform/data/sys/wait.h-data: Likewise.
26705 * conform/data/syslog.h-data: Likewise.
26706 * conform/data/tar.h-data: Likewise.
26707 * conform/data/termios.h-data: Likewise.
26708 * conform/data/utime.h-data: Likewise.
26709 * conform/data/utmpx.h-data: Likewise.
26710 * conform/data/varargs.h-data: Likewise.
26711 * conform/data/wchar.h-data: Likewise.
26712 * conform/data/wctype.h-data: Likewise.
26713 * conform/data/wordexp.h-data: Likewise.
26714
26715 * include/stropts.h: New file.
26716 * include/uchar.h: New file.
26717 * include/aio.h: Changes to allow conformtest.pl to use the headers.
26718 * include/assert.h: Likewise.
26719 * include/ctype.h: Likewise.
26720 * include/dirent.h: Likewise.
26721 * include/dlfcn.h: Likewise.
26722 * include/fcntl.h: Likewise.
26723 * include/fnmatch.h: Likewise.
26724 * include/glob.h: Likewise.
26725 * include/grp.h: Likewise.
26726 * include/libio.h: Likewise.
26727 * include/locale.h: Likewise.
26728 * include/math.h: Likewise.
26729 * include/net/if.h: Likewise.
26730 * include/netdb.h: Likewise.
26731 * include/netinet/in.h: Likewise.
26732 * include/pthread.h: Likewise.
26733 * include/pwd.h: Likewise.
26734 * include/regex.h: Likewise.
26735 * include/sched.h: Likewise.
26736 * include/search.h: Likewise.
26737 * include/setjmp.h: Likewise.
26738 * include/signal.h: Likewise.
26739 * include/stdio.h: Likewise.
26740 * include/stdlib.h: Likewise.
26741 * include/string.h: Likewise.
26742 * include/sys/cdefs.h: Likewise.
26743 * include/sys/mman.h: Likewise.
26744 * include/sys/msg.h: Likewise.
26745 * include/sys/resource.h: Likewise.
26746 * include/sys/select.h: Likewise.
26747 * include/sys/socket.h: Likewise.
26748 * include/sys/stat.h: Likewise.
26749 * include/sys/statvfs.h: Likewise.
26750 * include/sys/time.h: Likewise.
26751 * include/sys/times.h: Likewise.
26752 * include/sys/uio.h: Likewise.
26753 * include/sys/utsname.h: Likewise.
26754 * include/sys/wait.h: Likewise.
26755 * include/termios.h: Likewise.
26756 * include/time.h: Likewise.
26757 * include/ulimit.h: Likewise.
26758 * include/unistd.h: Likewise.
26759 * include/utime.h: Likewise.
26760 * include/wchar.h: Likewise.
26761 * include/wctype.h: Likewise.
26762 * include/wordexp.h: Likewise.
26763
26764 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
26765
7a270350
UD
26766 * time/time.h: TIME_UTC must be a macro.
26767 Make timespec_get available for ISO C11 only as well.
26768
7724defc
UD
267692012-02-24 Ulrich Drepper <drepper@gmail.com>
26770
26771 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
26772 Reported by Peng Haitao <penght@cn.fujitsu.com>.
26773
6b1d1d46
JM
267742012-02-24 Joseph Myers <joseph@codesourcery.com>
26775
26776 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 26777
0f8bbd69
JM
267782012-02-24 Joseph Myers <joseph@codesourcery.com>
26779
26780 * manual/texinfo.tex: Update to version 2012-01-19.16.
26781
66ab80bc
JM
267822012-02-24 Joseph Myers <joseph@codesourcery.com>
26783
26784 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
26785
74981cc5
RM
267862012-02-24 Roland McGrath <roland@hack.frob.com>
26787
ee968201
RM
26788 [BZ #13738]
26789 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
26790 * manual/fdl-1.3.texi: New file.
26791 * manual/fdl-1.1.texi: File removed.
26792
74981cc5
RM
26793 [BZ #13738]
26794 * manual/libc.texinfo (FDL_VERSION): New @set.
26795 Use it for mention of FDL in cover text.
26796 (Documentation License): Use it in @include file name.
26797
7bb764bc
JM
267982012-02-22 Joseph Myers <joseph@codesourcery.com>
26799 Roland McGrath <roland@hack.frob.com>
26800
26801 [BZ #5461]
26802 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
26803 not LONG_LONG_MAX and LONG_LONG_MIN.
26804 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
26805 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
26806 name.
26807 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
26808
6cbeae47
JM
268092012-02-22 Joseph Myers <joseph@codesourcery.com>
26810
26811 [BZ #2547]
26812 [BZ #11365]
26813 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
26814 manipulate bits before adding and subtracting TWO23[sx].
26815 * math/libm-test.inc (nearbyint_test): Add more tests.
26816
fe45ce09
JM
268172012-02-22 Joseph Myers <joseph@codesourcery.com>
26818
26819 [BZ #2548]
26820 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
26821 bits before adding and subtracting TWO23[sx].
26822 * math/libm-test.inc (rint_test): Add more tests.
26823 (rint_test_tonearest): Likewise.
26824 (rint_test_towardzero): Likewise.
26825 (rint_test_downward): Likewise.
26826 (rint_test_upward: Likewise.
26827
ff3b3d82
JM
268282012-02-22 Joseph Myers <joseph@codesourcery.com>
26829
26830 [BZ #10110]
26831 * include/stdc-predef.h: New file. Extracted from features.h.
26832 * include/features.h: Include stdc-predef.h.
26833 * Makefile (headers): Add stdc-predef.h.
26834 * CONFORMANCE (Compiler limitations): Update.
26835
ef0aab35
JM
268362012-02-22 Joseph Myers <joseph@codesourcery.com>
26837
26838 * manual/libc.texinfo (VERSION, UPDATED): Revert.
26839
58639409
DM
268402012-02-21 David S. Miller <davem@davemloft.net>
26841
26842 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
26843 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26844
c0e70b25
DM
268452012-02-20 David S. Miller <davem@davemloft.net>
26846
26847 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
26848 using a normal save/restore sequence, rather than allocating a
26849 dummy stack frame just to store a frame pointer and restore.
26850 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26851
fb06851d
JM
268522012-02-21 Joseph Myers <joseph@codesourcery.com>
26853
26854 * manual/install.texi: Fix stray word in line-wrapped comment.
26855
7a8b71c3
DM
268562012-02-20 David S. Miller <davem@davemloft.net>
26857
d510c123
DM
26858 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
26859 both binutils and gcc support GOTDATA.
26860
0722d7c2
DM
26861 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
26862 "rd %pc" in the PIC register setup sequences.
26863
3d2b3019
DM
26864 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
26865 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
26866 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26867 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
26868 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26869 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26870 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26871 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26872 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
26873 (SYSCALL_ERROR_HANDLER): Likewise.
26874 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26875 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26876 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
26877 (SYSCALL_ERROR_HANDLER): Likewise.
26878
c80098a9
DM
26879 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
26880 (HAVE_GCC_GOTDATA): New.
26881 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
26882 relocation support in both binutils and gcc.
26883 * sysdeps/sparc/elf/configure: Regenerate.
26884
3a2545a0
DM
26885 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
26886 * sysdeps/sparc/sparc32/elf/configure: Delete.
26887 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
26888 * sysdeps/sparc/sparc64/elf/configure: Delete.
26889 * sysdeps/sparc/elf/configure.in: New file.
26890 * sysdeps/sparc/elf/configure: Generate.
26891
7a8b71c3
DM
26892 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
26893 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
26894 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
26895 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
26896 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
26897
f1e86fca
JM
268982012-02-21 Joseph Myers <joseph@codesourcery.com>
26899
26900 * manual/install.texi: Do not mention specific glibc version
26901 numbers.
26902 * manual/libc.texinfo (VERSION, UPDATED): Update.
26903 (@copying): Use @copyright{} and range of years.
26904
0e7dfaef
JM
269052012-02-21 Joseph Myers <joseph@codesourcery.com>
26906
26907 [BZ #13695]
26908 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
26909 [crti.S not in sysdirs] (generated): Do not append.
26910 [crti.S not in sysdirs] (omit-deps): Likewise.
26911 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
26912 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
26913 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
26914 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
26915 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
26916 Likewise.
26917 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
26918 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
26919 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
26920 * csu/defs.awk: Remove file.
26921 * sysdeps/generic/initfini.c: Likewise.
26922 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
26923 variable.
26924 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
26925 Likewise.
26926
599af3ca
JM
269272012-02-20 Joseph Myers <joseph@codesourcery.com>
26928
26929 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
26930 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
26931 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
26932 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
26933 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26934 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
26935 <bits/epoll.h>.
26936 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
26937 (__EPOLL_PACKED): Define to empty if not defined by
26938 <bits/epoll.h>.
26939 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
26940 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26941 bits/epoll.h.
26942
0e499750
JM
269432012-02-20 Joseph Myers <joseph@codesourcery.com>
26944
26945 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
26946 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
26947 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
26948 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
26949 <bits/timerfd.h>.
26950 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
26951 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26952 bits/timerfd.h.
26953
5ad91f6e
JM
269542012-02-20 Joseph Myers <joseph@codesourcery.com>
26955
26956 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
26957 in C locale.
26958 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26959 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26960 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
26961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26962
06b99b02
AJ
269632012-02-20 Aurelien Jarno <aurelien@aurel32.net>
26964
26965 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26966 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26967
7638c0fd
AS
269682012-02-19 Andreas Schwab <schwab@linux-m68k.org>
26969
26970 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
26971 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
26972 defined.
26973 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
26974 Likewise.
26975 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
26976 entry for 2.16.
26977
92221550
AJ
269782012-02-19 Aurelien Jarno <aurelien@aurel32.net>
26979
26980 * math/w_acos.c: Use non-signaling floating-point comparisons.
26981 * math/w_acosf.c: Likewise.
26982 * math/w_acosh.c: Likewise.
26983 * math/w_acoshf.c: Likewise.
26984 * math/w_acoshl.c: Likewise.
26985 * math/w_acosl.c: Likewise.
26986 * math/w_asin.c: Likewise.
26987 * math/w_asinf.c: Likewise.
26988 * math/w_asinl.c: Likewise.
26989 * math/w_atanh.c: Likewise.
26990 * math/w_atanhf.c: Likewise.
26991 * math/w_atanhl.c: Likewise.
26992 * math/w_exp2.c: Likewise.
26993 * math/w_exp2f.c: Likewise.
26994 * math/w_exp2l.c: Likewise.
26995 * math/w_j0.c: Likewise.
26996 * math/w_j0f.c: Likewise.
26997 * math/w_j0l.c: Likewise.
26998 * math/w_j1.c: Likewise.
26999 * math/w_j1f.c: Likewise.
27000 * math/w_j1l.c: Likewise.
27001 * math/w_jn.c: Likewise.
27002 * math/w_jnf.c: Likewise.
27003 * math/w_log.c: Likewise.
27004 * math/w_log10.c: Likewise.
27005 * math/w_log10f.c: Likewise.
27006 * math/w_log10l.c: Likewise.
27007 * math/w_log2.c: Likewise.
27008 * math/w_log2f.c: Likewise.
27009 * math/w_log2l.c: Likewise.
27010 * math/w_logf.c: Likewise.
27011 * math/w_logl.c: Likewise.
27012 * math/w_sqrt.c: Likewise.
27013 * math/w_sqrtf.c: Likewise.
27014 * math/w_sqrtl.c: Likewise.
27015 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27016 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
27017 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27018 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
27019 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
27020
ebaf36eb
JM
270212012-02-19 Joseph Myers <joseph@codesourcery.com>
27022
27023 [BZ #9739]
27024 * manual/string.texi (strnlen): Use correct parameter name in
27025 equivalent expression.
27026
71c254a6
JM
270272012-02-19 Joseph Myers <joseph@codesourcery.com>
27028
27029 [BZ #11174]
27030 * manual/users.texi (seteuid): Consistently use neweuid for
27031 argument name.
27032
16d2c631
JM
270332012-02-19 Joseph Myers <joseph@codesourcery.com>
27034
27035 [BZ #13704]
27036 * manual/nss.texi (Services in the NSS configuration): Correct
27037 list of services in example configuration file.
27038
cd837b09
NB
270392012-02-19 Nick Bowler <nbowler@draconx.ca>
27040
27041 [BZ #11322]
27042 * manual/arith.texi: Remove statements about negative zero
27043 behaving identically to zero.
27044
02c4bbad
JM
270452012-02-18 Joseph Myers <joseph@codesourcery.com>
27046
27047 [BZ #5993]
27048 * manual/install.texi: Do not document upgrading from libc5.
27049
366842e7
JM
270502012-02-18 Joseph Myers <joseph@codesourcery.com>
27051
27052 [BZ #4596]
27053 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
27054
dd54084d
DM
270552012-02-18 David S. Miller <davem@davemloft.net>
27056
27057 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
27058 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
27059 %o7 across the call.
27060 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
27061 instead.
27062 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
27063 SETUP_PIC_REG_LEAF.
27064 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27065 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
27066 * sysdeps/sparc/crtn.S: Likewise.
27067
2bcc53a3
UD
270682012-02-17 Ulrich Drepper <drepper@gmail.com>
27069
27070 * aout/Makefile: Remove.
27071
09c093b5
RK
270722012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
27073
27074 [BZ #13058]
27075 * manual/examples/argp-ex1.c (main): Format definition in GNU
27076 style.
27077 * manual/examples/argp-ex2.c (main): Likewise.
27078 * manual/examples/argp-ex3.c (main): Likewise.
27079 * manual/examples/argp-ex4.c (main): Likewise.
27080 * manual/examples/longopt.c (main): Use new-style prototype
27081 definition.
27082 * manual/examples/strncat.c (main): Specify return type and use
27083 (void) for arguments.
27084 * manual/examples/subopt.c (main): Use char **argv argument.
27085
2ee633a2
JM
270862012-02-17 Joseph Myers <joseph@codesourcery.com>
27087
27088 [BZ #5077]
27089 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
27090 rounding modes.
27091
0520adde
FB
270922012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
27093
27094 [BZ #6907]
27095 * manual/string.texi (strchr): Change when strchrnul is
27096 recommended.
27097
3f4081cd
DGM
270982012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
27099
27100 [BZ #174]
27101 * manual/locale.texi (setlocale): Document LOCPATH.
27102
d1b10e78
JM
271032012-02-17 Joseph Myers <joseph@codesourcery.com>
27104
27105 [BZ #10210]
27106 * manual/process.texi (execle): Move @dots{} before last argument.
27107
79c6869c
PB
271082012-02-17 Paul Bolle <pebolle@tiscali.nl>
27109
27110 [BZ #12047]
27111 * manual/charset.texi (Generic Charset Conversion): Fix typo
27112 (LC_TYPE -> LC_CTYPE).
27113
cc6e48bc
NB
271142012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
27115
27116 [BZ #5805]
27117 * manual/arith.texi (scalbn): Use @var{} on parameter names.
27118 (scalbnf): Likewise.
27119 (scalbnl): Likewise.
27120 (scalbln): Likewise.
27121 (scalblnf): Likewise.
27122 (scalblnl): Likewise.
27123 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
27124 (vwarnx): Likewise.
27125 (verr): Likewise.
27126 (verrx): Likewise.
27127 * manual/filesys.texi (telldir): Use braces around return type.
27128 * manual/llio.texi (mmap): Add space after comma.
27129 (mmap64): Likewise.
27130 * manual/math.texi (jn): Use @var{} on parameter names.
27131 (jnf): Likewise.
27132 (jnl): Likewise.
27133 (yn): Likewise.
27134 (ynf): Likewise.
27135 (ynl): Likewise.
27136 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
27137 line.
27138 * manual/resource.texi (ulimit): Use @dots{} instead of literal
27139 "...".
27140 (sched_get_priority_min): Remove semicolon on @deftypefun line.
27141 (sched_get_priority_max): Likewise.
27142 * manual/signal.texi (sigvec): Add space after comma.
27143 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
27144 names.
27145 (if_indextoname): Likewise.
27146 (if_freenameindex): Likewise.
27147 (sendto): Use ',' instead of '.' in prototype.
27148 * manual/startup.texi (syscall): Use @dots{} instead of literal
27149 "...".
27150 * manual/stdio.texi (__fpending): Separate initial words of
27151 paragraph from @deftypefun line.
27152 * manual/syslog.texi (syslog): Use @dots{} instead of literal
27153 "...".
27154 (vsyslog): Use @var{} on parameter names.
27155 * manual/terminal.texi (stty): Use @var{} on parameter names.
27156 * manual/users.texi (getutmp): Use @var{} on parameter names.
27157 (getutmpx): Likewise.
27158
5b23062f
JM
271592012-02-17 Joseph Myers <joseph@codesourcery.com>
27160
27161 [BZ #6884]
27162 * manual/stdio.texi (fopen): Fix typos in description of
27163 ",ccs=STRING".
27164
8dee4833
AJ
271652012-02-17 Aurelien Jarno <aurelien@aurel32.net>
27166
27167 [BZ #4026]
27168 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
27169 get clock_id definition.
27170
9078ce93
TS
271712012-02-17 Thomas Schwinge <thomas@schwinge.name>
27172
27173 [BZ #4822]
27174 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
27175 (madvise): Cast every argument to void on its own.
27176
3835c55f
JM
271772012-02-17 Joseph Myers <joseph@codesourcery.com>
27178
27179 [BZ #9902]
27180 * manual/startup.texi (Exit Status): Fix typo.
27181
35c47e37
JM
271822012-02-17 Joseph Myers <joseph@codesourcery.com>
27183
27184 [BZ #10140]
27185 * manual/examples/argp-ex1.c: Include <stdlib.h>.
27186 * manual/examples/argp-ex2.c: Likewise.
27187 * manual/examples/argp-ex3.c: Likewise.
27188
e3b69ca7
RH
271892012-02-16 Richard Henderson <rth@redhat.com>
27190
27191 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
27192 * sysdeps/s390/s390-32/initfini.c: Remove.
27193 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
27194 * sysdeps/s390/s390-64/initfini.c: Remove.
27195
df83af67
KK
271962012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27197
27198 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
27199 compiler output for sysdeps/generic/initfini.c.
27200 * sysdeps/sh/elf/initfini.c: Remove file.
27201
f63f3380
DM
272022012-02-16 David S. Miller <davem@davemloft.net>
27203
fb59b3a4
DM
27204 [BZ #11494]
27205 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
27206
f63f3380
DM
27207 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
27208 * sysdeps/sparc/crti.S: New file.
27209 * sysdeps/sparc/crtn.S: New file.
27210 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
27211 * sysdeps/sparc/sparc64/Makefile: Likewise.
27212
df6a4a4a
MF
272132012-02-15 Mike Frysinger <vapier@gentoo.org>
27214
6dd8f3dc 27215 [BZ #3335]
df6a4a4a
MF
27216 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
27217
1cac7236
RM
272182012-02-15 Roland McGrath <roland@hack.frob.com>
27219
d2c736f8
RM
27220 [BZ #4822]
27221 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
27222
1cac7236
RM
27223 * mach/devstream.c (cookie_io_functions_t): Macro removed.
27224 (write, read, close): Likewise.
27225 Patch by Aurelien Jarno <aurelien@aurel32.net>.
27226
8e475601
JM
272272012-02-15 Joseph Myers <joseph@codesourcery.com>
27228
27229 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
27230 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
27231 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
27232 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
27233 <bits/signalfd.h>.
27234 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
27235 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27236 bits/signalfd.h.
27237
ed656b40
MP
272382012-02-14 Marek Polacek <polacek@redhat.com>
27239
27240 * sysdeps/x86_64/crti.S: New file.
27241 * sysdeps/x86_64/crtn.S: New file.
27242 * sysdeps/x86_64/elf/initfini.c: Remove file.
27243
2a979d3a
JM
272442012-02-13 Joseph Myers <joseph@codesourcery.com>
27245
27246 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
27247 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
27248 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
27249 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
27250 <bits/inotify.h>.
27251 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
27252 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27253 bits/inotify.h.
27254
2a418ac3
JM
272552012-02-13 Joseph Myers <joseph@codesourcery.com>
27256
27257 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
27258 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
27259 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
27260 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
27261 <bits/eventfd.h>.
27262 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
27263 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27264 bits/eventfd.h.
27265
fb779be7
TS
272662012-02-10 Thomas Schwinge <thomas@codesourcery.com>
27267
e19e83c5
RM
27268 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
27269 __feraiseexcept instead of feraiseexcept.
7c35ffed 27270
fb779be7
TS
27271 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
27272 nanosleep invocations.
27273 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
27274 strings, and add error checking for a nanosleep invocations.
27275
59ba27a6
PE
272762012-02-09 Paul Eggert <eggert@cs.ucla.edu>
27277
27278 Replace FSF snail mail address with URLs, as per GNU coding standards.
27279 Most of the snail mail addresses were wrong anyway, and omitting
27280 them makes the source code easier to maintain. Almost all of the
27281 changes are to license notices and to locale LC_IDENTIFICATION
27282 addresses, except for this one:
27283 * manual/libc.texinfo: In "Published by", give the FSF's URL,
27284 not its snail mail address.
27285
57b957eb
RH
272862012-02-09 Richard Henderson <rth@twiddle.net>
27287
af850b1c
RH
27288 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
27289 of kernel-features.h.
27290
57b957eb
RH
27291 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
27292
6b73181a
MP
272932012-02-08 Marek Polacek <polacek@redhat.com>
27294
27295 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
27296 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
27297 * sysdeps/gnu/_G_config.h: Likewise.
27298 * sysdeps/generic/_G_config.h: Likewise.
27299
26ecc33a
AS
273002012-02-08 Andreas Schwab <schwab@linux-m68k.org>
27301
6c6dbc63
AS
27302 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
27303 tests.
27304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27305
e216c012
AS
27306 * sysdeps/powerpc/powerpc32/crti.S: New file.
27307 * sysdeps/powerpc/powerpc32/crtn.S: New file.
27308 * sysdeps/powerpc/powerpc64/crti.S: New file.
27309 * sysdeps/powerpc/powerpc64/crtn.S: New file.
27310
26ecc33a
AS
27311 * Makeconfig (have-initfini): Don't set.
27312 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
27313 * configure.in (nopic_initfini): Don't substitute.
27314 * config.h.in (HAVE_INITFINI): Don't #undef.
27315 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
27316 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
27317
3add8e13
JM
273182012-02-08 Joseph Myers <joseph@codesourcery.com>
27319
27320 Support crti.S and crtn.S provided directly by architectures.
27321 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
27322 [crti.S in sysdirs] (omit-deps): Likewise.
27323 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
27324 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
27325 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
27326 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
27327 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
27328 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
27329 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
27330 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
27331 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
27332 compiler output for sysdeps/generic/initfini.c.
27333 * sysdeps/i386/elf/Makefile: Remove file.
27334 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
27335
a22f12b4
MP
273362012-02-07 Marek Polacek <polacek@redhat.com>
27337
27338 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
27339 * sysdeps/gnu/_G_config.h: Likewise.
27340 * sysdeps/mach/hurd/_G_config.h: Likewise.
27341
148cf100
MP
273422012-02-07 Marek Polacek <polacek@redhat.com>
27343
27344 * math/Makefile (tests): Add tst-CMPLX2.
27345 * math/tst-CMPLX2.c: New file.
27346
cfdc0dd7
AS
273472012-02-07 Andreas Schwab <schwab@linux-m68k.org>
27348
84ba42c4
AS
27349 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27350
cfdc0dd7
AS
27351 * math/libm-test.inc (jn_test): Add missing L suffix.
27352
622c86f4
MP
273532012-02-06 Marek Polacek <polacek@redhat.com>
27354
27355 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
27356 * sysdeps/i386/fpu/e_powf.S: Likewise.
27357 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27358 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27359 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27360 * sysdeps/i386/fpu/e_pow.S: Likewise.
27361 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27362 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27363 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27364 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27365 * sysdeps/i386/fpu/e_log2.S: Likewise.
27366 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27367 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27368 * sysdeps/i386/fpu/e_powl.S: Likewise.
27369 * sysdeps/i386/fpu/s_log1p.S: Likewise.
27370 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27371 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27372 * sysdeps/i386/fpu/e_logl.S: Likewise.
27373 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27374 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
27375 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27376 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27377 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27378 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27379 * sysdeps/i386/fpu/e_log.S: Likewise.
27380 * sysdeps/i386/fpu/s_cexp.S: Likewise.
27381 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27382 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
27383 * sysdeps/i386/fpu/e_logf.S: Likewise.
27384 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27385 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27386 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
27387 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27388 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27389 * sysdeps/i386/fpu/e_log10.S: Likewise.
27390 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27391 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27392 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27393 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27394 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27395 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27396 * sysdeps/i386/asm-syntax.h: Likewise.
27397 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27398 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27399 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27400 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
27401 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
27402 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27403 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27404 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27405 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27406 * sysdeps/powerpc/sysdep.h: Likewise.
27407 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
27408 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27409
d4a54ac6
JM
274102012-02-06 Joseph Myers <joseph@codesourcery.com>
27411
27412 [BZ #411]
27413 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
27414
314054ea
JM
274152012-02-06 Joseph Myers <joseph@codesourcery.com>
27416
27417 * sysdeps/i386/sysdep.h: Include <features.h>.
27418 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
27419 version.
27420
d8e0ca50
JM
274212012-02-05 Joseph Myers <joseph@codesourcery.com>
27422
27423 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
27424 Define.
27425 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
27426 LOAD_PIC_REG_STR.
27427
b1da7dd9
JM
274282012-02-03 Joseph Myers <joseph@codesourcery.com>
27429
27430 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
27431 (SETUP_PIC_REG): Use GET_PC_THUNK.
27432 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
27433 macro.
27434
9a1d9254
JM
274352012-02-03 Joseph Myers <joseph@codesourcery.com>
27436
27437 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
27438 for non-PIC compilation.
27439 (SETUP_PIC_REG): Add .p2align directive.
27440 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
27441 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
27442 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27443 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27444 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27445 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27446 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
27447 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27448 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27449 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27450 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27451 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27452 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27453 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27454 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27455 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27456 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27457 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27458 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27459 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27460 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27461 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27462 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27463 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27464 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27465 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27466 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27467 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27468 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27469 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27470 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27471 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27472 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27473 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27474 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27475 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27476 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27477 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27478 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27479 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27480 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27481
65dc3b75
JM
274822012-02-03 Joseph Myers <joseph@codesourcery.com>
27483
27484 * math/tst-CMPLX.c: Include <stdio.h>.
27485
d55bf177
JM
274862012-01-31 Joseph Myers <joseph@codesourcery.com>
27487
27488 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
27489 float.
27490 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27491 * sysdeps/sparc/bits/mathdef.h: Likewise.
27492
69db4f8f
MP
274932012-01-31 Marek Polacek <polacek@redhat.com>
27494
27495 * libio/libio.h: Don't define _PARAMS.
27496 * locale/programs/config.h: Don't define PARAMS.
27497 * stdlib/strtol_l.c: Likewise.
27498 (__strtol_l): Remove PARAMS from the prototype.
27499
41b81892
UD
275002012-01-31 Ulrich Drepper <drepper@gmail.com>
27501
3b49edc0
UD
27502 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
27503 names. Just use the correct names. Remove unnecessary wrapper
27504 functions.
27505 * malloc/arena.c: Likewise.
27506 * malloc/hooks.c: Likewise.
27507
41b81892
UD
27508 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
27509 ARENA_TEST says not to. Simplify test for creation of a new arena.
27510 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
27511
27a25b6e
UD
275122012-01-30 Ulrich Drepper <drepper@gmail.com>
27513
27514 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
27515 into tail calls.
27516 (update_get_addr): New function.
27517 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
27518 GET_ADDR_MODULE parameter.
27519
c8a89e7d
JM
275202012-01-30 Joseph Myers <joseph@codesourcery.com>
27521
27522 * crypt/cert.c: Remove __STDC__ conditionals.
27523 * crypt/crypt-entry.c: Likewise.
27524 * crypt/crypt_util.c: Likewise.
27525 * libio/filedoalloc.c: Likewise.
27526 * libio/fileops.c: Likewise.
27527 * libio/genops.c: Likewise.
27528 * libio/iofclose.c: Likewise.
27529 * libio/iofdopen.c: Likewise.
27530 * libio/iofopen.c: Likewise.
27531 * libio/iofopen64.c: Likewise.
27532 * libio/iogetdelim.c: Likewise.
27533 * libio/iopopen.c: Likewise.
27534 * libio/obprintf.c: Likewise.
27535 * libio/oldfileops.c: Likewise.
27536 * libio/oldiofclose.c: Likewise.
27537 * libio/oldiofdopen.c: Likewise.
27538 * libio/oldiofopen.c: Likewise.
27539 * libio/oldiopopen.c: Likewise.
27540 * libio/wfiledoalloc.c: Likewise.
27541 * libio/wgenops.c: Likewise.
27542 * locale/programs/xmalloc.c: Likewise.
27543 * misc/syslog.c: Likewise.
27544 * stdio-common/xbug.c: Likewise.
27545 * string/memchr.c: Likewise.
27546 * string/memcmp.c: Likewise.
27547 * string/memrchr.c: Likewise.
27548 * string/rawmemchr.c: Likewise.
27549 * sysdeps/posix/getcwd.c: Likewise.
27550 * time/strftime_l.c: Likewise.
27551
3b100462
JM
275522012-01-30 Joseph Myers <joseph@codesourcery.com>
27553
27554 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
27555 * config.make.in (config-cflags-sse2avx): Define.
27556 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
27557 Fix typo.
27558
607998af
CM
275592012-01-29 Chris Metcalf <cmetcalf@tilera.com>
27560
27561 * scripts/config.guess: Update from upstream config git repository.
27562 * scripts/config.sub: Likewise.
27563
3601428f
CM
275642012-01-28 Chris Metcalf <cmetcalf@tilera.com>
27565
3ac8b282
CM
27566 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
27567 (EM_NUM): Update.
27568 (R_TILEPRO_*, R_TILEGX_*): New macros.
27569
e034841e
CM
27570 * scripts/firstversions.awk: Fix bug in version range handling.
27571
540d7568
CM
27572 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
27573
3601428f
CM
27574 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
27575
463de862
CM
27576 * include/sys/epoll.h: New file.
27577 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
27578 libc_hidden_def.
27579
73139a76
UD
275802012-01-28 Ulrich Drepper <drepper@gmail.com>
27581
96bc5b45
UD
27582 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
27583 Avoid unnecessary __WORDSIZE == 64 test.
27584 (fmaxf): Use VEX format if possible.
27585 (fmax): Likewise.
27586 (fminf): Likewise.
27587 (fmin): Likewise.
27588
56f6f6a2
UD
27589 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
27590 * math/math_private.h: Remove libc_fegetround* and
27591 libc_fesetround*.
27592 * sysdeps/i386/configure.in: Check for -msse2avx.
27593 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
27594 also if SSE2AVX is defined.
27595 Remove libc_fegetround* and libc_fesetround*.
27596 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
27597 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
27598 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
27599 of HAS_YMM_USABLE.
27600 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27601 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27602 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27603 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27604 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27605
73139a76
UD
27606 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
27607
d73f93a4
AZ
276082012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27609
27610 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
27611 size is not set.
27612 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27613
6ee65ed6
UD
276142012-01-27 Ulrich Drepper <drepper@gmail.com>
27615
27616 [BZ #13618]
27617 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
27618 relocation.
27619 * Makeconfig (libm): Define.
27620 * elf/Makefile: Add rules to build and run tst-relsort1.
27621 * elf/tst-relsort1.c: New file.
27622 * elf/tst-relsort1mod1.c: New file.
27623 * elf/tst-relsort1mod2.c: New file.
27624
8db21882
JM
276252012-01-27 Joseph Myers <joseph@codesourcery.com>
27626
27627 * math/s_ldexp.c: Remove __STDC__ conditionals.
27628 * math/s_ldexpf.c: Likewise.
27629 * math/s_ldexpl.c: Likewise.
27630 * math/s_nextafter.c: Likewise.
27631 * math/s_nexttowardf.c: Likewise.
27632 * math/s_significand.c: Likewise.
27633 * math/s_significandf.c: Likewise.
27634 * math/s_significandl.c: Likewise.
27635 * math/w_jnl.c: Likewise.
27636 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27637 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27638 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27639 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27640 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27641 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27642 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
27643 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27644 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27645 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27646 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27647 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27648 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27649 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27650 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27651 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27652 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27653 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27654 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27655 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27656 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27657 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27658 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27659 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27660 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27661 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27662 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27663 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27664 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27665 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27666 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27667 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27668 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27669 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27670 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27671 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27672 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27673 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27674 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27675 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27676 * sysdeps/ieee754/k_standard.c: Likewise.
27677 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27678 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27679 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27680 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27681 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27682 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27683 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27684 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27685 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27686 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27687 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27688 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27689 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27690 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27691 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27692 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27693 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27694 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27695 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27696 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27697 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27698 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27699 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27700 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27701 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27702 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27703 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27704 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27705 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27706 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27707 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27708 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
27709 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27710 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27711 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27712 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27713 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
27714 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27715 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27716 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
27717 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
27718 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27719 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
27720 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
27721 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27722 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27723 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27724 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27725 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27726 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
27727 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
27728 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27729 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27730 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27731 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27732 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27733 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
27734 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27735 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27736 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27737 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27738 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27739 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27740 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27741 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27742 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27743 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27744 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27745 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27746 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27747 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27748 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27749 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27750 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27751 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27752 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27753 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27754 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27755 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27756 * sysdeps/ieee754/s_matherr.c: Likewise.
27757 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27758 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27759 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27760 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27761
965a54a4
JM
277622012-01-26 Joseph Myers <joseph@codesourcery.com>
27763
27764 * crypt/md5.h: Remove __STDC__ conditionals.
27765 * libio/libioP.h: Likewise.
27766 * locale/programs/config.h: Likewise.
27767 * sysdeps/generic/sysdep.h: Likewise.
27768 * sysdeps/i386/asm-syntax.h: Likewise.
27769 * sysdeps/s390/asm-syntax.h: Likewise.
27770 * sysdeps/unix/sysdep.h: Likewise.
27771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27773
7071ad79
JM
277742012-01-26 Joseph Myers <joseph@codesourcery.com>
27775
27776 * libio/libio.h: Remove __STDC__ conditionals.
27777 * malloc/obstack.h: Likewise.
27778 * math/complex.h: Likewise.
27779 * math/math.h: Likewise.
27780 * sysdeps/generic/_G_config.h: Likewise.
27781 * sysdeps/gnu/_G_config.h: Likewise.
27782 * sysdeps/mach/hurd/_G_config.h: Likewise.
27783 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27784 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27785 * sysdeps/sparc/bits/mathdef.h: Likewise.
27786
afc5ed09
UD
277872012-01-26 Ulrich Drepper <drepper@gmail.com>
27788
27789 [BZ #13583]
27790 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 27791 Clean up HAS_* macros.
afc5ed09 27792 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
27793 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
27794 possible.
27795 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
27796 HAS_AVX.
27797 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27798 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27799 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27800 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27801 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 27802
bdb6de1d
JM
278032012-01-25 Joseph Myers <joseph@codesourcery.com>
27804
27805 * elf/tst-unique3.cc (gets): Remove declaration.
27806 * elf/tst-unique3lib.cc (gets): Likewise.
27807 * elf/tst-unique3lib2.cc (gets): Likewise.
27808 * elf/tst-unique4.cc (gets): Likewise.
27809
b15549e6
UD
278102012-01-24 Ulrich Drepper <drepper@gmail.com>
27811
27812 * include/stdio.h: Add C++ protection. Add gets declarations and
27813 definitions.
27814 * debug/tst-chk1.c: Don't declare gets here.
27815 * stdio-common/tst-gets.c: Likewise.
27816
a037381f
JM
278172012-01-24 Joseph Myers <joseph@codesourcery.com>
27818
27819 * posix/glob: Remove directory.
27820
f1d4aa75
JM
278212012-01-24 Joseph Myers <joseph@codesourcery.com>
27822
27823 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
27824
81c0c964
PT
278252012-01-22 Pino Toscano <toscano.pino@tiscali.it>
27826
27827 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
27828 of the non-standard EPFNOSUPPORT.
27829
0ea698ae
ST
278302011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
27831
27832 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
27833 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
27834 ANYWHERE set to 1 only on KERN_NO_SPACE error.
27835
d220b117
UD
278362012-01-21 Ulrich Drepper <drepper@gmail.com>
27837
27838 * wcsmbs/uchar.h: Test __STDC_VERSION__.
27839
3e1aa84e
UD
278402012-01-20 Ulrich Drepper <drepper@gmail.com>
27841
27842 * nscd/aicache.c (addhstaiX): Do not cache negative results of
27843 transient errors.
27844 * nscd/grpcache.c (cache_addgr): Likewise.
27845 * nscd/hstcache.c (cache_addhst): Likewise.
27846 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27847 * nscd/pwdcache.c (cache_addpw): Likewise.
27848 * nscd/servicescache.c (cache_addserv): Likewise.
27849
400aa020
UD
278502012-01-16 Ulrich Drepper <drepper@gmail.com>
27851
d77e7869
UD
27852 * malloc/malloc.c: Various cleanups.
27853 * malloc/hooks.c: Likewise.
27854
400aa020
UD
27855 * stdlib/Makefile (tests): Add bug-fmtmsg1.
27856 * stdlib/bug-fmtmsg1.c: New file.
27857
27858 * stdlib/fmtmsg.c (init): Add missing unlock.
27859 Patch by Peng Haitao <penght@cn.fujitsu.com>.
27860
e0a309cf
MP
278612012-01-12 Marek Polacek <polacek@redhat.com>
27862
27863 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
27864 and _GNU_SOURCE.
27865
929d11c7
WS
278662012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27867
27868 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
27869 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
27870 macro to ensure uniqueness of label name.
27871 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27872 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27873
41d0e869
UD
278742012-01-11 Ulrich Drepper <drepper@gmail.com>
27875
0cc5ed3b
UD
27876 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
27877
41d0e869
UD
27878 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
27879 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27880 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27881 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
27882
a47a831a
UD
278832012-01-10 Ulrich Drepper <drepper@gmail.com>
27884
daa891c0
UD
27885 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
27886
27887 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
27888 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27889 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27890
e58ef0f2
UD
27891 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
27892
a47a831a 27893 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
27894 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27895 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 27896 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
27897
27898 * math/bits/math-finite.h: Add ldexp support.
27899
a0bfc9c7
MP
279002012-01-10 Marek Polacek <polacek@redhat.com>
27901
27902 * locale/programs/localedef.h (show_archive_content): Add noreturn
27903 attribute.
27904
d6e97a1d
UD
279052012-01-09 Ulrich Drepper <drepper@gmail.com>
27906
27907 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
27908
d5835c26
UD
279092012-01-08 Ulrich Drepper <drepper@gmail.com>
27910
e5f484c6
UD
27911 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
27912
d5835c26
UD
27913 * io/Makefile (headers): Add bits/poll2.h.
27914
d1f741e9
WS
279152011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
27916
27917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
27918 typo #include statement.
27919
ec09c1c4
UD
279202012-01-08 Ulrich Drepper <drepper@gmail.com>
27921
27922 * include/sys/cdefs.h: Define __attribute_alloc_size.
27923 * catgets/gencat.c: Add alloc_size attribute and apply consistently
27924 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
27925 * elf/pldd.c: Likewise.
27926 * iconv/iconv_charmap.c: Likewise.
27927 * iconv/iconvconfig.c: Likewise.
27928 * iconv/strtab.c: Likewise.
27929 * locale/programs/locale.c: Likewise.
27930 * locale/programs/localedef.h: Likewise.
27931 * locale/programs/simple-hash.c: Likewise.
27932 * nscd/nscd.h: Likewise.
27933 * nss/makedb.c: Likewise.
27934 * sysdeps/generic/ldconfig.h: Likewise.
27935 * locale/programs/localedef.c: Remove xmalloc prototype.
27936 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
27937
20b38e03
PP
279382012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27939
27940 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
27941 appropriate.
27942
a0da5fe1
UD
279432012-01-08 Ulrich Drepper <drepper@gmail.com>
27944
1d5a644a 27945 * math/Makefile (tests): Add tst-CMPLX.
669704fd 27946 * math/tst-CMPLX.c: New file.
1d5a644a 27947
8784a6db
UD
27948 * math/complex.h (CMPLXL): Fix typo.
27949
d9a216c0
UD
27950 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
27951 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
27952 GLIBC_2.16.
27953 * debug/tst-chk1.c: Add poll and ppoll tests.
27954 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
27955 * include/sys/poll.h: Add hidden proto for ppoll.
27956 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
27957 * sysdeps/mach/hurd/ppoll.c: Likewise.
27958 * io/ppoll.c: Likewise.
27959 * debug/poll_chk.c: New file.
27960 * debug/ppoll_chk.c: New file.
27961 * include/bits/poll2.h: New file.
27962 * io/bits/poll2.h: New file.
27963
ac097f5c
UD
27964 [BZ #1350]
27965 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
27966
2119dcfa
UD
27967 * configure.in: static is always set to yes. Remove.
27968 * config.make.in: Don't set build-static.
27969 * Makeconfig: Remove use of build-static.
27970 * dlfcn/Makefile: Likewise.
27971 * elf/Makefile: Likewise.
27972 * math/Makefile: Likewise.
27973 * misc/Makefile: Likewise.
27974 * nptl/Makefile: Likewise.
27975 * sysdeps/mach/hurd/Makefile: Likewise.
27976
121766a9
UD
27977 * configure.in: PWD_P is not used anymore.
27978 * config.make.in: Remove PWD_P entry.
27979
51a1d39c 27980 * configure.in: Remove last remnants of RANLIB.
8720d066 27981 No need to check for signed size_t anymore.
215f4bdc
UD
27982 Don't set libc_commonpagesize and libc_relro_required here for Alpha
27983 and IA-64.
3857022a 27984 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
27985 * aclocal.m4: Likewise.
27986
d3ed7225
UD
27987 * wcsmbs/mbrtoc16.c: Implement using towc function.
27988 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
27989 * wcsmbs/wcsmbsload.c: Likewise.
27990 * iconv/gconv_simple.c: Likewise.
27991 * iconv/gconv_int.h: Likewise.
27992 * iconv/gconv_builtin.h: Likewise.
27993 * iconv/iconv_prog.c: Remove CHAR16 handling.
27994
27995 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
27996
27997 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
27998
a0da5fe1
UD
27999 * configure.in: Remove --with-elf and --enable-bounded options.
28000 Dont set base_machine for ia64. More non-ELF conditions removed.
28001 Remove testing and setting of leading underscore information.
28002 * config.make.in (build-bounded): Set to no.
28003 * config.h.in: Remove NO_UNDERSCORES entry.
28004 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
28005 them.
28006 * csu/start.c: Remove !NO_UNDERSCORE code.
28007 * locale/localeinfo.h: Likewise.
28008 * sysdeps/generic/machine-gmon.h: Likewise.
28009 * sysdeps/generic/sysdep.h: Likewise.
28010 * sysdeps/i386/sysdep.h: Likewise.
28011 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28012 * sysdeps/mach/sysdep.h: Likewise.
28013 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28014 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28015 * sysdeps/sh/sysdep.h: Likewise.
28016 * sysdeps/sparc/sparc32/alloca.S: Likewise.
28017 * sysdeps/unix/i386/sysdep.S: Likewise.
28018 * sysdeps/unix/sparc/start.c: Likewise.
28019 * sysdeps/unix/sparc/sysdep.S: Likewise.
28020 * sysdeps/unix/sparc/sysdep.h: Likewise.
28021 * sysdeps/unix/start.c: Likewise.
28022 * sysdeps/unix/x86_64/sysdep.S: Likewise.
28023 * sysdeps/x86_64/sysdep.h: Likewise.
28024
df78418a
UD
280252012-01-07 Ulrich Drepper <drepper@gmail.com>
28026
a784e502
UD
28027 [BZ #13553]
28028 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
28029 for non-gcc.
28030 * argp/argp-fmtstream.h: Use const instead __const.
28031 * argp/argp.h: Likewise.
28032 * assert/assert.h: Likewise.
28033 * bits/fenv.h: Likewise.
28034 * bits/sched.h: Likewise.
28035 * bits/sigset.h: Likewise.
28036 * bits/sigthread.h: Likewise.
28037 * catgets/nl_types.h: Likewise.
28038 * conform/data/pthread.h-data: Likewise.
28039 * crypt/crypt-private.h: Likewise.
28040 * crypt/crypt.h: Likewise.
28041 * crypt/crypt_util.c: Likewise.
28042 * ctype/ctype.h: Likewise.
28043 * debug/execinfo.h: Likewise.
28044 * debug/mbsnrtowcs_chk.c: Likewise.
28045 * debug/mbsrtowcs_chk.c: Likewise.
28046 * debug/wcsnrtombs_chk.c: Likewise.
28047 * debug/wcsrtombs_chk.c: Likewise.
28048 * debug/wcstombs_chk.c: Likewise.
28049 * dirent/dirent.h: Likewise.
28050 * dlfcn/dlfcn.h: Likewise.
28051 * elf/neededtest4.c: Likewise.
28052 * grp/grp.h: Likewise.
28053 * gshadow/gshadow.h: Likewise.
28054 * iconv/gconv.h: Likewise.
28055 * iconv/gconv_int.h: Likewise.
28056 * iconv/gconv_simple.c: Likewise.
28057 * iconv/iconv.h: Likewise.
28058 * iconv/loop.c: Likewise.
28059 * iconv/skeleton.c: Likewise.
28060 * include/aio.h: Likewise.
28061 * include/aliases.h: Likewise.
28062 * include/argz.h: Likewise.
28063 * include/arpa/inet.h: Likewise.
28064 * include/assert.h: Likewise.
28065 * include/dirent.h: Likewise.
28066 * include/dlfcn.h: Likewise.
28067 * include/execinfo.h: Likewise.
28068 * include/fcntl.h: Likewise.
28069 * include/fenv.h: Likewise.
28070 * include/glob.h: Likewise.
28071 * include/grp.h: Likewise.
28072 * include/libintl.h: Likewise.
28073 * include/mntent.h: Likewise.
28074 * include/netdb.h: Likewise.
28075 * include/pwd.h: Likewise.
28076 * include/rpc/netdb.h: Likewise.
28077 * include/sched.h: Likewise.
28078 * include/search.h: Likewise.
28079 * include/shadow.h: Likewise.
28080 * include/signal.h: Likewise.
28081 * include/stdio.h: Likewise.
28082 * include/stdlib.h: Likewise.
28083 * include/string.h: Likewise.
28084 * include/sys/socket.h: Likewise.
28085 * include/sys/stat.h: Likewise.
28086 * include/sys/statfs.h: Likewise.
28087 * include/sys/statvfs.h: Likewise.
28088 * include/sys/syslog.h: Likewise.
28089 * include/sys/time.h: Likewise.
28090 * include/sys/uio.h: Likewise.
28091 * include/time.h: Likewise.
28092 * include/unistd.h: Likewise.
28093 * include/utmp.h: Likewise.
28094 * include/wchar.h: Likewise.
28095 * include/wctype.h: Likewise.
28096 * inet/aliases.h: Likewise.
28097 * inet/arpa/inet.h: Likewise.
28098 * inet/netinet/ether.h: Likewise.
28099 * inet/netinet/in.h: Likewise.
28100 * intl/libintl.h: Likewise.
28101 * io/bits/fcntl2.h: Likewise.
28102 * io/fcntl.h: Likewise.
28103 * io/ftw.h: Likewise.
28104 * io/sys/poll.h: Likewise.
28105 * io/sys/stat.h: Likewise.
28106 * io/sys/statfs.h: Likewise.
28107 * io/sys/statvfs.h: Likewise.
28108 * io/utime.h: Likewise.
28109 * libio/bits/stdio.h: Likewise.
28110 * libio/bits/stdio2.h: Likewise.
28111 * libio/libio.h: Likewise.
28112 * libio/libioP.h: Likewise.
28113 * libio/stdio.h: Likewise.
28114 * locale/lc-ctype.c: Likewise.
28115 * locale/locale.h: Likewise.
28116 * login/utmp.h: Likewise.
28117 * malloc/arena.c: Likewise.
28118 * malloc/malloc.c: Likewise.
28119 * malloc/malloc.h: Likewise.
28120 * malloc/mcheck.c: Likewise.
28121 * malloc/mtrace.c: Likewise.
28122 * math/bits/mathcalls.h: Likewise.
28123 * math/fenv.h: Likewise.
28124 * math/math_private.h: Likewise.
28125 * misc/bits/error.h: Likewise.
28126 * misc/bits/syslog.h: Likewise.
28127 * misc/err.h: Likewise.
28128 * misc/error.h: Likewise.
28129 * misc/fstab.h: Likewise.
28130 * misc/mntent.h: Likewise.
28131 * misc/regexp.h: Likewise.
28132 * misc/search.h: Likewise.
28133 * misc/sgtty.h: Likewise.
28134 * misc/sys/mman.h: Likewise.
28135 * misc/sys/syslog.h: Likewise.
28136 * misc/sys/uio.h: Likewise.
28137 * misc/sys/xattr.h: Likewise.
28138 * misc/ttyent.h: Likewise.
28139 * nis/rpcsvc/ypclnt.h: Likewise.
28140 * nss/nss.h: Likewise.
28141 * posix/bits/unistd.h: Likewise.
28142 * posix/fnmatch.h: Likewise.
28143 * posix/glob.h: Likewise.
28144 * posix/sched.h: Likewise.
28145 * posix/spawn.h: Likewise.
28146 * posix/sys/wait.h: Likewise.
28147 * posix/unistd.h: Likewise.
28148 * posix/wordexp.h: Likewise.
28149 * pwd/pwd.h: Likewise.
28150 * resolv/netdb.h: Likewise.
28151 * resource/sys/resource.h: Likewise.
28152 * rt/aio.h: Likewise.
28153 * rt/bits/mqueue2.h: Likewise.
28154 * rt/mqueue.h: Likewise.
28155 * shadow/shadow.h: Likewise.
28156 * signal/signal.h: Likewise.
28157 * socket/send.c: Likewise.
28158 * socket/sendto.c: Likewise.
28159 * socket/sys/socket.h: Likewise.
28160 * stdio-common/printf.h: Likewise.
28161 * stdlib/bits/stdlib.h: Likewise.
28162 * stdlib/fmtmsg.h: Likewise.
28163 * stdlib/monetary.h: Likewise.
28164 * stdlib/stdlib.h: Likewise.
28165 * stdlib/ucontext.h: Likewise.
28166 * streams/stropts.h: Likewise.
28167 * string/argz.h: Likewise.
28168 * string/bits/string2.h: Likewise.
28169 * string/string.h: Likewise.
28170 * string/strings.h: Likewise.
28171 * sunrpc/rpc/auth.h: Likewise.
28172 * sunrpc/rpc/auth_des.h: Likewise.
28173 * sunrpc/rpc/clnt.h: Likewise.
28174 * sunrpc/rpc/netdb.h: Likewise.
28175 * sunrpc/rpc/pmap_clnt.h: Likewise.
28176 * sunrpc/rpc/xdr.h: Likewise.
28177 * sysdeps/generic/inttypes.h: Likewise.
28178 * sysdeps/generic/net/if.h: Likewise.
28179 * sysdeps/generic/sys/swap.h: Likewise.
28180 * sysdeps/gnu/net/if.h: Likewise.
28181 * sysdeps/gnu/utmpx.h: Likewise.
28182 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
28183 * sysdeps/i386/i486/bits/string.h: Likewise.
28184 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
28185 * sysdeps/s390/bits/string.h: Likewise.
28186 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
28187 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
28188 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
28189 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
28190 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
28191 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
28192 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
28193 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
28194 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
28195 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28196 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
28197 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28198 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
28199 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28200 * sysdeps/unix/sysv/linux/readv.c: Likewise.
28201 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
28202 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28203 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28204 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
28205 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
28206 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28207 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
28208 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
28209 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
28210 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
28211 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
28212 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
28213 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28214 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
28215 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
28216 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
28217 * sysvipc/sys/ipc.h: Likewise.
28218 * sysvipc/sys/msg.h: Likewise.
28219 * sysvipc/sys/sem.h: Likewise.
28220 * sysvipc/sys/shm.h: Likewise.
28221 * termios/termios.h: Likewise.
28222 * time/sys/time.h: Likewise.
28223 * time/time.h: Likewise.
28224 * wcsmbs/bits/wchar2.h: Likewise.
28225 * wcsmbs/uchar.h: Likewise.
28226 * wcsmbs/wchar.h: Likewise.
28227 * wctype/wctype.h: Likewise.
28228
0269750c
UD
28229 [BZ #13551]
28230 * Makeconfig: Remove all but ELF support including AIX support.
28231 * Makerules: Likewise.
28232 * config.h.in: Likewise.
28233 * config.make.in: Likewise.
28234 * configure: Likewise.
28235 * configure.in: Likewise.
28236 * csu/Makefile: Likewise.
28237 * csu/version.c: Likewise.
28238 * debug/Makefile: Likewise.
28239 * dlfcn/Makefile: Likewise.
28240 * elf/Makefile: Likewise.
28241 * extra-lib.mk: Likewise.
28242 * iconv/Makefile: Likewise.
28243 * include/libc-symbols.h: Likewise.
28244 * include/shlib-compat.h: Likewise.
28245 * resolv/Makefile: Likewise.
28246 * resolv/res_libc.c: Likewise.
28247 * rt/Makefile: Likewise.
28248 * sysdeps/i386/asm-syntax.h: Likewise.
28249 * sysdeps/i386/sysdep.h: Likewise.
28250 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28251 * sysdeps/mach/sysdep.h: Likewise.
28252 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
28253 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
28254 * sysdeps/s390/asm-syntax.h: Likewise.
28255 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28256 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28257 * sysdeps/sh/sysdep.h: Likewise.
28258 * sysdeps/unix/sparc/sysdep.h: Likewise.
28259 * sysdeps/wordsize-32/divdi3.c: Likewise.
28260 * sysdeps/x86_64/sysdep.h: Likewise.
28261
00bbd29b
UD
28262 * argp/Versions: Remove _argp_unlock_xxx.
28263
28264 [BZ #13559]
28265 * abilist/ld.abilist: Update. Adjust for removal of tls option.
28266 * abilist/libBrokenLocale.abilist: Likewise.
28267 * abilist/libanl.abilist: Likewise.
28268 * abilist/libc.abilist: Likewise.
28269 * abilist/libcrypt.abilist: Likewise.
28270 * abilist/libdl.abilist: Likewise.
28271 * abilist/libm.abilist: Likewise.
28272 * abilist/libnsl.abilist: Likewise.
28273 * abilist/libpthread.abilist: Likewise.
28274 * abilist/libresolv.abilist: Likewise.
28275 * abilist/librt.abilist: Likewise.
28276 * abilist/libthread_db.abilist: Likewise.
28277 * abilist/libutil.abilist: Likewise.
28278 * abilist/libnss_db.abilist: New file.
28279
28280 * scripts/abilist.awk: Add support for indirect functions.
28281
a2693a0e
UD
28282 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
28283
3f05895f
UD
28284 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
28285
ecb6fb48
UD
28286 * shlib-versions: Remove entries for ports architectures.
28287
664f8cb9
UD
28288 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
28289 files in ports.
28290 * elf/stackguard-macros.h: Remove support for IA-64.
28291 * elf/tst-auditmod1.c: Likewise.
28292 * sysdeps/generic/ldsodefs.h: Likewise.
28293
7ae81d88
UD
28294 * sysdeps/unix/sysv/linux/configure.in: Ports should define
28295 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
28296 configure files.
28297
bdeba135
UD
28298 [BZ #13552]
28299 * configure.in: Remove --enable-omitfp support.
28300 * FAQ.in: Adjust.
28301 * config.make.in: Likewise.
28302 * Makeconfig: Likewise.
28303 * manual/install.texi: Likewise.
28304
d75a0a62
UD
28305 In case anyone cares, the IA-64 architecture could move to ports.
28306 * sysdeps/ia64/*: Removed.
28307 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 28308 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 28309
dcc9756b
UD
28310 [BZ #13555]
28311 * configure.in: Remove entries for unsupported architectures.
28312
d3761ebc 28313 [BZ #13533]
9954432e
UD
28314 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
28315 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
28316 routines.
28317 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
28318 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
28319 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
28320 fall back to using wcrtomb.
28321 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
28322 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
28323 renaming.
28324 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
28325 * wcsmbs/tst-c16c32-1.c: New file.
28326
28327 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
28328 local variable.
28329
c3a87236
UD
28330 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
28331
28926a1b
UD
28332 * elf/tst-unique3.cc: Add explicit declaration of gets.
28333 * elf/tst-unique3lib.cc: Likewise.
28334 * elf/tst-unique3lib2.cc: Likewise.
28335 * elf/tst-unique4.cc: Likewise.
28336
df78418a
UD
28337 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
28338
8ecd6b2a
JM
283392012-01-06 Joseph Myers <joseph@codesourcery.com>
28340
28341 [BZ #13566]
28342 * assert/assert.h (static_assert): Don't define for C++.
28343 * libio/stdio.h (gets): Do declare for C++ <= C++11.
28344 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
28345
9f115170
UD
283462012-01-03 Ulrich Drepper <drepper@gmail.com>
28347
5e0d0300
UD
28348 * iconv/loop.c (single loop): Fix assertion in storing of
28349 remaining bytes.
28350
9f115170
UD
28351 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
28352
81fb02b0
UD
283532012-01-01 Ulrich Drepper <drepper@gmail.com>
28354
28355 * posix/getconf.c: Update copyright year.
28356 * nss/getent.c: Likewise.
a316c1f6 28357 * nss/makedb.c: Likewise.
81fb02b0
UD
28358 * iconv/iconvconfig.c: Likewise.
28359 * iconv/iconv_prog.c: Likewise.
28360 * elf/ldconfig.c: Likewise.
a316c1f6
UD
28361 * elf/pldd.c: Likewise.
28362 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
28363 * catgets/gencat.c: Likewise.
28364 * csu/version.c: Likewise.
28365 * elf/ldd.bash.in: Likewise.
28366 * elf/sprof.c (print_version): Likewise.
28367 * locale/programs/locale.c: Likewise.
28368 * locale/programs/localedef.c: Likewise.
a316c1f6 28369 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
28370 * nscd/nscd.c (print_version): Likewise.
28371 * debug/xtrace.sh: Likewise.
28372 * malloc/memusage.sh: Likewise.
28373 * malloc/mtrace.pl: Likewise.
28374 * debug/catchsegv.sh: Likewise.
28375
2ba92745
JJ
283762011-12-30 Jakub Jelinek <jakub@redhat.com>
28377
28378 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
28379 pure attribute.
28380
dadebdae
UD
283812011-12-24 Ulrich Drepper <drepper@gmail.com>
28382
d3761ebc 28383 [BZ #13533]
db6af3eb
UD
28384 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
28385 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
28386 transformations.
28387 * iconv/gconv_int.h: Likewise.
28388 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
28389 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
28390 from libc for GLIBC_2.16.
28391 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
28392 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
28393 * wcsmbs/uchar.h: Really define mbstate_t.
28394 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
28395 * wcsmbs/c16rtomb.c: New file.
28396 * wcsmbs/mbrtoc16.c: New file.
28397 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
28398 for C/POSIX locale.
28399 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
28400 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
28401
dadebdae
UD
28402 * wcsmbs/wchar.h: Add missing __restrict.
28403
67371b56
UD
284042011-12-23 Ulrich Drepper <drepper@gmail.com>
28405
74033a25
UD
28406 [BZ #13532]
28407 * time/Makefile (routines): Add timespec_get.
28408 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
28409 * time/time.h: Define TIME_UTC and declare timespec_get. Define
28410 timespec for ISO C11.
28411 * time/timespec_get.c: New file.
28412 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
28413 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
28414
380d7e87
UD
28415 [BZ #13531]
28416 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
28417 * stdlib/stdlib.h: Declare aligned_alloc.
28418 * Versions.def: Add GLIBC_2.16 for libc.
28419 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
28420
4e9e7a35
UD
28421 [BZ 13527]
28422 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
28423 ISO C11.
28424
380d7e87 28425 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
28426 code.
28427
03a71829
UD
28428 [BZ #13528]
28429 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
28430
839e283e
UD
28431 [BZ #13529]
28432 * assert/assert.h (static_assert): Define.
28433
ce5294e2 28434 * version.h: Update for 2.16 development version.
90fa7312 28435
8d44e150 28436 [BZ #13526]
d7809905
UD
28437 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
28438 _ISOC11_SOURCE.
28439
c0da14cd
UD
28440 * version.h (RELEASE): Bump for 2.15 release.
28441 * include/features.h (__GLIBC_MINOR__): Bump to 15.
28442
530a3249
MP
28443 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
28444 Patch by Marek Polacek <mpolacek@redhat.com>.
28445
67371b56
UD
28446 * bits/byteswap.h: Protect long long constants with __extension__.
28447 * sysdeps/i386/bits/byteswap.h: Likewise.
28448 * sysdeps/ia64/bits/byteswap.h: Likewise.
28449 * sysdeps/s390/bits/byteswap.h: Likewise.
28450 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28451
15db4de1
LD
284522011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28453
28454 [BZ #13540]
bbe315ea
LD
28455 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
28456 destination buffer.
15db4de1
LD
28457 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
28458
2b2596b1
MP
284592011-12-23 Marek Polacek <polacek@redhat.com>
28460
28461 * elf/dl-addr.c (determine_info): Add inline keyword.
28462 * elf/tst-auditmod4b.c (check_avx): Likewise.
28463 * elf/tst-auditmod6b.c (check_avx): Likewise.
28464 * elf/tst-auditmod6c.c (check_avx): Likewise.
28465 * elf/tst-auditmod7b.c (check_avx): Likewise.
28466
70c6c246
UD
284672011-12-23 Ulrich Drepper <drepper@gmail.com>
28468
28469 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
28470 !__SSE_MATH__.
28471
c044cf14
LD
284722011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28473
15db4de1 28474 [BZ #13540]
c044cf14
LD
28475 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
28476 processing for last bytes.
28477
6b13d9d9
BH
284782011-08-06 Bruno Haible <bruno@clisp.org>
28479
d455f537
BH
28480 [BZ #13061]
28481 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
28482 U+0385, not to U+1FEE.
28483
6b13d9d9
BH
28484 [BZ #13062]
28485 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
28486 entry for U+00A5 U+0301.
28487
db910efd
UD
284882011-12-22 Ulrich Drepper <drepper@gmail.com>
28489
27deeafc
UD
28490 [BZ #13166]
28491 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
28492 buffer for the output is too small.
28493
aed9d171
UD
28494 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
28495 optimization.
28496
db910efd
UD
28497 [BZ #13185]
28498 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
28499 SSE flags if possible.
28500
2bd779ae
LD
285012011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28502
e7f9dac3 28503 [BZ #13540]
2bd779ae
LD
28504 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
28505 processing for last bytes.
28506
154bfc16
JM
285072011-12-22 Joseph Myers <joseph@codesourcery.com>
28508
28509 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
28510 (syscall-list-default-options, syscall-list-default-condition)
28511 (syscall-list-includes): Define.
28512 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
28513 list of ABIs and options and #if conditions for each ABI. Do not
28514 handle common syscalls between ABIs specially.
28515 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
28516 Remove.
28517 (syscall-list-variants, syscall-list-32bit-options)
28518 (syscall-list-32bit-condition, syscall-list-64bit-options)
28519 (syscall-list-64bit-condition): Define.
28520 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
28521 (syscall-list-variants, syscall-list-32bit-options)
28522 (syscall-list-32bit-condition, syscall-list-64bit-options)
28523 (syscall-list-64bit-condition): Define.
28524 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
28525 Remove.
28526 (syscall-list-variants, syscall-list-32bit-options)
28527 (syscall-list-32bit-condition, syscall-list-64bit-options)
28528 (syscall-list-64bit-condition): Define.
28529 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
28530 Remove.
28531 (syscall-list-variants, syscall-list-32bit-options)
28532 (syscall-list-32bit-condition, syscall-list-64bit-options)
28533 (syscall-list-64bit-condition): Define.
28534
21eaf3a5
UD
285352011-12-22 Ulrich Drepper <drepper@gmail.com>
28536
16c6f992
UD
28537 * locale/iso-639.def: Add brx entry.
28538
41043168
UD
28539 [BZ #13328]
28540 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
28541 Proposed by Mariusz_Cukr <marcukr@op.pl>.
28542
21eaf3a5
UD
28543 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
28544 __feraiseexcept_renamed.
28545
e3a851a2
UD
285462011-12-21 Ulrich Drepper <drepper@gmail.com>
28547
4920765e
UD
28548 [BZ #13538]
28549 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
28550 EPOLLET with unsigned values.
28551 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28552 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28553
e3a851a2
UD
28554 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
28555 to large cancellation.
28556 * math/s_cacoshf.c: Likewise.
28557 * math/s_cacoshl.c: Likewise.
28558
b27e24b8
RK
285592011-11-18 Richard B. Kreckel <kreckel@ginac.de>
28560
28561 [BZ #13305]
aebefeee 28562 [BZ #12786]
b27e24b8
RK
28563 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
28564 * math/s_cacoshf.c: Likewise.
28565 * math/s_cacoshl.c: Likewise.
28566
ee190f67
UD
285672011-12-21 Ulrich Drepper <drepper@gmail.com>
28568
28569 [BZ #13439]
28570 * iconv/gconv.h: Define __GCONV_SWAP.
28571 * iconvdata/unicode.c: The swap bit must be stored in __flags.
28572 * iconvdata/utf-16.c: Likewise.
28573 * iconvdata/utf-32.c: Likewise.
28574
707f25df
AS
285752011-12-21 Andreas Schwab <schwab@linux-m68k.org>
28576
28577 [BZ #13524]
28578 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
28579 numerator after shifting it by one limb.
28580
d2daaa1e
RÁE
285812011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
28582
28583 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
28584 under [__USE_EXTERN_INLINES].
28585
a4647e72
UD
285862011-12-17 Ulrich Drepper <drepper@gmail.com>
28587
28588 [BZ #13446]
28589 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
28590
f0b264f1
AZ
285912011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28592
28593 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
28594 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
28595 optimized code.
28596 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
28597 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
28598 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
28599 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
28600 for strncasecmp/strncasecmp_l compilation.
28601 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
28602 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
28603
8ef4f244
MP
286042011-12-08 Marek Polacek <mpolacek@redhat.com>
28605
28606 [BZ #13484]
28607 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
28608 of __asm__.
28609
97ac2654
UD
286102011-12-17 Ulrich Drepper <drepper@gmail.com>
28611
28612 [BZ #13506]
28613 * time/tzfile.c (__tzfile_read): Check values from file header.
28614
91d2a845
WS
286152011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28616
28617 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
28618 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
28619 * powerpc/powerpc32/dl-start.S: Likewise.
28620 * powerpc/powerpc32/elf/start.S: Likewise.
28621 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28622 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
28623 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
28624 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
28625 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
28626 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
28627 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
28628 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28629 * powerpc/powerpc32/fpu/s_round.S: Likewise.
28630 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
28631 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
28632 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
28633 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
28634 * powerpc/powerpc32/memset.S: Likewise.
28635 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
28636 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28637 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28638 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28639 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28640 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28641 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28642 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28643 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
28644 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
28645 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
28646 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28647 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28648
a1267ba1
AZ
286492011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28650
28651 * math/libm-test.inc: Added more nearbyint tests.
28652 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
28653 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
28654 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
28655 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
28656
ad8ac1bd
RL
286572011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
28658
28659 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
28660 FD_CLOEXEC.
28661
1d3e4b61
UD
286622011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28663
28664 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
28665 Add wcscpy-ssse3 wcscpy-c.
28666 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
28667 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
28668 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
28669 * sysdeps/x86_64/wcschr.S: New file.
28670 * sysdeps/x86_64/wcsrchr.S: New file.
28671 * string/test-strcmp.c: Remove checking of wcscmp function for
28672 wrong alignments.
28673 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
28674 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
28675 wcsrchr-sse2 wcsrchr-c.
28676 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
28677 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
28678 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
28679 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
28680 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
28681 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
28682 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
28683 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
28684 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
28685 * wcsmbc/wcschr.c (WCSCHR): New macro.
28686
5b330a2d
UD
286872011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28688
28689 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
28690 * wcsmbs/test-wcsrchr.c: New file.
28691 * string/test-strrchr.c: Add wcsrchr support.
28692 (WIDE): New macro.
28693 * wcsmbs/test-wcscpy.c: New file.
28694 * string/test-strcpy.c: Add wcscpy support.
28695 (WIDE): New macro.
26428b7c 28696
f039c043
UD
286972011-12-10 Ulrich Drepper <drepper@gmail.com>
28698
28699 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
28700 the inner loop.
28701
850fb039
AS
287022011-12-06 Andreas Schwab <schwab@linux-m68k.org>
28703
28704 [BZ #13472]
28705 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
28706
4efbd5cb
UD
287072011-12-04 Ulrich Drepper <drepper@gmail.com>
28708
52ff5dd0 28709 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 28710 Minor optimizations.
52ff5dd0 28711
4efbd5cb
UD
28712 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
28713 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
28714 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
28715
8a426e12
UD
287162011-12-03 Ulrich Drepper <drepper@gmail.com>
28717
aff2453d
UD
28718 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
28719 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
28720 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
28721 for gcc to avoid warnings.
28722 * inet/Makefile (tests): Add tst-checks.
28723 * inet/tst-checks.c: New file.
28724
28725 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
28726 warning.
28727
28728 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
28729 __wmemcmp_sse2.
28730
28731 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
28732 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
28733
8a426e12
UD
28734 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
28735
9bea3473
UD
287362011-12-02 Ulrich Drepper <drepper@gmail.com>
28737
3a965496
UD
28738 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
28739 problem.
28740
9bea3473
UD
28741 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
28742
f101631b
UD
287432011-11-29 Joseph Myers <joseph@codesourcery.com>
28744
28745 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
28746 conditional on GCC version.
28747 (__arch_compare_and_exchange_val_8_acq)
28748 (__arch_compare_and_exchange_val_16_acq)
28749 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
28750 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
28751 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
28752
a98275aa
UD
287532011-12-02 Joseph Myers <joseph@codesourcery.com>
28754
28755 * sysdeps/sh/backtrace.c: New file.
28756
d4cc29a2
AS
287572011-12-02 Andreas Schwab <schwab@redhat.com>
28758
28759 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
28760 parenthesis.
28761
6257af2d
AS
287622011-12-01 Andreas Schwab <schwab@redhat.com>
28763
28764 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
28765 falling back to utime.
28766
b5f44c1a
AS
287672011-11-30 Andreas Schwab <schwab@redhat.com>
28768
28769 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
28770 expectations for float.
28771
f3a6cc0a
AS
287722011-11-29 Andreas Schwab <schwab@redhat.com>
28773
28774 * locale/weight.h (findidx): Add parameter len.
28775 * locale/weightwc.h (findidx): Likewise.
28776 * posix/fnmatch_loop.c (FCT): Adjust caller.
28777 * posix/regcomp.c (build_equiv_class): Likewise.
28778 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
28779 * posix/regexec.c (check_node_accept_bytes): Likewise.
28780 * string/strcoll_l.c (STRCOLL): Likewise.
28781 * string/strxfrm_l.c (STRXFRM): Likewise.
28782
9d65ea3a
UD
287832011-11-17 Ulrich Drepper <drepper@gmail.com>
28784
28785 * Makefile.in: Remove CVSOPT handling.
28786 * configure.in: Remove use of AC_REVISION.
28787 * iconvdata/Makefile (distribute): No need to filter out CVS.
28788 * scripts/list-sources.sh: Remove CVS, subversion and monotone
28789 handling.
28790
5583a086
AS
287912011-11-16 Andreas Schwab <schwab@redhat.com>
28792
28793 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
28794 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
28795 [USE_AS_STRNCASECMP_L]: Likewise.
28796 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
28797 NO_TLS_DIRECT_SEG_REFS.
28798 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
28799 Fix argument offsets for non-PIC.
28800 [USE_AS_STRNCASECMP_L]: Likewise.
28801 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
28802 NO_TLS_DIRECT_SEG_REFS.
28803
d62a8200
UD
288042011-11-15 Ulrich Drepper <drepper@gmail.com>
28805
9d65ea3a 28806 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
28807 O_CLOEXEC.
28808 * locale/loadlocale.c (_nl_load_locale): Likewise.
28809
09f93bd3
AS
288102011-11-15 Andreas Schwab <schwab@redhat.com>
28811
446514f9
AS
28812 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
28813 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
28814 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
28815 (SYSCALL_GETTIME): Set errno on error.
28816
09f93bd3
AS
28817 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
28818 count references to noai6ai_cached.
28819
312be3f9
UD
288202011-11-15 Ulrich Drepper <drepper@gmail.com>
28821
28822 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
28823
28824 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
28825 FD_CLOEXEC for /proc/self/maps.
28826
28827 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
28828 FD_CLOEXEC for /proc/meminfo.
28829
28830 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
28831 gai.conf.
28832
28833 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
28834 FD_CLOEXEC for given file.
28835
28836 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
28837
28838 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
28839 FD_CLOEXEC for /etc/hosts.
28840 (_gethtent): Likewise.
28841
28842 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
28843
28844 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
28845 cancellation and set FD_CLOEXEC for /etc/netgroup.
28846
28847 * nss/nss_files/files-key.c (search): Don't allow cancellation when
28848 reading /etc/publickey.
28849
28850 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
28851 allow cancellation when reading /etc/group.
28852
28853 * nss/nss_files/files-alias.c (internal_setent): Don't allow
28854 cancellation.
28855 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
28856
28857 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
28858 when using data file.
28859
28860 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
28861
28862 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
28863 (write_nis_obj): Use "c" and "e" in fopen.
28864
28865 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
28866
28867 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
28868
28869 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
28870
28871 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
28872
28873 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
28874 locale.alias.
28875
28876 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
28877
28878 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
28879
28880 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
28881
28882 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
28883 file parsing and set FD_CLOEXEC.
28884
82af0fa8
UD
288852011-11-14 Ulrich Drepper <drepper@gmail.com>
28886
28887 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
28888
a5fb313c
AS
288892011-11-14 Andreas Schwab <schwab@redhat.com>
28890
28891 * malloc/arena.c (arena_get2): Don't call reused_arena when
28892 _int_new_arena failed.
28893
6abf3465
UD
288942011-11-14 Ulrich Drepper <drepper@gmail.com>
28895
28896 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
28897 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
28898 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
28899 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28900 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28901 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
28902 to compile strcasecmp and strncasecmp.
28903 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
28904 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
28905
28906 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
28907
76e3966e
UD
289082011-11-13 Ulrich Drepper <drepper@gmail.com>
28909
28910 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
28911 locale-defines.sym to gen-as-const-headers.
28912 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
28913 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
28914 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
28915 to compile strcasecmp and strncasecmp.
28916 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
28917 strcasecmp_l and strncasecmp_l.
28918 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
28919 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
28920 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
28921 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
28922 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
28923 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
28924 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
28925 * sysdeps/i386/i686/multiarch/strncase.S: New file.
28926 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
28927 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
28928 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
28929
ab26144e
UD
289302011-11-12 Ulrich Drepper <drepper@gmail.com>
28931
7edb22ef
UD
28932 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
28933 result of SYSDEP_GETTIME_CPU to retval.
28934 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
28935 parameter list to macro. Remove trailing semicolon. Adjust users.
28936
9694fc44
UD
28937 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
28938 variable.
28939
8ad89ef8
UD
28940 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
28941 mantissa words.
28942 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
28943
0c822ef9
UD
28944 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
28945 from unused variable.
28946
874e0564
UD
28947 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
28948 DWARF definitions.
28949 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
28950 for assembling.
28951
3a2edc79
UD
28952 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
28953 over namespaces.
28954
f3c2577f
UD
28955 * sunrpc/rpc_prot.c (rejected): Fix case value.
28956
294ce126
UD
28957 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
28958 unsigned long long int to avoid warnings in shift.
28959
5e2b63c6
UD
28960 * posix/regex_internal.c (re_string_reconstruct): Actually use result
28961 of use of trans.
28962 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
28963 variable tmp.
28964
e7f4b08e
UD
28965 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
28966 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
28967 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
28968
ab26144e
UD
28969 * nis/nis_table.c (nis_list): Use variable of correct type for
28970 result of __follow_path call.
28971
8a6d5255
AZ
289722011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28973
28974 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
28975 of math functions ceil, trunc, floor, round, and sqrt, when
28976 avaliable on the platform.
28977 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
28978 name clash.
28979 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28980 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28981 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28982
aaddc98c
MP
289832011-10-30 Marek Polacek <mpolacek@redhat.com>
28984
28985 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
28986 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28987
95b7042b
RM
289882011-11-11 Roland McGrath <roland@hack.frob.com>
28989
28990 * include/unistd.h: Fix __readlink return type.
28991 Reported by Chris Metcalf <cmetcalf@tilera.com>.
28992
57769839
UD
289932011-11-11 Ulrich Drepper <drepper@gmail.com>
28994
28995 * stdlib/ucontext.h: Undo last change for makecontext.
28996
edc5984d
AS
289972011-11-11 Andreas Schwab <schwab@redhat.com>
28998
98591e58
AS
28999 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
29000
edc5984d
AS
29001 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
29002 * setjmp/setjmp.h: Mark functions as non-leaf.
29003 * setjmp/bits/setjmp2.h: Likewise.
29004 * stdlib/ucontext.h: Likewise.
29005
77cdc054
AS
290062011-11-10 Andreas Schwab <schwab@redhat.com>
29007
29008 * malloc/arena.c (_int_new_arena): Don't increment narenas.
29009 (reused_arena): Don't check arena limit.
29010 (arena_get2): Atomically check arena limit.
29011
fe72eebd
UD
290122011-11-08 Ulrich Drepper <drepper@gmail.com>
29013
5f078c32
UD
29014 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
29015 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
29016
fe72eebd
UD
29017 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
29018 instructions.
29019
ae1bc2fa
AS
290202011-11-07 Andreas Schwab <schwab@redhat.com>
29021
7583a88d
AS
29022 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
29023 handler when locking.
29024
ae1bc2fa
AS
29025 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29026 Fix size of allocated buffer.
29027
10fb0bfa
AS
290282011-11-04 Andreas Schwab <schwab@redhat.com>
29029
998832a4
AS
29030 [BZ #10103]
29031 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
29032 declarations for long double functions.
29033 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
29034
10fb0bfa
AS
29035 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
29036
3d7ba52b
AS
290372011-11-03 Andreas Schwab <schwab@redhat.com>
29038
a9ae54a1
AS
29039 * nscd/nscd.c (main): Don't start AVC thread until credentials are
29040 installed.
29041
3d7ba52b
AS
29042 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
29043 is disabled.
29044
bc8db248
ST
290452011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
29046
29047 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
29048
45b96dd6
AS
290492011-11-01 Andreas Schwab <schwab@linux-m68k.org>
29050
647776f6
AS
29051 * include/alloca.h (stackinfo_alloca_round): Define.
29052 (extend_alloca): Use it.
29053 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
29054 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
29055 here.
29056
d91a8b93
AS
29057 * scripts/check-local-headers.sh: Ignore libaudit.h.
29058
45b96dd6
AS
29059 * nscd/Makefile (extra-objs): Make recursively expanded.
29060
432d41ce
UD
290612011-11-01 Ulrich Drepper <drepper@gmail.com>
29062
34372fc6
UD
29063 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
29064 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29065
fadb59f8
UD
29066 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
29067 * posix/tst-rfc3484-2.c: Likewise.
29068 * posix/tst-rfc3484-3.c: Likewise.
29069
78239589
UD
29070 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29071 process_vm_writev.
29072 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
29073 process_vm_writev.
29074 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
29075 process_vm_writev from libc using GLIBC_2.15 version.
29076
432d41ce
UD
29077 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
29078
02f9c6cf
PP
290792011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
29080
29081 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
29082 stack usage.
29083
3a2c0242
UD
290842011-10-31 Ulrich Drepper <drepper@gmail.com>
29085
f4ec4833
UD
29086 [BZ #13367]
29087 * nss/getent.c (initgroups_keys): Show error message in case no group
29088 names are given.
29089
3a2c0242
UD
29090 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
29091 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
29092 __bump_nl_timestamp.
29093 * nscd/connections (nscd_init): When host database is served open
29094 netlink socket and request notification about configuration changes.
29095 (main_loop_poll): Track netlink file descriptor and bump timestamp
29096 in case data becomes available.
29097 (main_loop_epoll): Likewise.
29098 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
29099 (database_pers_head): Add extra_data fileds.
29100 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
29101 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
29102 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
29103 Adjust caller.
29104 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
29105 in6ai data, call __free_in6ai.
29106 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
29107 Add -DHAVE_NETLINK.
29108 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
29109 interface information. Reuse previous data if netlink timestamp
29110 is not changed.
29111 (__bump_nl_timestamp): New function.
29112 (__free_in6ai): New function.
29113
636064eb
UD
291142011-10-30 Ulrich Drepper <drepper@gmail.com>
29115
29116 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
29117 close_not_cancel_no_status here.
29118 (__check_pf): Reorganize code a bit to not call close twice if OOM.
29119
9beb2334
UD
291202011-10-29 Ulrich Drepper <drepper@gmail.com>
29121
6ef76f3b
UD
29122 [BZ #13276]
29123 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
29124 return value.
29125
0ffc4f3e 29126 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
29127 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
29128 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
29129
cb95113e
UD
291302011-07-03 Andreas Jaeger <aj@suse.de>
29131
29132 [BZ #10709]
29133 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
29134 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
29135 * math/libm-test.inc (sin_test): Add test case.
29136
a1b560ff
UD
291372011-10-29 Ulrich Drepper <drepper@gmail.com>
29138
c9aaface
UD
29139 [BZ #13337]
29140 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
29141 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29142
d272e7f1
UD
29143 * elf/chroot_canon.c (chroot_canon): Cleanups.
29144
1bc33071
UD
29145 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
29146
1760874d
TJ
29147 [BZ #13335]
29148 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
29149 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29150
51d91b18
UD
29151 * string/test-strchr.c: Make usable for strchrnul testing.
29152 * string/test-strchrnul.c: New file.
29153 * string/Makefile (strop-tests): Add strchrnul.
29154
a1b560ff 29155 * po/it.po: Update from translation team.
b611fb81 29156 * po/es.po: Likewise.
a1b560ff 29157
a5b81e1f
UD
291582011-10-28 Ulrich Drepper <drepper@gmail.com>
29159
fd52bc6d
UD
29160 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
29161 the three constants needed as parameters. Drop the others.
29162 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
29163 __m128i_strloadu_tolower.
52e4b9eb
UD
29164 Create and initialize variable zero and use it in all the places
29165 where _mm_setzero_si128 was used.
fd52bc6d 29166
a5b81e1f
UD
29167 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
29168 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
29169 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
29170 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
29171 anymore.
29172 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
29173 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
29174 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
29175 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
29176 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
29177 __mpranred, __mptan.
29178 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
29179 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
29180 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
29181 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
29182 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
29183 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
29184 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
29185 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
29186 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
29187
b4343346
AS
291882011-10-28 Andreas Schwab <schwab@redhat.com>
29189
0c92d8a8
AS
29190 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
29191 redefine if SHARED.
29192 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
29193
b4343346
AS
29194 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
29195 wide char related routines to wcsmbs subdir.
29196
3871f58f
AS
291972011-10-27 Andreas Schwab <schwab@redhat.com>
29198
29199 [BZ #13344]
29200 * misc/sys/cdefs.h (__THROWNL): Define.
29201 * posix/unistd.h: Use __THREADNL instead of __THREAD
29202 for memory synchronization functions.
29203
94d44d9f
RM
292042011-10-26 Roland McGrath <roland@hack.frob.com>
29205
21b64b15 29206 [BZ #13349]
94d44d9f
RM
29207 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
29208 doesn't exist.
29209 * manual/stdio.texi (Obstack Streams): Node removed.
29210
f6ce9294
AS
292112011-10-26 Andreas Schwab <schwab@redhat.com>
29212
80479147
AS
29213 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
29214 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29215 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29216
f6ce9294
AS
29217 * math/math_private.h (math_force_eval): Allow non-addressable
29218 arguments.
29219 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
29220
618280a1
UD
292212011-10-25 Ulrich Drepper <drepper@gmail.com>
29222
e0016b11
UD
29223 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
29224 file is not needed.
29225
29226 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
29227 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
29228 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29229 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29230 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29231 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29232 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29233 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
29234 Add AVX variants.
29235 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
29236 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
29237 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
29238 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
29239 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
29240 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
29241 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
29242 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
29243 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
29244 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
29245 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
29246 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
29247 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
29248 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
29249 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
29250 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
29251 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
29252 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
29253 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
29254
29255 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
29256 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
29257
618280a1
UD
29258 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
29259 place. Use VEX encoding when compiling for AVX.
29260
37822576
AS
292612011-10-25 Andreas Schwab <schwab@redhat.com>
29262
1f1e1947
AS
29263 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
29264 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29265
37822576
AS
29266 * string/test-strchr.c (do_test): Don't generate NUL bytes.
29267
31ea014d
UD
292682011-10-25 Ulrich Drepper <drepper@gmail.com>
29269
d7826aa1 29270 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 29271 useless if() expression.
d7826aa1
UD
29272 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29273 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29274 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29275 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29276 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29277 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29278 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29279 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29280 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29281 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29282 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29283 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29284 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29285 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29286 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29287 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29288 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29289 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29290 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29291
31ea014d
UD
29292 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
29293
16437fec
AS
292942011-10-25 Andreas Schwab <schwab@redhat.com>
29295
29296 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
29297 condition.
29298 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29299
31d3cc00
UD
293002011-10-25 Ulrich Drepper <drepper@gmail.com>
29301
29302 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
29303 .text section. Avoid duplicate constants.
29304 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29305 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29306 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29307 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29308 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29309 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29310 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29311 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29312 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29313 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
29314 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29315 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29316 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29317 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29318 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29319 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29320 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29321 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29322 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29323 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29324 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29325 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29326 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29327 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
29328 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
29329 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
29330 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
29331 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
29332 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
29333 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
29334 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
29335 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
29336 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29337 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
29338 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
29339 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
29340 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
29341 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
29342 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
29343 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
29344 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
29345 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
29346 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
29347 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
29348 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
29349
58985aa9
UD
293502011-10-24 Ulrich Drepper <drepper@gmail.com>
29351
202c9deb
UD
29352 * sysdeps/x86_64/dla.h: Move to ...
29353 * sysdeps/x86_64/fpu/dla.h: ...here.
29354 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
29355 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 29356
af968f62
UD
29357 * config.make.in: Add have-mfma4 entry.
29358 * configure.in: Substitute libc_cv_cc_fma4.
29359 * math/Makefile (dbl-only-routines): Add sincostab.
29360 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
29361 Use __sincostab not sincos.
29362 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
29363 name is a macro.
29364 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29365 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29366 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29367 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
29368 using __copysign.
29369 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
29370 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
29371 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
29372 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
29373 and __inv.
29374 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
29375 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
29376 __copysign.
29377 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
29378 define aliases when function name is a macro.
29379 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
29380 sysdeps/ieee754/dbl-64/sincos.tbl.
29381 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
29382 fma4-enabled routines.
29383 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
29384 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
29385 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
29386 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
29387 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
29388 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
29389 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
29390 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
29391 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
29392 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
29393 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
29394 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
29395 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
29396 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
29397 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
29398 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
29399 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
29400 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
29401 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
29402 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
29403 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
29404 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
29405 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
29406 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
29407 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
29408 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
29409 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
29410 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
29411 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
29412 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
29413
58985aa9
UD
29414 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
29415 rename.
29416 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29417 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29418 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29419 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29420 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29421 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29422 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29423 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29424
a201fbcf
AS
294252011-10-24 Andreas Schwab <schwab@redhat.com>
29426
29427 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
29428
fc2ee42a
LD
294292011-10-23 Ulrich Drepper <drepper@gmail.com>
29430
bb3129bd
UD
29431 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
29432
0275fff8
UD
29433 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
29434 prediction.
29435 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
29436
2fa2ae85
UD
29437 * string/strnlen.c: Don't define STRNLEN, reverse logic.
29438 Remove unused variable magic_bits.
29439 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
29440
fc2ee42a
LD
29441 * string/strnlen.c: Define and use STRNLEN macro.
29442 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
29443 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
29444 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
29445 * wcsmbs/wcslen.c: Define and use WCSLEN.
29446 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
29447 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
29448 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
29449 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
29450 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
29451 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
29452 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29453
ce7dd29f
LD
294542011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29455
29456 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29457 strnlen-sse2-no-bsf.
29458 Rename strlen-no-bsf to strlen-sse2-no-bsf.
29459 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
29460 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
29461 Add strnlen support.
29462 (USE_AS_STRNLEN): New macro.
29463 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
29464 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
29465 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
29466 * sysdeps/x86_64/wcslen.S: New file.
29467
979c70a3
MZ
294682011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
29469
29470 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
29471 XMM-moves are used for copying on small sizes.
29472
2d09f82f
LD
294732011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29474
29475 * wcsmbs/Makefile (strop-tests): Add wcschr.
29476 * wcsmbs/test-wcschr.c: New file.
29477 * string/test-strchr.c: Update.
29478 Add wcschr support.
29479 (WIDE): New macro.
29480
619fccca
LD
294812011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29482
2d09f82f 29483 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
29484 * wcsmbs/test-wcslen.c: New file.
29485 * string/test-strlen.c: Update.
29486 Add wcslen support.
29487 (WIDE): New macro.
29488
09f699ea
UD
294892011-10-23 Ulrich Drepper <drepper@gmail.com>
29490
29491 * po/it.po: Update from translation team.
29492
95584d3b
LD
294932011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29494
29495 * sysdeps/x86_64/wcscmp.S: Update.
29496 Fix wrong comparison semantics.
29497 wcscmp shall use signed comparison not unsigned.
29498 Don't use substraction to avoid overflow bug.
29499 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
29500 * wcsmbc/wcscmp.c: Likewise.
29501 * string/test-strcmp.c: Likewise.
29502 Add new tests to check cases with negative values.
29503
c8b3296b
UD
295042011-10-23 Ulrich Drepper <drepper@gmail.com>
29505
29506 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
29507 * sysdeps/x86_64/dla.h: ...here. New file.
29508 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
29509 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29510 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29511 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29512 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29513 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29514 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29515 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29516 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29517
246ad57a
AS
295182011-10-23 Andreas Schwab <schwab@linux-m68k.org>
29519
29520 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
29521 __ynl_finite aliases.
29522
a1a87169
UD
295232011-10-22 Ulrich Drepper <drepper@gmail.com>
29524
0d355eb7
UD
29525 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29526
a1a87169
UD
29527 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
29528 define DLA_FMA.
29529 [DLA_FMA] (EMULV): Use DLA_FMA.
29530 [DLA_FMA] (MUL12): Use EMULV.
29531 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
29532 that are not needed.
29533 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29534 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29535 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29536 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29537 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29538 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29539 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29540
ee2aafe0
AS
295412011-10-22 Andreas Schwab <schwab@linux-m68k.org>
29542
29543 * math/s_nan.c: Undef __nan.
29544 * math/s_nanf.c: Undef __nanf.
29545 * math/s_nanl.c: Undef __nanl.
29546 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
29547 "math_private.h".
29548
bc62c2fb
UD
295492011-10-22 Ulrich Drepper <drepper@gmail.com>
29550
77425c63
UD
29551 * math/s_catan.c: Add branch predictions.
29552 * math/s_catanf.c: Likewise.
29553 * math/s_catanh.c: Likewise.
29554 * math/s_catanhf.c: Likewise.
29555 * math/s_catanhl.c: Likewise.
29556 * math/s_catanl.c: Likewise.
29557 * math/s_cexp.c: Likewise.
29558 * math/s_cexpf.c: Likewise.
29559 * math/s_cexpl.c: Likewise.
29560 * math/s_clog.c: Likewise.
29561 * math/s_clog10.c: Likewise.
29562 * math/s_clog10f.c: Likewise.
29563 * math/s_clog10l.c: Likewise.
29564 * math/s_clogf.c: Likewise.
29565 * math/s_clogl.c: Likewise.
29566 * math/s_csqrt.c: Likewise.
29567 * math/s_csqrtf.c: Likewise.
29568 * math/s_csqrtl.c: Likewise.
29569 * math/s_ctanf.c: Likewise.
29570 * math/s_ctanh.c: Likewise.
29571 * math/s_ctanhf.c: Likewise.
29572 * math/s_ctanhl.c: Likewise.
29573 * math/s_ctanl.c: Likewise.
29574
bc62c2fb
UD
29575 * math/math_private.h: Define __nan, __nanf, __nanl.
29576 * math/s_cacosh.c: Include <math_private.h>.
29577 * math/s_cacoshl.c: Likewise.
29578 * math/s_casinh.c: Likewise.
29579 * math/s_casinhf.c: Likewise.
29580 * math/s_casinhl.c: Likewise.
29581 * math/s_ccos.c: Rely entire on ccosh.
29582 * math/s_ccosf.c: Rely entire on ccoshf.
29583 * math/s_ccosl.c: Rely entirely on ccoshl.
29584 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
29585 Remove tests for FE_INVALID.
29586 * math/s_ccoshf.c: Likewise.
29587 * math/s_ccoshl.c: Likewise.
29588 * math/s_csin.c: Likewise.
29589 * math/s_csinf.c: Likewise.
29590 * math/s_csinh.c Likewise.
29591 * math/s_csinhf.c: Likewise.
29592 * math/s_csinhl.c: Likewise.
29593 * math/s_csinl.c: Likewise.
29594 * math/s_ctan.c: Likewise.
29595 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
29596 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
29597 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
29598
8ec250a4
UD
295992011-10-21 Ulrich Drepper <drepper@gmail.com>
29600
c196fed8
UD
29601 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
29602 compilation problems.
29603
8ec250a4
UD
29604 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
29605 __builtin_expect.
29606
8d4f46c6
UD
296072011-10-20 Ulrich Drepper <drepper@gmail.com>
29608
ed72b654
UD
29609 * sysdeps/i386/configure.in: Test for -mfma4 option.
29610 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
29611 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
29612 COMMON_CPUID_INDEX_80000001.
29613 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
29614 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
29615 use it if FMA3 is not supported.
29616 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
29617
8d4f46c6
UD
29618 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
29619 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
29620
d45c60c2
AS
296212011-10-20 Andreas Schwab <schwab@redhat.com>
29622
29623 [BZ #12892]
29624 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
29625 it would create a cycle with a link time dependency.
29626
d9a4d2ab
UD
296272011-10-19 Ulrich Drepper <drepper@gmail.com>
29628
855d1560
UD
29629 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
29630 instruction.
29631 * string/Makefile (strop-tests): Add rawmemchr.
29632 * string/test-rawmemchr.c: New file.
29633
d9a4d2ab
UD
29634 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
29635 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
29636 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
29637 when compiling str{,n}casecmp and when AVX is available. Hook up
29638 new optimized code in initializers.
29639
8f3b1ffe
AS
296402011-10-19 Andreas Schwab <schwab@redhat.com>
29641
29642 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
29643 __feraiseexcept instead of feraiseexcept.
29644
d38f1dba
UD
296452011-10-18 Ulrich Drepper <drepper@gmail.com>
29646
d9a8d0ab
UD
29647 * math/math_private.h: Define defaults for libc_fetestexcept and
29648 libc_feupdateenv.
29649 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
29650 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
29651 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29652 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29653 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29654 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29655 libc_fetestexcept and libc_feupdateenv.
29656
4855e3dd
UD
29657 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
29658 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
29659 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
29660 * sysdeps/x86_64/fpu/math_private.h: Define special version of
29661 libc_feholdexcept_setround.
29662
581d30e3
UD
29663 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
29664 Add s_nearbyint-c and s_nearbyintf-c.
29665 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
29666 nearbyintf inlines.
29667 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
29668 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
29669 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
29670 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
29671
d38f1dba
UD
29672 * math/math_private.h: Define defaults for libc_fegetround,
29673 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
29674 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
29675 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
29676 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
29677 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
29678 standard functions.
29679 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29680 Remove comments and hacks for old compiler versions.
29681 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29682 libc_fegetround, libc_fesetround, libc_feholdexcept, and
29683 libc_feholdexceptl.
29684
caa6c9d8
AS
296852011-10-18 Andreas Schwab <schwab@redhat.com>
29686
29687 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
29688 (__feraiseexcept_renamed): Add __NTH.
29689 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
29690 namespace violations.
29691
97c066e6
UD
296922011-10-17 Ulrich Drepper <drepper@gmail.com>
29693
99ce7b04
UD
29694 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
29695
1004d182
UD
29696 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
29697
228a984d
UD
29698 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
29699 recently added interfaces.
29700 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
29701
c8553a6a
UD
29702 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
29703 about macro parameter expansion.
29704
ed22dcf6
UD
29705 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
29706 __NO_MATH_INLINES is defined. Cleanups.
29707
29708 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
29709 and __floorf is target has SSE4.1.
29710 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
29711 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
29712 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
29713 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
29714
b171c137
UD
29715 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
29716 name.
29717 (floorf): Likewise.
29718
97c066e6
UD
29719 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
29720
629f62ef
AS
297212011-10-17 Andreas Schwab <schwab@redhat.com>
29722
49a43d80
AS
29723 * misc/sys/cdefs.h: Fix last change.
29724
629f62ef
AS
29725 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
29726 database lookup.
29727
e453f6cd
UD
297282011-10-16 Ulrich Drepper <drepper@gmail.com>
29729
aa78043a
UD
29730 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
29731
ad0f5cad
UD
29732 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
29733 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29734 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29735 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29736 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29737 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29738 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29739 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29740 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29741 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
29742 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
29743 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
29744 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
29745 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
29746 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
29747 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
29748 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
29749 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
29750 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
29751 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
29752 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
29753 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
29754
29755 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
29756 ceil, ceilf, floor, floorf.
29757
29758 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
29759 Perform IRELATIVE relocations last.
29760
e453f6cd
UD
29761 * elf/do-rel.h: Add another parameter nrelative, replacing the
29762 local variable with the same name. Change name of the function
29763 to end in Rel or Rela (uppercase).
29764 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
29765 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
29766 elf_dynamic_do_##reloc function.
29767
fd5bdc09
UD
297682011-10-15 Ulrich Drepper <drepper@gmail.com>
29769
79b195b5
UD
29770 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
29771 is sufficient, at least on modern CPUs.
29772
d4a28569
UD
29773 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
29774
b61099b5
UD
29775 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
29776 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
29777
bcf01e6d
UD
29778 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
29779 __expl_finite.
29780 * math/bits/math-finite.h: Add entries for exp.
29781 * math/e_expl.c: Add __*_finite alias.
29782 * sysdeps/i386/fpu/e_exp.S: Likewise.
29783 * sysdeps/i386/fpu/e_expf.S: Likewise.
29784 * sysdeps/i386/fpu/e_expl.c: Likewise.
29785 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29786 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29787 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29788 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29789 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
29790 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29791 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29792
ba1a0d59
UD
29793 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
29794 is sufficient, at least on modern CPUs.
29795
fd5bdc09
UD
29796 * ctype/ctype-info.c (__ctype_init): Define.
29797 * include/ctype.h (__ctype_init): Declare.
29798 (__ctype_b_loc): The variable is always initialized.
29799 (__ctype_toupper_loc): Likewise.
29800 (__ctype_tolower_loc): Likewise.
29801 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
29802 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
29803
7872cfb0
AS
298042011-10-15 Andreas Schwab <schwab@linux-m68k.org>
29805
b468825a
AS
29806 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
29807
7872cfb0
AS
29808 * configure.in: Also look in $cxxmachine/include for C++ system
29809 headers.
29810
be13f7bf
LD
298112011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29812
29813 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
29814 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
29815 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
29816 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
29817 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
29818 (USE_AS_WMEMCMP): New macro.
29819 Fixing indents.
29820 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
29821 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
29822 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
29823 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
29824 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29825 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
29826 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
29827 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
29828 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
29829 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
29830 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
29831 (USE_AS_WMEMCMP): New macro.
29832 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
29833 * sysdeps/string/test-memcmp.c: Update.
29834 Fix simple_wmemcmp.
29835 Add new tests.
29836 * wcsmbs/wmemcmp.c: Update.
29837 (WMEMCMP): New macro.
29838 Fix overflow bug.
29839
556a2007
AJ
298402011-10-12 Andreas Jaeger <aj@suse.de>
29841
29842 [BZ #13268]
29843 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
29844
538faaa7
UD
298452011-10-15 Ulrich Drepper <drepper@gmail.com>
29846
ab6737ff
UD
29847 * libio/iofwide.c (do_length): Avoid warning.
29848
538faaa7
UD
29849 * ctype/ctype.h (__isctype_f): Add missing __THROW.
29850
396a21b1
UD
298512011-10-14 Ulrich Drepper <drepper@gmail.com>
29852
cdf2901f
UD
29853 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
29854
38ad40ce
UD
29855 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
29856 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
29857 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
29858 * sysdeps/i386/i686/fpu/e_log.S: New file.
29859 * sysdeps/i386/i686/fpu/e_logf.S: New file.
29860 * sysdeps/i386/i686/fpu/e_logl.S: New file.
29861
396a21b1
UD
29862 * ctype/ctype.h: Add support for inlined isXXX functions when
29863 compiling C++ code.
29864
6b1f68c9
AS
298652011-10-14 Andreas Schwab <schwab@redhat.com>
29866
349290c0
AS
29867 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29868
6b1f68c9
AS
29869 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
29870
f2282d42
RM
298712011-10-13 Roland McGrath <roland@hack.frob.com>
29872
29873 [BZ #13291]
29874 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
29875
5298ffa8
AS
298762011-10-13 Andreas Schwab <schwab@redhat.com>
29877
714fad23
AS
29878 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
29879 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
29880 feraiseexcept.
29881
81dcc7fb
AS
29882 * sysdeps/x86_64/memrchr.S: Check for zero size.
29883
5298ffa8
AS
29884 * string/stratcliff.c: Add memrchr tests.
29885
951fbcec
LD
298862011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29887
29888 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29889 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
29890 rawmemchr-sse2 rawmemchr-sse2-bsf.
29891 * sysdeps/i386/i686/multiarch/memchr.S: New file.
29892 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
29893 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
29894 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
29895 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
29896 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
29897 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
29898 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
29899 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
29900 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
29901 * string/memrchr.c (MEMRCHR): New macro.
29902
0ac5ae23
UD
299032011-10-12 Ulrich Drepper <drepper@gmail.com>
29904
29905 Add integration with gcc's -ffinite-math-only and optimize wrapper
29906 functions in libm.
29907 * Versions.def: Define GLIBC_2.15 version for libm.
29908 * math/Makefile (headers): Add bits/math-finite.h.
29909 * math/bits/math-finite.h: New file.
29910 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
29911 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
29912 * math/e_acoshl.c: Add __*_finite alias.
29913 * math/e_acosl.c: Likewise.
29914 * math/e_asinl.c: Likewise.
29915 * math/e_atan2l.c: Likewise.
29916 * math/e_atanhl.c: Likewise.
29917 * math/e_coshl.c: Likewise.
29918 * math/e_exp10.c: Likewise.
29919 * math/e_exp10f.c: Likewise.
29920 * math/e_exp10l.c: Likewise.
29921 * math/e_exp2l.c: Likewise.
29922 * math/e_fmodl.c: Likewise.
29923 * math/e_gammal_r.c: Likewise.
29924 * math/e_hypotl.c: Likewise.
29925 * math/e_j0l.c: Likewise.
29926 * math/e_j1l.c: Likewise.
29927 * math/e_jnl.c: Likewise.
29928 * math/e_lgammal_r.c: Likewise.
29929 * math/e_log10l.c: Likewise.
29930 * math/e_log2l.c: Likewise.
29931 * math/e_logl.c: Likewise.
29932 * math/e_powl.c: Likewise.
29933 * math/e_sinhl.c: Likewise.
29934 * math/e_sqrtl.c: Likewise.
29935 * math/e_scalb.c: Completely rewritten and optimized.
29936 * math/e_scalbf.c: Likewise.
29937 * math/e_scalbl.c: Likewise.
29938 * math/w_acos.c: Likewise.
29939 * math/w_acosf.c: Likewise.
29940 * math/w_acosl.c: Likewise.
29941 * math/w_acosh.c: Likewise.
29942 * math/w_acoshf.c: Likewise.
29943 * math/w_acoshl.c: Likewise.
29944 * math/w_asin.c: Likewise.
29945 * math/w_asinf.c: Likewise.
29946 * math/w_asinl.c: Likewise.
29947 * math/w_atan2.c: Likewise.
29948 * math/w_atan2f.c: Likewise.
29949 * math/w_atan2l.c: Likewise.
29950 * math/w_atanh.c: Likewise.
29951 * math/w_atanhf.c: Likewise.
29952 * math/w_atanhl.c: Likewise.
29953 * math/w_exp10.c: Likewise.
29954 * math/w_exp10f.c: Likewise.
29955 * math/w_exp10l.c: Likewise.
29956 * math/w_fmod.c: Likewise.
29957 * math/w_fmodf.c: Likewise.
29958 * math/w_fmodl.c: Likewise.
29959 * math/w_j0.c: Likewise.
29960 * math/w_j0f.c: Likewise.
29961 * math/w_j0l.c: Likewise.
29962 * math/w_j1.c: Likewise.
29963 * math/w_j1f.c: Likewise.
29964 * math/w_j1l.c: Likewise.
29965 * math/w_jn.c: Likewise.
29966 * math/w_jnf.c: Likewise.
29967 * math/w_log.c: Likewise.
29968 * math/w_logf.c: Likewise.
29969 * math/w_logl.c: Likewise.
29970 * math/w_log10.c: Likewise.
29971 * math/w_log10f.c: Likewise.
29972 * math/w_log10l.c: Likewise.
29973 * math/w_log2.c: Likewise.
29974 * math/w_log2f.c: Likewise.
29975 * math/w_log2l.c: Likewise.
29976 * math/w_pow.c: Likewise.
29977 * math/w_powf.c: Likewise.
29978 * math/w_powl.c: Likewise.
29979 * math/w_remainder.c: Likewise.
29980 * math/w_remainderf.c: Likewise.
29981 * math/w_remainderl.c: Likewise.
29982 * math/w_scalb.c: Likewise.
29983 * math/w_scalbf.c: Likewise.
29984 * math/w_scalbl.c: Likewise.
29985 * math/w_sqrt.c: Likewise.
29986 * math/w_sqrtf.c: Likewise.
29987 * math/w_sqrtl.c: Likewise.
29988 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
29989 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
29990 used.
29991 * math/math_private.h: Declare __kernel_standard_f.
29992 * math/w_cosh.c: Remove cruft and optimize a bit.
29993 * math/w_coshf.c: Likewise.
29994 * math/w_coshl.c: Likewise.
29995 * math/w_exp2.c: Likewise.
29996 * math/w_exp2f.c: Likewise.
29997 * math/w_exp2l.c: Likewise.
29998 * math/w_hypot.c: Likewise.
29999 * math/w_hypotf.c: Likewise.
30000 * math/w_hypotl.c: Likewise.
30001 * math/w_lgamma.c: Likewise.
30002 * math/w_lgamma_r.c: Likewise.
30003 * math/w_lgammaf.c: Likewise.
30004 * math/w_lgammaf_r.c: Likewise.
30005 * math/w_lgammal.c: Likewise.
30006 * math/w_lgammal_r.c: Likewise.
30007 * math/w_sinh.c: Likewise.
30008 * math/w_sinhf.c: Likewise.
30009 * math/w_sinhl.c: Likewise.
30010 * math/w_tgamma.c: Likewise.
30011 * math/w_tgammaf.c: Likewise.
30012 * math/w_tgammal.c: Likewise.
30013 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30014 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30015 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
30016 Minor optimizations. Pretty printing. Remove cruft.
30017 * sysdeps/i386/fpu/e_acosf.S: Likewise.
30018 * sysdeps/i386/fpu/e_acosh.S: Likewise.
30019 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30020 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30021 * sysdeps/i386/fpu/e_acosl.c: Likewise.
30022 * sysdeps/i386/fpu/e_asin.S: Likewise.
30023 * sysdeps/i386/fpu/e_asinf.S: Likewise.
30024 * sysdeps/i386/fpu/e_atan2.S: Likewise.
30025 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
30026 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
30027 * sysdeps/i386/fpu/e_atanh.S: Likewise.
30028 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30029 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30030 * sysdeps/i386/fpu/e_exp10.S: Likewise.
30031 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
30032 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
30033 * sysdeps/i386/fpu/e_exp2.S: Likewise.
30034 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
30035 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
30036 * sysdeps/i386/fpu/e_fmod.S: Likewise.
30037 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
30038 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
30039 * sysdeps/i386/fpu/e_hypot.S: Likewise.
30040 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
30041 * sysdeps/i386/fpu/e_log.S: Likewise.
30042 * sysdeps/i386/fpu/e_log10.S: Likewise.
30043 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30044 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30045 * sysdeps/i386/fpu/e_log2.S: Likewise.
30046 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30047 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30048 * sysdeps/i386/fpu/e_logf.S: Likewise.
30049 * sysdeps/i386/fpu/e_logl.S: Likewise.
30050 * sysdeps/i386/fpu/e_pow.S: Likewise.
30051 * sysdeps/i386/fpu/e_powf.S: Likewise.
30052 * sysdeps/i386/fpu/e_powl.S: Likewise.
30053 * sysdeps/i386/fpu/e_remainder.S: Likewise.
30054 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
30055 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
30056 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30057 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30058 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30059 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
30060 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
30061 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
30062 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30063 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30064 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30065 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30066 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30067 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30068 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
30069 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30070 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30071 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30072 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30073 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30074 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30075 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30076 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30077 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30078 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30079 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30080 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30081 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30082 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30083 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30084 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30085 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30086 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30087 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30088 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30089 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30090 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
30091 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
30092 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30093 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30094 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30095 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
30096 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
30097 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
30098 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
30099 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
30100 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
30101 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
30102 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
30103 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
30104 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
30105 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
30106 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30107 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
30108 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
30109 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
30110 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
30111 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
30112 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
30113 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30114 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30115 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30116 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30117 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
30118 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
30119 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
30120 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
30121 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
30122 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
30123 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30124 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30125 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30126 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30127 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30128 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30129 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30130 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
30131 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30132 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30133 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30134 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30135 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30136 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30137 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30138 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30139 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30140 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30141 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30142 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30143 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30144 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
30145 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30146 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30147 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30148 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30149 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30150 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30151 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30152 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30153 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30154 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30155 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
30156 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30157 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30158 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30159 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
30160 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
30161 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
30162 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
30163 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
30164 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
30165 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
30166 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30167 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30168 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30169 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30170 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
30171 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30172 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
30173 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
30174 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
30175 (__isnanf): Likewise.
30176 (__isinf_ns): Likewise.
30177 (__isinf_nsf): Likewise.
30178 (__finite): Likewise.
30179 (__finitef): Likewise.
30180 (__ieee754_sqrt): Define as macro.
30181 (__ieee754_sqrtf): Define as macro.
30182 (__ieee754_sqrtl): Define as macro.
30183 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
30184 inlined copy.
30185 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
30186 __FINITE_MATH_ONLY__ consistent.
30187 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
30188
12cc2fcd
AS
301892011-10-10 Andreas Schwab <schwab@linux-m68k.org>
30190
a843a204
AS
30191 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
30192 of rawmemchr.
30193
12cc2fcd
AS
30194 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
30195
c853acd5
UD
301962011-10-09 Ulrich Drepper <drepper@gmail.com>
30197
30198 * po/ja.po: Update from translation team.
30199
c658d255
RM
302002011-10-08 Roland McGrath <roland@hack.frob.com>
30201
110946e4
RM
30202 * locale/programs/locarchive.c (prepare_address_space): New function.
30203 (create_archive, enlarge_archive, open_archive): Use it.
30204
50604220
RM
30205 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
30206 inside [SHARED], where it is used.
30207
c658d255
RM
30208 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
30209
30210 * nss/getent.c (netgroup_keys): Remove unused variable.
30211 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30212
6a621eb7
UD
302132011-10-08 Ulrich Drepper <drepper@gmail.com>
30214
7edb55ce
UD
30215 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
30216 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
30217 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
30218 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
30219 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
30220 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
30221 * math/Makefile (libm-calls): Add s_isinf_ns.
30222 * math/divtc3.c: Use __isinf_nsl instead of isinf.
30223 * math/multc3.c: Likewise.
30224 * math/s_casin.c: Likewise.
30225 * math/s_casinf.c: Likewise.
30226 * math/s_casinl.c: Likewise.
30227 * math/s_ccos.c: Likewise.
30228 * math/s_ccosf.c: Likewise.
30229 * math/s_ccosl.c: Likewise.
30230 * math/s_ctan.c: Likewise.
30231 * math/s_ctanf.c: Likewise.
30232 * math/s_ctanh.c: Likewise.
30233 * math/s_ctanhf.c: Likewise.
30234 * math/s_ctanhl.c: Likewise.
30235 * math/s_ctanl.c: Likewise.
30236 * math/w_fmod.c: Likewise.
30237 * math/w_fmodf.c: Likewise.
30238 * math/w_fmodl.c: Likewise.
30239 * math/w_remainder.c: Likewise.
30240 * math/w_remainderf.c: Likewise.
30241 * math/w_remainderl.c: Likewise.
30242 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
30243 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
30244 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
30245 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
30246 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
30247 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
30248 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
30249 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
30250
187da0ae
UD
30251 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
30252 of the number.
30253 * stdio-common/printf_fphex.c: Likewise.
30254 * stdio-common/printf_size.c: Likewise.
30255
9277c064
UD
30256 * math/e_exp10.c: Include math_private.h using <...> not "...".
30257 * math/e_exp10f.c: Likewise.
30258 * math/e_exp10l.c: Likewise.
30259 * math/e_exp2l.c: Likewise.
30260 * math/e_j0l.c: Likewise.
30261 * math/e_j1l.c: Likewise.
30262 * math/e_jnl.c: Likewise.
30263 * math/e_lgammal_r.c: Likewise.
30264 * math/e_rem_pio2l.c: Likewise.
30265 * math/e_scalb.c: Likewise.
30266 * math/e_scalbf.c: Likewise.
30267 * math/e_scalbl.c: Likewise.
30268 * math/k_cosl.c: Likewise.
30269 * math/k_sinl.c: Likewise.
30270 * math/k_tanl.c: Likewise.
30271 * math/s_cacoshf.c: Likewise.
30272 * math/s_catan.c: Likewise.
30273 * math/s_catanf.c: Likewise.
30274 * math/s_catanh.c: Likewise.
30275 * math/s_catanhf.c: Likewise.
30276 * math/s_catanhl.c: Likewise.
30277 * math/s_catanl.c: Likewise.
30278 * math/s_ccosh.c: Likewise.
30279 * math/s_ccoshf.c: Likewise.
30280 * math/s_ccoshl.c: Likewise.
30281 * math/s_cexp.c: Likewise.
30282 * math/s_cexpf.c: Likewise.
30283 * math/s_cexpl.c: Likewise.
30284 * math/s_clog.c: Likewise.
30285 * math/s_clog10.c: Likewise.
30286 * math/s_clog10f.c: Likewise.
30287 * math/s_clog10l.c: Likewise.
30288 * math/s_clogf.c: Likewise.
30289 * math/s_clogl.c: Likewise.
30290 * math/s_csin.c: Likewise.
30291 * math/s_csinf.c: Likewise.
30292 * math/s_csinh.c: Likewise.
30293 * math/s_csinhf.c: Likewise.
30294 * math/s_csinhl.c: Likewise.
30295 * math/s_csinl.c: Likewise.
30296 * math/s_csqrt.c: Likewise.
30297 * math/s_csqrtf.c: Likewise.
30298 * math/s_csqrtl.c: Likewise.
30299 * math/s_ctan.c: Likewise.
30300 * math/s_ctanf.c: Likewise.
30301 * math/s_ctanh.c: Likewise.
30302 * math/s_ctanhf.c: Likewise.
30303 * math/s_ctanhl.c: Likewise.
30304 * math/s_ctanl.c: Likewise.
30305 * math/s_ldexp.c: Likewise.
30306 * math/s_ldexpf.c: Likewise.
30307 * math/s_ldexpl.c: Likewise.
30308 * math/s_significand.c: Likewise.
30309 * math/s_significandf.c: Likewise.
30310 * math/s_significandl.c: Likewise.
30311 * math/w_acos.c: Likewise.
30312 * math/w_acosf.c: Likewise.
30313 * math/w_acosh.c: Likewise.
30314 * math/w_acoshf.c: Likewise.
30315 * math/w_acoshl.c: Likewise.
30316 * math/w_acosl.c: Likewise.
30317 * math/w_asin.c: Likewise.
30318 * math/w_asinf.c: Likewise.
30319 * math/w_asinl.c: Likewise.
30320 * math/w_atan2.c: Likewise.
30321 * math/w_atan2f.c: Likewise.
30322 * math/w_atan2l.c: Likewise.
30323 * math/w_atanh.c: Likewise.
30324 * math/w_atanhf.c: Likewise.
30325 * math/w_atanhl.c: Likewise.
30326 * math/w_cosh.c: Likewise.
30327 * math/w_coshf.c: Likewise.
30328 * math/w_coshl.c: Likewise.
30329 * math/w_dremf.c: Likewise.
30330 * math/w_exp10.c: Likewise.
30331 * math/w_exp10f.c: Likewise.
30332 * math/w_exp10l.c: Likewise.
30333 * math/w_exp2.c: Likewise.
30334 * math/w_exp2f.c: Likewise.
30335 * math/w_fmod.c: Likewise.
30336 * math/w_fmodf.c: Likewise.
30337 * math/w_fmodl.c: Likewise.
30338 * math/w_hypot.c: Likewise.
30339 * math/w_hypotf.c: Likewise.
30340 * math/w_hypotl.c: Likewise.
30341 * math/w_j0.c: Likewise.
30342 * math/w_j0f.c: Likewise.
30343 * math/w_j0l.c: Likewise.
30344 * math/w_j1.c: Likewise.
30345 * math/w_j1f.c: Likewise.
30346 * math/w_j1l.c: Likewise.
30347 * math/w_jn.c: Likewise.
30348 * math/w_jnf.c: Likewise.
30349 * math/w_jnl.c: Likewise.
30350 * math/w_lgamma.c: Likewise.
30351 * math/w_lgamma_r.c: Likewise.
30352 * math/w_lgammaf.c: Likewise.
30353 * math/w_lgammaf_r.c: Likewise.
30354 * math/w_lgammal.c: Likewise.
30355 * math/w_lgammal_r.c: Likewise.
30356 * math/w_log.c: Likewise.
30357 * math/w_log10.c: Likewise.
30358 * math/w_log10f.c: Likewise.
30359 * math/w_log10l.c: Likewise.
30360 * math/w_log2.c: Likewise.
30361 * math/w_log2f.c: Likewise.
30362 * math/w_log2l.c: Likewise.
30363 * math/w_logf.c: Likewise.
30364 * math/w_logl.c: Likewise.
30365 * math/w_pow.c: Likewise.
30366 * math/w_powf.c: Likewise.
30367 * math/w_powl.c: Likewise.
30368 * math/w_remainder.c: Likewise.
30369 * math/w_remainderf.c: Likewise.
30370 * math/w_remainderl.c: Likewise.
30371 * math/w_scalb.c: Likewise.
30372 * math/w_scalbf.c: Likewise.
30373 * math/w_scalbl.c: Likewise.
30374 * math/w_sinh.c: Likewise.
30375 * math/w_sinhf.c: Likewise.
30376 * math/w_sinhl.c: Likewise.
30377 * math/w_sqrt.c: Likewise.
30378 * math/w_sqrtf.c: Likewise.
30379 * math/w_sqrtl.c: Likewise.
30380 * math/w_tgamma.c: Likewise.
30381 * math/w_tgammaf.c: Likewise.
30382 * math/w_tgammal.c: Likewise.
30383
6a621eb7
UD
30384 * po/ja.po: Update from translation team.
30385
bf582445
AJ
303862011-09-29 Andreas Jaeger <aj@suse.de>
30387
f9efbf3a
AJ
30388 [BZ #13179]
30389 * sunrpc/netname.c (netname2host): Fix logic.
30390
bf582445
AJ
30391 [BZ #6779]
30392 [BZ #6783]
30393 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
30394 correctly.
30395 * math/w_remainder.c (__remainder): Likewise.
30396 * math/w_remainderf.c (__remainderf): Likewise.
30397 * math/libm-test.inc (remainder_test): Add test cases.
30398
48693bea
AK
303992011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30400
30401 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
30402 sdiv_qrnnd.
30403
42622229
LD
304042011-10-07 Ulrich Drepper <drepper@gmail.com>
30405
30406 * string/test-memcmp.c: Avoid unncessary #defines.
30407 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30408
093ecf92
LD
304092011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30410
30411 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
30412 Use new sse2 version for core i3 - i7 as it's faster
30413 than sse42 version.
30414 (bit_Prefer_PMINUB_for_stringop): New.
30415 * sysdeps/x86_64/rawmemchr.S: Update.
30416 Replace with faster SSE2 version.
30417 * sysdeps/x86_64/memrchr.S: New file.
30418 * sysdeps/x86_64/memchr.S: Update.
30419 Replace with faster SSE2 version.
30420
fde56e5c
MP
304212011-09-12 Marek Polacek <mpolacek@redhat.com>
30422
30423 * elf/dl-load.c (lose): Add cast to avoid warning.
30424
21fd49a9
UD
304252011-10-07 Ulrich Drepper <drepper@gmail.com>
30426
5a06e643
UD
30427 * po/ca.po: Update from translation team.
30428
684ae515
UD
30429 * inet/getnetgrent_r.c: Hook up nscd.
30430 * nscd/Makefile (routines): Add nscd_netgroup.
30431 (nscd-modules): Add netgroupcache.
30432 (CFLAGS-netgroupcache.c): Define.
30433 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
30434 (cache_search): Add const to second parameter.
30435 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
30436 INNETGR.
30437 (dbs): Add netgrdb entry.
30438 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
30439 (verify_persistent_db): Handle netgrdb.
30440 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
30441 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
30442 GETFDNETGR.
30443 (netgroup_response_header): Define.
30444 (innetgroup_response_header): Define.
30445 (datahead): Add netgroup_response_header and innetgroup_response_header
30446 elements.
30447 * nscd/nscd.conf: Add entries for netgroup cache.
30448 * nscd/nscd.h (dbtype): Add netgrdb.
30449 (_PATH_NSCD_NETGROUP_DB): Define.
30450 (netgroup_iov_disabled): Declare.
30451 (xmalloc, xcalloc, xrealloc): Move declarations here.
30452 (cache_search): Adjust prototype.
30453 Add netgroup-related prototypes.
30454 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
30455 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
30456 (__nscd_innetgr): Declare.
30457 * nscd/selinux.c (perms): Use access_vector_t as element type and
30458 add netgroup-related initializers.
30459 * nscd/netgroupcache.c: New file.
30460 * nscd/nscd_netgroup.c: New file.
30461 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
30462 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
30463 For four parameters use innetgr.
30464 * nss/nss_files/files-init.c: Add definition and callback for netgr.
30465 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
30466 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
30467 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
30468
21fd49a9
UD
30469 * nscd/connections.c (register_traced_file): Don't register file
30470 for disabled databases.
30471
054c0457
UD
304722011-10-06 Ulrich Drepper <drepper@gmail.com>
30473
32b63198
UD
30474 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
30475
054c0457
UD
30476 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
30477 from tree and freeing node.
30478
64031225
JO
304792011-09-25 Jiri Olsa <jolsa@redhat.com>
30480
30481 * nss/nsswitch.c (__nss_database_lookup): Handle
30482 nss_parse_service_list out of memory case.
30483
0490345c
JO
304842011-09-15 Jiri Olsa <jolsa@redhat.com>
30485
30486 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
30487 out of memory case.
30488
3a62d00d
AS
304892011-10-04 Andreas Schwab <schwab@redhat.com>
30490
30491 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
30492 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
30493 pass it down.
30494 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
30495 elf_machine_rela, elf_machine_lazy_rel.
30496 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
30497 (ELF_DYNAMIC_DO_REL): Likewise.
30498 (ELF_DYNAMIC_DO_RELA): Likewise.
30499 (ELF_DYNAMIC_RELOCATE): Likewise.
30500 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
30501 to ELF_DYNAMIC_DO_REL.
30502 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
30503 (dl_main): In trace mode always set __RTLD_NOIFUNC.
30504 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
30505 elf_machine_rela.
30506 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
30507 skip_ifunc, don't call ifunc function if non-zero.
30508 (elf_machine_rela): Likewise.
30509 (elf_machine_lazy_rel): Likewise.
30510 (elf_machine_lazy_rela): Likewise.
30511 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
30512 (elf_machine_lazy_rel): Likewise.
30513 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
30514 Likewise.
30515 (elf_machine_lazy_rel): Likewise.
30516 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30517 Likewise.
30518 (elf_machine_lazy_rel): Likewise.
30519 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
30520 (elf_machine_lazy_rel): Likewise.
30521 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
30522 (elf_machine_lazy_rel): Likewise.
30523 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30524 (elf_machine_lazy_rel): Likewise.
30525 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30526 (elf_machine_lazy_rel): Likewise.
30527 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30528 (elf_machine_lazy_rel): Likewise.
30529 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
30530 (elf_machine_lazy_rel): Likewise.
30531
68577918
UD
305322011-09-28 Ulrich Drepper <drepper@gmail.com>
30533
30534 * nss/nss_files/files-init.c (_nss_files_init): Use static
30535 initialization for all the *_traced_file variables.
30536
68822d74
AS
305372011-09-28 Andreas Schwab <schwab@redhat.com>
30538
30539 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30540
2056100b
RM
305412011-09-27 Roland McGrath <roland@hack.frob.com>
30542
30543 [BZ #13226]
30544 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
30545
32c76b63
AS
305462011-09-27 Andreas Schwab <schwab@redhat.com>
30547
30548 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30549 Reread the line before reparsing it.
30550
bf972c9d
AS
305512011-09-26 Andreas Schwab <schwab@redhat.com>
30552
30553 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
30554
e057a1b5
JM
305552011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
30556 Maxim Kuvyrkov <maxim@codesourcery.com>
30557 Joseph Myers <joseph@codesourcery.com>
30558
30559 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
30560 if needed for __stack_chk_guard.
30561
bc7e1c36
RM
305622011-09-19 Roland McGrath <roland@hack.frob.com>
30563
ecb1482f
RM
30564 * sysdeps/posix/spawni.c (script_execute): Always define it.
30565 It will be optimized away if unused.
30566 (maybe_script_execute): New function.
30567 (__spawni): Call it.
30568
bc7e1c36
RM
30569 * Makerules: Don't include tls.make.
30570 (config-tls): Always set to thread.
30571 * tls.make.c: File removed.
30572
1c3b002b
MF
305732011-09-19 Mike Frysinger <vapier@gentoo.org>
30574
30575 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
30576 * config.make.in (CPPFLAGS-config): New substituted variable.
30577
2840865d
UD
305782011-09-15 Ulrich Drepper <drepper@gmail.com>
30579
88738eb6
UD
30580 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
30581
cbf645a6 30582 [BZ #13192]
2840865d
UD
30583 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
30584 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
30585
b402e91a
RM
305862011-09-15 Roland McGrath <roland@hack.frob.com>
30587
30588 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
30589 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
30590 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30591 (CALL_FAIL): Likewise.
30592 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
30593 (CALL_FAIL): Macro removed.
30594 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
30595
4c1a1f71
UD
305962011-09-15 Ulrich Drepper <drepper@gmail.com>
30597
30598 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
30599 for __FINITE_MATH_ONLY__ == 1.
30600
edc121be
AS
306012011-09-15 Andreas Schwab <schwab@redhat.com>
30602
30603 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
30604 __ieee754_sqrt instead of sqrt.
30605 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
30606 __ieee754_sqrtf instead of sqrtf.
30607 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
30608 __floorf instead of floorf.
30609 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
30610 __floorf, __truncf instead of floorf, truncf.
30611
cd205654
UD
306122011-09-14 Ulrich Drepper <drepper@gmail.com>
30613
ee4d0315
UD
30614 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
30615
cd205654
UD
30616 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
30617 __extern_always_inline.
30618 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
30619 32-bit.
30620
48b67d71
AS
306212011-09-14 Andreas Schwab <schwab@redhat.com>
30622
30623 * elf/rtld.c (dl_main): Also relocate in dependency order when
30624 doing symbol dependency testing.
30625
1ae12c75
AS
306262011-09-13 Andreas Schwab <schwab@linux-m68k.org>
30627
30628 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30629 Always define `refsym'.
30630
995a80df
AS
306312011-09-13 Andreas Schwab <schwab@redhat.com>
30632
e529793b
AS
30633 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
30634 (__FD_ELT): Renamed from __FDELT.
30635 * misc/bits/select2.h (__FD_ELT): Likewise.
30636 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
30637 __FD_MASK instead of __FDELT, __FDMASK.
30638 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30639 Likewise.
30640 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30641 Likewise.
30642
52d4fef8
AS
30643 * elf/Makefile (gen-ldd): Fix pattern.
30644
995a80df
AS
30645 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
30646 (init_tls): Likewise.
30647
8682f8b0
UD
306482011-09-12 Ulrich Drepper <drepper@gmail.com>
30649
30650 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
30651
de82006d
AS
306522011-09-12 Andreas Schwab <schwab@redhat.com>
30653
a7c8e6a1
AS
30654 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
30655 `struct cmsghdr *' instead of `void *'.
30656 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
30657 Likewise.
30658
0f31fe77
AS
306592011-09-11 Andreas Schwab <schwab@linux-m68k.org>
30660
30661 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
30662 if non-absolute.
30663 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
30664 ldd_rewrite_script.
0f31fe77 30665
32b4c839
UD
306662011-09-11 Ulrich Drepper <drepper@gmail.com>
30667
83cd1420
UD
30668 * configure.in: Remove --with-tls option.
30669 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
30670 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
30671 out in case it is missing.
30672 * sysdeps/ia64/elf/configure.in: Likewise.
30673 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
30674 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
30675 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
30676 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
30677 * sysdeps/sh/elf/configure.in: Likewise.
30678 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
30679 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30680 * sysdeps/x86_64/elf/configure.in: Likewise.
30681 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
30682 * sysdeps/mach/hurd/tls.h: Likewise.
30683
633f745d
UD
30684 [BZ #13067]
30685 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
30686
f318beb8
UD
30687 [BZ #13090]
30688 * configure.in: Fix use of AC_INIT.
30689
32b4c839
UD
30690 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
30691
3ce1f295
UD
306922011-09-10 Ulrich Drepper <drepper@gmail.com>
30693
bb016596
UD
30694 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
30695 __set_errno.
8e58439c
UD
30696 * malloc/hooks.c: Likewise.
30697
aebae053 30698 [BZ #11929]
02d46fc4
UD
30699 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
30700 variables statically.
30701 (narenas): Initialize.
30702 (list_lock): Initialize.
bb016596
UD
30703 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
30704 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
30705 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
30706 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
30707 Add initializers to main_arena and mp_.
30708 (malloc_state): Remove pagesize member. Change all users to use
30709 GLRO(dl_pagesize).
30710
30711 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
30712 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
30713 is always initialized.
30714
22a89187
UD
30715 * malloc/malloc.c: Removed unused configurations and dead code.
30716 * malloc/arena.c: Likewise.
30717 * malloc/hooks.c: Likewise.
02d46fc4 30718 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 30719
d063d164
UD
30720 * include/tls.h: Removed. USE___THREAD must always be defined.
30721 * bits/libc-tsd.h: Don't handle !USE___THREAD.
30722 * elf/dl-libc.c: Likewise.
30723 * elf/dl-tsd.c: Likewise.
30724 * include/errno.h: Likewise.
30725 * include/netdb.h: Likewise.
30726 * include/resolv.h: Likewise.
30727 * inet/herrno-loc.c: Likewise.
30728 * inet/herrno.c: Likewise.
30729 * malloc/arena.c: Likewise.
30730 * malloc/hooks.c: Likewise.
30731 * malloc/malloc.c: Likewise.
30732 * resolv/res-state.c: Likewise.
30733 * resolv/res_libc.c: Likewise.
30734 * sysdeps/i386/dl-machine.h: Likewise.
30735 * sysdeps/ia64/dl-machine.h: Likewise.
30736 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
30737 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30738 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
30739 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
30740 * sysdeps/sh/dl-machine.h: Likewise.
30741 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30742 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30743 * sysdeps/unix/i386/sysdep.S: Likewise.
30744 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30745 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
30746 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
30747 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30748 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
30749 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30750 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30751 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30752 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30753 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30754 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30755 * sysdeps/x86_64/dl-machine.h: Likewise.
30756 * tls.make.c: Likewise.
30757
3ce1f295
UD
30758 * configure.in: Remove --with-__thread option. Make tests for
30759 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
30760 tls_model attribute fail if no support is available. Remove
30761 USE_IN_LIBIO.
30762 * Makeconfig: Adjust for dropped configure option. All features are
30763 now mandatory.
30764 * Makerules: Likewise.
30765 * Versions.def: Likewise.
30766 * argp/argp-fmtstream.c: Likewise.
30767 * argp/argp-fmtstream.h: Likewise.
30768 * argp/argp-help.c: Likewise.
30769 * assert/assert.c: Likewise.
30770 * config.h.in: Likewise.
30771 * config.make.in: Likewise.
30772 * configure: Likewise.
30773 * configure.in: Likewise.
30774 * csu/Versions: Likewise.
30775 * csu/init.c: Likewise.
30776 * elf/tst-audit2.c: Likewise.
30777 * elf/tst-tls10.c: Likewise.
30778 * elf/tst-tls10.h: Likewise.
30779 * elf/tst-tls11.c: Likewise.
30780 * elf/tst-tls12.c: Likewise.
30781 * elf/tst-tls14.c: Likewise.
30782 * elf/tst-tlsmod11.c: Likewise.
30783 * elf/tst-tlsmod12.c: Likewise.
30784 * elf/tst-tlsmod13.c: Likewise.
30785 * elf/tst-tlsmod13a.c: Likewise.
30786 * elf/tst-tlsmod14a.c: Likewise.
30787 * elf/tst-tlsmod15b.c: Likewise.
30788 * elf/tst-tlsmod16a.c: Likewise.
30789 * elf/tst-tlsmod16b.c: Likewise.
30790 * elf/tst-tlsmod7.c: Likewise.
30791 * elf/tst-tlsmod8.c: Likewise.
30792 * elf/tst-tlsmod9.c: Likewise.
30793 * gmon/gmon.c: Likewise.
30794 * grp/fgetgrent_r.c: Likewise.
30795 * grp/putgrent.c: Likewise.
30796 * hurd/fopenport.c: Likewise.
30797 * include/libc-symbols.h: Likewise.
30798 * include/tls.h: Likewise.
30799 * intl/gettextP.h: Likewise.
30800 * intl/loadinfo.h: Likewise.
30801 * locale/global-locale.c: Likewise.
30802 * locale/localeinfo.h: Likewise.
30803 * mach/devstream.c: Likewise.
30804 * malloc/arena.c: Likewise.
30805 * malloc/set-freeres.c: Likewise.
30806 * misc/err.c: Likewise.
30807 * misc/getttyent.c: Likewise.
30808 * misc/mntent_r.c: Likewise.
30809 * posix/getopt.c: Likewise.
30810 * posix/wordexp.c: Likewise.
30811 * pwd/fgetpwent_r.c: Likewise.
30812 * resolv/Versions: Likewise.
30813 * resolv/res_hconf.c: Likewise.
30814 * shadow/fgetspent_r.c: Likewise.
30815 * shadow/putspent.c: Likewise.
30816 * stdio-common/printf_fphex.c: Likewise.
30817 * stdio-common/tmpfile.c: Likewise.
30818 * stdlib/abort.c: Likewise.
30819 * stdlib/fmtmsg.c: Likewise.
30820 * sunrpc/auth_unix.c: Likewise.
30821 * sunrpc/clnt_perr.c: Likewise.
30822 * sunrpc/clnt_tcp.c: Likewise.
30823 * sunrpc/clnt_udp.c: Likewise.
30824 * sunrpc/clnt_unix.c: Likewise.
30825 * sunrpc/openchild.c: Likewise.
30826 * sunrpc/svc_simple.c: Likewise.
30827 * sunrpc/svc_tcp.c: Likewise.
30828 * sunrpc/svc_udp.c: Likewise.
30829 * sunrpc/svc_unix.c: Likewise.
30830 * sunrpc/xdr.c: Likewise.
30831 * sunrpc/xdr_array.c: Likewise.
30832 * sunrpc/xdr_rec.c: Likewise.
30833 * sunrpc/xdr_ref.c: Likewise.
30834 * sunrpc/xdr_stdio.c: Likewise.
30835
1248c1c4
PB
308362011-09-09 Ulrich Drepper <drepper@gmail.com>
30837
30838 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30839
308402011-07-03 Andreas Jaeger <aj@suse.de>
30841
30842 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
30843 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
30844 regenerate with gen-libm-tests.pl.
30845
308462010-05-12 Petr Baudis <pasky@suse.cz>
30847
30848 [BZ #11589]
30849 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
30850 around j0() zero points by switching to j1().
30851 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30852 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30853 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30854 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30855
f22e1074
UD
308562011-09-09 Ulrich Drepper <drepper@gmail.com>
30857
f19009c1
UD
30858 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
30859 instead of 0.
30860 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 30861 instead of 0.
f19009c1
UD
30862 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30863 Patch in part by Pavel Roskin <proski@gnu.org>.
30864
3f8cc204
UD
30865 [BZ #13138]
30866 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
30867 realloc.
30868 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
30869 Free memory block if necessary.
30870
f22e1074
UD
30871 [BZ #12847]
30872 * libio/genops.c (INTDEF): For string streams the _lock pointer can
30873 be NULL. Don't lock in this case.
30874
0a2349f9
RM
308752011-09-09 Roland McGrath <roland@hack.frob.com>
30876
30877 * elf/elf.h (ELFOSABI_GNU): New macro.
30878 (ELFOSABI_LINUX): Define to that.
30879
f3cdd467
DZ
308802011-07-29 Denis Zaitceff <zaitceff@gmail.com>
30881
30882 * string/strncat.c (strncat): Undef the symbol in case it has been
30883 defined in bits/string.h.
30884
74718d13
UD
308852011-09-09 Ulrich Drepper <drepper@gmail.com>
30886
633e9e0f
UD
30887 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
30888
0a2349f9 30889 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
30890 link map.
30891
f9924780
AJ
308922011-08-17 Andreas Jaeger <aj@suse.de>
30893
30894 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
30895
7f5517aa
PP
308962011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
30897 Ian Lance Taylor <iant@google.com>
30898
30899 * math/libm-test.inc (lround_test): New testcase.
30900 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
30901
762011fe
UD
309022011-09-08 Ulrich Drepper <drepper@gmail.com>
30903
92963737
UD
30904 * Makefile: Remove support for automatic cvs check-ins.
30905 * Makerules: Likewise.
30906 * config.make.in: Likewise.
30907 * configure.in: Likewise.
30908 * intl/Makefile: Likewise.
30909 * locale/Makefile: Likewise.
30910 * po/Makefile: Likewise.
30911 * posix/Makefile: Likewise.
30912 * sysdeps/gnu/Makefile: Likewise.
30913 * sysdeps/mach/hurd/Makefile: Likewise.
30914 * sysdeps/sparc/sparc32/Makefile: Likewise.
30915
b0727fd8
JS
30916 [BZ #13118]
30917 * posix/Makefile (bug-regex32-ENV): Define.
30918 Patch by John Stanley <jpsinthemix@verizon.net>.
30919
a0f33f99
UD
30920 * misc/Makefile (headers): Add bits/select2.h.
30921 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
30922 * misc/bits/select2.h: New file.
30923 * include/bits/select2.h: New file.
30924 * debug/Makefile (routines): Add fdelt_chk.
30925 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
30926 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
30927 FD_ISSET.
30928 * debug/fdelt_chk.c: New file.
30929
762011fe
UD
30930 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
30931 * wcsmbs/test-wmemcmp.c: Likewise.
30932 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 30933 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
30934
309352011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30936
30937 * string/Makefile (strop-tests): Add memcmp.
30938 * string/test-wmemcmp.c: New file.
30939 * string/test-memcmp.c: Add wmemcmp support.
30940
7f513ec8
RM
309412011-09-08 Roland McGrath <roland@hack.frob.com>
30942
0442afb4
RM
30943 [BZ #13153]
30944 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
30945 2011-07-19 change.
30946
7f513ec8
RM
30947 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
30948 garbage value in a __mach_port_mod_refs call in the cases of the
30949 task-self and thread-self ports.
30950
a12b2239
ST
309512011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
30952
30953 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
30954
610f9ab4
AS
309552011-09-08 Andreas Schwab <schwab@redhat.com>
30956
7f513ec8 30957 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 30958
48882a1a
LD
309592011-09-07 Ulrich Drepper <drepper@gmail.com>
30960
b49865be
UD
30961 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
30962
fdc86bc9
UD
30963 * elf/dl-libc.c (dlerror_run): Pass back error code from
30964 dl_catch_error.
30965
c966526a
UD
30966 [BZ #13123]
30967 * elf/dl-load.c (lose): Free l_origin if it is valid.
30968
48882a1a
LD
30969 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
30970 names.
30971 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
30972 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30973 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30974 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30975 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
30976 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
30977
77a2a8b4
AZ
309782011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30979
30980 * sysdeps/powerpc/fpu/e_hypot.c: New file.
30981 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
30982 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
30983 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
30984 * sysdeps/powerpc/fpu/k_cosf.c: New file.
30985 * sysdeps/powerpc/fpu/k_sinf.c: New file.
30986 * sysdeps/powerpc/fpu/s_cosf.c: New file.
30987 * sysdeps/powerpc/fpu/s_sinf.c: New file.
30988 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
30989 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
30990
24f579d8
AM
309912011-08-15 Alan Modra <amodra@gmail.com>
30992
30993 [BZ #13092]
30994 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
30995 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
30996 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
30997 ppc_mcount to static-only-routines.
30998 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
30999 __mcount_internal.
31000 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
31001 __mcount_internal with usual JUMPTARGET. Remove useless nop.
31002
3d4837df
UD
310032011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
31004
31005 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
31006 for finite and infinity parameters.
31007
22700377
WS
310082011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
31009
31010 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
31011 and add nop instructions for throughput optimization.
31012 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31013
5025581e
WS
310142011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
31015
31016 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
31017 aligned copy for power7 with vector-scalar instructions.
31018 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
31019
08a300c9
L
310202011-07-24 H.J. Lu <hongjiu.lu@intel.com>
31021
31022 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
31023 AVX check.
31024
59178ef9
AS
310252011-09-07 Andreas Schwab <schwab@redhat.com>
31026
31027 [BZ #13144]
31028 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
31029 last change.
31030
e38ba7ab
UD
310312011-09-07 Ulrich Drepper <drepper@gmail.com>
31032
31033 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31034 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
31035 syscall wrapper around clock_gettime in __vdso_clock_gettime.
31036 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
31037 clock_gettime.
31038
d53a73ac
UD
310392011-09-06 Ulrich Drepper <drepper@gmail.com>
31040
fc8bffcc
UD
31041 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
31042 Forgot to demangle the pointer.
31043
ceaa0c5d
UD
31044 * sysdeps/i386/sysdep.h: Define atom_text_section.
31045 * sysdeps/x86_64/sysdep.h: Likewise.
31046 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
31047 section with atom_text_section.
31048 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31049 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31050 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
31051 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31052 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
31053
a77d3c17
UD
31054 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
31055 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
31056 already be defined. Change to take two parameters and don't assign
31057 result to variable. Adjust all users.
31058 Define INTERNAL_GETTIME if not already defined.
31059 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
31060 call.
31061 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
31062 HAVE_CLOCK_GETTIME_VSYSCALL.
31063 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
31064
d53a73ac
UD
31065 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
31066 gettimeofday vsyscall, just use time.
31067
a8f84144
AS
310682011-09-06 Andreas Schwab <schwab@redhat.com>
31069
31070 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
31071 <errno.h>.
31072
ef606249
UD
310732011-09-06 Ulrich Drepper <drepper@gmail.com>
31074
31075 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
31076 syscall on x86-64.
31077 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
31078 syscall.
31079 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
31080 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
31081 syscall if possible.
31082
6585cb60
UD
310832011-09-05 Ulrich Drepper <drepper@gmail.com>
31084
31085 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
31086 e_ident. Don't pass to find_mapsXX.
31087 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
31088
a5f524e4
LD
310892011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31090
31091 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31092 strchr-sse2-no-bsf strrchr-sse2-no-bsf
31093 * sysdeps/x86_64/multiarch/strchr.S: Update.
31094 Check bit_slow_BSF bit.
31095 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31096 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
31097 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
31098
554881ef
UD
310992011-09-05 Ulrich Drepper <drepper@gmail.com>
31100
d96de963
UD
31101 [BZ #13134]
31102 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
31103 before glibc 2.15.
31104 (tryshell): Define.
31105 (__spawni): Change last parameter to be flag. Test
31106 SPAWN_XFLAGS_USE_PATH flag to use path or not.
31107 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
31108 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
31109 * posix/spawni.c: Likewise.
31110 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
31111 * posix/spawnp.c: Likewise. Change normal version to use
31112 SPAWN_XFLAGS_USE_PATH.
31113 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
31114 SPAWN_XFLAGS_TRY_SHELL.
31115
d48e5868
UD
31116 [BZ #13150]
31117 * posix/glob.h: Remove gcc 1.x support.
31118
554881ef
UD
31119 [BZ #13068]
31120 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
31121
693fb948
LD
311222011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31123
31124 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31125 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
31126 strrchr-sse2-bsf
31127 * sysdeps/i386/i686/multiarch/strchr.S: New file.
31128 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
31129 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
31130 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
31131 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
31132 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
31133
1b48c537
UD
311342011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31135
49d42c37
UD
31136 * sysdeps/x86_64/wcscmp.S: New file.
31137
1b48c537
UD
31138 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
31139 wcscmp-c wcscmp-sse2
31140 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
31141 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
31142 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
31143 * wcsmbs/wcscmp.c: Allow renaming.
31144
15c95c5d
DM
311452011-09-05 David S. Miller <davem@davemloft.net>
31146
31147 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
31148 stack slot, rather than the struct return pointer slot.
31149 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
31150 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
31151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
31152 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
31153
2f0ad8f3
UD
311542011-09-05 Ulrich Drepper <drepper@gmail.com>
31155
d88ae418
UD
31156 * po/ja.po: Update from translation team.
31157
2f0ad8f3
UD
31158 [BZ #13144]
31159 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
31160 kernel in 64-bit binaries.
31161
5f4318d1
DM
311622011-09-01 David S. Miller <davem@davemloft.net>
31163
31164 * elf/elf.h (HWCAP_SPARC_*): Move to..
31165 * sysdeps/sparc/sysdep.h: this new file and add new values.
31166 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
31167 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
31168 _DL_HWCAP_COUNT to 24.
31169 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31170 entries.
31171 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
31172 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
31173 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
31174 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
31175 instead of magic constants.
31176 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31177
3ba57516
DM
311782011-08-31 David S. Miller <davem@davemloft.net>
31179
31180 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
31181 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
31182 Reimplement to do errno handling inline.
31183 (SYSCALL_ERROR_HANDLER): New macro.
31184 (__SYSCALL_STRING): Do not do errno handling in asm.
31185 (__CLONE_SYSCALL_STRING): Delete.
31186 (__INTERNAL_SYSCALL_STRING): Delete.
31187 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
31188 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
31189 (PSEUDO): Reimplement to do errno handling inline.
31190 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
31191 (SYSCALL_ERROR_HANDLER): New macro.
31192 (__SYSCALL_STRING): Do not do errno handling in asm.
31193 (__CLONE_SYSCALL_STRING): Delete.
31194 (__INTERNAL_SYSCALL_STRING): Delete.
31195 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
31196 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
31197 i386.
31198 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
31199 (inline_syscall*): Add 'err' argument.
31200 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
31201 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
31202 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
31203 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
31204
31205 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
31206 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31207
2bc17433
AS
312082011-08-30 Andreas Schwab <schwab@redhat.com>
31209
31210 * elf/rtld.c (dl_main): Relocate objects in dependency order.
31211
fbeb5f4d
JO
312122011-08-29 Jiri Olsa <jolsa@redhat.com>
31213
31214 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
31215 directive.
31216
ad69cc26
DM
312172011-08-24 David S. Miller <davem@davemloft.net>
31218
31219 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
31220
39dd69df
AS
312212011-08-24 Andreas Schwab <schwab@redhat.com>
31222
31223 * elf/Makefile: Add rules to build and run unload8 test.
31224 * elf/unload8.c: New file.
31225 * elf/unload8mod1.c: New file.
31226 * elf/unload8mod1x.c: New file.
31227 * elf/unload8mod2.c: New file.
31228 * elf/unload8mod3.c: New file.
31229
31230 * elf/dl-close.c (_dl_close_worker): Reset private search list if
31231 it wasn't used.
31232
2c0b250a
DM
312332011-08-23 David S. Miller <davem@davemloft.net>
31234
31235 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
31236 subtract stack bias.
31237 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
31238 %sp not %fp in calculations.
31239 (_JMPBUF_UNWINDS_ADJ): Likewise.
31240
22044b48
DM
31241 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
31242 (aio_suspend): Call it to force an exception region around the
31243 AIO_MISC_WAIT() invocation.
31244
2cae4995
AS
312452011-08-23 Andreas Schwab <schwab@redhat.com>
31246
31247 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
31248 backslash.
31249
873a772e
AJ
312502011-07-04 Aurelien Jarno <aurelien@aurel32.net>
31251
31252 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
31253 protection macro.
31254 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
31255 and <dl-machine.h>.
31256 (Elf64_FuncDesc): Remove.
31257
25ad0df1
DM
312582011-08-22 David S. Miller <davem@davemloft.net>
31259
31260 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
31261 sigaltstack check, add missing cfi directives.
31262 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
31263 missing cfi directives, and sigaltstack handling.
31264
e888bcbe
AS
312652011-08-16 Andreas Schwab <schwab@redhat.com>
31266
31267 [BZ #11724]
31268 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
31269 object is seen twice.
31270 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31271
31272 * elf/Makefile (distribute): Add tst-initorder2.c.
31273 (tests): Add tst-initorder2.
31274 (modules-names): Add tst-initorder2a tst-initorder2b
31275 tst-initorder2c tst-initorder2d. Add rules to build them.
31276 ($(objpfx)tst-initorder2.out): New rule.
31277 * elf/tst-initorder2.c: New file.
31278 * elf/tst-initorder2.exp: New file.
31279
87162f46
AS
312802011-08-22 Andreas Schwab <schwab@redhat.com>
31281
70538b7f
AS
31282 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
31283
f55ffe58
AS
31284 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
31285 dependencies back to end of function.
31286
87162f46
AS
31287 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31288 $(elfobjdir)/ld.so.
31289
91b392a4
UD
312902011-08-21 Ulrich Drepper <drepper@gmail.com>
31291
31292 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
31293 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
31294 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
31295 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
31296 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
31297 of __vdso_gettimeofday.
31298 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
31299 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
31300 attribute_hidden.
31301 (_libc_vdso_platform_setup): Remove initialization of
31302 __vdso_gettimeofday and __vdso_time.
31303
5c43483f
UD
313042011-08-20 Ulrich Drepper <drepper@gmail.com>
31305
775a77e7
UD
31306 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
31307 and fgetc_unlocked.
31308 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
31309 getc_unlocked.
89f447ed 31310
49c74ba9
UD
31311 * elf/dl-open.c (add_to_global): Report additions to the global scope
31312 for LD_DEBUG=scopes.
31313 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 31314 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 31315
5c43483f
UD
31316 [BZ #13114]
31317 * stdio-common/Makefile (tests): Add bug24.
31318 * stdio-common/bug24.c: New file.
31319
a101b025
AJ
313202011-08-19 Andreas Jaeger <aj@suse.de>
31321
31322 [BZ #13114]
31323 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
31324 non-existant file when using close-on-exec mode.
31325
c88f1766
UD
313262011-08-20 Ulrich Drepper <drepper@gmail.com>
31327
0276a718
UD
31328 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
31329 the very first instruction.
31330
c88f1766
UD
31331 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
31332 the CFI state in the end.
31333 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
31334 inclusion of dl-trampoline.h.
31335 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
31336
51ccffa0
AS
313372011-08-19 Andreas Schwab <schwab@redhat.com>
31338
94d7165f
AS
31339 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
31340 expectations for long double.
31341
51ccffa0
AS
31342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
31343 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
31344
fd708658 313452011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
31346
31347 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
31348 artificual limit depends upon the system page size.
31349
44f0a71e
UD
313502011-08-17 Ulrich Drepper <drepper@gmail.com>
31351
31352 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
31353 * resolv/Makefile: Define CFLAGS-libresolv.
31354
8de79a24
AS
313552011-08-17 Andreas Schwab <schwab@redhat.com>
31356
31357 * nss/makedb.c (compute_tables): Make variables used in nested
31358 function static.
31359
27724598
UD
313602011-08-17 Ulrich Drepper <drepper@gmail.com>
31361
c5305d88
UD
31362 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
31363 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
31364 if buffer was too small.
31365
27724598
UD
31366 * elf/pldd.c (main): Attach to all threads in the process.
31367 Rewrite /proc handling to use *at functions.
31368
076fe015
UD
313692011-08-16 Ulrich Drepper <drepper@gmail.com>
31370
174baab3
UD
31371 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
31372 specifies first scope to show.
31373 (dl_open_worker): Update callers. Move printing scope of new
31374 object to before the relocation.
44f0a71e 31375 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
31376 * sysdeps/generic/ldsodefs.h: Update declaration.
31377
076fe015
UD
31378 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
31379 string for the scope number.
31380
a60df2c3
UD
313812011-08-14 Ulrich Drepper <drepper@gmail.com>
31382
31383 * nscd/servicescache.c (cache_addserv): Make sure written is always
31384 initialized.
31385
5e4287d1
RM
313862011-08-14 Roland McGrath <roland@hack.frob.com>
31387
85ae0589
RM
31388 * sysdeps/i386/i486/bits/atomic.h
31389 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
31390 statement expression, so as to suppress "set but not used" warning.
31391 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
31392
69f63097
RM
31393 * string/strncat.c (STRNCAT): Use prototype definition.
31394
675456ef
RM
31395 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
31396 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
31397 -Iprograms here.
31398 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
31399 (localedef-modules): Add localedef.
31400 (locale-modules): Add locale.
31401
5e4287d1
RM
31402 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
31403 * elf/rtld.c (dl_main): Invert order of assignment in last change,
31404 to avoid a warning.
31405
9c96ff23
DM
314062011-08-14 David S. Miller <davem@davemloft.net>
31407
31408 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
31409 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
31410
f9ddf089
UD
314112011-08-13 Ulrich Drepper <drepper@gmail.com>
31412
44f0a71e 31413 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
31414 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
31415 * elf/rtld.c (dl_main): Set l_name of vDSO.
31416 Call _dl_show_scope when DL_DEBUG_SCOPES.
31417 (process_dl_debug): Recognize scopes flag and also set it for all.
31418 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
31419 Declare _dl_show_scope.
31420
1dc27704
UD
31421 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
31422 (do_dlopen): Pass caller_dlopen to dl_open.
31423 (__libc_dlopen_mode): Initialize caller_dlopen.
31424
f9ddf089
UD
31425 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
31426 of libc. Make tolower call locale-independent. Optimize a bit by
31427 using isdigit instead of isalnum.
31428 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
31429
9ac533d3
UD
314302011-08-12 Ulrich Drepper <drepper@gmail.com>
31431
31432 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
31433 was a dependency or dynamically loaded.
31434
89edf2e9
UD
314352011-08-11 Ulrich Drepper <drepper@gmail.com>
31436
8e999d29
UD
31437 * intl/l10nflist.c: Allow architecture-specific pop function.
31438 * sysdeps/x86_64/l10nflist.c: New file.
31439
89edf2e9
UD
31440 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
31441 classification.
31442
14d96785
AS
314432011-08-10 Andreas Schwab <schwab@redhat.com>
31444
31445 * include/dirent.h: Add libc_hidden_proto for scandirat and
31446 scandirat64. Don't declare __scandirat64.
31447 * dirent/scandirat.c: Add libc_hidden_def.
31448 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
31449 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
31450
6761ac04
DM
314512011-08-10 David S. Miller <davem@davemloft.net>
31452
31453 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
31454 enum.
31455 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31456 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31457 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31458
c55fbd1e
UD
314592011-08-09 Ulrich Drepper <drepper@gmail.com>
31460
31461 * Versions.def [libc]: Add GLIBC_2.15.
31462 * dirent/Makefile (routines): Add scandirat and scandirat64.
31463 * dirent/Versions [libc]: Export scandirat and scandirat64 for
31464 GLIBC_2.15.
31465 * dirent/dirent.h: Declare scandirat and scandirat64.
31466 * dirent/scandirat.c: New file.
31467 * dirent/scandirat64.c: New file.
31468 * sysdeps/wordsize-64/scandirat.c: New file.
31469 * sysdeps/wordsize-64/scandirat64.c: New file.
31470 * dirent/opendir.c: Define opendirat.
31471 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
31472 using scandirat.
31473 * dirent/scandir64.c: Adjust for scandir.c change.
31474 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
31475 __scandirat64, and __scandir_cancel_handler.
31476 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
31477 additional parameter and use openat instead of open (outside of ld.so).
31478 Add new __opendir as wrapper around __opendirat.
31479 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
31480 here without requiring old scandirat implementation.
31481
879165f2
UD
314822011-08-08 Ulrich Drepper <drepper@gmail.com>
31483
31484 * dirent/scandir.c (cancel_handler): Renamed to
31485 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
31486 defined. Adjust users.
31487 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
31488 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
31489
cb7e923b
UD
314902011-08-04 Ulrich Drepper <drepper@gmail.com>
31491
16292edd
UD
31492 * string/test-string.h (IMPL): Use __STRING to expand name and then
31493 stringify it.
31494
cb7e923b
UD
31495 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
31496 of cleanups.
31497
cff82933
LD
314982011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31499
31500 * string/Makefile: Update.
31501 (strop-tests): Append strncat.
31502 * string/test-wcscmp.c: New file.
31503 New comprehensive test for wcscmp.
31504 * string/test-strcmp.c: Update.
31505 (WIDE): New define.
31506
9be9bfcc
AS
315072011-07-22 Andreas Schwab <schwab@redhat.com>
31508
31509 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
31510 line.
31511
2e96f1c7
AS
315122011-07-26 Andreas Schwab <schwab@redhat.com>
31513
31514 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31515 encoding to ACE if AI_IDN.
31516
85188888
JJ
315172011-08-01 Jakub Jelinek <jakub@redhat.com>
31518
31519 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
31520 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
31521
5fa16e9b
LD
315222011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31523
31524 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
31525 Fix overflow bug in strncat.
31526 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
31527
31528 * string/test-strncat.c: Update.
31529 Add new tests for checking overflow bugs.
31530
315312011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31532
31533 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31534 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
31535 * sysdeps/i386/i686/multiarch/strcat.S: New file.
31536 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
31537 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
31538 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
31539 * sysdeps/i386/i686/multiarch/strncat.S: New file.
31540 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
31541 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
31542
31543 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
31544 (USE_AS_STRCAT): Define.
31545 Add strcat and strncat support.
31546 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31547
8c1a459f
AS
315482011-07-25 Andreas Schwab <schwab@redhat.com>
31549
31550 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
31551 __n bigger than INT_MAX+1.
31552 (__strncmp_g): Likewise.
31553
bba33c28
UD
315542011-07-23 Ulrich Drepper <drepper@gmail.com>
31555
798be72d
UD
31556 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
31557 * libio/stido.h: Likewise.
31558
8accd4dc
UD
31559 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
31560 (AF_NFC): Define.
31561 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
31562 (AF_NFC): Define.
31563
cbff0d96
UD
31564 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
31565 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31566 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31567 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31568 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31569
9191c04a
UD
31570 [BZ #13021]
31571 * scripts/test-installation.pl: Don't expect libnss_test1 to be
31572 installed.
31573
bba33c28
UD
31574 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
31575 typo.
31576 (_dl_x86_64_save_sse): Likewise.
31577
90f139dd
UD
315782011-07-22 Ulrich Drepper <drepper@gmail.com>
31579
1aae088a
UD
31580 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
31581 OSXSAVE.
31582 (_dl_x86_64_save_sse): Likewise.
31583
8e2045f5
UD
31584 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
31585
90f139dd
UD
31586 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
31587
1d002f25
AS
315882011-07-21 Andreas Schwab <schwab@redhat.com>
31589
31590 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
31591 change.
31592 (_dl_x86_64_save_sse): Use correct AVX check.
31593
21137f89
UD
315942011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31595
31596 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
31597 bug in strncpy/strncat.
31598 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
31599
a65c0b7a
UD
316002011-07-21 Ulrich Drepper <drepper@gmail.com>
31601
31602 * string/tester.c (test_strcat): Add tests for different alignments
31603 of source and destination.
31604 (test_strncat): Likewise.
31605
6986b98a
UD
316062011-07-20 Ulrich Drepper <drepper@gmail.com>
31607
90bb2039
UD
31608 [BZ #12852]
31609 * posix/glob.c (glob): Check passed in values before using them in
31610 expressions to avoid some overflows.
31611 (glob_in_dir): Likewise.
31612
5644ef54
UD
31613 [BZ #13007]
31614 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
31615 check for AVX enablement so that we don't crash with old kernels and
31616 new hardware.
31617 * elf/tst-audit4.c: Add same checks here.
31618 * elf/tst-audit6.c: Likewise.
31619
31620 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 31621
bfc9dc9b
AS
316222011-07-09 Andreas Schwab <schwab@linux-m68k.org>
31623
31624 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
31625
702e64bb
UD
316262011-07-20 Ulrich Drepper <drepper@gmail.com>
31627
31628 * po/cs.po: Update from translation team.
31629 * po/bg.po: Likewise.
31630
295e904f
MP
316312011-07-12 Marek Polacek <mpolacek@redhat.com>
31632
31633 * misc/sys/cdefs.h: Add support for const attribute.
31634 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
31635 to gnu_dev_{major,minor,makedev} functions.
31636
3ff94596
MP
316372011-07-20 Marek Polacek <mpolacek@redhat.com>
31638
31639 * intl/dcigettext.c (get_output_charset): Add missing bracket.
31640
28b59fca
AS
316412011-07-20 Andreas Schwab <schwab@redhat.com>
31642
31643 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
31644 strlen results.
31645
19df733e
AK
316462011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31647
31648 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
31649 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
31650 register in order to avoid conflicts with the soft frame pointer
31651 being held in r11 when necessary.
31652 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
31653 (INTERNAL_VSYSCALL_NCS): Likewise.
31654
c8835729
MP
316552011-07-14 Marek Polacek <mpolacek@redhat.com>
31656
31657 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
31658 * elf/dl-fini.c (_dl_fini): Adjust caller.
31659 * elf/dl-close.c (_dl_close_worker): Likewise.
31660 * sysdeps/generic/ldsodefs.h: Adjust declaration.
31661
b902330c
MP
316622011-07-15 Marek Polacek <mpolacek@redhat.com>
31663
8991e135
MP
31664 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
31665 "aux_cache->nlibs < 0".
31666
b902330c
MP
31667 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
31668 in the reload-count case.
31669
99710781
LD
316702011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31671
31672 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31673 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
31674 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
31675 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
31676 * sysdeps/x86_64/multiarch/strcat.S: New file.
31677 * sysdeps/x86_64/multiarch/strncat.S: New file.
31678 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
31679 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
31680 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
31681 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
31682 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
31683 (USE_AS_STRCAT): Define.
31684 Add strcat and strncat support.
31685 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31686 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31687 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
31688 * string/strncat.c: Update.
31689 (USE_AS_STRNCAT): Define.
31690 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31691 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
31692 and i7.
31693 * sysdeps/x86_64/multiarch/init-arch.h
31694 (bit_Prefer_PMINUB_for_stringop): New.
31695 (index_Prefer_PMINUB_for_stringop): Likewise.
31696 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
31697 bit_Prefer_PMINUB_for_stringop.
31698
7dc6bd90
UD
316992011-07-19 Ulrich Drepper <drepper@gmail.com>
31700
31701 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
31702 buffer64.
31703 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
31704 of casting of buffer.
31705 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
31706 buffer32 and buffer64.
31707 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
31708 writes instead of casting of buffer.
31709 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
31710 buffer32.
31711 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
31712 casting of buffer.
31713
e0e72284
AS
317142011-07-19 Andreas Schwab <schwab@redhat.com>
31715
31716 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
31717
feb1eb0b
UD
317182011-07-19 Ulrich Drepper <drepper@gmail.com>
31719
31720 * nscd/nscd.c (termination_handler): Don't do anything for a database
31721 if it has not yet been initialized.
31722
298711ff
UD
317232011-07-18 Ulrich Drepper <drepper@gmail.com>
31724
31725 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31726
317272011-07-15 Marek Polacek <mpolacek@redhat.com>
31728
31729 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31730
f9d68389
UD
317312011-07-18 Ulrich Drepper <drepper@gmail.com>
31732
31733 * po/nl.po: Update from translation team.
31734 * po/sv.po: Likewise.
31735
db290cf5
RM
317362011-07-16 Roland McGrath <roland@hack.frob.com>
31737
31738 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
31739 now disallowed by GCC.
5c550700 31740
fd5e21c7
RM
31741 * configure.in (use-default-link): Default to yes if a test -shared
31742 link meets our qualifications.
31743 * configure: Regenerated.
31744
5c550700
RM
31745 * config.make.in (output-format): New variable.
31746 * configure.in: Check for ld --print-output-format support.
31747 * configure: Regenerated.
31748 * Makerules ($(common-objpfx)format.lds)
31749 [$(output-format) != unknown]: Just use $(output-format),
31750 instead of the linker-script munging.
31751
9fa2c032
RM
317522011-07-14 Roland McGrath <roland@hack.frob.com>
31753
a6928d51
RM
31754 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
31755 of $(common-objpfx)shlib.lds.
31756 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
31757
661607b3
RM
31758 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
31759 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
31760
9fa2c032
RM
31761 * configure.in (-z relro check): Adjust test code to add a large
31762 writable data section after it.
31763 * configure: Regenerated.
31764
defe9061
RM
317652011-07-11 Roland McGrath <roland@hack.frob.com>
31766
31767 * configure.in (-z relro check): Fix test code to make the variable
31768 truly const.
31769 * configure: Regenerated.
31770
319b9ad4
UD
317712011-07-11 Ulrich Drepper <drepper@gmail.com>
31772
31773 * nscd/nscd.h (struct traced_file): Define.
31774 (struct database_dyn): Remove inotify_descr, reset_res, and filename
31775 elements. Add traced_files.
31776 (inotify_fd): Declare.
31777 (register_traced_file): Declare.
31778 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
31779 (inotify_fd): Export.
31780 (resolv_conf_descr): Remove.
31781 (nscd_init): Move inotify descriptor creation to main.
31782 Don't register files for notification here.
31783 (register_traced_file): New function.
31784 (invalidate_cache): Don't use reset_res to determine whether to call
31785 res_init, go through the list of registered files.
31786 (main_loop_poll): The inotify descriptors are now stored in the
31787 structures for the traced files.
31788 (main_loop_epoll): Likewise
31789 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
31790 to __nss_disable_nscd.
31791 * nscd/cache.c (prune_cache): There is no single inotify descriptor
31792 for a database anymore. Check the records for all the registered
31793 files instead.
31794 * nss/Makefile (libnss_files-routines): Add files-init.
31795 (libnss_db-routines): Add db-init.
31796 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
31797 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
31798 * nss/nss_db/db-init.c: New file.
31799 * nss/nss_files/files-init.c: New file.
31800 * nss/nsswitch.c (nss_load_library): New function. Broken out of
31801 __nss_lookup_function.
31802 (__nss_lookup_function): Call nss_load_library.
31803 (nss_load_all_libraries): New function.
31804 (__nss_disable_nscd): Take parameter with callback function for files
31805 to register. Set is_nscd. Load all the DSOs for the NSS modules
31806 used for the cached services.
31807 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
31808 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
31809 options for features to all the files in nscd.
31810
31811 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
31812
23bee3e8
RM
318132011-07-10 Roland McGrath <roland@hack.frob.com>
31814
31815 * csu/elf-init.c (__libc_csu_init): Comment typo.
31816
46a5b7f0
UD
318172011-07-09 Ulrich Drepper <drepper@gmail.com>
31818
31819 * po/pl.po: Update from translation team.
31820 * po/ja.po: Likewise.
31821 * po/ru.po: Likewise.
31822 * po/ko.po: Likewise.
31823 * po/fr.po: Likewise.
31824
d30cf5bb
RM
318252011-07-09 Roland McGrath <roland@hack.frob.com>
31826
113ddea4
RM
31827 * configure.in (.ctors/.dtors header and trailer check):
31828 Use an empirical test on a built program.
31829 * configure: Regenerated.
31830
574920b4
RM
31831 * configure.in (-z relro check): Use an empirical test on a built DSO.
31832 Detect, but do not require, on ia64.
31833 * configure: Regenerated.
31834
d30cf5bb
RM
31835 * configure.in (READELF): Find it with AC_CHECK_TOOL.
31836 Update tests that use readelf to use $READELF instead.
31837 * configure: Regenerated.
31838
8538fdb3
UD
318392011-07-08 Ulrich Drepper <drepper@gmail.com>
31840
31841 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
31842 if the result is not used.
31843
04d08991
AJ
318442011-07-05 Andreas Jaeger <aj@suse.de>
31845
31846 [BZ#9696]
31847 * stdlib/tst-strtod.c: Add testcase.
31848
de283087
AD
318492011-07-07 Ulrich Drepper <drepper@gmail.com>
31850
4e5f31c8 31851 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 31852 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
31853 The latter has a higher limit. Take additional parameter to pass to
31854 the new function.
31855 (__pathconf): Pass file to __statfs_link_max.
31856 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
31857 __statfs_link_max.
31858 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
31859 __statfs_link_max.
31860
de283087
AD
31861 [BZ #12868]
31862 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
31863 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31864 Handle Lustre.
31865 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
31866 (__statfs_filesize_max): Likewise.
31867 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
31868
c75fa153
AJ
318692011-07-05 Andreas Jaeger <aj@suse.de>
31870
31871 * resolv/res_comp.c (dn_skipname): Remove unused variable.
31872
1a544854
UD
318732011-07-06 Marek Polacek <mpolacek@redhat.com>
31874
31875 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
31876 `status' variable.
31877 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
31878 Likewise.
31879
6f0eec67
UD
318802011-07-04 H.J. Lu <hongjiu.lu@intel.com>
31881
31882 * Makefile (strop-tests): Add strncat.
31883 * string/test-strncat.c: New file.
31884
aae30307
UD
318852011-06-30 Marek Polacek <mpolacek@redhat.com>
31886
31887 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
31888
c0cfb5eb
UD
318892011-06-21 Andreas Jaeger <aj@suse.de>
31890
31891 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
31892 Copy rule from iconvdata/Makefile.
31893
01636b21
UD
318942011-07-06 Ulrich Drepper <drepper@gmail.com>
31895
31896 [BZ #12922]
31897 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
31898 but no long options are defined, just return 'W'.
31899
9895c8bc
UD
319002011-06-22 Marek Polacek <mpolacek@redhat.com>
31901
31902 [BZ #9696]
31903 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
31904
5d4cf042
UD
319052011-07-06 Ulrich Drepper <drepper@gmail.com>
31906
31907 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
31908 netgroups to read.
960e5535 31909 (innetgr): Likewise.
5d4cf042 31910
751eb97e
RM
319112011-07-05 Roland McGrath <roland@hack.frob.com>
31912
31913 * config.make.in (install_root): Default to $(DESTDIR).
31914
f15f1e45
UD
319152011-07-05 Ulrich Drepper <drepper@gmail.com>
31916
31917 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
31918
4e34ac6a
RM
319192011-07-02 Roland McGrath <roland@hack.frob.com>
31920
5e9b6af4
RM
31921 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
31922
84f9ea0f
RM
31923 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
31924 containing directory rather than embedding absolute directory names.
31925
ea5ee9f7
RM
31926 * scripts/check-local-headers.sh: Rewritten using awk.
31927 Match by word, not by line. Print error messages for matches.
31928 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
31929
1b74661a
RM
31930 * Makerules [shlib-lds-flags empty]:
31931 ($(common-objpfx)libc_pic.opts): New target.
31932 ($(common-objpfx)libc_pic.os.clean): New target.
31933 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
31934
31935 * config.make.in (OBJCOPY): New variable.
31936 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
31937 * configure: Regenerated.
31938
f781ef40
RM
31939 * config.make.in (use-default-link): New variable.
31940 * configure.in (use_default_link): Grok --with-default-link to set it.
31941 * configure: Regenerated.
31942 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
31943 (shlib-lds, shlib-lds-flags): Define to empty.
31944
2d4fa81e
RM
31945 * Makerules (shlib-lds): New variable.
31946 (shlib-lds-flags): New variable.
31947 (build-shlib, build-moduile, build-module-asneeded): Use it.
31948 ($(common-objpfx)libc.so): Use $(shlib-lds).
31949 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
31950 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
31951
31fffa6b
RM
31952 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
31953 DT_FLAGS/DT_FLAGS_1 with zero flags.
31954
4e34ac6a
RM
31955 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
31956 linker script munging.
31957
fcfc776b
UD
319582011-07-02 Ulrich Drepper <drepper@gmail.com>
31959
31960 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
31961 as 128-bit value.
31962 * crypt/sha512.c (sha512_process_block): Perform total addition using
31963 128-bit if possible.
31964 (__sha512_finish_ctx): Likewise.
31965 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
31966 as 64-bit value.
31967 * crypt/sha256.c (SWAP64): Define.
31968 (sha256_process_block): Perform total addition using 64-bit if
31969 possible.
31970 (__sha256_finish_ctx): Likewise.
31971
99231d9a
UD
319722011-07-01 Ulrich Drepper <drepper@gmail.com>
31973
31974 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
31975 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31976 * nscd/hstcache.c (cache_addhst): Likewise.
31977 * nscd/grpcache.c (cache_addgr): Likewise.
31978 * nscd/aicache.c (addhstaiX): Likewise
31979 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
31980
445b4a53
TK
319812011-07-01 Thorsten Kukuk <kukuk@suse.de>
31982
31983 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
31984 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31985 * nscd/hstcache.c (cache_addhst): Likewise.
31986 * nscd/grpcache.c (cache_addgr): Likewise.
31987 * nscd/aicache.c (addhstaiX): Likewise
31988
6d4d8e8e
AS
319892011-07-01 Andreas Schwab <schwab@redhat.com>
31990
31991 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
31992 domain only when needed.
31993
89f654c5
AS
319942011-06-30 Andreas Schwab <schwab@redhat.com>
31995
31996 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
31997 is always restored.
31998
cf3b23ff
UD
319992011-06-29 Ulrich Drepper <drepper@gmail.com>
32000
32001 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
32002 are re-adding the entry.
32003 * nscd/servicescache.c (cache_addserv): Likewise.
32004
751626f9
AJ
320052011-06-30 Aurelien Jarno <aurelien@aurel32.net>
32006
32007 * sysdeps/generic/dl-irel.h: fix protection against multiple
32008 inclusions.
32009 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
32010
9113ea1f
UD
320112011-06-28 Ulrich Drepper <drepper@gmail.com>
32012
5c0b8d90
UD
32013 [BZ #12935]
32014 * malloc/memusage.sh: Fix quoting in message.
32015 * debug/xtrace.sh: Likewise.
32016
9113ea1f
UD
32017 * configure.in: Remove support for --experimental-malloc option, make
32018 it the default.
32019 * config.make.in: Likewise.
32020 * malloc/Makefile: Likewise.
32021
a4172181
AS
320222011-06-27 Andreas Schwab <schwab@redhat.com>
32023
32024 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
32025 two-byte characters.
32026
78a7eee7
RM
320272011-06-27 Roland McGrath <roland@hack.frob.com>
32028
62bede13
RM
32029 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
32030 AC_CACHE_CHECK invocation.
32031 * configure: Regenerated.
32032
78a7eee7
RM
32033 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
32034
5ce33a62
UD
320352011-06-27 Ulrich Drepper <drepper@gmail.com>
32036
034807a9
UD
32037 [BZ #12350]
32038 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
32039 bit from old_res_options.
32040
4902da17
UD
32041 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
32042
5ce33a62
UD
32043 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
32044 value type for setfct.
32045
c2344f56
L
320462011-06-23 H.J. Lu <hongjiu.lu@intel.com>
32047
32048 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32049 __gettimeofday instead of gettimeofday.
32050
68468076
UD
320512011-06-26 Ulrich Drepper <drepper@gmail.com>
32052
32053 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
32054
acb0d739
L
320552011-06-24 H.J. Lu <hongjiu.lu@intel.com>
32056
32057 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
32058
32059 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
32060 info.
32061
8912479f
L
320622011-06-22 H.J. Lu <hongjiu.lu@intel.com>
32063
32064 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32065 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32066 strcpy-sse2-unaligned strncpy-sse2-unaligned
32067 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
32068 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
32069 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
32070 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
32071 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
32072 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
32073 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
32074 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
32075 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
32076 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
32077 (STRCPY): Support SSE2 and SSSE3 versions.
32078
d5495a11
UD
320792011-06-24 Ulrich Drepper <drepper@gmail.com>
32080
32081 [BZ #12874]
32082 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
32083 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
32084 kernels which artificially limit size of requests.
32085
0b1cbaae
L
320862011-06-22 H.J. Lu <hongjiu.lu@intel.com>
32087
32088 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32089 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32090 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
32091 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
32092 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
32093 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
32094 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
32095 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
32096 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
32097 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
32098 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
32099 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
32100 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
32101 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
32102 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
32103 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32104 Enable unaligned load optimization for Intel Core i3, i5 and i7
32105 processors.
32106 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
32107 Define.
32108 (index_Fast_Unaligned_Load): Define.
32109 (HAS_FAST_UNALIGNED_LOAD): Define.
32110
07f494a0
MP
321112011-06-23 Marek Polacek <mpolacek@redhat.com>
32112
32113 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
32114
fa3fc0fe
UD
321152011-06-22 Ulrich Drepper <drepper@gmail.com>
32116
32117 [BZ #12907]
32118 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
32119 until it is clear that the information is realy needed.
32120 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
32121
e12df166
AS
321222011-06-22 Andreas Schwab <schwab@redhat.com>
32123
32124 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
32125
852eb34d
UD
321262011-06-22 Ulrich Drepper <drepper@gmail.com>
32127
84e2a551
UD
32128 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32129 /sys/devices/system/cpu/online if it is usable.
32130
852eb34d
UD
32131 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
32132 reading the information from the /proc filesystem to once a second.
32133
6e502e19
UD
321342011-06-21 Andreas Jaeger <aj@suse.de>
32135
32136 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
32137 NULL after inclusion of kernel headers.
32138
75d39ff2
UD
321392011-06-21 Ulrich Drepper <drepper@gmail.com>
32140
51f9aa6a
UD
32141 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
32142 calls to internal_setent.
32143
c0244a9d
UD
32144 [BZ #12885]
32145 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
32146 addresses using gethostbyname4_r ignore IPv4 addresses.
32147
c5e3c2ae
UD
32148 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
32149 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
32150
75d39ff2
UD
32151 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
32152
42675c6f
DM
321532011-06-20 David S. Miller <davem@davemloft.net>
32154
32155 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
32156 inclusions.
32157 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
32158
32159 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
32160 (elf_irel): Use it.
32161 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
32162 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
32163 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
32164 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
32165 * sysdeps/x86_64/dl-irel.h: Likewise.
32166
32167 * elf/dl-runtime.c: Use elf_ifunc_invoke.
32168 * elf/dl-sym.c: Likewise.
32169
57912a71
UD
321702011-06-15 Ulrich Drepper <drepper@gmail.com>
32171
32172 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
32173 need to dereference resplen2.
32174
ee22793d
AS
321752011-06-14 Andreas Schwab <schwab@redhat.com>
32176
32177 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
32178
a9e836b0
UD
321792011-06-15 Ulrich Drepper <drepper@gmail.com>
32180
77fb9117
UD
32181 * Makeconfig: Define vardbdir and inst_vardbdir.
32182 * nss/Makefile: Add rules to install db-Makefile.
32183
40c1b22c
UD
32184 * nss/nss_db/db-XXX.c: Cleanup.
32185
9f2da732
UD
32186 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
32187 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
32188 GLIBC_PRIVATE.
32189 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
32190 * nss/makedb.c: Implement -g option to specify that value strings
32191 are generated and should not be added to table iterated over for
32192 get*ent calls.
32193 * nss/nss_db/db-initgroups.c: New file.
32194
82e9a1f7
UD
32195 * nss/getent.c: Add support for initgroups lookups through getgrouplist
32196 interface.
32197
c41af17e
UD
32198 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
32199 (internal_getgrouplist): Adjust to name change.
32200 Update use_initgroups_entry if this is not the first call.
32201 * nss/databases.def: Add initgroups entry.
32202
a9e836b0
UD
32203 * nss/makedb.c (compute_tables): Check result of multiple hash table
32204 sizes to minimize maximum chain length.
32205
2666d441
UD
322062011-06-14 Ulrich Drepper <drepper@gmail.com>
32207
32208 * Versions.def: Add entry for libnss_db.
32209 * shlib-versions: Likewise.
32210 * nss/Makefile: Add rules to build libnss_db.
32211 * nss/Versions: Add libnss_db information. Organize libnss_files
32212 entries better.
32213 * nss/db-Makefile: Add gshadow support. Change rules for the new
32214 makedb progra. Some minor improvements to generate smaller files.
32215 * nss/nss_db/nss_db.h: Move NSS database header data structures to
32216 here from...
32217 * nss/makedb.c: ...here.
32218 Improve database format to be smaller and require less memory at
32219 runtime.
32220 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
32221 db anymore.
32222 * nss/nss_db/db-netgrp.c: Likewise.
32223 * nss/nss_db/db-open.c: Likewise.
32224 * nss/nss_files/flies-XXX.x: Adjust comments.
32225 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
32226 * nss/nss_files/files-grp.c: Likewise.
32227 * nss/nss_files/files-hosts.c: Likewise.
32228 * nss/nss_files/files-network.c: Likewise.
32229 * nss/nss_files/files-proto.c: Likewise.
32230 * nss/nss_files/files-pwd.c: Likewise.
32231 * nss/nss_files/files-rpc.c: Likewise.
32232 * nss/nss_files/files-service.c: Likewise.
32233 * nss/nss_files/files-sgrp.c: Likewise.
32234 * nss/nss_files/files-spwd.c: Likewise.
32235 * nss/nss_db/db-alias.c: Removed.
32236 * nss/nss_db/dummy-db.h: Removed.
32237
9ee76b5a
UD
322382011-06-02 Ulrich Drepper <drepper@gmail.com>
32239
32240 * nss/makedb.c: Rewritten to not use database library.
32241 * nss/Makefile: Update to build new makedb program.
32242
c71ca1f8
AJ
322432011-06-14 Andreas Jaeger <aj@suse.de>
32244
32245 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
32246 memset declaration.
32247
3154bfb8
UD
322482011-06-10 Andreas Schwab <schwab@redhat.com>
32249
32250 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
32251 tmpbuf.
32252
b350afab
RM
322532011-06-10 Roland McGrath <roland@hack.frob.com>
32254
decd4e50
RM
32255 * Makerules (shlib.lds): Fail if the linker script comes out empty.
32256 * elf/Makefile ($(objpfx)ld.so): Likewise.
32257
5615eaf2
RM
32258 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
32259 Don't list ld.so twice in dependencies.
32260
32261 * posix/bug-regex31.c: Include <stdlib.h>.
32262
32263 * nscd/hstcache.c (cache_addhst): Remove unused variable.
32264
32265 * nis/nss_compat/compat-spwd.c
32266 (getspent_next_nss_netgr): Remove unused variable.
32267 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
32268
32269 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
32270 nonmembers" output to use the right array.
32271
32272 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
32273
32274 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
32275
32276 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
32277 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
32278 * catgets/gencat.c (read_input_file): Likewise.
32279 * locale/programs/locarchive.c (enlarge_archive): Likewise.
32280
32281 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
32282 variable definition inside #if's controlling its use.
32283
32284 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
32285
32286 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
32287
32288 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
32289
32290 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
32291 unreachable code.
32292
32293 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
32294
b68e08db
RM
32295 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
32296 * configure: Regenerated.
32297
b350afab
RM
32298 * Makerules: Revert last change.
32299 * elf/Makefile: Likewise.
32300
28368601
RM
323012011-06-09 Roland McGrath <roland@hack.frob.com>
32302
32303 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
32304 * elf/Makefile ($(objpfx)librtld.os): Likewise.
32305 (reloc-link): Likewise.
32306
11988f8f
UD
323072011-06-09 Ulrich Drepper <drepper@gmail.com>
32308
32309 * elf/Makefile: Add rules to build pldd.
32310 * elf/pldd.c: New file.
32311 * elf/pldd-xx.c: New file.
32312
e80fab37
UD
323132011-06-07 Ulrich Drepper <drepper@gmail.com>
32314
32315 * version.h: Update for 2.15 development version.
32316
9b849836
DM
323172011-06-07 David S. Miller <davem@davemloft.net>
32318
32319 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
32320 ifuncs.
32321 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
32322 elf_machine_lazy_rel): Likewise.
32323 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
32324 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
32325 elf_machine_lazy_rel): Likewise.
32326 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
32327 dl_hwcap via passed in argument.
32328 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
32329 Likewise.
32330
5a31b283
AK
323312011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32332
32333 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
32334
069e52f8
RM
323352011-06-06 Roland McGrath <roland@hack.frob.com>
32336
32337 [BZ #12849]
32338 * manual/fdl-1.1.texi: New file, verbatim from:
32339 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
32340 * manual/lgpl-2.1.texi: New file, verbatim from:
32341 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
32342 * manual/Makefile (licenses): New variable, list those new file names.
32343 (texis): Use it.
32344 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
32345
32346 * manual/fdl.texi: File removed.
32347 * manual/lesser.texi: File removed.
32348 * manual/libc.texinfo (Copying, Documentation License):
32349 Use new @include file names, put @appendix directive before @include.
32350
f16846a5
JJ
323512011-06-04 Jakub Jelinek <jakub@redhat.com>
32352
32353 [BZ #12841]
32354 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
32355 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
32356 (mq_open): Add __NTH.
32357
3d29045b
L
323582011-06-02 H.J. Lu <hongjiu.lu@intel.com>
32359
32360 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32361 Assume Intel Core i3/i5/i7 processor if AVX is available.
32362
8c297311
UD
323632011-05-31 Ulrich Drepper <drepper@gmail.com>
32364
32365 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32366 typo.
32367
c8fc0c91
UD
323682011-05-31 Andreas Schwab <schwab@redhat.com>
32369
32370 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
32371 memory. Use alloca_account. Fix memory leak when retrying.
32372
5b27a807
UD
323732011-05-31 Ulrich Drepper <drepper@gmail.com>
32374
356f8bc6
UD
32375 * version.h (RELEASE): Bump for 2.14 release.
32376 * include/features.h (__GLIBC_MINOR__): Bump to 14.
32377
5b27a807
UD
32378 * config.make.in (RANLIB): Remove entry.
32379
01f16ab0
UD
323802011-05-30 Ulrich Drepper <drepper@gmail.com>
32381
41fce8bd
UD
32382 * po/Makefile (po-sed-cmd): Add ksh to extensions.
32383 (libc.pot): Work around missing support for .ksh extension in xgettext.
32384
4769ae77
UD
32385 [BZ #12684]
32386 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
32387 if both request failed.
32388 (send_dg): In case of server errors clear resplen or *resplen2.
32389
6b1e7d19
UD
32390 [BZ #12454]
32391 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
32392 when there are multiple maps.
32393 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
32394 (_dl_fini): Remove test here.
32395
01f16ab0
UD
32396 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
32397
b1ebd700
UD
323982011-05-29 Ulrich Drepper <drepper@gmail.com>
32399
7ae22829
UD
32400 [BZ #12350]
32401 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
32402 bit from old_res_options.
32403 (gaih_inet): Likewise.
32404
553149f6 32405 [BZ #11099]
18a84741 32406 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
32407 as signed.
32408
652ffab1
UD
32409 * resolv/res_init.c (res_setoptions): Make the code more compact.
32410
16985fd0
UD
32411 [BZ #11558]
32412 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
32413 set RES_USEVC.
32414
0464f746
UD
32415 [BZ #11634]
32416 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
32417
7d17596c
UD
32418 * malloc/malloc.h: Mark malloc hook variables as deprecated.
32419
cf6bbbd7
UD
32420 [BZ #11781]
32421 * malloc/malloc.h: Declare malloc hook variables as volatile.
32422
13f1ab36
UD
32423 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
32424 in last patch.
32425
b1ebd700
UD
32426 [BZ #11799]
32427 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 32428 raise in the comment.
80e2212d
UD
32429 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
32430 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32431 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 32432
ce67228d
UD
324332011-05-28 Ulrich Drepper <drepper@gmail.com>
32434
8887a920
UD
32435 [BZ #12811]
32436 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
32437 grow the buffers more if it already has to be sufficient.
32438 (build_wcs_upper_buffer): Likewise.
32439 * posix/regexec.c (check_matching): Likewise.
32440 (clean_state_log_if_needed): Likewise.
32441 (extend_buffers): Don't enlarge buffers beyond size of the input
32442 buffer.
32443 Patches mostly by Emil Wojak <emil@wojak.eu>.
32444 * posix/bug-regex32.c: New file.
32445 * posix/Makefile (tests): Add bug-regex32.
32446
4f031072
UD
32447 * locale/findlocale.c (_nl_find_locale): Return right away if
32448 _nl_explode_name failed.
32449 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
32450
d0478f0c
UD
32451 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
32452
de81b246
UD
32453 * debug/xtrace.sh: Unify messages.
32454 * malloc/memusage.sh: Likewise.
32455
c738465a
UD
32456 [BZ #12813]
32457 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
32458 time symbol from vDSO. Substitute with vsyscall if not available.
32459 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
32460 __vdso_time.
32461
f1f929d7
UD
32462 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
32463 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
32464 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
32465 Add sendmmsg and internal_sendmmsg.
32466 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
32467 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
32468 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
32469
ce67228d
UD
32470 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
32471 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
32472 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
32473
e57420c6
UD
324742011-05-27 Ulrich Drepper <drepper@gmail.com>
32475
a8509ca5
UD
32476 [BZ #12813]
32477 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
32478 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
32479 available.
32480 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
32481 __vdso_getcpu.
32482
e57420c6
UD
32483 [BZ #12814]
32484 * iconvdata/Makefile (tests): Add bug-iconv9.
32485 * iconvdata/bug-iconv9.c: New file.
32486
4d07db15
AS
324872011-05-27 Andreas Schwab <schwab@redhat.com>
32488
32489 [BZ #12814]
32490 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
32491
ea486f69
JJ
324922011-05-25 Jakub Jelinek <jakub@redhat.com>
32493
32494 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32495 (struct user_regs_struct): Change intcs field back to cs.
32496
6f038433
UD
324972011-05-25 Ulrich Drepper <drepper@gmail.com>
32498
32499 * po/ja.po: Update from translation team.
32500
67f86a25
UD
325012011-05-23 Ulrich Drepper <drepper@gmail.com>
32502
32503 [BZ #12795]
32504 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
32505 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
32506
def7fbd6
AS
325072011-05-20 Andreas Schwab <schwab@redhat.com>
32508
32509 * stdlib/longlong.h: Update from GCC.
32510
f50ef8f1
AS
325112011-05-23 Andreas Schwab <schwab@redhat.com>
32512
32513 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
32514 parameter name.
32515 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
32516 Add parameter name.
32517 (__sysconf): Pass it down.
32518
de7ce8f1
UD
325192011-05-22 Ulrich Drepper <drepper@gmail.com>
32520
f2962a71
UD
32521 [BZ #12671]
32522 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
32523 some situations.
32524 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32525 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
32526 add in in __libc_use_alloca calls. Adjust callers.
32527 (glob): Use malloc in some situations.
32528
de7ce8f1
UD
32529 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
32530 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
32531 pltexit.
32532
aec84f53
UD
325332011-05-21 Ulrich Drepper <drepper@gmail.com>
32534
05bb4a68
UD
32535 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
32536 and CLOCK_BOOTTIME_ALARM.
32537
7ea72f99
UD
32538 [BZ #12782]
32539 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
32540 is returned.
32541
7e4afad5
UD
32542 * string/_strerror.c (__strerror_r): Print negative errors as signed
32543 numbers.
32544
8e211fec
UD
32545 [BZ #12777]
32546 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
32547 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
32548 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
32549
f7d82dc9
UD
32550 * configure.in: Fix typo in redirection and correct removal of test
32551 files in two cases.
32552
cc9e536d
UD
32553 [BZ #12788]
32554 * locale/setlocale.c (new_composite_name): Fix test to check for
32555 identical name of all categories.
32556
aec84f53
UD
32557 [BZ #12792]
32558 * libio/filedoalloc.c (local_isatty): New function.
32559 (_IO_file_doallocate): Use local_isatty.
32560 * stdio-common/perror.c (perror): In case a new stream is used
32561 forward the stream error.
32562 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
32563 error flag.
32564
78e64fdc
RT
325652011-05-20 Ulrich Drepper <drepper@gmail.com>
32566
34a9094f
UD
32567 [BZ #11869]
32568 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
32569 alloca.
32570 * include/alloca.h (extend_alloca_account): Define.
32571
78e64fdc
RT
32572 [BZ #11857]
32573 * posix/regex.h: Fix comments with documentation of user-accessible
32574 fields after compilation and describe correct free'ing of pattern
32575 after re_compile_pattern.
32576 Patch by Reuben Thomas <rrt@sc3d.org>.
32577
457bddfc
RA
325782011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
32579
32580 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
32581 and -mno-altivec to prevent the compiler from using Altivec and/or
32582 VSX instructions when the corresponding registers are not available.
32583
a4527b51
AS
325842011-05-19 Andreas Schwab <schwab@redhat.com>
32585
32586 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
32587
ed690b2f
UD
325882011-05-19 Ulrich Drepper <drepper@gmail.com>
32589
32590 * libio/freopen.c (freopen): Use __dup2, not dup2.
32591 * libio/freopen64.c (freopen64): Likewise.
32592
8db73634
L
325932011-05-17 H.J. Lu <hongjiu.lu@intel.com>
32594
32595 [BZ #12775]
32596 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
32597 * math/Makefile (tests): Add test-powl.
32598 (CFLAGS-test-powl.c): Define.
32599 * math/test-powl.c: New file.
32600
0a197a9d
L
326012011-05-16 H.J. Lu <hongjiu.lu@intel.com>
32602
32603 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
32604
ee30c380
UD
326052011-05-17 Ulrich Drepper <drepper@gmail.com>
32606
32607 [BZ #11837]
32608 * iconvdata/gb18030.c: Update to GB18020-2005.
32609
6ce75379
UD
326102011-05-16 Ulrich Drepper <drepper@gmail.com>
32611
a4b89fd8
AR
32612 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
32613 RE_SYNTAX_POSIX_AWK): Update to match recent development.
32614 Patch by Aharon Robbins <arnold@skeeve.com>.
32615
ea389b12
UD
32616 [BZ #11892]
32617 * stdlib/putenv.c (putenv): Don't always create copy of the variable
32618 on the stack.
32619
68a3f91f
UD
32620 [BZ #11895]
32621 * misc/pselect.c (__pselect): Handle timeout value errors hidden
32622 through underflows.
32623
15cc7dd1
UD
32624 [BZ #12766]
32625 * misc/error.c (error_at_line): Ensure file_name and old_file_name
32626 point to strings before performing equality test for error_one_per_line
32627 mode.
32628
f3799213
UD
32629 [BZ #11697]
32630 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
32631
d79a9c94
UD
32632 [BZ #11820]
32633 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32634 (struct user_fpregs_struct): Avoid __uint*_t types.
32635
56e5eb46
UD
32636 [BZ #6420]
32637 * malloc/mtrace.c (tr_where): Add additional parameter to point to
32638 symbol info. Use it instead of calling _dl_addr locally.
32639 (lock_and_info): New function.
32640 (tr_freehook): Call lock_and_info and pass symbol info as additional
32641 parameter to tr_where.
32642 (tr_mallochook): Likewise.
32643 (tr_reallochook): Likewise.
32644 (tr_memalignhook): Likewise.
32645
6ce75379
UD
32646 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
32647 used and couldn't be at all thread-safe.
32648
f8a3b5bf
UD
326492011-05-15 Ulrich Drepper <drepper@gmail.com>
32650
94b7cc37
UD
32651 * libio/freopen.c (freopen): Don't close old file descriptor
32652 before the new one is opened. Instead dup the new file descriptor
32653 to the old one after the new stream is created.
32654 * libio/freopen64.c (freopen64): Likewise.
32655 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
32656 * libio/fileops.c (_IO_new_file_close_it): Handle new
32657 _IO_FLAGS2_NOCLOSE flag.
32658 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
32659 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
32660 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
32661 _IO_FLAGS2_NOCLOSE flag.
32662 * include/unistd.h: Add hidden_proto for dup3.
32663 Define __have_dup3.
32664 * io/dup3.c: Define hidden symbol.
32665 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
32666
bd25564e
UD
32667 [BZ #7101]
32668 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
32669 when an incomplete long option is used.
32670 * posix/tst-getopt_long1.c: New file.
32671 * posix/Makefile (tests): Add tst-getopt_long1.
32672
c84cfef4
UD
32673 [BZ #10138]
32674 * scripts/config.guess: Update from autoconf-2.68.
32675 * scripts/config.sub: Likewise.
32676
3b85df27
UD
32677 [BZ #10157]
32678 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
32679 tests into ...
32680 (has_cpuclock): ...this. New function.
32681 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
32682 macro here based on has_cpuclock code.
32683
15a856b1
UD
32684 [BZ #10149]
32685 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32686 First byte (not low byte) is now always NUL.
32687 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
32688
05f399e6
UD
32689 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32690 Use non-cancelable interfaces.
32691
10a52685 32692 [BZ #9809]
94ecc67d
UD
32693 * locale/iso-639.def: Add entry for Sorani.
32694
f8a3b5bf
UD
32695 [BZ #11901]
32696 * include/stdlib.h: Move include protection to the right place.
32697 Define abort_msg_s. Declare __abort_msg with it.
32698 * stdlib/abort.c (__abort_msg): Adjust type.
32699 * assert/assert.c (__assert_fail_base): New function. Majority
32700 of code from __assert_fail. Allocate memory for __abort_msg with
32701 mmap.
32702 (__assert_fail): Now call __assert_fail_base.
32703 * assert/assert-perr.c: Remove bulk of implementation. Use
32704 __assert_fail_base.
32705 * include/assert.hL Declare __assert_fail_base.
32706 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
32707 mmap.
32708 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
32709
1af4e298
UD
327102011-05-14 Ulrich Drepper <drepper@gmail.com>
32711
f8a3b5bf 32712 [BZ #11952]
d26dfc60
MG
32713 [BZ #12453]
32714 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
32715 until all modules are registered in the DTV.
32716 * elf/Makefile: Add rules to build and run tst-tls19.
32717 * elf/tst-tls19.c: New file.
32718 * elf/tst-tls19mod1.c: New file.
32719 * elf/tst-tls19mod2.c: New file.
32720 * elf/tst-tls19mod3.c: New file.
32721 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
32722
2fc54d6f
UD
32723 [BZ #12083]
32724 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
32725 correctly.
32726
98d76b46
UD
32727 [BZ #12601]
32728 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
32729 two-byte sequence errors.
32730 * iconvdata/Makefile (tests): Add bug-iconv8.
32731 * iconvdata/bug-iconv8.c: New file.
32732
da3c19ef
UD
32733 [BZ #12626]
32734 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
32735 buf2 definition.
32736
ca408c15
UD
32737 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
32738
d6f67f7d
UD
32739 [BZ #12432]
32740 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
32741 (dummy_getcfa): New function.
32742 (init): Get _Unwind_GetCFA address, use dummy if not found.
32743 (backtrace_helper): In recursion check, also check whether CFA changes.
32744 (__backtrace): Completely initialize arg.
32745
1af4e298 32746 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
32747 storing incomplete byte sequence in state object. Avoid testing for
32748 guaranteed too small input if we know there is enough data available.
1af4e298 32749
da62f81b
AS
327502011-05-11 Andreas Schwab <schwab@redhat.com>
32751
32752 * Makeconfig (+link-pie): Indent.
32753 * Rules (binaries-pie): Define if $(have-fpie) and
32754 $(build-shared).
32755 (binaries-shared): Also filter out $(binaries-pie).
32756 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
32757 * nscd/Makefile (others-pie): Add nscd.
32758 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
32759 ($(objpfx)nscd): Remove command override.
32760 * login/Makefile (others-pie): Add pt_chown.
32761 ($(objpfx)pt_chown): Remove command override.
32762 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
32763 remove command overrides.
32764
fcabc0f8
UD
327652011-05-13 Ulrich Drepper <drepper@gmail.com>
32766
20030ae6
UD
32767 * libio/tst_putwc.c: Fix error messages.
32768
fcabc0f8
UD
32769 [BZ #12724]
32770 * libio/fileops.c (_IO_new_file_close_it): Always flush when
32771 currently writing and seek to current position when not.
32772 * libio/Makefile (tests): Add bug-fclose1.
32773 * libio/bug-fclose1.c: New file.
32774
320a5dc0
PB
327752011-05-12 Ulrich Drepper <drepper@gmail.com>
32776
32777 [BZ #12511]
32778 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
32779 don't set DF_1_NODELETE here.
32780 (do_lookup_x): When entering new entry test for copy relocation
32781 and if necessary set DF_1_NODELETE flag.
32782 * elf/tst-unique4.cc: New file.
32783 * elf/tst-unique4.h: New file.
32784 * elf/tst-unique4lib.cc: New file.
32785 * elf/Makefile: Add rules to build and run tst-unique4.
32786 Patch by Piotr Bury <pbury@goahead.com>.
32787
22836f52
UD
327882011-05-11 Ulrich Drepper <drepper@gmail.com>
32789
f574184a
UD
32790 [BZ #12052]
32791 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
32792
e1fb097f
UD
32793 [BZ #12625]
32794 * misc/mntent_r.c (addmntent): Flush the stream after the output
32795
22836f52
UD
32796 [BZ #12393]
32797 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
32798 (is_trusted_path_normalize): Skip initial colon. Append slash
32799 to empty buffer. Duplicate is_trusted_path code but allow
32800 constructed patch to be prefix.
32801 (is_dst): Allow $ORIGIN followed by /.
32802 (_dl_dst_substitute): Correct clearing of check_for_trusted.
32803 Correct testing of result of is_trusted_path_normalize
32804 (decompose_rpath): Fix warning.
32805
7b3b0b2a
UD
328062011-05-10 Ulrich Drepper <drepper@gmail.com>
32807
32808 [BZ #11257]
32809 * grp/initgroups.c (internal_getgrouplist): When we found the service
32810 list through the initgroups entry in nsswitch.conf do not always
32811 continue on a successful lookup. Don't always use the
eac80ce2 32812 __nss_group_database value if it is set.
7b3b0b2a
UD
32813 * nss/nsswitch.conf (initgroups): Change action for successful db
32814 lookup to continue for compatibility.
32815
2a81eaa5
UD
328162011-05-09 Ulrich Drepper <drepper@gmail.com>
32817
be97a69e
UD
32818 [BZ #11532]
32819 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
32820 and CP774 modules.
32821 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
32822 and CP774 modules.
32823 * iconvdata/tst-tables.sh: Likewise.
32824 * iconvdata/cp770.c: New file.
32825 * iconvdata/cp771.c: New file.
32826 * iconvdata/cp772.c: New file.
32827 * iconvdata/cp773.c: New file.
32828 * iconvdata/cp774.c: New file.
32829 * iconvdata/testdata/CP770: New file.
32830 * iconvdata/testdata/CP770..UTF8: New file.
32831 * iconvdata/testdata/CP771: New file.
32832 * iconvdata/testdata/CP771..UTF8: New file.
32833 * iconvdata/testdata/CP772: New file.
32834 * iconvdata/testdata/CP772..UTF8: New file.
32835 * iconvdata/testdata/CP773: New file.
32836 * iconvdata/testdata/CP773..UTF8: New file.
32837 * iconvdata/testdata/CP774: New file.
32838 * iconvdata/testdata/CP774..UTF8: New file.
32839
32840 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
32841 END CHARMAP line.
32842 * iconvdata/gen-8bit-gap.sh: Likewise.
32843 * iconvdata/gen-8bit.sh: Likewise.
32844
c1e9e399
UD
32845 * locale/iso-639.def: Add ary entry.
32846
24c55fb3 32847 [BZ #11258]
96b4b1b0
UD
32848 * locale/C-translit.h.in: Add U20A1 transliteration.
32849
bdc2f971
KB
32850 [BZ #12178]
32851 * locale/iso-639.def: Add wae entry.
32852 Patch by Kevin Bortis <bortis@translate-wae.ch>.
32853
2952b117
UD
32854 [BZ #12545]
32855 * locale/programs/localedef.c (construct_output_path): Use ssize_t
32856 for n.
32857
2a81eaa5
UD
32858 [BZ #12711]
32859 * locale/C-translit.h.in: Add entry for U20B9.
32860 Patch by pravin.d.s@gmail.com.
32861
28377d1b
UD
328622011-05-08 Ulrich Drepper <drepper@gmail.com>
32863
7fb90fb8
UD
32864 [BZ #12713]
32865 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
32866 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
32867 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
32868 in rtld. Use *stat64.
7fb90fb8 32869 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 32870 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 32871 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
32872 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
32873 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
32874 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
32875 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
32876 __fstatat64 macros.
7fb90fb8
UD
32877 * include/dirent.h: Add libc_hidden_proto for rewinddir.
32878 * dirent/rewinddir.c: Add libc_hidden_def.
32879 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 32880 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 32881
28377d1b
UD
32882 * include/dirent.h (__alloc_dir): Add flags parameter.
32883 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
32884 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
32885 __alloc_dir.
32886 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
32887 from fdopendir if O_CLOEXEC is already set.
32888
66bdbaa4
AM
328892011-03-15 Alan Modra <amodra@gmail.com>
32890
32891 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
32892 l_tls_firstbyte_offset non-zero. Save padding offset in
32893 l_tls_firstbyte_offset for later use.
32894 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
32895 freeing static tls block.
32896
95721191
JN
328972011-03-05 Jonathan Nieder <jrnieder@gmail.com>
32898
32899 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
32900 where #ifdef was intended. The intent is to prevent ARG_MAX from
32901 being defined by the kernel headers.
32902
f87dfb1f
UD
329032011-05-07 Ulrich Drepper <drepper@gmail.com>
32904
32905 [BZ #12734]
32906 * resolv/resolv.h: Define RES_NOTLDQUERY.
32907 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
32908 no-tld-query and set RES_NOTLDQUERY.
32909 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
32910 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
32911 modern BIND to search name as TLD unless forbidden.
32912
47c3cd7a
UD
329132011-05-07 Petr Baudis <pasky@suse.cz>
32914 Ulrich Drepper <drepper@gmail.com>
32915
32916 [BZ #12393]
32917 * elf/dl-load.c (fillin_rpath): Move trusted path check...
32918 (is_trusted_path): ...to here.
c1e9ea35 32919 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 32920 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 32921 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 32922
8a35c912
PP
329232011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32924
32925 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
32926 __BEGIN/__END_DECLS.
32927
acd41f47
UD
329282011-05-06 Ulrich Drepper <drepper@gmail.com>
32929
32930 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
32931 NSS_STATUS_NOTFOUND if no record was found.
32932
597df647
AS
329332011-05-05 Andreas Schwab <schwab@redhat.com>
32934
32935 * sunrpc/Makefile (headers): Add rpc/netdb.h.
32936 (headers-not-in-tirpc): Remove rpc/netdb.h
32937 * resolv/netdb.h: Revert last change.
32938
b9af1301
PP
329392011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
32940
32941 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
32942 circular dependency between libgcc.a and libc.a.
32943
4e34d5f5
AS
329442011-05-05 Andreas Schwab <schwab@redhat.com>
32945
32946 * resolv/netdb.h: Don't include <rpc/netdb.h>.
32947 * nis/Makefile: Don't install rpcsvc/*.
32948 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
32949 instead of <rpc/types.h>.
32950 (MAXHOSTNAMELEN): Define.
32951
00ee369c
AS
329522011-05-03 Andreas Schwab <schwab@redhat.com>
32953
32954 * elf/ldconfig.c (add_dir): Don't crash on empty path.
32955
0b592a30
MB
329562011-04-28 Maciej Babinski <mbabinski@google.com>
32957
32958 [BZ #12714]
32959 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
32960 gethostbyname4_r when IPv6 results are possible.
32961
6e04cbbe
UD
329622011-05-02 Ulrich Drepper <drepper@gmail.com>
32963
32964 [BZ #12723]
32965 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
32966 _PC_PIPE_BUF handling.
32967
e4ecafe0
BH
329682011-04-30 Bruno Haible <bruno@clisp.org>
32969
32970 [BZ #12717]
32971 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
32972 * resolv/netdb.h (getnameinfo): Change type of flags parameter
32973 to 'int'.
32974 * inet/getnameinfo.c (getnameinfo): Likewise.
32975
125ee683
UD
329762011-04-29 Ulrich Drepper <drepper@gmail.com>
32977
32978 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
32979 to groups setting in database lookup.
32980 * nss/nsswitch.conf: Add initgroups entry.
32981
b722481a
EB
329822011-04-22 Ulrich Drepper <drepper@gmail.com>
32983
32984 [BZ #12685]
32985 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
32986 mode string.
32987 Patch by Eric Blake <eblake@redhat.com>.
32988
4df46dbd
L
329892011-04-20 H.J. Lu <hongjiu.lu@intel.com>
32990
32991 * sunrpc/Makefile (need-export-routines): Add svc_run.
32992 (routines): Remove svc_run.
32993 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
32994 * sunrpc/clnt_perr.c (clnt_perrno): Export.
32995 * sunrpc/svc_run.c (svc_run): Likewise.
32996 * sunrpc/svc_udp.c (svcudp_create): Likewise.
32997
e84142d2
UD
329982011-04-21 Ulrich Drepper <drepper@gmail.com>
32999
33000 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
33001 problem in reallocation in last patch.
33002
877175d8
UD
330032011-04-20 Ulrich Drepper <drepper@gmail.com>
33004
33005 * sunrpc/Makefile: Move inclusion of Rules.
33006
ab8eed78
UD
330072011-04-19 Ulrich Drepper <drepper@gmail.com>
33008
33009 * nss/nss_files/files-initgroups.c: New file.
33010 * nss/Makefile (libnss_files-routines): Add files-initgroups.
33011 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
33012 _nss_files_initgroups_dyn.
33013
e3d8f584
RS
330142011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
33015
33016 * elf/elf.h (R_ARM_IRELATIVE): Define.
33017
af190f45
UD
330182011-04-19 Ulrich Drepper <drepper@gmail.com>
33019
33020 * po/ru.po: Update from translation team.
33021
53cf59ef
UD
330222011-04-17 Ulrich Drepper <drepper@gmail.com>
33023
33024 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
33025 dependencies.
33026
4c559bcd
MF
330272011-02-06 Mike Frysinger <vapier@gentoo.org>
33028
33029 [BZ #12653]
33030 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
33031 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
33032 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33033 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33034 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33035
4420675c
AS
330362011-03-28 Andreas Schwab <schwab@linux-m68k.org>
33037
33038 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
33039 differing bytes.
33040 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33041 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33042 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33043
75ea32ab
UD
330442011-04-17 Ulrich Drepper <drepper@gmail.com>
33045
33046 [BZ #12420]
33047 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
33048 storing it.
33049 * stdlib/bug-getcontext.c: New file.
33050 * stdlib/Makefile: Add rules to build and run bug-getcontext.
33051
27390476
AK
330522011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33053
33054 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
33055 instructions into .machine "z9-109".
33056 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
33057 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
33058
10442705
AK
330592011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33060
33061 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
33062 between environment variables and auxiliary vector.
33063
7b57bfe5
UD
330642011-04-16 Ulrich Drepper <drepper@gmail.com>
33065
33066 * Makefile: Add rules to build linkobj/libc.so.
33067 * include/libc-symbols.h: Define libc_hidden_nolink.
33068 * include/rpc/auth.h: Mark functions which are to be hidden.
33069 * include/rpc/auth_des.h: Likewise.
33070 * include/rpc/auth_unix.h: Likewise.
33071 * include/rpc/clnt.h: Likewise.
33072 * include/rpc/des_crypt.h: Likewise.
33073 * include/rpc/key_prot.h: Likewise.
33074 * include/rpc/pmap_clnt.h: Likewise.
33075 * include/rpc/pmap_prot.h: Likewise.
33076 * include/rpc/pmap_rmt.h: Likewise.
33077 * include/rpc/rpc_msg.h: Likewise.
33078 * include/rpc/svc.h: Likewise.
33079 * include/rpc/svc_auth.h: Likewise.
33080 * include/rpc/xdr.h: Likewise.
33081 * nis/Makefile: Link all DSOs against linkobj/libc.so.
33082 * nss/Makefile: Likewise.
33083 * sunrpc/Makefile: Don't install headers. Build library with normal
33084 entry points. Don't build rpcinfo. Link RPC tests appropriately.
33085 * sunrpc/auth_des.c: Hide exported symbols by default, export some
33086 for the compat linking library. Remove use of INTDEF/INTUSE.
33087 * sunrpc/auth_none.c: Likewise.
33088 * sunrpc/auth_unix.c: Likewise.
33089 * sunrpc/authdes_prot.c: Likewise.
33090 * sunrpc/authuxprot.c: Likewise.
33091 * sunrpc/clnt_gen.c: Likewise.
33092 * sunrpc/clnt_perr.c: Likewise.
33093 * sunrpc/clnt_raw.c: Likewise.
33094 * sunrpc/clnt_simp.c: Likewise.
33095 * sunrpc/clnt_tcp.c: Likewise.
33096 * sunrpc/clnt_udp.c: Likewise.
33097 * sunrpc/clnt_unix.c: Likewise.
33098 * sunrpc/des_crypt.c: Likewise.
33099 * sunrpc/des_soft.c: Likewise.
33100 * sunrpc/get_myaddr.c: Likewise.
33101 * sunrpc/key_call.c: Likewise.
33102 * sunrpc/key_prot.c: Likewise.
33103 * sunrpc/netname.c: Likewise.
33104 * sunrpc/pm_getmaps.c: Likewise.
33105 * sunrpc/pm_getport.c: Likewise.
33106 * sunrpc/pmap_clnt.c: Likewise.
33107 * sunrpc/pmap_prot.c: Likewise.
33108 * sunrpc/pmap_prot2.c: Likewise.
33109 * sunrpc/pmap_rmt.c: Likewise.
33110 * sunrpc/publickey.c: Likewise.
33111 * sunrpc/rpc_cmsg.c: Likewise.
33112 * sunrpc/rpc_common.c: Likewise.
33113 * sunrpc/rpc_dtable.c: Likewise.
33114 * sunrpc/rpc_prot.c: Likewise.
33115 * sunrpc/rpc_thread.c: Likewise.
33116 * sunrpc/rtime.c: Likewise.
33117 * sunrpc/svc.c: Likewise.
33118 * sunrpc/svc_auth.c: Likewise.
33119 * sunrpc/svc_authux.c: Likewise.
33120 * sunrpc/svc_raw.c: Likewise.
33121 * sunrpc/svc_run.c: Likewise.
33122 * sunrpc/svc_simple.c: Likewise.
33123 * sunrpc/svc_tcp.c: Likewise.
33124 * sunrpc/svc_udp.c: Likewise.
33125 * sunrpc/svc_unix.c: Likewise.
33126 * sunrpc/svcauth_des.c: Likewise.
33127 * sunrpc/xcrypt.c: Likewise.
33128 * sunrpc/xdr.c: Likewise.
33129 * sunrpc/xdr_array.c: Likewise.
33130 * sunrpc/xdr_float.c: Likewise.
33131 * sunrpc/xdr_intXX_t.c: Likewise.
33132 * sunrpc/xdr_mem.c: Likewise.
33133 * sunrpc/xdr_rec.c: Likewise.
33134 * sunrpc/xdr_ref.c: Likewise.
33135 * sunrpc/xdr_sizeof.c: Likewise.
33136 * sunrpc/xdr_stdio.c: Likewise.
33137
e6c61494
UD
331382011-04-10 Ulrich Drepper <drepper@gmail.com>
33139
33140 [BZ #12650]
33141 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
33142 * sysdeps/ia64/dl-tls.h: Likewise.
33143 * sysdeps/powerpc/dl-tls.h: Likewise.
33144 * sysdeps/s390/dl-tls.h: Likewise.
33145 * sysdeps/sh/dl-tls.h: Likewise.
33146 * sysdeps/sparc/dl-tls.h: Likewise.
33147 * sysdeps/x86_64/dl-tls.h: Likewise.
33148 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
33149
34fe483e
AS
331502011-03-14 Andreas Schwab <schwab@redhat.com>
33151
33152 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
33153 rpath element also skip the following colon.
33154 (expand_dynamic_string_token): Add is_path parameter and pass
33155 down to DL_DST_REQUIRED and _dl_dst_substitute.
33156 (decompose_rpath): Call expand_dynamic_string_token with
33157 non-zero is_path. Ignore empty rpaths.
33158 (_dl_map_object_from_fd): Call expand_dynamic_string_token
33159 with zero is_path.
33160
f12a32e6
AS
331612011-04-08 Andreas Schwab <schwab@linux-m68k.org>
33162
33163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33164 Make cancelable.
33165
38a7d692
UD
331662011-04-09 Ulrich Drepper <drepper@gmail.com>
33167
33168 [BZ #12655]
33169 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
33170 Patch by Filipe David Manana <fdmanana@apache.org>.
33171
e451d22b
AS
331722011-04-07 Andreas Schwab <schwab@redhat.com>
33173
33174 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
33175 Maintain aligned stack.
33176 (CHECK_RSP): Remove unused macro.
33177
dedc7c7b
UD
331782011-04-03 Ulrich Drepper <drepper@gmail.com>
33179
33180 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
33181 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
33182
94521213
UD
331832011-04-02 Ulrich Drepper <drepper@gmail.com>
33184
33185 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
33186
8cb700c0 33187 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 33188
0354e355
L
331892011-03-26 H.J. Lu <hongjiu.lu@intel.com>
33190
33191 [BZ #12518]
33192 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
33193 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
33194 * sysdeps/x86_64/memmove.c: New file.
33195 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
33196 (memcpy): Renamed to ...
33197 (__new_memcpy): This.
33198 (memcpy): Provide GLIBC_2_14 memcpy.
33199 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
33200 (memcpy): Provide GLIBC_2_2_5 memcpy.
33201
8593482f
UD
332022011-04-01 Ulrich Drepper <drepper@gmail.com>
33203
33204 [BZ #12631]
33205 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
33206
81a5726b
AS
332072011-03-30 Andreas Schwab <schwab@redhat.com>
33208
33209 * misc/syncfs.c: New file.
33210 * misc/Makefile (routines): Add syncfs.
33211 * posix/unistd.h: Declare syncfs.
33212 * sysdeps/unix/syscalls.list: Add syncfs.
33213
00e5419f
AS
332142011-04-01 Andreas Schwab <schwab@redhat.com>
33215
33216 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
33217 open_by_handle_at.
33218 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33219 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33220 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33221 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33222 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33223 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
33224 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33225
748876bf
UD
332262011-04-01 Ulrich Drepper <drepper@gmail.com>
33227
658e451d
UD
33228 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
33229 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33230 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
33231 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33232 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33233 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33234 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33235
748876bf
UD
33236 * io/Makefile: Compile fallocate.c, fallocate64.c, and
33237 sync_file_range.c with -fexceptions.
33238 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
33239 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
33240 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
33241 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
33242 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
33243 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33244 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
33245 sync_file_range as cancellation point
33246 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
33247 now a wrapper around __call_sync_file_range with cancellation handling.
33248 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
33249 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
33250 function name to __call_sync_file_range.
33251 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
33252 Add call_sync_file_range.
748876bf 33253
6e63d5e1
AS
332542011-04-01 Andreas Schwab <schwab@redhat.com>
33255
33256 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 33257 bits/timex.h.
6e63d5e1 33258
46998f74
UD
332592011-04-01 Ulrich Drepper <drepper@gmail.com>
33260
4c1423ed
UD
33261 * iconv/iconv.h: Fix typo in comment.
33262 * io/fcntl.h: Likewise.
33263 * libio/stdio.h: Likewise.
33264 * posix/spawn.h: Likewise.
33265 * posix/unistd.h: Likewise.
33266 * stdlib/stdlib.h: Likewise.
33267 * time/time.h: Likewise.
33268 * wcsmbs/wchar.h: Likewise.
33269
158648c0
UD
33270 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
33271 open_by_handle): Add.
33272 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
33273 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
33274 Augment a few comments.
33275 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33276 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33277 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33278 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33279 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33280 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
33281 open_by_handle.
33282
46998f74
UD
33283 * io/fcntl.h (AT_EMPTY_PATH): Define.
33284
83fe108b
UD
332852011-03-30 Ulrich Drepper <drepper@gmail.com>
33286
33287 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
33288 * sysdeps/unix/sysv/linux/bits/time.h: New file.
33289 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
33290 to...
33291 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
33292 * Versions.def: Add GLIBC_2.14.
33293 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
33294 Export.
83fe108b 33295
bb242059
UD
332962011-03-22 Ulrich Drepper <drepper@gmail.com>
33297
33298 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
33299 round counter.
33300 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33301
c97a1282
L
333022011-03-20 H.J. Lu <hongjiu.lu@intel.com>
33303
33304 [BZ #12597]
33305 * string/test-strncmp.c (do_page_test): New function.
33306 (check2): Likewise.
33307 (test_main): Call check2.
33308 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
33309
2a115601
UD
333102011-03-20 Ulrich Drepper <drepper@gmail.com>
33311
33312 [BZ #12587]
33313 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
33314 Handle cache information in CPU leaf 4.
33315 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33316
8126d904
UD
333172011-03-18 Ulrich Drepper <drepper@gmail.com>
33318
042c49c6 33319 [BZ #12583]
8126d904
UD
33320 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
33321 character representation.
33322 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
33323
ccfe366e
RA
333242011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
33325
33326 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
33327 END(__isnan) to END(__isnanf) to match function entry point/label
33328 EALIGN(__isnanf,...).
33329
c6e13027
JJ
333302011-03-10 Jakub Jelinek <jakub@redhat.com>
33331
33332 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
33333
33f85a3f
UD
333342011-03-10 Ulrich Drepper <drepper@gmail.com>
33335
028478fa
UD
33336 [BZ #12510]
33337 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
33338 copy from the symbol referenced in the relocation to initialize the
33339 used variable.
33340 Patch by Piotr Bury <pbury@goahead.com>.
33341 * elf/Makefile: Add rules to build and tst-unique3.
33342 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
33343 * elf/tst-unique3.cc: New file.
33344 * elf/tst-unique3.h: New file.
33345 * elf/tst-unique3lib.cc: New file.
33346 * elf/tst-unique3lib2.cc: New file.
33347
33f85a3f
UD
33348 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
33349
03592fc7
MF
333502011-03-10 Mike Frysinger <vapier@gentoo.org>
33351
33352 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
33353 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
33354 to _start.
03592fc7 33355
6a5ee102
UD
333562011-03-06 Ulrich Drepper <drepper@gmail.com>
33357
33358 * elf/dl-load.c (_dl_map_object): If we are looking for the first
33359 to-be-loaded object along a path to loader is ld.so.
33360
7e4ba49c
HJ
333612011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
33362 Ulrich Drepper <drepper@gmail.com>
33363
33364 * sysdeps/x86_64/memset.S: After aligning destination, code
33365 branches to different locations depending on the value of
33366 misalignment, when multiarch is enabled. Fix this.
33367
333682011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
33369
33370 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
33371 Set _x86_64_preferred_memory_instruction for AMD processsors.
33372 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33373 Set bit_Prefer_SSE_for_memop for AMD processors.
33374
13a804de
UD
333752011-03-04 Ulrich Drepper <drepper@gmail.com>
33376
33377 * libio/fmemopen.c (fmemopen): Optimize a bit.
33378
9d25c392
AS
333792011-03-03 Andreas Schwab <schwab@redhat.com>
33380
33381 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
33382
a5543c6a
RM
333832011-03-03 Roland McGrath <roland@redhat.com>
33384
33385 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
33386
012d35f7
DM
333872011-02-28 Aurelien Jarno <aurelien@aurel32.net>
33388
7e4ba49c 33389 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
33390 __bzero_ultra1 instead of __memset_ultra1.
33391
4bff6e01
AS
333922011-02-23 Andreas Schwab <schwab@redhat.com>
33393 Ulrich Drepper <drepper@gmail.com>
33394
33395 [BZ #12509]
33396 * include/link.h (struct link_map): Add l_orig_initfini.
33397 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
33398 returning unsuccessfully.
33399 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
33400 close of a file loaded at startup, restore the original l_initfini
33401 list.
33402 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
33403 list, store the pointer.
33404 * elf/Makefile ($(objpfx)noload-mem): New rule.
33405 (noload-ENV): Define.
33406 (tests): Add $(objpfx)noload-mem.
33407 * elf/noload.c: Include <memcheck.h>.
33408 (main): Call mtrace. Close all opened handles.
33409
f2092faf
AS
334102011-02-17 Andreas Schwab <schwab@redhat.com>
33411
33412 [BZ #12454]
33413 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
33414 dependencies are missing.
33415
6c8a2e88
ST
334162011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
33417
f2092faf 33418 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
33419 Hurd needs munmap.
33420 * sysdeps/mach/hurd/ifreq.h: New file.
33421
84a42118
PB
334222011-01-27 Petr Baudis <pasky@suse.cz>
33423 Ulrich Drepper <drepper@gmail.com>
33424
071f805e 33425 [BZ 12445]#
84a42118
PB
33426 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
33427 to extend_alloca().
33428 * stdio-common/bug23.c: New file.
33429 * stdio-common/Makefile (tests): Add bug23.
33430
e23fe25b
AS
334312010-09-28 Andreas Schwab <schwab@redhat.com>
33432 Ulrich Drepper <drepper@gmail.com>
33433
33434 [BZ #12489]
33435 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
33436 before performing relro protection. At old place add assertion
33437 to make sure nothing changed.
33438
d3f02e10
NS
334392011-02-17 Nathan Sidwell <nathan@codesourcery.com>
33440 Glauber de Oliveira Costa <glommer@gmail.com>
33441
33442 * elf/elf.h: Add new ARM TLS relocs.
33443
d55fd7a5
RA
334442011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
33445
33446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
33447 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
33448 cast from r3.
33449 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
33450 'tests' variable.
33451 * sysdeps/wordsize-64/tst-writev.c: New file.
33452
2206397e
RA
334532011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
33454
33455 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
33456 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
33457 insns in _dl_start to prevent a TOC reference before relocs are
33458 resolved.
33459
e9433893
UD
334602011-02-15 Ulrich Drepper <drepper@gmail.com>
33461
33462 [BZ #12469]
33463 * Makeconfig: Remove RANLIB definition.
33464 * Makerules: Don't use RANLIB.
33465 * aclocal.m4: Remove ranlib test.
33466 * configure.in: No need to check for ranlib.
33467 * elf/rtld-Rules: Don't use RANLIB.
33468
f75286c6
ST
334692011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
33470
8e31c82d
ST
33471 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
33472 protection macro.
33473 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
33474 inclusion protection macro.
33475
f75286c6
ST
33476 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
33477 SIGRTMIN and SIGRTMAX and print information in that case only when
33478 SIGRTMIN is defined.
33479
c1d0e639
JJ
334802011-02-11 Jakub Jelinek <jakub@redhat.com>
33481
33482 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
33483 arginfo fn returning -1.
33484
33485 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
33486 and thousands string is zero terminated.
33487
edf9294e
AS
334882011-02-03 Andreas Schwab <schwab@redhat.com>
33489
33490 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
33491 sysdeps/unix/sysv/linux/bits/socket.h.
33492
2b7e92df
ST
334932011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
33494
edf9294e
AS
33495 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
33496 (__CPU_COUNT): Remove old macros.
33497 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
33498 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
33499 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
33500 (__sched_cpualloc, __sched_cpufree): Add declarations.
33501
a4c7ea7b
UD
335022011-02-05 Ulrich Drepper <drepper@gmail.com>
33503
33504 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
33505 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
33506 * nscd/aicache.c (addhstaiX): Return timeout of added value.
33507 (readdhstai): Return value of addhstaiX call.
33508 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
33509 (addgrbyX): Return value returned by cache_addgr.
33510 (readdgrbyname): Return value returned by addgrbyX.
33511 (readdgrbygid): Likewise.
33512 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
33513 (addpwbyX): Return value returned by cache_addpw.
33514 (readdpwbyname): Return value returned by addhstbyX.
33515 (readdpwbyuid): Likewise.
33516 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
33517 (addservbyX): Return value returned by cache_addserv.
33518 (readdservbyname): Return value returned by addservbyX:
33519 (readdservbyport): Likewise.
33520 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
33521 (addhstbyX): Return value returned by cache_addhst.
33522 (readdhstbyname): Return value returned by addhstbyX.
33523 (readdhstbyaddr): Likewise.
33524 (readdhstbynamev6): Likewise.
33525 (readdhstbyaddrv6): Likewise.
33526 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
33527 (readdinitgroups): Return value returned by addinitgroupsX.
33528 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
33529 (prune_cache): Keep track of timeout value of re-added entries.
33530 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
33531 * nscd/nscd.h: Adjust prototypes of readd* functions.
33532
a0bf67cc
RM
335332011-02-04 Roland McGrath <roland@redhat.com>
33534
33535 * nis/nis_server.c (nis_servstate): Use the right name for 0.
33536 (nis_stats): Likewise.
33537 * nis/nis_modify.c (nis_modify): Likewise.
33538 * nis/nis_remove.c (nis_remove): Likewise.
33539 * nis/nis_add.c (nis_add): Likewise.
33540
33541 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
33542
33543 * posix/fnmatch_loop.c: Add some consts.
33544
33545 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
33546
435b95eb
L
335472011-02-02 H.J. Lu <hongjiu.lu@intel.com>
33548
33549 [BZ #12460]
33550 * config.make.in (config-cflags-novzeroupper): Define.
33551 * configure.in: Substitute libc_cv_cc_novzeroupper.
33552 * elf/Makefile (AVX-CFLAGS): Define.
33553 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
33554 (CFLAGS-tst-auditmod4a.c): Likewise.
33555 (CFLAGS-tst-auditmod4b.c): Likewise.
33556 (CFLAGS-tst-auditmod6b.c): Likewise.
33557 (CFLAGS-tst-auditmod6c.c): Likewise.
33558 (CFLAGS-tst-auditmod7b.c): Likewise.
33559 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
33560
8517b15e
UD
335612011-02-02 Ulrich Drepper <drepper@gmail.com>
33562
33563 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
33564 function to the callback.
33565 Patch partly by Jiri Olsa <jolsa@redhat.com>.
33566
10a656fe
AS
335672011-02-02 Andreas Schwab <schwab@redhat.com>
33568
33569 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
33570 of errno.
33571
968dad0a
UD
335722011-01-19 Ulrich Drepper <drepper@gmail.com>
33573
9f94d2ea 33574 [BZ #11724]
968dad0a
UD
33575 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
33576 of constructors.
33577 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
33578 of destructors.
33579 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
33580
33581 [BZ #11724]
33582 * elf/Makefile: Add rules to build and run new test.
33583 * elf/tst-initorder.c: New file.
33584 * elf/tst-initorder.exp: New file.
33585 * elf/tst-initordera1.c: New file.
33586 * elf/tst-initordera2.c: New file.
33587 * elf/tst-initordera3.c: New file.
33588 * elf/tst-initordera4.c: New file.
33589 * elf/tst-initorderb1.c: New file.
33590 * elf/tst-initorderb2.c: New file.
33591 * elf/tst-order-a1.c: New file.
33592 * elf/tst-order-a2.c: New file.
33593 * elf/tst-order-a3.c: New file.
33594 * elf/tst-order-a4.c: New file.
33595 * elf/tst-order-b1.c: New file.
33596 * elf/tst-order-b2.c: New file.
33597 * elf/tst-order-main.c: New file.
33598 New test case by George Gensure <werkt0@gmail.com>.
33599
86e92359
UD
336002010-10-01 Andreas Schwab <schwab@redhat.com>
33601
33602 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33603 decoding ACE if AI_CANONIDN.
33604
5d5732b0
UD
336052011-01-18 Ulrich Drepper <drepper@gmail.com>
33606
33607 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
33608
a77e8cbc
UD
336092011-01-17 Ulrich Drepper <drepper@gmail.com>
33610
6392473f
UD
33611 * version.h (RELEASE): Bump for 2.13 release.
33612 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
33613
620a0529
UD
33614 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
33615
18ba70a5
UD
33616 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
33617 MADV_NOHUGEPAGE.
32465c3e
UD
33618 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
33619 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
33620 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33621 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33622 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33623 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33624
c0dafcf1
UD
33625 * posix/getconf.c: Update copyright year.
33626 * catgets/gencat.c: Likewise.
33627 * csu/version.c: Likewise.
33628 * debug/catchsegv.sh: Likewise.
33629 * debug/xtrace.sh: Likewise.
33630 * elf/ldconfig.c: Likewise.
33631 * elf/ldd.bash.in: Likewise.
33632 * elf/sprof.c (print_version): Likewise.
33633 * iconv/iconv_prog.c: Likewise.
33634 * iconv/iconvconfig.c: Likewise.
33635 * locale/programs/locale.c: Likewise.
33636 * locale/programs/localedef.c: Likewise.
33637 * malloc/memusage.sh: Likewise.
33638 * malloc/mtrace.pl: Likewise.
33639 * nscd/nscd.c (print_version): Likewise.
33640 * nss/getent.c: Likewise.
33641
a77e8cbc
UD
33642 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
33643 PF_CAIF, and PF_ALG.
33644 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33645
77e8bddf
AS
336462011-01-16 Andreas Schwab <schwab@linux-m68k.org>
33647
1f20b93a
AS
33648 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
33649 (modules-names): Use them.
33650 (ifunc-test-modules, ifunc-pie-tests): Define.
33651 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
33652 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
33653 (test-extras): Likewise.
33654 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
33655 $(compile-command.c).
33656 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
33657 (all-built-dso): Define.
33658 (check-textrel.out, check-execstack.out): Depend on it.
33659
77e8bddf
AS
33660 * configure.in: Don't override --enable-multi-arch.
33661
bc425b33
UD
336622011-01-15 Ulrich Drepper <drepper@gmail.com>
33663
33664 [BZ #6812]
33665 * nscd/hstcache.c (tryagain): Define.
33666 (cache_addhst): Return tryagain not notfound for temporary errors.
33667 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
33668 failed.
33669
794c3ad3
UD
336702011-01-14 Ulrich Drepper <drepper@gmail.com>
33671
70181fdd
UD
33672 [BZ #10563]
33673 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
33674 to make the syscall.
33675 * sysdeps/unix/sysv/linux/setgroups.c: New file.
33676
794c3ad3
UD
33677 [BZ #12378]
33678 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
33679 and fall back to matching as normal character if the string ends before
33680 the matching ']' is found. This is what POSIX requires.
33681 * posix/testfnm.c: Adjust test result.
33682 * posix/globtest.sh: Adjust test result. Add new test.
33683 * posix/tst-fnmatch.input: Likewise.
33684 * posix/tst-fnmatch2.c: Add new test.
33685
68dc9497
AS
336862010-12-28 Andreas Schwab <schwab@linux-m68k.org>
33687
33688 * elf/Makefile (check-execstack): Revert last change. Depend on
33689 check-execstack.h.
33690 (check-execstack.h): New target.
33691 (generated): Add check-execstack.h.
33692 * elf/check-execstack.c: Include "check-execstack.h".
33693 (main): Revert last change.
33694 (handle_file): Return zero if GNU_STACK is absent and
33695 DEFAULT_STACK_PERMS doesn't include PF_X.
33696
451f001b
UD
336972011-01-13 Ulrich Drepper <drepper@gmail.com>
33698
cfa28e56
UD
33699 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
33700 in child fails because the descriptor is already closed.
8cf8ce17
UD
33701 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
33702 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
33703 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 33704
1086d70d
UD
33705 [BZ #12397]
33706 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
33707 syscall.
33708
451f001b
UD
33709 [BZ #10484]
33710 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
33711 temporary buffer used to handle multi lookups locally.
a85b5cb4 33712 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 33713
08769175
UD
337142011-01-12 Ulrich Drepper <drepper@gmail.com>
33715
33716 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
33717 loader is ld.so.
33718
5e49c52e
UD
337192011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
33720
33721 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
33722 alignment for SSE2.
33723
60522a5f
UD
337242011-01-12 Ulrich Drepper <drepper@gmail.com>
33725
33726 [BZ #12394]
33727 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
33728 characters. When rounding increased number of integer digits recompute
33729 number of groups.
33730 * stdio-common/tst-grouping.c: New file.
33731 * stdio-common/Makefile: Add rules to build and run tst-grouping.
33732
f257bbd7
UD
337332011-01-09 Ulrich Drepper <drepper@gmail.com>
33734
33735 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
33736 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
33737
33738 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
33739 void.
33740 * bits/select.h: Likewise.
33741
fa9c15cb
UD
337422011-01-08 Ulrich Drepper <drepper@gmail.com>
33743
33744 * po/ja.po: Update from translation team.
33745
16c2895f
DM
337462011-01-04 David S. Miller <davem@sunset.davemloft.net>
33747
33748 [BZ #11155]
33749 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
33750 implementation just like for lxstat, fxstatat, et al.
33751
2543fef2
JM
337522010-12-27 Jim Meyering <meyering@redhat.com>
33753
33754 [BZ #12348]
33755 * posix/regexec.c (build_trtable): Return failure indication upon
33756 calloc failure. Otherwise, re_search_internal could infloop on OOM.
33757
98727dbe
UD
337582010-12-25 Ulrich Drepper <drepper@gmail.com>
33759
5bd6dc5c
UD
33760 [BZ #12201]
33761 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
33762 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
33763 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
33764 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
33765
97983464
UD
33766 [BZ #12207]
33767 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
33768
98727dbe
UD
33769 [BZ #12204]
33770 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
33771 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
33772
4a531bb0
L
337732010-12-15 H.J. Lu <hongjiu.lu@intel.com>
33774
33775 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
33776 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
33777 script has SORT_BY_INIT_PRIORITY.
33778 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
33779 NO_CTORS_DTORS_SECTIONS is defined.
33780 * elf/soinit.c: Likewise.
33781 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
33782 NO_CTORS_DTORS_SECTIONS is defined.
33783 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
33784 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
33785 * sysdeps/sh/init-first.c: Likewise.
33786 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
33787
07eb4b71
UD
337882010-12-24 Ulrich Drepper <drepper@gmail.com>
33789
33790 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
33791 always use the slow path.
33792
30950a5f
RA
337932010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
33794
33795 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
33796 similar rule which adds the sysdep directories to the header search in
33797 order to pick up the correct platform stackinfo.h.
33798 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
33799 perform test if it is, otherwise return successfully without testing.
33800 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
33801 DEFAULT_STACK_PERMS define in stackinfo.h.
33802 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
33803 defined in stackinfo.h.
33804 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
33805 DEFAULT_STACK_PERMS defined in stackinfo.h.
33806 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
33807 * sysdeps/ia64/stackinfo.h: Likewise.
33808 * sysdeps/s390/stackinfo.h: Likewise.
33809 * sysdeps/sh/stackinfo.h: Likewise.
33810 * sysdeps/sparc/stackinfo.h: Likewise.
33811 * sysdeps/x86_64/stackinfo.h: Likewise.
33812 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
33813 PF_X for powerpc64. Retain PF_X for powerpc32.
33814
db753e2c
UD
338152010-12-19 Ulrich Drepper <drepper@gmail.com>
33816
14b697f7
UD
33817 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
33818 accurately.
db753e2c
UD
33819 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
33820 GETDENTS_64BIT_ALIGNED.
33821
28300719
UD
338222010-12-14 Ulrich Drepper <dreper@gmail.com>
33823
14b697f7 33824 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 33825
4f197237
AS
338262010-12-10 Andreas Schwab <schwab@redhat.com>
33827
dbb0472f
AS
33828 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
33829 _GNU_SOURCE.
33830
4f197237
AS
33831 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
33832 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
33833 Remove __restrict.
33834 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
33835 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
33836
fb88ac72
UD
338372010-12-09 Ulrich Drepper <drepper@gmail.com>
33838
33839 [BZ #11655]
33840 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
33841 are initialized.
33842
42acbb92
JJ
338432010-12-09 Jakub Jelinek <jakub@redhat.com>
33844
33845 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
33846
c038d98d
UD
338472010-12-03 Ulrich Drepper <drepper@gmail.com>
33848
33849 * po/it.po: Update from translation team.
33850
3a4a2499
L
338512010-12-01 H.J. Lu <hongjiu.lu@intel.com>
33852
33853 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
33854 unused codes.
33855
1e24cf6e
UD
338562010-11-30 Ulrich Drepper <drepper@gmail.com>
33857
33858 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
33859
a7690819
AS
338602010-11-24 Andreas Schwab <schwab@redhat.com>
33861
33862 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
33863 specially.
33864 (gaih_getanswer_slice): Likewise.
33865
3bf8d1b1
JJ
338662010-10-20 Jakub Jelinek <jakub@redhat.com>
33867
33868 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
33869
6db52fbb
PB
338702010-05-31 Petr Baudis <pasky@suse.cz>
33871
33872 [BZ #11149]
33873 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
33874 silently even in the chroot mode.
33875
eaca7569
UD
338762010-11-22 Ulrich Drepper <drepper@gmail.com>
33877
33878 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
33879 last patch a bit. Pretty printing
33880
3056dcdb
UD
338812010-05-31 Petr Baudis <pasky@suse.cz>
33882
33883 [BZ #10085]
33884 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
33885 initialization of skip_initgroups_dyn.
33886
cf7c9078
UD
338872010-11-19 Ulrich Drepper <drepper@gmail.com>
33888
33889 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
33890 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33891
a1fb5e3e
UD
338922010-11-16 Ulrich Drepper <drepper@gmail.com>
33893
33894 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
33895
3540d66b
AS
338962010-11-11 Andreas Schwab <schwab@redhat.com>
33897
33898 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
33899 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
33900 (tst-fnmatch-ENV): Set MALLOC_TRACE.
33901 ($(objpfx)tst-fnmatch-mem): New rule.
33902 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
33903 * posix/tst-fnmatch.c (main): Call mtrace.
33904
13b69574
L
339052010-11-11 H.J. Lu <hongjiu.lu@intel.com>
33906
33907 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33908 Support Intel processor model 6 and model 0x2c.
33909
da93d214
LM
339102010-11-10 Luis Machado <luisgpm@br.ibm.com>
33911
33912 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
33913 signed comparison.
33914
8ca52c6e
L
339152010-11-09 H.J. Lu <hongjiu.lu@intel.com>
33916
33917 [BZ #12205]
33918 * string/test-strncasecmp.c (check_result): New function.
33919 (do_one_test): Use it.
33920 (check1): New function.
33921 (test_main): Use it.
33922 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
33923 Support strcasecmp and strncasecmp.
33924
69da074d
UD
339252010-11-08 Ulrich Drepper <drepper@gmail.com>
33926
33927 [BZ #12194]
33928 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
33929 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33930
ff02d528
L
339312010-11-07 H.J. Lu <hongjiu.lu@intel.com>
33932
33933 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
33934 IFUNC support.
33935 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33936 memset-x86-64.
33937 * sysdeps/x86_64/multiarch/bzero.S: New file.
33938 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
33939 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
33940 * sysdeps/x86_64/multiarch/memset.S: New file.
33941 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
33942 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33943 Set bit_Prefer_SSE_for_memop for Intel processors.
33944 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
33945 Define.
33946 (index_Prefer_SSE_for_memop): Define.
33947 (HAS_PREFER_SSE_FOR_MEMOP): Define.
33948
344d0b54
LM
339492010-11-04 Luis Machado <luisgpm@br.ibm.com>
33950
33951 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
33952 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
33953
c0dde15b
UD
339542010-11-03 H.J. Lu <hongjiu.lu@intel.com>
33955
33956 [BZ #12191]
33957 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33958 (__x86_64_raw_data_cache_size_half): Likewise.
33959 (__x86_64_raw_shared_cache_size): Likewise.
33960 (__x86_64_raw_shared_cache_size_half): Likewise.
33961
33962 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33963 (__x86_64_raw_data_cache_size_half): Likewise.
33964 (__x86_64_raw_shared_cache_size): Likewise.
33965 (__x86_64_raw_shared_cache_size_half): Likewise.
33966 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
33967 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
33968 and __x86_64_raw_shared_cache_size_half. Round
33969 __x86_64_data_cache_size_half, __x86_64_data_cache_size
33970 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
33971 to multiple of 256 bytes.
33972
0e516e0e
MS
339732010-11-03 Ulrich Drepper <drepper@gmail.com>
33974
33975 [BZ #12167]
33976 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
33977 of inacessible symlinks. Verify result of symlink before returning it.
33978 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
33979 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
33980
0e012e87
ER
339812010-10-28 Erich Ritz <erichritz@gmail.com>
33982
33983 * math/math.h (isinf): Fix typo in comment.
33984
de0ff7bc
UD
339852010-11-01 Ulrich Drepper <drepper@gmail.com>
33986
33987 * po/da.po: Update from translation team.
33988
fa41c84d
UD
339892010-10-26 Ulrich Drepper <drepper@gmail.com>
33990
33991 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
33992 is added to the list.
33993
f0967738
AK
339942010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33995 Ulrich Drepper <drepper@gmail.com>
33996
33997 * elf/dl-object.c (_dl_new_object): Don't append the new object to
33998 the global list here. Move code to...
33999 (_dl_add_to_namespace_list): ...here. New function.
34000 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
34001 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
34002 * elf/dl-load.c (lose): Don't remove the element from the list.
34003 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
34004 (_dl_map_object): Likewise.
34005
340062010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
34007
34008 [BZ #12159]
34009 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
34010 into all bytes of SSE register.
34011 Patch by Richard Li <richardpku@gmail.com>.
34012
f0967738 340132010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
34014
34015 [BZ #12140]
34016 * malloc/malloc.c (_int_free): Fill correct number of bytes when
34017 perturbing.
34018
d0b9e94f
MB
340192010-10-20 Michael B. Brutman <brutman@us.ibm.com>
34020
34021 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
34022 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
34023 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
34024 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
34025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
34026 submachine.
34027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
34028
8e9f92e9
AS
340292010-10-22 Andreas Schwab <schwab@redhat.com>
34030
34031 * include/dlfcn.h (__RTLD_SECURE): Define.
34032 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
34033 mode & __RTLD_SECURE instead.
34034 (open_path): Rename preloaded parameter to secure.
34035 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
34036 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
34037 * elf/dl-deps.c (openaux): Likewise.
34038 * elf/rtld.c (struct map_args): Remove is_preloaded.
34039 (map_doit): Don't use it.
34040 (dl_main): Likewise.
34041 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
34042 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
34043
bc96fbda
AS
340442010-09-09 Andreas Schwab <schwab@redhat.com>
34045
34046 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
34047 (sysd-rules-targets): Remove duplicates.
34048 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
34049 rtld-%.$o dependency.
34050
22cd1c9b
AS
340512010-10-18 Andreas Schwab <schwab@redhat.com>
34052
34053 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
34054 _dl_map_object do it.
34055
18edac48
UD
340562010-10-19 Ulrich Drepper <drepper@gmail.com>
34057
34058 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
34059 fast fma builtins, define the macros in the C99 standard.
34060 (FP_FAST_FMAF): Likewise.
34061 (FP_FAST_FMAL): Likewise.
34062 * sysdeps/x86_64/bits/mathdef.h: Likewise.
34063
34064 * bits/mathdef.h: Update copyright year.
34065 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34066
d2050124
MM
340672010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
34068
34069 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
34070 builtins, define the macros in the C99 standard.
34071 (FP_FAST_FMAF): Likewise.
34072 (FP_FAST_FMAL): Likewise.
34073 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
34074 multiply/add.
34075 (FP_FAST_FMAF): Likewise.
34076
475facd1
JJ
340772010-10-15 Jakub Jelinek <jakub@redhat.com>
34078
34079 [BZ #3268]
34080 * math/libm-test.inc (fma_test): Some new testcases.
34081 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
34082 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
34083 y and infinite z. Do multiplication by C already in long double.
34084 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
34085 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
34086 y and infinite z. Do bitwise or of inexact bit into u.d.
34087 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
34088 * sysdeps/i386/fpu/s_fmaf.S: Removed.
34089 * sysdeps/i386/fpu/s_fma.S: Removed.
34090 * sysdeps/i386/fpu/s_fmal.S: Removed.
34091
7c08a05c
JJ
340922010-10-16 Jakub Jelinek <jakub@redhat.com>
34093
34094 [BZ #3268]
34095 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
34096 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
34097 computation is not scheduled after fetestexcept. Fix value
34098 of minimum denormal long double.
34099
f3f7372d
JJ
341002010-10-14 Jakub Jelinek <jakub@redhat.com>
34101
34102 [BZ #3268]
34103 * math/libm-test.inc (fma_test): Add some more tests.
34104 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
34105 correctly.
34106
14d43591
AS
341072010-10-15 Andreas Schwab <schwab@redhat.com>
34108
34109 * scripts/data/localplt-s390-linux-gnu.data: New file.
34110 * scripts/data/localplt-s390x-linux-gnu.data: New file.
34111
5e908464
JJ
341122010-10-13 Jakub Jelinek <jakub@redhat.com>
34113
34114 [BZ #3268]
34115 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
34116 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
34117 instead of dbl-64.
34118 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
34119 inlines.
34120 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
34121 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
34122 if one of x and y is very large and the other is subnormal.
34123 * sysdeps/s390/fpu/s_fmaf.c: New file.
34124 * sysdeps/s390/fpu/s_fma.c: New file.
34125 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
34126 * sysdeps/powerpc/fpu/s_fma.S: New file.
34127 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
34128 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
34129 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
34130
341312010-10-12 Jakub Jelinek <jakub@redhat.com>
34132
34133 [BZ #3268]
34134 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
34135 fma tests.
34136 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
34137 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
34138 * sysdeps/i386/i686/multiarch/s_fma.c: Include
34139 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
34140 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
34141 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
34142 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
34143
b833d51f
UD
341442010-10-12 Ulrich Drepper <drepper@redhat.com>
34145
34146 [BZ #12078]
34147 * posix/regcomp.c (parse_branch): One more memory leak plugged.
34148 * posix/bug-regex31.input: Add test case.
34149
1751705d
UD
341502010-10-11 Ulrich Drepper <drepper@gmail.com>
34151
e9b9cbf5
UD
34152 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
34153 * posix/bug-regex31.input: New file.
34154
34155 [BZ #12078]
34156 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
34157 (parse_sub_exp): Fix last change, use postorder.
34158
ef06edbe
UD
34159 * posix/bug-regex31.c: New file.
34160 * posix/Makefile: Add rules to build and run bug-regex31.
34161
a129c80d
UD
34162 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
34163
34164 [BZ #12078]
34165 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
34166
b76b818e
UD
34167 [BZ #12108]
34168 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
34169 to have entries in sys_siglist.
34170
1751705d
UD
34171 [BZ #12093]
34172 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
34173 be NULL.
34174
9ff8d36f
JJ
341752010-10-07 Jakub Jelinek <jakub@redhat.com>
34176
34177 [BZ #3268]
34178 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
34179 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
34180 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
34181 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
34182 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34183 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
34184 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
34185 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
34186 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
34187 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
34188 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
34189 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
34190 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
34191 * math/ftestexcept.c (fetestexcept): Likewise.
34192 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
34193 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
34194 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
34195 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
34196 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
34197 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
34198 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34199
af325969
UD
342002010-10-11 Ulrich Drepper <drepper@gmail.com>
34201
c579b202 34202 [BZ #12107]
af325969
UD
34203 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
34204 newline.
34205
67a67b95
UD
342062010-10-06 Ulrich Drepper <drepper@gmail.com>
34207
34208 * string/bug-strstr1.c: New file.
34209 * string/Makefile: Add rules to build and run bug-strstr1.
34210
5fb308bc
EB
342112010-10-05 Eric Blake <eblake@redhat.com>
34212
34213 [BZ #12092]
34214 * string/str-two-way.h (two_way_long_needle): Always clear memory
34215 when skipping input due to the shift table.
34216
45db99c7
UD
342172010-10-03 Ulrich Drepper <drepper@gmail.com>
34218
3b111893
UD
34219 [BZ #12005]
34220 * malloc/mcheck.c: Handle large requests.
34221
45db99c7
UD
34222 [BZ #12077]
34223 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
34224 for strncmp and strncasecmp.
34225 * string/stratcliff.c: Add tests for strcmp and strncmp.
34226 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
34227
cf7a1eb8
NI
342282010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34229
34230 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
34231 __set_fpscr.
34232
6484ba5e
AJ
342332010-09-30 Andreas Jaeger <aj@suse.de>
34234
34235 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
34236 (CGROUP_SUPER_MAGIC): Define.
34237 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34238 Handle btrfs and cgroup file systems.
34239 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
34240 Likewise.
34241
91c42559
LM
342422010-09-27 Luis Machado <luisgpm@br.ibm.com>
34243
34244 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
34245 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
34246
87a97932
AK
342472010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34248
34249 [BZ #12067]
34250 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
34251 trying to locate the ELF header.
34252
c21cc9bc
AS
342532010-09-27 Andreas Schwab <schwab@redhat.com>
34254
34255 [BZ #11611]
34256 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
34257 Mask out sign-bit copies when constructing f_fsid.
34258
315970f6
PB
342592010-09-24 Petr Baudis <pasky@suse.cz>
34260
34261 * debug/stack_chk_fail_local.c: Add missing licence exception.
34262 * debug/warning-nop.c: Likewise.
34263
1ac7a2c7
JM
342642010-09-15 Joseph Myers <joseph@codesourcery.com>
34265
34266 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
34267 implementing getdents64 using getdents syscall, set d_type if
34268 __ASSUME_GETDENTS32_D_TYPE.
34269
56801c50
AS
342702010-09-16 Andreas Schwab <schwab@redhat.com>
34271
34272 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
34273 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
34274
dda51327
UD
342752010-09-21 Ulrich Drepper <drepper@redhat.com>
34276
34277 [BZ #12037]
34278 * posix/unistd.h: Undo change of feature selection for ftruncate from
34279 2010-01-11.
34280
8ffcee4a
UD
342812010-09-20 Ulrich Drepper <drepper@redhat.com>
34282
a545ecd9 34283 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
34284 detection.
34285
e24f0a8b
AS
342862010-09-20 Andreas Schwab <schwab@redhat.com>
34287
34288 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
34289 fanotify_mark.
34290 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34291
7291c56f
AS
342922010-09-14 Andreas Schwab <schwab@redhat.com>
34293
34294 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
34295 variables after CHECK_SP call.
34296 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
34297
bc5fb037
AS
342982010-09-13 Andreas Schwab <schwab@redhat.com>
34299 Ulrich Drepper <drepper@redhat.com>
34300
34301 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
34302 re-relocationg ld.so.
34303 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
34304 _dl_init_paths call.
34305 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
34306 here anymore.
34307
e66e7419
UD
343082010-09-14 Ulrich Drepper <drepper@redhat.com>
34309
34310 * resolv/res_init.c (__res_vinit): Count the default server we added.
34311
c044aa75
CLT
343122010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
34313 Ulrich Drepper <drepper@redhat.com>
34314
34315 [BZ #11968]
34316 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34317 (____longjmp_chk): Use %ebx for saving value across system call.
34318 Add unwind info.
34319
32cf4069
AS
343202010-09-06 Andreas Schwab <schwab@redhat.com>
34321
34322 * manual/Makefile: Don't mix pattern rules with normal rules.
34323
817328ee
AS
343242010-09-05 Andreas Schwab <schwab@linux-m68k.org>
34325
34326 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
34327 operation.
34328 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
34329 * libio/iofopncook.c (_IO_cookie_init): Likewise.
34330 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
34331 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
34332 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34333 Likewise.
34334
29fddf61
UD
343352010-09-04 Ulrich Drepper <drepper@redhat.com>
34336
34337 [BZ #11979]
34338 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
34339 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
34340
0959ffc9
UD
343412010-09-02 Ulrich Drepper <drepper@redhat.com>
34342
34343 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
34344 * sysdeps/x86_64/addmul_1.S: Likewise.
34345 * sysdeps/x86_64/lshift.S: Likewise.
34346 * sysdeps/x86_64/mul_1.S: Likewise.
34347 * sysdeps/x86_64/rshift.S: Likewise.
34348 * sysdeps/x86_64/sub_n.S: Likewise.
34349 * sysdeps/x86_64/submul_1.S: Likewise.
34350
ece29840
ST
343512010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
34352
0959ffc9
UD
34353 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
34354 Define __sched_param instead of SCHED_* and sched_param when
ece29840 34355 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 34356 * bits/sched.h [__need_schedparam]
ece29840 34357 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
34358 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
34359 (__defined_schedparam): Define to 1.
ece29840
ST
34360 (__sched_param): New structure, identical to sched_param.
34361 (__need_schedparam): Undefine.
34362
e53a31fe
MF
343632010-08-31 Mike Frysinger <vapier@gentoo.org>
34364
fdc0c10d
MF
34365 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
34366 (epoll_create1): Declare.
34367
e53a31fe
MF
34368 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
34369
a726d796
AS
343702010-08-31 Andreas Schwab <schwab@redhat.com>
34371
34372 [BZ #7066]
34373 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
34374 shifting retval into place.
34375
2f3e3dc7
UD
343762010-09-01 Ulrich Drepper <drepper@redhat.com>
34377
f2933da9
UD
34378 * nis/rpcsvc/nis.h: Update copyright notice.
34379 * nis/rpcsvc/nis.x: Likewise.
34380 * nis/rpcsvc/nis_callback.h: Likewise.
34381 * nis/rpcsvc/nis_callback.x: Likewise.
34382 * nis/rpcsvc/nis_object.x: Likewise.
34383 * nis/rpcsvc/nis_tags.h: Likewise.
34384 * nis/rpcsvc/yp.h: Likewise.
34385 * nis/rpcsvc/yp.x: Likewise.
34386 * nis/rpcsvc/ypupd.h: Likewise.
34387 * nis/yp_xdr.c: Likewise.
34388 * nis/ypupdate_xdr.c: Likewise.
34389
2f3e3dc7
UD
34390 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
34391 mainly the body of pmap_getport. Add parameters to specify timeouts.
34392 (pmap_getport): Use __libc_rpc_getport.
34393 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
34394 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
34395 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
34396
f3dcc2f9
AS
343972010-08-31 Andreas Schwab <schwab@linux-m68k.org>
34398
34399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
34400 fanotify_mark.
34401
6d34eb5b
RM
344022010-08-27 Roland McGrath <roland@redhat.com>
34403
34404 * sysdeps/i386/i686/multiarch/Makefile
34405 (CFLAGS-varshift.c): New variable.
34406
9ea3de11
UD
344072010-08-27 Ulrich Drepper <drepper@redhat.com>
34408
c96d23fc
UD
34409 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
34410 * sysdeps/i386/i686/multiarch/varshift.c: New file.
34411
9ea3de11
UD
34412 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
34413
34414 * sysdeps/x86_64/strlen.S: Minimal code improvement.
34415
623aac7f
L
344162010-08-26 H.J. Lu <hongjiu.lu@intel.com>
34417
34418 * sysdeps/x86_64/strlen.S: Unroll the loop.
34419 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34420 strlen-sse2 strlen-sse2-bsf.
34421 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
34422 __strlen_no_bsf if bit_Slow_BSF is set.
34423 (__strlen_sse42): Removed.
34424 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
34425 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
34426
8b2b7715
RM
344272010-08-25 Roland McGrath <roland@redhat.com>
34428
34429 * sysdeps/x86_64/multiarch/varshift.S: File removed.
34430 * sysdeps/x86_64/multiarch/varshift.c: New file.
34431 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
34432 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
34433 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
34434 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34435
e73015f2
L
344362010-08-25 H.J. Lu <hongjiu.lu@intel.com>
34437
34438 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34439 strlen-sse2 strlen-sse2-bsf.
34440 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
34441 __strlen_sse2_bsf if bit_Slow_BSF is unset.
34442 (__strlen_sse2): Removed.
34443 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
34444 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
34445 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
34446 bit_Slow_BSF for Atom.
34447 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
34448 (index_Slow_BSF): Define.
34449 (HAS_SLOW_BSF): Define.
34450
df24a73e
UD
344512010-08-25 Ulrich Drepper <drepper@redhat.com>
34452
34453 [BZ #10851]
34454 * resolv/res_init.c (__res_vinit): When no server address at all
34455 is given default to loopback.
34456
f2ac4868
RM
344572010-08-24 Roland McGrath <roland@redhat.com>
34458
09055553
RM
34459 * configure.in: Remove config-name.h generation.
34460 * configure: Regenerated.
34461 * config-name.in: File removed.
34462 * scripts/config-uname.sh: New file.
34463 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
34464 ($(objdir)config-name.h): New target.
34465
f2ac4868
RM
34466 * sunrpc/rpc_parse.h: Avoid nested comment.
34467
73f27d5e
RH
344682010-08-24 Richard Henderson <rth@redhat.com>
34469 Ulrich Drepper <drepper@redhat.com>
34470 H.J. Lu <hongjiu.lu@intel.com>
34471
34472 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
34473 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
34474 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
34475 Replace _mm_srli_si128 with __m128i_shift_right. Replace
34476 _mm_alignr_epi8 with _mm_loadu_si128.
34477 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
34478 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
34479 (__m128i_shift_right): Removed.
34480 * sysdeps/i386/i686/multiarch/varshift.h: New file.
34481 * sysdeps/i386/i686/multiarch/varshift.S: New file.
34482 * sysdeps/x86_64/multiarch/varshift.h: New file.
34483 * sysdeps/x86_64/multiarch/varshift.S: New file.
34484
84b9230c
MF
344852010-08-21 Mike Frysinger <vapier@gentoo.org>
34486
34487 * configure.in: Move assembler checks to before sysdep dir checking.
34488
9bbd0ddc
PB
344892010-08-20 Petr Baudis <pasky@suse.cz>
34490
34491 * LICENSES: Sync the sunrpc license.
34492
9da4bb31
UD
344932010-08-19 Ulrich Drepper <drepper@redhat.com>
34494
a7ab6ec8
UD
34495 * sunrpc/auth_des.c: Update copyright notice once again.
34496 * sunrpc/auth_none.c: Likewise.
34497 * sunrpc/auth_unix.c: Likewise.
34498 * sunrpc/authdes_prot.c: Likewise.
34499 * sunrpc/authuxprot.c: Likewise.
34500 * sunrpc/bindrsvprt.c: Likewise.
34501 * sunrpc/clnt_gen.c: Likewise.
34502 * sunrpc/clnt_perr.c: Likewise.
34503 * sunrpc/clnt_raw.c: Likewise.
34504 * sunrpc/clnt_simp.c: Likewise.
34505 * sunrpc/clnt_tcp.c: Likewise.
34506 * sunrpc/clnt_udp.c: Likewise.
34507 * sunrpc/clnt_unix.c: Likewise.
34508 * sunrpc/des_crypt.c: Likewise.
34509 * sunrpc/des_soft.c: Likewise.
34510 * sunrpc/get_myaddr.c: Likewise.
34511 * sunrpc/getrpcport.c: Likewise.
34512 * sunrpc/key_call.c: Likewise.
34513 * sunrpc/key_prot.c: Likewise.
34514 * sunrpc/openchild.c: Likewise.
34515 * sunrpc/pm_getmaps.c: Likewise.
34516 * sunrpc/pm_getport.c: Likewise.
34517 * sunrpc/pmap_clnt.c: Likewise.
34518 * sunrpc/pmap_prot.c: Likewise.
34519 * sunrpc/pmap_prot2.c: Likewise.
34520 * sunrpc/pmap_rmt.c: Likewise.
34521 * sunrpc/rpc/auth.h: Likewise.
34522 * sunrpc/rpc/auth_unix.h: Likewise.
34523 * sunrpc/rpc/clnt.h: Likewise.
34524 * sunrpc/rpc/des_crypt.h: Likewise.
34525 * sunrpc/rpc/key_prot.h: Likewise.
34526 * sunrpc/rpc/netdb.h: Likewise.
34527 * sunrpc/rpc/pmap_clnt.h: Likewise.
34528 * sunrpc/rpc/pmap_prot.h: Likewise.
34529 * sunrpc/rpc/pmap_rmt.h: Likewise.
34530 * sunrpc/rpc/rpc.h: Likewise.
34531 * sunrpc/rpc/rpc_des.h: Likewise.
34532 * sunrpc/rpc/rpc_msg.h: Likewise.
34533 * sunrpc/rpc/svc.h: Likewise.
34534 * sunrpc/rpc/svc_auth.h: Likewise.
34535 * sunrpc/rpc/types.h: Likewise.
34536 * sunrpc/rpc/xdr.h: Likewise.
34537 * sunrpc/rpc_clntout.c: Likewise.
34538 * sunrpc/rpc_cmsg.c: Likewise.
34539 * sunrpc/rpc_common.c: Likewise.
34540 * sunrpc/rpc_cout.c: Likewise.
34541 * sunrpc/rpc_dtable.c: Likewise.
34542 * sunrpc/rpc_hout.c: Likewise.
34543 * sunrpc/rpc_main.c: Likewise.
34544 * sunrpc/rpc_parse.c: Likewise.
34545 * sunrpc/rpc_parse.h: Likewise.
34546 * sunrpc/rpc_prot.c: Likewise.
34547 * sunrpc/rpc_sample.c: Likewise.
34548 * sunrpc/rpc_scan.c: Likewise.
34549 * sunrpc/rpc_scan.h: Likewise.
34550 * sunrpc/rpc_svcout.c: Likewise.
34551 * sunrpc/rpc_tblout.c: Likewise.
34552 * sunrpc/rpc_util.c: Likewise.
34553 * sunrpc/rpc_util.h: Likewise.
34554 * sunrpc/rpcinfo.c: Likewise.
34555 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
34556 * sunrpc/rpcsvc/key_prot.x: Likewise.
34557 * sunrpc/rpcsvc/klm_prot.x: Likewise.
34558 * sunrpc/rpcsvc/mount.x: Likewise.
34559 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
34560 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
34561 * sunrpc/rpcsvc/rex.x: Likewise.
34562 * sunrpc/rpcsvc/rstat.x: Likewise.
34563 * sunrpc/rpcsvc/rusers.x: Likewise.
34564 * sunrpc/rpcsvc/sm_inter.x: Likewise.
34565 * sunrpc/rpcsvc/spray.x: Likewise.
34566 * sunrpc/rpcsvc/yppasswd.x: Likewise.
34567 * sunrpc/rtime.c: Likewise.
34568 * sunrpc/svc.c: Likewise.
34569 * sunrpc/svc_auth.c: Likewise.
34570 * sunrpc/svc_authux.c: Likewise.
34571 * sunrpc/svc_raw.c: Likewise.
34572 * sunrpc/svc_run.c: Likewise.
34573 * sunrpc/svc_simple.c: Likewise.
34574 * sunrpc/svc_tcp.c: Likewise.
34575 * sunrpc/svc_udp.c: Likewise.
34576 * sunrpc/svc_unix.c: Likewise.
34577 * sunrpc/svcauth_des.c: Likewise.
34578 * sunrpc/xcrypt.c: Likewise.
34579 * sunrpc/xdr.c: Likewise.
34580 * sunrpc/xdr_array.c: Likewise.
34581 * sunrpc/xdr_float.c: Likewise.
34582 * sunrpc/xdr_mem.c: Likewise.
34583 * sunrpc/xdr_rec.c: Likewise.
34584 * sunrpc/xdr_ref.c: Likewise.
34585 * sunrpc/xdr_sizeof.c: Likewise.
34586 * sunrpc/xdr_stdio.c: Likewise.
34587
9da4bb31
UD
34588 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
34589 handling.
34590
bdaa77bc
AS
345912010-08-19 Andreas Schwab <schwab@redhat.com>
34592
34593 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
34594
fe2f79db
LM
345952010-08-19 Luis Machado <luisgpm@br.ibm.com>
34596
34597 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
34598 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
34599 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
34600 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
34601 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
34602 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
34603 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
34604 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
34605 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
34606 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
34607 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
34608 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
34609 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
34610 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
34611
b9b42ee0
AB
346122010-07-26 Anton Blanchard <anton@samba.org>
34613
34614 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
34615 * malloc/arena.c (heap_trim): Likewise.
34616
1c06ba31
UD
346172010-08-16 Ulrich Drepper <drepper@redhat.com>
34618
34619 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
34620 here. Not...
34621 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
34622 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
34623
f8392f40
L
346242010-08-12 H.J. Lu <hongjiu.lu@intel.com>
34625
34626 * sysdeps/i386/elf/Makefile: New file.
34627
3162f12e
AS
346282010-08-14 Andreas Schwab <schwab@linux-m68k.org>
34629
34630 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
34631 from fanotify_init.
34632 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
34633 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34634
28c90b2c
UD
346352010-08-15 Ulrich Drepper <drepper@redhat.com>
34636
34637 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
34638 of strncasecmp_l.
1feccb6c 34639 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 34640
ca6bb004
UD
346412010-08-14 Ulrich Drepper <drepper@redhat.com>
34642
e9f82e0d
UD
34643 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34644 strncase_l-nonascii.
34645 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34646 Add strncase_l-ssse3.
34647 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
34648 * sysdeps/x86_64/strcmp.S: Likewise.
34649 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
34650 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
34651 * sysdeps/x86_64/strncase.S: New file.
34652 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
34653 * sysdeps/x86_64/strncase_l.S: New file.
34654 * string/Makefile (strop-tests): Add strncasecmp.
34655 * string/test-strncasecmp.c: New file.
34656
34657 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
34658 warning.
34659
ca6bb004
UD
34660 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
34661 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
34662
052fa7b3
AS
346632010-08-14 Andreas Schwab <schwab@linux-m68k.org>
34664
34665 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
34666
962dba78
UD
346672010-08-12 Ulrich Drepper <drepper@redhat.com>
34668
34669 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
34670 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
34671 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
34672
bebff237
AM
346732010-05-01 Alan Modra <amodra@gmail.com>
34674
34675 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
34676 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
34677 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
34678 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
34679 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
34680 tidying. Don't tail-call __sigjmp_save for static lib.
34681 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
34682 save location.
34683 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
34684 (CALL_MCOUNT): Add eh info, and nop after bl.
34685 (TAIL_CALL_SYSCALL_ERROR): New macro.
34686 (PSEUDO_RET): Use it.
34687 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
34688 Correct save location of integer regs and cr.
34689 (_dl_profile_resolve): Correct cr save location. Delete nops
34690 after bl when SHARED. Reduce cfi size a little by better
34691 placement of cfi directives.
34692 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
34693 make a stack frame. Instead use parm save area as a temp.
34694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
34695 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
34696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
34697 Don't make a stack frame for parent, use parm save area.
34698 Increase child stack frame to 112 bytes. Don't save unused reg,
34699 and adjust reg usage. Set up cfi on error recovery and
34700 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
34701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34702 (__makecontext): Add dummy nop after jump to exit.
34703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
34704 Use correct parm save area and cr save, reduce stack frame.
34705 Correct cfi for possible PSEUDO_RET frame setup.
34706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
34707 Branch to local label emitted by PSEUDO_RET rather than
34708 __syscall_error.
34709
02637374
AS
347102010-08-12 Andreas Schwab <schwab@redhat.com>
34711
34712 [BZ #11904]
34713 * locale/programs/locale.c (print_assignment): New function.
34714 (show_locale_vars): Use it.
34715
c3e2f19b
UD
347162010-08-11 Ulrich Drepper <drepper@redhat.com>
34717
3cdaa6ad
UD
34718 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
34719 field.
34720 (struct statfs64): Likewise.
34721 (_STATFS_F_FLAGS): Define.
34722 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
34723 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34724 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
34725 (ST_VALID): Define locally.
34726 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
34727 __statvfs_getflags, use the provided value.
34728 * sysdeps/unix/sysv/linux/kernel-features.h: Define
34729 __ASSUME_STATFS_F_FLAGS.
34730
754f7da3
UD
34731 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
34732
10b3bedc
UD
34733 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
34734 Add sys/fanotify.h.
34735 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
34736 fanotify_mask for GLIBC_2.13.
34737 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
34738 fanotify_init and fanotify_mark.
34739 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34740 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
34741
c08fb0d7
UD
34742 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
34743 Add prlimit.
34744 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
34745 prlimit64 for GLIBC_2.13.
34746 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
34747 prlimit64.
34748 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
34749 syscall.
34750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
34751 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34752 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
34753 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
34754 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
34755 add prlimit alias.
34756 * sysdeps/unix/sysv/linux/prlimit.c: New file.
34757
15bac72b
UD
34758 [BZ #11903]
34759 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
34760 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
34761
c3e2f19b
UD
34762 * nss/Makefile: Add rules to build and run tst-nss-test1.
34763 * shlib-versions: Add entry for libnss_test1.
34764 * nss/nss_test1.c: New file.
34765 * nss/tst-nss-test1.c: New file.
34766
34767 * nss/nsswitch.c (__nss_database_custom): Define new variable.
34768 (__nss_configure_lookup): Set appropriate entry in
34769 __nss_configure_lookup to true.
34770 * nss/nsswitch.h: Define enum with indeces of databases in
34771 databases and __nss_database_custom arrays. Declare
34772 __nss_database_custom.
34773 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
34774 to avoid using nscd when custom rules are installed.
34775 * nss/getXXbyYY_r.c: Likewise.
34776 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
34777
34778 * nss/nss_files/files-parse.c: Whitespace fixes.
34779
f15ce4d8
UD
347802010-08-09 Ulrich Drepper <drepper@redhat.com>
34781
34782 [BZ #11883]
34783 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
34784 * posix/fnmatch_loop.c: Likewise.
34785
d22e4cc9
AK
347862010-07-17 Andi Kleen <ak@linux.intel.com>
34787
34788 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
34789 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
34790 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
34791 * Versions.def [GLIBC_2.13]: Add.
34792
805bc17d
UD
347932010-08-06 Ulrich Drepper <drepper@redhat.com>
34794
34795 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34796 Also fail if tpwd after pwuid call is NULL.
34797
5a42321d
ST
347982010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
34799
34800 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
34801 when converting to ms.
34802
fd3ebeda
ST
348032010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34804
34805 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
34806 EOPNOTSUPP errors with ENOTTY.
34807 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
34808 EOPNOTSUPP errors with ENOTTY.
34809
73507d3a
UD
348102010-07-31 Ulrich Drepper <drepper@redhat.com>
34811
34812 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34813 Add strcasecmp_l-ssse3.
34814 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
34815 strcasecmp.
34816 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
34817 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
34818 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
34819
fe36dd02
UD
348202010-07-30 Ulrich Drepper <drepper@redhat.com>
34821
66f6765a
UD
34822 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
34823
42e08a54
UD
34824 * string/Makefile (strop-tests): Add strcasecmp.
34825 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34826 strcasecmp_l-nonascii.
34827 (gen-as-const-headers): Add locale-defines.sym.
34828 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
34829 * sysdeps/x86_64/strcasecmp.S: New file.
34830 * sysdeps/x86_64/strcasecmp_l.S: New file.
34831 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
34832 * sysdeps/x86_64/locale-defines.sym: New file.
34833 * string/test-strcasecmp.c: New file.
34834
fe36dd02
UD
34835 * string/test-strcasestr.c: Test both ends of the range of characters.
34836 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
34837
48cbc0d6
RM
348382010-07-29 Roland McGrath <roland@redhat.com>
34839
76e6d6bc 34840 [BZ #11856]
48cbc0d6
RM
34841 * manual/locale.texi (Yes-or-No Questions): Fix example code.
34842
880113d9
UD
348432010-07-27 Ulrich Drepper <drepper@redhat.com>
34844
34845 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
34846 for ld.so.
34847
deb9cabb
AS
348482010-07-27 Andreas Schwab <schwab@redhat.com>
34849
34850 * manual/memory.texi (Malloc Tunable Parameters): Document
34851 M_PERTURB.
34852
1c7570ff
RM
348532010-07-26 Roland McGrath <roland@redhat.com>
34854
34855 [BZ #11840]
34856 * configure.in (-fgnu89-inline check): Set and substitute
34857 gnu89_inline, not libc_cv_gnu89_inline.
34858 * configure: Regenerated.
34859 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
34860
24fb0f88
UD
348612010-07-26 Ulrich Drepper <drepper@redhat.com>
34862
34863 * string/test-strnlen.c: New file.
34864 * string/Makefile (strop-tests): Add strnlen.
34865 * string/tester.c (test_strnlen): Add a few more test cases.
34866 * string/tst-strlen.c: Better error reporting.
34867
34868 * sysdeps/x86_64/strnlen.S: New file.
34869
8e96b93a
UD
348702010-07-24 Ulrich Drepper <drepper@redhat.com>
34871
34872 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
34873 lower-latency instructions.
34874
dbc676d4
UD
348752010-07-23 Ulrich Drepper <drepper@redhat.com>
34876
34877 * string/test-strcasestr.c: New file.
34878 * string/test-strstr.c: New file.
34879 * string/Makefile (strop-tests): Add strstr and strcasestr.
34880 * string/str-two-way.h: Don't undefine MAX.
34881 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
34882
f6a31e0e
AS
348832010-07-21 Andreas Schwab <schwab@redhat.com>
34884
34885 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34886 strcasestr-nonascii.
34887 (CFLAGS-strcasestr-nonascii.c): Define.
34888 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
34889 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
34890 Remove unused attribute.
34891
5dbc3b6c
RM
348922010-07-20 Roland McGrath <roland@redhat.com>
34893
34894 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
34895 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
34896 ld.so.cache was broken. With it, there is no way to disable dsocaps
34897 like LD_HWCAP_MASK can disable hwcaps.
34898
23d101d8
EPM
348992010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
34900
34901 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
34902
cc9f2e47
UD
349032010-07-16 Ulrich Drepper <drepper@redhat.com>
34904
34905 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
34906 call in strcasestr.
34907 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
34908 __strcasestr_sse42_nonascii.
34909 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
34910 strcasestr-nonascii.c.
34911 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
34912
77c1b069
LM
349132010-06-15 Luis Machado <luisgpm@br.ibm.com>
34914
34915 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
34916 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
34917 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
34918 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
34919
440566c3
UD
349202010-07-09 Ulrich Drepper <drepper@redhat.com>
34921
34922 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
34923 fcntl.
34924
5be9d05d
AS
349252010-07-06 Andreas Schwab <schwab@redhat.com>
34926
c30b7ee2 34927 [BZ #11577]
5be9d05d
AS
34928 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
34929 dl_signal_cerror.
34930
8a492a67
UD
349312010-07-06 Ulrich Drepper <drepper@redhat.com>
34932
34933 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
34934 _PC_PIPE_BUF using F_GETPIPE_SZ.
34935
713df3d5
RM
349362010-07-05 Roland McGrath <roland@redhat.com>
34937
34938 * manual/arith.texi (Rounding Functions): Fix rint description
34939 implicit in round description.
34940
702e8f14
UD
349412010-07-02 Ulrich Drepper <drepper@redhat.com>
34942
34943 * elf/Makefile: Fix linking for a few tests to make recent linker
34944 happy.
34945
52ed8be9
AS
349462010-06-30 Andreas Schwab <schwab@redhat.com>
34947
34948 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34949 $(common-objpfx)libc_nonshared.a.
34950
f47c9a11
LM
349512010-06-21 Luis Machado <luisgpm@br.ibm.com>
34952
34953 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
34954 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
34955 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34956 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34957 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
34958 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
34959 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34960 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
34962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
34963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
34964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
34966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
34968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
34969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
34970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
34971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
34973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
34975 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
34976 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
34977 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
34978 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
34979 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
34980 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
34981 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
34982 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
34983 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
34984 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
34985 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
34986 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
34987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
34988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
34989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
34990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
34991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
34992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
34993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
34994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
34995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
34996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
34997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
34998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
34999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
35000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
35001
6fb8cbcb
L
350022010-06-25 H.J. Lu <hongjiu.lu@intel.com>
35003
35004 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
35005 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
35006 * string/memmove.c (memmove): Renamed to ...
35007 (MEMMOVE): ...this. Default to memmove.
35008 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
35009 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
35010 (END_CHK): Define.
35011 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35012 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
35013 mempcpy-ssse3-back memmove-ssse3-back.
35014 * sysdeps/x86_64/multiarch/bcopy.S: New file .
35015 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
35016 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
35017 * sysdeps/x86_64/multiarch/memcpy.S: New file.
35018 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
35019 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
35020 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
35021 * sysdeps/x86_64/multiarch/memmove.c: New file.
35022 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
35023 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
35024 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
35025 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
35026 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
35027 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
35028 Define.
35029 (index_Fast_Copy_Backward): Define.
35030 (HAS_ARCH_FEATURE): Define.
35031 (HAS_FAST_REP_STRING): Define.
35032 (HAS_FAST_COPY_BACKWARD): Define.
35033
4e733bac 350342010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
35035
35036 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35037 Restore proper fallback handling.
35038
63c4ed22
UD
350392010-06-19 Ulrich Drepper <drepper@redhat.com>
35040
ac2b484c
UD
35041 [BZ #11701]
35042 * posix/group_member.c (__group_member): Correct checking loop.
35043
63c4ed22
UD
35044 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
35045 OOM in getpwuid_r correctly. Return error number when the caller
35046 should return, otherwise -1.
35047 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
35048 call returning > 0 value.
35049 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
35050
765ade4b
AS
350512010-06-07 Andreas Schwab <schwab@redhat.com>
35052
35053 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
35054 libc_nonshared.a from targets in modules-names.
35055
80da2e09
KS
350562010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
35057
35058 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
35059 requires it.
35060
158db122
LM
350612010-06-10 Luis Machado <luisgpm@br.ibm.com>
35062
35063 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
35064 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
35065 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
35066 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
35067
caa78cf8
AS
350682010-06-02 Andreas Schwab <schwab@redhat.com>
35069
35070 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
35071
b2ef2c01
UD
350722010-06-14 Ulrich Drepper <drepper@redhat.com>
35073
35074 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
35075 and F_GETPIPE_SZ.
35076 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35077 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35078 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35079 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35080 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35081 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
35082
fbd643b6
RM
350832010-06-14 Roland McGrath <roland@redhat.com>
35084
35085 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
35086
f32f2869
JJ
350872010-06-07 Jakub Jelinek <jakub@redhat.com>
35088
35089 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
35090 __REDIRECT followed by __THROW.
35091 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
35092 * posix/getopt.h (getopt): Likewise.
35093
2a50c078
EPM
350942010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
35095
35096 * hurd/lookup-at.c (__file_name_lookup_at): Accept
35097 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
35098 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
35099 in AT_FLAGS.
35100 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
35101 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
35102
eb5ad2eb
LM
351032010-05-28 Luis Machado <luisgpm@br.ibm.com>
35104
35105 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
35106
3c88fe1e
L
351072010-05-26 H.J. Lu <hongjiu.lu@intel.com>
35108
35109 [BZ #11640]
35110 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35111 Properly check family and model.
35112
d2f73151
TY
351132010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
35114
35115 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
35116
ebd2e13d
LM
351172010-05-24 Luis Machado <luisgpm@br.ibm.com>
35118
35119 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
35120
b32b8b45
UD
351212010-05-21 Ulrich Drepper <drepper@redhat.com>
35122
35123 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
35124 symbol reference.
35125
9acbe24d
AS
351262010-05-19 Andreas Schwab <schwab@redhat.com>
35127
35128 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
35129 symbol reference.
35130
f0ccf6ea
AS
351312010-05-21 Andreas Schwab <schwab@redhat.com>
35132
3d04ff3a
AS
35133 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
35134 and internal_recvmmsg.
35135 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
35136 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
35137 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
35138 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
35139
f0ccf6ea
AS
35140 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
35141 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35142 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35143
5b08ac57
AS
351442010-05-20 Andreas Schwab <schwab@redhat.com>
35145
35146 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
35147
4828935d
LM
351482010-05-17 Luis Machado <luisgpm@br.ibm.com>
35149
35150 POWER7 optimizations.
35151 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
35152 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
35153
373d545e
UD
351542010-05-19 Ulrich Drepper <drepper@redhat.com>
35155
35156 * version.h: Update for 2.13 development version.
35157
21a2b1ae
AS
351582010-05-12 Andrew Stubbs <ams@codesourcery.com>
35159
35160 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
35161 exceptions. Return 0.
35162
3f7dcb2b
RM
351632010-05-07 Roland McGrath <roland@redhat.com>
35164
35165 * elf/ldconfig.c (main): Add a const.
35166
5f24d53a 351672010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 35168
a160f8d8
UD
35169 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
35170 (args_options): Add no-idn option.
35171 (ahosts_keys_int): Add idn_flags to ai_flags.
35172 (parse_option): Handle 'i' option to clear idn_flags.
35173
5f24d53a
UD
35174 * malloc/malloc.c (_int_free): Possible race in the most recently
35175 added check. Only act on the data if no current modification
35176 happened.
265bb1ce
UD
35177
35178See ChangeLog.17 for earlier changes.