]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Do not let scanf("%4p") accept "(nil)". Fixes bug 16055
[thirdparty/glibc.git] / ChangeLog
CommitLineData
728dab0e
OB
12013-11-07 Ondřej Bílka <neleai@seznam.cz>
2
3 [BZ #16055]
4 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
5 when we match (nil).
6 * stdio-common/tst-sscanf.c (struct test): Add testcase.
7
66294491
JM
82013-11-16 Joseph Myers <joseph@codesourcery.com>
9
ce665817
JM
10 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
11 (NO_TEST_INLINE): Update value.
12 (ERRNO_UNCHANGED): Likewise.
13 (ERRNO_EDOM): Likewise.
14 (ERRNO_ERANGE): Likewise.
15 (IGNORE_RESULT): Likewise.
16 (check_float_internal): Check signs of NaN results if
17 TEST_NAN_SIGN used.
18 (check_complex): Pass TEST_NAN_SIGN flag through to second
19 check_float_internal call.
20 (copysign_test_data): Add tests with quiet NaNs as second
21 argument. Use TEST_NAN_SIGN.
22 (fabs_test_data): Add test of negative quiet NaN argument. Use
23 TEST_NAN_SIGN.
24 (signbit_test_data): Add tests of quiet NaN argument.
25 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
26
ee1466a9
JM
27 * math/gen-libm-test.pl (show_exceptions): Take extra argument
28 $ignore_result.
29 (parse_args): Handle function results specified as IGNORE.
30 * math/libm-test.inc (IGNORE_RESULT): New macro.
31 (check_float_internal): Do not check numerical result if flag
32 IGNORE_RESULT set.
33 (check_complex): Pass through IGNORE_RESULT to second
34 check_float_internal call.
35 (check_int): Do not check numerical result if flag IGNORE_RESULT
36 set.
37 (check_long): Likewise.
38 (check_bool): Likewise.
39 (check_longlong): Likewise.
40 (lrint_test_data): Add tests of infinite and NaN arguments.
41 (lrint_tonearest_test_data): Likewise.
42 (lrint_towardzero_test_data): Likewise.
43 (lrint_downward_test_data): Likewise.
44 (lrint_upward_test_data): Likewise.
45 (llrint_test_data): Likewise.
46 (llrint_tonearest_test_data): Likewise.
47 (llrint_towardzero_test_data): Likewise.
48 (llrint_downward_test_data): Likewise.
49 (llrint_upward_test_data): Likewise.
50 (lround_test_data): Likewise.
51 (llround_test_data): Likewise.
52
14407b7e
JM
53 * math/libm-test.inc (NO_TEST_INLINE): New macro.
54 (ERRNO_UNCHANGED): Update value.
55 (ERRNO_EDOM): Likewise.
56 (ERRNO_ERANGE): Likewise.
57 (NO_TEST_INLINE_FLOAT): New macro.
58 (NO_TEST_INLINE_DOUBLE): Likewise.
59 (enable_test): New function.
60 (RUN_TEST_f_f): Check enable_test before running test.
61 (RUN_TEST_2_f): Likewise.
62 (RUN_TEST_fff_f): Likewise.
63 (RUN_TEST_c_f): Likewise.
64 (RUN_TEST_f_f1): Likewise.
65 (RUN_TEST_fF_f1): Likewise.
66 (RUN_TEST_fI_f1): Likewise.
67 (RUN_TEST_ffI_f1): Likewise.
68 (RUN_TEST_c_c): Likewise.
69 (RUN_TEST_cc_c): Likewise.
70 (RUN_TEST_f_i): Likewise.
71 (RUN_TEST_f_i_tg): Likewise.
72 (RUN_TEST_ff_i_tg): Likewise.
73 (RUN_TEST_f_b): Likewise.
74 (RUN_TEST_f_b_tg): Likewise.
75 (RUN_TEST_f_l): Likewise.
76 (RUN_TEST_f_L): Likewise.
77 (RUN_TEST_fFF_11): Likewise.
78 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
79 conditionals.
80 (cosh_test_data): Likewise.
81 (exp_test_data): Likewise.
82 (expm1_test_data): Likewise.
83 (hypot_test_data): Likewise.
84 (pow_test_data): Likewise.
85 (sinh_test_data): Likewise.
86 (tanh_test_data): Likewise.
87 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
88 flags argument.
89
ca07f197
JM
90 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
91 tests with quiet NaN input and output.
92 (acosh_test_data): Likewise.
93 (asin_test_data): Likewise.
94 (asinh_test_data): Likewise.
95 (atan_test_data): Likewise.
96 (atanh_test_data): Likewise.
97 (atan2_test_data): Likewise.
98 (cbrt_test_data): Likewise.
99 (cos_test_data): Likewise.
100 (cosh_test_data): Likewise.
101 (erf_test_data): Likewise.
102 (erfc_test_data): Likewise.
103 (exp_test_data): Likewise.
104 (exp10_test_data): Likewise.
105 (exp2_test_data): Likewise.
106 (expm1_test_data): Likewise.
107 (hypot_test_data): Likewise.
108 (j0_test_data): Likewise.
109 (j1_test_data): Likewise.
110 (jn_test_data): Likewise.
111 (lgamma_test_data): Likewise.
112 (log_test_data): Likewise.
113 (log10_test_data): Likewise.
114 (log1p_test_data): Likewise.
115 (log2_test_data): Likewise.
116 (pow_test_data): Likewise.
117 (scalb_test_data): Likewise.
118 (sin_test_data): Likewise.
119 (sincos_test_data): Likewise.
120 (sinh_test_data): Likewise.
121 (tan_test_data): Likewise.
122 (tanh_test_data): Likewise.
123 (tgamma_test_data): Likewise.
124 (y0_test_data): Likewise.
125 (y1_test_data): Likewise.
126 (yn_test_data): Likewise.
127
66294491
JM
128 [BZ #16167]
129 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
130 argument being NaN and avoid computations with second argument in
131 that case.
132 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
133 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
134 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
135
1820b143
CL
1362013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
137
138 * locale/iso-639.def: Add Chitwani Tharu (the).
139
714bd261
AS
1402013-11-14 Andreas Schwab <schwab@suse.de>
141
142 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
143 word instead of empty string.
144
7ab44563
AZ
1452013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
146
147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
148 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
150 (__fe_nomask_env): Likewise.
151
e8470ea2
SE
1522013-11-13 Steve Ellcey <sellcey@mips.com>
153
154 * benchtests/bench-timing.h: Include time.h.
155
17c1d9f0
L
1562013-11-13 H.J. Lu <hongjiu.lu@intel.com>
157
158 [BZ #15997]
159 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
160 to 3.4.0 for x32.
161 * sysdeps/unix/sysv/linux/configure: Regenerated.
162
9310c284
JM
1632013-11-13 Joseph Myers <joseph@codesourcery.com>
164
165 [BZ #16151]
166 * stdlib/strtod_l.c (round_and_return): Do not consider
167 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
168 exponent one less than half the least subnormal exponent.
169 * stdlib/test-strtod-round-data: Add more tests.
170 * stdlib/tst-strtod-round.c (tests): Regenerated.
171
7a2ad8cf
AZ
1722013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
173
174 [BZ #14143]
175 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
176 (__fe_mask_env): Likewise.
177 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
178 libm_hidden_proto and add function prototype.
179 (__fe_mask_env): Add function prototype.
180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
181 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
183 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
185 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
186
50727aa7
MS
1872013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
188
189 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
190 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
191
a615be46
MS
1922013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
193
194 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
195 of htab_find_slot().
196
7ddace62
DM
1972013-11-11 David S. Miller <davem@davemloft.net>
198
199 [BZ #16150]
200 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
201 symbol in the non-vis3 case in static builds.
202 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
203 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
204 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
205 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
206
9182aa67
JK
2072013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
208
209 [BZ #387]
210 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
211 it is empty.
212
450a2e2d
AZ
2132013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
214
215 * benchtests/Makefile: Add bench-strtod.
216 * benchtests/bench-strtod.c: New file: strtod benchtest
217
8ec3f656
AS
2182013-11-11 Andreas Schwab <schwab@suse.de>
219
220 [BZ #16153]
221 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
222 terminating NUL in key length.
223
76a9b998
AZ
2242013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
225
226 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
227 Add artificial ODP entry for vDSO symbol for PPC64.
228 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
229 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
230
e4368156
OB
2312013-11-07 Ondřej Bílka <neleai@seznam.cz>
232
233 [BZ #15374]
234 * nss/getent.c (services_keys): Recognize services starting with digit.
235
8d6bb57c
DM
2362013-11-06 David S. Miller <davem@davemloft.net>
237
238 [BZ #15985]
239 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
240 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
241
e256c421
WN
2422013-11-06 Will Newton <will.newton@linaro.org>
243
244 * manual/memory.texi (Malloc Examples): Remove register
245 keyword from examples.
246
f6e12daa 2472013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 248
f6e12daa 249 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 250
9d880655
AS
2512013-11-04 Joseph Myers <joseph@codesourcery.com>
252
253 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
254 depending on [__GCC_IEC_559 > 0].
255 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
256 depending on [__GCC_IEC_559_COMPLEX > 0].
257
ae129d3c
CL
2582013-11-03 Chris Leonard <cjl@sugarlabs.org>
259
260 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
261 to iso-639.def.
262
4a15c2a4 2632013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
264
265 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
266
8b35e35d
OB
2672013-11-01 Ondřej Bílka <neleai@seznam.cz>
268
269 [BZ #16112]
270 * malloc/malloc (malloc_info): Do not handle first bin as
271 special case.
272
1d70fd6c
CL
2732013-11-01 Chris Leonard <cjl@sugarlabs.org>
274
275 * locale/iso-639.def: Add Central Nahuatl (nhn).
276
8c5c2600
BH
2772013-11-01 Bruno Haible <bruno@clisp.org>
278
279 [BZ #7003]
280 * manual/math.texi (BSD Random): Specify range upper bound as
281 in POSIX.
282
da5579c2
CL
2832013-10-31 Chris Leonard <cjl@sugarlabs.org>
284
285 * locale/iso-639.def: Add Meadow Mari (mhr).
286
5d30d853
OB
2872013-10-31 Ondřej Bílka <neleai@seznam.cz>
288
289 [BZ #14752], [BZ #15763]
290 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
291 Validate name.
292 * rt/tst_shm.c: Add test for escaping directory.
293
a4966c61
AS
2942013-10-31 Andreas Schwab <schwab@suse.de>
295
8a43e768 296 [BZ #15917]
a4966c61
AS
297 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
298 followed by 'x' as part of digit sequence.
299 * stdio-common/tst-sscanf.c (double_tests2): New tests.
300
28d708c4
MAP
3012013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
302
303 [BZ #16037]
304 * configure.ac: allow GNU Make 4.0 and greater.
305 * configure: Regenerated.
306
a56ee40b
WN
3072013-10-30 Will Newton <will.newton@linaro.org>
308
309 [BZ #16038]
310 * malloc/hooks.c (memalign_check): Limit alignment to the
311 maximum representable power of two.
312 * malloc/malloc.c (__libc_memalign): Likewise.
313 * malloc/tst-memalign.c (do_test): Add test for very
314 large alignment values.
315 * malloc/tst-posix_memalign.c (do_test): Likewise.
316
c6e4925d
OB
3172013-10-30 Ondřej Bílka <neleai@seznam.cz>
318
319 [BZ #11087]
320 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
321 (munmap_chunk): Likewise.
322 (mremap_chunk): Likewise.
323
3242013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 325
8a43e768 326 [BZ #15799]
bbea82f7
OB
327 * stdlib/div.c (div): Remove obsolete code.
328 * stdlib/ldiv.c (ldiv): Likewise.
329 * stdlib/lldiv.c (lldiv): Likewise.
330
977f4b31
SP
3312013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
332
333 [BZ #16071]
334 * nss/nss_files/files-XXX.c (get_contents_ret): New
335 enumerator.
336 (get_contents): New function.
337 (internal_getent): Use it. Expand size of LINEBUFLEN.
338
cb8a6dbd
MF
3392013-10-30 Mike Frysinger <vapier@gentoo.org>
340
341 * configure.in: Moved to ...
342 * configure.ac: ... here. Change reference to configure.in
343 to configure.ac.
344 * sysdeps/arm/preconfigure.ac: ... here.
345 configure.in to configure.ac.
346 * sysdeps/gnu/configure.in: Moved to ...
347 * sysdeps/gnu/configure.ac: ... here.
348 * sysdeps/i386/configure.in: Moved to ...
349 * sysdeps/i386/configure.ac: ... here.
350 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
351 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
352 * sysdeps/mach/configure.in: Moved to ...
353 * sysdeps/mach/configure.ac: ... here.
354 * sysdeps/mach/hurd/configure.in: Moved to ...
355 * sysdeps/mach/hurd/configure.ac: ... here.
356 * sysdeps/powerpc/configure.in: Moved to ...
357 * sysdeps/powerpc/configure.ac: ... here.
358 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
359 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
360 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
361 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
362 * sysdeps/s390/s390-32/configure.in: Moved to ...
363 * sysdeps/s390/s390-32/configure.ac: ... here.
364 * sysdeps/s390/s390-64/configure.in: Moved to ...
365 * sysdeps/s390/s390-64/configure.ac: ... here.
366 * sysdeps/sh/configure.in: Moved to ...
367 * sysdeps/sh/configure.ac: ... here.
368 * sysdeps/sparc/configure.in: Moved to ...
369 * sysdeps/sparc/configure.ac: ... here.
370 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
371 * sysdeps/unix/sysv/linux/configure.ac: ... here.
372 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
373 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
374 * sysdeps/x86_64/configure.in: Moved to ...
375 * sysdeps/x86_64/configure.ac: ... here.
376 * sysdeps/x86_64/preconfigure.in: Moved to ...
377 * sysdeps/x86_64/preconfigure.ac: ... here.
378 * aclocal.m4: Change reference to configure.in to configure.ac.
379 * config.h.in: Likewise.
380 * manual/install.texi: Likewise.
381 * manual/maint.texi: Likewise.
382 * Makefile: Likewise.
383 * malloc/Makefile: Likewise.
384 * nscd/Makefile: Likewise.
385 * Makeconfig: Change reference to configure.in and
386 preconfigure.in to configure.ac and preconfigure.ac
387 respectively.
388 * INSTALL: Regenerated.
389 * configure: Likewise.
390 * sysdeps/gnu/configure: Likewise.
391 * sysdeps/i386/configure: Likewise.
392 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
393 * sysdeps/mach/configure: Likewise.
394 * sysdeps/mach/hurd/configure: Likewise.
395 * sysdeps/powerpc/configure: Likewise.
396 * sysdeps/powerpc/powerpc32/configure: Likewise.
397 * sysdeps/powerpc/powerpc64/configure: Likewise.
398 * sysdeps/s390/s390-32/configure: Likewise.
399 * sysdeps/s390/s390-64/configure: Likewise.
400 * sysdeps/sh/configure: Likewise.
401 * sysdeps/sparc/configure: Likewise.
402 * sysdeps/unix/sysv/linux/configure: Likewise.
403 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
404 * sysdeps/x86_64/configure: Likewise.
405 * sysdeps/x86_64/preconfigure: Likewise.
406
36a4953a
AS
4072013-10-29 Andreas Schwab <schwab@suse.de>
408
409 * stdio-common/Makefile (tst-swscanf-ENV): Define.
410
c79a1204
SP
4112013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
412
dfa1b402
SP
413 * benchtests/pow-inputs: Add new inputs.
414
54f73d9c
SP
415 * benchtests/exp-inputs: Add new inputs.
416
c79a1204
SP
417 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
418 conditional check for return value.
419 (__cos32): Likewise.
420
67beb545 4212013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
422
423 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
424 to provide a boost for large inputs with word alignment.
425 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
426 implementation based on optimized PPC64 strcpy.
427 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
428 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
429 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
430 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
431
151659f6
OB
4322013-10-25 Ondřej Bílka <neleai@seznam.cz>
433
482a077e 434 [BZ #2801]
151659f6
OB
435 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
436
10b0f26b
OB
4372013-10-25 Ondřej Bílka <neleai@seznam.cz>
438
439 [BZ #14876]
440 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
441 * time/tst-strptime.c (day_tests): Add testcase.
442
ca42d35e
OB
4432013-10-25 Ondřej Bílka <neleai@seznam.cz>
444
482a077e 445 [BZ #14029]
ca42d35e
OB
446 * manual/pattern.texi: Acknowledge that fnmatch can fail.
447
52e6d801
FB
4482013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
449
450 [BZ #16074]
451 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
452 MAP_FAILED on error.
453
7cbcdb36
SP
4542013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
455
456 [BZ #16072]
457 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
458 heap for large requests.
459
894f3f10
AM
4602013-10-25 Aurelien Jarno <aurelien@aurel32.net>
461
462 [BZ #9954]
463 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
464 result if the result has no associated interface.
465 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
466 interface for all 127.X.Y.Z addresses.
467
b85545a6
CL
4682013-10-24 Chris Leonard <cjl@sugarlabs.org>
469
470 * locale/iso-639.def: Add Ligurian (lij)
471
d1f23d46
OB
4722013-10-21 Ondřej Bílka <neleai@seznam.cz>
473
474 [BZ #15825]
475 * sunrpc/rpc_main.c: Document rpcgen -5.
476
4db5b08f
MS
4772013-10-19 Michael Stahl <mstahl@redhat.com>
478
479 * elf/rtld.c (do_preload): Print the reason why preloading failed.
480
a471e96a
OB
4812013-10-19 Ondřej Bílka <neleai@seznam.cz>
482
d1f23d46 483 [BZ #10278]
a471e96a
OB
484 * posix/glob.c: Match only directories when trailing slash is present.
485 * posix/tst-gnuglob.c (my_opendir): Do not open files.
486 (main): Add testcase.
487
45c30c61
OB
4882013-10-19 Ondřej Bílka <neleai@seznam.cz>
489
490 [BZ #15670]
491 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
492
484c12fb
CD
4932013-10-18 Carlos O'Donell <carlos@redhat.com>
494
3d7dc513
CD
495 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
496 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
497 AUTH_DES and cindex for FIPS 140-2.
498 (DES Encryption): Add cindex FIPS 46-3.
499
484c12fb
CD
500 * locale/locarchive.h (struct locarhandle): Add fname.
501 * locale/programs/localedef.c (main): Pass ARGV[remaining]
502 if an optional argument was specified to --list-archive,
503 otherwise NULL.
504 * locale/programs/locarchive.c (show_archive_content): Take new
505 argument fname and pass it via ah.fname to open_archive.
506 * locale/programs/localedef.h: Update decl.
507 (open_archive): If AH->fname is non-null, open that file
508 rather than the default file name, and don't ignore ENOENT.
509 (create_archive): Set AH.fname to NULL.
510 (delete_locales_from_archive): Likewise.
511 (add_locales_to_archive): Likewise.
512 * locale/programs/locfile.c (write_all_categories): Likewise.
513
3c8325fb
JM
5142013-10-18 Joseph Myers <joseph@codesourcery.com>
515 Aldy Hernandez <aldyh@redhat.com>
516
517 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
518 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
519 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
520 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
521 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
522 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
523 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
524 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
525 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
526 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
527 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
528 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
529 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
530 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
531 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
532 Likewise.
533 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
534 Likewise.
535 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
536 Likewise.
537 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
538 Likewise.
539 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
540 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
541 Likewise.
542 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
543 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
544 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
545 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
546 Likewise.
547 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
548 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
549 * sysdeps/powerpc/preconfigure: Likewise.
550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
551 Likewise.
552 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
553 Replace contents of file by #include of <fenv_libc.h>.
554 * sysdeps/powerpc/soft-fp/sfp-machine.h
555 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
556 and <sys/prctl.h>.
557 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
558 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
559 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
560 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
561 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
562 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
563 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
564 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
565 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
566 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
567 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
568 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
570 Allow copysignl PLT reference to be missing.
571
5abe0682
RS
5722013-10-18 Richard Sandiford <richard@codesourcery.com>
573 Joseph Myers <joseph@codesourcery.com
574
575 [BZ #15948]
576 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
577 single character.
578 (add_to_tablewc): Assert sequence of wide characters is nonempty.
579
c7738d08
SP
5802013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
581
582 * elf/tst-tls-dlinfo.c: Don't include tls.h.
583 * elf/tst-tls1.c: Likewise.
584 * elf/tst-tls10.h: Likewise.
585 * elf/tst-tls14.c: Likewise.
586 * elf/tst-tls2.c: Likewise.
587 * elf/tst-tls3.c: Likewise.
588 * elf/tst-tls4.c: Likewise.
589 * elf/tst-tls5.c: Likewise.
590 * elf/tst-tls6.c: Likewise.
591 * elf/tst-tls7.c: Likewise.
592 * elf/tst-tls8.c: Likewise.
593 * elf/tst-tls9.c: Likewise.
594 * elf/tst-tlsmod1.c: Likewise.
595 * elf/tst-tlsmod13.c: Likewise.
596 * elf/tst-tlsmod13a.c: Likewise.
597 * elf/tst-tlsmod14a.c: Likewise.
598 * elf/tst-tlsmod16a.c: Likewise.
599 * elf/tst-tlsmod16b.c: Likewise.
600 * elf/tst-tlsmod2.c: Likewise.
601 * elf/tst-tlsmod3.c: Likewise.
602 * elf/tst-tlsmod4.c: Likewise.
603 * elf/tst-tlsmod5.c: Likewise.
604 * elf/tst-tlsmod6.c: Likewise.
605
0bfcf2c7
OB
6062013-10-18 Ondřej Bílka <neleai@seznam.cz>
607
608 [BZ #12486]
609 * malloc/malloc.c: remove checks for statistics.
610
264aad1e
OB
6112013-10-17 Ondřej Bílka <neleai@seznam.cz>
612
613 [BZ #15277]
614 * inet/inet_net.c (inet_network): Detect additional invalid strings.
615 * inet/tst-network.c: Add testcase.
616
b957ced8
AS
6172013-10-17 Andreas Schwab <schwab@suse.de>
618
619 [BZ #15218]
620 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
621 to determine canonical name.
622
c5d5d574
OB
6232013-10-17 Ondřej Bílka <neleai@seznam.cz>
624
625 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
626 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
627 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
628 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
629 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
630 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
631 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
632 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
633 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
634 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
635 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
636 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
637 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
638 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
639 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
640 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
641 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
642 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
643 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
644 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
645 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
646 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
647 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
648 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
649 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
650 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
651 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
652 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
653 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
654 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
655 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
656 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
657 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
658 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
659 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
660 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
661 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
662 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
663 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
664 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
665 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
666 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
667 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
668 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
669 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
670 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
671 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
672 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
673 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
674 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
675 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
676 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
677 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
678 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
679 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
680 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
681 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
682 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
683
e5c2c2d0
JM
6842013-10-17 Joseph Myers <joseph@codesourcery.com>
685
686 [BZ #16041]
687 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
688 make result into a quiet NaN.
689
51ca9e29
JM
6902013-10-16 Joseph Myers <joseph@codesourcery.com>
691
692 * soft-fp/adddf3.c: Fix horizontal whitespace.
693 * soft-fp/addsf3.c: Likewise.
694 * soft-fp/addtf3.c: Likewise.
695 * soft-fp/divdf3.c: Likewise.
696 * soft-fp/divsf3.c: Likewise.
697 * soft-fp/divtf3.c: Likewise.
698 * soft-fp/double.h: Likewise.
699 * soft-fp/eqdf2.c: Likewise.
700 * soft-fp/eqsf2.c: Likewise.
701 * soft-fp/eqtf2.c: Likewise.
702 * soft-fp/extenddftf2.c: Likewise.
703 * soft-fp/extended.h: Likewise.
704 * soft-fp/extendsfdf2.c: Likewise.
705 * soft-fp/extendsftf2.c: Likewise.
706 * soft-fp/extendxftf2.c: Likewise.
707 * soft-fp/fixdfdi.c: Likewise.
708 * soft-fp/fixdfsi.c: Likewise.
709 * soft-fp/fixdfti.c: Likewise.
710 * soft-fp/fixsfdi.c: Likewise.
711 * soft-fp/fixsfsi.c: Likewise.
712 * soft-fp/fixsfti.c: Likewise.
713 * soft-fp/fixtfdi.c: Likewise.
714 * soft-fp/fixtfsi.c: Likewise.
715 * soft-fp/fixtfti.c: Likewise.
716 * soft-fp/fixunsdfdi.c: Likewise.
717 * soft-fp/fixunsdfsi.c: Likewise.
718 * soft-fp/fixunsdfti.c: Likewise.
719 * soft-fp/fixunssfdi.c: Likewise.
720 * soft-fp/fixunssfsi.c: Likewise.
721 * soft-fp/fixunssfti.c: Likewise.
722 * soft-fp/fixunstfdi.c: Likewise.
723 * soft-fp/fixunstfsi.c: Likewise.
724 * soft-fp/fixunstfti.c: Likewise.
725 * soft-fp/floatdidf.c: Likewise.
726 * soft-fp/floatdisf.c: Likewise.
727 * soft-fp/floatditf.c: Likewise.
728 * soft-fp/floatsidf.c: Likewise.
729 * soft-fp/floatsisf.c: Likewise.
730 * soft-fp/floatsitf.c: Likewise.
731 * soft-fp/floattidf.c: Likewise.
732 * soft-fp/floattisf.c: Likewise.
733 * soft-fp/floattitf.c: Likewise.
734 * soft-fp/floatundidf.c: Likewise.
735 * soft-fp/floatundisf.c: Likewise.
736 * soft-fp/floatunditf.c: Likewise.
737 * soft-fp/floatunsidf.c: Likewise.
738 * soft-fp/floatunsisf.c: Likewise.
739 * soft-fp/floatunsitf.c: Likewise.
740 * soft-fp/floatuntidf.c: Likewise.
741 * soft-fp/floatuntisf.c: Likewise.
742 * soft-fp/floatuntitf.c: Likewise.
743 * soft-fp/fmadf4.c: Likewise.
744 * soft-fp/fmasf4.c: Likewise.
745 * soft-fp/fmatf4.c: Likewise.
746 * soft-fp/gedf2.c: Likewise.
747 * soft-fp/gesf2.c: Likewise.
748 * soft-fp/getf2.c: Likewise.
749 * soft-fp/ledf2.c: Likewise.
750 * soft-fp/lesf2.c: Likewise.
751 * soft-fp/letf2.c: Likewise.
752 * soft-fp/muldf3.c: Likewise.
753 * soft-fp/mulsf3.c: Likewise.
754 * soft-fp/multf3.c: Likewise.
755 * soft-fp/negdf2.c: Likewise.
756 * soft-fp/negsf2.c: Likewise.
757 * soft-fp/negtf2.c: Likewise.
758 * soft-fp/op-1.h: Likewise.
759 * soft-fp/op-2.h: Likewise.
760 * soft-fp/op-4.h: Likewise.
761 * soft-fp/op-8.h: Likewise.
762 * soft-fp/op-common.h: Likewise.
763 * soft-fp/quad.h: Likewise.
764 * soft-fp/single.h: Likewise.
765 * soft-fp/soft-fp.h: Likewise.
766 * soft-fp/sqrtdf2.c: Likewise.
767 * soft-fp/sqrtsf2.c: Likewise.
768 * soft-fp/sqrttf2.c: Likewise.
769 * soft-fp/subdf3.c: Likewise.
770 * soft-fp/subsf3.c: Likewise.
771 * soft-fp/subtf3.c: Likewise.
772 * soft-fp/truncdfsf2.c: Likewise.
773 * soft-fp/trunctfdf2.c: Likewise.
774 * soft-fp/trunctfsf2.c: Likewise.
775 * soft-fp/trunctfxf2.c: Likewise.
776 * soft-fp/unorddf2.c: Likewise.
777 * soft-fp/unordsf2.c: Likewise.
778 * soft-fp/unordtf2.c: Likewise.
779
9ebb0332
JM
7802013-10-15 Joseph Myers <joseph@codesourcery.com>
781
782 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
783 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
784
4b1a6d8b
OB
7852013-10-15 Ondřej Bílka <neleai@seznam.cz>
786
787 * elf/dl-libc.c: Clear initfini list after freeing.
788
1e145589
JM
7892013-10-14 Joseph Myers <joseph@codesourcery.com>
790
791 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
792 * soft-fp/addsf3.c: Likewise.
793 * soft-fp/addtf3.c: Likewise.
794 * soft-fp/divdf3.c: Likewise.
795 * soft-fp/divsf3.c: Likewise.
796 * soft-fp/divtf3.c: Likewise.
797 * soft-fp/double.h: Likewise.
798 * soft-fp/eqdf2.c: Likewise.
799 * soft-fp/eqsf2.c: Likewise.
800 * soft-fp/eqtf2.c: Likewise.
801 * soft-fp/extenddftf2.c: Likewise.
802 * soft-fp/extended.h: Likewise.
803 * soft-fp/extendsfdf2.c: Likewise.
804 * soft-fp/extendsftf2.c: Likewise.
805 * soft-fp/extendxftf2.c: Likewise.
806 * soft-fp/fixdfdi.c: Likewise.
807 * soft-fp/fixdfsi.c: Likewise.
808 * soft-fp/fixdfti.c: Likewise.
809 * soft-fp/fixsfdi.c: Likewise.
810 * soft-fp/fixsfsi.c: Likewise.
811 * soft-fp/fixsfti.c: Likewise.
812 * soft-fp/fixtfdi.c: Likewise.
813 * soft-fp/fixtfsi.c: Likewise.
814 * soft-fp/fixtfti.c: Likewise.
815 * soft-fp/fixunsdfdi.c: Likewise.
816 * soft-fp/fixunsdfsi.c: Likewise.
817 * soft-fp/fixunsdfti.c: Likewise.
818 * soft-fp/fixunssfdi.c: Likewise.
819 * soft-fp/fixunssfsi.c: Likewise.
820 * soft-fp/fixunssfti.c: Likewise.
821 * soft-fp/fixunstfdi.c: Likewise.
822 * soft-fp/fixunstfsi.c: Likewise.
823 * soft-fp/fixunstfti.c: Likewise.
824 * soft-fp/floatdidf.c: Likewise.
825 * soft-fp/floatdisf.c: Likewise.
826 * soft-fp/floatditf.c: Likewise.
827 * soft-fp/floatsidf.c: Likewise.
828 * soft-fp/floatsisf.c: Likewise.
829 * soft-fp/floatsitf.c: Likewise.
830 * soft-fp/floattidf.c: Likewise.
831 * soft-fp/floattisf.c: Likewise.
832 * soft-fp/floattitf.c: Likewise.
833 * soft-fp/floatundidf.c: Likewise.
834 * soft-fp/floatundisf.c: Likewise.
835 * soft-fp/floatunsidf.c: Likewise.
836 * soft-fp/floatunsisf.c: Likewise.
837 * soft-fp/floatuntidf.c: Likewise.
838 * soft-fp/floatuntisf.c: Likewise.
839 * soft-fp/floatuntitf.c: Likewise.
840 * soft-fp/fmadf4.c: Likewise.
841 * soft-fp/fmasf4.c: Likewise.
842 * soft-fp/fmatf4.c: Likewise.
843 * soft-fp/gedf2.c: Likewise.
844 * soft-fp/gesf2.c: Likewise.
845 * soft-fp/getf2.c: Likewise.
846 * soft-fp/ledf2.c: Likewise.
847 * soft-fp/lesf2.c: Likewise.
848 * soft-fp/letf2.c: Likewise.
849 * soft-fp/muldf3.c: Likewise.
850 * soft-fp/mulsf3.c: Likewise.
851 * soft-fp/multf3.c: Likewise.
852 * soft-fp/negdf2.c: Likewise.
853 * soft-fp/negsf2.c: Likewise.
854 * soft-fp/negtf2.c: Likewise.
855 * soft-fp/op-1.h: Likewise.
856 * soft-fp/op-2.h: Likewise.
857 * soft-fp/op-4.h: Likewise.
858 * soft-fp/op-8.h: Likewise.
859 * soft-fp/op-common.h: Likewise.
860 * soft-fp/quad.h: Likewise.
861 * soft-fp/single.h: Likewise.
862 * soft-fp/soft-fp.h: Likewise.
863 * soft-fp/sqrtdf2.c: Likewise.
864 * soft-fp/sqrtsf2.c: Likewise.
865 * soft-fp/sqrttf2.c: Likewise.
866 * soft-fp/subdf3.c: Likewise.
867 * soft-fp/subsf3.c: Likewise.
868 * soft-fp/subtf3.c: Likewise.
869 * soft-fp/truncdfsf2.c: Likewise.
870 * soft-fp/trunctfdf2.c: Likewise.
871 * soft-fp/trunctfsf2.c: Likewise.
872 * soft-fp/trunctfxf2.c: Likewise.
873 * soft-fp/unorddf2.c: Likewise.
874 * soft-fp/unordsf2.c: Likewise.
875 * soft-fp/unordtf2.c: Likewise.
876
17c48a60
OB
8772013-10-14 Ondřej Bílka <neleai@seznam.cz>
878
879 [BZ #15672]
880 * misc/error.c (error_tail): Fix possible buffer overflow.
881
cabba934
OB
8822013-10-14 Aurelien Jarno <aurelien@aurel32.net>
883
884 [BZ #13028]
885 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
886 address.
887
94bf958a
PM
8882013-10-14 P. J. McDermott <pj@pehjota.net>
889
890 [BZ #832]
891 * elf/ldd.bash.in (try_trace): New function. Delete previous code
892 testing pipefail option.
893
71b4dea7
JM
8942013-10-12 Joseph Myers <joseph@codesourcery.com>
895
896 * soft-fp/double.h: Indent preprocessor directives inside #if.
897 * soft-fp/extended.h: Likewise.
898 * soft-fp/op-2.h: Likewise.
899 * soft-fp/op-4.h: Likewise.
900 * soft-fp/op-common.h: Likewise.
901 * soft-fp/quad.h: Likewise.
902 * soft-fp/single.h: Likewise.
903 * soft-fp/soft-fp.h: Likewise.
904
55602758
YC
9052013-10-12 Yuri Chornoivan <yurchor@ukr.net>
906
907 * iconv/iconv_prog.c: Fix typos.
908 * stdio-common/psiginfo-data.h: Likewise.
909
9cd83302
RT
9102013-10-12 Reuben Thomas <rrt@sc3d.org>
911
912 [BZ #15764]
913 * locale/setlocale.c: Fix typo.
914
99fd9f47
JM
9152013-10-12 Joseph Myers <joseph@codesourcery.com>
916
b7ea74f0
JM
917 [BZ #16036]
918 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
919 signaling NaN arguments.
920 * soft-fp/unordsf2.c (__unordsf2): Likewise.
921 * soft-fp/unordtf2.c (__unordtf2): Likewise.
922
8a509447
JM
923 [BZ #14910]
924 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
925 unordered operands.
926 * soft-fp/gesf2.c (__gesf2): Likewise.
927 * soft-fp/getf2.c (__getf2): Likewise.
928 * soft-fp/ledf2.c (__ledf2): Likewise.
929 * soft-fp/lesf2.c (__lesf2): Likewise.
930 * soft-fp/letf2.c (__letf2): Likewise.
931
98998e9f
JM
932 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
933 * soft-fp/eqsf2.c (__eqsf2): Likewise.
934 * soft-fp/eqtf2.c (__eqtf2): Likewise.
935 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
936 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
937 * soft-fp/fixdfti.c (__fixdfti): Likewise.
938 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
939 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
940 * soft-fp/fixsfti.c (__fixsfti): Likewise.
941 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
942 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
943 * soft-fp/fixtfti.c (__fixtfti): Likewise.
944 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
945 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
946 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
947 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
948 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
949 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
950 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
951 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
952 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
953 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
954 * soft-fp/floatdisf.c (__floatdisf): Likewise.
955 * soft-fp/floatsisf.c (__floatsisf): Likewise.
956 * soft-fp/floattidf.c (__floattidf): Likewise.
957 * soft-fp/floattisf.c (__floattisf): Likewise.
958 * soft-fp/floattitf.c (__floattitf): Likewise.
959 * soft-fp/floatundidf.c (__floatundidf): Likewise.
960 * soft-fp/floatundisf.c (__floatundisf): Likewise.
961 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
962 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
963 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
964 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
965 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
966 * soft-fp/gesf2.c (__gesf2): Likewise.
967 * soft-fp/getf2.c (__getf2): Likewise.
968 * soft-fp/ledf2.c (__ledf2): Likewise.
969 * soft-fp/lesf2.c (__lesf2): Likewise.
970 * soft-fp/letf2.c (__letf2): Likewise.
971
8edc4a11
JM
972 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
973 Undefine and redefine.
974 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
975 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
976 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
977 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
978 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
979 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
980 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
981 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
982 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
983 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
984 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
985 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
986 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
987 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
988 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
989
8399acaf
JM
990 [BZ #16032]
991 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
992 without decrementing exponent if mantissa >= that for the
993 denominator, not >.
994 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
995 denominator, not >. Decrement exponent in < case instead of
996 incrementing in >= case.
997 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
998 without decrementing exponent if mantissa >= that for the
999 denominator, not >.
1000
99fd9f47
JM
1001 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
1002 computing saturated result for unsigned overflow.
1003
10e1cf6b
SP
10042013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
1005 Jeff Law <law@redhat.com>
1006
1007 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
1008 (atan2Mp): Add systemtap probe marker.
1009 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
1010 (__ieee754_log): Add systemtap probe marker.
1011 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
1012 (atanMp): Add systemtap probe marker.
1013 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
1014 (tanMp): Add systemtap probe marker.
1015 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
1016 (__slowexp): Add systemtap probe marker.
1017 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
1018 (__slowpow): Add systemtap probe marker.
1019 * manual/probes.texi: Document probes.
1020
3d110c7c
EB
10212013-10-11 Eric Biggers <ebiggers3@gmail.com>
1022
1023 [BZ #15362]
1024 * libio/fileops.c (_IO_new_file_write): Return count of bytes
1025 written.
1026 (_IO_new_file_xsputn): Don't return EOF if nothing has been
1027 written.
1028 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
1029 written to buffer but not flushed.
1030 * libio/iofwrite_u.c: Likewise.
1031 * libio/iopadn.c: Return bytes returned even if EOF was
1032 encountered.
1033 * libio/iowpadn.c: Likewise.
1034 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
1035 if _IO_padn does not write the whole buffer.
1036 [!COMPILE_WPRINTF] (PAD): Likewise.
1037
75b4202a
DM
10382013-10-10 David S. Miller <davem@davemloft.net>
1039
1040 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
1041 directory block.
1042
6c6352e6
JM
10432013-10-10 Joseph Myers <joseph@codesourcery.com>
1044
33b853c3
JM
1045 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
1046 instead of FSF address.
1047 * soft-fp/fixdfti.c: Likewise.
1048 * soft-fp/fixsfti.c: Likewise.
1049 * soft-fp/fixtfti.c: Likewise.
1050 * soft-fp/fixunsdfti.c: Likewise.
1051 * soft-fp/fixunssfti.c: Likewise.
1052 * soft-fp/fixunstfti.c: Likewise.
1053 * soft-fp/floattidf.c: Likewise.
1054 * soft-fp/floattisf.c: Likewise.
1055 * soft-fp/floattitf.c: Likewise.
1056 * soft-fp/floatuntidf.c: Likewise.
1057 * soft-fp/floatuntisf.c: Likewise.
1058 * soft-fp/floatuntitf.c: Likewise.
1059 * soft-fp/trunctfxf2.c: Likewise.
1060
6c6352e6
JM
1061 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
1062 * soft-fp/fixdfti.c: Likewise.
1063 * soft-fp/fixsfti.c: Likewise.
1064 * soft-fp/fixtfti.c: Likewise.
1065 * soft-fp/fixunsdfti.c: Likewise.
1066 * soft-fp/fixunssfti.c: Likewise.
1067 * soft-fp/fixunstfti.c: Likewise.
1068 * soft-fp/floattidf.c: Likewise.
1069 * soft-fp/floattisf.c: Likewise.
1070 * soft-fp/floattitf.c: Likewise.
1071 * soft-fp/floatuntidf.c: Likewise.
1072 * soft-fp/floatuntisf.c: Likewise.
1073 * soft-fp/floatuntitf.c: Likewise.
1074 * soft-fp/trunctfxf2.c: Likewise.
1075
3bf78b71
DM
10762013-10-10 David S. Miller <davem@davemloft.net>
1077
1078 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1079
6f10289e
JM
10802013-10-10 Joseph Myers <joseph@codsourcery.com>
1081
bd878fc0
JM
1082 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1083 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
1084 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
1085 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
1086 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
1087 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
1088 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
1089
6f10289e
JM
1090 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
1091 for NaNs before doing comparisons on argument.
1092 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
1093 Likewise.
1094
321e2684
WN
10952013-10-10 Will Newton <will.newton@linaro.org>
1096
1097 * malloc/hooks.c (memalign_check): Ensure the value of bytes
1098 passed to _int_memalign does not overflow.
1099
40fefba1
TR
11002013-10-10 Torvald Riegel <triegel@redhat.com>
1101
1102 * scripts/bench.pl: Add include-sources directive.
1103 * benchtests/README: Update documentation.
1104
2ae21ed2
JM
11052013-10-10 Joseph Myers <joseph@codesourcery.com>
1106
dcc2dd3f
JM
1107 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
1108 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
1109 instead of FP_INIT_ROUNDMODE.
1110 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
1111 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
1112
2ae21ed2
JM
1113 [BZ #16034]
1114 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
1115 copy class of input value.
1116 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
1117 not handle exceptions.
1118 * soft-fp/negsf2.c (__negsf2): Likewise.
1119 * soft-fp/negtf2.c (__negtf2): Likewise.
1120 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
1121
cb8f9562
JM
11222013-10-09 Joseph Myers <joseph@codesourcery.com>
1123
1124 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
1125 semicolon. From Linux kernel.
1126
5b60c59d
AB
11272013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
1128
1129 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
1130
b86835ca
YC
11312013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
1132
1133 [BZ #156]
1134 * manual/socket.texi: Added statement about buffer
1135 for gethostbyname2_r.
1136
e7044ea7
OB
11372013-10-08 Ondřej Bílka <neleai@seznam.cz>
1138
1139 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
1140 Use .p2align directive instead, throughout.
1141 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1142 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1143 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
1144 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1145 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1146 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
1147 * sysdeps/x86_64/strchr.S: Likewise.
1148 * sysdeps/x86_64/strrchr.S: Likewise.
1149
09544cbc
SP
11502013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1151
88576635
SP
1152 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
1153
e7b2d1dd
SP
1154 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
1155
09544cbc
SP
1156 * sysdeps/generic/math_private.h (__mpsin1): Remove
1157 declaration.
1158 (__mpcos1): Likewise.
1159 (__mpsin): New argument __range_reduce.
1160 (__mpcos): Likewise.
1161 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1162 (slow): Use __mpsin and __mpcos.
1163 (slow1): Likewise.
1164 (slow2): Likewise.
1165 (sloww): Likewise.
1166 (sloww1): Likewise.
1167 (sloww2): Likewise.
1168 (bsloww): Likewise.
1169 (bsloww1): Likewise.
1170 (bsloww2): Likewise.
1171 (cslow2): Likewise.
1172 (csloww): Likewise.
1173 (csloww1): Likewise.
1174 (csloww2): Likewise.
1175 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
1176 range_reduce. Merge in __mpsin1.
1177 (__mpcos): Likewise.
1178 (__mpsin1): Remove.
1179 (__mpcos1): Likewise.
1180
7602d070
JM
11812013-10-07 Joseph Myers <joseph@codesourcery.com>
1182
1183 * locale/loadlocale.c (_nl_intern_locale_data): Use
1184 LOCFILE_ALIGNED_P.
1185 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
1186 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
1187 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
1188 obstack data is appropriately aligned.
1189 (obstack_int32_grow_fast): Likewise.
1190 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
1191 * locale/programs/locfile.c (add_locale_uint32): Likewise.
1192 (add_locale_uint32_array): Likewise.
1193
a357259b
SP
11942013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1195
1196 * benchtests/Makefile: Remove ARGLIST and RET variables.
1197 ($(objpfx)bench-%.c): Pass only function name to the script.
1198 * benchtests/README: Update documentation.
1199 * benchtests/acos-inputs: Add new directives.
1200 * benchtests/acosh-inputs: Likewise.
1201 * benchtests/asin-inputs: Likewise.
1202 * benchtests/asinh-inputs: Likewise.
1203 * benchtests/atan-inputs: Likewise.
1204 * benchtests/atanh-inputs: Likewise.
1205 * benchtests/cos-inputs: Likewise.
1206 * benchtests/cosh-inputs: Likewise.
1207 * benchtests/exp-inputs: Likewise.
1208 * benchtests/log-inputs: Likewise.
1209 * benchtests/pow-inputs: Likewise.
1210 * benchtests/rint-inputs: Likewise.
1211 * benchtests/sin-inputs: Likewise.
1212 * benchtests/sinh-inputs: Likewise.
1213 * benchtests/tan-inputs: Likewise.
1214 * benchtests/tanh-inputs: Likewise.
1215 * scripts/bench.pl: Add support for new directives.
1216
9ec1b13d
AM
12172013-10-07 Alan Modra <amodra@gmail.com>
1218
1219 * README: Fix careless merge.
1220
8b7d57cd
AM
12212013-10-05 Alan Modra <amodra@gmail.com>
1222
1223 * NEWS: Mention powerpc64le support and bugs fixed.
1224 * README: Both big-endian and little-endian powerpc64 supported.
1225
7b7bab13
ST
12262013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1227
1228 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
1229 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
1230 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
1231 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
1232
d39baad1
RA
12332013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
1234
1235 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
1236 match prototype.
1237
cd78f7e7
JM
12382013-10-04 Joseph Myers <joseph@codesourcery.com>
1239
29d73d86
JM
1240 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
1241 Move -mhard-float appending from
1242 ports/sysdeps/powerpc/powerpc32/Makefile.
1243 [$(with-fp) = yes] (ASFLAGS): Likewise.
1244 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
1245 * sysdeps/powerpc/nofpu: Move directory from
1246 ports/sysdeps/powerpc/nofpu.
1247 * sysdeps/powerpc/soft-fp: Move directory from
1248 ports/sysdeps/powerpc/soft-fp.
1249 * sysdeps/powerpc/powerpc32/405: Move directory from
1250 ports/sysdeps/powerpc/powerpc32/405.
1251 * sysdeps/powerpc/powerpc32/440: Move directory from
1252 ports/sysdeps/powerpc/powerpc32/440.
1253 * sysdeps/powerpc/powerpc32/464: Move directory from
1254 ports/sysdeps/powerpc/powerpc32/464.
1255 * sysdeps/powerpc/powerpc32/476: Move directory from
1256 ports/sysdeps/powerpc/powerpc32/476.
1257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
1258 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
1259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
1260 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
1261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
1262 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
1263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
1264 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
1265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
1266 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
1267 * README: Update for powerpc-*-linux-gnu software floating point
1268 support in libc.
1269
e246b347
JM
1270 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
1271 case to powerpc/powerpc32*.
1272 * sysdeps/unix/sysv/linux/configure: Regenerated.
1273
89c2003e
JM
1274 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
1275 (_FPU_MASK_OM): Define as 0x04.
1276 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
1277 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
1278 0x00c10080.
1279 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
1280 0x0000003c.
1281 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
1282
cd78f7e7
JM
1283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
1284 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1285 getcontext_e500.
1286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
1287 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1288 setcontext_e500.
1289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1290 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
1291 and setcontext_e500.
1292
c755294d
CL
12932013-10-04 Chris Leonard <cjl@sugarlabs,.org>
1294
1295 * locale/iso-3166.def: Update iso-1366.def and related occurrences
1296
e16d221c
SP
12972013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1298
1299 * manual/threads.texi (Default Thread Attributes): Fix typo.
1300
215c7d43
WN
13012013-10-04 Will Newton <will.newton@linaro.org>
1302
1303 * malloc/Makefile: Add tst-memalign.
1304 * malloc/tst-memalign.c: New file.
1305
27d0461b
WN
1306 * malloc/tst-posix_memalign.c: Add comments.
1307 (do_test): Add comments and call free on all potentially
1308 allocated pointers. Add space after cast.
1309
1bc92709
WN
1310 * malloc/tst-pvalloc.c: Add comments.
1311 (do_test): Add comments and call free on all potentially
1312 allocated pointers. Remove duplicate check for NULL pointer.
1313 Add space after cast.
1314
66a9be9d
WN
1315 * malloc/tst-valloc.c: Add comments.
1316 (do_test): Add comments and call free on all potentially
1317 allocated pointers. Remove duplicate check for NULL pointer.
1318 Add space after cast.
1319
4cb81307
AM
13202013-10-04 Alan Modra <amodra@gmail.com>
1321
1322 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1323 Use stdint types in rather than __attribute__((mode())).
1324 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1325
f8e3e9f3
AM
13262013-10-04 Alan Modra <amodra@gmail.com>
1327
1328 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1329 Correct handling of unaligned relocs for little-endian.
1330 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1331
8f9ebb08
AM
13322013-10-04 Alan Modra <amodra@gmail.com>
1333
1334 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
1335 * configure: Regenerate.
1336 * nptl/shlib-versions: Powerpc*le starts at 2.18.
1337 * shlib-versions: Likewise.
1338
0edf96c2
AM
13392013-10-04 Alan Modra <amodra@gmail.com>
1340
1341 * string/tester.c (test_memrchr): Increment reported test cycle.
1342
e0f7a380
AM
13432013-10-04 Alan Modra <amodra@gmail.com>
1344
1345 * string/test-memcpy.c (do_one_test): When reporting errors, print
1346 string address and don't overrun end of string.
1347
466b0393
AM
13482013-10-04 Alan Modra <amodra@gmail.com>
1349
1350 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
1351 insrdi. Make better use of reg selection to speed exit slightly.
1352 Schedule entry path a little better. Remove useless "are we done"
1353 checks on entry to main loop. Handle wrapping around zero address.
1354 Correct main loop count. Handle single left-over word from main
1355 loop inline rather than by using loop_small. Remove extra word
1356 case in loop_small caused by wrong loop count. Add little-endian
1357 support.
1358 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1359 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
1360 cache hint.
1361 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1362 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
1363 support. Avoid rlwimi.
1364 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
1365
3be87c77
AM
13662013-10-04 Alan Modra <amodra@gmail.com>
1367
1368 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 1369 insrdi. Formatting.
3be87c77
AM
1370 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
1371 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1372 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1373 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1374 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1375 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
1376
759cfef3
AM
13772013-10-04 Alan Modra <amodra@gmail.com>
1378
1379 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
1380 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1381 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1382 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
1383 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1384 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1385 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1386 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
1387 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
1388 use of regs. Use power7 mtocrf. Tidy function tails.
1389
fe6e95d7
AM
13902013-10-04 Alan Modra <amodra@gmail.com>
1391
1392 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
1393 Formatting. Consistently use rXXX register defines or rN defines.
1394 Use early exit labels that avoid restoring unused non-volatile regs.
1395 Make cr field use more consistent with rWORDn compares. Rename
1396 regs used as shift registers for unaligned loop, using rN defines
1397 for short lifetime/multiple use regs.
1398 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1399 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
1400 addi 1,1,64 to pop stack frame. Simplify return value code.
1401 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1402
664318c3
AM
14032013-10-04 Alan Modra <amodra@gmail.com>
1404
1405 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
1406 support. Correct typos, formatting. Optimize tail. Use insrdi
1407 rather than rlwimi.
1408 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
1409 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
1410 little-endian support. Correct typos.
1411 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
1412 rather than rlwimi.
1413 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
1414 in loop and entry code to keep "and." results.
1415 (strchr): Add little-endian support. Comment. Move cntlzd
1416 earlier in tail.
1417 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
1418
43b84013
AM
14192013-10-04 Alan Modra <amodra@gmail.com>
1420
1421 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
1422 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
1423 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
1424 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
1425
8a7413f9
AM
14262013-10-04 Alan Modra <amodra@gmail.com>
1427
1428 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
1429 (rTMP): Define as r11.
1430 (strcmp): Add little-endian support. Optimise tail.
1431 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
1432 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1433 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1434 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1435 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1436 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1437 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1438
33ee81de
AM
14392013-10-04 Alan Modra <amodra@gmail.com>
1440
1441 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
1442 little-endian support. Remove unnecessary "are we done" tests.
1443 Handle "s" wrapping around zero and extremely large "size".
1444 Correct main loop count. Handle single left-over word from main
1445 loop inline rather than by using small_loop. Correct comments.
1446 Delete "zero" tail, use "end_max" instead.
1447 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
1448
db9b4570
AM
14492013-10-04 Alan Modra <amodra@gmail.com>
1450
1451 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
1452 support. Don't branch over align.
1453 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
1454 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
1455 support. Rearrange tmp reg use to suit. Comment.
1456 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
1457
f7c399cf
AM
14582013-10-04 Alan Modra <amodra@gmail.com>
1459
1460 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
1461
0b2c2ace
AM
14622013-10-04 Alan Modra <amodra@gmail.com>
1463
1464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
1465 conditional form of branch and link when obtaining pc.
1466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1467
02f04a6c
AM
14682013-10-04 Alan Modra <amodra@gmail.com>
1469
1470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
1471 HIWORD/LOWORD.
1472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
1473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
1474
9b874b2f
AM
14752013-10-04 Alan Modra <amodra@gmail.com>
1476
1477 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
1478 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
1479 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1480 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
1481 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1482 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1483 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
1484 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1485 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1486 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
1487
be1e5d31
AB
14882013-10-04 Anton Blanchard <anton@au1.ibm.com>
1489 Alistair Popple <alistair@ozlabs.au.ibm.com>
1490 Alan Modra <amodra@gmail.com>
1491
1492 [BZ #15723]
1493 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
1494 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
1495 _dl_hwcap access for little-endian.
1496 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
1497 destroy vmx regs when saving unaligned.
1498 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
1499 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
1500 destroy vmx regs when saving unaligned.
1501
fef13a78
AM
15022013-10-04 Alan Modra <amodra@gmail.com>
1503
1504 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
1505 Don't use a union to pack hi/low value.
1506
76a66d51
AB
15072013-10-04 Anton Blanchard <anton@au1.ibm.com>
1508
1509 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
1510 for little-endian.
1511 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1512 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1513 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1514 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1515 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1516
6a31fe7f
AM
15172013-10-04 Alan Modra <amodra@gmail.com>
1518
1519 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
1520 constants to usual value for .cst8 section, and remove redundant
1521 high address load.
1522 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
1523 constant for 0x1p52. Load little-endian words of double from
1524 correct stack offsets.
1525
7b88401f
AM
15262013-10-04 Alan Modra <amodra@gmail.com>
1527
1528 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
1529 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
1530 words of double from correct stack offsets.
1531 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1532 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
1533 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1534 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1535 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1536 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1537 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1538 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1539 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1540 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1541 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1542 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1543 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1544 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1545 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1546 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
1547 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1548
9c008155
AM
15492013-10-04 Alan Modra <amodra@gmail.com>
1550
1551 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
1552 64-bit int/double union.
1553 (_FPU_SETCW): Likewise.
1554 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1555 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
1556
da13146d
AM
15572013-10-04 Alan Modra <amodra@gmail.com>
1558
1559 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
1560 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
1561
603e8410
AM
15622013-10-04 Alan Modra <amodra@gmail.com>
1563
1564 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
1565 use vector int constants.
1566 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
1567
4a28b3ca
AB
15682013-10-04 Anton Blanchard <anton@au1.ibm.com>
1569
1570 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
1571 array with long long.
1572 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
1573 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
1574 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
1575 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
1576 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
1577 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
1578 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
1579 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
1580 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
1581 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
1582 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
1583 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
1584 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
1585
2ca85d2b
AB
15862013-10-04 Anton Blanchard <anton@au1.ibm.com>
1587
1588 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
1589 (__signbit): Likewise. Correct for little-endian.
1590 (__signbitl): Call __signbit.
1591 (lrint): Correct for little-endian.
1592 (lrintf): Call lrint.
1593
62a728ae
AM
15942013-10-04 Alan Modra <amodra@gmail.com>
1595
1596 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
1597 union 32-bit int array member with 64-bit int array.
1598 (t515, tm256): Double rather than long double.
1599 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
1600
32c301df
AM
16012013-10-04 Alan Modra <amodra@gmail.com>
1602
1603 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
1604 Delete.
1605 (IEEE854_LONG_DOUBLE_BIAS): Delete.
1606 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
1607 version of math_ldbl.h.
1608
650ef4bd
AM
16092013-10-04 Alan Modra <amodra@gmail.com>
1610
1611 [BZ #15734], [BZ #15735]
1612 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
1613 all uses of ieee875 long double macros and unions. Simplify test
1614 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
1615 ldbl_extract_mantissa value for ix,iy exponents. Properly
1616 normalize after ldbl_extract_mantissa, and don't add hidden bit
1617 already handled. Don't treat low word of ieee854 mantissa like
1618 low word of IBM long double and mask off bit when testing for
1619 zero.
1620 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
1621 all uses of ieee875 long double macros and unions. Simplify tests
1622 for 0.0L and inf. Correct double adjustment of k. Delete dead code
1623 adjusting ha,hb. Simplify code setting kld. Delete two600 and
1624 two1022, instead use their values. Recognise that tests for large
1625 "a" and small "b" are mutually exclusive. Rename vars. Comment.
1626 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
1627 Rewrite all uses of ieee875 long double macros and unions. Simplify
1628 test for 0.0L and nan. Correct negation.
1629 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
1630 ieee875 long double macros and unions. Correct output for large
1631 magnitude x. Correct absolute value calculation.
1632 (__erfcl): Likewise.
1633 * math/libm-test.inc: Add tests for errors discovered in IBM long
1634 double versions of fmodl, remainderl, erfl and erfcl.
1635
765714ca
AM
16362013-10-04 Alan Modra <amodra@gmail.com>
1637
1638 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
1639 all uses of ieee854 long double macros and unions. Simplify tests
1640 for long doubles that are fully specified by the high double.
1641 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1642 Likewise.
1643 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
1644 Remove dead code too.
1645 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1646 (__ieee754_ynl): Likewise.
1647 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
1648 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
1649 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
1650 Remove dead code too.
1651 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
1652 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
1653 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
1654 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
1655 Simplify.
1656 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
1657 Simplify.
1658 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
1659 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
1660 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
1661 Comment on variable precision.
1662 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
1663 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1664 Likewise.
1665 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1666 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1667 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1668 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
1669 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
1670
4ebd120c
AM
16712013-10-04 Alan Modra <amodra@gmail.com>
1672
1673 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
1674 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
1675 all uses of ieee854 long double macros and unions.
1676 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
1677 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1678 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
1679 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
1680 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
1681 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1682 Likewise.
1683 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
1684 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1685 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
1686 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1687 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
1688 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
1689 Simplify sign and nan test too.
1690 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
1691 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
1692 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
1693 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
1694 Likewise.
1695 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1696 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
1697 Likewise.
1698 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1699 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
1700 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
1701 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
1702 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
1703 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
1704
1b6adf88
AM
17052013-10-04 Alan Modra <amodra@gmail.com>
1706
1707 * stdio-common/printf_size.c (__printf_size): Don't use
1708 union ieee854_long_double in fpnum union.
1709 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
1710 signbit macro to retrieve sign from long double.
1711 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
1712 retrieve sign from long double.
1713 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
1714 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
1715 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
1716 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1717 * math/test-misc.c (main): Don't use union ieee854_long_double.
1718
4cf69995
AM
17192013-10-04 Alan Modra <amodra@gmail.com>
1720
1721 [BZ #15680]
1722 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
1723 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
1724 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
1725 calculation. Remove unnecessary test for denormal exponent.
1726 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
1727 Correct handling of denormals. Avoid undefined shift behaviour.
1728 Correct normalisation of low mantissa when low double is denormal.
1729 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
1730 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
1731 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
1732 Correct normalisation of low mantissa. Test for overflow of high
1733 mantissa and normalise.
1734 (ldbl_nearbyint): Use more readable constant for two52.
1735 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
1736 (__mpn_construct_long_double): Fix test for overflow of high
1737 mantissa and correct normalisation. Avoid undefined shift.
1738
9605ca6c
AM
17392013-10-04 Alan Modra <amodra@gmail.com>
1740
1741 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1742 (union ibm_extended_long_double): Define as an array of ieee754_double.
1743 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
1744 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
1745 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
1746 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1747 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1748 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
1749 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1750 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1751 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1752 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
1753 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1754
975569d0
JM
17552013-10-03 Joseph Myers <joseph@codesourcery.com>
1756
d3d23756
JM
1757 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
1758 page size instead of calling getpagesize.
1759
975569d0
JM
1760 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
1761 (LOCFILE_ALIGN_MASK): Likewise.
1762 (LOCFILE_ALIGN_UP): Likewise.
1763 (LOCFILE_ALIGNED_P): Likewise.
1764 * locale/programs/ld-collate.c (collate_output): Use the new
1765 macros instead of __alignof__ (int32_t).
1766 * locale/weight.h (findidx): Likewise.
1767
b1fe1f2b
OB
17682013-10-03 Ondřej Bílka <neleai@seznam.cz>
1769
1770 [BZ #431]
1771 * manual/string.texi: Fix strncat and wcsncat.
1772
5f855e35
BM
17732013-10-03 Brooks Moses <bmoses@google.com>
1774
1775 [BZ #15915]
1776 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
1777 * Makerules: ...here, and adjust associated comments.
1778
3cef6009
WN
17792013-10-02 Will Newton <will.newton@linaro.org>
1780
1781 * malloc/Makefile: Add tst-pvalloc.
1782 * malloc/tst-pvalloc.c: New file.
1783
7815420b
WN
17842013-10-02 Will Newton <will.newton@linaro.org>
1785
1786 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
1787 improve test coverage.
1788
4868b204
WN
17892013-10-02 Will Newton <will.newton@linaro.org>
1790
1791 * malloc/Makefile: Add tst-posix_memalign.
1792 * malloc/tst-posix_memalign.c: New file.
1793
29c793b3
EB
17942013-10-01 Eric Blake <eblake@redhat.com>
1795
1796 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
1797 Use __THROWNL rather than __THROW on static functions.
1798
fd967522
PM
17992013-09-30 Petr Machata <pmachata@redhat.com>
1800
1801 * elf/elf.h (R_AARCH64_ABS16): New macro.
1802 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
1803 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
1804 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
1805 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
1806 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
1807 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
1808 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
1809 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
1810 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
1811 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
1812 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
1813 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
1814 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
1815 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
1816 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
1817 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
1818 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
1819 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
1820 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
1821 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
1822 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
1823 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
1824 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
1825 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
1826 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
1827 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
1828 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
1829 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
1830 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
1831 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
1832 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
1833 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
1834 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
1835 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
1836 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
1837 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
1838 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
1839 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
1840 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
1841 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
1842 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
1843 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
1844 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
1845 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
1846 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
1847 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
1848 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
1849 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
1850 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
1851 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
1852 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
1853 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
1854 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
1855 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
1856 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
1857 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
1858 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
1859 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
1860 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
1861 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
1862 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
1863 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
1864 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
1865 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
1866 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
1867 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
1868 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
1869 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
1870 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
1871 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
1872 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
1873 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
1874 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
1875 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
1876 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
1877 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
1878 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
1879 (R_AARCH64_TLSDESC_LDR): Likewise.
1880 (R_AARCH64_TLSDESC_ADD): Likewise.
1881 (R_AARCH64_TLSDESC_CALL): Likewise.
1882
b2179107
AS
18832013-09-30 Andreas Schwab <schwab@suse.de>
1884
1885 [BZ #15048]
1886 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
1887 the nss database lookup.
1888 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1889 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1890
47f28d0a
MF
18912013-09-28 Mike Frysinger <vapier@gentoo.org>
1892
1893 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
1894
18952013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
1896
1897 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
1898 ${Bash-specific parameter/pattern/string} parameter expansion.
1899 * sysdeps/unix/make-syscalls.sh: Likewise.
1900
f4518a17
KK
19012013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1902
1903 * sysdeps/sh/stackguard-macros.h: New file.
1904
dc1a95c7
OB
19052013-09-26 Ondřej Bílka <neleai@seznam.cz>
1906
1907 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1908 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
1909 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
1910 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
1911 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1912 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
1913
5ebbff8f
AZ
19142013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1915
1916 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
1917 Fix thread ID register.
1918
4fd2cf9f
JM
19192013-09-25 Joseph Myers <joseph@codesourcery.com>
1920
1921 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
1922 [POSIX || UNIX98]: Require rather than permitting all symbols from
1923 <time.h>.
1924 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
1925 element of struct sched_param.
1926 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
1927 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
1928 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
1929 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
1930 constant.
1931
12c22bc4
OL
19322013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
1933
1934 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
1935 argument calculation.
1936
a03d8ea7
JM
19372013-09-24 Joseph Myers <joseph@codesourcery.com>
1938
1939 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
1940 Expect macro.
1941 [POSIX] (pthread_attr_t): Do not require type.
1942 [POSIX] (pthread_cond_t): Likewise.
1943 [POSIX] (pthread_condattr_t): Likewise.
1944 [POSIX] (pthread_key_t): Likewise.
1945 [POSIX] (pthread_mutex_t): Likewise.
1946 [POSIX] (pthread_mutexattr_t): Likewise.
1947 [POSIX] (pthread_once_t): Likewise.
1948 [POSIX] (pthread_t): Likewise.
1949 [POSIX-based standards] (pthread_atfork): Expect function.
1950
6055173a
JM
19512013-09-24 Joseph Myers <joseph@codesourcery.com>
1952 Richard Sandiford <richard@codesourcery.com>
1953
1954 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
1955 (swap_endianness_p): New extern variable.
1956 (set_big_endian): New inline function.
1957 (maybe_swap_uint32): Likewise.
1958 (maybe_swap_uint32_array): Likewise.
1959 (maybe_swap_uint32_obstack): Likewise.
1960 * locale/programs/locfile.c: Include <stdbool.h>.
1961 (swap_endianness_p): New variable.
1962 (add_locale_uint32): Call maybe_swap_uint32.
1963 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
1964 (write_locale_data): Call maybe_swap_uint32_array.
1965 * locale/programs/ld-collate.c (obstack_int32_grow): Call
1966 maybe_swap_uint32.
1967 (obstack_int32_grow_fast): Likewise.
1968 (output_weightwc): Call maybe_swap_uint32_obstack.
1969 (collate_output): Likewise.
1970 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
1971 (OPT_LITTLE_ENDIAN): Likewise.
1972 (options): Add --little-endian and --big-endian options.
1973 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
1974 * locale/programs/locarchive.c: Include "locfile.h".
1975 (GET): New macro.
1976 (SET): Likewise.
1977 (INC): Likewise.
1978 (create_archive): Use the new macros to access fields of
1979 structures directly mapped from or written to locale archives.
1980 (oldlocrecentcmp): Likewise.
1981 (enlarge_archive): Likewise.
1982 (insert_name): Likewise.
1983 (add_alias): Likewise.
1984 (add_locale): Likewise.
1985 (delete_locales_from_archive): Likewise.
1986 (show_archive_content): Likewise.
1987 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
1988 locale data.
1989
39bf0bb4
RM
19902013-09-24 Roland McGrath <roland@hack.frob.com>
1991
1992 * manual/freemanuals.texi: Updated from (newly) canonical copy at
1993 http://www.gnu.org/doc/freemanuals.texi.
1994 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
1995
f02eed10
WN
19962013-09-24 Will Newton <will.newton@linaro.org>
1997
1998 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
1999 macro.
2000
a3a6c312
JM
20012013-09-23 Joseph Myers <joseph@codesourcery.com>
2002
2003 * locale/hashval.h (compute_hashval): Interpret bytes of key as
2004 unsigned char.
2005
107375ac
MR
20062013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
2007
2008 * manual/threads.texi (POSIX Threads): Fix a typo.
2009
141f3a77
SP
20102013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2011
303e567a
SP
2012 [BZ #14547]
2013 * string/tst-strcoll-overflow.c: New test case.
2014 * string/Makefile (xtests): Add tst-strcoll-overflow.
2015 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
2016 cache if string sizes may cause integer overflow.
2017
141f3a77
SP
2018 [BZ #14547]
2019 * string/strcoll_l.c (coll_seq): New members rule, idx,
2020 save_idx and back_us.
2021 (get_next_seq_nocache): New function.
2022 (do_compare_nocache): New function.
2023 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
2024 when malloc fails.
2025
c61b4d41
CD
20262013-09-23 Carlos O'Donell <carlos@redhat.com>
2027
0b1f8e35
CD
2028 [BZ #15754]
2029 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
2030 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
2031 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
2032
c61b4d41
CD
2033 [BZ #15754]
2034 * elf/Makefile (tests): Add tst-ptrguard1.
2035 (tests-static): Add tst-ptrguard1-static.
2036 (tst-ptrguard1-ARGS): Define.
2037 (tst-ptrguard1-static-ARGS): Define.
2038 * elf/tst-ptrguard1.c: New file.
2039 * elf/tst-ptrguard1-static.c: New file.
2040 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
2041 * sysdeps/i386/stackguard-macros.h: Likewise.
2042 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2043 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2044 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2045 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2046 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2047 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2048
20492013-09-23 Hector Marco <hecmargi@upv.es>
2050 Ismael Ripoll <iripoll@disca.upv.es>
2051 Carlos O'Donell <carlos@redhat.com>
2052
2053 [BZ #15754]
2054 * sysdeps/generic/stackguard-macros.h: Define
2055 __pointer_chk_guard_local and POINTER_CHK_GUARD.
2056 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
2057 Define __pointer_chk_guard_local.
2058 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
2059 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
2060
f5f4e7b4
VV
20612013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
2062
2063 [BZ #15859]
2064 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
2065
5bb43a43
AS
20662013-09-20 Andreas Schwab <schwab@linux-m68k.org>
2067
2068 * include/string.h (__ffs): Declare as hidden.
2069 * string/ffs.c (__ffs): Define as hidden.
2070 * sysdeps/i386/ffs.c (__ffs): Likewise.
2071 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
2072 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
2073 * sysdeps/s390/ffs.c (__ffs): Likewise.
2074 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
2075
3ea5be54
AO
20762013-09-20 Alexandre Oliva <aoliva@redhat.com>
2077
ffb89e53
AO
2078 * NEWS: Mention malloc probes.
2079
322dea08
AO
2080 * malloc/arena.c (new_heap): New memory_heap_new probe.
2081 (grow_heap): New memory_heap_more probe.
2082 (shrink_heap): New memory_heap_less probe.
2083 (heap_trim): New memory_heap_free probe.
2084 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
2085 (systrim): New memory_sbrk_less probe.
2086 * manual/probes.texi: Document them.
2087
655673f3
AO
2088 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
2089 * manual/probes.texi: Document it.
2090
35fed6f1
AO
2091 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
2092 (__libc_realloc): Add memory_realloc_retry probe.
2093 (__libc_memalign): Add memory_memalign_retry probe.
2094 (__libc_valloc): Add memory_valloc_retry probe.
2095 (__libc_pvalloc): Add memory_pvalloc_retry probe.
2096 (__libc_calloc): Add memory_calloc_retry probe.
2097 * manual/probes.texi: Document them.
2098
6999d38c
AO
2099 * malloc/arena.c (get_free_list): Add probe
2100 memory_arena_reuse_free_list.
2101 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
2102 and memory_arena_reuse.
2103 (arena_get2) [!PER_THREAD]: Likewise.
2104 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
2105 memory_arena_reuse_realloc.
2106 * manual/probes.texi: Document them.
2107
0653427f
AO
2108 * malloc/malloc.c (__libc_free): Add
2109 memory_mallopt_free_dyn_thresholds probe.
2110 (__libc_mallopt): Add multiple memory_mallopt probes.
2111 * manual/probes.texi: Document them.
2112
3ea5be54
AO
2113 * malloc/malloc.c: Include stap-probe.h.
2114 (__libc_mallopt): Add memory_mallopt probe.
2115 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
2116 * manual/probes.texi: New.
2117 * manual/Makefile (chapters): Add probes.
2118 * manual/threads.texi: Set next node.
2119
e35696c3 21202013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 2121
e35696c3
CL
2122 [BZ #15963, #13985]
2123 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
2124 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
2125 Add `Chinese' to `nan' entry name.
2126
4aafb73c
SP
21272013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2128
2129 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
2130 (POLYNOMIAL): Likewise.
2131 (TAYLOR_SINCOS): Likewise.
2132 (TAYLOR_SLOW): Likewise.
2133 (__sin): Use TAYLOR_SINCOS.
2134 (__cos): Likewise.
2135 (slow): Use TAYLOR_SLOW.
2136 (sloww): Likewise.
2137 (bsloww): Likewise.
2138 (csloww): Likewise.
2139
d84f25c7
LD
21402013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2141
2142 * stdlib/strtod_l.c: Fix buffer overrun.
2143
5eea0404
SP
21442013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2145
7849ff93
SP
2146 * benchtests/Makefile (bench): Add sincos.
2147 * benchtests/bench-sincos.c: New file.
2148
cfa3c886
SP
2149 * math/libm-test.inc (cos_test_data): New test inputs.
2150 (sin_test_data): Likewise.
2151
b348e1e3
SP
2152 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
2153 macro.
2154 (__sin): Use it.
2155 (__cos): Likewise.
2156 (slow1): Likewise.
2157 (slow2): Likewise.
2158 (sloww1): Likewise.
2159 (sloww2): Likewise.
2160 (bsloww1): Likewise.
2161 (bsloww2): Likewise.
2162 (cslow2): Likewise.
2163 (csloww1): Likewise.
2164 (csloww2): Likewise.
2165
6cce25f8
SP
2166 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
2167 function.
2168 (__sin): Use it.
2169 (__cos): Likewise.
2170
5eea0404
SP
2171 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
2172 gotos.
2173 (__cos): Likewise.
2174
9c21573c
MR
21752013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
2176
2177 * config.h.in (HAVE_MIPS_NAN2008): New macro.
2178 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
2179 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
2180 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
2181 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
2182 * elf/cache.c (print_entry): Handle the new cache flags.
2183
24d22e65
JM
21842013-09-18 Joseph Myers <joseph@codesourcery.com>
2185 Aldy Hernandez <aldyh@redhat.com>
2186
2187 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
2188 Change condition to [_SOFT_FLOAT].
2189 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
2190 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
2191 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
2192 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
2193 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
2194 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
2195 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
2196 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
2197 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
2198 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
2199 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
2200 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
2201 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
2202 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
2203 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
2204 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
2205 declaration.
2206
d13ef066
JM
22072013-09-18 Joseph Myers <joseph@codesourcery.com>
2208
2e071de0
JM
2209 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
2210 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2211 (__longjmp): Use LOAD_GP to load saved GPRs.
2212 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
2213 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2214 (__sigsetjmp): Use SAVE_GP to save GPRs.
2215
d13ef066
JM
2216 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
2217 Do not append -msoft-float.
2218 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
2219
97a0650b
SP
22202013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2221
2222 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
2223
11ca09e9
JM
22242013-09-17 Joseph Myers <joseph@codesourcery.com>
2225
2226 [BZ #15966]
2227 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
2228 (_FPU_GETCW): Use initial "__" on variable and field names but not
2229 on macro parameter name.
2230 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
2231 parentheses around reference to macro parameter.
2232
08ffcf34
RS
22332013-09-13 Richard Sandiford <richard@codesourcery.com>
2234
2235 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
2236 prototype.
2237 (ctype_startup): Use uint32_t in cast and sizeof for
2238 ctype->charnames.
2239
ae7080d3
JL
22402013-09-11 Jia Liu <proljc@gmail.com>
2241
2242 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
2243 __daddr_t_defined.
2244 [__FreeBSD__]: Likewise.
2245
5905e7b3
OB
22462013-09-11 Ondřej Bílka <neleai@seznam.cz>
2247
2248 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2249 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
2250 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
2251 (strchr): Remove __strchr_sse42 ifunc selection.
2252 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
2253 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
2254
b987c776
WN
22552013-09-11 Will Newton <will.newton@linaro.org>
2256
2257 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
2258 parameter to RES. Remove hardcoded 1000 value.
2259 * benchtests/bench-skeleton.c (main): Pass RES parameter
2260 to TIMING_INIT and multiply result by 1000.
2261
ddf985af
AZ
22622013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2263
2264 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2265
ffdd3181
AS
22662013-09-11 Andreas Schwab <schwab@suse.de>
2267
2268 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
2269 if not defined.
2270 (O_TMPFILE) [__USE_GNU]: Define.
2271 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
2272 Define.
2273
b73ed247
WN
22742013-09-11 Will Newton <will.newton@linaro.org>
2275
2276 [BZ #15857]
2277 * malloc/malloc.c (__libc_memalign): Check the value of bytes
2278 does not overflow.
2279
55e17aad
WN
22802013-09-11 Will Newton <will.newton@linaro.org>
2281
2282 [BZ #15856]
2283 * malloc/malloc.c (__libc_valloc): Check the value of bytes
2284 does not overflow.
2285
1159a193
WN
22862013-09-11 Will Newton <will.newton@linaro.org>
2287
2288 [BZ #15855]
2289 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
2290 does not overflow.
2291
5905e7b3 22922013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
2293
2294 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
2295 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2296 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2297 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2298 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2299
cdfc721b
AM
23002013-09-10 Allan McRae <allan@archlinux.org>
2301
aa04af00
AM
2302 [BZ #15748]
2303 * manual/arith.texi (Parsing of Floats): Clarify
2304 cross-reference.
2305
cdfc721b
AM
2306 [BZ #15849]
2307 * manual/install.texi (Running make install): Mention
2308 --enable-pt-chown.
2309 * INSTALL: Regenerated.
2310
95e7cf29
MR
23112013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2312
2313 * csu/init-first.c (_init): Remove the !SHARED condition around
2314 FPU control word initialization.
2315 * elf/dl-support.c (_dl_fpu_control): New variable.
2316 (_dl_aux_init) <AT_FPUCW>: Initialize it.
2317 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
2318 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
2319 * math/test-fpucw-static.c: New file.
2320 * math/test-fpucw-ieee.c: New file.
2321 * math/test-fpucw-ieee-static.c: New file.
2322 * math/Makefile (tests): Add `test-fpucw-ieee' and
2323 `$(tests-static)'.
2324 (tests-static): New variable.
2325 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
2326 dependency to...
2327 [($(build-shared),yes)]
2328 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2329 ... this.
2330 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
2331 New dependency.
2332
83e43bf0
AM
23332013-09-09 Allan McRae <allan@archlinux.org>
2334
a9f5ce09
AM
2335 [BZ #15939]
2336 * manual/string.texi (Collation Functions): Fix typo in
2337 strcoll example.
2338 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
2339
34829bc2
AM
2340 [BZ #15893]
2341 * stdlib/isomac.c (get_null_defines): Fix memory leak.
2342
3932737d
AM
2343 [BZ #15892]
2344 * libio/memstream.c (open_memstream): Fix memory leak.
2345 * libio/wmemstream.c (open_wmemstream): Likewise.
2346
83e43bf0
AM
2347 [BZ #15895]
2348 * nscd/netgroupcache.c: Fix nesting of ifdefs.
2349
0c66b8e9
WN
23502013-09-09 Will Newton <will.newton@linaro.org>
2351
2352 * malloc/Makefile: Add tst-realloc to tests.
2353 * malloc/tst-realloc.c: New file.
2354
f6b00fd1
AM
23552013-09-09 Allan McRae <allan@archlinux.org>
2356
2357 [BZ #15844]
2358 * COPYING: Update from GNU website to fix FSF address.
2359 * COPYING.LIB: Likewise.
2360
eec55e16
DM
23612013-09-06 David S. Miller <davem@davemloft.net>
2362
2363 * po/zh_TW.po: Update Chinese (traditional) translation from
2364 translation project.
2365
1ecbb381
RS
23662013-09-06 Richard Sandiford <richard@codesourcery.com>
2367 Joseph Myers <joseph@codesourcery.com>
2368
2369 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
2370 "localeinfo.h".
2371 (obstack_chunk_alloc): New macro.
2372 (obstack_chunk_free): Likewise.
2373 (record_offset): New function.
2374 (init_locale_data): Likewise.
2375 (align_locale_data): Likewise.
2376 (add_locale_empty): Likewise.
2377 (add_locale_raw_data): Likewise.
2378 (add_locale_raw_obstack): Likewise.
2379 (add_locale_string): Likewise.
2380 (add_locale_wstring): Likewise.
2381 (add_locale_uint32): Likewise.
2382 (add_locale_uint32_array): Likewise.
2383 (add_locale_char): Likewise.
2384 (start_locale_structure): Likewise.
2385 (end_locale_structure): Likewise.
2386 (start_locale_prelude): Likewise.
2387 (end_locale_prelude): Likewise.
2388 (write_locale_data): Take locale_file structure rather than an
2389 iovec.
2390 * locale/programs/locfile.h: Include "obstack.h".
2391 (struct locale_file): Change to store locale file contents instead
2392 of header.
2393 (init_locale_data): New prototype.
2394 (align_locale_data): Likewise.
2395 (add_locale_empty): Likewise.
2396 (add_locale_raw_data): Likewise.
2397 (add_locale_raw_obstack): Likewise.
2398 (add_locale_string): Likewise.
2399 (add_locale_wstring): Likewise.
2400 (add_locale_uint32): Likewise.
2401 (add_locale_uint32_array): Likewise.
2402 (add_locale_char): Likewise.
2403 (start_locale_structure): Likewise.
2404 (end_locale_structure): Likewise.
2405 (start_locale_prelude): Likewise.
2406 (end_locale_prelude): Likewise.
2407 (write_locale_data): Update prototype.
2408 * locale/programs/3level.h (struct TABLE): Remove result field.
2409 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
2410 Use new locale_file interface.
2411 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
2412 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
2413 * locale/programs/ld-address.c (address_output): Use new
2414 locale_file interface.
2415 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
2416 NO_ADD_LOCALE.
2417 (collate_finish): Don't call collseq_table_finalize.
2418 (collate_output): Use new locale_file interface.
2419 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
2420 in file.
2421 (NO_FINALIZE): Change to NO_ADD_LOCALE.
2422 (TABLE): Move defines earlier in file.
2423 (ELEMENT): Likewise.
2424 (DEFAULT): Likewise.
2425 (wctrans_table_add): Move macro and inline function earlier in
2426 file.
2427 (struct wctype_table): Move type earlier in file.
2428 (add_locale_wctype_table): New static prototype.
2429 (struct locale_ctype_t): Use logical types instead of struct iovec
2430 pointers for members.
2431 (ctype_output): Use new locale_file interface.
2432 (wctype_table_finalize): Change to add_locale_wctype_table. Use
2433 new locale_file interface.
2434 (allocate_arrays): Update for use of new locale_file interface.
2435 * locale/programs/ld-identification.c (identification_output): Use
2436 new locale_file interface.
2437 * locale/programs/ld-measurement.c (measurement_output): Likewise.
2438 * locale/programs/ld-messages.c (messages_output): Likewise.
2439 * locale/programs/ld-monetary.c (monetary_output): Likewise.
2440 * locale/programs/ld-name.c (name_output): Likewise.
2441 * locale/programs/ld-numeric.c (numeric_output): Likewise.
2442 * locale/programs/ld-paper.c (paper_output): Likewise.
2443 * locale/programs/ld-telephone.c (telephone_output): Likewise.
2444 * locale/programs/ld-time.c (time_output): Likewise.
2445
e029e2e5
AZ
24462013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2447
2448 * benchtests/Makefile: Add memrchr benchmark.
2449 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
2450 benchmark as memrchr.
2451 * benchtests/bench-memrchr-ifunc.c: New file.
2452 * benchtests/bench-memrchr.c: New file.
2453
bbf6e8e4
WN
24542013-09-06 Will Newton <will.newton@linaro.org>
2455
2456 * benchtests/Makefile (string-bench): Add memcpy.
2457
6c82a2f8
CD
24582013-09-05 Carlos O'Donell <carlos@redhat.com>
2459 Cong Wang <amwang@redhat.com>
2460
2461 * sysdeps/unix/sysv/linux/bits/in.h
2462 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
2463 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
2464 before __USE_KERNEL_IPV6_DEFS uses.
2465 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
2466 IPPROTO_BEETPH.
2467 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
2468 sockaddr_in6, or ipv6_mreq.
2469
5430fc65
AZ
24702013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2471
2472 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
2473 memory access for final bytes in some large inputs.
2474 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
2475
4660856c
AZ
24762013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2477
2478 * string/test-memrchr.c: New file.
2479 * string/test-memrchr-ifunc.c: New file.
2480 * string/Makefile: Add new memrchr testcase.
2481
bb8ea713
MF
24822013-09-05 Mike Frysinger <vapier@gentoo.org>
2483
2484 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
2485 fanotify_init returns EPERM.
2486
b92a20b5
JM
24872013-09-04 Joseph Myers <joseph@codesourcery.com>
2488
2489 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
2490 errors.
2491 (top level): Treat second token from macro or constant entries for
2492 allowed headers as allowed.
2493 * include/complex.h: Condition internal declarations on
2494 [!_ISOMAC].
2495 * include/fenv.h: Condition include of <stdbool.h> and internal
2496 declarations on [!_ISOMAC].
7447ccd9
CL
2497
24982013-09-04 Chris Leonard <cjl@sugarlabs,.org>
2499
3e181dda 2500 [BZ #15923]
7447ccd9
CL
2501 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
2502
3f2e46a4
JM
25032013-09-04 Joseph Myers <joseph@codesourcery.com>
2504
2505 * configure.in (--enable-versioning): Remove configure option.
2506 (libc_cv_asm_symver_directive): Remove configure test.
2507 (libc_cv_ld_version_script_option): Likewise.
2508 (VERSIONING): Remove variable and AC_SUBST.
2509 (DO_VERSIONING): Remove AC_DEFINE.
2510 * configure: Regenerated.
2511 * config.h.in (DO_VERSIONING): Remove macro.
2512 * Makerules [$(versioning) = yes]: Change conditionals to
2513 [$(build-shared) = yes].
2514 * config.make.in (versioning): Remove variable.
2515 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
2516 [$(build-shared) = yes].
2517 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
2518 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
2519 * elf/Makefile [$(versioning) = yes]: Change conditionals to
2520 [$(build-shared) = yes].
2521 * extra-lib.mk [$(versioning) = yes]: Likewise.
2522 * hurd/Makefile [$(versioning) = yes]: Likewise.
2523 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
2524 [SHARED].
2525 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
2526 [SHARED].
2527 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2528 [SHARED && !NO_HIDDEN].
2529 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
2530 [SHARED].
2531 [SHARED && DO_VERSIONING]: Likewise..
2532 * libio/Makefile [$(versioning) = yes]: Change conditionals to
2533 [$(build-shared) = yes].
2534 * manual/install.texi (--disable-versioning): Remove
2535 documentation.
2536 * INSTALL: Regenerated.
2537 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
2538 to [SHARED].
2539 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
2540 [$(build-shared) = yes].
2541 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
2542 * sysdeps/i386/i686/multiarch/strstr-c.c
2543 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2544 [SHARED && !NO_HIDDEN].
2545 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
2546 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
2547 * sysdeps/powerpc/powerpc32/dl-machine.c
2548 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
2549 * sysdeps/powerpc/powerpc32/sysdep.h
2550 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
2551 to [SHARED && PIC && !NO_HIDDEN].
2552 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
2553 conditional to [SHARED].
2554
44558701
WN
25552013-09-04 Will Newton <will.newton@linaro.org>
2556
2557 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
2558 * benchtests/bench-string.h: Include bench-timing.h instead
2559 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
2560 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
2561 call to HP_TIMING_DIFF_INIT.
2562 * benchtests/bench-memccpy.c: Use bench-timing.h macros
2563 instead of hp-timing.h macros.
2564 * benchtests/bench-memchr.c: Likewise.
2565 * benchtests/bench-memcmp.c: Likewise.
2566 * benchtests/bench-memcpy.c: Likewise.
2567 * benchtests/bench-memmem.c: Likewise.
2568 * benchtests/bench-memmove.c: Likewise.
2569 * benchtests/bench-memset.c: Likewise.
2570 * benchtests/bench-rawmemchr.c: Likewise.
2571 * benchtests/bench-strcasecmp.c: Likewise.
2572 * benchtests/bench-strcasestr.c: Likewise.
2573 * benchtests/bench-strcat.c: Likewise.
2574 * benchtests/bench-strchr.c: Likewise.
2575 * benchtests/bench-strcmp.c: Likewise.
2576 * benchtests/bench-strcpy.c: Likewise.
2577 * benchtests/bench-strcpy_chk.c: Likewise.
2578 * benchtests/bench-strlen.c: Likewise.
2579 * benchtests/bench-strncasecmp.c: Likewise.
2580 * benchtests/bench-strncat.c: Likewise.
2581 * benchtests/bench-strncmp.c: Likewise.
2582 * benchtests/bench-strncpy.c: Likewise.
2583 * benchtests/bench-strnlen.c: Likewise.
2584 * benchtests/bench-strpbrk.c: Likewise.
2585 * benchtests/bench-strrchr.c: Likewise.
2586 * benchtests/bench-strspn.c: Likewise.
2587 * benchtests/bench-strstr.c: Likewise.
2588
cae16d66
WN
25892013-09-04 Will Newton <will.newton@linaro.org>
2590
2591 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
2592
ffa3cd7f
JM
25932013-09-03 Joseph Myers <joseph@codesourcery.com>
2594
2595 [BZ #15427]
2596 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2597 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
2598 * math/libm-test.inc (lgamma_test_data): Add more tests.
2599 * sysdeps/i386/fpu/libm-test-ulps: Update.
2600 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2601
8f02859f
OB
26022013-09-03 Ondřej Bílka <neleai@seznam.cz>
2603
2604 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
2605 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2606 Add ifunc.
2607 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2608 Add strcmp-sse2-unaligned
2609 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
2610
18d43716
MF
26112013-09-02 Mike Frysinger <vapier@gentoo.org>
2612
2613 * Versions.def (libc): Add GLIBC_2.19.
2614
ac444012
MF
26152013-09-02 Mike Frysinger <vapier@gentoo.org>
2616
2617 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
2618 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
2619
b7835e32
JM
26202013-09-02 Joseph Myers <joseph@codesourcery.com>
2621
2622 [BZ #14155]
2623 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
2624 intermediate calculations in recurrence.
2625 (__ieee754_ynf): Likewise.
2626 * math/libm-test.inc (jn_test_data): Do not allow spurious
2627 underflow exception. Add more tests.
2628 (yn_test_data): Add more tests.
2629 * sysdeps/i386/fpu/libm-test-ulps: Update.
2630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2631
8220f4f0
OB
26322013-09-02 Ondřej Bílka <neleai@seznam.cz>
2633
2634 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
2635
f24a6d08
OB
26362013-08-30 Ondřej Bílka <neleai@seznam.cz>
2637
2638 * csu/init-first.c: Fix then/than typos.
2639 * locale/programs/ld-collate.c: Likewise.
2640 * locale/programs/linereader.h: Likewise.
2641 * manual/charset.texi: Likewise.
2642 * manual/filesys.texi: Likewise.
2643 * manual/stdio.texi: Likewise.
2644 * manual/string.texi: Likewise.
2645 * stdlib/fmtmsg.c: Likewise.
2646 * sysdeps/i386/stpncpy.S: Likewise.
2647 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2648 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2649 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2650 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2651
382466e0
OB
26522013-08-30 Ondřej Bílka <neleai@seznam.cz>
2653
2654 * elf/dl-open.c: Fix typos.
2655 * iconvdata/gbbig5.c: Likewise.
2656 * iconvdata/iso-2022-jp.c: Likewise.
2657 * iconv/gconv_int.h: Likewise.
2658 * iconv/loop.c: Likewise.
2659 * nis/rpcsvc/nis.h: Likewise.
2660 * resolv/ns_name.c: Likewise.
2661 * stdio-common/vfscanf.c: Likewise.
2662 * streams/stropts.h: Likewise.
2663 * sunrpc/rpc_thread.c: Likewise.
2664 * sysdeps/i386/strpbrk.S: Likewise.
2665 * sysdeps/ieee754/k_standard.c: Likewise.
2666 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2667 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2668 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2669 * sysdeps/mach/hurd/profil.c: Likewise.
2670 * sysdeps/s390/dl-procinfo.h: Likewise.
2671 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2672 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2673 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
2674 * sysdeps/x86_64/dl-trampoline.S: Likewise.
2675 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2676
0186c6e9
OB
26772013-08-30 Ondřej Bílka <neleai@seznam.cz>
2678
2679 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
2680 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
2681
d4e16af1
OB
26822013-08-29 Ondřej Bílka <neleai@seznam.cz>
2683
2684 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
2685 aix specific files.
2686 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
2687 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
2688 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
2689 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
2690 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
2691 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
2692 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
2693 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
2694
88335980
TS
26952013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2696 Roland McGrath <roland@hack.frob.com>
2697
2698 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
2699 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2700
ed479b02
ST
27012013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
2702
2703 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
2704 __executable_start symbol instead of _start.
2705
f1cc4c86
TS
27062013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2707
d821f07c
TS
2708 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
2709 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
2710 Move macros to...
2711 * sysdeps/gnu/ldsodefs.h: ... this new file.
2712
c54290cf
TS
2713 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
2714 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
2715 instead of ELFOSABI_LINUX.
2716
0007fc9b 2717 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
2718 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
2719 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
2720 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
2721 Likewise.
2722 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
2723 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
2724 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
2725 Likewise.
2726 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2727 (ibm_extended_long_double): Add ieee_nan member.
2728 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
2729 (do_test): New function.
2730
f1cc4c86
TS
2731 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
2732 TEST_TRUNC.
2733 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
2734 functions, renamed from truncdfsf_test, trunctfsf_test,
2735 trunctfdf_test.
2736 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
2737 functions.
2738 (do_test): Run all these.
2739
6f65e668
OB
27402013-08-29 Ondřej Bílka <neleai@seznam.cz>
2741
2742 * argp/argp-help.c: Fix typos.
2743 * argp/argp-parse.c: Likewise.
2744 * debug/backtracesyms.c: Likewise.
2745 * elf/elf.h: Likewise.
2746 * malloc/malloc.c: Likewise.
2747 * nis/nis_print.c: Likewise.
2748 * resolv/res_comp.c: Likewise.
2749 * stdlib/stdlib.h: Likewise.
2750 * sunrpc/clnt_tcp.c: Likewise.
2751 * sunrpc/clnt_udp.c: Likewise.
2752 * sunrpc/clnt_unix.c: Likewise.
2753 * sysdeps/unix/bsd/ptsname.c: Likewise.
2754 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2755 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
2756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
2757 Likewise.
2758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2759 Likewise.
2760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2761 Likewise.
6f65e668
OB
2762 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2763
3a309239
SP
27642013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2765
2766 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
2767 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2768
3b813b29
MF
27692013-08-27 Mike Frysinger <vapier@gentoo.org>
2770
2771 [BZ #15897]
2772 * dlfcn/Makefile (tests): Add bug-dl-leaf.
2773 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
2774 ($(objpfx)bug-dl-leaf): New rule.
2775 ($(objpfx)bug-dl-leaf.so): Likewise.
2776 ($(objpfx)bug-dl-leaf.out): Likewise.
2777 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
2778 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
2779 * dlfcn/bug-dl-leaf.c: New test.
2780 * dlfcn/bug-dl-leaf-lib.c: Likewise.
2781 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
2782 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
2783 (dlclose): Likewise.
2784 (dlmopen): Likewise.
2785
8cc3269f
RM
27862013-08-27 Roland McGrath <roland@hack.frob.com>
2787
7f9d0034
RM
2788 * include/netdb.h [!_ISOMAC]:
2789 Don't include <tls.h>.
2790 (h_errno, __libc_h_errno): Move declaration and macros out of
2791 [_LIBC_REENTRANT].
2792
fb431262
RM
2793 * include/resolv.h [_RESOLV_H_]:
2794 Don't include <tls.h>.
2795 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
2796 * resolv/res_libc.c: Don't include <tls.h>.
2797 (_res): Use __attribute__ ((nocommon)) in place of
2798 __attribute__ ((section (".bss"))).
2799
bd81123a
RM
2800 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
2801 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
2802
c4e42566
RM
2803 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
2804
f890a59b
RM
2805 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
2806 only under [SIOCGIFCONF && SIOCGIFNETMASK].
2807
2808 * resolv/res_mkquery.c: Include <sys/time.h>.
2809
5d1f0a09
RM
2810 * inet/ifreq.c: Moved to ...
2811 * sysdeps/unix/ifreq.c: ... here.
2812 * inet/ifreq.c: New file, true stub version.
2813
6fcf28b3
RM
2814 * socket/sa_len.c: New file.
2815 * socket/Makefile (aux): Add it.
2816 * sysdeps/unix/sysv/linux/Makefile
2817 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
2818 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
2819 and #include <socket/sa_len.c>.
2820 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
2821 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
2822
e041fb8b
RM
2823 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
2824 * bits/socket.h: ... here.
2825
8cc3269f
RM
2826 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
2827 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
2828 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
2829
5d228a43
AS
28302013-08-27 Andreas Schwab <schwab@suse.de>
2831
45b8accc
AS
2832 [BZ #15736]
2833 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
2834 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
2835 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
2836 * string/test-strcasecmp.c (test_main): Run tests in several
2837 locales.
2838 * string/test-strncasecmp.c (test_main): Likewise.
2839
5d228a43
AS
2840 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
2841 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
2842 to __strcasecmp_nonascii and __strncasecmp_nonascii.
2843 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
2844 (__strncasecmp_ssse3) [PIC]: Likewise.
2845
59d112a4
RM
28462013-08-26 Roland McGrath <roland@hack.frob.com>
2847
53234cc3
RM
2848 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
2849
59d112a4
RM
2850 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
2851 instead of explicitly declaring xdecrypt.
2852 * nis/nss_nis/nis-publickey.c: Likewise.
2853
595aba70
SP
28542013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2855
2856 [BZ #15890]
2857 * nscd/aicache.c: Include res_hconf.h.
2858 (addhstaiX): Initialize res_hconf.
2859
ffabd393
AS
28602013-08-26 Andreas Schwab <schwab@suse.de>
2861
2862 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
2863 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
2864
e0a69f5c
SP
28652013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2866
2867 * nscd/aicache.c (addhstaiX): Fix indentation.
2868
8c12f01d
MF
28692013-08-25 Mike Frysinger <vapier@gentoo.org>
2870
2871 * configure.ac: Quote $build_pt_chown test.
2872 * configure: Regenerated.
2873
8fe89494
JM
28742013-08-23 Joseph Myers <joseph@codesourcery.com>
2875
2876 [BZ #15532]
2877 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
2878 * math/s_cexpf.c (__cexpf): Likewise.
2879 * math/s_cexpl.c (__cexpl): Likewise.
2880 * math/libm-test.inc (cexp_test_data): Correct expected return
2881 value for NaN + i0. Add another test.
2882
75b181d6
DM
28832013-08-22 David S. Miller <davem@davemloft.net>
2884
2885 * po/ca.po: Update Catalan translation from translation project.
936241e4 2886 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 2887
acd06bb1
JM
28882013-08-21 Joseph Myers <joseph@codesourcery.com>
2889
2890 [BZ #15797]
2891 * math/s_fdim.c (__fdim): Check for infinite arguments if result
2892 is infinite, not alongside NaN test.
2893 * math/s_fdimf.c (__fdimf): Likewise.
2894 * math/s_fdiml.c (__fdiml): Likewise.
2895 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
2896 errno is unchanged.
2897
c0c3f78a
OB
28982013-08-21 Ondřej Bílka <neleai@seznam.cz>
2899
2900 * argp/argp-help.c: Fix typos.
2901 * crypt/speeds.c: Likewise.
2902 * csu/check_fds.c: Likewise.
2903 * elf/dl-load.c: Likewise.
2904 * elf/dl-open.c: Likewise.
2905 * elf/reldep3.c: Likewise.
2906 * elf/reldep.c: Likewise.
2907 * elf/sprof.c: Likewise.
2908 * iconv/iconv_charmap.c: Likewise.
2909 * iconv/skeleton.c: Likewise.
2910 * iconv/strtab.c: Likewise.
2911 * io/lockf64.c: Likewise.
2912 * libio/libioP.h: Likewise.
2913 * resolv/gai_notify.c: Likewise.
2914 * resolv/ns_name.c: Likewise.
2915 * resolv/ns_samedomain.c: Likewise.
2916 * resolv/res_send.c: Likewise.
2917 * stdlib/random.c: Likewise.
2918 * sunrpc/rpc/xdr.h: Likewise.
2919 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
2920 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2921 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2922 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2923 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2924 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2925 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2926 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2927 * sysdeps/mach/hurd/check_fds.c: Likewise.
2928 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2929 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2930 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2931 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2932 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2933 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2934 * sysdeps/pthread/aio_notify.c: Likewise.
2935 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
2936 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
2937 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
2938 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2939 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2940
46ed1038
LD
29412013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2942
2943 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
2944 version if bit_Slow_SSE4_2 is set.
2945 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2946 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2947
d400dcac
AZ
29482013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2949
2950 [BZ #15867]
2951 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
2952 trampoline stack frame information.
2953 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
2954 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
2955 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
2956 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
2957 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
2958 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2959 (_libc_vdso_platform_setup): Initialize the signal trampolines.
2960 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
2961 sa_flags value.
2962 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
2963 interrupting a syscall and set with option SA_SIGINFO.
2964
42c8fdd8
JM
29652013-08-20 Joseph Myers <joseph@codesourcery.com>
2966
c980f2f4
JM
2967 [BZ #15531]
2968 * math/s_cproj.c (__cproj): Only return an infinity if one part of
2969 argument is infinite.
2970 * math/s_cprojf.c (__cprojf): Likewise.
2971 * math/s_cprojl.c (__cprojl): Likewise.
2972 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
2973 * math/libm-test.inc (cproj_test_data): Add more tests.
2974
0716c4fc
JM
2975 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
2976
42c8fdd8
JM
2977 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
2978 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
2979 size. Use __ffs to determine corresponding shift.
2980
b31469d0
JM
29812013-08-20 Joseph Myers <joseph@codesourcery.com>
2982 Roland McGrath <roland@hack.frob.com>
2983
2984 * Makefile (INSTALL): Remove trailing blank lines from output of
2985 makeinfo.
2986
4e39af6e
AK
29872013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2988
2989 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
2990 Align 32 bit compat elf_greg to 8 bytes.
2991
f315524e
AA
29922013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
2993
2994 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
2995
1326ba1a
SP
29962013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2997
2998 * string/strcoll_l.c (coll_seq): New structure.
2999 (get_next_seq_cached): New function.
3000 (get_next_seq): New function.
3001 (do_compare): New function.
3002 (STRCOLL): Use GNU style definition. Simplify implementation
3003 by using get_next_seq, get_next_seq_cached and do_compare.
3004
91ce4085
FW
30052013-08-16 Florian Weimer <fweimer@redhat.com>
3006
3007 [BZ #14699]
3008 CVE-2013-4237
3009 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
3010 member.
3011 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
3012 member.
3013 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
3014 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
3015 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
3016 conditional.
3017 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
3018 GETDENTS_64BIT_ALIGNED.
3019 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
3020 * manual/filesys.texi (Reading/Closing Directory): Document
3021 ENAMETOOLONG return value of readdir_r. Recommend readdir more
3022 strongly.
3023 * manual/conf.texi (Limits for Files): Add portability note to
3024 NAME_MAX, PATH_MAX.
3025 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
3026
ca0a6bc4
AS
30272013-08-13 Andreas Schwab <schwab@suse.de>
3028
3029 [BZ #15749]
3030 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
3031 of fabs.
3032 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
3033 LDBL_MAX_EXP >= 16384]: Add tests for it.
3034
6c1fd795
DM
30352013-08-12 David S. Miller <davem@davemloft.net>
3036
3037 * version.h (RELEASE): Set to "development".
3038 (VERSION): Set to "2.18.90".
3039 * NEWS: Add 2.19 section.
3040
31ad488d
DM
30412013-08-03 David S. Miller <davem@davemloft.net>
3042
3043 * po/ko.po: Update Korean translation from translation project.
3044
db24e684
DM
30452013-08-01 David S. Miller <davem@davemloft.net>
3046
3047 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
3048 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
3049 Bilka.
3050
f723285b
DM
30512013-07-30 David S. Miller <davem@davemloft.net>
3052
3053 * po/fr.po: Update French translation from translation project.
3054
3cbc52db
DM
30552013-07-28 David S. Miller <davem@davemloft.net>
3056
30bbc0cc
DM
3057 * po/cs.po: Update Czech translation from translation project.
3058
3cbc52db
DM
3059 * po/sv.po: Update Swedish translation from translation project.
3060
d492e6d0
DM
30612013-07-27 David S. Miller <davem@davemloft.net>
3062
f1a7f492
DM
3063 * po/eo.po: Update Esperanto translation from translation project.
3064
90e62a4a
DM
3065 * po/vi.po: Update Vietnamese translation from translation project.
3066
d492e6d0
DM
3067 * po/de.po: Update German translation from translation project.
3068
d4baa62d
DM
30692013-07-26 David S. Miller <davem@davemloft.net>
3070
641aa7b4
DM
3071 * po/bg.po: Update Bulgarian translation from translation project.
3072
d4baa62d
DM
3073 * po/nl.po: Update Dutch translation from translation project.
3074 * po/pl.po: Update Polish translation from translation project.
3075 * po/ru.po: Update Russian translation from translation project.
3076
61a9dcb9
DM
30772013-07-24 David S. Miller <davem@davemloft.net>
3078
3079 * po/libc.pot: Update.
3080
7b1f8b58
AZ
30812013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3082
3083 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
3084 variable page size.
3085 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
3086 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
3087 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
3088
a8fc7a03
AK
30892013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3090
3091 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
3092
e4608715
CD
30932013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3094 Andreas Schwab <schwab@suse.de>
3095 Roland McGrath <roland@hack.frob.com>
3096 Joseph Myers <joseph@codesourcery.com>
3097 Carlos O'Donell <carlos@redhat.com>
3098
3099 [BZ #15755]
3100 * config.h.in: Define HAVE_PT_CHOWN.
3101 * config.make.in (build-pt-chown): New variable.
3102 * configure.in (--enable-pt_chown): New configure option.
3103 * configure: Regenerate.
3104 * login/Makefile: Include Makeconfig. Build pt_chown only if
3105 build-pt-chown is enabled.
3106 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
3107 pt_chown to fix pty ownership.
3108 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
3109 CLOSE_ALL_FDS.
3110 * manual/install.texi (Configuring and compiling): Mention
3111 --enable-pt_chown. Add @findex for grantpt.
3112 * INSTALL: Regenerate.
3113
da2d62df
DM
31142013-07-20 David S. Miller <davem@davemloft.net>
3115
3116 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
3117 difference between 32-bit and 64-bit.
3118
d7e06450
CD
31192013-07-15 Carlos O'Donell <carlos@redhat.com>
3120
3121 [BZ #15711]
3122 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
3123 Avoid system header dependency with -ffreestanding.
3124 ($(objpfx)bits/syscall%d): Likewise.
3125
f959cfd7
DM
31262013-07-13 David S. Miller <davem@davemloft.net>
3127
3128 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
3129 underflows from atanl/atan2l due to bug 15319.
3130 (casinh_test_data): Likewise.
3131
c61f8513
DM
31322013-07-07 David S. Miller <davem@davemloft.net>
3133
3134 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3135
72c90ed0
JA
31362013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
3137
3138 * sysdeps/i386/fpu/libm-test-ulps: Update.
3139 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3140
52dfbe13
SP
31412013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3142
3143 * configure.in (--enable-lock-elision): Fix message text.
3144 * INSTALL: Regenerate.
3145 * configure: Regenerate.
3146
3f169543
AZ
31472013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3148
3149 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3150
521c6785
AJ
31512013-07-03 Andreas Jaeger <aj@suse.de>
3152
3153 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
3154 define.
3155 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
3156 (ptrace_peeksiginfo_args): Add.
3157 (__ptrace_peeksiginfo_flags): Add.
3158 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3159 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3160 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3161
d2cc15cb
AM
31622013-07-03 Allan McRae <allan@archlinux.org>
3163
3164 * sysdeps/i386/fpu/libm-test-ulps: Update.
3165
3aaeeca7
DM
31662013-07-02 David S. Miller <davem@davemloft.net>
3167
3168 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3169
5314ed1a
MT
31702013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
3171
3172 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3173
67338156
JM
31742013-07-02 Joseph Myers <joseph@codesourcery.com>
3175
3176 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3178
1717da59
AK
31792013-07-02 Andi Kleen <ak@linux.intel.com>
3180
3181 * config.h.in (ENABLE_LOCK_ELISION): Add.
3182 * configure.in (--enable-lock-elision): Add option.
3183 * manual/install.texi: Document --enable lock elision.
3184 * configure: Regenerate
3185 * INSTALL: Regenerate.
3186
1c81621c
L
31872013-07-02 H.J. Lu <hongjiu.lu@intel.com>
3188
3189 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
3190 SSE4.2 strcasecmp for libc.a.
3191 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3192
77f01ab5
JM
31932013-07-02 Joseph Myers <joseph@codesourcery.com>
3194
3195 [BZ #13304]
3196 * soft-fp/op-common.h (_FP_FMA): New macro.
3197 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
3198 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
3199 (_FP_MUL_MEAT_1_imm): ... here.
3200 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
3201 (_FP_MUL_MEAT_1_wide): ... here.
3202 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
3203 (_FP_MUL_MEAT_1_hard): ... here.
3204 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
3205 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
3206 (_FP_MUL_MEAT_2_wide): ... here.
3207 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
3208 (_FP_MUL_MEAT_2_wide_3mul): ... here.
3209 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
3210 (_FP_MUL_MEAT_2_gmp): ... here.
3211 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
3212 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
3213 (_FP_MUL_MEAT_4_wide): ... here.
3214 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
3215 (_FP_MUL_MEAT_4_gmp): ... here.
3216 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
3217 (_FP_WFRACBITS_DW_S): Likewise.
3218 (_FP_WFRACXBITS_DW_S): Likewise.
3219 (_FP_HIGHBIT_DW_S): Likewise.
3220 (FP_FMA_S): Likewise.
3221 (_FP_FRAC_HIGH_DW_S): Likewise.
3222 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
3223 (_FP_WFRACBITS_DW_D): Likewise.
3224 (_FP_WFRACXBITS_DW_D): Likewise.
3225 (_FP_HIGHBIT_DW_D): Likewise.
3226 (FP_FMA_D): Likewise.
3227 (_FP_FRAC_HIGH_DW_D): Likewise.
3228 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
3229 (_FP_WFRACBITS_DW_E): Likewise.
3230 (_FP_WFRACXBITS_DW_E): Likewise.
3231 (_FP_HIGHBIT_DW_E): Likewise.
3232 (FP_FMA_E): Likewise.
3233 (_FP_FRAC_HIGH_DW_E): Likewise.
3234 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
3235 (_FP_WFRACBITS_DW_Q): Likewise.
3236 (_FP_WFRACXBITS_DW_Q): Likewise.
3237 (_FP_HIGHBIT_DW_Q): Likewise.
3238 (FP_FMA_Q): Likewise.
3239 (_FP_FRAC_HIGH_DW_Q): Likewise.
3240 * soft-fp/fmasf4.c: New file.
3241 * soft-fp/fmadf4.c: Likewise.
3242 * soft-fp/fmatf4.c: Likewise.
3243
6308fd9a
LD
32442013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3245
3246 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
3247 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
3248 Silvermont.
3249 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
3250 macro.
3251 (index_Slow_SSE4_2): Likewise.
3252 (index_Prefer_PMINUB_for_stringop): Likewise.
3253 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
3254 bit_Slow_SSE4_2 is set.
3255 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3256 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3257
89cd9569
RA
32582013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3259
3260 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
3261 rtld_global._dl_hwcap2.
3262 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
3263 POWER8.
3264 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
3265 POWER8 feature descriptions defined in _dl_hwcap2.
3266 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
3267 string handling for POWER8 feature bits.
3268 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
3269 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
3270 _dl_powerpc_cap_flags.
3271 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
3272 * sysdeps/powerpc/rtld-global-offsets.sym
3273 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
3274 _dl_hwcap2 in the rtld_global_ro structure.
3275
1ae8bfe0
RA
32762013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3277
3278 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
3279 hardware capabilities in support of AT_HWCAP2.
3280 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
3281 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
3282 GLRO(dl_hwcap2).
3283 (_dl_show_auxv): Add support for calling _dl_procinfo to display
3284 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
3285 explicitly the unknown a_type display mechanism is used.
3286 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
3287 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
3288 struct member.
3289 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
3290 to macro prototype for AT_HWCAP2 support.
3291 * sysdeps/i386/dl-procinfo.h: Likewise.
3292 * sysdeps/s390/dl-procinfo.h: Likewise.
3293 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
3294 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
3295 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
3296 return -1 for unknown a_type display fallback.
3297 * sysdeps/sparc/dl-procinfo.h: Likewise.
3298 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
3299 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3300
8fbec010
JM
33012013-06-28 Joseph Myers <joseph@codesourcery.com>
3302
3303 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
3304 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
3305
0432680e
PY
33062013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
3307
3308 [BZ #12492]
3309 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
3310 mprotect making __stack_prot writable.
3311
ce61a2ad
NF
33122013-06-28 Nathan Froyd <froydnj@codesourcery.com>
3313 Joseph Myers <joseph@codesourcery.com>
3314
3315 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
3316 as being properly aligned.
3317
f91f1c0f
MR
33182013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
3319
3d0f5d0c
MR
3320 * dlfcn/modstatic5.c: New file.
3321 * dlfcn/tststatic5.c: New file.
3322 * dlfcn/Makefile (tests): Add tststatic5.
3323 (tests-static): Likewise.
3324 (modules-names): Add modstatic5.
3325 (tststatic5-ENV): New variable.
3326 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
3327
f91f1c0f
MR
3328 [BZ #15022]
3329 * elf/dl-support.c (_dl_main_map): New variable.
3330 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
3331 (_dl_nns, _dl_load_adds): Set to 1.
3332 (_dl_initial_searchlist): Refer to _dl_main_map.
3333 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
3334 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
3335 call to _dl_get_origin.
3336 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
3337 around call_map.
3338 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
3339 * dlfcn/modstatic3.c: New file.
3340 * dlfcn/tststatic3.c: New file.
3341 * dlfcn/tststatic4.c: New file.
3342 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
3343 (tests-static): Likewise.
3344 (modules-names): Add modstatic3.
3345 (tststatic3-ENV, tststatic4-ENV): New variables.
3346 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
3347 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
3348
cbe7d24b
JM
33492013-06-26 Joseph Myers <joseph@codesourcery.com>
3350
3351 * configure.in (CC): Require GCC version 4.4 or later.
3352 * configure: Regenerated.
3353 * manual/install.texi (Tools for Compilation): Update GCC version
3354 requirement.
3355 * INSTALL: Regenerated.
3356
11b8a0e1
LD
33572013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3358
3359 [BZ #15674]
bb5bb87c
L
3360 * string/test-memcmp.c (check2): New.
3361 (main): Call check2.
3362
11b8a0e1
LD
3363 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
3364
b0037103
MR
33652013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
3366
3367 [BZ #15022]
3368 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
3369 over to...
3370 (dl_open_worker) [!SHARED]: ... here.
3371
c18c701d
RA
33722013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3373
3374 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
3375
1d17fa5f
RH
33762013-06-25 Richard Henderson <rth@redhat.com>
3377
3378 * locale/programs/locarchive.c: Include <libc-internal.h>
3379
8fcb833a
JM
33802013-06-25 Joseph Myers <joseph@codesourcery.com>
3381
3382 * manual/texinfo.tex: Update to version 2013-06-21.17, with
3383 trailing whitespace removed.
3384
17db6e8d
MF
33852013-06-24 Mike Frysinger <vapier@gentoo.org>
3386
3387 [BZ #10283]
17db6e8d
MF
3388 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
3389 * locale/programs/locarchive.c: Include libc-mmap.h.
3390 (prepare_address_space): Take two new outputs (the mmap base and len).
3391 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
3392 values.
3393 (create_archive): Declare new mmap base and len values for
3394 prepare_address_space, and store the result in ah.
3395 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
3396 (enlarge_archive): If ah->mmap_base is not NULL, use that and
3397 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3398 Declare new mmap base and len values for
3399 prepare_address_space, and store the result in new_ah.
3400 (open_archive): Declare new mmap base and len values for
3401 prepare_address_space, and store the result in ah.
3402 (close_archive): If ah->mmap_base is not NULL, use that and
3403 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3404 * sysdeps/generic/libc-mmap.h: New file.
3405
d605071e
MF
34062013-06-24 Mike Frysinger <vapier@gentoo.org>
3407
3408 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
3409 (ALIGN_UP): Likewise.
3410 (PTR_ALIGN_DOWN): Likewise.
3411 (PTR_ALIGN_UP): Likewise.
3412
2f063a6e
RA
34132013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3414
3415 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
3416 entry mapped to PPC_PLATFORM_POWER8.
3417 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
3418 POWER8.
3419 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
3420 (_dl_string_platform): Add case for exporting platform position for
3421 POWER8.
3422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
3423 search path to sysdeps/powerpc/powerpc32/power8 directory.
3424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
3425 search path to sysdeps/powerpc/powerpc64/power8 directory.
3426 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
3427 power7 directories.
3428 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
3429 power7 directories.
3430
a31ee4b3
SP
34312013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3432
a74ca98f
SP
3433 * INSTALL: Regenerate.
3434
a31ee4b3
SP
3435 * nscd/connections.c (nscd_init): Fix comment.
3436
695c378f
JM
34372013-06-22 Joseph Myers <joseph@codesourcery.com>
3438
d8412221
JM
3439 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
3440
695c378f
JM
3441 [BZ #15667]
3442 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
3443 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
3444
d1d54715
MR
34452013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
3446
3447 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
3448 DL_DST_REQ_STATIC.
3449 (DL_DST_REQ_STATIC): Remove macro.
3450
8fdda7af
JM
34512013-06-21 Joseph Myers <joseph@codesourcery.com>
3452
3453 [BZ #7006]
3454 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
3455 with a shift of 0 bits.
3456
f3bc5e5a
MR
34572013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
3458
3459 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
3460 $(tststatic-ENV).
3461
be09e8c9
KK
34622013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3463
3464 [BZ #15655]
3465 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
3466
85c2e611
AZ
34672013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3468
3469 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
3470 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
3471 accepts -fno-tree-loop-distribute-patterns.
3472 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
3473 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
3474 recursive call.
3475 * string/memset.c (memset): Likewise.
3476 * string/test-memmove.c (simple_memmove): Disable loop transformation
3477 to library calls.
3478 * string/test-memset.c (simple_memset): Likewise.
3479 * benchtests/bench-memmove.c (simple_memmove): Likewise.
3480 * benchtests/bench-memset.c (simple_memset): Likewise.
3481 * configure: Regenerated.
3482
c91e0825
JM
34832013-06-20 Joseph Myers <joseph@codesourcery.com>
3484
b8c792af
JM
3485 * math/test-misc.c (main): Ignore fesetround failure when failures
3486 of subsequent rounding tests would be ignored.
3487
c91e0825
JM
3488 [BZ #15654]
3489 * math/fedisblxcpt.c (fedisableexcept): Return 0.
3490 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
3491 * math/fegetenv.c (__fegetenv): Return 0.
3492 * math/fegetexcept.c (fegetexcept): Return 0.
3493 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
3494 FE_TONEAREST.
3495 * math/feholdexcpt.c (feholdexcept): Return 0.
3496 * math/fesetenv.c (__fesetenv): Return 0.
3497 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
3498 argument FE_TONEAREST.
3499 * math/feupdateenv.c (__feupdateenv): Return 0.
3500 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
3501
bfcacbde
RM
35022013-06-18 Roland McGrath <roland@hack.frob.com>
3503
3504 * elf/rtld-Rules (rtld-compile-command.S): New variable.
3505 (rtld-compile-command.s, rtld-compile-command.c): New variables.
3506 ($(objpfx)rtld-%.os rules): Use them.
3507
e55a9b25
AZ
35082013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3509
3510 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
3511 fields.
3512
346d65b3
RM
35132013-06-17 Roland McGrath <roland@hack.frob.com>
3514
12086fb4
RM
3515 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
3516 length of target pattern, then descending length of dependency pattern.
3517 * configure.in (AWK): Require gawk 3.1.2 or newer.
3518 * manual/install.texi (Tools for Compilation): Say that we do.
3519 * configure: Regenerated.
3520
346d65b3
RM
3521 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
3522 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
3523 * scripts/sysd-rules.awk: ... this new script.
3524 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
3525 than a glob-style pattern.
3526
1a846317
JM
35272013-06-17 Joseph Myers <joseph@codesourcery.com>
3528
3529 * math/test-misc.c (main): Do not treat incorrectly rounded
3530 conversions as failure unless ROUNDING_TESTS passes.
3531
8fc75e6f
JM
35322013-06-15 Joseph Myers <joseph@codesourcery.com>
3533
3711a167
JM
3534 [BZ #15631]
3535 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
3536 restore exception state around main square root computation, then
3537 check for inexactness explicitly.
3538
8fc75e6f
JM
3539 * math/libm-test.inc (fma_test_data): Add another test.
3540
61dd6208
SP
35412013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3542
adf23d2c
SP
3543 * manual/threads.texi (Non-POSIX Extensions): New document
3544 node. Document pthread_getattr_default_np and
3545 pthread_setattr_default_np.
3546
61dd6208
SP
3547 * Versions.def (libpthread): Add GLIBC_2.18.
3548 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
3549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3550 Likewise.
3551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3552 Likewise.
3553 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3554 Likewise.
3555 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3556 Likewise.
3557 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
3558 Likewise.
3559 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3560 Likewise.
3561 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3562 Likewise.
3563 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3564 Likewise.
3565 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3566 Likewise.
3567
d086fc7b
LD
35682013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3569
3570 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3571 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
3572
747ef469
SP
35732013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3574 H.J. Lu <hjl.tools@gmail.com>
3575
3576 [BZ #15627]
3577 * sysdeps/x86_64/rtld-memset.c: Remove file.
3578 * sysdeps/x86_64/rtld-memset.S: New file.
3579
1b2feed2
JM
35802013-06-14 Joseph Myers <joseph@codesourcery.com>
3581
3582 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
3583 (test_in_one_mode): Take arguments for whether the rounding mode
3584 is supported for each floating-point type.
3585 (do_test): Pass new arguments to test_in_one_mode using
3586 ROUNDING_TESTS.
3587
a58ad3f8
RM
35882013-06-13 Roland McGrath <roland@hack.frob.com>
3589
3590 * posix/tst-waitid.c (do_test): Distinguish different instances of
3591 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
3592 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
3593 before entering the kernel for waitpid.
3594
c204ab28
SP
35952013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3596
3597 * NEWS: Fix note on clock function precision. Text by Roland
3598 McGrath.
3599
f4a29fba
RM
36002013-06-13 Roland McGrath <roland@hack.frob.com>
3601
3602 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
3603 it into place only when and if the sanity check passes.
3604
1f24b9ad
JM
36052013-06-13 Joseph Myers <joseph@codesourcery.com>
3606
3607 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
3608 output for whether conversion result is exact. Take argument
3609 indicating whether type is IBM long double.
3610 (round_for_all): Change need_exact field to ibm_ld.
3611 * stdlib/tst-strtod-round.c (struct exactness): New type.
3612 (struct test): Change bool ld_ok field to struct exactness exact.
3613 (TEST): Update all definitions for change to field.
3614 (tests): Regenerate array contents.
3615 (test_in_one_mode): Take pointer to new field instead of old ld_ok
3616 field value. Check for IBM long double here.
3617 (do_test): Update calls to test_in_one_mode.
3618
58206c68
SP
36192013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3620
3621 [BZ #12515]
3622 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
3623 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
3624
2d6f4c5b 36252013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
3626
3627 [BZ #15605]
3628 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
3629 generated by the compiler on loop optimizations.
3630 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
3631 general definitions.
3632
94f2c076
JM
36332013-06-12 Joseph Myers <joseph@codesourcery.com>
3634
3635 * math/bug-nextafter.c: Include <math-tests.h>.
3636 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3637 the relevant type.
3638 * math/bug-nexttoward.c: Include <math-tests.h>.
3639 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3640 the relevant type.
3641 * math/test-misc.c: Include <math-tests.h>.
3642 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3643 the relevant type.
3644
e0e50a0a
AJ
36452013-06-12 Andreas Jaeger <aj@suse.de>
3646
3647 * po/ia.po: Update Interlingua translation from translation
3648 project.
3649
25061094
SP
36502013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3651
3652 * include/fenv.h: Include stdbool.h.
3653 (struct rm_ctx): New structure.
3654 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
3655 Define macro.
3656 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
3657 (SET_RESTORE_ROUNDF): Likewise.
3658 (SET_RESTORE_ROUNDL): Likewise.
3659 (SET_RESTORE_ROUND_NOEX): Likewise.
3660 (SET_RESTORE_ROUND_NOEXF): Likewise.
3661 (SET_RESTORE_ROUND_NOEXL): Likewise.
3662 (SET_RESTORE_ROUND_53BIT): Likewise.
3663 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
3664 (libc_feresetround_noexf_ctx): Likewise.
3665 (libc_feresetround_noexl_ctx): Likewise.
3666 (libc_feholdsetround_53bit_ctx): Likewise.
3667 (libc_feresetround_53bit_ctx): Likewise.
3668 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
3669 (libc_feholdexcept_setround_sse_ctx): New function.
3670 (libc_fesetenv_sse_ctx): Likewise.
3671 (libc_feupdateenv_sse_ctx): Likewise.
3672 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
3673 (libc_feholdexcept_setround_387_ctx): Likewise.
3674 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
3675 (libc_feholdsetround_387_prec_ctx): Likewise.
3676 (libc_feholdsetround_387_ctx): Likewise.
3677 (libc_feholdsetround_387_53bit_ctx): Likewise.
3678 (libc_feholdsetround_sse_ctx): Likewise.
3679 (libc_feresetround_sse_ctx): Likewise.
3680 (libc_feresetround_387_ctx): Likewise.
3681 (libc_feupdateenv_387_ctx): Likewise.
3682 (libc_feholdexcept_setroundf_ctx): Define macro.
3683 (libc_fesetenvf_ctx): Likewise.
3684 (libc_feupdateenvf_ctx): Likewise.
3685 (libc_feholdsetroundf_ctx): Likewise.
3686 (libc_feresetroundf_ctx): Likewise.
3687 (libc_feholdexcept_setround_ctx): Likewise.
3688 (libc_fesetenv_ctx): Likewise.
3689 (libc_feupdateenv_ctx): Likewise.
3690 (libc_feholdsetround_ctx): Likewise.
3691 (libc_feresetround_ctx): Likewise.
3692 (libc_feholdexcept_setroundl_ctx): Likewise.
3693 (libc_feupdateenvl_ctx): Likewise.
3694 (libc_feholdsetroundl_ctx): Likewise.
3695 (libc_feresetroundl_ctx): Likewise.
3696 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
3697 (libc_feresetround_53bit_ctx): Likewise.
3698
59b30555
SP
36992013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3700
3701 * locale/iso-639.def: Convert to UTF-8.
3702
f1d73d30
JM
37032013-06-11 Joseph Myers <joseph@codesourcery.com>
3704
3705 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
3706 (EXCEPTION_TESTS_double): Likewise.
3707 (EXCEPTION_TESTS_long_double): Likewise.
3708 (EXCEPTION_TESTS): Likewise.
3709 * math/libm-test.inc (test_exceptions): Only test exceptions if
3710 EXCEPTION_TESTS (FLOAT).
3711
94aca5e7
SP
37122013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3713
3714 * benchtests/Makefile (string-bench): Add strcpy_chk and
3715 stpcpy_chk.
3716 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
3717 * benchtests/bench-stpcpy_chk.c: New file.
3718 * benchtests/bench-strcpy_chk-ifunc.c: New file.
3719 * benchtests/bench-strcpy_chk.c: New file.
3720 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
3721 code.
3722 (do_test): Likewise.
3723
fac0c5f2
RA
37242013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3725
3726 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
3727 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
3728 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
3729 with tabs where appropriate.
3730 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
3731 dl-procinfo.h.
3732 [PPC_PLATFORM_PPC440]: Likewise.
3733 [PPC_PLATFORM_PPC464]: Likewise.
3734 [PPC_PLATFORM_PPC476]: Likewise.
3735 (_dl_string_platform): Add support for detecting ppc405, ppc440,
3736 ppc464, and ppc476 platform strings merging from ports/
3737 dl-procinfo.h.
3738
f22bc486
AS
37392013-06-11 Andreas Schwab <schwab@suse.de>
3740
3741 [BZ #14991]
3742 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
3743 (from_ucs4_idx): Regenerate.
3744 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
3745 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
3746 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
3747 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
3748 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
3749 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
3750 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
3751 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
3752 from FROM_LOOP and TO_LOOP specific macros.
3753 (BODY): Handle combining characters.
3754 * iconvdata/BIG5HKSCS.irreversible: Update.
3755 * iconvdata/BIG5HKSCS.precomposed: New file.
3756 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
3757 characters.
3758 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
3759
c1f75dc3
SP
37602013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3761
4eacded2
SP
3762 * include/sys/time.h: Fix indentation and add copyright header.
3763
fec799f8
SP
3764 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
3765 (do_test): Likewise.
3766 * string/test-memchr.c (do_one_test): Likewise.
3767 (do_test): Likewise.
3768 * string/test-memcmp.c (do_one_test): Likewise.
3769 (do_test): Likewise.
3770 * string/test-memcpy.c (do_one_test): Likewise.
3771 (do_test): Likewise.
3772 * string/test-memmem.c (do_one_test): Likewise.
3773 (do_test): Likewise.
3774 (do_random_tests): Likewise.
3775 * string/test-memmove.c (do_one_test): Likewise.
3776 (do_test): Likewise.
3777 * string/test-memset.c (do_one_test): Likewise.
3778 (do_test): Likewise.
3779 * string/test-rawmemchr.c (do_one_test): Likewise.
3780 (do_test): Likewise.
3781 * string/test-strcasecmp.c (do_one_test): Likewise.
3782 (do_test): Likewise.
3783 * string/test-strcasestr.c (do_one_test): Likewise.
3784 (do_test): Likewise.
3785 * string/test-strcat.c (do_one_test): Likewise.
3786 (do_test): Likewise.
3787 * string/test-strchr.c (do_one_test): Likewise.
3788 (do_test): Likewise.
3789 * string/test-strcmp.c (do_one_test): Likewise.
3790 (do_test): Likewise.
3791 * string/test-strcpy.c (do_one_test): Likewise.
3792 (do_test): Likewise.
3793 * string/test-string.h: Likewise.
3794 (test_init): Likewise.
3795 * string/test-strlen.c (do_one_test): Likewise.
3796 (do_test): Likewise.
3797 * string/test-strncasecmp.c (do_one_test): Likewise.
3798 (do_test): Likewise.
3799 * string/test-strncat.c (do_one_test): Likewise.
3800 (do_test): Likewise.
3801 * string/test-strncmp.c (do_one_test): Likewise.
3802 (do_test_limit): Likewise.
3803 (do_test): Likewise.
3804 * string/test-strncpy.c (do_one_test): Likewise.
3805 (do_test): Likewise.
3806 * string/test-strnlen.c (do_one_test): Likewise.
3807 (do_test): Likewise.
3808 * string/test-strpbrk.c (do_one_test): Likewise.
3809 (do_test): Likewise.
3810 * string/test-strrchr.c (do_one_test): Likewise.
3811 (do_test): Likewise.
3812 * string/test-strspn.c (do_one_test): Likewise.
3813 (do_test): Likewise.
3814 * string/test-strstr.c (do_one_test): Likewise.
3815 (do_test): Likewise.
3816
97020474
SP
3817 * benchtests/Makefile (string-bench): Add string benchmarks.
3818 * benchtests/bench-bcopy-ifunc.c: New file.
3819 * benchtests/bench-bcopy.c: New file.
3820 * benchtests/bench-bzero-ifunc.c: New file.
3821 * benchtests/bench-bzero.c: New file.
3822 * benchtests/bench-memccpy-ifunc.c: New file.
3823 * benchtests/bench-memccpy.c: New file.
3824 * benchtests/bench-memchr-ifunc.c: New file.
3825 * benchtests/bench-memchr.c: New file.
3826 * benchtests/bench-memcmp-ifunc.c: New file.
3827 * benchtests/bench-memcmp.c: New file.
3828 * benchtests/bench-memmem-ifunc.c: New file.
3829 * benchtests/bench-memmem.c: New file.
3830 * benchtests/bench-memmove-ifunc.c: New file.
3831 * benchtests/bench-memmove.c: New file.
3832 * benchtests/bench-mempcpy-ifunc.c: New file.
3833 * benchtests/bench-mempcpy.c: New file.
3834 * benchtests/bench-memset-ifunc.c: New file.
3835 * benchtests/bench-memset.c: New file.
3836 * benchtests/bench-rawmemchr-ifunc.c: New file.
3837 * benchtests/bench-rawmemchr.c: New file.
3838 * benchtests/bench-stpcpy-ifunc.c: New file.
3839 * benchtests/bench-stpcpy.c: New file.
3840 * benchtests/bench-stpncpy-ifunc.c: New file.
3841 * benchtests/bench-stpncpy.c: New file.
3842 * benchtests/bench-strcasecmp-ifunc.c: New file.
3843 * benchtests/bench-strcasecmp.c: New file.
3844 * benchtests/bench-strcasestr-ifunc.c: New file.
3845 * benchtests/bench-strcasestr.c: New file.
3846 * benchtests/bench-strcat-ifunc.c: New file.
3847 * benchtests/bench-strcat.c: New file.
3848 * benchtests/bench-strchr-ifunc.c: New file.
3849 * benchtests/bench-strchr.c: New file.
3850 * benchtests/bench-strchrnul-ifunc.c: New file.
3851 * benchtests/bench-strchrnul.c: New file.
3852 * benchtests/bench-strcmp-ifunc.c: New file.
3853 * benchtests/bench-strcmp.c: New file.
3854 * benchtests/bench-strcpy-ifunc.c: New file.
3855 * benchtests/bench-strcpy.c: New file.
3856 * benchtests/bench-strcspn-ifunc.c: New file.
3857 * benchtests/bench-strcspn.c: New file.
3858 * benchtests/bench-strlen-ifunc.c: New file.
3859 * benchtests/bench-strlen.c: New file.
3860 * benchtests/bench-strncasecmp-ifunc.c: New file.
3861 * benchtests/bench-strncasecmp.c: New file.
3862 * benchtests/bench-strncat-ifunc.c: New file.
3863 * benchtests/bench-strncat.c: New file.
3864 * benchtests/bench-strncmp-ifunc.c: New file.
3865 * benchtests/bench-strncmp.c: New file.
3866 * benchtests/bench-strncpy-ifunc.c: New file.
3867 * benchtests/bench-strncpy.c: New file.
3868 * benchtests/bench-strnlen-ifunc.c: New file.
3869 * benchtests/bench-strnlen.c: New file.
3870 * benchtests/bench-strpbrk-ifunc.c: New file.
3871 * benchtests/bench-strpbrk.c: New file.
3872 * benchtests/bench-strrchr-ifunc.c: New file.
3873 * benchtests/bench-strrchr.c: New file.
3874 * benchtests/bench-strspn-ifunc.c: New file.
3875 * benchtests/bench-strspn.c: New file.
3876 * benchtests/bench-strstr-ifunc.c: New file.
3877 * benchtests/bench-strstr.c: New file.
3878
c1f75dc3
SP
3879 * benchtests/Makefile: Disable parallel execution of targets.
3880 (string-bench): Add memcpy.
3881 (benchset): New variable to store a list of benchmark sets.
3882 (bench-func): Renamed from bench.
3883 (bench-set): New target.
3884 (bench): Depend on bench-func and bench-set.
3885 * benchtests/README: Add section on benchmark sets.
3886 * benchtests/bench-memcpy-ifunc.c: New file.
3887 * benchtests/bench-memcpy.c: New file.
3888 * benchtests/bench-string.h: New file.
3889
50fd745b
AS
38902013-06-11 Andreas Schwab <schwab@suse.de>
3891
3892 [BZ #15577]
3893 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
3894 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
3895 values in the triple.
3896 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
3897 terminator in the group key.
3898
3ee7e9fe
AJ
38992013-06-11 Andreas Jaeger <aj@suse.de>
3900
3901 * po/zh_TW.po: Update Chinese (traditional) translation from
3902 translation project.
3903
89fb6835
SP
39042013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3905
3906 * include/time.h (__clock_gettime): Add libc_hidden_proto.
3907 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
3908 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
3909 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3910 (clock_getcpuclockid): Likewise.
3911 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
3912 Add weak_alias and libc_hidden_def.
3913 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
3914 * rt/clock_gettime.c (clock_gettime): Rename to
3915 __clock_gettime. Add weak_alias and libc_hidden_def.
3916 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
3917 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
3918 __clock_nanosleep. Add weak_alias and libc_hidden_def.
3919 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
3920 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
3921 Likewise.
3922 * rt/clock_settime.c (clock_settime): Rename to
3923 __clock_settime. Add weak_alias and libc_hidden_def.
3924 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
3925
0efa6f8b
JM
39262013-06-10 Joseph Myers <joseph@codesourcery.com>
3927
b8c61b4b
JM
3928 * mach/err_boot.sub: Remove trailing whitespace.
3929 * mach/err_ipc.sub: Likewise.
3930 * mach/err_mach.sub: Likewise.
3931
0efa6f8b
JM
3932 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
3933 (ROUNDING_TESTS_double): Likewise.
3934 (ROUNDING_TESTS_long_double): Likewise.
3935 (ROUNDING_TESTS): Likewise.
3936 * math/libm-test.inc: Include <math-tests.h>.
3937 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
3938 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3939 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3940 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3941
50b818bf
SP
39422013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3943
3944 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
3945 of assigning.
3946
60d2f8f3
JM
39472013-06-08 Joseph Myers <joseph@codesourcery.com>
3948
4902d2c3
JM
3949 * sysdeps/gnu/errlist.awk: Do not generate space at end of
3950 otherwise empty TRANS lines.
3951 * sysdeps/gnu/errlist.c: Regenerated.
3952
60d2f8f3
JM
3953 * catgets/gencat.c (error_print): Use (void) in function
3954 definition.
3955 * crypt/crypt_util.c (__init_des): Likewise.
3956 * crypt/speeds.c (Stop): Likewise.
3957 (main): Likewise.
3958 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
3959 * inet/ruserpass.c (token): Likewise.
3960 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
3961 * intl/localealias.c (extend_alias_table): Likewise.
3962 * intl/plural-exp.c (init_germanic_plural): Likewise.
3963 * libio/fcloseall.c (__fcloseall): Likewise.
3964 * libio/genops.c (_IO_flush_all): Likewise.
3965 (_IO_flush_all_linebuffered): Likewise.
3966 (_IO_cleanup): Likewise.
3967 (_IO_iter_begin): Likewise.
3968 (_IO_iter_end): Likewise.
3969 (_IO_list_lock): Likewise.
3970 (_IO_list_unlock): Likewise.
3971 (_IO_list_resetlock): Likewise.
3972 * libio/getchar.c (getchar): Likewise.
3973 * libio/getchar_u.c (getchar_unlocked): Likewise.
3974 * libio/getwchar.c (getwchar): Likewise.
3975 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
3976 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
3977 * login/getpt.c (__getpt): Likewise.
3978 * login/tst-utmp.c (main): Likewise.
3979 * malloc/hooks.c (__malloc_check_init): Likewise.
3980 * malloc/malloc.c (__malloc_stats): Likewise.
3981 * malloc/mtrace.c (tr_break): Likewise.
3982 (mtrace): Likewise.
3983 (muntrace): Likewise.
3984 * misc/fstab.c (endfsent): Likewise.
3985 * misc/getclktck.c (__getclktck): Likewise.
3986 * misc/getdtsz.c (__getdtablesize): Likewise.
3987 * misc/gethostid.c (gethostid): Likewise.
3988 * misc/getpagesize.c (__getpagesize): Likewise.
3989 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
3990 (__get_nprocs): Likewise.
3991 (__get_phys_pages): Likewise.
3992 (__get_avphys_pages): Likewise.
3993 * misc/getttyent.c (getttyent): Likewise.
3994 (setttyent): Likewise.
3995 (endttyent): Likewise.
3996 * misc/getusershell.c (getusershell): Likewise.
3997 (endusershell): Likewise.
3998 (setusershell): Likewise.
3999 (initshells): Likewise.
4000 * misc/hsearch.c (__hdestroy): Likewise.
4001 * misc/sync.c (sync): Likewise.
4002 * misc/syslog.c (closelog_internal): Likewise.
4003 (closelog): Likewise.
4004 * misc/ttyslot.c (ttyslot): Likewise.
4005 * misc/vhangup.c (vhangup): Likewise.
4006 * posix/fork.c (__fork): Likewise.
4007 * posix/getegid.c (__getegid): Likewise.
4008 * posix/geteuid.c (__geteuid): Likewise.
4009 * posix/getgid.c (__getgid): Likewise.
4010 * posix/getpid.c (__getpid): Likewise.
4011 * posix/getppid.c (__getppid): Likewise.
4012 * posix/getuid.c (__getuid): Likewise.
4013 * posix/pause.c (pause): Likewise.
4014 * posix/setpgrp.c (setpgrp): Likewise.
4015 * posix/setsid.c (__setsid): Likewise.
4016 * posix/test-vfork.c (noop): Likewise.
4017 * resolv/gethnamaddr.c (_endhtent): Likewise.
4018 (_gethtent): Likewise.
4019 (ht_endhostent): Likewise.
4020 (gethostent): Likewise.
4021 (dns_service): Likewise.
4022 * stdlib/drand48.c (drand48): Likewise.
4023 * stdlib/lrand48.c (lrand48): Likewise.
4024 * stdlib/mrand48.c (mrand48): Likewise.
4025 * stdlib/rand.c (rand): Likewise.
4026 * stdlib/random.c (__random): Likewise.
4027 * stdlib/setenv.c (clearenv): Likewise.
4028 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
4029 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
4030 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
4031 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
4032 (__get_nprocs): Likewise.
4033 (__get_phys_pages): Likewise.
4034 (__get_avphys_pages): Likewise.
4035 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
4036 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
4037 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
4038 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
4039 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
4040 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
4041 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
4042 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
4043 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
4044 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
4045 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
4046 * sysdeps/mach/hurd/sync.c (sync): Likewise.
4047 * sysdeps/posix/clock.c (clock): Likewise.
4048 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
4049 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
4050 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
4051 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
4052 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
4053 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
4054 (__get_nprocs_conf): Likewise.
4055 (__get_phys_pages): Likewise.
4056 (__get_avphys_pages): Likewise.
4057 * time/clock.c (clock): Likewise.
4058 * time/tzset.c (__tzname_max): Likewise.
4059
2e09a79a
JM
40602013-06-07 Joseph Myers <joseph@codesourcery.com>
4061
4062 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
4063 (__bswap_32): Do not use "register".
4064 * crypt/crypt.c (_ufc_doit_r): Likewise.
4065 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4066 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4067 * gmon/gmon.c (__monstartup): Likewise.
4068 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
4069 * hurd/hurdmalloc.c (more_memory): Likewise.
4070 (malloc): Likewise.
4071 (free): Likewise.
4072 (realloc): Likewise.
4073 (malloc_fork_prepare): Likewise.
4074 (malloc_fork_parent): Likewise.
4075 (malloc_fork_child): Likewise.
4076 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
4077 (_svcauth_des): Likewise.
4078 * inet/inet_lnaof.c (inet_lnaof): Likewise.
4079 * inet/inet_net.c (inet_network): Likewise.
4080 * inet/inet_netof.c (inet_netof): Likewise.
4081 * inet/rcmd.c (__validuser2_sa): Likewise.
4082 * io/fts.c (fts_open): Likewise.
4083 (fts_load): Likewise.
4084 (fts_close): Likewise.
4085 (fts_read): Likewise.
4086 (fts_children): Likewise.
4087 (fts_build): Likewise.
4088 (fts_stat): Likewise.
4089 (fts_sort): Likewise.
4090 (fts_alloc): Likewise.
4091 (fts_lfree): Likewise.
4092 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
4093 (_IO_file_xsgetn): Likewise.
4094 (_IO_file_xsgetn_mmap): Likewise.
4095 * libio/iofopncook.c (_IO_cookie_read): Likewise.
4096 (_IO_cookie_write): Likewise.
4097 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
4098 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
4099 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
4100 * malloc/obstack.c (_obstack_begin): Likewise.
4101 (_obstack_begin_1): Likewise.
4102 (_obstack_newchunk): Likewise.
4103 (_obstack_allocated_p): Likewise.
4104 (obstack_free): Likewise.
4105 (_obstack_memory_used): Likewise.
4106 * misc/getttyent.c (getttynam): Likewise.
4107 (getttyent): Likewise.
4108 (skip): Likewise.
4109 (value): Likewise.
4110 * misc/getusershell.c (initshells): Likewise.
4111 * misc/syslog.c (__vsyslog_chk): Likewise.
4112 * misc/ttyslot.c (ttyslot): Likewise.
4113 * nis/nis_hash.c (__nis_hash): Likewise.
4114 * posix/fnmatch_loop.c (FCT): Likewise.
4115 * posix/getconf.c (print_all): Likewise.
4116 (main): Likewise.
4117 * posix/getopt.c (exchange): Likewise.
4118 * posix/glob.c (globfree): Likewise.
4119 (prefix_array): Likewise.
4120 (__glob_pattern_type): Likewise.
4121 * resolv/arpa/nameser.h (NS_GET16): Likewise.
4122 (NS_GET32): Likewise.
4123 (NS_PUT16): Likewise.
4124 (NS_PUT32): Likewise.
4125 * resolv/gethnamaddr.c (getanswer): Likewise.
4126 (gethostbyname2): Likewise.
4127 (gethostbyaddr): Likewise.
4128 (_gethtent): Likewise.
4129 (_gethtbyname2): Likewise.
4130 (_gethtbyaddr): Likewise.
4131 * resolv/ns_print.c (dst_s_get_int16): Likewise.
4132 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4133 * resolv/res_init.c (__res_vinit): Likewise.
4134 (net_mask): Likewise.
4135 * resolv/res_mkquery.c (outchar): Likewise.
4136 (PRINT): Likewise.
4137 * stdio-common/printf_fp.c (outchar): Likewise.
4138 (PRINT): Likewise.
4139 * stdio-common/printf_fphex.c (outchar): Likewise.
4140 (PRINT): Likewise.
4141 * stdio-common/printf_size.c (outchar): Likewise.
4142 (PRINT): Likewise.
4143 * stdio-common/test_rdwr.c (main): Likewise.
4144 * stdio-common/tfformat.c (matches): Likewise.
4145 * stdio-common/vfprintf.c (outchar): Likewise.
4146 (printf_unknown): Likewise.
4147 (buffered_vfprintf): Likewise.
4148 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4149 * stdio-common/xbug.c (AppendToBuffer): Likewise.
4150 (ReadFile): Likewise.
4151 * stdlib/qsort.c (SWAP): Likewise.
4152 (_quicksort): Likewise.
4153 * stdlib/setenv.c (__add_to_environ): Likewise.
4154 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4155 * stdlib/strtol_l.c (__strtol_l): Likewise.
4156 * stdlib/tst-strtod.c (main): Likewise.
4157 * stdlib/tst-strtol.c (main): Likewise.
4158 * stdlib/tst-strtoll.c (main): Likewise.
4159 * string/bits/string2.h (__strcmp_cc): Likewise.
4160 (__strcmp_cg): Likewise.
4161 (__strcspn_c1): Likewise.
4162 (__strcspn_c2): Likewise.
4163 (__strcspn_c3): Likewise.
4164 (__strspn_c1): Likewise.
4165 (__strspn_c2): Likewise.
4166 (__strspn_c3): Likewise.
4167 (__strsep_1c): Likewise.
4168 (__strsep_2c): Likewise.
4169 (__strsep_3c): Likewise.
4170 * string/memccpy.c (__memccpy): Likewise.
4171 * string/stpcpy.c (__stpcpy): Likewise.
4172 * string/strcmp.c (strcmp): Likewise.
4173 * string/strrchr.c (strrchr): Likewise.
4174 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
4175 Likewise.
4176 * sysdeps/mach/hurd/getcwd.c
4177 (_hurd_canonicalize_directory_name_internal): Likewise.
4178 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
4179 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
4180 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
4181 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
4182 Likewise, in both definitions.
4183 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
4184 definitions.
4185 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
4186 64] (__bswap_64): Likewise.
4187 * time/test_time.c (main): Likewise.
4188 * time/tzfile.c (__tzfile_read): Likewise.
4189 (__tzfile_compute): Likewise.
4190 * time/tzset.c (__tzset_parse_tz): Likewise.
4191 (tzset_internal): Likewise.
4192 (compute_change): Likewise.
4193 * wcsmbs/wcscat.c (__wcscat): Likewise.
4194 * wcsmbs/wcschr.c (wcschr): Likewise.
4195 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
4196 * wcsmbs/wcscspn.c (wcscspn): Likewise.
4197 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
4198 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
4199 * wcsmbs/wcsspn.c (wcsspn): Likewise.
4200 * wcsmbs/wcsstr.c (wcsstr): Likewise.
4201 * wcsmbs/wmemchr.c (wmemchr): Likewise.
4202 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4203 * wcsmbs/wmemset.c (wmemset): Likewise.
4204
9e54314b
JM
42052013-06-06 Joseph Myers <joseph@codesourcery.com>
4206
4207 * scripts/config.guess: Update to version 2013-05-16.
4208 * scripts/config.sub: Update to version 2013-04-24.
4209 * scripts/install-sh: Update to version 2011-11-20.07.
4210 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
4211 * scripts/move-if-change: Update to version 2012-01-06 07:23.
4212
350635a5
OB
42132013-06-06 Ondřej Bílka <neleai@seznam.cz>
4214
4215 * debug/fgetws_u_chk.c: Fix leading whitespaces.
4216 * elf/sln.c: Likewise.
4217 * hurd/hurd/ioctl.h: Likewise.
4218 * hurd/hurdmalloc.c: Likewise.
4219 * hurd/xattr.c: Likewise.
4220 * include/shlib-compat.h: Likewise.
4221 * inet/ruserpass.c: Likewise.
4222 * libio/iofgets_u.c: Likewise.
4223 * libio/iofgetws_u.c: Likewise.
4224 * locale/programs/ld-identification.c: Likewise.
4225 * locale/programs/ld-time.c: Likewise.
4226 * mach/msg-destroy.c: Likewise.
4227 * nss/nss_files/files-netgrp.c: Likewise.
4228 * resolv/res_data.c: Likewise.
4229 * soft-fp/op-1.h: Likewise.
4230 * soft-fp/op-2.h: Likewise.
4231 * soft-fp/op-4.h: Likewise.
4232 * soft-fp/op-common.h: Likewise.
4233 * stdio-common/printf_fphex.c: Likewise.
4234 * stdlib/strtod_l.c: Likewise.
4235 * sunrpc/rpc/clnt.h: Likewise.
4236 * sysdeps/generic/framestate.c: Likewise.
4237 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4238 * sysdeps/i386/bsd-setjmp.S: Likewise.
4239 * sysdeps/i386/__longjmp.S: Likewise.
4240 * sysdeps/i386/setjmp.S: Likewise.
4241 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4242 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4243 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4244 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4245 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4246 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4247 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4248 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4249 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4250 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4251 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4252 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4253 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4254 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4255 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4256 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4257 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4258 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
4259 * sysdeps/ieee754/support.c: Likewise.
4260 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4261 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
4262 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
4263 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
4264 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
4265 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
4266 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
4267 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
4268 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
4269 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
4270 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
4271 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
4272 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
4273 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
4274 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
4275 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
4276 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4278
44a988af
OB
42792013-06-05 Ondřej Bílka <neleai@seznam.cz>
4280
25506f09 4281 * posix/transbug.c: Remove executable mode.
44a988af 4282
9c84384c
JM
42832013-06-05 Joseph Myers <joseph@codesourcery.com>
4284
4285 * crypt/speeds.c: Remove trailing whitespace.
4286 * dlfcn/default.c: Likewise.
4287 * elf/ifuncdep2.c: Likewise.
4288 * elf/ifuncmain1.c: Likewise.
4289 * elf/ifuncmain1vis.c: Likewise.
4290 * elf/testobj.h: Likewise.
4291 * elf/tst-stackguard1.c: Likewise.
4292 * gmon/sys/gmon.h: Likewise.
4293 * hurd/hurdmsg.c: Likewise.
4294 * hurd/new-fd.c: Likewise.
4295 * hurd/ports-get.c: Likewise.
4296 * iconvdata/ibm1008_420.c: Likewise.
4297 * inet/tst-getni1.c: Likewise.
4298 * inet/tst-getni2.c: Likewise.
4299 * libio/ioungetc.c: Likewise.
4300 * libio/wfiledoalloc.c: Likewise.
4301 * manual/libm-err-tab.pl: Likewise.
4302 * math/w_dremf.c: Likewise.
4303 * misc/ftruncate.c: Likewise.
4304 * posix/bug-glob2.c: Likewise.
4305 * posix/tst-pcre.c: Likewise.
4306 * posix/wait4.c: Likewise.
4307 * resolv/README: Likewise.
4308 * resolv/res_debug.h: Likewise.
4309 * resolv/tst-inet_ntop.c: Likewise.
4310 * setjmp/bug269-setjmp.c: Likewise.
4311 * soft-fp/extended.h: Likewise.
4312 * soft-fp/op-1.h: Likewise.
4313 * soft-fp/op-2.h: Likewise.
4314 * soft-fp/op-4.h: Likewise.
4315 * soft-fp/op-8.h: Likewise.
4316 * soft-fp/testit.c: Likewise.
4317 * stdio-common/bug16.c: Likewise.
4318 * stdlib/random.c: Likewise.
4319 * sunrpc/rpcsvc/rquota.x: Likewise.
4320 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
4321 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4322 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4323 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4324 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4325 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4326 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4327 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4328 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4329 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4330 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4331 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4332 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4333 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4334 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4335 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4336 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4337 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4338 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4339 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4340 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4341 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4342 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4343 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4344 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4345 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4346 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4347 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4348 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4349 * sysdeps/ieee754/s_lib_version.c: Likewise.
4350 * sysdeps/mach/hurd/check_fds.c: Likewise.
4351 * sysdeps/mach/hurd/getsockname.c: Likewise.
4352 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
4353 * sysdeps/mach/hurd/recvfrom.c: Likewise.
4354 * sysdeps/powerpc/bits/link.h: Likewise.
4355 * sysdeps/powerpc/dl-procinfo.c: Likewise.
4356 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
4357 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
4358 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
4359 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4360 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4361 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
4362 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4363 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
4364 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4365 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4366 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4367 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
4368 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4369 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4370 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4371 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4372 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4373 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4374 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4375 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4376 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
4377 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4378 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4379 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
4380 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4381 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4382 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4383 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4384 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4385 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4386 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4387 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4388 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4389 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
4390 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4391 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
4392 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4393 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4394 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
4395 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
4396 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
4397 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
4398 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
4399 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4400 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
4401 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
4402 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4403 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
4404 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
4405 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4406 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4407 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4408 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4409 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
4410 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4411 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4412 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4413 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
4414 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4415 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
4416 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
4417 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
4418 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4419 * sysdeps/powerpc/sysdep.h: Likewise.
4420 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4421 * sysdeps/s390/s390-64/sub_n.S: Likewise.
4422 * sysdeps/sh/dl-trampoline.S: Likewise.
4423 * sysdeps/sh/memset.S: Likewise.
4424 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
4425 * sysdeps/sh/strlen.S: Likewise.
4426 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
4427 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
4428 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
4429 * sysdeps/sparc/sparc32/rem.S: Likewise.
4430 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
4431 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
4432 * sysdeps/sparc/sparc32/strchr.S: Likewise.
4433 * sysdeps/sparc/sparc32/udiv.S: Likewise.
4434 * sysdeps/sparc/sparc32/urem.S: Likewise.
4435 * sysdeps/sparc/sparc64/add_n.S: Likewise.
4436 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4437 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
4438 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
4439 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
4440 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
4441 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4442 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
4443 * sysdeps/unix/bsd/times.c: Likewise.
4444 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
4445 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
4446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4449 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
4450 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4451 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
4452 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
4453 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
4454 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
4455 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
4456 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
4457 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4458 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
4459 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4460 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
4461 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
4462 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
4463 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
4464 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
4465 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
4466 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4467 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
4468 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
4469 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4470 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
4471 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4472 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
4473 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
4474 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
4475 * sysdeps/x86_64/strcspn.S: Likewise.
4476
869378a5
RA
44772013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4478
4479 * locale/C-translit.h: Revert #include <stdint.h> because this is a
4480 generated file. Regenerate properly from gen-translit.pl.
4481 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
4482 locale/C-translit.h.
4483
840e2943
AS
44842013-06-05 Andreas Schwab <schwab@suse.de>
4485
4486 [BZ #15100]
4487 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
4488 week as 6 instead of -1.
4489 * time/tst-strptime.c (day_tests): Add test case.
4490
4c60cb0c
SP
44912013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4492
4493 * sysdeps/generic/math_private.h
4494 (libc_feholdexcept_setround_53bit): Replace with
4495 libc_feholdsetround_53bit.
4496 (libc_feupdateenv_53bit): Replace with
4497 libc_feresetround_53bit.
4498 (SET_RESTORE_ROUND_53BIT): Adjust.
4499
d180203e
SP
45002013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4501
96df079a
SP
4502 * string/test-strchrnul.c: Add copyright header.
4503
d180203e
SP
4504 * posix/tst-getaddrinfo4.c: Increase test timeout.
4505
8b0ccb2d
CD
45062013-06-03 Carlos O'Donell <carlos@redhat.com>
4507
4508 [BZ #15536]
4509 * math/libm-test.inc (MAX_EXP): Remove
4510 (MIN_EXP): Define.
4511 (ulp): Use MIN_EXP - MANT_DIG.
4512 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
4513
3b3c4d40
CD
45142013-05-31 Carlos O'Donell <carlos@redhat.com>
4515
4516 * po/be.po: Revert last change.
4517 * po/zh_CN.po: Likewise.
4518 * po/header.pot: Likewise.
4519
fab7ce3f
JM
45202013-05-31 Joseph Myers <joseph@codesourcery.com>
4521
4522 * Makefile ($(common-objpfx)linkobj/libc.so): Define
4523 link-libc-deps to empty as target-specific variable.
4524 * Makerules (link-libc-args): New variable.
4525 (libc-for-link): Likewise.
4526 (link-libc-deps): Likewise.
4527 (lib%.so): Depend on $(link-libc-deps). Link with
4528 $(link-libc-args).
4529 (build-module): Link with $(link-libc-args).
4530 (build-module-asneeded): Likewise.
4531 (build-module-helper-objlist): Filter out $(link-libc-deps) from
4532 list of objects.
4533 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
4534 target-specific variable.
4535 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
4536 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
4537 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
4538 libc.
4539 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
4540 libc and ld.so.
4541 ($(objpfx)libpcprofile.so): Likewise.
4542 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
4543 libc_nonshared.a.
4544 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
4545 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
4546 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
4547 $(link-libc-deps).
4548 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
4549 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
4550 * login/Makefile ($(objpfx)libutil.so): Likewise.
4551 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
4552 * math/Makefile ($(objpfx)libm.so): Likewise.
4553 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
4554 $(objpfx)libnsl.so): Define libc-for-link as target-specific
4555 variable instead of depending directly on libc.
4556 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
4557 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
4558 $(link-libc-deps).
4559 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
4560 libc.
4561 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
4562 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
4563 ($(objpfx)libanl.so): Likewise.
4564 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
4565 ld.so.
4566 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
4567 $(link-libc-deps).
4568 * sysdeps/i386/fpu/Makefile: Remove file.
4569 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
4570 ($(objpfx)libm.so): Remove dependency on ld.so.
4571
eca5920c
PF
45722013-05-30 Patsy Franklin <pfrankli@redhat.com>
4573
4574 [BZ # 15553]
4575 * nis/yp_xdr.c (XDRMAXNAME): Define.
4576 (XDRMAXRECORD): Define.
4577 (xdr_domainname): Use XDRMAXNAME.
4578 (xdr_mapname): Likewise.
4579 (xdr_peername): Likewise.
4580 (xdr_keydat): Use XDRMAXRECORD.
4581 (xdr_valdat): Likewise.
4582
45832013-05-30 Jeff Law <law@redhat.com>
96945714
JL
4584
4585 [BZ #14256]
4586 * manual/errno.texi (ESTALE): Update to account for more than
4587 just NFS file systems.
4588 * sysdeps/gnu/errlist.c: Regenerated.
4589
b9375348
SP
45902013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4591
4592 [BZ #15465]
4593 * elf/Makefile (tests): Add tst-null-argv.
4594 (modules-names): Add tst-null-argv-lib.
4595 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
4596 (tst-null-argv-ENV): Set environment for tst-null-argv.
4597 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
4598 (RTLD_PROGNAME): New macro.
4599 * elf/tst-null-argv.c: New test case.
4600 * elf/tst-null-argv-lib.c: Library for test case.
4601 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
4602 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4603 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
4604 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
4605 * elf/dl-init.c (call_init): Likewise.
4606 (_dl_init): Likewise.
4607 * elf/dl-load.c (print_search_path): Likewise.
4608 (_dl_map_object): Likewise.
4609 * elf/dl-lookup.c (do_lookup_x): Likewise.
4610 (add_dependency): Likewise.
4611 (_dl_lookup_symbol_x): Likewise.
4612 (_dl_debug_bindings): Likewise.
4613 * elf/dl-open.c (_dl_show_scope): Likewise.
4614 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4615 * elf/dl-version.c (match_symbol): Likewise.
4616 (_dl_check_map_versions): Likewise.
4617 * elf/rtld.c (dl_main): Likewise.
4618 (print_unresolved): Use RTLD_PROGNAME.
4619 (print_missing_version): Likewise.
4620 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
4621 (elf_machine_rela): Likewise.
4622 * sysdeps/powerpc/powerpc32/dl-machine.c
4623 (__process_machine_rela): Likewise.
4624 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4625 Likewise.
4626 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
4627 Likewise.
4628 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4629 Likewise.
4630 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4631 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
4632 Likewise.
4633 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
4634 Likewise.
4635 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4636
8a9f20c8
CD
46372013-05-28 Carlos O'Donell <carlos@redhat.com>
4638
4639 * po/be.po: Add descriptive title.
4640 * po/zh_CN.po: Likewise.
4641 * po/header.pot: Likewise.
4642
0e60d68e
MF
46432013-05-28 Mike Frysinger <vapier@gentoo.org>
4644
4645 * locale/programs/locarchive.c (create_archive): Inlucde fname in
4646 error message.
4647 (enlarge_archive): Likewise.
4648
56b672e9
BN
46492013-05-28 Ben North <ben@redfrontdoor.org>
4650
4651 * manual/arith.texi (frexp): It is the magnitude of the return
4652 value which lies in [0.5, 1), not the return value itself.
4653
5e056687
AZ
46542013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4655
4656 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4657
2b66ef5d
TS
46582013-05-26 Thomas Schwinge <thomas@codesourcery.com>
4659
528c2405
TS
4660 * stdio-common/bug26.c (main): Correct fscanf template.
4661
07b4c13d
TS
4662 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
4663 declare _dl_skip_args.
4664
ec9dd97c
TS
4665 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
4666 Don't declare.
4667
2b66ef5d
TS
4668 * manual/platform.texi: Add missing @end deftypefun.
4669
4f8dfe27
JM
46702013-05-24 Joseph Myers <joseph@codesourcery.com>
4671
0323d086
JM
4672 [BZ #15529]
4673 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
4674 bit of mantissa of 2^16382.
4675 * math/libm-test.inc (hypot_test_data): Add more tests.
4676
dd4259b9
JM
4677 * math/libm-test.inc: Add drem and pow10 to list of tested
4678 functions.
4679 (pow10_test): New function.
4680 (drem_test): Likewise.
4681 (drem_test_tonearest): Likewise.
4682 (drem_test_towardzero): Likewise.
4683 (drem_test_downward): Likewise.
4684 (drem_test_upward): Likewise.
4685 (main): Call the new functions.
4686
4f8dfe27
JM
4687 * math/libm-test.inc (finite_test_data): Remove.
4688 (finite_test): Run tests from isfinite_test_data.
4689 (gamma_test_data): Remove.
4690 (gamma_test): Run tests from lgamma_test_data.
4691 * sysdeps/i386/fpu/libm-test-ulps: Update.
4692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4693
d116b7c4
AZ
46942013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4695
4696 * manual/platform.texi: Add PowerPC PPR function set documentation.
4697 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
4698 implementation.
4699
e96e3767
CD
47002013-05-24 Carlos O'Donell <carlos@redhat.com>
4701
4702 * math/libm-test.inc (MAX_EXP): Define.
4703 (ULPDIFF): Define.
4704 (ulp): New function.
4705 (check_float_internal): Use ULPDIFF.
4706 (cpow_test): Disable failing test.
4707 (check_ulp): Test ulp() implemetnation.
4708 (main): Call check_ulp before starting tests.
4709
b679a606
JM
47102013-05-24 Joseph Myers <joseph@codesourcery.com>
4711
e8bdba36
JM
4712 * math/gen-libm-test.pl (generate_testfile): Do not handle
4713 START_DATA and END_DATA.
4714 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
4715 END_DATA.
4716 (acos_tonearest_test_data): Likewise.
4717 (acos_towardzero_test_data): Likewise.
4718 (acos_downward_test_data): Likewise.
4719 (acos_upward_test_data): Likewise.
4720 (acosh_test_data): Likewise.
4721 (asin_test_data): Likewise.
4722 (asin_tonearest_test_data): Likewise.
4723 (asin_towardzero_test_data): Likewise.
4724 (asin_downward_test_data): Likewise.
4725 (asin_upward_test_data): Likewise.
4726 (asinh_test_data): Likewise.
4727 (atan_test_data): Likewise.
4728 (atanh_test_data): Likewise.
4729 (atan2_test_data): Likewise.
4730 (cabs_test_data): Likewise.
4731 (cacos_test_data): Likewise.
4732 (cacosh_test_data): Likewise.
4733 (carg_test_data): Likewise.
4734 (casin_test_data): Likewise.
4735 (casinh_test_data): Likewise.
4736 (catan_test_data): Likewise.
4737 (catanh_test_data): Likewise.
4738 (cbrt_test_data): Likewise.
4739 (ccos_test_data): Likewise.
4740 (ccosh_test_data): Likewise.
4741 (ceil_test_data): Likewise.
4742 (cexp_test_data): Likewise.
4743 (cimag_test_data): Likewise.
4744 (clog_test_data): Likewise.
4745 (clog10_test_data): Likewise.
4746 (conj_test_data): Likewise.
4747 (copysign_test_data): Likewise.
4748 (cos_test_data): Likewise.
4749 (cos_tonearest_test_data): Likewise.
4750 (cos_towardzero_test_data): Likewise.
4751 (cos_downward_test_data): Likewise.
4752 (cos_upward_test_data): Likewise.
4753 (cosh_test_data): Likewise.
4754 (cosh_tonearest_test_data): Likewise.
4755 (cosh_towardzero_test_data): Likewise.
4756 (cosh_downward_test_data): Likewise.
4757 (cosh_upward_test_data): Likewise.
4758 (cpow_test_data): Likewise.
4759 (cproj_test_data): Likewise.
4760 (creal_test_data): Likewise.
4761 (csin_test_data): Likewise.
4762 (csinh_test_data): Likewise.
4763 (csqrt_test_data): Likewise.
4764 (ctan_test_data): Likewise.
4765 (ctan_tonearest_test_data): Likewise.
4766 (ctan_towardzero_test_data): Likewise.
4767 (ctan_downward_test_data): Likewise.
4768 (ctan_upward_test_data): Likewise.
4769 (ctanh_test_data): Likewise.
4770 (ctanh_tonearest_test_data): Likewise.
4771 (ctanh_towardzero_test_data): Likewise.
4772 (ctanh_downward_test_data): Likewise.
4773 (ctanh_upward_test_data): Likewise.
4774 (erf_test_data): Likewise.
4775 (erfc_test_data): Likewise.
4776 (exp_test_data): Likewise.
4777 (exp_tonearest_test_data): Likewise.
4778 (exp_towardzero_test_data): Likewise.
4779 (exp_downward_test_data): Likewise.
4780 (exp_upward_test_data): Likewise.
4781 (exp10_test_data): Likewise.
4782 (exp2_test_data): Likewise.
4783 (expm1_test_data): Likewise.
4784 (fabs_test_data): Likewise.
4785 (fdim_test_data): Likewise.
4786 (finite_test_data): Likewise.
4787 (floor_test_data): Likewise.
4788 (fma_test_data): Likewise.
4789 (fma_towardzero_test_data): Likewise.
4790 (fma_downward_test_data): Likewise.
4791 (fma_upward_test_data): Likewise.
4792 (fmax_test_data): Likewise.
4793 (fmin_test_data): Likewise.
4794 (fmod_test_data): Likewise.
4795 (fpclassify_test_data): Likewise.
4796 (frexp_test_data): Likewise.
4797 (gamma_test_data): Likewise.
4798 (hypot_test_data): Likewise.
4799 (ilogb_test_data): Likewise.
4800 (isfinite_test_data): Likewise.
4801 (isgreater_test_data): Likewise.
4802 (isgreaterequal_test_data): Likewise.
4803 (isinf_test_data): Likewise.
4804 (isless_test_data): Likewise.
4805 (islessequal_test_data): Likewise.
4806 (islessgreater_test_data): Likewise.
4807 (isnan_test_data): Likewise.
4808 (isnormal_test_data): Likewise.
4809 (issignaling_test_data): Likewise.
4810 (isunordered_test_data): Likewise.
4811 (j0_test_data): Likewise.
4812 (j1_test_data): Likewise.
4813 (jn_test_data): Likewise.
4814 (ldexp_test_data): Likewise.
4815 (lgamma_test_data): Likewise.
4816 (lrint_test_data): Likewise.
4817 (lrint_tonearest_test_data): Likewise.
4818 (lrint_towardzero_test_data): Likewise.
4819 (lrint_downward_test_data): Likewise.
4820 (lrint_upward_test_data): Likewise.
4821 (llrint_test_data): Likewise.
4822 (llrint_tonearest_test_data): Likewise.
4823 (llrint_towardzero_test_data): Likewise.
4824 (llrint_downward_test_data): Likewise.
4825 (llrint_upward_test_data): Likewise.
4826 (log_test_data): Likewise.
4827 (log10_test_data): Likewise.
4828 (log1p_test_data): Likewise.
4829 (log2_test_data): Likewise.
4830 (logb_test_data): Likewise.
4831 (logb_downward_test_data): Likewise.
4832 (lround_test_data): Likewise.
4833 (llround_test_data): Likewise.
4834 (modf_test_data): Likewise.
4835 (nearbyint_test_data): Likewise.
4836 (nextafter_test_data): Likewise.
4837 (nexttoward_test_data): Likewise.
4838 (pow_test_data): Likewise.
4839 (pow_tonearest_test_data): Likewise.
4840 (pow_towardzero_test_data): Likewise.
4841 (pow_downward_test_data): Likewise.
4842 (pow_upward_test_data): Likewise.
4843 (remainder_test_data): Likewise.
4844 (remainder_tonearest_test_data): Likewise.
4845 (remainder_towardzero_test_data): Likewise.
4846 (remainder_downward_test_data): Likewise.
4847 (remainder_upward_test_data): Likewise.
4848 (remquo_test_data): Likewise.
4849 (rint_test_data): Likewise.
4850 (rint_tonearest_test_data): Likewise.
4851 (rint_towardzero_test_data): Likewise.
4852 (rint_downward_test_data): Likewise.
4853 (rint_upward_test_data): Likewise.
4854 (round_test_data): Likewise.
4855 (scalb_test_data): Likewise.
4856 (scalbn_test_data): Likewise.
4857 (scalbln_test_data): Likewise.
4858 (signbit_test_data): Likewise.
4859 (sin_test_data): Likewise.
4860 (sin_tonearest_test_data): Likewise.
4861 (sin_towardzero_test_data): Likewise.
4862 (sin_downward_test_data): Likewise.
4863 (sin_upward_test_data): Likewise.
4864 (sincos_test_data): Likewise.
4865 (sinh_test_data): Likewise.
4866 (sinh_tonearest_test_data): Likewise.
4867 (sinh_towardzero_test_data): Likewise.
4868 (sinh_downward_test_data): Likewise.
4869 (sinh_upward_test_data): Likewise.
4870 (sqrt_test_data): Likewise.
4871 (tan_test_data): Likewise.
4872 (tan_tonearest_test_data): Likewise.
4873 (tan_towardzero_test_data): Likewise.
4874 (tan_downward_test_data): Likewise.
4875 (tan_upward_test_data): Likewise.
4876 (tanh_test_data): Likewise.
4877 (tgamma_test_data): Likewise.
4878 (trunc_test_data): Likewise.
4879 (y0_test_data): Likewise.
4880 (y1_test_data): Likewise.
4881 (yn_test_data): Likewise.
4882 (significand_test_data): Likewise.
4883
b679a606
JM
4884 * math/gen-libm-test.pl (@functions): Remove variable.
4885 (generate_testfile): Don't handle START and END lines.
4886 * math/libm-test.inc (START): New macro.
4887 (END): Likewise.
4888 (END_COMPLEX): Likewise.
4889 (acos_test): Use END macro without arguments.
4890 (acos_test_tonearest): Likewise.
4891 (acos_test_towardzero): Likewise.
4892 (acos_test_downward): Likewise.
4893 (acos_test_upward): Likewise.
4894 (acosh_test): Likewise.
4895 (asin_test): Likewise.
4896 (asin_test_tonearest): Likewise.
4897 (asin_test_towardzero): Likewise.
4898 (asin_test_downward): Likewise.
4899 (asin_test_upward): Likewise.
4900 (asinh_test): Likewise.
4901 (atan_test): Likewise.
4902 (atanh_test): Likewise.
4903 (atan2_test): Likewise.
4904 (cabs_test): Likewise.
4905 (cacos_test): Use END_COMPLEX macro without arguments.
4906 (cacosh_test): Likewise.
4907 (carg_test): Use END macro without arguments.
4908 (casin_test): Use END_COMPLEX macro without arguments.
4909 (casinh_test): Likewise.
4910 (catan_test): Likewise.
4911 (catanh_test): Likewise.
4912 (cbrt_test): Use END macro without arguments.
4913 (ccos_test): Use END_COMPLEX macro without arguments.
4914 (ccosh_test): Likewise.
4915 (ceil_test): Use END macro without arguments.
4916 (cexp_test): Use END_COMPLEX macro without arguments.
4917 (cimag_test): Use END macro without arguments.
4918 (clog_test): Use END_COMPLEX macro without arguments.
4919 (clog10_test): Likewise.
4920 (conj_test): Likewise.
4921 (copysign_test): Use END macro without arguments.
4922 (cos_test): Likewise.
4923 (cos_test_tonearest): Likewise.
4924 (cos_test_towardzero): Likewise.
4925 (cos_test_downward): Likewise.
4926 (cos_test_upward): Likewise.
4927 (cosh_test): Likewise.
4928 (cosh_test_tonearest): Likewise.
4929 (cosh_test_towardzero): Likewise.
4930 (cosh_test_downward): Likewise.
4931 (cosh_test_upward): Likewise.
4932 (cpow_test): Use END_COMPLEX macro without arguments.
4933 (cproj_test): Likewise.
4934 (creal_test): Use END macro without arguments.
4935 (csin_test): Use END_COMPLEX macro without arguments.
4936 (csinh_test): Likewise.
4937 (csqrt_test): Likewise.
4938 (ctan_test): Likewise.
4939 (ctan_test_tonearest): Likewise.
4940 (ctan_test_towardzero): Likewise.
4941 (ctan_test_downward): Likewise.
4942 (ctan_test_upward): Likewise.
4943 (ctanh_test): Likewise.
4944 (ctanh_test_tonearest): Likewise.
4945 (ctanh_test_towardzero): Likewise.
4946 (ctanh_test_downward): Likewise.
4947 (ctanh_test_upward): Likewise.
4948 (erf_test): Use END macro without arguments.
4949 (erfc_test): Likewise.
4950 (exp_test): Likewise.
4951 (exp_test_tonearest): Likewise.
4952 (exp_test_towardzero): Likewise.
4953 (exp_test_downward): Likewise.
4954 (exp_test_upward): Likewise.
4955 (exp10_test): Likewise.
4956 (exp2_test): Likewise.
4957 (expm1_test): Likewise.
4958 (fabs_test): Likewise.
4959 (fdim_test): Likewise.
4960 (finite_test): Likewise.
4961 (floor_test): Likewise.
4962 (fma_test): Likewise.
4963 (fma_test_towardzero): Likewise.
4964 (fma_test_downward): Likewise.
4965 (fma_test_upward): Likewise.
4966 (fmax_test): Likewise.
4967 (fmin_test): Likewise.
4968 (fmod_test): Likewise.
4969 (fpclassify_test): Likewise.
4970 (frexp_test): Likewise.
4971 (gamma_test): Likewise.
4972 (hypot_test): Likewise.
4973 (ilogb_test): Likewise.
4974 (isfinite_test): Likewise.
4975 (isgreater_test): Likewise.
4976 (isgreaterequal_test): Likewise.
4977 (isinf_test): Likewise.
4978 (isless_test): Likewise.
4979 (islessequal_test): Likewise.
4980 (islessgreater_test): Likewise.
4981 (isnan_test): Likewise.
4982 (isnormal_test): Likewise.
4983 (issignaling_test): Likewise.
4984 (isunordered_test): Likewise.
4985 (j0_test): Likewise.
4986 (j1_test): Likewise.
4987 (jn_test): Likewise.
4988 (ldexp_test): Likewise.
4989 (lgamma_test): Likewise.
4990 (lrint_test): Likewise.
4991 (lrint_test_tonearest): Likewise.
4992 (lrint_test_towardzero): Likewise.
4993 (lrint_test_downward): Likewise.
4994 (lrint_test_upward): Likewise.
4995 (llrint_test): Likewise.
4996 (llrint_test_tonearest): Likewise.
4997 (llrint_test_towardzero): Likewise.
4998 (llrint_test_downward): Likewise.
4999 (llrint_test_upward): Likewise.
5000 (log_test): Likewise.
5001 (log10_test): Likewise.
5002 (log1p_test): Likewise.
5003 (log2_test): Likewise.
5004 (logb_test): Likewise.
5005 (logb_test_downward): Likewise.
5006 (lround_test): Likewise.
5007 (llround_test): Likewise.
5008 (modf_test): Likewise.
5009 (nearbyint_test): Likewise.
5010 (nextafter_test): Likewise.
5011 (nexttoward_test): Likewise.
5012 (pow_test): Likewise.
5013 (pow_test_tonearest): Likewise.
5014 (pow_test_towardzero): Likewise.
5015 (pow_test_downward): Likewise.
5016 (pow_test_upward): Likewise.
5017 (remainder_test): Likewise.
5018 (remainder_test_tonearest): Likewise.
5019 (remainder_test_towardzero): Likewise.
5020 (remainder_test_downward): Likewise.
5021 (remainder_test_upward): Likewise.
5022 (remquo_test): Likewise.
5023 (rint_test): Likewise.
5024 (rint_test_tonearest): Likewise.
5025 (rint_test_towardzero): Likewise.
5026 (rint_test_downward): Likewise.
5027 (rint_test_upward): Likewise.
5028 (round_test): Likewise.
5029 (scalb_test): Likewise.
5030 (scalbn_test): Likewise.
5031 (scalbln_test): Likewise.
5032 (signbit_test): Likewise.
5033 (sin_test): Likewise.
5034 (sin_test_tonearest): Likewise.
5035 (sin_test_towardzero): Likewise.
5036 (sin_test_downward): Likewise.
5037 (sin_test_upward): Likewise.
5038 (sincos_test): Likewise.
5039 (sinh_test): Likewise.
5040 (sinh_test_tonearest): Likewise.
5041 (sinh_test_towardzero): Likewise.
5042 (sinh_test_downward): Likewise.
5043 (sinh_test_upward): Likewise.
5044 (sqrt_test): Likewise.
5045 (tan_test): Likewise.
5046 (tan_test_tonearest): Likewise.
5047 (tan_test_towardzero): Likewise.
5048 (tan_test_downward): Likewise.
5049 (tan_test_upward): Likewise.
5050 (tanh_test): Likewise.
5051 (tgamma_test): Likewise.
5052 (trunc_test): Likewise.
5053 (y0_test): Likewise.
5054 (y1_test): Likewise.
5055 (yn_test): Likewise.
5056 (significand_test): Likewise.
5057
bae143d2
OB
50582013-05-24 Ondřej Bílka <neleai@seznam.cz>
5059
5060 [BZ #15381]
5061 * libio/genops.c (_IO_no_init): Initialize wide struct info.
5062
9323d39b
EM
50632013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
5064
d4ea44a0 5065 [BZ #14894]
9323d39b
EM
5066 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
5067 __ppc_mdoio and __ppc_mdoom.
5068 * manual/platform.texi: Document new functions __ppc_yield,
5069 __ppc_mdoio and __ppc_mdoom.
5070
13e23af7
CD
50712013-05-22 Carlos O'Donell <carlos@redhat.com>
5072
5073 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
5074 (main): Mention "tls" pseudo-hwcap is legacy.
5075 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
5076
351fe550
JM
50772013-05-22 Joseph Myers <joseph@codesourcery.com>
5078
5079 * math/gen-libm-test.pl (parse_args): Output only string of
5080 arguments as text for test name, not full call or descriptions of
5081 tests for extra outputs.
5082 (generate_testfile): Do not pass function name to parse_args.
5083 Generate this_func variable from START.
5084 * math/libm-test.inc (struct test_f_f_data): Rename test_name
5085 field to arg_str.
5086 (struct test_ff_f_data): Likewise.
5087 (test_ff_f_data_nexttoward): Likewise.
5088 (struct test_fi_f_data): Likewise.
5089 (struct test_fl_f_data): Likewise.
5090 (struct test_if_f_data): Likewise.
5091 (struct test_fff_f_data): Likewise.
5092 (struct test_c_f_data): Likewise.
5093 (struct test_f_f1_data): Likewise. Remove field extra_name.
5094 (struct test_fF_f1_data): Likewise.
5095 (struct test_ffI_f1_data): Likewise.
5096 (struct test_c_c_data): Rename test_name field to arg_str.
5097 (struct test_cc_c_data): Likewise.
5098 (struct test_f_i_data): Likewise.
5099 (struct test_ff_i_data): Likewise.
5100 (struct test_f_l_data): Likewise.
5101 (struct test_f_L_data): Likewise.
5102 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
5103 and extra2_name.
5104 (COMMON_TEST_SETUP): New macro.
5105 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
5106 (COMMON_TEST_CLEANUP): Likewise.
5107 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
5108 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
5109 macros.
5110 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
5111 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
5112 macros.
5113 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
5114 (RUN_TEST_fff_f): Take argument string. Call new setup and
5115 cleanup macros.
5116 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
5117 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
5118 macros.
5119 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
5120 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
5121 macros.
5122 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5123 (RUN_TEST_fF_f1): Take argument string. Call new setup and
5124 cleanup macros.
5125 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5126 (RUN_TEST_fI_f1): Take argument string. Call new setup and
5127 cleanup macros.
5128 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5129 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
5130 cleanup macros.
5131 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5132 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
5133 macros.
5134 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
5135 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
5136 macros.
5137 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
5138 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
5139 macros.
5140 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
5141 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
5142 cleanup macros.
5143 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
5144 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
5145 cleanup macros.
5146 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
5147 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
5148 macros.
5149 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
5150 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
5151 cleanup macros.
5152 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
5153 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
5154 macros.
5155 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
5156 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
5157 macros.
5158 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
5159 (RUN_TEST_fFF_11): Take argument string. Call new setup and
5160 cleanup macros.
5161 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
5162
85118d4d
EBM
51632013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5164
5165 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
5166 to _sifields.sigfault.
5167 (si_addr_lsb): Define new macro.
5168 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5169 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5170 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
5171
7a44c18f
CD
51722013-05-03 Carlos O'Donell <carlos at redhat.com>
5173
5174 [BZ #15441]
5175 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
5176 returns -1.
5177 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
5178 null return -1.
5179 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
5180 loading the domain.
5181
b50a7181
JM
51822013-05-22 Joseph Myers <joseph@codesourcery.com>
5183
5184 * math/gen-libm-test.pl (parse_args): Do not include expected
5185 result in test name.
5186 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
5187 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5188 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5189 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5190 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5192
051063c8
SP
51932013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5194
3ce9e010
SP
5195 * benchtests/Makefile: Sort function entries.
5196
051063c8
SP
5197 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
5198 tanh, asinh, acosh, atanh.
5199 * benchtests/acos-inputs: New file.
5200 * benchtests/acosh-inputs: New file.
5201 * benchtests/asin-inputs: New file.
5202 * benchtests/asinh-inputs: New file.
5203 * benchtests/atanh-inputs: New file.
5204 * benchtests/cosh-inputs: New file.
5205 * benchtests/log-inputs: New file.
5206 * benchtests/sinh-inputs: New file.
5207 * benchtests/tanh-inputs: New file.
5208
47c22455
DL
52092013-05-21 Dmitry V. Levin <ldv@altlinux.org>
5210
5211 [BZ #15339]
5212 * posix/tst-getaddrinfo4.c: New test.
5213 * posix/Makefile (tests): Add it.
5214
3d04f5db
SP
52152013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5216
5217 [BZ #15339]
5218 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
5219 when no services were used.
5220 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
5221 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
5222
d5dd6189
AS
52232013-05-21 Andreas Schwab <schwab@suse.de>
5224
5225 [BZ #15014]
5226 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
5227 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
5228 successful.
5229 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
5230 redundant variable declarations and reallocation of buffer when
5231 parsing as IPv6 address. Always set NSS status when called from
5232 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
5233 buffer too small. Correct computation of needed size.
5234 * nss/Makefile (tests): Add test-digits-dots.
5235 * nss/test-digits-dots.c: New test.
5236
fef94eab
SP
52372013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5238
5239 * benchtests/Makefile: Remove instructions for adding
5240 benchmark tests.
5241 * benchtests/README: New file to explain how to execute and
5242 enhance the benchmark tests.
5243
e39adf43
AS
52442013-05-21 Andreas Schwab <schwab@suse.de>
5245
5246 [BZ #15493]
5247 * setjmp/Makefile (tests): Add tst-sigsetjmp.
5248 * setjmp/tst-sigsetjmp.c: New test.
5249
b2b671b6
OB
52502013-05-20 Ondřej Bílka <neleai@seznam.cz>
5251
5252 * sysdeps/x86_64/memset.S (memset): New implementation.
5253 (__bzero): Likewise.
5254 (__memset_tail): New function.
5255
2d48b41c
OB
52562013-05-20 Ondřej Bílka <neleai@seznam.cz>
5257
5258 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
5259 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
5260 __memcpy_sse2_unaligned ifunc selection.
5261 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5262 Add memcpy-sse2-unaligned.S.
5263 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5264 Add: __memcpy_sse2_unaligned.
5265
f16cc3eb
JM
52662013-05-19 Joseph Myers <joseph@codesourcery.com>
5267
3e694268
JM
5268 [BZ #15490]
5269 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
5270 math_force_eval before restoring floating-point envrionment.
5271 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
5272 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
5273 Likewise.
5274 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
5275 <math_private.h>.
5276 (__nearbyintl): Use math_force_eval before restoring
5277 floating-point environment.
5278 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
5279
db62a907
JM
5280 * math/gen-libm-test.pl (special_functions): Remove.
5281 (parse_args): Don't handle TEST_extra. Handle functions with no
5282 return value.
5283 * math/libm-test.inc (struct test_sincos_data): Replace with
5284 struct test_fFF_11_data.
5285 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
5286 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
5287 (sincos_test_data): Change element type to struct
5288 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
5289 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
5290 RUN_TEST_LOOP_sincos.
5291 * math/README.libm-test: Don't mention special handling of
5292 individual functions.
5293 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
5294 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5295 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5296 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5297 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5299
f16cc3eb
JM
5300 * math/gen-libm-test.pl (get_variable): Remove function.
5301 (parse_args): Don't show pointer parameters to call in test
5302 names. Use "extra output N" in test names for extra outputs
5303 rather than naming variables.
5304
3779b5b6
JM
53052013-05-18 Joseph Myers <joseph@codesourcery.com>
5306
2ee094ff
JM
5307 [BZ #15488]
5308 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
5309 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
5310 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
5311 double tests.
5312 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
5313 disable.
5314 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
5315 check_long_double.
5316
3779b5b6
JM
5317 * math/gen-libm-test.pl (@tests): Remove variable.
5318 ($count): Likewise.
5319 (new_test): Remove function.
5320 (show_exceptions): New function.
5321 (special_functions): Use show_exceptions instead of new_test.
5322 (parse_args): Likewise.
5323 (generate_testfile): Pass only function name in generated call to
5324 print_max_error or print_complex_max_error.
5325 (get_ulps): Do not handle complex tests specially.
5326 (output_test): Rename to ...
5327 (get_all_ulps_for_test): ... this. Return a string rather than
5328 printing to a file. Require ulps to be present.
5329 (output_ulps): Generate arrays rather than #defines.
5330 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
5331 (struct ulp_data): New type.
5332 (BUILD_COMPLEX_ULP): Remove macro.
5333 (compare_ulp_data): New function.
5334 (find_ulps): Likewise.
5335 (find_test_ulps): Likewise.
5336 (find_function_ulps): Likewise.
5337 (find_complex_function_ulps): Likewise.
5338 (print_max_error): Determine allowed ulps using
5339 find_function_ulps.
5340 (print_complex_max_error): Determine allowed ulps using
5341 find_complex_function_ulps.
5342 (check_float_internal): Determine max ulps using find_test_ulps.
5343 (check_float): Do not take max_ulp parameter. Update call to
5344 check_float_internal.
5345 (check_complex): Likewise.
5346 (check_int): Do not take max_ulp parameter.
5347 (check_long): Likewise.
5348 (check_bool): Likewise.
5349 (check_longlong): Likewise.
5350 (struct test_f_f_data): Remove max_ulp field.
5351 (struct test_ff_f_data): Likewise.
5352 (struct test_ff_f_data_nexttoward): Likewise.
5353 (struct test_fi_f_data): Likewise.
5354 (struct test_fl_f_data): Likewise.
5355 (struct test_if_f_data): Likewise.
5356 (struct test_fff_f_data): Likewise.
5357 (struct test_c_f_data): Likewise.
5358 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
5359 (struct test_fF_f1_data): Likewise.
5360 (struct test_ffI_f1_data): Likewise.
5361 (struct test_c_c_data): Remove max_ulp field.
5362 (struct test_cc_c_data): Likewise.
5363 (struct test_f_i_data): Likewise.
5364 (struct test_ff_i_data): Likewise.
5365 (struct test_f_l_data): Likewise.
5366 (struct test_f_L_data): Likewise.
5367 (struct test_sincos_data): Likewise.
5368 (RUN_TEST_f_f): Do not handle ulps.
5369 (RUN_TEST_LOOP_f_f): Likewise.
5370 (RUN_TEST_2_f): Likewise.
5371 (RUN_TEST_LOOP_2_f): Likewise.
5372 (RUN_TEST_fff_f): Likewise.
5373 (RUN_TEST_LOOP_fff_f): Likewise.
5374 (RUN_TEST_c_f): Likewise.
5375 (RUN_TEST_LOOP_c_f): Likewise.
5376 (RUN_TEST_f_f1): Likewise.
5377 (RUN_TEST_LOOP_f_f1): Likewise.
5378 (RUN_TEST_fF_f1): Likewise.
5379 (RUN_TEST_LOOP_fF_f1): Likewise.
5380 (RUN_TEST_fI_f1): Likewise.
5381 (RUN_TEST_LOOP_fI_f1): Likewise.
5382 (RUN_TEST_ffI_f1): Likewise.
5383 (RUN_TEST_LOOP_ffI_f1): Likewise.
5384 (RUN_TEST_c_c): Likewise.
5385 (RUN_TEST_LOOP_c_c): Likewise.
5386 (RUN_TEST_cc_c): Likewise.
5387 (RUN_TEST_LOOP_cc_c): Likewise.
5388 (RUN_TEST_f_i): Likewise.
5389 (RUN_TEST_LOOP_f_i): Likewise.
5390 (RUN_TEST_f_i_tg): Likewise.
5391 (RUN_TEST_LOOP_f_i_tg): Likewise.
5392 (RUN_TEST_ff_i_tg): Likewise.
5393 (RUN_TEST_LOOP_ff_i_tg): Likewise.
5394 (RUN_TEST_f_b): Likewise.
5395 (RUN_TEST_LOOP_f_b): Likewise.
5396 (RUN_TEST_f_b_tg): Likewise.
5397 (RUN_TEST_LOOP_f_b_tg): Likewise.
5398 (RUN_TEST_f_l): Likewise.
5399 (RUN_TEST_LOOP_f_l): Likewise.
5400 (RUN_TEST_f_L): Likewise.
5401 (RUN_TEST_LOOP_f_L): Likewise.
5402 (RUN_TEST_sincos): Likewise.
5403 (RUN_TEST_LOOP_sincos): Likewise.
5404
8269107f
JM
54052013-05-17 Joseph Myers <joseph@codesourcery.com>
5406
bb38759d
JM
5407 [BZ #15480]
5408 [BZ #15485]
5409 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
5410 main case of finite arguments, set rounding mode to FE_TONEAREST
5411 and discard exceptions.
5412 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
5413 exceptions.
5414 (remainder_tonearest_test_data): New variable.
5415 (remainder_test_tonearest): New function.
5416 (remainder_towardzero_test_data): New variable.
5417 (remainder_test_towardzero): New function.
5418 (remainder_downward_test_data): New variable.
5419 (remainder_test_downward): New function.
5420 (remainder_upward_test_data): New variable.
5421 (remainder_test_upward): New function.
5422 (main): Call the new test functions.
5423
a00bdcf0
JM
5424 * math/libm-test.inc (struct test_f_f1_data): Remove field
5425 extra_init.
5426 (struct test_fF_f1_data): Likewise.
5427 (struct test_ffI_f1_data): Likewise.
5428 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
5429 based on value of EXTRA_EXPECTED.
5430 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5431 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
5432 EXTRA_VAR based on value of EXTRA_EXPECTED.
5433 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5434 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
5435 EXTRA_VAR based on value of EXTRA_EXPECTED.
5436 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5437 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
5438 EXTRA_VAR based on value of EXTRA_EXPECTED.
5439 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5440 * math/gen-libm-test.pl (parse_args): Don't output initializers
5441 for extra output values.
5442
de407f79
JM
5443 * math/libm-test.inc (check_int): Expect result to be exactly
5444 equal to expected value and do not handle ulps.
5445 (check_long): Likewise.
5446 (check_longlong): Likewise.
5447
8269107f
JM
5448 * math/libm-test.inc (ceil_test_data): Test for "inexact"
5449 exceptions.
5450 (cimag_test_data): Likewise.
5451 (conj_test_data): Likewise.
5452 (copysign_test_data): Likewise.
5453 (cproj_test_data): Likewise.
5454 (creal_test_data): Likewise.
5455 (fabs_test_data): Likewise.
5456 (fdim_test_data): Likewise.
5457 (finite_test_data): Likewise.
5458 (floor_test_data): Likewise.
5459 (fmax_test_data): Likewise.
5460 (fmin_test_data): Likewise.
5461 (fmod_test_data): Likewise.
5462 (fpclassify_test_data): Likewise.
5463 (frexp_test_data): Likewise.
5464 (ilogb_test_data): Likewise.
5465 (isfinite_test_data): Likewise.
5466 (isgreater_test_data): Likewise.
5467 (isgreaterequal_test_data): Likewise.
5468 (isinf_test_data): Likewise.
5469 (isless_test_data): Likewise.
5470 (islessequal_test_data): Likewise.
5471 (islessgreater_test_data): Likewise.
5472 (isnan_test_data): Likewise.
5473 (isnormal_test_data): Likewise.
5474 (issignaling_test_data): Likewise.
5475 (isunordered_test_data): Likewise.
5476 (ldexp_test_data): Likewise.
5477 (lrint_test_data): Likewise.
5478 (lrint_test_data) [TEST_FLOAT]: Disable one test.
5479 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
5480 (lrint_tonearest_test_data): Test for "inexact" exceptions.
5481 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5482 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
5483 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5484 test input.
5485 (lrint_towardzero_test_data): Test for "inexact" exceptions.
5486 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5487 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
5488 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
5489 that test input.
5490 (lrint_downward_test_data): Test for "inexact" exceptions.
5491 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5492 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
5493 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5494 test input.
5495 (lrint_upward_test_data): Test for "inexact" exceptions.
5496 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
5497 test input.
5498 (llrint_test_data): Test for "inexact" exceptions.
5499 (llrint_test_data) [TEST_FLOAT]: Disable one test.
5500 (llrint_tonearest_test_data): Test for "inexact" exceptions.
5501 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5502 (llrint_towardzero_test_data): Test for "inexact" exceptions.
5503 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5504 (llrint_downward_test_data): Test for "inexact" exceptions.
5505 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5506 (llrint_upward_test_data): Test for "inexact" exceptions.
5507 (logb_test_data): Likewise.
5508 (logb_downward_test_data): Likewise.
5509 (nextafter_test_data): Likewise.
5510 (nexttoward_test_data): Likewise.
5511 (remainder_test_data): Likewise.
5512 (remquo_test_data): Likewise.
5513 (scalbn_test_data): Likewise.
5514 (scalbln_test_data): Likewise.
5515 (signbit_test_data): Likewise.
5516 (sqrt_test_data): Likewise.
5517 (significand_test_data): Likewise.
5518
48a18de1
SP
55192013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5520
5521 [BZ #15424]
5522 * benchtests/bench-modf.c (struct args): Mark arg0 as
5523 volatile.
5524 * scripts/bench.pl: Mark members of struct args as volatile.
5525
13d3b41a
AZ
55262013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5527
68191c1d 5528 [BZ # 15497]
13d3b41a
AZ
5529 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
5530 negative infinity on POWER6 or lower.
5531 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
5532
2848b105
MR
55332013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5534
5535 [BZ #15442]
5536 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
5537 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
5538 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
5539 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
5540 (_FP_SETQNAN): New macro.
5541 (_FP_SETQNAN_SEMIRAW): Likewise.
5542 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
5543 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
5544 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
5545 (FP_EXTEND): Use _FP_FRAC_SNANP.
5546 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
5547 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
5548 into account.
5549 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5550 New macro.
5551 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5552 Likewise.
5553
323e5cb7
JM
55542013-05-16 Joseph Myers <joseph@codesourcery.com>
5555
c58b274f
JM
5556 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
5557 with DIVIDE_BY_ZERO_EXCEPTION.
5558 (gamma_test_data): Likewise.
5559 (lgamma_test_data): Likewise.
5560 (log_test_data): Likewise.
5561 (log10_test_data): Likewise.
5562 (log2_test_data): Likewise.
5563 (tgamma_test_data): Likewise.
5564
0ab34904
JM
5565 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
5566 (acos_test_tonearest): Likewise.
5567 (acos_test_towardzero): Likewise.
5568 (acos_test_downward): Likewise.
5569 (acos_test_upward): Likewise.
5570 (acosh_test): Likewise.
5571 (asin_test): Likewise.
5572 (asin_test_tonearest): Likewise.
5573 (asin_test_towardzero): Likewise.
5574 (asin_test_downward): Likewise.
5575 (asin_test_upward): Likewise.
5576 (asinh_test): Likewise.
5577 (atan_test): Likewise.
5578 (atanh_test): Likewise.
5579 (atan2_test): Likewise.
5580 (cabs_test): Likewise.
5581 (cacos_test): Likewise.
5582 (cacosh_test): Likewise.
5583 (casin_test): Likewise.
5584 (casinh_test): Likewise.
5585 (catan_test): Likewise.
5586 (catanh_test): Likewise.
5587 (cbrt_test): Likewise.
5588 (ccos_test): Likewise.
5589 (ccosh_test): Likewise.
5590 (cexp_test): Likewise.
5591 (clog_test): Likewise.
5592 (clog10_test): Likewise.
5593 (cos_test): Likewise.
5594 (cos_test_tonearest): Likewise.
5595 (cos_test_towardzero): Likewise.
5596 (cos_test_downward): Likewise.
5597 (cos_test_upward): Likewise.
5598 (cosh_test): Likewise.
5599 (cosh_test_tonearest): Likewise.
5600 (cosh_test_towardzero): Likewise.
5601 (cosh_test_downward): Likewise.
5602 (cosh_test_upward): Likewise.
5603 (cpow_test): Likewise.
5604 (csin_test): Likewise.
5605 (csinh_test): Likewise.
5606 (csqrt_test): Likewise.
5607 (ctan_test): Likewise.
5608 (ctan_test_tonearest): Likewise.
5609 (ctan_test_towardzero): Likewise.
5610 (ctan_test_downward): Likewise.
5611 (ctan_test_upward): Likewise.
5612 (ctanh_test): Likewise.
5613 (ctanh_test_tonearest): Likewise.
5614 (ctanh_test_towardzero): Likewise.
5615 (ctanh_test_downward): Likewise.
5616 (ctanh_test_upward): Likewise.
5617 (erf_test): Likewise.
5618 (erfc_test): Likewise.
5619 (exp_test): Likewise.
5620 (exp_test_tonearest): Likewise.
5621 (exp_test_towardzero): Likewise.
5622 (exp_test_downward): Likewise.
5623 (exp_test_upward): Likewise.
5624 (exp10_test): Likewise.
5625 (exp2_test): Likewise.
5626 (expm1_test): Likewise.
5627 (fmod_test): Likewise.
5628 (gamma_test): Likewise.
5629 (hypot_test): Likewise.
5630 (j0_test): Likewise.
5631 (j1_test): Likewise.
5632 (jn_test): Likewise.
5633 (lgamma_test): Likewise.
5634 (log_test): Likewise.
5635 (log10_test): Likewise.
5636 (log1p_test): Likewise.
5637 (log2_test): Likewise.
5638 (logb_test_downward): Likewise.
5639 (pow_test): Likewise.
5640 (pow_test_tonearest): Likewise.
5641 (pow_test_towardzero): Likewise.
5642 (pow_test_downward): Likewise.
5643 (pow_test_upward): Likewise.
5644 (remainder_test): Likewise.
5645 (remquo_test): Likewise.
5646 (sin_test): Likewise.
5647 (sin_test_tonearest): Likewise.
5648 (sin_test_towardzero): Likewise.
5649 (sin_test_downward): Likewise.
5650 (sin_test_upward): Likewise.
5651 (sincos_test): Likewise.
5652 (sinh_test): Likewise.
5653 (sinh_test_tonearest): Likewise.
5654 (sinh_test_towardzero): Likewise.
5655 (sinh_test_downward): Likewise.
5656 (sinh_test_upward): Likewise.
5657 (sqrt_test): Likewise.
5658 (tan_test): Likewise.
5659 (tan_test_tonearest): Likewise.
5660 (tan_test_towardzero): Likewise.
5661 (tan_test_downward): Likewise.
5662 (tan_test_upward): Likewise.
5663 (tanh_test): Likewise.
5664 (tgamma_test): Likewise.
5665 (y0_test): Likewise.
5666 (y1_test): Likewise.
5667 (yn_test): Likewise.
5668
323e5cb7
JM
5669 * math/gen-libm-test.pl (adjust_arg): Remove function.
5670 (special_function): Remove argument $in_func. Only handle
5671 generating output for tables of tests, not inside functions.
5672 (parse_args): Likewise.
5673 (generate_testfile): Remove variable $in_func. Update call to
5674 parse_args.
5675 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
5676 (MINUS_ZERO_INIT): Rename macro to minus_zero.
5677 (PLUS_INFTY_INIT): Rename macro to plus_infty.
5678 (MINUS_INFTY_INIT): Rename macro to minus_infty.
5679 (QNAN_VALUE_INIT): Rename macro to qnan_value.
5680 (MAX_VALUE_INIT): Rename macro to max_value.
5681 (MIN_VALUE_INIT): Rename macro to min_value.
5682 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
5683 (plus_zero): Remove variable.
5684 (minus_zero): Likewise.
5685 (plus_infty): Likewise.
5686 (minus_infty): Likewise.
5687 (qnan_value): Likewise.
5688 (max_value): Likewise.
5689 (min_value): Likewise.
5690 (min_subnorm_value): Likewise.
5691
e054f494
RA
56922013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5693
5694 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
5695 uint64_t or uint32_t usage.
5696 * crypt/sha256-block.c: Likewise.
5697 * crypt/sha256-crypt.c: Likewise.
5698 * crypt/sha256.c: Likewise.
5699 * crypt/sha512-block.c: Likewise.
5700 * crypt/sha512-crypt.c: Likewise.
5701 * crypt/sha512.c: Likewise.
5702 * debug/backtrace-tst.c: Likewise.
5703 * debug/pcprofiledump.c: Likewise.
5704 * elf/cache.c: Likewise.
5705 * elf/dl-cache.c: Likewise.
5706 * elf/dl-misc.c: Likewise.
5707 * elf/dl-profile.c: Likewise.
5708 * elf/dl-support.c: Likewise.
5709 * elf/ldconfig.c: Likewise.
5710 * elf/sprof.c: Likewise.
5711 * iconv/dummy-repertoire.c: Likewise.
5712 * iconv/iconv_charmap.c: Likewise.
5713 * iconv/skeleton.c: Likewise.
5714 * iconvdata/8bit-generic.c: Likewise.
5715 * iconvdata/cp737.h: Likewise.
5716 * iconvdata/cp775.h: Likewise.
5717 * iconvdata/ibm1008.h: Likewise.
5718 * iconvdata/ibm1025.h: Likewise.
5719 * iconvdata/ibm1046.h: Likewise.
5720 * iconvdata/ibm1097.h: Likewise.
5721 * iconvdata/ibm1112.h: Likewise.
5722 * iconvdata/ibm1122.h: Likewise.
5723 * iconvdata/ibm1123.h: Likewise.
5724 * iconvdata/ibm1124.h: Likewise.
5725 * iconvdata/ibm1129.h: Likewise.
5726 * iconvdata/ibm1130.h: Likewise.
5727 * iconvdata/ibm1132.h: Likewise.
5728 * iconvdata/ibm1133.h: Likewise.
5729 * iconvdata/ibm1137.h: Likewise.
5730 * iconvdata/ibm1140.h: Likewise.
5731 * iconvdata/ibm1141.h: Likewise.
5732 * iconvdata/ibm1142.h: Likewise.
5733 * iconvdata/ibm1143.h: Likewise.
5734 * iconvdata/ibm1144.h: Likewise.
5735 * iconvdata/ibm1145.h: Likewise.
5736 * iconvdata/ibm1146.h: Likewise.
5737 * iconvdata/ibm1147.h: Likewise.
5738 * iconvdata/ibm1148.h: Likewise.
5739 * iconvdata/ibm1149.h: Likewise.
5740 * iconvdata/ibm1153.h: Likewise.
5741 * iconvdata/ibm1154.h: Likewise.
5742 * iconvdata/ibm1155.h: Likewise.
5743 * iconvdata/ibm1156.h: Likewise.
5744 * iconvdata/ibm1157.h: Likewise.
5745 * iconvdata/ibm1158.h: Likewise.
5746 * iconvdata/ibm1160.h: Likewise.
5747 * iconvdata/ibm1161.h: Likewise.
5748 * iconvdata/ibm1162.h: Likewise.
5749 * iconvdata/ibm1163.h: Likewise.
5750 * iconvdata/ibm1164.h: Likewise.
5751 * iconvdata/ibm1166.h: Likewise.
5752 * iconvdata/ibm1167.h: Likewise.
5753 * iconvdata/ibm12712.h: Likewise.
5754 * iconvdata/ibm1390.h: Likewise.
5755 * iconvdata/ibm1399.h: Likewise.
5756 * iconvdata/ibm16804.h: Likewise.
5757 * iconvdata/ibm4517.h: Likewise.
5758 * iconvdata/ibm4899.h: Likewise.
5759 * iconvdata/ibm4909.h: Likewise.
5760 * iconvdata/ibm4971.h: Likewise.
5761 * iconvdata/ibm5347.h: Likewise.
5762 * iconvdata/ibm803.h: Likewise.
5763 * iconvdata/ibm856.h: Likewise.
5764 * iconvdata/ibm901.h: Likewise.
5765 * iconvdata/ibm902.h: Likewise.
5766 * iconvdata/ibm9030.h: Likewise.
5767 * iconvdata/ibm9066.h: Likewise.
5768 * iconvdata/ibm921.h: Likewise.
5769 * iconvdata/ibm922.h: Likewise.
5770 * iconvdata/ibm9448.h: Likewise.
5771 * iconvdata/isiri-3342.h: Likewise.
5772 * iconvdata/jis0201.h: Likewise.
5773 * include/link.h: Likewise.
5774 * include/netdb.h: Likewise.
5775 * inet/check_native.c: Likewise.
5776 * inet/check_pf.c: Likewise.
5777 * inet/getipv4sourcefilter.c: Likewise.
5778 * inet/getnameinfo.c: Likewise.
5779 * inet/getsourcefilter.c: Likewise.
5780 * inet/htonl.c: Likewise.
5781 * inet/setipv4sourcefilter.c: Likewise.
5782 * inet/setsourcefilter.c: Likewise.
5783 * inet/test-inet6_opt.c: Likewise.
5784 * inet/tst-network.c: Likewise.
5785 * locale/C-collate.c: Likewise.
5786 * locale/C-ctype.c: Likewise.
5787 * locale/C-time.c: Likewise.
5788 * locale/C-translit.h: Likewise.
5789 * locale/loadarchive.c: Likewise.
5790 * locale/programs/3level.h: Likewise.
5791 * locale/programs/charmap.c: Likewise.
5792 * locale/programs/charmap.h: Likewise.
5793 * locale/programs/ld-address.c: Likewise.
5794 * locale/programs/ld-collate.c: Likewise.
5795 * locale/programs/ld-ctype.c: Likewise.
5796 * locale/programs/ld-identification.c: Likewise.
5797 * locale/programs/ld-measurement.c: Likewise.
5798 * locale/programs/ld-messages.c: Likewise.
5799 * locale/programs/ld-monetary.c: Likewise.
5800 * locale/programs/ld-name.c: Likewise.
5801 * locale/programs/ld-numeric.c: Likewise.
5802 * locale/programs/ld-paper.c: Likewise.
5803 * locale/programs/ld-telephone.c: Likewise.
5804 * locale/programs/ld-time.c: Likewise.
5805 * locale/programs/linereader.c: Likewise.
5806 * locale/programs/locale.c: Likewise.
5807 * locale/programs/locarchive.c: Likewise.
5808 * locale/programs/locfile.h: Likewise.
5809 * locale/programs/repertoire.c: Likewise.
5810 * locale/programs/simple-hash.c: Likewise.
5811 * locale/programs/simple-hash.h: Likewise.
5812 * malloc/memusage.c: Likewise.
5813 * malloc/memusagestat.c: Likewise.
5814 * nis/nis_defaults.c: Likewise.
5815 * nis/nis_hash.c: Likewise.
5816 * nis/nis_print.c: Likewise.
5817 * nis/nis_xdr.c: Likewise.
5818 * nscd/connections.c: Likewise.
5819 * nscd/hstcache.c: Likewise.
5820 * nscd/nscd_gethst_r.c: Likewise.
5821 * nscd/nscd_getserv_r.c: Likewise.
5822 * nscd/nscd_helper.c: Likewise.
5823 * nscd/servicescache.c: Likewise.
5824 * nss/makedb.c: Likewise.
5825 * nss/nss_db/db-XXX.c: Likewise.
5826 * nss/nss_db/db-initgroups.c: Likewise.
5827 * nss/nss_db/db-netgrp.c: Likewise.
5828 * nss/nss_files/files-network.c: Likewise.
5829 * nss/nss_files/files-parse.c: Likewise.
5830 * posix/bug-regex5.c: Likewise.
5831 * posix/fnmatch_loop.c: Likewise.
5832 * posix/regcomp.c: Likewise.
5833 * posix/regexec.c: Likewise.
5834 * posix/tst-rfc3484-2.c: Likewise.
5835 * posix/tst-rfc3484-3.c: Likewise.
5836 * posix/tst-rfc3484.c: Likewise.
5837 * resolv/nss_dns/dns-canon.c: Likewise.
5838 * resolv/nss_dns/dns-network.c: Likewise.
5839 * resolv/res_init.c: Likewise.
5840 * resolv/res_mkquery.c: Likewise.
5841 * resolv/tst-aton.c: Likewise.
5842 * stdlib/cxa_atexit.c: Likewise.
5843 * stdlib/cxa_finalize.c: Likewise.
5844 * stdlib/gen-fpioconst.c: Likewise.
5845 * stdlib/strtol_l.c: Likewise.
5846 * string/tst-endian.c: Likewise.
5847 * sunrpc/auth_des.c: Likewise.
5848 * sunrpc/clnt_udp.c: Likewise.
5849 * sunrpc/rtime.c: Likewise.
5850 * sunrpc/svcauth_des.c: Likewise.
5851 * sunrpc/xdr.c: Likewise.
5852 * sunrpc/xdr_intXX_t.c: Likewise.
5853 * sunrpc/xdr_rec.c: Likewise.
5854 * sysdeps/generic/ldconfig.h: Likewise.
5855 * sysdeps/generic/ldsodefs.h: Likewise.
5856 * sysdeps/generic/memusage.h: Likewise.
5857 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5858 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
5859 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
5860 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5861 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5862 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5863 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5864 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5865 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5866 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5867 * sysdeps/posix/getaddrinfo.c: Likewise.
5868 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5869 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5870 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5871 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5872 * sysdeps/powerpc/test-gettimebase.c: Likewise.
5873 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5874 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
5875 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
5876 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
5877 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
5878 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5879 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5880 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
5881 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
5882 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
5883 * sysdeps/x86_64/dl-tls.h: Likewise.
5884 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
5885 * time/alt_digit.c: Likewise.
5886 * time/era.c: Likewise.
5887 * wcsmbs/tst-c16c32-1.c: Likewise.
5888
8c75f674
JM
58892013-05-16 Joseph Myers <joseph@codesourcery.com>
5890
5891 * math/libm-test.inc (struct test_sincos_data): New type.
5892 (RUN_TEST_LOOP_sincos): New macro.
5893 (sincos_test_data): New variable.
5894 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
5895
e6e49e59
RH
58962013-05-16 Richard Henderson <rth@redhat.com>
5897
5898 * math/atest-exp2.c (LIMB64): New macro.
5899 (CONSTSZ): New macro.
5900 (mp_exp1, mp_exp_m1, mp_log2): New variables.
5901 (hexdig): Move ...
5902 (print_mpn_fp): ... to function scope.
5903 (read_mpn_hex): Remove.
5904 (get_log2): Remove.
5905 (exp2_mpn): Use mp_log2.
5906 (main): Use mp_exp1.
5907
15c7c18d
JM
59082013-05-16 Joseph Myers <joseph@codesourcery.com>
5909
105a07df
JM
5910 * math/libm-test.inc: Remove comment about not testing "inexact"
5911 exceptions.
5912 (INEXACT_EXCEPTION): New macro.
5913 (NO_INEXACT_EXCEPTION): Likewise.
5914 (INVALID_EXCEPTION_OK): Update value.
5915 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5916 (OVERFLOW_EXCEPTION_OK): Likewise.
5917 (UNDERFLOW_EXCEPTION_OK): Likewise.
5918 (IGNORE_ZERO_INF_SIGN): Likewise.
5919 (ERRNO_UNCHANGED): Likewise.
5920 (ERRNO_EDOM): Likewise.
5921 (ERRNO_ERANGE): Likewise.
5922 (test_exceptions): Handle testing "inexact" exceptions.
5923 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
5924 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
5925 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
5926 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
5927 INEXACT_EXCEPTION.
5928 (rint_towardzero_test_data): Likewise.
5929 (rint_downward_test_data): Likewise.
5930 (rint_upward_test_data): Likewise.
5931
e9eee333
JM
5932 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
5933 with OVERFLOW_EXCEPTION.
5934 (exp10_test_data): Likewise.
5935 (exp2_test_data): Likewise.
5936 (expm1_test_data): Likewise.
5937 (lgamma_test_data): Likewise.
5938 (pow_test_data): Likewise.
5939 (tgamma_test_data): Likewise.
5940 (yn_test_data): Remove duplicate test of overflow.
5941
1c38ff73
JM
5942 * math/libm-test.inc (struct test_cc_c_data): New type.
5943 (RUN_TEST_LOOP_cc_c): New macro.
5944 (cpow_test_data): New variable.
5945 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
5946
15c7c18d
JM
5947 * math/libm-test.inc (struct test_f_L_data): New type.
5948 (RUN_TEST_LOOP_f_L): New macro.
5949 (llrint_test_data): New variable.
5950 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
5951 (llrint_tonearest_test_data): New variable.
5952 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
5953 (llrint_towardzero_test_data): New variable.
5954 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
5955 (llrint_downward_test_data): New variable.
5956 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
5957 (llrint_upward_test_data): New variable.
5958 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
5959 (llround_test_data): New variable.
5960 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
5961
f137ff13
PC
59622013-05-13 Peter Collingbourne <pcc@google.com>
5963
5964 * math/atest-exp2.c (get_log2): Remove const attribute.
5965
3608cb24
JM
59662013-05-15 Joseph Myers <joseph@codesourcery.com>
5967
5968 * math/libm-test.inc (struct test_f_l_data): New type.
5969 (RUN_TEST_LOOP_f_l): New macro.
5970 (lrint_test_data): New variable.
5971 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
5972 (lrint_tonearest_test_data): New variable.
5973 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
5974 (lrint_towardzero_test_data): New variable.
5975 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
5976 (lrint_downward_test_data): New variable.
5977 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
5978 (lrint_upward_test_data): New variable.
5979 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
5980 (lround_test_data): New variable.
5981 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
5982
39b1f617
PC
59832013-05-15 Peter Collingbourne <pcc@google.com>
5984
1deff3dc
PC
5985 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
5986 (EXTRACT_WORDS64) Use where appropriate.
5987 (INSERT_WORDS64) Likewise.
5988
791f3ba0
PC
5989 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
5990 constraints with x constraints.
5991 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
5992
39b1f617
PC
5993 * malloc/obstack.c (_obstack_compat): Add initializer.
5994
12fba011
EM
59952013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
5996
5997 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
5998 si_trapno and add si_addr_lsb to _sifields.sigfault.
5999 (si_trapno): Remove macro.
6000 (si_addr_lsb): Define new macro.
6001 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6002
d369f531
JM
60032013-05-15 Joseph Myers <joseph@codesourcery.com>
6004
b861c6c4
JM
6005 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
6006 instead of TEST_f_l.
6007 (llrint_test_tonearest): Likewise.
6008 (llrint_test_towardzero): Likewise.
6009 (llrint_test_downward): Likewise.
6010 (llrint_test_upward): Likewise.
6011 (llround_test): Likewise.
6012
7abeee12
JM
6013 * math/libm-test.inc (struct test_f_i_data): Add comment.
6014 (RUN_TEST_LOOP_f_b): New macro.
6015 (RUN_TEST_LOOP_f_b_tg): Likewise.
6016 (finite_test_data): New variable.
6017 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
6018 (isfinite_test_data): New variable.
6019 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6020 (isinf_test_data): New variable.
6021 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6022 (isnan_test_data): New variable.
6023 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6024 (isnormal_test_data): New variable.
6025 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6026 (issignaling_test_data): New variable.
6027 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6028 (signbit_test_data): New variable.
6029 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6030
cbe8c4d3
JM
6031 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
6032 with INVALID_EXCEPTION.
6033 (acosh_test_data): Likewise.
6034 (asin_test_data): Likewise.
6035 (atanh_test_data): Likewise.
6036 (fmod_test_data): Likewise.
6037 (log_test_data): Likewise.
6038 (log10_test_data): Likewise.
6039 (log2_test_data): Likewise.
6040 (pow_test_data): Likewise.
6041 (sqrt_test_data): Likewise.
6042 (y0_test_data): Likewise.
6043 (y1_test_data): Likewise.
6044 (yn_test_data): Likewise.
6045
5575c0e5
JM
6046 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
6047 function contents.
6048
d369f531
JM
6049 * math/libm-test.inc (struct test_ff_i_data): New type.
6050 (RUN_TEST_LOOP_ff_i_tg): New macro.
6051 (isgreater_test_data): New variable.
6052 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6053 (isgreaterequal_test_data): New variable.
6054 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6055 (isless_test_data): New variable.
6056 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6057 (islessequal_test_data): New variable.
6058 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6059 (islessgreater_test_data): New variable.
6060 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6061 (isunordered_test_data): New variable.
6062 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6063
781fd748
DM
60642013-05-14 David S. Miller <davem@davemloft.net>
6065
6066 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6067
87aa21df
JM
60682013-05-14 Joseph Myers <joseph@codesourcery.com>
6069
5e908270
JM
6070 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
6071
f71172e5
JM
6072 * math/libm-test.inc (struct test_fF_f1_data): Change type of
6073 extra_test to int.
6074 (struct test_f_i_data): Change type of max_ulp to int.
6075
8cfa635a
JM
6076 * math/libm-test.inc (test_ffI_f1_data): New type.
6077 (RUN_TEST_LOOP_ffI_f1): New macro.
6078 (remquo_test_data): New variable.
6079 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
6080
2bcb36b2
JM
6081 * setjmp/tst-setjmp-fp.c: New file.
6082 * setjmp/Makefile (tests): Add tst-setjmp-fp.
6083 (link-libm): New variable.
6084 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
6085
acbd839a
JM
6086 * math/libm-test.inc (struct test_f_i_data): New type.
6087 (RUN_TEST_LOOP_f_i): New macro.
6088 (RUN_TEST_LOOP_f_i_tg): Likewise.
6089 (fpclassify_test_data): New variable.
6090 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
6091 (ilogb_test_data): New variable.
6092 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
6093
e414d745
JM
6094 * math/libm-test.inc (scalbln_test): Correct function name in END
6095 call.
6096
d9c2a0fd
JM
6097 * math/libm-test.inc (struct test_f_f1_data): Add comment.
6098 (RUN_TEST_LOOP_fI_f1): New macro.
6099 (frexp_test_data): New variable.
6100 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
6101
9dc9095d
JM
6102 * math/libm-test.inc (struct test_fF_f1_data): New type.
6103 (RUN_TEST_LOOP_fF_f1): New macro.
6104 (modf_test_data): New variable.
6105 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
6106
87aa21df
JM
6107 * math/libm-test.inc (struct test_f_f1_data): New type.
6108 (RUN_TEST_LOOP_f_f1): New macro.
6109 (gamma_test_data): New variable.
6110 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6111 (lgamma_test_data): New variable.
6112 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6113
141af660
CD
61142013-05-13 Carlos O'Donell <carlos@redhat.com>
6115
6116 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
6117 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
6118 (main): Comment "tls" pseudo-hwcap.
6119
6d33265c
JM
61202013-05-13 Joseph Myers <joseph@codesourcery.com>
6121
68fc074c
JM
6122 * math/libm-test.inc (struct test_fl_f_data): New type.
6123 (RUN_TEST_LOOP_fl_f): New variable.
6124 (scalbln_test_data): New variable.
6125 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
6126
243216e1
JM
6127 * math/libm-test.inc (struct test_fi_f_data): New type.
6128 (RUN_TEST_LOOP_fi_f): New macro.
6129 (ldexp_test_data): New variable.
6130 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
6131 (scalbn_test_data): New variable.
6132 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
6133
6a1992e2
JM
6134 * math/libm-test.inc (struct test_c_f_data): New type.
6135 (RUN_TEST_LOOP_c_f): New macro.
6136 (cabs_test_data): New variable.
6137 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
6138 (carg_test_data): New variable.
6139 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
6140 (cimag_test_data): New variable.
6141 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
6142 (creal_test_data): New variable.
6143 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
6144
0e400df5
JM
6145 * math/libm-test.inc (struct test_if_f_data): New type.
6146 (RUN_TEST_LOOP_if_f): New macro.
6147 (jn_test_data): New variable.
6148 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
6149 (yn_test_data): New variable.
6150 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
6151
6d33265c
JM
6152 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
6153
f98ece5f
AZ
61542013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6155
6156 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
6157 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
6158
0f7d347b
SP
61592013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6160
43fe811b
SP
6161 * benchtests/Makefile (CPPFLAGS-nonlib): Add
6162 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
6163 (bench-deps): Add bench-timing.h.
6164 * benchtests-bench-skeleton.c: Include bench-timing.h.
6165 (main): Use TIMING_* macros instead of clock_gettime.
6166 * benchtests/bench-timing.h: New file.
6167
0f7d347b
SP
6168 [BZ #14582]
6169 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
6170 Renamed from _LIB_VERSION.
6171 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
6172
601a3a5f
JM
61732013-05-12 Joseph Myers <joseph@codesourcery.com>
6174
4f184d30
JM
6175 * math/libm-test.inc (struct test_fff_f_data): New type.
6176 (RUN_TEST_LOOP_fff_f): New macro.
6177 (fma_test_data): New variable.
6178 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
6179 (fma_towardzero_test_data): New variable.
6180 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
6181 (fma_downward_test_data): New variable.
6182 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
6183 (fma_upward_test_data): New variable.
6184 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
6185
08198877
JM
6186 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
6187 (struct test_c_c_data): New type.
6188 (RUN_TEST_LOOP_c_c): New macro.
6189 (cacos_test_data): New variable.
6190 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
6191 (cacosh_test_data): New variable.
6192 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
6193 (casin_test_data): New variable.
6194 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
6195 (casinh_test_data): New variable.
6196 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
6197 (catan_test_data): New variable.
6198 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
6199 (catanh_test_data): New variable.
6200 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
6201 (ccos_test_data): New variable.
6202 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
6203 (ccosh_test_data): New variable.
6204 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
6205 (cexp_test_data): New variable.
6206 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
6207 (clog_test_data): New variable.
6208 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
6209 (clog10_test_data): New variable.
6210 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
6211 (conj_test_data): New variable.
6212 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
6213 (cproj_test_data): New variable.
6214 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
6215 (csin_test_data): New variable.
6216 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
6217 (csinh_test_data): New variable.
6218 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
6219 (csqrt_test_data): New variable.
6220 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
6221 (ctan_test_data): New variable.
6222 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
6223 (ctan_tonearest_test_data): New variable.
6224 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6225 (ctan_towardzero_test_data): New variable.
6226 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6227 (ctan_downward_test_data): New variable.
6228 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6229 (ctan_upward_test_data): New variable.
6230 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6231 (ctanh_test_data): New variable.
6232 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
6233 (ctanh_tonearest_test_data): New variable.
6234 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6235 (ctanh_towardzero_test_data): New variable.
6236 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6237 (ctanh_downward_test_data): New variable.
6238 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6239 (ctanh_upward_test_data): New variable.
6240 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6241 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
6242 of BUILD_COMPLEX.
6243
601a3a5f
JM
6244 * math/libm-test.inc (struct test_ff_f_data): New type.
6245 (struct test_ff_f_data_nexttoward): Likewise.
6246 (RUN_TEST_LOOP_2_f): New macro.
6247 (RUN_TEST_LOOP_ff_f): Likewise.
6248 (atan2_test_data): New variable.
6249 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
6250 (copysign_test_data): New variable.
6251 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
6252 (fdim_test_data): New variable.
6253 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
6254 (fmax_test_data): New variable.
6255 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
6256 (fmin_test_data): New variable.
6257 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
6258 (fmod_test_data): New variable.
6259 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
6260 (hypot_test_data): New variable.
6261 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
6262 (nextafter_test_data): New variable.
6263 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
6264 (nexttoward_test_data): New variable.
6265 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
6266 (pow_test_data): New variable.
6267 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
6268 (pow_tonearest_test_data): New variable.
6269 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
6270 (pow_towardzero_test_data): New variable.
6271 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
6272 (pow_downward_test_data): New variable.
6273 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
6274 (pow_upward_test_data): New variable.
6275 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
6276 (remainder_test_data): New variable.
6277 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
6278 (scalb_test_data): New variable.
6279 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
6280 * sysdeps/i386/fpu/libm-test-ulps: Update.
6281
74c57478
JM
62822013-05-11 Joseph Myers <joseph@codesourcery.com>
6283
8329e4da
JM
6284 * math/libm-test.inc (fma_test): Use max_value instead of local
6285 variable fltmax.
6286 (nextafter_test): Likewise.
6287
74c57478
JM
6288 * math/libm-test.inc (acos_towardzero_test_data): New variable.
6289 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6290 (acos_downward_test_data): New variable.
6291 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6292 (acos_upward_test_data): New variable.
6293 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6294 (acosh_test_data): New variable.
6295 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
6296 (asin_test_data): New variable.
6297 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
6298 (asin_tonearest_test_data): New variable.
6299 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6300 (asin_towardzero_test_data): New variable.
6301 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6302 (asin_downward_test_data): New variable.
6303 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6304 (asin_upward_test_data): New variable.
6305 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6306 (asinh_test_data): New variable.
6307 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
6308 (atan_test_data): New variable.
6309 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
6310 (atanh_test_data): New variable.
6311 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
6312 (cbrt_test_data): New variable.
6313 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
6314 (ceil_test_data): New variable.
6315 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
6316 (cos_test_data): New variable.
6317 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
6318 (cos_tonearest_test_data): New variable.
6319 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6320 (cos_towardzero_test_data): New variable.
6321 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6322 (cos_downward_test_data): New variable.
6323 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6324 (cos_upward_test_data): New variable.
6325 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6326 (cosh_test_data): New variable.
6327 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
6328 (cosh_tonearest_test_data): New variable.
6329 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6330 (cosh_towardzero_test_data): New variable.
6331 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6332 (cosh_downward_test_data): New variable.
6333 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6334 (cosh_upward_test_data): New variable.
6335 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6336 (erf_test_data): New variable.
6337 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
6338 (erfc_test_data): New variable.
6339 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
6340 (exp_test_data): New variable.
6341 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
6342 (exp_tonearest_test_data): New variable.
6343 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6344 (exp_towardzero_test_data): New variable.
6345 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6346 (exp_downward_test_data): New variable.
6347 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6348 (exp_upward_test_data): New variable.
6349 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6350 (exp10_test_data): New variable.
6351 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
6352 (exp2_test_data): New variable.
6353 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
6354 (expm1_test_data): New variable.
6355 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
6356 (fabs_test_data): New variable.
6357 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
6358 (floor_test_data): New variable.
6359 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
6360 (j0_test_data): New variable.
6361 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
6362 (j1_test_data): New variable.
6363 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
6364 (log_test_data): New variable.
6365 (log_test): Run tests with RUN_TEST_LOOP_f_f.
6366 (log10_test_data): New variable.
6367 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
6368 (log1p_test_data): New variable.
6369 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
6370 (log2_test_data): New variable.
6371 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
6372 (logb_test_data): New variable.
6373 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
6374 (logb_downward_test_data): New variable.
6375 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6376 (nearbyint_test_data): New variable.
6377 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
6378 (rint_test_data): New variable.
6379 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
6380 (rint_tonearest_test_data): New variable.
6381 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6382 (rint_towardzero_test_data): New variable.
6383 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6384 (rint_downward_test_data): New variable.
6385 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6386 (rint_upward_test_data): New variable.
6387 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6388 (round_test_data): New variable.
6389 (round_test): Run tests with RUN_TEST_LOOP_f_f.
6390 (sin_test_data): New variable.
6391 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
6392 (sin_tonearest_test_data): New variable.
6393 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6394 (sin_towardzero_test_data): New variable.
6395 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6396 (sin_downward_test_data): New variable.
6397 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6398 (sin_upward_test_data): New variable.
6399 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6400 (sinh_test_data): New variable.
6401 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
6402 (sinh_tonearest_test_data): New variable.
6403 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6404 (sinh_towardzero_test_data): New variable.
6405 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6406 (sinh_downward_test_data): New variable.
6407 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6408 (sinh_upward_test_data): New variable.
6409 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6410 (sqrt_test_data): New variable.
6411 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
6412 (tan_test_data): New variable.
6413 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
6414 (tan_tonearest_test_data): New variable.
6415 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6416 (tan_towardzero_test_data): New variable.
6417 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6418 (tan_downward_test_data): New variable.
6419 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6420 (tan_upward_test_data): New variable.
6421 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6422 (tanh_test_data): New variable.
6423 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
6424 (tgamma_test_data): New variable.
6425 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
6426 (trunc_test_data): New variable.
6427 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
6428 (y0_test_data): New variable.
6429 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
6430 (y1_test_data): New variable.
6431 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
6432 (significand_test_data): New variable.
6433 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
6434
7187d844
CG
64352013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
6436
6437 [BZ #12387]
6438 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
6439
f63fae73
PT
64402013-05-10 Pino Toscano <toscano.pino@tiscali.it>
6441
6442 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
6443
8a67a4b3
AJ
64442013-05-10 Andreas Jaeger <aj@suse.de>
6445
6446 [BZ #15448]
6447 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
6448 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
6449
51df539d
JM
64502013-05-10 Joseph Myers <joseph@codesourcery.com>
6451
6452 * math/gen-libm-test.pl (adjust_arg): New function.
6453 (special_functions): Handle generating output in both functions
6454 and arrays.
6455 (parse_args): Likewise.
6456 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
6457 $in_func argument to parse_args.
6458 * math/libm-test.inc (struct test_f_f_data): New type.
6459 (IF_ROUND_INIT_): New macro.
6460 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
6461 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6462 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6463 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6464 (ROUND_RESTORE_): Likewise.
6465 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
6466 (ROUND_RESTORE_FE_TONEAREST): Likewise.
6467 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
6468 (ROUND_RESTORE_FE_UPWARD): Likewise.
6469 (RUN_TEST_LOOP_f_f): New macro.
6470 (acos_test_data): New variable.
6471 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
6472 (acos_tonearest_test_data): New variable.
6473 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6474
5c637fe5
SP
64752013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6476
6477 * benchtests/bench-skeleton.c (startup): Fix coding style.
6478
ab2b9461
JM
64792013-05-10 Joseph Myers <joseph@codesourcery.com>
6480
6481 [BZ #6809]
6482 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
6483 negative infinity argument.
6484 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
6485 negative infinity argument.
6486 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
6487 negative infinity argument.
6488 * math/libm-test.inc (tgamma_test): Expect errno to be set for
6489 domain errors.
6490
4c0fe6fe
FW
64912013-05-10 Florian Weimer <fweimer@redhat.com>
6492
6493 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
6494 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
6495 * iconv/iconv_prog.c (main): Likewise.
6496 * locale/programs/charmap-dir.c (charmap_readdir)
6497 (fopen_uncompressed): Likewise.
6498 * locale/programs/locfile.c (siblings_uncached)
6499 (write_locale_data): Use lstat64 instead of lstat.
6500 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
6501 stat.
6502
a3375d29
AJ
65032013-05-10 Andreas Jaeger <aj@suse.de>
6504
6505 [BZ #15395]
6506 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
6507 localization.
6508 Include <locale.h>.
6509
36129722
CD
65102013-05-09 Carlos O'Donell <carlos@redhat.com>
6511
6512 * elf/dl-close.c (_dl_close_worker): Add comments.
6513
faa7f811
JM
65142013-05-09 Joseph Myers <joseph@codesourcery.com>
6515
ed41ffef
JM
6516 [BZ #15359]
6517 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
6518 high part of pi/2.
6519 (__ieee754_rem_pio2l): Update comments.
6520
d0213cd0
JM
6521 [BZ #15429]
6522 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
6523 high part of pi/2.
6524 (__ieee754_rem_pio2l): Update comments.
6525
0d3e777a
JM
6526 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
6527 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
6528
24f56066
JM
6529 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
6530 M_PI_4l.
6531
faa7f811
JM
6532 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
6533 (M_PI_34_LOG10El): Likewise.
6534 (M_PI2_LOG10El): Likewise.
6535 (M_PI4_LOG10El): Likewise.
6536 (M_PI_LOG10El): Likewise.
6537
e9a5e0fd
AZ
65382013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6539
6540 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6541
d8cd06db
JM
65422013-05-08 Joseph Myers <joseph@codesourcery.com>
6543
a0d9f9d7
JM
6544 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
6545 (MINUS_ZERO_INIT): Likewise.
6546 (PLUS_INFTY_INIT): Likewise.
6547 (MINUS_INFTY_INIT): Likewise.
6548 (QNAN_VALUE_INIT): Likewise.
6549 (MAX_VALUE_INIT): Likewise.
6550 (MIN_VALUE_INIT): Likewise.
6551 (MIN_SUBNORM_VALUE_INIT): Likewise.
6552 (plus_zero): Initialize with PLUS_ZERO_INIT.
6553 (minus_zero): Initialize with MINUS_ZERO_INIT.
6554 (plus_infty): Initialize with PLUS_INFTY_INIT.
6555 (minus_infty): Initialize with MINUS_INFTY_INIT.
6556 (qnan_value): Initialize with QNAN_VALUE_INIT.
6557 (max_value): Initialize with MAX_VALUE_INIT.
6558 (min_value): Initialize with MIN_VALUE_INIT.
6559 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
6560
ae08db3b
JM
6561 * math/libm-test.inc (RUN_TEST_if_f): New macro.
6562 (jn_test): Use TEST_if_f instead of TEST_ff_f.
6563 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
6564 (yn_test): Use TEST_if_f instead of TEST_ff_f.
6565
f44bf14a
JM
6566 * math/libm-test.inc (RUN_TEST_f_f): New macro.
6567 (RUN_TEST_2_f): Likewise.
6568 (RUN_TEST_ff_f): Likewise.
6569 (RUN_TEST_fi_f): Likewise.
6570 (RUN_TEST_fl_f): Likewise.
6571 (RUN_TEST_fff_f): Likewise.
6572 (RUN_TEST_c_f): Likewise.
6573 (RUN_TEST_f_f1): Likewise.
6574 (RUN_TEST_fF_f1): Likewise.
6575 (RUN_TEST_fI_f1): Likewise.
6576 (RUN_TEST_ffI_f1): Likewise.
6577 (RUN_TEST_c_c): Likewise.
6578 (RUN_TEST_cc_c): Likewise.
6579 (RUN_TEST_f_i): Likewise.
6580 (RUN_TEST_f_i_tg): Likewise.
6581 (RUN_TEST_ff_i_tg): Likewise.
6582 (RUN_TEST_f_b): Likewise.
6583 (RUN_TEST_f_b_tg): Likewise.
6584 (RUN_TEST_f_l): Likewise.
6585 (RUN_TEST_f_L): Likewise.
6586 (RUN_TEST_sincos): Likewise.
6587 * math/gen-libm-test.pl (new_test): Take new argument to indicate
6588 whether to show exceptions. Do not include ");\n" in return
6589 value.
6590 (special_functions): Output call to RUN_TEST_sincos instead of
6591 check_float calls. Update calls to new_test.
6592 (parse_args): Output call to single RUN_TEST_* macro instead of
6593 check_* calls and other assignments. Update calls to new_test.
6594
d8cd06db
JM
6595 [BZ #2546]
6596 [BZ #2560]
6597 [BZ #5159]
6598 [BZ #15426]
6599 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
6600 input to result for tgamma overflow.
6601 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
6602 (gamma_coeff): New variable.
6603 (NCOEFF): New macro.
6604 (gamma_positive): New function.
6605 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
6606 underflow here. Use gamma_positive instead of exp (lgamma) for
6607 other arguments.
6608 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
6609 (gamma_coeff): New variable.
6610 (NCOEFF): New macro.
6611 (gammaf_positive): New function.
6612 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
6613 underflow here. Use gamma_positive instead of exp (lgamma) for
6614 other arguments.
6615 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
6616 (gamma_coeff): New variable.
6617 (NCOEFF): New macro.
6618 (gammal_positive): New function.
6619 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
6620 underflow here. Use gamma_positive instead of exp (lgamma) for
6621 other arguments.
6622 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
6623 (gamma_coeff): New variable.
6624 (NCOEFF): New macro.
6625 (gammal_positive): New function.
6626 (__ieee754_gammal_r): Handle positive infinity, overflow and
6627 underflow here. Handle NaN the same as positive infinity. Remove
6628 check x < 0xffffffff for negative integers. Use gamma_positive
6629 instead of exp (lgamma) for other arguments.
6630 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
6631 (gamma_coeff): New variable.
6632 (NCOEFF): New macro.
6633 (gammal_positive): New function.
6634 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
6635 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
6636 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6637 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
6638 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
6639 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6640 * sysdeps/generic/math_private.h (__gamma_productf): New
6641 prototype.
6642 (__gamma_product): Likewise.
6643 (__gamma_productl): Likewise.
6644 * math/Makefile (libm-calls): Add gamma_product.
6645 * math/libm-test.inc (tgamma_test): Add more tests.
6646 * sysdeps/i386/fpu/libm-test-ulps: Update.
6647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6648
bb7cf681
OB
66492013-05-08 Ondřej Bílka <neleai@seznam.cz>
6650
6651 * benchtests/bench-skeleton.c (main): Preheat CPU.
6652
ba853947
AJ
66532013-05-07 Aurelien Jarno <aurelien@aurel32.net>
6654
6655 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
6656
8347c74c
RM
66572013-05-07 Roland McGrath <roland@hack.frob.com>
6658
6659 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
6660 and _dl_skip_args_internal.
6661
e8dd4791
CD
66622013-05-07 Carlos O'Donell <carlos@redhat.com>
6663
6664 * manual/message.texi (Message Translation): Talk about users.
6665 Message to key mapping impacts design.
6666
c7405830
RM
66672013-05-06 Roland McGrath <roland@hack.frob.com>
6668
a9173057
RM
6669 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
6670
976e2f03
RM
6671 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
6672
9723ffc5
RM
6673 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
6674 * sysdeps/wordsize-64/glob64.c: ... here.
6675
962e6658
RM
6676 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
6677 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
6678 New macros.
6679
ee586a6d
RM
6680 * debug/getlogin_r_chk.c: Moved to ...
6681 * login/getlogin_r_chk.c: ... here.
6682 * debug/Makefile (routines): Move getlogin_r_chk to ...
6683 * login/Makefile (routines): ... here.
6684 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
6685 * login/Versions (libc: GLIBC_2.4): ... here.
6686
355f9165
RM
6687 * io/poll.c (__poll): Renamed from poll.
6688 Add libc_hidden_def.
6689 (poll): Define as weak alias.
6690
bd9ffde6
RM
6691 * debug/ptsname_r_chk.c: Moved to ...
6692 * login/ptsname_r_chk.c: ... here.
6693 * debug/Makefile (routines): Move ptsname_r_chk to ...
6694 * login/Makefile (routines): ... here.
6695 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
6696 * login/Versions (libc: GLIBC_2.4): ... here.
6697
8fb16a04
RM
6698 * posix/getlogin.c: Moved to ...
6699 * login/getlogin.c: ... here.
6700 * posix/getlogin_r.c: Moved to ...
6701 * login/getlogin_r.c: ... here.
6702 * posix/getlogin_r.c: Moved to ...
6703 * login/getlogin_r.c: ... here.
6704 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
6705 * login/Makefile (routines): ... here.
6706 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
6707 * login/Versions (libc: GLIBC_2.0): ... here.
6708
b99b892f
RM
6709 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
6710 (setrlimit): Define as weak alias.
6711
c7405830
RM
6712 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
6713 Call __ names for open, ftruncate, and close.
6714 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
6715 (truncate): Define as weak alias.
6716
5bf96de5
JM
67172013-05-06 Joseph Myers <joseph@codesourcery.com>
6718
9ea3513c
JM
6719 * math/gen-libm-test.pl (parse_args): Initialize x before each
6720 test of frexp, modf and remquo.
6721
5bf96de5
JM
6722 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
6723 test signgam value.
6724
16e616a7
AZ
67252013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6726
6727 [BZ #15418]
6728 [BZ #15419]
6729 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
6730 internal tests.
6731 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6732
d5e82754
RM
67332013-05-06 Roland McGrath <roland@hack.frob.com>
6734
6735 * elf/dl-writev.h: New file.
6736 * elf/dl-misc.c: Include it.
6737 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
6738 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
6739
a7548d41
JM
67402013-05-04 Joseph Myers <joseph@codesourcery.com>
6741
b7dab1e4
JM
6742 * math/libm-test.inc (noXFails): Remove variable.
6743 (noXPasses): Likewise.
6744 (BUILD_COMPLEX_INT): Remove macro.
6745 (print_screen): Remove xfail argument.
6746 (print_screen_max_error): Likewise.
6747 (update_stats): Likewise.
6748 (print_max_error): Likewise. Update calls to other affected
6749 functions.
6750 (print_complex_max_error): Likewise.
6751 (test_single_exception): Update calls to print_screen.
6752 (test_single_errno): Likewise.
6753 (check_float_internal): Remove xfail argument. Update calls to
6754 other affected functions.
6755 (check_float): Likewise.
6756 (check_complex): Likewise.
6757 (check_int): Likewise.
6758 (check_long): Likewise.
6759 (check_bool): Likewise.
6760 (check_longlong): Likewise.
6761 (main): Don't print noXFails and noXPasses.
6762 * math/gen-libm-test.pl (top level): Don't mention expected
6763 failure handling in comment.
6764 (new_test): Don't handle expected failures.
6765 (parse_args): Don't mention expected failure handling in comment.
6766 (generate_testfile): Don't handle expected failures.
6767 (parse_ulps): Likewise.
6768 (print_ulps_file): Likewise.
6769 (get_failure): Remove function.
6770 (output_test): Don't handle expected failures.
6771 * make/README.libm-test: Don't mention expected failure handling.
6772
a7548d41
JM
6773 * math/libm-test.inc (plus_zero): Make const. Add initializer.
6774 (minus_zero): Likewise.
6775 (plus_infty): Likewise.
6776 (minus_infty): Likewise.
6777 (qnan_value): Likewise.
6778 (max_value): Likewise.
6779 (min_value): Likewise.
6780 (min_subnorm_value): Likewise.
6781 (initialize): Do not initialize those variables dynamically.
6782
60bfd54c
RM
67832013-05-03 Roland McGrath <roland@hack.frob.com>
6784
cc0e6ed8
RM
6785 * io/open.c (__open_2): Moved to ...
6786 * io/open_2.c: ... this new file.
6787 * io/open64.c (__open64_2): Moved to ...
6788 * io/open64_2.c: ... this new file.
6789 * io/openat.c (__openat_2): Moved to ...
6790 * io/openat_2.c: ... this new file.
6791 * io/openat64.c (__openat64_2): Moved to ...
6792 * io/openat64_2.c: ... this new file.
6793 * io/Makefile (routines): Add them.
6794 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
6795 * sysdeps/unix/sysv/linux/open_2.c: File removed.
6796 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
6797 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
6798 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
6799 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
6800 (__openat64): Add hidden_ver.
6801 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
6802 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
6803
60bfd54c
RM
6804 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
6805 Separately conditionalize setting of GLRO(dl_sysinfo) so
6806 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
6807 as well, but the actual setting is only under [NEED_DL_SYSINFO].
6808
83e7640f
AZ
68092013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6810
6811 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
6812 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
6813 definition.
6814 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
6815 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6816 (_libc_vdso_platform_setup): Add __vdso_time initialization.
6817 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
6818 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
6819
d5dc2af3
JM
68202013-05-03 Joseph Myers <joseph@codesourcery.com>
6821
c31a5b1e
JM
6822 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
6823 test signgam value.
6824
d5dc2af3
JM
6825 * math/libm-test.inc (hypot_test): Do not use
6826 IGNORE_ZERO_INF_SIGN.
6827
164fd39d
AJ
68282013-05-03 Andreas Jaeger <aj@suse.de>
6829
6830 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
6831 Linux 3.9.
6832 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
6833 (PF_MAX): Adjust for VSOCK change.
6834
8237f48c
AZ
68352013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6836
6837 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6838
9df02941
CD
68392013-05-02 Carlos O'Donell <carlos@redhat.com>
6840
6841 [BZ #15264]
6842 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
6843 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
6844 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
6845
d422395e
DM
68462013-05-02 David S. Miller <davem@davemloft.net>
6847
6848 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6849
a07c5731
OB
68502013-05-01 Ondřej Bílka <neleai@seznam.cz>
6851
6852 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
6853
1324e37f
RM
68542013-05-01 Roland McGrath <roland@hack.frob.com>
6855
6856 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
6857
0695940b
RS
68582013-05-01 Richard Smith <richard@metafoo.co.uk>
6859
bb5f27ad 6860 [BZ #14952]
0695940b
RS
6861 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
6862 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6863 Use __attribute__ ((__gnu_inline__)).
6864 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6865 Don't use __attribute__ ((__gnu_inline__)).
6866
10de07f5
JM
68672013-05-01 Joseph Myers <joseph@codesourcery.com>
6868
6869 [BZ #15423]
6870 * math/s_catan.c (__catan): Handle small real or imaginary part of
6871 input specially to avoid spurious underflow.
6872 * math/s_catanf.c (__catanf): Likewise.
6873 * math/s_catanh.c (__catanh): Likewise.
6874 * math/s_catanhf.c (__catanhf): Likewise.
6875 * math/s_catanhl.c (__catanhl): Likewise.
6876 * math/s_catanl.c (__catanl): Likewise.
6877 * math/libm-test.inc (catan_test): Add more tests.
6878 (catanh_test): Likewise.
6879 * sysdeps/i386/fpu/libm-test-ulps: Update.
6880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6881
cb4d5414
AZ
68822013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6883
6884 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6885
caf84319
JM
68862013-04-30 Joseph Myers <joseph@codesourcery.com>
6887
6888 [BZ #15416]
6889 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
6890 accurately for denominator in atan2.
6891 * math/s_catanf.c (__catanf): Likewise.
6892 * math/s_catanh.c (__catanh): Likewise.
6893 * math/s_catanhf.c (__catanhf): Likewise.
6894 * math/s_catanhl.c (__catanhl): Likewise.
6895 * math/s_catanl.c (__catanl): Likewise.
6896 * math/libm-test.inc (catan_test): Add more tests.
6897 (catanh_test): Likewise.
6898 * sysdeps/i386/fpu/libm-test-ulps: Update.
6899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6900
d569c6ee
SP
69012013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6902
6dbe713d
SP
6903 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
6904
f0ee064b
SP
6905 * benchtests/Makefile (bench): Remove slow benchmarks.
6906 * benchtests/atan-inputs: Add slow benchmark inputs.
6907 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
6908 (BENCH_FUNC): Accept variant offset.
6909 (VARIANT): Define.
6910 * benchtests/bench-skeleton.c (main): Run benchmark for each
6911 variant.
6912 * benchtests/cos-inputs: Add slow benchmark inputs.
6913 * benchtests/exp-inputs: Likewise.
6914 * benchtests/pow-inputs: Likewise.
6915 * benchtests/sin-inputs: Likewise.
6916 * benchtests/slowatan-inputs: Remove.
6917 * benchtests/slowatan.c: Remove.
6918 * benchtests/slowcos-inputs: Remove.
6919 * benchtests/slowcos.c: Remove.
6920 * benchtests/slowexp-inputs: Remove.
6921 * benchtests/slowexp.c: Remove.
6922 * benchtests/slowpow-inputs: Remove.
6923 * benchtests/slowpow.c: Remove.
6924 * benchtests/slowsin-inputs: Remove.
6925 * benchtests/slowsin.c: Remove.
6926 * benchtests/slowtan-inputs: Remove.
6927 * benchtests/slowtan.c: Remove.
6928 * benchtests/tan-inputs: Add slow benchmark inputs.
6929 * scripts/bench.pl: Parse comments and directives.
6930
d569c6ee
SP
6931 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
6932 in CPPFLAGS.
6933 ($(objpfx)bench-%.c): Remove *-ITER.
6934 * benchtests/bench-modf.c: Remove definition of ITER.
6935 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
6936 (main): Loop for DURATION seconds instead of fixed number of
6937 iterations.
6938 * scripts/bench.pl: Don't expect iterations in parameters.
6939
a6a242fe
RM
69402013-04-29 Roland McGrath <roland@hack.frob.com>
6941
6942 * io/fchdir.c (__fchdir): Renamed from fchdir.
6943 (fchdir): Define as weak alias.
6944
f2da7793
JM
69452013-04-29 Joseph Myers <joseph@codesourcery.com>
6946
6947 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
6948 (ERRNO_EDOM): Likewise.
6949 (ERRNO_ERANGE): Likewise.
6950 (noErrnoTests): New variable.
6951 (init_max_error): Set errno to 0.
6952 (test_single_errno): New function.
6953 (test_errno): Likewise.
6954 (check_float_internal): Call test_errno. Set errno to 0.
6955 (check_complex): Refer to errno tests in comment.
6956 (check_int): Call test_errno. Set errno to 0.
6957 (check_long): Likewise.
6958 (check_bool): Likewise.
6959 (check_longlong): Likewise.
6960 (cos_test): Use ERRNO_* flags for errno tests instead of
6961 check_int.
6962 (expm1_test): Likewise.
6963 (fmod_test): Likewise.
6964 (ilogb_test): Likewise.
6965 (lgamma_test): Likewise.
6966 (pow_test): Likewise.
6967 (remainder_test): Likewise.
6968 (sin_test): Likewise.
6969 (tan_test): Likewise.
6970 (yn_test): Likewise.
6971 (initialize): Set errno to 0.
6972 (main): Print number of errno tests.
6973 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
6974
b1a36ceb
AJ
69752013-04-29 Andreas Jaeger <aj@suse.de>
6976
c3ed8088
AJ
6977 [BZ #15084]
6978 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
6979 and RES_USEVC.
6980
f1a24198
AJ
6981 [BZ #15085]
6982 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
6983 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
6984 unimplemented.
6985
9ce3b2cb
AJ
6986 [BZ #15380]
6987 * stdlib/random.c (__initstate): Return NULL if
6988 __initstate fails.
6989
f1a24198 6990 [BZ #15086]
b1a36ceb
AJ
6991 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
6992 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
6993 RES_SNGLKUPREOP.
6994
7e7b6f36
AZ
69952013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6996
6997 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6998
4d14f449
JM
69992013-04-29 Joseph Myers <joseph@codesourcery.com>
7000
7001 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
7002 of individual tests.
7003 (casin_test): Likewise.
7004 (casinh_test): Likewise.
7005
5b4217d7
JM
70062013-04-27 Joseph Myers <joseph@codesourcery.com>
7007
7008 [BZ #15409]
7009 * math/s_catan.c (__catan): Handle arguments with large real or
7010 imaginary part separately without squaring.
7011 * math/s_catanf.c (__catanf): Likewise.
7012 * math/s_catanh.c (__catanh): Likewise.
7013 * math/s_catanhf.c (__catanhf): Likewise.
7014 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7015 and redefine.
7016 (__catanhl): Handle arguments with large real or imaginary part
7017 separately without squaring.
7018 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7019 and redefine.
7020 (__catanl): Handle arguments with large real or imaginary part
7021 separately without squaring.
7022 * math/libm-test.inc (catan_test): Add more tests.
7023 (catanh_test): Likewise.
7024 * sysdeps/i386/fpu/libm-test-ulps: Update.
7025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7026
4220c3ef
AJ
70272013-04-27 Andreas Jaeger <aj@suse.de>
7028
7029 [BZ #15007]
7030 * stdlib/stdlib.h: Update guards for qecvt.
7031 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
7032 <stdlib.h>.
7033
4721b2d1
AM
70342013-04-27 Allan McRae <allan@archlinux.org>
7035
7036 * sysdeps/i386/fpu/libm-test-ulps: Update.
7037
f0302940
JM
70382013-04-26 Joseph Myers <joseph@codesourcery.com>
7039
9457fd95
JM
7040 [BZ #15406]
7041 * math/s_catan.c: Include <float.h>.
7042 (__catan): Ensure underflow exception occurs for underflowed
7043 result.
7044 * math/s_catanf.c: Include <float.h>.
7045 (__catanf): Ensure underflow exception occurs for underflowed
7046 result.
7047 * math/s_catanh.c: Include <float.h>.
7048 (__catanh): Ensure underflow exception occurs for underflowed
7049 result.
7050 * math/s_catanhf.c: Include <float.h>.
7051 (__catanhf): Ensure underflow exception occurs for underflowed
7052 result.
7053 * math/s_catanhl.c: Include <float.h>.
7054 (__catanhl): Ensure underflow exception occurs for underflowed
7055 result.
7056 * math/s_catanl.c: Include <float.h>.
7057 (__catanl): Ensure underflow exception occurs for underflowed
7058 result.
7059 * math/libm-test.inc (catan_test): Add more tests.
7060 (catanh_test): Likewise.
7061
f0302940
JM
7062 [BZ #15405]
7063 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
7064 underflowed result.
7065 * math/s_ccoshf.c (__ccoshf): Likewise.
7066 * math/s_ccoshl.c (__ccoshl): Likewise.
7067 * math/s_csin.c (__csin): Likewise.
7068 * math/s_csinf.c (__csinf): Likewise.
7069 * math/s_csinh.c (__csinh): Likewise.
7070 * math/s_csinhf.c (__csinhf): Likewise.
7071 * math/s_csinhl.c (__csinhl): Likewise.
7072 * math/s_csinl.c (__csinl): Likewise.
7073 * math/libm-test.inc (ccos_test): Add more tests.
7074 (ccosh_test): Likewise.
7075 (csin_test): Likewise.
7076 (csinh_test): Likewise.
7077
aa630f59
AZ
70782013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7079
7080 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
7081 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
7082 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
7083 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
7084 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
7085 powerpc/power5+/fpu folders.
7086 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
7087
7088
1b835983
MT
70892013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
7090
7091 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7092
73709b26
JM
70932013-04-25 Joseph Myers <joseph@codesourcery.com>
7094
7095 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
7096 additions to variable.
7097 [$(config-machine) = x86_64] (modules-names): Likewise.
7098 ($(objpfx)tst-audit3): Remove dependency.
7099 ($(objpfx)tst-audit3.out): Likewise.
7100 ($(objpfx)tst-audit4): Likewise.
7101 ($(objpfx)tst-audit4.out): Likewise.
7102 ($(objpfx)tst-audit5): Likewise.
7103 ($(objpfx)tst-audit5.out): Likewise.
7104 ($(objpfx)tst-audit6): Likewise.
7105 ($(objpfx)tst-audit6.out): Likewise.
7106 ($(objpfx)tst-audit7): Likewise.
7107 ($(objpfx)tst-audit7.out): Likewise.
7108 (tst-audit3-ENV): Remove variable.
7109 (tst-audit4-ENV): Likewise.
7110 (tst-audit5-ENV): Likewise.
7111 (tst-audit6-ENV): Likewise.
7112 (tst-audit7-ENV): Likewise.
7113 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
7114 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
7115 addition to variable.
7116 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
7117 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
7118 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
7119 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
7120 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
7121 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
7122 tst-audit3, tst-audit4 and tst-audit5.
7123 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
7124 tst-audit6 and tst-audit7.
7125 [$(subdir) = elf] (modules-names): Add audit modules for those
7126 tests.
7127 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
7128 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
7129 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
7130 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
7131 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
7132 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
7133 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
7134 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
7135 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
7136 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
7137 [$(subdir) = elf] (tst-audit3-ENV): New variable.
7138 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
7139 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
7140 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
7141 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
7142 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
7143 Likewise.
7144 [$(subdir) = elf && $(config-cflags-avx) = yes]
7145 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
7146 [$(subdir) = elf && $(config-cflags-avx) = yes]
7147 (CFLAGS-tst-auditmod4a.c): Likewise.
7148 [$(subdir) = elf && $(config-cflags-avx) = yes]
7149 (CFLAGS-tst-auditmod4b.c): Likewise.
7150 [$(subdir) = elf && $(config-cflags-avx) = yes]
7151 (CFLAGS-tst-auditmod6b.c): Likewise.
7152 [$(subdir) = elf && $(config-cflags-avx) = yes]
7153 (CFLAGS-tst-auditmod6c.c): Likewise.
7154 [$(subdir) = elf && $(config-cflags-avx) = yes]
7155 (CFLAGS-tst-auditmod7b.c): Likewise.
7156 * elf/tst-audit3.c: Move to ...
7157 * sysdeps/x86_64/tst-audit3.c: ... here.
7158 * elf/tst-audit4.c: Move to ...
7159 * sysdeps/x86_64/tst-audit4.c: ... here.
7160 * elf/tst-audit5.c: Move to ...
7161 * sysdeps/x86_64/tst-audit5.c: ... here.
7162 * elf/tst-audit6.c: Move to ...
7163 * sysdeps/x86_64/tst-audit6.c: ... here.
7164 * elf/tst-audit7.c: Move to ...
7165 * sysdeps/x86_64/tst-audit7.c: ... here.
7166 * elf/tst-auditmod3a.c: Move to ...
7167 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
7168 * elf/tst-auditmod3b.c: Move to ...
7169 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
7170 * elf/tst-auditmod4a.c: Move to ...
7171 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
7172 * elf/tst-auditmod4b.c: Move to ...
7173 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
7174 * elf/tst-auditmod5a.c: Move to ...
7175 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
7176 * elf/tst-auditmod5b.c: Move to ...
7177 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
7178 * elf/tst-auditmod6a.c: Move to ...
7179 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
7180 * elf/tst-auditmod6b.c: Move to ...
7181 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
7182 * elf/tst-auditmod6c.c: Move to ...
7183 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
7184 * elf/tst-auditmod7a.c: Move to ...
7185 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
7186 * elf/tst-auditmod7b.c: Move to ...
7187 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
7188
1ef74943
PP
71892013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
7190
7191 [BZ #15366]
7192 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
7193 define unconditionally.
7194 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
7195 define unconditionally.
7196 (INT8_C, INT16_C, etc.): Likewise.
7197
93fd48c5
MR
71982013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
7199
ae9552cf
MR
7200 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
7201 __ehdr_start with hidden visibility.
7202
93fd48c5
MR
7203 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
7204
418601aa
CD
72052013-04-24 Carlos O'Donell <carlos@redhat.com>
7206
7207 * math/libm-test.inc (cos_test): Use accurate hex constants.
7208 (sincost_test): Likewise.
7209
2f38fbfe
JM
72102013-04-24 Joseph Myers <joseph@codesourcery.com>
7211
5e221800
JM
7212 * math/libm-test.inc (catan_test): Add more tests.
7213 (catanh_test): Likewise.
7214
77f143fd
JM
7215 * math/s_catanf.c (__catanf): Use suffixed floating-point
7216 constants.
7217 * math/s_catanhf.c (__catanhf): Likewise.
7218 * math/s_catanhl.c (__catanhl): Likewise.
7219 * math/s_catanl.c (__catanl): Likewise.
7220
2f38fbfe
JM
7221 [BZ #15394]
7222 * math/s_catan.c (__catan): Calculate imaginary part of result
7223 with log1p not log unless computing log of number close to 0.
7224 * math/s_catanf.c (__catanf): Likewise.
7225 * math/s_catanl.c (__catanl): Likewise.
7226 * math/s_catanh.c (__catanh): Calculate real part of result with
7227 log1p not log unless computing log of number close to 0.
7228 * math/s_catanhf.c (__catanhf): Likewise.
7229 * math/s_catanhl.c (__catanhl): Likewise.
7230 * math/libm-test.inc (catan_test): Add more tests.
7231 (catanh_test): Likewise.
7232 * sysdeps/i386/fpu/libm-test-ulps: Update.
7233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7234
45d69176
SP
72352013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7236
7237 * benchtests/Makefile: Mention files in which fast and slow
7238 paths of math functions are implemented.
7239
87f51853
RM
72402013-04-23 Roland McGrath <roland@hack.frob.com>
7241
7242 * sysdeps/posix/timespec_get.c: New file.
7243
3c026539
AZ
72442013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7245
7246 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
7247 POWER.
7248 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
7249 for POWER.
7250 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
7251 powerpc/power5/fpu folders.
7252 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
7253 * benchtests/Makefile: Add modf testcase.
7254 * benchtests/bench-modf.c: New file: Benchmark test for mo
7255
ff491d14
SP
72562013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7257
7258 [BZ #14888]
7259 * time/Makefile (tests): Add tst-strptime-whitespace.
7260 * time/strptime_l.c (get_number): Use ISSPACE.
7261 (__strptime_internal): Likewise.
7262 * time/tst-strptime-whitespace.c: New test case.
7263
7ed3f4e8
AS
72642013-04-23 Andreas Schwab <schwab@linux-m68k.org>
7265
7266 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
7267 member.
7268 (_nss_files_init): Set it here.
7269
5c95f7b6
HC
72702013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
7271
7272 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
7273 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
7274 unsigned.
7275
d34c9158
JBG
72762013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
7277
7278 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
7279
2169712d
SP
72802013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7281
7282 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
7283 size just once.
7284
29c5de99
DM
72852013-04-21 David S. Miller <davem@davemloft.net>
7286
7287 * po/ru.po: Update Russion translation from translation project.
7288
ccdad15d
AC
72892013-04-17 Adam Conrad <adconrad@0c3.net>
7290
7291 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
7292 and setfsgid.
7293
0f122b8d
CD
72942013-04-17 Carlos O'Donell <carlos@redhat.com>
7295
5c5b07da 7296 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 7297 * configure: Regenerate.
5c5b07da 7298 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
7299 Add example to error message.
7300 * sysdeps/i386/configure: Regenerate.
7301
037714dd
SP
73022013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7303
7304 * benchtests/Makefile (bench): Add cos, tan, slowcos and
7305 slowtan.
7306 * benchtests/cos-inputs: New file.
7307 * benchtests/slowcos-inputs: New file.
7308 * benchtests/slowcos.c: New file.
7309 * benchtests/slowtan-inputs: New file.
7310 * benchtests/slowtan.c: New file.
7311 * benchtests/tan-inputs: New file.
7312
e913141d
RM
73132013-04-16 Roland McGrath <roland@hack.frob.com>
7314
7315 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
7316 considered kosher.
7317
a2964074
SP
73182013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7319
4856bcd2
SP
7320 * benchtests/Makefile: Include cppflags-iterator.mk to add
7321 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
7322
a2964074
SP
7323 * Makefile.in (bench-clean): New target.
7324 * benchtests/Makefile (bench-clean): Likewise.
7325
9fbf9aca
DH
73262013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
7327
7328 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
7329
207d1e2a
TS
73302013-04-15 Thomas Schwinge <thomas@codesourcery.com>
7331
7332 * stdio-common/tstdiomisc.c: Fix coding-style violation.
7333
306dfba9
AS
73342013-04-15 Andreas Schwab <schwab@suse.de>
7335
7336 * nscd/grpcache.c (cache_addgr): Properly check for short write.
7337 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7338 * nscd/pwdcache.c (cache_addpw): Likewise.
7339 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
7340 more than recsize.
7341
206a6699
SP
73422013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7343
7344 * benchtests/Makefile (bench): Write all output to
7345 bench-out.tmp together.
7346
0582f6b3
AS
73472013-04-15 Andreas Schwab <schwab@suse.de>
7348
7349 * nscd/nscd.c (main): Don't fork again after closing files.
7350
acb4325f
SP
73512013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7352
5cb26d0a
SP
7353 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
7354
acb4325f
SP
7355 * benchtests/Rules (bench-deps): Collect dependencies into a
7356 single variable. Add Makefile to dependencies.
7357 ($(objpfx)bench-%.c): Depend on bench-deps.
7358
47792506
RM
73592013-04-12 Roland McGrath <roland@hack.frob.com>
7360 Xavier Roche <roche+kml2@exalead.com>
7361
7362 [BZ #15361]
7363 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
7364 just that it's a file descriptor.
7365 * manual/llio.texi (Synchronizing AIO Operations): Update description
7366 for EBADF error from aio_fsync.
7367
8fc1bee5
SP
73682013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7369
7370 * Rules (bench): Move target definition...
7371 * benchtests/Makefile: ... here.
7372
aba5e333
CD
73732013-04-11 Carlos O'Donell <carlos@redhat.com>
7374
7375 * math/libm-test.inc (cos_test): Fix PI/2 test.
7376 (sincos_test): Likewise.
7377 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7378 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
7379
273cdee8
AS
73802013-04-11 Andreas Schwab <schwab@suse.de>
7381
6ecec3b6
AS
7382 [BZ #13988]
7383 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
7384 accept exponent character only when digits were seen.
7385 * stdio-common/Makefile (tests): Add bug26.
7386 * stdio-common/bug26.c: New file.
7387
273cdee8
AS
7388 [BZ #14293]
7389 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
7390 non-freeable.
7391
8da491f5
SP
73922013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7393
01dc6df9
SP
7394 * Makeconfig (rtld-prefix): Define built linker prefix.
7395 * Rules (run-bench): Use it.
7396 * math/Makefile (run-regen-ulps): Likewise.
7397
8da491f5
SP
7398 * Rules (bench): Remove eval.
7399
abe7f530
SP
74002013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7401 Roland McGrath <roland@hack.frob.com>
7402 Ondrej Bilka <neleai@seznam.cz>
7403
7404 [BZ #15346]
7405 * time/getdate.c: Include ctype.h and alloca.h.
7406 (__getdate_r): Trim leading and trailing spaces of input.
7407 * time/tst-getdate.c (tests): Add tests with leading and
7408 trailing spaces.
7409
61c23e62
RM
74102013-04-08 Roland McGrath <roland@hack.frob.com>
7411
7412 [BZ #14280]
7413 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
7414 when computing value.
7415
7208a313
CD
74162013-04-06 Carlos O'Donell <carlos@redhat.com>
7417
085b2d41
CD
7418 * math/README.libm-test (How can I generate "libm-test-ulps"?):
7419 Use testrun.sh to run libm tests.
7420
7208a313
CD
7421 [BZ #15309]
7422 * elf/dl-open.c (dl_open_worker): memset all of seen array.
7423
872c0acd
MM
74242013-04-06 Marko Myllynen <myllynen@redhat.com>
7425
7426 [BZ #15264]
7427 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
7428
26510bdd
CD
74292013-04-06 Carlos O'Donell <carlos@redhat.com>
7430
7431 * Makefile.in (regen-ulps): New target.
7432 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
7433 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
7434 [ifneq (no,$(PERL)] (regen-ulps): New target.
7435 [ifeq (no,$(PERL)] (regen-ulps): New target.
7436 * math/libm-test.inc (ulps_file_name): Define.
7437 (output_dir): New variable.
7438 (options): Add "output-dir" option.
7439 (parse_opt): Handle 'o' case.
7440 (main): If output_dir is non-NULL use it as a prefix
7441 otherwise use "".
7442 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
7443
a01f19c8
CD
74442013-04-06 Carlos O'Donell <carlos@redhat.com>
7445
7446 [BZ #10060, #10062]
7447 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
7448 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
7449 fail configure if __sync_val_compare_and_swap is not inlined.
7450 * sysdeps/i386/configure: Regenerate.
7451 * configure.in: Build for i686 when configured for i386.
7452 * configure: Regenerate.
7453 * README: Remove i386 reference.
7454
b7a329a5
CD
74552013-04-06 Carlos O'Donell <carlos@redhat.com>
7456
7457 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
7458 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7459
bf0f50df
TS
74602013-04-05 Thomas Schwinge <thomas@codesourcery.com>
7461
ee091edf
TS
7462 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
7463 (lmsnanval): New variables.
7464 (F): Add conversion tests.
7465 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
7466 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
7467
a8b792d6
TS
7468 * stdio-common/tstdiomisc.c (F): Properly collect individual
7469 tests' results.
7470
a1cbf437
TS
7471 [BZ #14686, #15336]
7472 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
7473 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
7474 Instead, use input NaN values or generate a qNaN by arithmetic
7475 operation. Also fix bugs to comply with the standard.
7476 * math/libm-test.inc (remainder_test): Add more tests.
7477
8b43a0c9
TS
7478 [BZ #15335, #15342]
7479 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
7480 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
7481 input NaN values or generate a qNaN by arithmetic operation.
7482
d91da4ce
TS
7483 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
7484 unreachable code.
7485
bf0f50df
TS
7486 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
7487 definitions.
7488
05e166c8
JM
74892013-04-03 Joseph Myers <joseph@codesourcery.com>
7490
7491 [BZ #14478]
7492 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
7493 underflowed result.
7494 * math/s_cexpf.c (__cexpf): Likewise.
7495 * math/s_cexpl.c (__cexpl): Likewise.
7496 * math/libm-test.inc (cexp_test): Add more tests.
7497
1cef1b19
AS
74982013-04-03 Andreas Schwab <schwab@suse.de>
7499
7500 [BZ #15330]
7501 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
7502 order arrays from heap if bigger than alloca cutoff.
7503
74d87055
TS
75042013-04-03 Thomas Schwinge <thomas@codesourcery.com>
7505
7506 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
7507 (SNAN_TESTS_double): Refer to GCC PR56831.
7508 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
7509 GCC PR56828.
7510
d755bba4
SP
75112013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7512
90d5d5bb
SP
7513 * Rules (bench): Move bench.out after the run is complete.
7514
73e0cd5d
SP
7515 * Rules (bench): Echo currently running benchmark.
7516
64aabd4b
SP
7517 * benchtests/Makefile (bench): Add atan and slowatan.
7518 * benchtests/atan-inputs: New file.
7519 * benchtests/slowatan-inputs: New file.
7520 * benchtests/slowatan.c: New file.
7521
c871eccd
SP
7522 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
7523 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
7524 its value.
7525
d755bba4
SP
7526 [BZ #15305]
7527 * sysdeps/unix/sysv/linux/kernel-features.h
7528 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
7529 __ASSUME_XFS_RESTRICTED_CHOWN.
7530 * sysdeps/unix/sysv/linux/pathconf.c
7531 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7532 Save and restore errno.
7533
52ce4860
JM
75342013-04-02 Joseph Myers <joseph@codesourcery.com>
7535
7536 [BZ #15327]
7537 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
7538 arguments using __kernel_casinh.
7539 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
7540 arguments using __kernel_casinhf.
7541 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
7542 arguments using __kernel_casinhl.
7543 * math/libm-test.inc (cacosh_test): Add more tests.
7544 * sysdeps/i386/fpu/libm-test-ulps: Update.
7545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7546
81f311c2
SP
75472013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7548
e7906a47
SP
7549 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
7550 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
7551
92e3664b
SP
7552 * bench/Makefile (bench): Add sin and slowsin.
7553 * benchtests/sin-inputs: New file.
7554 * benchtests/slowsin-inputs: New file.
7555 * benchtests/slowsin.c: New file.
7556
81f311c2
SP
7557 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
7558 (bench): Add slowexp and slowpow.
7559 (exp-ITER): Increase iterations.
7560 (pow-ITER): Likewise.
7561 * benchtests/exp-inputs: Change input.
7562 * benchtests/pow-inputs: Likewise.
7563 * benchtests/slowexp-inputs: New file.
7564 * benchtests/slowexp.c: New file.
7565 * benchtests/slowpow-inputs: New file.
7566 * benchtests/slowpow.c: New file.
7567
ab0f1aa9
AZ
75682013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7569
7570 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
7571 instructions.
7572 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7573 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
7574 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
7575 * benchtests/Makefile: Add rint benchtest.
7576 * benchtests/rint-inputs: Input for rint benchtest.
7577
57267616
TS
75782013-04-02 Thomas Schwinge <thomas@codesourcery.com>
7579
7580 * Versions.def (libm): Add GLIBC_2.18.
7581 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
7582 hidden libm prototypes.
7583 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
7584 * math/Makefile (libm-calls): Add s_issignaling.
7585 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
7586 __issignalingf, __issignalingl. Adjust all libm.abilist files.
7587 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
7588 declaration.
7589 * math/math.h [__USE_GNU] (issignaling): New macro.
7590 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
7591 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
7592 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
7593 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
7594 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
7595 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
7596 * manual/arith.texi (issignaling): New section.
7597 * manual/libm-err-tab.pl (@all_functions): Update comment.
7598 * math/gen-libm-test.pl (parse_args): Apply special handling for
7599 issignaling.
7600 * math/libm-test.inc (print_float, issignaling_test): New
7601 functions.
7602 (check_float_internal): Add issignaling checks.
7603 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
7604 default definition.
7605 * sysdeps/powerpc/math-tests.h: New file.
7606 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
7607 tests.
7608 * math/test-snan.c (TEST_FUNC): Likewise.
7609
6142896d
DM
76102013-03-30 David S. Miller <davem@davemloft.net>
7611
7612 * po/de.po: Update from translation team.
7613
ccc8cadf
JM
76142013-03-30 Joseph Myers <joseph@codesourcery.com>
7615
7616 [BZ #10357]
7617 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7618 imaginary part less than 1.0 and real part less than 0.5
7619 specially.
7620 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7621 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7622 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
7623 (cacos_test): Add more tests.
7624 (casin_test): Likewise.
7625 (casinh_test): Likewise.
7626 * sysdeps/i386/fpu/libm-test-ulps: Update.
7627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7628
0f6a8d4b
SP
76292013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7630
0d1029de
SP
7631 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
7632 ONE with its value.
7633
c2d94018
SP
7634 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
7635 (__pow_mp): Replace ONE and MONE with their values.
7636 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7637 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
7638 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7639 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
7640 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7641 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7642
27ec37f1
SP
7643 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
7644
a64d7e0e
SP
7645 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
7646 (__pow_mp): Replace ZERO and MZERO with their values.
7647 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7648 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7649 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7650 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7651 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7652 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
7653 (__sqr): Likewise.
7654
d26dd3eb
SP
7655 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
7656
0f6a8d4b
SP
7657 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
7658
e57b0c61
RM
76592013-03-28 Roland McGrath <roland@hack.frob.com>
7660
7661 * include/stdlib.h [!SHARED] (__call_tls_dtors):
7662 Declare with __attribute__ ((weak)).
7663 * stdlib/exit.c (__libc_atexit) [!SHARED]:
7664 Call __call_tls_dtors only if it's not NULL.
7665
356b3480
RM
76662013-03-28 Roland McGrath <roland@hack.frob.com>
7667
288f7d79
RM
7668 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
7669 didn't do it already, then set _dl_phdr and _dl_phnum based on the
7670 magic __ehdr_start linker symbol if it's defined.
7671 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
7672 them up here if it was already done.
7673
dc0a0263
RM
7674 * elf/dl-support.c (_dl_phdr): Make pointer to const.
7675 (_dl_aux_init): Use const in cast when setting it.
7676 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
7677 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
7678 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
7679
3d3436ae
RM
7680 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
7681 Declare them here.
7682 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
7683 * csu/libc-tls.c: Nor here.
7684 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
7685
356b3480
RM
7686 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
7687 (__libc_message): Never call vsyslog.
7688
b0f1246a
AM
76892013-03-28 Alan Modra <amodra@gmail.com>
7690
7691 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
7692 Define as empty.
7693 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
7694 Likewise.
7695
fbbe2b9a
AZ
76962013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7697
7698 [BZ #15214]
7699 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
7700 underflow.
7701 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7702
1728ab37
SP
77032013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7704
7a86be6e
SP
7705 [BZ #15304]
7706 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7707 Don't add gid passed as argument.
7708
1728ab37
SP
7709 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
7710
3a7182a1
JM
77112013-03-27 Joseph Myers <joseph@codesourcery.com>
7712
7713 [BZ #15307]
7714 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7715 imaginary part between 1.0 and 1.5 and real part less than 0.5
7716 specially.
7717 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7718 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7719 * math/libm-test.inc (cacos_test): Add more tests.
7720 (casin_test): Likewise.
7721 (casinh_test): Likewise.
7722 * sysdeps/i386/fpu/libm-test-ulps: Update.
7723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7724
6f2e90e7
SP
77252013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7726
5739f705
SP
7727 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
7728 constants.
7729 (norm): Likewise.
7730 (denorm): Likewise.
7731 (__dbl_mp): Likewise.
7732 (add_magnitudes): Likewise.
7733 (sub_magnitudes): Likewise.
7734 (__add): Likewise.
7735 (__sub): Likewise.
7736 (__mul): Likewise.
7737 (__sqr): Likewise.
7738 (__inv): Likewise.
7739 (__dvd): Likewise.
7740
e375e83d
SP
7741 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
7742 commented code.
7743 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
7744 (__dubcos): Likewise.
7745 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
7746 (__ieee754_acos): Likewise.
7747 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7748 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
7749 (__exp1): Likewise.
7750 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7751 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7752 (log1): Likewise.
7753 (my_log2): Likewise.
7754 (checkint): Likewise.
7755 * sysdeps/ieee754/dbl-64/e_remainder.c
7756 (__ieee754_remainder): Likewise.
7757 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7758 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
7759 (bsloww): Likewise.
7760 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7761
6f2e90e7
SP
7762 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7763 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
7764 MANTISSA_STORE_T to store computations on mantissa. Use
7765 macros for rounding and division.
7766 (denorm): Likewise.
7767 (__dbl_mp): Likewise.
7768 (add_magnitudes): Likewise.
7769 (sub_magnitudes): Likewise.
7770 (__mul): Likewise.
7771 (__sqr): Likewise.
7772 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
7773 powers of two in terms of TWOPOW macro.
7774 (mp_no): Make type of mantissa as MANTISSA_T.
7775 [!RADIXI]: Define RADIXI.
7776 [!TWO52]: Define TWO52.
7777 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7778
fce14d4e
AZ
77792013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7780
7781 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
7782 llroundl symbol when building for PPC32.
7783
9ad027fb
MW
77842013-03-24 Mark H Weaver <mhw@netris.org>
7785
7786 * manual/arith.texi (Normalization Functions): Fix prototypes for
7787 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
7788
e42a38dd
AZ
77892013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7790
7791 [BZ #13889]
7792 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
7793 high value to check if expl overflow.
7794 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
7795 to check for underflow and overflow.
7796 * math/libm-test.inc: Add exp test.
7797
2e0fb521
DL
77982013-03-21 Dmitry V. Levin <ldv@altlinux.org>
7799
7800 [BZ #11120]
7801 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
7802 with NOT_IN_libc.
7803
b5784d95
AZ
78042013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7805
7806 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
7807 symbol.
7808
5aa4a1a1
TS
78092013-03-21 Thomas Schwinge <thomas@codesourcery.com>
7810
bdef0be7
TS
7811 * math/gen-libm-test.pl (parse_args, special_functions): Properly
7812 wrap blocks consisting of several statements.
7813
5aa4a1a1
TS
7814 * sysdeps/generic/math-tests.h: New file.
7815 * sysdeps/i386/fpu/math-tests.h: Likewise.
7816 * math/test-snan.c: Include it.
7817 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
7818
98c48fe5
JM
78192013-03-21 Joseph Myers <joseph@codesourcery.com>
7820
7821 [BZ #15285]
7822 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
7823 (__ieee754_j0l): Do not improve calculations using cos of twice
7824 input for inputs above LDBL_MAX / 2.0L.
7825 (__ieee754_y0l): Likewise.
7826 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
7827 (__ieee754_j1l): Do not improve calculations using cos of twice
7828 input for inputs above LDBL_MAX / 2.0L.
7829 (__ieee754_y1l): Likewise.
7830 * math/libm-test.inc (j0_test): Add another test.
7831 (j1_test): Likewise.
7832 (y0_test): Likewise.
7833 (y1_test): Likewise.
7834 * sysdeps/i386/fpu/libm-test-ulps: Update.
7835
3775a8bc
SP
78362013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7837
7838 * Rules ($(objpfx)bench-%.c): Include code from a C source
7839 file.
7840
0a1b2ae6
JM
78412013-03-21 Joseph Myers <joseph@codesourcery.com>
7842
7843 [BZ #15287]
7844 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7845 imaginary part 1.0 and real part less than 0.5 specially.
7846 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7847 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7848 * math/libm-test.inc (cacos_test): Add more tests.
7849 (casin_test): Likewise.
7850 (casinh_test): Likewise.
7851 * sysdeps/i386/fpu/libm-test-ulps: Update.
7852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7853
b33d4ce4
SP
78542013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7855
7856 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
7857 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
7858
bef0b507
JM
78592013-03-20 Joseph Myers <joseph@codesourcery.com>
7860
7861 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
7862 * config.make.in (config-cflags-sse4): Remove variable.
7863 (config-cflags-avx): Likewise.
7864 (config-cflags-sse2avx): Likewise.
7865 (config-cflags-novzeroupper): Likewise.
7866 (config-asflags-i686): Likewise.
7867 (have-mfma4): Likewise.
7868 (have-as-vis3): Likewise.
7869 (MIG): Likewise.
7870 * configure.in (MIG): Do not AC_SUBST.
7871 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
7872 (libc_cv_cc_sse4): Do not AC_SUBST.
7873 (libc_cv_cc_avx): Likewise.
7874 (libc_cv_cc_sse2avx): Likewise.
7875 (libc_cv_cc_novzeroupper): Likewise.
7876 (libc_cv_cc_fma4): Likewise.
7877 (libc_cv_as_i686): Likewise.
7878 (libc_cv_sparc_as_vis3): Likewise.
7879 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
7880 LIBC_CONFIG_VAR.
7881 (config-asflags-i686): Likewise.
7882 (config-cflags-avx): Likewise.
7883 (config-cflags-sse2avx): Likewise.
7884 (have-mfma4): Likewise.
7885 (config-cflags-novzeroupper): Likewise.
7886 * sysdeps/mach/configure.in (MIG): Likewise.
7887 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
7888 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
7889 LIBC_CONFIG_VAR.
7890 (config-cflags-avx): Likewise.
7891 (config-cflags-sse2avx): Likewise.
7892 (have-mfma4): Likewise.
7893 (config-cflags-novzeroupper): Likewise.
7894 * configure: Regenerated.
7895 * sysdeps/i386/configure: Likewise.
7896 * sysdeps/mach/configure: Likewise.
7897 * sysdeps/sparc/configure: Likewise.
7898 * sysdeps/x86_64/configure: Likewise.
7899
912cc4b3
RM
79002013-03-20 Roland McGrath <roland@hack.frob.com>
7901
7902 [BZ #14812]
7903 * locale/programs/localedef.c (options): Put N_ translation marker
7904 on argument names, not just descriptions.
7905
04eed2b0
MS
79062013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7907
7908 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
7909
a065ceff
OB
79102013-03-20 Ondřej Bílka <neleai@seznam.cz>
7911
9bb2a810 7912 [BZ #14176]
a065ceff
OB
7913 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
7914
a600e5ce
RM
79152013-03-19 Roland McGrath <roland@hack.frob.com>
7916
7917 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
7918 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
7919 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
7920 [!BEFORE_ABORT] (before_abort): New function.
7921 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
7922 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
7923 (writev_for_fatal): New function.
7924 (WRITEV_FOR_FATAL): New macro; call that.
7925 (backtrace_and_maps): New function.
7926 (BEFORE_ABORT): New macro; call that.
7927 (struct str_list): Type removed.
7928 (__libc_message, __libc_fatal): Functions removed.
7929 Include <sysdeps/posix/libc_fatal.c> instead.
7930
6b18bea6
JM
79312013-03-19 Joseph Myers <joseph@codesourcery.com>
7932
7933 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
7934 constants.
7935 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
7936 double constants.
7937
aaa8cb4b
AS
79382013-03-19 Andreas Schwab <schwab@suse.de>
7939
44673770
AS
7940 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
7941 * sysdeps/gnu/configure: Regenerate.
7942
aaa8cb4b
AS
7943 * configure.in: Substitute libc_cv_rtlddir.
7944 * configure: Regenerate.
7945 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
7946 * Makeconfig (rtlddir, inst_rtlddir): New variables.
7947 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
7948 * elf/Makefile (install-others, CFLAGS-interp.c)
7949 (ldso_install, common-ldd-rewrite): Likewise.
7950 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
7951 $(inst_slibdir)/$(rtld-installed-name).
7952 * scripts/rellns-sh: Add -p option.
7953 * Makerules (make-shlib-link): Use rellns-sh to get relative name
7954 for source.
7955
d3cfc668
SP
79562013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7957
7958 * manual/nptl.texi: Renamed to ...
7959 * manual/threads.texi: ... this.
7960 * manual/Makefile (chapters): Update.
7961
0e2b9cdd
RM
79622013-03-18 Roland McGrath <roland@hack.frob.com>
7963
7964 [BZ #14812]
7965 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
7966 on argument names, not just descriptions.
0e2b9cdd
RM
7967 * malloc/memusagestat.c (options): Likewise.
7968 * nss/getent.c (options): Likewise.
63270c24
RM
7969
79702013-03-18 Benno Schulenberg <bensberg@justemail.net>
7971
7972 [BZ #14812]
7973 * iconv/iconv_prog.c (options): Put N_ translation marker
7974 on argument names, not just descriptions.
7975 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 7976
b2e1393c
OB
79772013-03-18 Ondrej Bilka <neleai@seznam.cz>
7978
7979 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
7980 implementation which is faster on all x86_64 architectures.
7981 Tested on AMD, Intel Nehalem, SNB, IVB.
7982 * sysdeps/x86_64/strnlen.S: Likewise.
7983
7984 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7985 Remove all multiarch strlen and strnlen versions.
7986 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7987 Remove strlen and strnlen related parts.
7988
7989 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
7990 Inline strlen part.
7991 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
7992
7993 * sysdeps/x86_64/multiarch/strlen.S: Remove.
7994 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
7995 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
7996 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
7997 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7998 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
7999
ec4ff04d
CD
80002013-03-17 Carlos O'Donell <carlos@redhat.com>
8001
8002 * manual/memory.texi (Malloc Tunable Parameters):
8003 Sort parameters alphabetically. Add comments for missing entries.
8004
cd18e90a
DM
80052013-03-17 David S. Miller <davem@davemloft.net>
8006
8007 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8008
2a185d32
JM
80092013-03-16 Joseph Myers <joseph@codesourcery.com>
8010
d2f9799e
JM
8011 [BZ #15283]
8012 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
8013 for arguments at most half maximum finite value.
8014 * math/libm-test.inc (j0_test): Add more tests.
8015 (j1_test): Likewise.
8016 (y0_test): Likewise.
8017 (y1_test): Likewise.
8018 * sysdeps/i386/fpu/libm-test-ulps: Update.
8019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8020
2a185d32
JM
8021 [BZ #14155]
8022 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
8023 1 / x and functions P and Q for arguments above 0x1p256L.
8024 (__ieee754_y0l): Likewise.
8025 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
8026 (__ieee754_y1l): Likewise.
8027 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
8028 (j1_test): Likewise.
8029 (y0_test): Likewise.
8030 (y1_test): Likewise.
8031
6cbec759
TS
80322013-03-16 Thomas Schwinge <thomas@codesourcery.com>
8033
8034 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
8035 variable.
8036
bc16e260
RM
80372013-03-15 Roland McGrath <roland@hack.frob.com>
8038
aefc9b8c
RM
8039 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
8040 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
8041 zero since it's initialized to EXEC_PAGESIZE.
8042
bc16e260
RM
8043 * sysdeps/unix/sysv/linux/ldsodefs.h
8044 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
8045 * sysdeps/generic/ldsodefs.h: ... here.
8046
a57da955
TS
80472013-03-15 Thomas Schwinge <thomas@codesourcery.com>
8048
af00a34d
TS
8049 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
8050
495ded2c
TS
8051 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
8052 math/test-snan.c.
8053 * math/test-snan.c: Renamed from
8054 sysdeps/powerpc/fpu/test-powerpc-snan.c.
8055 * math/Makefile (tests): Add test-snan.
8056 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
8057 test-powerpc-snan.
8058
777b0332
TS
8059 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
8060 SUFFIX. Initialize qNaN_var with __builtin_nan family of
8061 functions.
8062 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
8063 __builtin_nan family of functions.
8064 * math/libm-test.inc (initialize): Initialize qnan_value with
8065 __builtin_nan family of functions.
8066 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
8067 Remove variables.
8068 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
8069 Remove functions.
8070 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
8071 storage class. Initialize qNaN_var and sNaN_var with
8072 __builtin_nan and __builtin_nans families of functions,
8073 respectively.
8074
64d063b8
TS
8075 * math/libm-test.inc (acosh_test): Also test with qNaN input.
8076 (sqrt_test): Remove duplicate test with qNaN input.
8077 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
8078 (round_test, signbit_test, significand_test): Note missing +/-Inf
8079 as well as qNaN tests.
8080
67e971f1
TS
8081 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
8082 qNaN_var. Fix a few strings, too.
8083 * math/libm-test.inc (nan_value): Rename to qnan_value.
8084 * math/gen-libm-test.pl (%beautify): Adjust to that.
8085 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
8086 * math/test-misc.c (main): Likewise.
8087 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
8088 to __qnan_bytes, and __qnan_union, respectively.
8089 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
8090 Likewise.
8091 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
8092 and lqnanval, respectively.
8093 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
8094 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
8095 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
8096 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
8097
64487e12
TS
8098 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
8099 * math/test-misc.c (main) [__x86_64__]: Enable test for long
8100 doubles.
8101
e015e27b
TS
8102 * math/test-misc.c (main): Fix copy'n'pastos.
8103 * misc/tst-efgcvt.c (special): Likewise.
8104
a57da955
TS
8105 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
8106 Remove declarations.
8107
1e380345
SP
81082013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8109
8110 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
8111 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
8112 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
8113 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
8114
ef26eece
AZ
81152013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8116
8117 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
8118 macro to return vdso values correctly in IFUNC implementations.
8119 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8120 Optimization by using IFUNC.
8121
8cfdb7e0
SP
81222013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8123 Richard Henderson <rth@redhat.com>
8124 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8125
8126 * Makefile.in (bench): New target.
8127 * NEWS: Mention the benchmark framework.
8128 * Rules (bench): Likewise.
8129 (binaries-bench): Generate binaries for functions to
8130 benchmark.
8131 * benchtests/Makefile: New makefile for benchmark tests.
8132 * benchtests/bench-skeleton.c: New skeleton file for benchmark
8133 programs.
8134 * benchtests/exp-inputs: New input file for EXP function.
8135 * benchtests/pow-inputs: New input file for POW function.
8136 * scripts/bench.pl: New script to generate source files for
8137 benchmark programs.
8138
bcda9880
SP
81392013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8140
d22ca8cd
SP
8141 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8142 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
8143 computations on mantissa. Use macros for rounding and
8144 division.
8145 (denorm): Likewise.
8146 (__dbl_mp): Likewise.
8147 (add_magnitudes): Likewise.
8148 (sub_magnitudes): Likewise.
8149 (__mul): Likewise.
8150 (__sqr): Likewise.
8151 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
8152 powers of two in terms of TWOPOW macro.
8153 (mp_no): Make type of mantissa as MANTISSA_T.
8154 [!RADIXI]: Define RADIXI.
8155 [!TWO52]: Define TWO52.
8156 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8157
bcda9880
SP
8158 * manual/nptl.texi (cindex): Modify threads to pthreads.
8159
06d5adfb
JM
81602013-03-15 Joseph Myers <joseph@codesourcery.com>
8161
8162 * sysdeps/x86_64/preconfigure: Regenerated.
8163
41c7328e
JM
81642013-03-14 Joseph Myers <joseph@codesourcery.com>
8165
8166 [BZ #14155]
8167 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
8168 0x1p28 and above.
8169 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
8170 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
8171 0x1p28 and above.
8172 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
8173 * math/libm-test.inc (j0_test): Do not allow one spurious
8174 underflow exception.
8175 (y1_test): Likewise.
8176
e25cfa60
SP
81772013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8178
0409959c
SP
8179 * manual/Makefile (chapters): Add nptl.
8180 * manual/debug.texi (Debugging Support): Add link to Threads
8181 chapter.
8182 * manual/nptl.texi: New file.
8183
e25cfa60
SP
8184 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
8185
58a1335e
PB
81862013-03-14 Petr Baudis <pasky@ucw.cz>
8187
8188 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
8189 for non-NULL pointer before the memory validity test. Pointed
8190 out by Holger Brunck <holger.brunck@keymile.com>.
8191
9dc7c64f
AS
81922013-03-13 Andreas Schwab <schwab@suse.de>
8193
8194 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
8195 instead of .os.
8196
54206aa6
JM
81972013-03-13 Joseph Myers <joseph@codesourcery.com>
8198
8199 * timezone/zic.c: Update from tzcode 2013b.
8200
e98cdb38
CD
82012013-03-12 Carlos O'Donell <carlos@redhat.com>
8202
8203 * manual/install.texi (Configuring and compiling):
8204 Mention i686 and i586.
8205 * INSTALL: Regenerate.
8206
9967e003
RM
82072013-03-12 Roland McGrath <roland@hack.frob.com>
8208
8209 * sysdeps/init_array/elf-init.c: New file.
8210 * csu/elf-init.c
8211 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
8212 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
8213
8214 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
8215 __gmon_start__ as global, but as static with a .preinit_array pointer.
8216 * sysdeps/init_array/gmon-start.c: New file. Use that.
8217 * sysdeps/init_array/crti.S: New file, empty except for comments.
8218 * sysdeps/init_array/crtn.S: Likewise.
8219
e6b5a293 82202013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
8221
8222 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
8223 definining bcopy.
80f844c9
OB
8224 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8225 Remove Prefer_SSE_for_memop.
8226 * sysdeps/x86_64/multiarch/init-arch.h: Remove
8227 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
8228 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
8229 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8230 memset-x86-64.
80f844c9 8231 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 8232 Remove bzero, memset ifunc support.
80f844c9
OB
8233 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
8234 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
8235 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8236 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8237
fb6b0fcb
AS
82382013-03-11 Andreas Schwab <schwab@suse.de>
8239
8240 [BZ #15234]
8241 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
8242 by SHLIB_COMPAT.
8243 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
8244 (GLIBC_2.16): Remove pthread_atfork.
8245
3e6bd4b1
PP
82462013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
8247
8248 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
8249 (ptestcases.h): Likewise.
8250
222d7f00
RM
82512013-03-08 Roland McGrath <roland@hack.frob.com>
8252
8253 * Makeconfig ($(common-objpfx)config.status): Depend on
8254 sysdeps/*/preconfigure{,.in} too.
8255
1ba4f030
JM
82562013-03-08 Joseph Myers <joseph@codesourcery.com>
8257
a222d91a
JM
8258 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
8259 (__free_hook): Use void * instead of __malloc_ptr_t.
8260 (__malloc_hook): Likewise.
8261 (__realloc_hook): Likewise.
8262 (__memalign_hook): Likewise.
8263 (__after_morecore_hook): Likewise.
8264 * malloc/arena.c (save_malloc_hook): Likewise.
8265 (save_free_hook): Likewise.
8266 * malloc/hooks.c (malloc_hook_ini): Likewise.
8267 (realloc_hook_ini): Likewise.
8268 (memalign_hook_ini): Likewise.
8269 * malloc/malloc.c (malloc_hook_ini): Likewise.
8270 (realloc_hook_ini): Likewise.
8271 (memalign_hook_ini): Likewise.
8272 (__free_hook): Likewise.
8273 (__malloc_hook): Likewise.
8274 (__realloc_hook): Likewise.
8275 (__memalign_hook): Likewise.
8276 (__libc_malloc): Likewise.
8277 (__libc_free): Likewise.
8278 (__libc_realloc): Likewise.
8279 (__libc_memalign): Likewise.
8280 (__libc_valloc): Likewise.
8281 (__libc_pvalloc): Likewise.
8282 (__libc_calloc): Likewise.
8283 (__posix_memalign): Likewise.
8284 * malloc/morecore.c (__sbrk): Likewise.
8285 (__default_morecore): Likewise.
8286
5cc45e10
JM
8287 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
8288
dd54b864
JM
8289 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
8290 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
8291 __malloc_ptrdiff_t.
8292
1ba4f030
JM
8293 * malloc/malloc.h (__malloc_size_t): Remove macro.
8294 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
8295 __malloc_size_t.
8296 (old_memalign_hook): Likewise.
8297 (old_realloc_hook): Likewise.
8298 (struct hdr): Likewise.
8299 (flood): Likewise.
8300 (mallochook): Likewise.
8301 (memalignhook): Likewise.
8302 (reallochook): Likewise.
8303 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
8304 (tr_old_realloc_hook): Likewise.
8305 (tr_old_memalign_hook): Likewise.
8306 (tr_mallochook): Likewise.
8307 (tr_reallochook): Likewise.
8308 (tr_memalignhook): Likewise.
8309
edf66e57
AZ
83102013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8311
8312 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
8313 default_ldbl_pack and using as default implementation.
8314 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
8315 implementation.
8316 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
8317 redundant definition.
8318 (ldbl_insert_mantissa): Likewise.
8319 (ldbl_canonicalize): Likewise.
8320 (ldbl_nearbyint): Likewise.
8321 (ldbl_pack): Rename to ldbl_pack_ppc.
8322 (ldbl_unpack): Rename to ldbl_unpack_ppc.
8323 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
8324 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
8325
6d9145d8
SP
83262013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8327
8328 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
8329 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
8330 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
8331 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
8332 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
8333 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
8334 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
8335 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
8336
4dd4e157
AJ
83372013-03-07 Andreas Jaeger <aj@suse.de>
8338
8339 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8340 bits/mman-linux.h.
8341
adbb8027
SP
83422013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8343
ce544b5b
SP
8344 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
8345 Include mpa.h and declare __MPEXP.
8346 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
8347 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8348 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8349 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
8350 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8351 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8352 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
8353
4cc149fd
SP
8354 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
8355 (__slowpow): Use long double EXPL and LOGL functions to
8356 compute POW.
8357 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8358 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8359 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
8360 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8361 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8362 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
8363
e6ebd4a7
SP
8364 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
8365 intermediate variable to calculate exponent.
8366 (__sqr): Likewise.
8367 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8368 Likewise.
8369 (__sqr): Likewise.
8370
82a9811d
SP
8371 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
8372 [!NO__SQR]: Define __sqr.
8373 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
8374 and NO__SQR. Remove all code except __mul and __sqr. Include
8375 sysdeps/ieee754/dbl-64/mpa.c.
8376 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8377
adbb8027
SP
8378 [BZ #12723]
8379 * posix/Makefile (tests): Add tst-pathconf.
8380 * posix/tst-pathconf.c: New test case.
8381 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
8382 _PC_PIPE_BUF.
8383 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
8384
39120df9
PF
83852013-03-06 Patsy Franklin <pfrankli@redhat.com>
8386
8387 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
8388
67525cb8
AJ
83892013-03-06 Andreas Jaeger <aj@suse.de>
8390
664a9ce4
AJ
8391 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
8392 definition via __MAP_ANONYMOUS.
8393
8e39047d
AJ
8394 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
8395 it's not part of Linux headers.
8396
67525cb8
AJ
8397 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
8398 (MAP_HUGE_MASK): Define.
8399
8400 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8401 Define.
8402 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8403 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8404 Define.
8405 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8406 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8407 Define.
8408 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8409 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
8410 Define.
8411 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8412
8413 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
8414 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
8415 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
8416 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
8417 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
8418 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
8419
8420 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
8421 Handle f2fs.
8422
8423 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8424 Handle f2fs and efivarfs.
8425
8426 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
8427 f2fs.
8428
8429 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
8430 (EFIVARFS_MAGIC): Add.
8431 (F2FS_LINK_MAX): Add.
8432
e1b42695
PP
84332013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8434
8435 * stdio-common/vfprintf.c: Replace __builtin_expect with
8436 __glibc_unlikely.
8437
2d67d91a
JM
84382013-03-06 Joseph Myers <joseph@codesourcery.com>
8439
8440 [BZ #13550]
8441 * sysdeps/generic/bp-sym.h: Remove file.
8442 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
8443 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
8444 <bp-sym.h> and <bp-asm.h>.
8445 (__longjmp): Don't use BP_SYM.
8446 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
8447 and <bp-asm.h>.
8448 (memcpy): Don't use BP_SYM.
8449 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
8450 <bp-sym.h> and <bp-asm.h>.
8451 (memcpy): Don't use BP_SYM.
8452 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
8453 <bp-asm.h>.
8454 (memcpy): Don't use BP_SYM.
8455 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
8456 <bp-asm.h>.
8457 (memset): Don't use BP_SYM.
8458 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8459 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8460 (__bzero): Don't use BP_SYM.
8461 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8462 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8463 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
8464 <bp-sym.h> and <bp-asm.h>.
8465 (memcmp): Don't use BP_SYM. Remove comment about bounded
8466 pointers.
8467 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
8468 <bp-sym.h> and <bp-asm.h>.
8469 (memcpy): Don't use BP_SYM.
8470 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
8471 <bp-sym.h> and <bp-asm.h>.
8472 (memset): Don't use BP_SYM.
8473 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8474 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8475 (__bzero): Don't use BP_SYM.
8476 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8477 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8478 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
8479 <bp-sym.h> and <bp-asm.h>.
8480 (strncmp): Don't use BP_SYM. Remove comment about bounded
8481 pointers.
8482 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
8483 <bp-sym.h> and <bp-asm.h>.
8484 (memcpy): Don't use BP_SYM.
8485 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
8486 <bp-sym.h> and <bp-asm.h>.
8487 (memset): Don't use BP_SYM.
8488 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8489 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8490 (__bzero): Don't use BP_SYM.
8491 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8492 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8493 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
8494 <bp-sym.h> and <bp-asm.h>.
8495 (__memchr): Don't use BP_SYM.
8496 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
8497 <bp-sym.h> and <bp-asm.h>.
8498 (memcmp): Don't use BP_SYM. Remove comment about bounded
8499 pointers.
8500 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
8501 <bp-sym.h> and <bp-asm.h>.
8502 (memcpy): Don't use BP_SYM.
8503 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
8504 <bp-sym.h> and <bp-asm.h>.
8505 (__mempcpy): Don't use BP_SYM.
8506 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
8507 <bp-sym.h> and <bp-asm.h>.
8508 (__memrchr): Don't use BP_SYM.
8509 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
8510 <bp-sym.h> and <bp-asm.h>.
8511 (memset): Don't use BP_SYM.
8512 (__bzero): Likewise.
8513 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
8514 <bp-sym.h> and <bp-asm.h>.
8515 (__rawmemchr): Don't use BP_SYM.
8516 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
8517 <bp-sym.h> and <bp-asm.h>.
8518 (__STRCMP): Don't use BP_SYM.
8519 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
8520 <bp-sym.h> and <bp-asm.h>.
8521 (strchr): Don't use BP_SYM.
8522 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
8523 <bp-sym.h> and <bp-asm.h>.
8524 (__strchrnul): Don't use BP_SYM.
8525 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
8526 <bp-sym.h> and <bp-asm.h>.
8527 (strlen): Don't use BP_SYM.
8528 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
8529 <bp-sym.h> and <bp-asm.h>.
8530 (strncmp): Don't use BP_SYM. Remove comment about bounded
8531 pointers.
8532 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
8533 <bp-sym.h> and <bp-asm.h>.
8534 (__strnlen): Don't use BP_SYM.
8535 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
8536 <bp-sym.h> and <bp-asm.h>.
8537 (__GI__setjmp): Don't use BP_SYM.
8538 (_setjmp): Likewise.
8539 (__sigsetjmp): Likewise.
8540 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
8541 (L(start_addresses)): Don't use BP_SYM.
8542 (_start): Likewise.
8543 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
8544 <bp-asm.h>.
8545 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
8546 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
8547 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8548 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8549 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
8550 <bp-asm.h>.
8551 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
8552 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
8553 about bounded pointers.
8554 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8555 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8556 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
8557 <bp-asm.h>.
8558 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
8559 about bounded pointers. Remove GKM FIXME comments.
8560 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8561 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
8562 <bp-asm.h>.
8563 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
8564 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
8565 Remove GKM FIXME comments.
8566 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8567 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8568 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
8569 <bp-asm.h>.
8570 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
8571 about bounded pointers. Remove GKM FIXME comment.
8572 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
8573 and <bp-asm.h>.
8574 (strncmp): Don't use BP_SYM. Remove comment about bounded
8575 pointers.
8576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
8577 <bp-sym.h> and <bp-asm.h>.
8578 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
8580 <bp-sym.h> and <bp-asm.h>.
8581 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
8582 comment.
8583
cdcf361f
PP
85842013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8585
8586 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
8587 call free(NULL).
8588
3c4a2b15
DM
85892013-03-05 David S. Miller <davem@davemloft.net>
8590
8591 * po/es.po: Update from translation team.
8592
cdcf361f 85932013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
8594
8595 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
8596 <bits/mman-linux.h>.
8597 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8598 is fine.
8599 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
8600 <bits/mman-linux.h> to end of file.
8601 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8602 is fine.
8603 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
8604 <bits/mman-linux.h> to end of file.
8605 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8606 is fine.
8607 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
8608 <bits/mman-linux.h> to end of file.
8609
8610 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
8611 (MCL_CURRENT, MCL_FUTURE): Define here.
8612
5f67c04f
AK
86132013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8614
8a4473cc 8615 [BZ #15232]
5f67c04f
AK
8616 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
8617 attribute_hidden.
8618 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8619
c3e94a95
AK
86202013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8621
8622 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
8623 fourth parameter needed for rt_sigprocmask syscall.
8624 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8625 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8626 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
8627 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8628 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8629 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
8630
cfb6382a
JM
86312013-03-04 Joseph Myers <joseph@codesourcery.com>
8632
8633 [BZ #13550]
8634 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
8635 comment about bounded pointers.
8636 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
8637 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
8638
539d8e01
AJ
86392013-03-04 Andreas Jaeger <aj@suse.de>
8640
8641 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
8642 common definitions.
8643
8644 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
8645 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
8646 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
8647 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8648 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
8649 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8650
2e167a70 86512013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
8652
8653 [BZ #15055]
8654 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8655 __ieee754_sqrl instead of __sqrl.
8656
68508633
JM
86572013-03-01 Joseph Myers <joseph@codesourcery.com>
8658
8659 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
8660 * sysdeps/powerpc/fpu_control.h: ... here.
8661 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
8662 * sysdeps/powerpc/bits/fenvinline.h: ... here.
8663 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
8664 * sysdeps/powerpc/bits/mathinline.h: ... here.
8665
7775448e
RM
86662013-03-01 Roland McGrath <roland@hack.frob.com>
8667
8668 * elf/dl-hwcaps.c (_dl_important_hwcaps):
8669 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
8670 to just [NEED_DL_SYSINFO_DSO].
8671 * elf/dl-support.c: Likewise.
8672 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8673 * elf/rtld.c (dl_main): Likewise.
8674 * elf/setup-vdso.h (setup_vdso): Likewise.
8675 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
8676 * sysdeps/unix/sysv/linux/dl-sysdep.c
8677 (_dl_discover_osversion): Likewise.
8678
4e9b5995
CD
86792013-03-01 Carlos O'Donell <carlos@redhat.com>
8680
8681 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
8682 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8683
e23872c8
SP
86842013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8685
e5c74c63
SP
8686 * NEWS: Mention libm performance improvements and non-x86 PI
8687 futex support.
8688
e23872c8
SP
8689 * csu/libc-start.c (__pthread_initialize_minimal): Change
8690 function arguments.
8691 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8692
b5510883
JM
86932013-02-28 Joseph Myers <joseph@codesourcery.com>
8694
8695 [BZ #13550]
8696 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
8697 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
8698 <bp-sym.h> and <bp-asm.h>.
8699 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8700 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
8701 and <bp-asm.h>.
8702 (memcpy): Don't use BP_SYM.
8703 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
8704 <bp-asm.h>.
8705 (__mpn_add_n): Don't use BP_SYM.
8706 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
8707 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
8708 and <bp-asm.h>.
8709 (__mpn_addmul_1): Don't use BP_SYM.
8710 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8711 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
8712 <bp-sym.h>.
8713 (_setjmp): Don't use BP_SYM.
8714 (__novmx_setjmp): Likewise.
8715 (__GI__setjmp): Likewise.
8716 (__vmx_setjmp): Likewise.
8717 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
8718 <bp-sym.h>.
8719 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
8720 (__bzero): Don't use BP_SYM.
8721 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8722 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8723 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
8724 <bp-sym.h> and <bp-asm.h>.
8725 (memcpy): Don't use BP_SYM.
8726 * sysdeps/powerpc/powerpc32/fpu/__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/fpu/setjmp-common.S: Don't include
8730 <bp-sym.h> and <bp-asm.h>.
8731 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8732 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
8733 <bp-asm.h>.
8734 (__mpn_lshift): Don't use BP_SYM.
8735 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8736 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
8737 <bp-asm.h>.
8738 (memset): Don't use BP_SYM.
8739 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8740 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8741 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
8742 <bp-asm.h>.
8743 (__mpn_mul_1): Don't use BP_SYM.
8744 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8745 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
8746 <bp-sym.h> and <bp-asm.h>.
8747 (memcmp): Don't use BP_SYM.
8748 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
8749 <bp-sym.h> and <bp-asm.h>.
8750 (memcpy): Don't use BP_SYM.
8751 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
8752 <bp-sym.h> and <bp-asm.h>.
8753 (memset): Don't use BP_SYM.
8754 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
8755 <bp-sym.h> and <bp-asm.h>.
8756 (strncmp): Don't use BP_SYM.
8757 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
8758 <bp-sym.h> and <bp-asm.h>.
8759 (memcpy): Don't use BP_SYM.
8760 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
8761 <bp-sym.h> and <bp-asm.h>.
8762 (memset): Don't use BP_SYM.
8763 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
8764 <bp-sym.h> and <bp-asm.h>.
8765 (__memchr): Don't use BP_SYM.
8766 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
8767 <bp-sym.h> and <bp-asm.h>.
8768 (memcmp): Don't use BP_SYM.
8769 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
8770 <bp-sym.h> and <bp-asm.h>.
8771 (memcpy): Don't use BP_SYM.
8772 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
8773 <bp-sym.h> and <bp-asm.h>.
8774 (__mempcpy): Don't use BP_SYM.
8775 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
8776 <bp-sym.h> and <bp-asm.h>.
8777 (__memrchr): Don't use BP_SYM.
8778 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
8779 <bp-sym.h> and <bp-asm.h>.
8780 (memset): Don't use BP_SYM.
8781 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
8782 <bp-sym.h> and <bp-asm.h>.
8783 (__rawmemchr): Don't use BP_SYM.
8784 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
8785 <bp-sym.h> and <bp-asm.h>.
8786 (__STRCMP): Don't use BP_SYM.
8787 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
8788 <bp-sym.h> and <bp-asm.h>.
8789 (strchr): Don't use BP_SYM.
8790 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
8791 <bp-sym.h> and <bp-asm.h>.
8792 (__strchrnul): Don't use BP_SYM.
8793 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
8794 <bp-sym.h> and <bp-asm.h>.
8795 (strlen): Don't use BP_SYM.
8796 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
8797 <bp-sym.h> and <bp-asm.h>.
8798 (strncmp): Don't use BP_SYM.
8799 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
8800 <bp-sym.h> and <bp-asm.h>.
8801 (__strnlen): Don't use BP_SYM.
8802 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
8803 <bp-asm.h>.
8804 (__mpn_rshift): Don't use BP_SYM.
8805 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8806 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
8807 <bp-sym.h> and <bp-asm.h>.
8808 (__sigsetjmp): Don't use BP_SYM.
8809 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
8810 (L(start_addresses)): Don't use BP_SYM.
8811 (_start): Likewise.
8812 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
8813 <bp-asm.h>.
8814 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
8815 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8816 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8817 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
8818 <bp-asm.h>.
8819 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
8820 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8821 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8822 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
8823 <bp-asm.h>.
8824 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
8825 comments.
8826 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8827 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
8828 <bp-asm.h>.
8829 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
8830 FIXME comments.
8831 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8832 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8833 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
8834 <bp-asm.h>.
8835 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
8836 comment.
8837 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
8838 and <bp-asm.h>.
8839 (strncmp): Don't use BP_SYM,
8840 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
8841 <bp-asm.h>.
8842 (__mpn_sub_n): Don't use BP_SYM.
8843 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8844 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
8845 and <bp-asm.h>.
8846 (__mpn_submul_1): Don't use BP_SYM.
8847 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
8849 <bp-sym.h> and <bp-asm.h>.
8850 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
8852 <bp-sym.h> and <bp-asm.h>.
8853 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
8854 comment.
8855
8d19fe64
SP
88562013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8857
8858 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
8859 Use ZK to minimize writes to Z.
8860 (sub_magnitudes): Simplify code a bit.
8861 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
8862 Use ZK to minimize writes to Z.
8863 (sub_magnitudes): Simplify code a bit.
8864
85bd816a
RM
88652013-02-27 Roland McGrath <roland@hack.frob.com>
8866
8867 * csu/gmon-start.c: Add special exception to license text.
8868
b5977bf2
RH
88692013-02-27 Richard Henderson <rth@redhat.com>
8870
8871 * scripts/config.guess: Update from config.git.
8872 * scripts/config.sub: Likewise.
8873
11d6e2f2
SP
88742013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8875
09c14ed2
SP
8876 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
8877
a688864e
SP
8878 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
8879
6295157a
SP
8880 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
8881
b8de2202
SP
8882 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
8883
11d6e2f2
SP
8884 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
8885
7e80ddb8
RM
88862013-02-26 Roland McGrath <roland@hack.frob.com>
8887
8888 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
8889 [$(build-shared = yes].
7e80ddb8 8890
7da6d9ed
SP
88912013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8892
45f05884
SP
8893 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
8894 (__mul): Reduce iterations for calculating mantissa.
8895
2236d359
SP
8896 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
8897 MPTWO.
8898 (__mpranred): Likewise.
8899
7da6d9ed
SP
8900 [BZ #15160]
8901 * malloc/memusagestat.c (main): Draw graphs for heap and stack
8902 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
8903
b7688c42
PE
89042013-02-26 Paul Eggert <eggert@cs.ucla.edu>
8905
8906 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
8907 Define __attribute__.
8908
53a5c423
SP
89092013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8910
8911 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
8912 unused.
8913 * posix/regex_internal.h (__attribute): Remove.
8914 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
8915 (re_string_context_at): Likewise.
8916 (bitset_not): Use __attribute__ and mark function as possibly
8917 unused.
8918 (bitset_merge): Likewise.
8919 (bitset_mask): Likewise.
8920 (re_string_char_size_at): Likewise.
8921 (re_string_wchar_at): Likewise.
8922 (re_string_elem_size_at): Likewise.
8923
60f5a8b5
SP
89242013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8925
2a983a2e
SP
8926 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
8927 code.
8928 (cc32): Likewise.
8929
e69804d1
SP
8930 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
8931 (__acr): Likewise.
8932 (__cpy): Likewise.
8933 (norm): Likewise.
8934 (denorm): Likewise.
8935 (__dbl_mp): Likewise.
8936 (add_magnitudes): Likewise.
8937 (sub_magnitudes): Likewise.
8938 (__mul): Likewise.
8939 (__inv): Likewise.
8940
2f22a1e8
SP
8941 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
8942 style.
8943
8930ddc7
SP
8944 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
8945 style.
8946
dc60cb11
SP
8947 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
8948 code.
8949
60f5a8b5
SP
8950 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
8951 up changes with default code.
8952 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
8953 Likewise.
8954
b4d1fd33
AM
89552013-02-24 Allan McRae <allan@archlinux.org>
8956
faf6f8bc
AM
8957 * manual/socket.texi (The Internet Namespace): Order menu items
8958 to match that in the file.
8959
b4d1fd33
AM
8960 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
8961 node listing of the info page menu.
8962
2366713d
JM
89632013-02-21 Joseph Myers <joseph@codesourcery.com>
8964
8965 [BZ #13550]
8966 * sysdeps/i386/bp-asm.h: Remove file.
8967 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8968 (PARMS): Do not use macros from bp-asm.h.
8969 (S1): Likewise.
8970 (S2): Likewise.
8971 (SIZE): Likewise.
8972 (__mpn_add_n): Do not use BP_SYM
8973 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
8974 "bp-asm.h".
8975 (PARMS): Do not use macros from bp-asm.h.
8976 (S1): Likewise.
8977 (SIZE): Likewise.
8978 (__mpn_addmul_1): Do not use BP_SYM
8979 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
8980 "bp-asm.h".
8981 (PARMS): Do not use macros from bp-asm.h.
8982 (SIGMSK): Likewise.
8983 (_setjmp): Likewise. Do not use BP_SYM.
8984 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
8985 "bp-asm.h".
8986 (PARMS): Do not use macros from bp-asm.h.
8987 (SIGMSK): Likewise.
8988 (setjmp): Likewise. Do not use BP_SYM.
8989 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
8990 "bp-asm.h".
8991 (PARMS): Do not use macros from bp-asm.h.
8992 (__frexp): Do not use BP_SYM.
8993 (frexp): Likewise.
8994 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
8995 "bp-asm.h".
8996 (PARMS): Do not use macros from bp-asm.h.
8997 (__frexpf): Do not use BP_SYM.
8998 (frexpf): Likewise.
8999 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
9000 "bp-asm.h".
9001 (PARMS): Do not use macros from bp-asm.h.
9002 (__frexpl): Do not use BP_SYM.
9003 (frexpl): Likewise.
9004 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
9005 "bp-asm.h".
9006 (PARMS): Do not use macros from bp-asm.h.
9007 (__remquo): Do not use BP_SYM.
9008 (remquo): Likewise.
9009 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
9010 "bp-asm.h".
9011 (PARMS): Do not use macros from bp-asm.h.
9012 (__remquof): Do not use BP_SYM.
9013 (remquof): Likewise.
9014 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
9015 "bp-asm.h".
9016 (PARMS): Do not use macros from bp-asm.h.
9017 (__remquol): Do not use BP_SYM.
9018 (remquol): Likewise.
9019 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
9020 "bp-asm.h".
9021 (PARMS): Do not use macros from bp-asm.h.
9022 (DEST): Likewise.
9023 (SRC): Likewise.
9024 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
9025 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
9026 "bp-asm.h".
9027 (PARMS): Do not use macros from bp-asm.h.
9028 (strlen): Do not use BP_SYM.
9029 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
9030 "bp-asm.h".
9031 (PARMS): Do not use macros from bp-asm.h.
9032 (S1): Likewise.
9033 (S2): Likewise.
9034 (SIZE): Likewise.
9035 (__mpn_add_n): Do not use BP_SYM.
9036 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
9037 "bp-asm.h".
9038 (PARMS): Do not use macros from bp-asm.h.
9039 (S1): Likewise.
9040 (SIZE): Likewise.
9041 (__mpn_addmul_1): Do not use BP_SYM.
9042 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
9043 weak_alias.
9044 (bzero): Likewise.
9045 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
9046 "bp-asm.h".
9047 (PARMS): Do not use macros from bp-asm.h.
9048 (S): Likewise.
9049 (SIZE): Likewise.
9050 (__mpn_lshift): Do not use BP_SYM.
9051 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
9052 "bp-asm.h".
9053 (PARMS): Do not use macros from bp-asm.h.
9054 (DEST): Likewise.
9055 (SRC): Likewise.
9056 (LEN): Likewise.
9057 (memcpy): Likewise. Do not use BP_SYM.
9058 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
9059 libc_hidden_def and weak_alias.
9060 (mempcpy): Do not use BP_SYM in weak_alias.
9061 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
9062 "bp-asm.h".
9063 (PARMS): Do not use macros from bp-asm.h.
9064 (DEST): Likewise.
9065 (LEN): Likewise.
9066 [!BZERO_P] (CHR): Likewise.
9067 (memset): Likewise. Do not use BP_SYM.
9068 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
9069 "bp-asm.h".
9070 (PARMS): Do not use macros from bp-asm.h.
9071 (S1): Likewise.
9072 (SIZE): Likewise.
9073 (__mpn_mul_1): Do not use BP_SYM.
9074 * sysdeps/i386/i586/rshift.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_rshift): Do not use BP_SYM.
9080 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
9081 "bp-asm.h".
9082 (PARMS): Do not use macros from bp-asm.h.
9083 (STR): Likewise.
9084 (CHR): Likewise.
9085 (strchr): Likewise. Do not use BP_SYM.
9086 (index): Do not use BP_SYM in weak_alias.
9087 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
9088 "bp-asm.h".
9089 (PARMS): Do not use macros from bp-asm.h.
9090 (DEST): Likewise.
9091 (SRC): Likewise.
9092 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
9093 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
9094 "bp-asm.h".
9095 (PARMS): Do not use macros from bp-asm.h.
9096 (strlen): Do not use BP_SYM.
9097 * sysdeps/i386/i586/sub_n.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 (S2): Likewise.
9102 (SIZE): Likewise.
9103 (__mpn_sub_n): Do not use BP_SYM.
9104 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
9105 "bp-asm.h".
9106 (PARMS): Do not use macros from bp-asm.h.
9107 (S1): Likewise.
9108 (SIZE): Likewise.
9109 (__mpn_submul_1): Do not use BP_SYM.
9110 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
9111 "bp-asm.h".
9112 (PARMS): Do not use macros from bp-asm.h.
9113 (S1): Likewise.
9114 (S2): Likewise.
9115 (SIZE): Likewise.
9116 (__mpn_add_n): Do not use BP_SYM.
9117 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
9118 weak_alias.
9119 (bzero): Likewise.
9120 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
9121 "bp-asm.h".
9122 (PARMS): Do not use macros from bp-asm.h.
9123 (BLK2): Likewise.
9124 (LEN): Likewise.
9125 (memcmp): Do not use BP_SYM.
9126 (bcmp): Do not use BP_SYM in weak_alias.
9127 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
9128 "bp-asm.h".
9129 (PARMS): Do not use macros from bp-asm.h.
9130 (DEST): Likewise.
9131 (SRC): Likewise.
9132 (LEN): Likewise.
9133 (memcpy): Likewise. Do not use BP_SYM.
9134 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
9135 "bp-asm.h".
9136 (PARMS): Do not use macros from bp-asm.h.
9137 (DEST): Likewise.
9138 (SRC): Likewise.
9139 (LEN): Likewise.
9140 (memmove): Likewise. Do not use BP_SYM.
9141 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
9142 "bp-asm.h".
9143 (PARMS): Do not use macros from bp-asm.h.
9144 (DEST): Likewise.
9145 (SRC): Likewise.
9146 (LEN): Likewise.
9147 (__mempcpy): Likewise. Do not use BP_SYM.
9148 (mempcpy): Do not use BP_SYM in weak_alias.
9149 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
9150 "bp-asm.h".
9151 (PARMS): Do not use macros from bp-asm.h.
9152 (DEST): Likewise.
9153 (LEN): Likewise.
9154 [!BZERO_P] (CHR): Likewise.
9155 (memset): Likewise. Do not use BP_SYM.
9156 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
9157 "bp-asm.h".
9158 (PARMS): Do not use macros from bp-asm.h.
9159 (STR2): Likewise.
9160 (strcmp): Do not use BP_SYM.
9161 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
9162 "bp-asm.h".
9163 (PARMS): Do not use macros from bp-asm.h.
9164 (STR): Likewise.
9165 (DELIM): Likewise.
9166 [USE_AS_STRTOK_R] (SAVE): Likewise.
9167 (FUNCTION): Likewise. Do not use BP_SYM.
9168 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
9169 aliases.
9170 (strtok_r): Likewise.
9171 (__GI___strtok_r): Likewise.
9172 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9173 (PARMS): Do not use macros from bp-asm.h.
9174 (S): Likewise.
9175 (SIZE): Likewise.
9176 (__mpn_lshift): Do not use BP_SYM.
9177 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9178 (PARMS): Do not use macros from bp-asm.h.
9179 (STR): Likewise.
9180 (CHR): Likewise.
9181 (__memchr): Do not use BP_SYM.
9182 (memchr): Do not use BP_SYM in weak_alias.
9183 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9184 (PARMS): Do not use macros from bp-asm.h.
9185 (BLK2): Likewise.
9186 (LEN): Likewise.
9187 (memcmp): Do not use BP_SYM.
9188 (bcmp): Do not use BP_SYM in weak_alias.
9189 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
9190 (PARMS): Do not use macros from bp-asm.h.
9191 (S1): Likewise.
9192 (SIZE): Likewise.
9193 (__mpn_mul_1): Do not use BP_SYM.
9194 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
9195 "bp-asm.h".
9196 (PARMS): Do not use macros from bp-asm.h.
9197 (STR): Likewise.
9198 (CHR): Likewise.
9199 (__rawmemchr): Do not use BP_SYM.
9200 (rawmemchr): Do not use BP_SYM in weak_alias.
9201 * sysdeps/i386/rshift.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_rshift): Do not use BP_SYM.
9206 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9207 (PARMS): Do not use macros from bp-asm.h.
9208 (SIGMSK): Likewise.
9209 (__sigsetjmp): Likewise. Do not use BP_SYM.
9210 * sysdeps/i386/start.S: Do not include "bp-sym.h".
9211 (_start): Do not use BP_SYM.
9212 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
9213 (PARMS): Do not use macros from bp-asm.h.
9214 (DEST): Likewise.
9215 (SRC): Likewise.
9216 (__stpcpy): Likewise. Do not use BP_SYM.
9217 (stpcpy): Do not use BP_SYM in weak_alias.
9218 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
9219 "bp-asm.h".
9220 (PARMS): Do not use macros from bp-asm.h.
9221 (DEST): Likewise.
9222 (SRC): Likewise.
9223 (LEN): Likewise.
9224 (__stpncpy): Likewise. Do not use BP_SYM.
9225 (stpncpy): Do not use BP_SYM in weak_alias.
9226 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9227 (PARMS): Do not use macros from bp-asm.h.
9228 (STR): Likewise.
9229 (CHR): Likewise.
9230 (strchr): Likewise. Do not use BP_SYM.
9231 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
9232 "bp-asm.h".
9233 (PARMS): Do not use macros from bp-asm.h.
9234 (STR): Likewise.
9235 (CHR): Likewise.
9236 (__strchrnul): Likewise. Do not use BP_SYM.
9237 (strchrnul): Do not use BP_SYM in weak_alias.
9238 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
9239 "bp-asm.h".
9240 (PARMS): Do not use macros from bp-asm.h.
9241 (STOP): Likewise.
9242 (strcspn): Do not use BP_SYM.
9243 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
9244 "bp-asm.h".
9245 (PARMS): Do not use macros from bp-asm.h.
9246 (STR): Likewise.
9247 (STOP): Likewise.
9248 (strpbrk): Likewise. Do not use BP_SYM.
9249 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
9250 "bp-asm.h".
9251 (PARMS): Do not use macros from bp-asm.h.
9252 (STR): Likewise.
9253 (CHR): Likewise.
9254 (strrchr): Likewise. Do not use BP_SYM.
9255 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
9256 (PARMS): Do not use macros from bp-asm.h.
9257 (SKIP): Likewise.
9258 (strspn): Do not use BP_SYM.
9259 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
9260 (PARMS): Do not use macros from bp-asm.h.
9261 (STR): Likewise.
9262 (DELIM): Likewise.
9263 (SAVE): Likewise.
9264 (FUNCTION): Likewise. Do not use BP_SYM.
9265 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
9266 aliases.
9267 (strtok_r): Likewise.
9268 (__GI___strtok_r): Likewise.
9269 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9270 (PARMS): Do not use macros from bp-asm.h.
9271 (S1): Likewise.
9272 (S2): Likewise.
9273 (SIZE): Likewise.
9274 (__mpn_sub_n): Do not use BP_SYM.
9275 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
9276 "bp-asm.h".
9277 (PARMS): Do not use macros from bp-asm.h.
9278 (S1): Likewise.
9279 (SIZE): Likewise.
9280 (__mpn_submul_1): Do not use BP_SYM.
9281 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
9282 <bp-sym.h>.
9283 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
9284 and <bp-asm.h>.
9285 (PARMS): Do not use macros from bp-asm.h.
9286 (FLAGS): Likewise.
9287 (PTID): Likewise.
9288 (TLS): Likewise.
9289 (CTID): Likewise.
9290 (__clone): Do not use BP_SYM.
9291 (clone): Do not use BP_SYM in weak_alias.
9292 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
9293 and <bp-asm.h>.
9294 (PARMS): Do not use macros from bp-asm.h.
9295 (LEN): Likewise.
9296 (__mmap64): Do not use BP_SYM.
9297 (mmap64): Do not use BP_SYM in weak_alias.
9298 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9299 <bp-sym.h> and <bp-asm.h>.
9300 (PARMS): Do not use macros from bp-asm.h.
9301 (__posix_fadvise64_l64): Do not use BP_SYM.
9302 * sysdeps/unix/sysv/linux/i386/semtimedop.S
9303 (PARMS): Do not use macros from bp-asm.h.
9304 (NSOPS): Likewise.
9305 (semtimedop): Do not use BP_SYM.
9306 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
9307 and <bp-asm.h>.
9308
582a3cff
AM
93092013-02-21 Allan McRae <allan@archlinux.org>
9310
9311 * manual/message.texi (Charset conversion in gettext):
9312 Move @end statement to beginning of line.
9313
bab8a695
SP
93142013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9315
80945231
SP
9316 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
9317 static.
9318 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9319 Likewise.
9320
bab8a695
SP
9321 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
9322 (denorm): Likewise.
9323 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
9324 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
9325
e21d7aa7
AK
93262013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9327
9328 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
9329 tail-call to the resolved function if pltexit isn't needed.
9330
4c7a4263
SP
93312013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9332
9333 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
9334 or Y being zero as being unlikely.
9335 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9336 Likewise.
9337
41f49342
CD
93382013-02-20 Carlos O'Donell <carlos@redhat.com>
9339
9340 * manual/nss.texi (System Databases and Name Service Switch):
9341 Remove frobnicate @pxref.
9342
50022a93
TS
93432013-02-20 Thomas Schwinge <thomas@codesourcery.com>
9344
9345 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9346 __attribute__ ((unused)) to __attribute__ ((__unused__)).
9347
08cbd996
PM
93482013-02-20 Petr Machata <pmachata@redhat.com>
9349
9350 * elf/elf.h (R_ARM_TARGET1): New macro.
9351 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
9352 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
9353 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
9354 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
9355 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
9356 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
9357 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
9358 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
9359 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
9360 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
9361 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
9362 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
9363 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
9364 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
9365 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
9366 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
9367 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
9368 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
9369 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
9370 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
9371 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
9372 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
9373 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
9374 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
9375 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
9376 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
9377 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
9378 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
9379 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
9380 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
9381 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
9382 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
9383 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
9384 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
9385 (R_ARM_THM_GOT_BREL12): Likewise.
9386 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
9387 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
9388 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
9389 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
9390 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
9391 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
9392 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
9393 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
9394 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
9395
c7b275d6
TS
93962013-02-20 Thomas Schwinge <thomas@codesourcery.com>
9397
9398 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9399 __attribute_used__ to __attribute__ ((unused)).
9400
20cd7fb3
SP
94012013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9402
9403 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
9404 powerpc mpa.c.
9405 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
9406 comment formatting.
9407 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
9408
92945b52
JM
94092013-02-19 Joseph Myers <joseph@codesourcery.com>
9410
9411 [BZ #13550]
9412 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
9413 Remove macro.
9414 (ENTER): Remove both macro definitions.
9415 (LEAVE): Likewise.
9416 (CHECK_BOUNDS_LOW): Likewise.
9417 (CHECK_BOUNDS_HIGH): Likewise.
9418 (CHECK_BOUNDS_BOTH): Likewise.
9419 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
9420 (RETURN_BOUNDED_POINTER): Likewise.
9421 (RETURN_NULL_BOUNDED_POINTER): Likewise.
9422 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
9423 (POP_ERRNO_LOCATION_RETURN): Likewise.
9424 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
9425 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9426 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
9427 macros.
9428 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9429 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
9430 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
9431 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
9432 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
9433 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
9434 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
9435 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
9436 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
9437 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
9438 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
9439 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
9440 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9441 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
9442 removed macros.
9443 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9444 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
9445 macros.
9446 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9447 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
9448 * sysdeps/i386/i586/memset.S (memset): Likewise.
9449 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
9450 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9451 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
9452 macros.
9453 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9454 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
9455 Change uses of L(2) to L(out).
9456 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
9457 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
9458 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
9459 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9460 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
9461 removed macros.
9462 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9463 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
9464 macros.
9465 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9466 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
9467 (RETURN): Do not use macro LEAVE.
9468 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
9469 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
9470 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
9471 * sysdeps/i386/i686/memset.S (memset): Likewise.
9472 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
9473 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
9474 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9475 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
9476 Likewise.
9477 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9478 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
9479 L(1_2) and L(1_3) into L(1).
9480 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9481 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
9482 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9483 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
9484 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9485 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
9486 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
9487 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9488 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
9489 macros.
9490 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
9491 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9492 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
9493 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
9494 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
9495 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9496 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
9497 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
9498 * sysdeps/i386/strcspn.S (strcspn): Likewise.
9499 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
9500 * sysdeps/i386/strrchr.S (strrchr): Likewise.
9501 * sysdeps/i386/strspn.S (strspn): Likewise.
9502 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
9503 conditional code.
9504 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9505 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
9506 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9507 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
9508 L(1_3) into L(1_1).
9509 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
9510 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9511 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
9512 macros.
9513 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9514
2389741a
JJ
95152013-02-19 Jakub Jelinek <jakub@redhat.com>
9516
9517 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
9518 macro.
9519
2016b3cd
SP
95202013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9521
e4f22324
SP
9522 * math/atest-exp.c (exp_mpn): Remove ROUND.
9523 * math/atest-exp2.c (exp_mpn): Likewise.
9524 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
9525
2016b3cd
SP
9526 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
9527 * stdlib/tst-tls-atexit-lib.c: Likewise.
9528 * stdlib/tst-tls-atexit.c: Likewise.
9529
4be9b544
MF
95302013-02-18 Mike Frysinger <vapier@gentoo.org>
9531
9532 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
9533 and __attribute_alloc_size__.
9534
2f62b9ee
MF
95352013-02-18 Mike Frysinger <vapier@gentoo.org>
9536
9537 * include/programs/xmalloc.h: Change __attribute_alloc_size to
9538 __attribute_alloc_size__.
9539 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
9540 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
9541
6ff444c4
MF
95422013-02-18 Mike Frysinger <vapier@gentoo.org>
9543
9544 * include/programs/xmalloc.h: New file.
9545 * catgets/gencat.c: Include it.
9546 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
9547 * elf/pldd.c: Likewise.
9548 * iconv/iconv_charmap.c: Likewise.
9549 * iconv/iconvconfig.c: Likewise.
9550 * iconv/strtab.c: Likewise.
9551 * locale/programs/locale.c: Likewise.
9552 * locale/programs/localedef.h: Likewise.
9553 * locale/programs/simple-hash.c: Likewise.
9554 * nscd/nscd.h: Likewise.
9555 * nss/makedb.c: Likewise.
9556 * sysdeps/generic/ldconfig.h: Likewise.
9557
be179c8a
SP
95582013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9559
ba384f6e
SP
9560 * Versions.def: Add GLIBC_2.18.
9561 * include/link.h (struct link_map): New member l_tls_dtor_count.
9562 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
9563 (__call_tls_dtors): Likewise.
9564 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
9565 __cxa_thread_atexit_impl.
9566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9567 Likewise.
9568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9569 Likewise.
9570 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9571 Likewise.
9572 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9573 Likewise.
9574 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9575 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
9576 Likewise.
9577 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
9578 Likewise.
9579 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9580 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9581 Likewise.
9582 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
9583 (tests): Add test case tst-tls-atexit.
9584 (modules-names): Add shared library for tst-tls-atexit.
85891aca 9585 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
9586 (GLIBC_PRIVATE): Add __call_tls_dtors.
9587 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
9588 for libstdc++.
9589 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
9590 * stdlib/tst-tls-atexit.c: New test case.
9591 * stdlib/tst-tls-atexit-lib.c: New test case.
9592
ffaa74cf 9593 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 9594
be179c8a
SP
9595 * elf/Versions (ld): Add _dl_find_dso_for_object.
9596 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
9597 * elf/dl-open.c (_dl_find_dso_for_object): New function.
9598 (dl_open_worker): Use _dl_find_dso_for_object.
9599 * elf/dl-sym.c (do_sym): Likewise.
9600 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
9601
f78b5caa
AK
96022013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9603
9604 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
9605 Syntactic changes only.
9606 (_dl_runtime_profile): Do a tail-call to the resolved function.
9607
29691210
JM
96082013-02-17 Joseph Myers <joseph@codesourcery.com>
9609
9610 [BZ #13550]
9611 * sysdeps/x86_64/bp-asm.h: Remove file.
9612 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
9613 <bp-sym.h> and <bp-asm.h>.
9614 (__clone): Do not use BP_SYM.
9615 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
9616 <bp-sym.h> and <bp-asm.h>.
9617 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9618 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
9619 "bp-asm.h".
9620 (_setjmp): Do not use BP_SYM.
9621 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
9622 "bp-asm.h".
9623 (setjmp): Do not use BP_SYM.
9624 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
9625 libc_hidden_def.
9626 (mempcpy): Do not use BP_SYM in weak_alias.
9627 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
9628 "bp-asm.h".
9629 (strchr): Do not use BP_SYM.
9630 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
9631 "bp-asm.h".
9632 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
9633 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
9634 (_start): Do not use BP_SYM.
9635 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
9636 "bp-asm.h".
9637 (strcat): Do not use BP_SYM.
9638 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
9639 "bp-asm.h".
9640 (STRCMP): Do not use BP_SYM.
9641 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
9642 "bp-asm.h".
9643 (STRCPY): Do not use BP_SYM.
9644 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
9645 "bp-asm.h".
9646 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
9647 "bp-asm.h".
9648 (FUNCTION): Do not use BP_SYM.
9649 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
9650 weak_alias.
9651 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
9652
f238fd19
AJ
96532013-02-17 Andreas Jaeger <aj@suse.de>
9654
9655 * time/Versions: Sort entries.
9656 * string/Versions: Likewise.
9657 * resolv/Versions: Likewise.
9658 * posix/Versions: Likewise.
9659 * iconv/Versions: Likewise.
9660 * elf/Versions: Likewise.
9661 * wcsmbs/Versions: Likewise.
9662
bd07f23c 96632013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 9664
22af19f9
SP
9665 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
9666 loop termination condition.
9667
4709fe76
SP
9668 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
9669 variable to calculate EZ.
9670 (__sqr): Likewise.
2d0e0f29
SP
9671
9672 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
9673 the lower precision input.
9674
daaa7713
JM
96752013-02-15 Joseph Myers <joseph@codesourcery.com>
9676
9677 [BZ #13550]
9678 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
9679 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
9680 (run-via-rtld-prefix): Do not handle %-bp tests.
9681 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
9682 (all-object-suffixes): Remove .ob.
9683 (bppfx): Remove variable.
9684 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
9685 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
9686 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
9687 [$(build-bounded) = yes] (libtype.ob): Likewise.
9688 * Makerules (elide-routines.ob): Remove variable.
9689 (do-tests-clean): Do not handle *-bp.out.
9690 (common-mostlyclean): Do not handle *-bp and *-bp.out.
9691 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
9692 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
9693 (tests): Do not include $(tests-bp.out).
9694 (xtests): Do not include $(xtests-bp.out).
9695 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
9696 [$(build-bounded) = yes] ($(addprefix
9697 $(objpfx),$(binaries-bounded))): Remove rule.
9698 ($(objpfx)%-bp.out): Remove rule.
9699 * config.make.in (build-bounded): Remove variable.
9700 * crypt/Makefile [$(build-bounded) = yes]
9701 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
9702 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
9703 append to variable.
9704 [$(build-bounded) = yes] (install-lib): Likewise.
9705 [$(build-bounded) = yes] (generated): Likewise.
9706 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
9707 Remove rule.
9708 * intl/Makefile [$(build-bounded) = yes]
9709 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
9710 * math/Makefile [$(build-bounded) = yes]
9711 ($(tests:%=$(objpfx)%-bp): Likewise.
9712 * misc/Makefile [$(build-bounded) = yes]
9713 ($(objpfx)tst-tsearch-bp): Likewise.
9714 * nptl/Makeconfig (bounded-thread-library): Remove variable.
9715 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
9716 Remove dependency.
9717 * string/Makefile (o-objects.ob): Remove variable.
9718 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
9719 (CFLAGS-.ob): Remove variable.
9720 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
9721 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
9722 both definitions of variable.
9723 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
9724 (ASFLAGS-.ob): Remove variable.
9725
e97ed6dd
JM
97262013-02-14 Joseph Myers <joseph@codesourcery.com>
9727
2bdd4ca6
JM
9728 [BZ #13550]
9729 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
9730 Remove __BOUNDED_POINTERS__ from condition.
9731 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
9732 * string/bits/string2.h [!__NO_STRING_INLINES &&
9733 !__BOUNDED_POINTERS__]: Likewise.
9734 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
9735 Likewise.
9736 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
9737 Remove conditional code.
9738 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
9739 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
9740 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
9741 condition.
9742
e97ed6dd
JM
9743 [BZ #13550]
9744 * csu/libc-start.c: Do not include <bp-sym.h>.
9745 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
9746 * elf/dl-open.c: Do not include <bp-sym.h>.
9747 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
9748 * math/fegetenv.c: Do not include <bp-sym.h>.
9749 (fegetenv): Do not use BP_SYM in versioned symbols.
9750 * nptl/sysdeps/pthread/bits/libc-lockP.h
9751 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
9752 <bp-sym.h>.
9753 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9754 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
9755 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9756 (__pthread_mutex_destroy): Likewise.
9757 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9758 (__pthread_mutex_lock): Likewise.
9759 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9760 (__pthread_mutex_trylock): Likewise.
9761 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9762 (__pthread_mutex_unlock): Likewise.
9763 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9764 (__pthread_mutexattr_init): Likewise.
9765 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9766 (__pthread_mutexattr_destroy): Likewise.
9767 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9768 (__pthread_mutexattr_settype): Likewise.
9769 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9770 (__pthread_rwlock_init): Likewise.
9771 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9772 (__pthread_rwlock_destroy): Likewise.
9773 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9774 (__pthread_rwlock_rdlock): Likewise.
9775 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9776 (__pthread_rwlock_tryrdlock): Likewise.
9777 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9778 (__pthread_rwlock_wrlock): Likewise.
9779 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9780 (__pthread_rwlock_trywrlock): Likewise.
9781 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9782 (__pthread_rwlock_unlock): Likewise.
9783 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9784 (__pthread_key_create): Likewise.
9785 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9786 (__pthread_setspecific): Likewise.
9787 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9788 (__pthread_getspecific): Likewise.
9789 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
9790 Likewise.
9791 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9792 (_pthread_cleanup_push_defer): Likewise.
9793 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9794 (_pthread_cleanup_pop_restore): Likewise.
9795 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9796 (pthread_setcancelstate): Likewise.
9797 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
9798 <bp-sym.h>.
9799 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
9800 (memchr): Do not use BP_SYM in weak_alias.
9801 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
9802 (fegetenv): Do not use BP_SYM in versioned symbols.
9803 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
9804 (fesetenv): Do not use BP_SYM in versioned symbols.
9805 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9806 (feupdateenv): Do not use BP_SYM in versioned symbols.
9807 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9808 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9809 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
9810 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
9811 (open64): Do not use BP_SYM in weak_alias.
9812 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
9813 (fegetenv): Do not use BP_SYM in versioned symbols.
9814 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
9815 (fesetenv): Do not use BP_SYM in versioned symbols.
9816 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9817 (feupdateenv): Do not use BP_SYM in versioned symbols.
9818 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
9819 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
9820 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
9821 (feraiseexcept): Do not use BP_SYM in versioned symbols.
9822 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9823 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9824 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
9825 <bp-sym.h>.
9826 (__libc_start_main): Do not use BP_SYM.
9827
d6752ccd
SP
98282013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9829
cb57ce60
SP
9830 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
9831 redundant return line.
9832 (norm): Likewise.
9833 (denorm): Likewise.
9834 (dbl_mp): Likewise.
9835 (sub_magnitudes): Likewise.
9836 (__add): Likewise.
9837 (__sub): Likewise.
9838 (__mul): Likewise.
9839 (__inv): Likewise.
9840 (__dvd): Likewise.
9841 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
9842 (norm): Likewise.
9843 (denorm): Likewise.
9844 (dbl_mp): Likewise.
9845 (sub_magnitudes): Likewise.
9846 (__add): Likewise.
9847 (__sub): Likewise.
9848 (__mul): Likewise.
9849 (__inv): Likewise.
9850 (__dvd): Likewise.
9851
f414520d
SP
9852 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
9853 instead of __mul.
9854 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9855 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
9856 (cc32): Likewise.
9857
d6752ccd
SP
9858 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
9859 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
9860 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
9861 of __mul for squares.
9862 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
9863 function
9864 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
9865 Likewise.
9866 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
9867 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9868
70d9946a
JM
98692013-02-13 Joseph Myers <joseph@codesourcery.com>
9870
9871 [BZ #13550]
9872 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
9873 code.
9874 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
9875 prototype or function definition. Rename ubp_* variables and
9876 parameters. Remove argv definitions conditional on
9877 [__BOUNDED_POINTERS__].
9878 * debug/backtrace.c (__backtrace): Do not use __unbounded.
9879 * elf/dl-runtime.c (_dl_fixup): Likewise.
9880 * include/set-hooks.h (RUN_HOOK): Likewise.
9881 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
9882 definition.
9883 * string/strcpy.c (strcpy): Do not use __unbounded.
9884 * sysdeps/generic/frame.h (struct layout): Likewise.
9885 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
9886 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
9887 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
9888 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
9889 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
9890 (__backtrace): Likewise.
9891 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
9892 use __ptrvalue.
9893 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
9894 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9895 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
9896 Likewise.
9897 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
9898 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
9899 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9900 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9901 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
9902 Do not use __unbounded.
9903 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
9904 Rename __unboundedrlimits parameter to rlimits in prototype.
9905 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
9906 Do not use __unbounded.
9907 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
9908 not use __ptrvalue.
9909 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9910 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
9911 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9912 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
9913 __ptrvalue or __unbounded.
9914 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
9915 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
9916 use __unbounded.
9917 (__new_msgctl): Do not use __ptrvalue.
9918 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
9919 __unbounded.
9920 (__libc_msgrcv): Do not use __ptrvalue.
9921 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
9922 startup_info): Do not use __unbounded.
9923 (__libc_start_main): Likewise. Rename ubp_* variables and
9924 parameters. Remove argv definitions conditional on
9925 [__BOUNDED_POINTERS__].
9926 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
9927 __ptrvalue.
9928 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
9929 use __unbounded.
9930 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
9931 or __ptrvalue.
9932 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
9933 use __unbounded.
9934 (__new_shmctl): Do not use __ptrvalue.
9935 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
9936 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
9937 Likewise.
9938 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
9939 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
9940 (__libc_sigaction): Likewise.
9941 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
9942 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
9943 Likewise.
9944 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9945
cc7834d6
OB
99462013-02-13 Ondřej Bílka <neleai@seznam.cz>
9947
ffb1ec7b 9948 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
9949
9950 * string/mempcpy.c: Implement by calling memcpy.
9951
bdf02814
SP
99522013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9953
c2af38aa
SP
9954 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
9955
4e92d59e
SP
9956 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
9957 evaluation.
9958
909279a5
SP
9959 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
9960 values in the mantissa.
9961
bdf02814
SP
9962 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
9963 minimize writes to Z.
9964 (sub_magnitudes): Simplify code a bit.
9965
cd525923
RM
99662013-02-12 Roland McGrath <roland@hack.frob.com>
9967
9968 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
9969 from the message. The linker prefixes all warnings with that already.
9970
7e2f0d2d
AS
99712013-02-12 Andreas Schwab <schwab@suse.de>
9972
a445af0b
AS
9973 [BZ #15078]
9974 * posix/regexec.c (extend_buffers): Add parameter min_len.
9975 (check_matching): Pass minimum needed length.
9976 (clean_state_log_if_needed): Likewise.
9977 (get_subexp): Likewise.
9978 * posix/Makefile (tests): Add bug-regex34.
9979 (bug-regex34-ENV): Define.
9980 * posix/bug-regex34.c: New file.
9981
7e2f0d2d
AS
9982 [BZ #11561]
9983 * posix/regcomp.c (parse_bracket_exp): When looking up collating
9984 elements compare against the byte sequence of it, not its name.
9985 * posix/Makefile (tests): Add bug-regex35.
9986 (bug-regex35-ENV): Define.
9987 * posix/bug-regex35.c: New file.
9988
a175b684
TV
99892013-02-11 Tom de Vries <tom@codesourcery.com>
9990
9991 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
9992 comment.
9993 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
9994 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
9995 (CHECK_EOL): Add undef.
9996
310998fe 99972013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
9998
9999 * bits/stdlib-bsearch.h: New file.
10000 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 10001 * stdlib/stdlib.h: Likewise.
41eda41d 10002
8ded91fb
RM
100032013-02-11 Roland McGrath <roland@hack.frob.com>
10004
10005 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
10006 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
10007 declaration.
10008 * manual/search.texi (Array Search Function): Add missing const in
10009 lfind prototype.
10010 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
10011 declaration to use rlim_t.
10012 (Basic Scheduling Functions): Remove erroneous const from
10013 sched_getparam prototype. Remove erroneous * from
10014 sched_get_priority_max and sched_get_priority_min prototypes.
10015 (Resource Usage): Fix summary @comment on vtimes to refer to
10016 sys/vtimes.h rather than vtimes.h.
10017 Add missing *s in vtimes prototype.
10018 (Limits on Resources): Fix ulimit prototype to return long int.
10019 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
10020 prototypes to use long int rather than double.
10021 (BSD Random): Fix initstate and setstate to use char *, not void *.
10022 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
10023 prototype to make second argument 'struct aiocb64 *const[]'.
10024 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
10025 (Status of AIO Operations): Remove erroneous const in aio_return and
10026 aio_return64 prototypes.
10027 (Synchronizing I/O): Fix sync prototype to return void.
10028 * manual/startup.texi (Suboptions): Remove an erroneous const in
10029 getsubopt prototype.
10030 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
10031 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
10032 use size_t rather than int.
10033 (Scanning All Users): Likewise for getpwent_r.
10034 (Setting Groups): Add missing const to setgroups prototype.
10035 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
10036 * manual/socket.texi (Host Names): Fix gethostbyaddr and
10037 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
10038 'const void *' rather than 'const char *'.
10039 (Host Address Functions): Likewise for inet_ntop.
10040 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
10041 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
10042 ssize_t for return value.
10043 (Sending Data): Likewise for send, sendto, sendmsg.
10044 (Socket Option Functions): Add a missing const in setsockopt prototype.
10045 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
10046 use wchar_t for the argument.
10047 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
10048 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
10049 take no arguments.
10050 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
10051 double/float/long double for second argument.
10052 Fix return types of significand, significandf, significandl.
10053 * manual/filesys.texi (Setting Permissions): Use mode_t for second
10054 argument in fchmod prototype.
10055 (File Owner): Use uid_t and gid_t in fchown prototype.
10056 (File Times): Add const to utimes, futimes, and lutimes prototypes.
10057 (Making Special Files): Use mode_t and dev_t in mknod prototype.
10058 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
10059 use 'const struct dirent **' as argument types to CMP function pointer
10060 argument.
10061 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
10062 (File Times): Fix summary magic @comment for struct utimbuf and utime
10063 to refer to utime.h, not time.h.
10064 * manual/string.texi (Argz Functions): Add missing const in
10065 argz_extract and argz_next prototypes.
10066 (Finding Tokens in a String): Likewise for basename.
10067 (String/Array Comparison): Fix typo in wcscasecmp prototype.
10068 (Copying and Concatenation): Fix typo in wmemmove prototype.
10069 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
10070 (Signal Stack): Remove erroneous const in sigstack prototype.
10071 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
10072 prototype.
10073 (Simple Calendar Time): Likewise for stime.
10074 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
10075 prototype.
10076 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
10077 say sys/sysctl.h instead.
10078 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
10079 and vsyslog prototypes.
10080
fe77fe6d
TV
100812013-02-11 Tom de Vries <tom@codesourcery.com>
10082
10083 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
10084 Remove.
10085
3a09b620
RM
100862013-02-11 Roland McGrath <roland@hack.frob.com>
10087
10088 * misc/sys/mman.h: Fix typo in mremap comment.
10089
550a0b89
RM
100902013-02-08 Roland McGrath <roland@hack.frob.com>
10091
10092 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
10093 the '\0' terminator.
10094
a2da1673
JM
100952013-02-08 Joseph Myers <joseph@codesourcery.com>
10096
10097 [BZ #13550]
10098 * debug/segfault.c: Don't include <bp-checks.h>.
10099 * sysdeps/generic/bp-checks.h: Remove file.
10100 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
10101 (__GETDENTS): Don't use CHECK_N.
10102 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
10103 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10104 (__getgroups): Don't use CHECK_N.
10105 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
10106 (setgroups): Don't use CHECK_N.
10107 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
10108 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
10109 (__libc_msgrcv): Don't use CHECK_N.
10110 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
10111 (__libc_msgsnd): Don't use CHECK_N.
10112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
10113 <bp-checks.h>.
10114 (__libc_pread): Don't use CHECK_N.
10115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
10116 include <bp-checks.h>.
10117 (__libc_pread64): Don't use CHECK_N.
10118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
10119 include <bp-checks.h>.
10120 (__libc_pwrite): Don't use CHECK_N.
10121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
10122 include <bp-checks.h>.
10123 (__libc_pwrite64): Don't use CHECK_N.
10124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
10125 <bp-checks.h>.
10126 (__libc_pread): Don't use CHECK_N.
10127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
10128 include <bp-checks.h>.
10129 (__libc_pread64): Don't use CHECK_N.
10130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
10131 include <bp-checks.h>.
10132 (__libc_pwrite): Don't use CHECK_N.
10133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
10134 include <bp-checks.h>.
10135 (__libc_pwrite64): Don't use CHECK_N.
10136 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
10137 (do_pread): Don't use CHECK_N.
10138 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
10139 (do_pread64): Don't use CHECK_N.
10140 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
10141 (do_pwrite): Don't use CHECK_N.
10142 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
10143 (do_pwrite64): Don't use CHECK_N.
10144 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
10145 (__libc_readv): Don't use CHECK_N.
10146 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
10147 (semop): Don't use CHECK_N.
10148 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
10149 <bp-checks.h>.
10150 (semtimedop): Don't use CHECK_N.
10151 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
10152 (__libc_pread): Don't use CHECK_N.
10153 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
10154 <bp-checks.h>.
10155 (__libc_pread64): Don't use CHECK_N.
10156 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
10157 <bp-checks.h>.
10158 (__libc_pwrite): Don't use CHECK_N.
10159 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
10160 <bp-checks.h>.
10161 (__libc_pwrite64): Don't use CHECK_N.
10162 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
10163 <bp-checks.h>.
10164 (__libc_msgrcv): Don't use CHECK_N.
10165 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
10166 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
10167 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
10168 (__libc_writev): Don't use CHECK_N.
10169
b84660a8
RM
101702013-02-08 Roland McGrath <roland@hack.frob.com>
10171
7f3e75f8
RM
10172 * string/strcpy.c: Removed unused variable.
10173
b84660a8
RM
10174 * Makeconfig (+sysdep-includes): Define with := rather than =.
10175 Use an existing include/ subdir of each sysdeps dir before it.
10176
471514d3
CD
101772013-02-08 Carlos O'Donell <carlos@redhat.com>
10178
10179 * nscd/connection.c (register_traced_file): Comment function.
10180 [HAVE_INOTIFY] (union __inev): Define.
10181 [HAVE_INOTIFY] (inotify_check_files): New function.
10182 [HAVE_INOTIFY] (clear_db_cache): Likewise.
10183 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
10184 clear_db_cache.
10185 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
10186
b2d3c3be
CD
101872013-02-08 Carlos O'Donell <carlos@redhat.com>
10188
10189 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
10190 loaded if not already and that a failure is permanent.
10191
b39949d2
CD
101922013-02-08 Carlos O'Donell <carlos@redhat.com>
10193
ddacd1db 10194 [BZ #15006]
b39949d2
CD
10195 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
10196 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
10197
b2c9eff4
JM
101982013-02-08 Joseph Myers <joseph@codesourcery.com>
10199
f3aae3f3
JM
10200 [BZ #13550]
10201 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
10202 (CHECK_1_NULL_OK): Likewise.
10203 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
10204 (__fxstat): Do not use CHECK_1.
10205 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
10206 <bp-checks.h>.
10207 (___fxstat64): Do not use CHECK_1.
10208 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10209 <bp-checks.h>.
10210 (__fxstatat): Do not use CHECK_1.
10211 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10212 <bp-checks.h>.
10213 (__fxstatat64): Do not use CHECK_1.
10214 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
10215 <bp-checks.h>.
10216 (__fxstat): Do not use CHECK_1.
10217 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10218 <bp-checks.h>.
10219 (__fxstatat): Do not use CHECK_1.
10220 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10221 <bp-checks.h>.
10222 (__getresgid): Do not use CHECK_1.
10223 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10224 <bp-checks.h>.
10225 (__getresuid): Do not use CHECK_1.
10226 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
10227 <bp-checks.h>.
10228 (__lxstat): Do not use CHECK_1.
10229 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10230 <bp-checks.h>.
10231 (__old_msgctl): Do not use CHECK_1.
10232 (__new_msgctl): Likewise.
10233 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
10234 <bp-checks.h>.
10235 (__new_setrlimit): Do not use CHECK_1.
10236 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10237 <bp-checks.h>.
10238 (__old_shmctl): Do not use CHECK_1.
10239 (__new_shmctl): Likewise.
10240 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
10241 <bp-checks.h>.
10242 (__xstat): Do not use CHECK_1.
10243 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
10244 (__lxstat): Do not use CHECK_1.
10245 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
10246 <bp-checks.h>.
10247 (___lxstat64): Do not use CHECK_1.
10248 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
10249 (__old_msgctl): Do not use CHECK_1.
10250 (__new_msgctl): Likewise.
10251 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
10252 <bp-checks.h>.
10253 (__gettimeofday): Do not use CHECK_1.
10254 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
10255 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
10256 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
10257 <bp-checks.h>.
10258 (__gettimeofday): Do not use CHECK_1.
10259 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
10260 (__old_shmctl): Do not use CHECK_1_NULL_OK.
10261 (__new_shmctl): Do not use CHECK_1.
10262 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
10263 <bp-checks.h>.
10264 (do_sigtimedwait): Do not use CHECK_1.
10265 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
10266 <bp-checks.h>.
10267 (do_sigwaitinfo): Do not use CHECK_1.
10268 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
10269 <bp-checks.h>.
10270 (msgctl): Do not use CHECK_1.
10271 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
10272 <bp-checks.h>.
10273 (shmctl): Do not use CHECK_1.
10274 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
10275 (ustat): Do not use CHECK_1.
10276 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
10277 <bp-checks.h>.
10278 (__fxstat): Do not use CHECK_1.
10279 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10280 <bp-checks.h>.
10281 (__fxstatat): Do not use CHECK_1.
10282 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
10283 <bp-checks.h>.
10284 (__lxstat): Do not use CHECK_1.
10285 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
10286 <bp-checks.h>.
10287 (__xstat): Do not use CHECK_1.
10288 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
10289 (__xstat): Do not use CHECK_1.
10290 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
10291 (___xstat64): Do not use CHECK_1.
10292
b2c9eff4
JM
10293 [BZ #13550]
10294 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
10295 definitions.
10296 (CHECK_BOUNDS_HIGH): Likewise.
10297 * string/strcpy.c: Do not include <bp-checks.h>.
10298 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
10299
f1d70dad
RM
103002013-02-07 Roland McGrath <roland@hack.frob.com>
10301
10302 * nscd/nscd-client.h (__nscd_drop_map_ref):
10303 Add __attribute__ ((unused)).
10304 * nis/nss-nisplus.h (niserr2nss): Likewise.
10305
10306 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
10307 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
10308
10309 * csu/libc-tls.c (init_static_tls, init_slotinfo):
10310 Remove inline keyword.
10311 * include/rounding-mode.h (round_away): Likewise.
10312 * libio/wfileops.c (adjust_wide_data): Likewise.
10313 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
10314 (__m128i_strloadu_tolower): Likewise.
10315 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
10316 (__m128i_strloadu_tolower): Likewise.
10317 * time/mktime.c (ydhms_diff): Likewise.
10318 * locale/elem-hash.h (elem_hash): Likewise.
10319 * locale/setlocale.c (setdata): Likewise.
10320 * posix/regex_internal.h (re_string_char_size_at): Likewise.
10321 (re_string_wchar_at): Likewise.
10322 (bitset_not, bitset_merge, bitset_mask): Likewise.
10323 [!(__GNUC__ > 3)] (inline): Remove macro.
10324 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
10325 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
10326 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
10327 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
10328 * string/memcmp.c (memcmp_bytes): Likewise.
10329 * locale/programs/locarchive.c (compute_hashval): Likewise.
10330 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
10331 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
10332 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
10333 * nss/getent.c (print_rpc, print_protocols): Likewise.
10334 (print_passwd, print_group, print_aliases): Likewise.
10335 * nis/nss-nisplus.h (niserr2nss): Likewise.
10336 * nscd/connections.c (restart_p): Likewise.
10337 Change return type to bool.
10338
eab55bfb
RM
103392013-02-05 Roland McGrath <roland@hack.frob.com>
10340
7bd642f5
RM
10341 * Makeconfig (all-Depend-files): Add existing
10342 $(sorted-subdirs:=/Depend) files.
10343 (all-subdirs): Remove nss.
10344 * sysdeps/unix/inet/Subdirs: Add it here instead.
10345 * hesiod/Depend: New file.
10346
573c29b2
RM
10347 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
10348 instead of calling alloca.
10349
b2e25af0
RM
10350 * io/lseek.c (__lseek): Rename to __libc_lseek.
10351 Define __lseek as an alias.
10352
eab55bfb
RM
10353 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
10354
9a0d1941
CD
103552013-02-04 Carlos O'Donell <carlos@redhat.com>
10356
10357 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
10358 else clause and remove check for non-standard endianness.
10359
b83bbec4
DM
103602013-02-04 David S. Miller <davem@davemloft.net>
10361
10362 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10363
6277fdab
JM
103642013-02-04 Joseph Myers <joseph@codesourcery.com>
10365
10366 [BZ #13550]
10367 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
10368 (__ubp_memchr): Remove prototype.
10369 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
10370 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10371 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
10372 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10373 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
10374 Remove alias.
10375 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
10376 (__ubp_memchr): Likewise.
10377 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
10378 (__ubp_memchr): Likewise.
10379 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
10380 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
10381 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
10382 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
10383 CHECK_STRING.
10384 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10385 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
10386 (__getcwd): Do not use CHECK_STRING.
10387 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10388 <bp-checks.h>.
10389 (__real_chown): Do not use CHECK_STRING.
10390 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
10391 <bp-checks.h>.
10392 (fchownat): Do not use CHECK_STRING.
10393 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
10394 CHECK_STRING.
10395 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10396 <bp-checks.h>.
10397 (__lchown): Do not use CHECK_STRING.
10398 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10399 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10400 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10401 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10403 include <bp-checks.h>.
10404 (truncate64): Do not use CHECK_STRING.
10405 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10406 <bp-checks.h>.
10407 (__real_chown): Do not use CHECK_STRING.
10408 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10409 <bp-checks.h>.
10410 (__lchown): Do not use CHECK_STRING.
10411 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10412 <bp-checks.h>.
10413 (__chown): Do not use CHECK_STRING.
10414 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
10415 <bp-checks.h>.
10416 (truncate64): Do not use CHECK_STRING.
10417 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
10418 Likewise.
10419 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
10420 (__xmknod): Do not use CHECK_STRING.
10421 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10422 <bp-checks.h>.
10423 (__xmknodat): Do not use CHECK_STRING.
10424 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10425 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
10426
903ae060
AS
104272013-02-04 Andreas Schwab <schwab@suse.de>
10428
10429 [BZ #14142]
10430 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
10431 * include/netdb.h: Likewise for h_errno.
10432 * elf/tst-stackguard1.c: Include <tls.h>.
10433
542f9466
JK
104342013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10435
10436 * elf/link.h (struct link_map): Extend the l_addr comment.
10437 * include/link.h (struct link_map): Likewise.
10438
e782a927
JM
104392013-02-01 Joseph Myers <joseph@codesourcery.com>
10440
10441 [BZ #13550]
10442 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
10443 (BOUNDED_1): Remove macro.
10444 * debug/backtrace.c: Don't include <bp-checks.h>.
10445 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
10446 (__backtrace): Likewise.
10447 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
10448 <bp-checks.h>.
10449 (__backtrace): Don't use BOUNDED_1.
10450 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
10451 <bp-checks.h>.
10452 (__backtrace): Don't use BOUNDED_1.
10453 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
10454 (__backtrace): Don't use BOUNDED_1.
10455 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
10456 (shmat): Don't use BOUNDED_N.
10457
8cf28c5e
JM
104582013-01-31 Joseph Myers <joseph@codesourcery.com>
10459
3a7ac8a0
JM
10460 [BZ #13550]
10461 * sysdeps/generic/bp-start.h: Remove file.
10462 * csu/libc-start.c: Don't include <bp-start.h>.
10463 (LIBC_START_MAIN): Set up __environ directly instead of using
10464 INIT_ARGV_and_ENVIRON.
10465 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
10466 <bp-start.h>.
10467
f3499f95
JM
10468 [BZ #13550]
10469 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
10470 definitions.
10471 (CHECK_FCNTL): Likewise.
10472 (CHECK_N_PAGES): Likewise.
10473
32a45bea
JM
10474 [BZ #13550]
10475 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
10476 definitions.
10477 (CHECK_SIGSET_NULL_OK): Likewise.
10478 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
10479 <bp-checks.h>.
10480 (sigpending): Don't use CHECK_SIGSET.
10481 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
10482 <bp-checks.h>.
10483 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10484 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
10485 <bp-checks.h>.
10486 (do_sigsuspend): Don't use CHECK_SIGSET.
10487 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
10488 use CHECK_SIGSET.
10489 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
10490 (do_sigwait): Don't use CHECK_SIGSET.
10491 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
10492 use CHECK_SIGSET.
10493 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
10494 include <bp-checks.h>.
10495 (sigpending): Don't use CHECK_SIGSET.
10496 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
10497 include <bp-checks.h>.
10498 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10499 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
10500 <bp-checks.h>.
10501 (sigpending): Don't use CHECK_SIGSET.
10502 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
10503 <bp-checks.h>.
10504 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10505
2e8a5c8c
JM
10506 [BZ #13550]
10507 * sysdeps/generic/bp-semctl.h: Remove file.
10508 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
10509 <bp-checks.h> and <bp-semctl.h>.
10510 (__old_semctl): Don't use CHECK_SEMCTL.
10511 (__new_semctl): Likewise.
10512 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
10513 and <bp-semctl.h>.
10514 (__old_semctl): Don't use CHECK_SEMCTL.
10515 (__new_semctl): Likewise.
10516 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
10517 <bp-checks.h> and <bp-semctl.h>.
10518 (__old_semctl): Don't use CHECK_SEMCTL.
10519 (__new_semctl): Likewise.
10520 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
10521 <bp-checks.h> and <bp-semctl.h>.
10522 (semctl): Don't use CHECK_SEMCTL.
10523
c2d54929
JM
10524 [BZ #13550]
10525 * Makerules (elide-bp-thunks): Remove variable.
10526 (elide-routines.oS): Don't use $(elide-bp-thunks).
10527 (elide-routines.os): Likewise.
10528 (elide-routines.o): Likewise.
10529 (elide-routines.op): Likewise.
10530 (elide-routines.og): Likewise.
10531 (objects): Don't use $(bp-thunks).
10532 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
10533 include.
10534 (common-generated): Do not add s-proto-bp.d.
10535 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
10536 (int): Likewise.
10537 (typ): Likewise.
10538 Do not generate makefile rules for bounded-pointer thunks.
10539 * sysdeps/generic/bp-thunks.h: Remove file.
10540 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
10541 * sysdeps/unix/s-proto-bp.S: Likewise.
10542
8cf28c5e
JM
10543 [BZ #15062]
10544 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
10545 parts of result separately when argument is not close to line from
10546 -i to i and one part of argument is small.
10547 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10548 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10549 * math/libm-test.inc (cacos_test): Add more tests.
10550 (casin_test): Likewise.
10551 (casinh_test): Likewise.
10552 * sysdeps/i386/fpu/libm-test-ulps: Update.
10553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10554
c4e33b8d
DM
105552013-01-31 David S. Miller <davem@davemloft.net>
10556
10557 * po/de.po: Update from translation team.
10558
3b60b421
MK
105592013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
10560
10561 * time/tzfile.c: Include stdint.h for SIZE_MAX.
10562
bb931195
TS
105632013-01-25 Thomas Schwinge <thomas@codesourcery.com>
10564
b5a5da23
TS
10565 * configure.in (_AC_PROG_CC_C89): New definition.
10566 * configure: Regenerate.
10567
bb931195
TS
10568 * configure.in (AC_PROG_CPP): New definition.
10569 * configure: Regenerate.
10570
8c53a12c
JM
105712013-01-23 Joseph Myers <joseph@codesourcery.com>
10572
10573 * debug/tst-backtrace.h: New file.
10574 * debug/tst-backtrace2.c: Include tst-backtrace.h.
10575 (ret): Remove variable.
10576 (x): Likewise.
10577 (FAIL): Remove macro.
10578 (NO_INLINE): Likewise.
10579 (fn1): Use match function instead of strstr.
10580 * debug/tst-backtrace3.c: Include tst-backtrace.h.
10581 (ret): Remove variable.
10582 (x): Likewise.
10583 (FAIL): Remove macro.
10584 (NO_INLINE): Likewise.
10585 (fn): Use match function instead of strstr.
10586 * debug/tst-backtrace4.c: Include tst-backtrace.h.
10587 (ret): Remove variable.
10588 (x): Likewise.
10589 (FAIL): Remove macro.
10590 (NO_INLINE): Likewise.
10591 (handle_signal): Use match function instead of strstr.
10592 * debug/tst-backtrace5.c: Include tst-backtrace.h.
10593 (ret): Remove variable.
10594 (x): Likewise.
10595 (FAIL): Remove macro.
10596 (NO_INLINE): Likewise.
10597 (handle_signal): Use match function instead of strstr.
10598
4858fa2a
RM
105992013-01-23 Roland McGrath <roland@hack.frob.com>
10600
10601 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
10602
bae8e7f5
DM
106032013-01-23 David S. Miller <davem@davemloft.net>
10604
10605 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
10606 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
10607 argument of CAS if possible.
10608 * sysdeps/sparc/sparc64/bits/atomic.h
10609 (__arch_compare_and_exchange_val_32_acq): Likewise.
10610 (__arch_compare_and_exchange_val_64_acq): Likewise.
10611
9cbbc4ae
PT
106122013-01-23 Pino Toscano <toscano.pino@tiscali.it>
10613
10614 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
10615 * sysdeps/posix/ulimit.c: ... this.
92a601b8 10616 Include <limits.h>.
67b3f58c 10617 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 10618
5655a0b5
AC
106192013-01-23 Adam Conrad <adconrad@0c3.net>
10620
10621 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
10622 (LDFLAGS-tst-array5): Likewise.
10623
052aff95
JM
106242013-01-23 Joseph Myers <joseph@codesourcery.com>
10625
10626 [BZ #15036]
10627 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
10628 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
10629 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
10630 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
10631
7c1e01aa
DM
106322013-01-21 David S. Miller <davem@davemloft.net>
10633
10634 * sysdeps/sparc/backtrace.c: New file.
10635 * sysdeps/sparc/sparc32/backtrace.h: New file.
10636 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
10637 * sysdeps/sparc/sparc64/backtrace.h: New file.
10638 * sysdeps/sparc/sparc64/backtrace.c: Delete.
10639 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
10640 -funwind-tables.
10641
ab087e0a
AS
106422013-01-21 Andreas Schwab <schwab@suse.de>
10643
10644 [BZ #15020]
10645 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
10646 closed its stdout.
10647
ed689c2f
AS
106482013-01-20 Andreas Schwab <schwab@linux-m68k.org>
10649
10650 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
10651 "mpa2.h".
10652 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10653
31d470ac
JM
106542013-01-18 Joseph Myers <joseph@codesourcery.com>
10655 Mark Mitchell <mark@codesourcery.com>
10656 Tom de Vries <tom@codesourcery.com>
10657 Paul Pluzhnikov <ppluzhnikov@google.com>
10658
10659 * debug/tst-backtrace2.c: New file.
10660 * debug/tst-backtrace3.c: Likewise.
10661 * debug/tst-backtrace4.c: Likewise.
10662 * debug/tst-backtrace5.c: Likewise.
10663 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
10664 (CFLAGS-tst-backtrace3.c): Likewise.
10665 (CFLAGS-tst-backtrace4.c): Likewise.
10666 (CFLAGS-tst-backtrace5.c): Likewise.
10667 (LDFLAGS-tst-backtrace2): Likewise.
10668 (LDFLAGS-tst-backtrace3): Likewise.
10669 (LDFLAGS-tst-backtrace4): Likewise.
10670 (LDFLAGS-tst-backtrace5): Likewise.
10671 (tests): Add new tests tst-backtrace2, tst-backtrace3,
10672 tst-backtrace4 and tst-backtrace5.
10673
90567f30 106742013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
10675 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10676
10677 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
10678 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
10679 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
10680 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
10681 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10682 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
10683 "+r" and remove output regs list as redundant. Add explicit inline
10684 asm to specify register of return val to work around compiler codegen
10685 bug. Remove (int) cast on return value. Add return type parameter to
10686 use in macro so that this macro does not truncate return value for
10687 64-bit values.
10688 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
10689 pass to INTERNAL_VSYSCALL_NCS.
10690 (INLINE_VSYSCALL): Add 'long int' as return type to
10691 INTERNAL_VSYSCALL_NCS macro invocation.
10692 (INTERNAL_VSYSCALL): Add 'long int' as return type to
10693 INTERNAL_VSYSCALL_NCS macro invocation.
10694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10695
d3b9ea61
SP
106962013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10697
0b57daeb
SP
10698 [BZ #14496]
10699 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
10700 Fix application of SIMD FP exception mask.
10701
caa99d06
SP
10702 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
10703 mp_no from a power of two.
10704 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
10705 __mpexp_twomm1. Use __pow_mp.
10706
d3b9ea61
SP
10707 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
10708 multiplication.
10709
1dbaee3c
DM
107102013-01-17 David S. Miller <davem@davemloft.net>
10711
10712 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10713
728d7b43
JM
107142013-01-17 Joseph Myers <joseph@codesourcery.com>
10715
10716 [BZ #15023]
10717 * include/complex.h: Condition contents on [!_COMPLEX_H].
10718 (__kernel_casinhf): New prototype.
10719 (__kernel_casinh): Likewise.
10720 (__kernel_casinhl): Likewise.
10721 * math/Makefile (libm_calls): Add k_casinh.
10722 * math/k_casinh.c: New file.
10723 * math/k_casinhf.c: Likewise.
10724 * math/k_casinhl.c: Likewise.
10725 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
10726 finite nonzero arguments.
10727 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
10728 finite nonzero arguments.
10729 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
10730 finite nonzero arguments.
10731 * math/s_casinh.c: Do not include <float.h>.
10732 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
10733 * math/s_casinhf.c: Do not include <float.h>.
10734 (__casinhf): Move code for finite nonzero arguments to
10735 k_casinhf.c.
10736 * math/s_casinhl.c: Do not include <float.h>.
10737 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
10738 redefine.
10739 (__casinhl): Move code for finite nonzero arguments to
10740 k_casinhl.c.
10741 * math/libm-test.inc (cacos_test): Add more tests.
10742 * sysdeps/i386/fpu/libm-test-ulps: Update.
10743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10744
2a26ef3a
PT
107452013-01-17 Pino Toscano <toscano.pino@tiscali.it>
10746
10747 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
10748 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
10749 [!HAVE_MREMAP]: Remove [defined linux] case.
10750 * malloc/arena.c: Do not include <malloc-sysdep.h>.
10751
a897655d
SP
107522013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10753
10754 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
10755
881ebe89 107562013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
10757
10758 * elf/elf.h (R_386_SIZE32): New relocation.
10759 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
10760 R_386_SIZE32.
10761 (elf_machine_rela): Likewise.
10762 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10763 R_X86_64_SIZE64 and R_X86_64_SIZE32.
10764
59981e9b
JM
107652013-01-17 Joseph Myers <joseph@codesourcery.com>
10766
10767 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
10768 (FP_FAST_FMA): Do not define.
10769 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
10770 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
10771 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
10772 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
10773 !_SOFT_FLOAT]: Likewise.
10774 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
10775 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
10776 value.
10777 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
10778 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
10779 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
10780 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
10781 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
10782 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
10783 file.
10784
cfa8054f
AS
107852013-01-16 Andreas Schwab <schwab@suse.de>
10786
10787 [BZ #14327]
10788 * include/stdlib.h (__mktemp): Add declaration.
10789 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
10790 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
10791
dd930cc5
SP
107922013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10793
881ebe89
SP
10794 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
10795 definitions.
10796 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10797 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
10798 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
10799 definitions here.
10800 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
10801 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
10802 definitions.
10803 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
10804 and ONE.
10805 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
10806 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
10807 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
10808 definitions.
10809 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
10810 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
10811 definitions.
10812 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 10813
dd930cc5
SP
10814 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
10815
c19a9f89
DM
108162013-01-15 David S. Miller <davem@davemloft.net>
10817
1aa61767
DM
10818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10819 trunc{,f} to libm-sysdep_routes.
10820 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
10822 file.
10823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
10824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
10825 file.
10826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
10827 file.
10828 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
10829 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
10830 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
10831 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
10832 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
10833 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
10834 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
10835 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
10836
c42d5e98
DM
10837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10838 nearbyint{,f} to libm-sysdep_routes.
10839 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
10841 New file.
10842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
10843 file.
10844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
10845 New file.
10846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
10847 file.
10848 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
10849 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
10850 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
10851 file.
10852 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
10853 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
10854 file.
10855 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
10856 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
10857 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
10858
c19a9f89
DM
10859 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10860 libc_feholdexcept and libc_fesetenv.
10861
357679d2
MF
108622013-01-15 Mike Frysinger <vapier@gentoo.org>
10863
10864 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
10865
65a82e3d
DM
108662013-01-14 David S. Miller <davem@davemloft.net>
10867
8b954ab9
DM
10868 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
10869 (SPARC_ASM_VIS2_IFUNC): Likewise.
10870 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
10871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
10872 use of 'siam' instruction.
10873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
10874 Likewise.
10875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
10876 Likewise.
10877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
10878 Likewise.
10879 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
10880 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
10881 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
10882 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
10883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
10884 file.
10885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
10886 file.
10887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
10888 file.
10889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
10890 file.
10891 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
10892 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
10893 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
10894 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
10895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
10896 new VIS2 routines.
10897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10900 Likewise.
10901 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10902 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10903 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10904 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
10906 routines to libm-sysdep_routines.
10907 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10908
65a82e3d
DM
10909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10910 fdim/fdimf to libm-sysdep_routines.
10911 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
10912 file.
10913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
10914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
10915 file.
10916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
10917 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
10918 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
10919 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
10920 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
10921 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
10922 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
10923
e34ab705
SP
109242013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10925
2a91b573
SP
10926 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
10927 to optimize copies.
10928
1066a534
SP
10929 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
10930 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10931 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10932
e34ab705
SP
10933 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
10934 local variable MPTWO.
10935 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10936 Likewise.
10937
aba5e596
MF
109382013-01-13 Mike Frysinger <vapier@gentoo.org>
10939
10940 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
10941 GLOB_NOESCAPE.
10942
e557e9e5
MF
109432013-01-13 Mike Frysinger <vapier@gentoo.org>
10944
10945 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
10946
0428cec9
MF
109472013-01-13 Mike Frysinger <vapier@gentoo.org>
10948
10949 * manual/pattern.texi (glob_t): Document gl_flags.
10950 (glob64_t): Likewise.
10951
8794a964
DM
109522013-01-11 David S. Miller <davem@davemloft.net>
10953
66438c3f
RM
10954 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
10955 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
10956 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
10957 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
10958 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
10959 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
10960 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
10961 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
10962 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
10963 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
10964 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
10965 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
10966 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
10967
4ae4244d
DM
10968 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10969 sparc V9 rather than using V8 code.
10970 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10971 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10972
8794a964
DM
10973 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10974 Move to...
10975 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
10976 Here.
10977
6270516e
RM
109782013-01-11 Roland McGrath <roland@hack.frob.com>
10979
10980 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
10981 not in the main loop.
10982 * configure: Regenerated.
10983
6a57d931
JM
109842013-01-11 Joseph Myers <joseph@codesourcery.com>
10985
10986 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
10987 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
10988 to just #else.
10989 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
10990 [!__GLIBC_HAVE_LONG_LONG] case.
10991 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
10992 condition to just #else.
10993 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
10994 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
10995 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
10996 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
10997 unconditional.
10998 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
10999 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11000 #elif condition to just #else.
11001 * sysdeps/unix/sysv/linux/sys/sysmacros.h
11002 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
11003 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
11004 #elif condition to just #else.
11005
0e8529e9
SE
110062013-01-11 Steve Ellcey <sellcey@mips.com>
11007
11008 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
11009 (EF_MIPS_ARCH_64): Fix value.
11010 (EF_MIPS_ARCH_32R2): New.
11011 (EF_MIPS_ARCH_64R2): New.
11012
740b3dbe
L
110132013-01-11 H.J. Lu <hongjiu.lu@intel.com>
11014
11015 * Makeconfig (+link-pie-before-libc): New.
11016 (+link-pie-after-libc): Likewise.
11017 (+link-pie-tests): Likewise.
11018 (+link-pie): Rewritten.
11019 (link-before-libc): Remove $(config-LDFLAGS).
11020 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
11021 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
11022 (config-LDFLAGS): Renamed to ...
11023 (rtld-LDFLAGS): This.
11024 (rtld-tests-LDFLAGS): New macro.
11025 (link-libc-rpath-link): Likewise.
11026 (link-libc-tests-rpath-link): Likewise.
11027 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
11028 (link-libc): Prepand $(link-libc-rpath-link).
11029 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
11030 (test-program-prefix): New macro.
11031 (test-via-rtld-prefix): Likewise.
11032 (test-program-cmd): Likewise.
11033 (host-test-program-cmd): Likewise.
11034 * Makefile ($(common-objpfx)testrun.sh): Replace
11035 $(run-program-prefix) with $(test-program-prefix).
11036 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
11037 $(rtld-LDFLAGS).
11038 ($(common-objpfx)shlib.lds): Likewise.
11039 (build-module-helper): Likewise.
11040 ($(common-objpfx)format.lds): Likewise.
11041 * Rules (binaries-pie-tests): New.
11042 (binaries-pie-notests): Likewise.
11043 (binaries-pie): Rewritten.
11044 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
11045 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
11046 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
11047 (make-test-out): Replace $(host-built-program-cmd) with
11048 $(host-test-program-cmd).
11049 * config.make.in (build-hardcoded-path-in-tests): New variable.
11050 * configure.in (--enable-hardcoded-path-in-tests): New configure
11051 option.
11052 (hardcoded_path_in_tests): New AC_SUBST.
11053 * configure: Regenerated.
11054 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
11055 $(built-program-cmd) with $(test-program-cmd).
11056 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
11057 (test_program_cmd): This.
11058 * elf/Makefile ($(objpfx)order.out): Run test with
11059 $(test-program-prefix).
11060 ($(objpfx)order2.out): Likewise.
11061 ($(objpfx)tst-initorder.out): Likewise.
11062 ($(objpfx)tst-initorder2.out): Likewise.
11063 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
11064 $(test-program-cmd).
11065 ($(objpfx)tst-array1-static.out): Likewise.
11066 ($(objpfx)tst-array2.out): Likewise.
11067 ($(objpfx)tst-array3.out): Likewise.
11068 ($(objpfx)tst-array4.out): Likewise.
11069 ($(objpfx)tst-array5.out): Likewise.
11070 ($(objpfx)tst-array5-static.out): Likewise.
11071 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
11072 $(test-program-cmd).
11073 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
11074 $(run-program-prefix) with $(test-program-prefix).
11075 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
11076 (test_program_prefix): This.
11077 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
11078 $(run-program-prefix) with $(test-program-prefix).
11079 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
11080 (test_program_prefix): This.
11081 * iconvdata/tst-tables.sh: Likewise.
11082 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
11083 $(run-program-prefix) with $(test-program-prefix).
11084 ($(objpfx)tst-translit.out): Likewise.
11085 ($(objpfx)tst-gettext2.out): Likewise.
11086 ($(objpfx)tst-gettext4.out): Likewise.
11087 ($(objpfx)tst-gettext6.out): Likewise.
11088 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
11089 (test_program_prefix): This.
11090 * intl/tst-gettext2.sh: Likewise.
11091 * intl/tst-gettext4.sh Likewise.
11092 * intl/tst-gettext6.sh: Likewise.
11093 * intl/tst-translit.sh: Likewise.
11094 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
11095 with $(test-program-cmd).
11096 * libio/Makefile ($(objpfx)test-freopen.out): Replace
11097 $(run-program-prefix) with $(test-program-prefix).
11098 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
11099 (test_program_prefix): This.
11100 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
11101 $(run-program-prefix) with $(test-program-prefix).
11102 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
11103 (test_program_prefix): This.
11104 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
11105 * posix/Makefile ($(objpfx)globtest.out): Replace
11106 $(run-via-rtld-prefix) and $(test-wrapper) with
11107 $(test-program-prefix) and $(test-via-rtld-prefix).
11108 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
11109 $(test-program-prefix).
11110 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
11111 $(host-test-program-cmd).
11112 (tst-spawn-ARGS): Likewise.
11113 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
11114 $(test-program-prefix).
11115 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
11116 (test_via_rtld_prefix): This.
11117 (test_wrapper): Renamed to ...
11118 (test_program_prefix): This.
11119 (run_program_prefix): Replaced by test_program_prefix.
11120 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
11121 (test_program_prefix): This.
11122 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
11123 with $(host-test-program-cmd).
11124 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
11125 $(run-program-prefix) with $(test-program-prefix).
11126 ($(objpfx)tst-printf.out): Likewise.
11127 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
11128 $(test-program-cmd).
11129 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
11130 (test_program_prefix): This.
11131 * stdio-common/tst-unbputc.sh: Likewise.
11132 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
11133 $(run-program-prefix) with $(test-program-prefix).
11134 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
11135 (test_program_prefix): This.
11136 * string/Makefile ($(objpfx)tst-svc.out): Replace
11137 $(built-program-cmd) with $(test-program-cmd).
11138
c6fe55cf
AJ
111392013-01-11 Andreas Jaeger <aj@suse.de>
11140
11141 [BZ #15003]
11142 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
11143 value. Sync with Linux 3.7.
11144
9e6919c8
DM
111452013-01-10 David S. Miller <davem@davemloft.net>
11146
11147 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
11148 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11149 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11150
1c9f1a02
RM
111512013-01-10 Roland McGrath <roland@hack.frob.com>
11152
11153 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
11154 never set.
11155 * configure: Regenerated.
11156
b9de2dde
DM
111572013-01-10 David S. Miller <davem@davemloft.net>
11158
11159 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11160 sparc V9 rather than using V8 code.
11161 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11162 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11163
e7f68ef4
RM
111642013-01-10 Roland McGrath <roland@hack.frob.com>
11165
11166 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
11167 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
11168 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
11169 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
11170 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
11171 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
11172 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
11173 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
11174 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
11175 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
11176 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
11177 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
11178 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
11179 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
11180 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
11181 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
11182 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
11183 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
11184 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
11185 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
11186 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
11187 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
11188 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
11189 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
11190 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
11191 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
11192 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
11193
5a47cc9c
DM
111942013-01-10 David S. Miller <davem@davemloft.net>
11195
11196 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11197
4cf8f209
L
111982013-01-10 H.J. Lu <hongjiu.lu@intel.com>
11199
11200 * posix/Makefile (tests-static): New variable.
11201 (tests): Add $(tests-static).
11202 (tst-exec-static-ARGS): New variable.
11203 (tst-spawn-static-ARGS): Likewise.
11204 * posix/tst-exec-static.c: New file.
11205 * posix/tst-spawn-static.c: Likewise.
11206 * posix/tst-exec.c: Support run directly.
11207 * posix/tst-spawn.c: Likewise.
11208
fed0faa1
JM
112092013-01-10 Joseph Myers <joseph@codesourcery.com>
11210
828beb13
JM
11211 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
11212 long.
11213 * math/bits/mathcalls.h (llrint): Likewise.
11214 (llround): Likewise.
11215 * stdlib/stdlib.h (struct drand48_data): Likewise.
11216 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
11217 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
11218 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
11219 Likewise.
11220 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
11221 Likewise.
11222 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
11223 (elf_greg_t): Likewise.
11224 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
11225 (__jmp_buf): Likewise.
11226 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
11227 definitions.
11228 (llrint): Likewise, for all definitions.
11229 (llrintl): Likewise.
11230
fed0faa1
JM
11231 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
11232 Remove [__GNUC__] condition.
11233 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
11234 condition to just [__USE_ISOC99].
11235 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
11236
1a20cb20
L
112372013-01-10 H.J. Lu <hongjiu.lu@intel.com>
11238
11239 [BZ #14200]
11240 * sysdeps/unix/sysv/linux/x86/bits/environments.h
11241 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
11242 defined.
11243 (_POSIX_V6_ILP32_OFF32): Likewise.
11244 (_XBS5_ILP32_OFF32): Likewise.
11245 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
11246 (__ILP32_OFFBIG_LDFLAGS): Likewise.
11247
751b85f7
SP
112482013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11249
7490eb81
SP
11250 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
11251
751b85f7
SP
11252 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
11253 doubles __mpexp_twomm1. Adjust usage.
11254 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
11255 Remove.
11256
988197f0
AS
112572013-01-10 Andreas Schwab <schwab@suse.de>
11258
11259 [BZ #14964]
11260 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
11261 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
11262
e83d7298
DM
112632013-01-09 David S. Miller <davem@davemloft.net>
11264
034ed64b 11265 [BZ #15003]
e83d7298
DM
11266 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
11267 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
11268 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
11269 TCP_FASTOPEN): Define.
11270 (tcp_repair_opt): New structure.
11271 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
11272 enum values.
11273 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
11274 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
11275 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
11276 (tcp_cookie_transactions): New structure.
11277
d5e0b9bd
AB
112782013-01-09 Anton Blanchard <anton@samba.org>
11279
11280 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
11281 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
11282 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
11283 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
11284
0c07e3ea
JM
112852013-01-09 Joseph Myers <joseph@codesourcery.com>
11286
11287 * include/features.h (__USE_ANSI): Remove.
11288
232f7002
RM
112892013-01-09 Roland McGrath <roland@hack.frob.com>
11290
ad98e30c
RM
11291 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
11292
232f7002
RM
11293 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
11294
950c99ca
SP
112952013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
11296
b5792741
SP
11297 * sysdeps/s390/fpu/libm-test-ulps: Update.
11298
47cf2278
SP
11299 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11300
950c99ca
SP
11301 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
11302 (__acr): Likewise.
11303 (__cpy): Likewise.
11304 (norm): Likewise.
11305 (denorm): Likewise.
11306 (__mp_dbl): Likewise.
11307 (__dbl_mp): Likewise.
11308 (add_magnitudes): Likewise.
11309 (sub_magnitudes): Likewise.
11310 (__add): Likewise.
11311 (__sub): Likewise.
11312 (__mul): Likewise.
11313 (__inv): Likewise.
11314 (__dvd): Likewise.
11315 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
11316 (__acr): Likewise.
11317 (__cpy): Likewise.
11318 (norm): Likewise.
11319 (denorm): Likewise.
11320 (__mp_dbl): Likewise.
11321 (__dbl_mp): Likewise.
11322 (add_magnitudes): Likewise.
11323 (sub_magnitudes): Likewise.
11324 (__add): Likewise.
11325 (__sub): Likewise.
11326 (__mul): Likewise.
11327 (__inv): Likewise.
11328 (__dvd): Likewise.
11329 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
11330 (__acr): Likewise.
11331 (__cpy): Likewise.
11332 (norm): Likewise.
11333 (denorm): Likewise.
11334 (__mp_dbl): Likewise.
11335 (__dbl_mp): Likewise.
11336 (add_magnitudes): Likewise.
11337 (sub_magnitudes): Likewise.
11338 (__add): Likewise.
11339 (__sub): Likewise.
11340 (__mul): Likewise.
11341 (__inv): Likewise.
11342 (__dvd): Likewise.
11343
eede9df9
JM
113442013-01-08 Joseph Myers <joseph@codesourcery.com>
11345
11346 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
11347 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
11348 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
11349 2 && __USE_EXTERN_INLINES]: Likewise.
11350
c40ea3d9
AJ
113512013-01-08 Andreas Jaeger <aj@suse.de>
11352
11353 [BZ# 14985]
11354 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
11355 Remove.
11356 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11357 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11358
2ccdea26
AB
113592013-01-07 Anton Blanchard <anton@samba.org>
11360
11361 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
11362 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11363 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
11364 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11365 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11366 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11367 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
11368 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11369 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11370 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11371 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11372 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11373 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11374 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11375 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11376 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11377 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11378 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11379 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11380 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11381 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11382 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
11383 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11384 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11385 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
11386 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11387 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11388 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11389 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
11390 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11391 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11392 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11393 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11394 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11395 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11396 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11397 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11398 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
11399 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
11400 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11401 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
11402 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11403 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11404
a9708fed
JM
114052013-01-07 Joseph Myers <joseph@codesourcery.com>
11406
375607b9
JM
11407 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
11408 (__MALLOC_PMT): Likewise.
11409 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
11410 [__GNUC__], only on [_LIBC].
11411 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11412 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
11413 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11414 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
11415 forward declaration.
11416 (realloc_hook_ini): Likewise.
11417 (memalign_hook_ini): Likewise.
11418 (__libc_memalign): Do not use __MALLOC_PMT in variable
11419 declaration.
11420 (__libc_valloc): Likewise.
11421 (__libc_pvalloc): Likewise.
11422 (__libc_calloc): Likewise.
11423 (__posix_memalign): Likewise.
11424
a9708fed
JM
11425 [BZ #14996]
11426 * math/s_casinh.c: Include <float.h>.
11427 (__casinh): Do not do computation with squaring and square root
11428 for large arguments.
11429 * math/s_casinhf.c: Include <float.h>.
11430 (__casinhf): Do not do computation with squaring and square root
11431 for large arguments.
11432 * math/s_casinhl.c: Include <float.h>.
11433 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
11434 (__casinhl): Do not do computation with squaring and square root
11435 for large arguments.
11436 * math/libm-test.inc (casin_test): Add more tests.
11437 (casinh_test): Likewise.
11438 * sysdeps/i386/fpu/libm-test-ulps: Update.
11439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11440
afec409a
L
114412013-01-04 H.J. Lu <hongjiu.lu@intel.com>
11442
11443 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
11444 (__x86_64_raw_data_cache_size): Likewise.
11445 (__x86_64_data_cache_size_half): Likewise.
11446 (__x86_64_raw_data_cache_size_half): Likewise.
11447 (__x86_64_shared_cache_size): Likewise.
11448 (__x86_64_raw_shared_cache_size): Likewise.
11449 (__x86_64_shared_cache_size_half): Likewise.
11450 (__x86_64_raw_shared_cache_size_half): Likewise.
11451 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
11452 to ...
11453 (__x86_data_cache_size): This.
11454 (__x86_64_raw_data_cache_size): Renamed to ...
11455 (__x86_raw_data_cache_size): This.
11456 (__x86_64_data_cache_size_half): Renamed to ...
11457 (__x86_data_cache_size_half): This.
11458 (__x86_64_raw_data_cache_size_half): Renamed to ...
11459 (__x86_raw_data_cache_size_half): This.
11460 (__x86_64_shared_cache_size): Renamed to ...
11461 (__x86_shared_cache_size): This.
11462 (__x86_64_raw_shared_cache_size): Renamed to ...
11463 (__x86_raw_shared_cache_size): This.
11464 (__x86_64_shared_cache_size_half): Renamed to ...
11465 (__x86_shared_cache_size_half): This.
11466 (__x86_64_raw_shared_cache_size_half): Renamed to ...
11467 (__x86_raw_shared_cache_size_half): This.
11468 * sysdeps/x86_64/memcpy.S: Updated.
11469 * sysdeps/x86_64/memset.S: Likewise.
11470 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11471 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11472 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11473
0b3986d0
DM
114742013-01-04 David S. Miller <davem@davemloft.net>
11475
11476 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11477
e47686e9
AS
114782013-01-04 Andreas Schwab <schwab@linux-m68k.org>
11479
d643bac1
AS
11480 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
11481 1 to avoid redefinition warning.
11482 (__USE_GNU): Don't define.
11483 (init_signaling_nan): Protoize.
11484
e47686e9
AS
11485 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11486
b18decba
SP
114872013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11488
fffb407f
SP
11489 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
11490 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
11491 (__cpymn): Likewise.
11492 (norm): Remove commented code.
11493 (denorm): Likewise.
11494 (__mp_dbl): Likewise.
11495 (__inv): Likewise.
11496 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
11497 (__cpymn): Likewise.
11498 (norm): Remove commented code.
11499 (denorm): Likewise.
11500 (__mp_dbl): Likewise.
11501 (__inv): Likewise.
11502
b18decba
SP
11503 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
11504 mp_no value for 1.0 and 2.0.
11505 (norm): Use RADIXI instead of radixi.d.
11506 (denorm): Likewise.
11507 (__mul): Use 0.0 instead of zero.d.
11508 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
11509 mp_no value for 1.0 and 2.0.
11510 (norm): Use RADIXI instead of radixi.d.
11511 (denorm): Likewise.
11512 (__mul): Use 0.0 instead of zero.d.
11513
cdc1c96f
JM
115142013-01-04 Joseph Myers <joseph@codesourcery.com>
11515
11516 [BZ #14994]
11517 * math/s_casinh.c (__casinh): Reduce finite argument to first
11518 quadrant then set signs of results at the end.
11519 * math/s_casinhf.c (__casinhf): Likewise.
11520 * math/s_casinhl.c (__casinhl): Likewise.
11521 * math/libm-test.inc (casin_test): Add more tests.
11522 (casinh_test): Likewise.
11523 * sysdeps/i386/fpu/libm-test-ulps: Update.
11524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11525
302913e1
SP
115262013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11527
6420d207
SP
11528 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
11529
a9e48ab4
SP
11530 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
11531
b7837264
SP
11532 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
11533 declarations.
11534 (denorm): Likewise.
11535 (__mp_dbl): Likewise.
11536 (__inv): Likewise.
11537
f8af25d2
SP
11538 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
11539 and adjust the header comment.
11540
302913e1
SP
11541 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
11542 variable name from declaration.
11543
5d7dd1ca
L
115442013-01-03 H.J. Lu <hongjiu.lu@intel.com>
11545
11546 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11547 Initialize COMMON_CPUID_INDEX_7 element.
11548 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
11549 (CPUID_RTM): Likewise.
11550 (HAS_RTM): Likewise.
11551 (COMMON_CPUID_INDEX_7): New enum.
11552
2f5f40f4
AS
115532013-01-03 Andreas Schwab <schwab@linux-m68k.org>
11554
11555 [BZ #14981]
11556 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
11557 size is zero, record memory as freed.
11558
4056f4a0
AJ
115592013-01-03 Andreas Jaeger <aj@suse.de>
11560
11561 * po/ia.po: Add new Interlingua translation.
11562
ab15736f 115632012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
11564
11565 * locale/programs/localedef.c: Fix description of '--posix' flag.
11566
568035b7
JM
115672013-01-02 Joseph Myers <joseph@codesourcery.com>
11568
e6898b8d
JM
11569 * NEWS: Update dates in second copyright notice.
11570 * README: Update copyright dates in example.
11571 * manual/libc.texinfo: Update copyright dates.
11572 * scripts/test-installation.pl: Update copyright date in --version
11573 output.
11574
0e2f9562
JM
11575 * hurd/ctty-input.c: Fix copyright notice formatting.
11576 * hurd/ctty-output.c: Likewise.
11577 * hurd/dtable.c: Likewise.
11578 * hurd/hurd-raise.c: Likewise.
11579 * hurd/hurdprio.c: Likewise.
11580 * hurd/msgportdemux.c: Likewise.
11581 * misc/sys/file.h: Likewise.
11582 * misc/sys/ioctl.h: Likewise.
11583 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11584 * sysdeps/mach/hurd/chdir.c: Likewise.
11585 * sysdeps/mach/hurd/fchdir.c: Likewise.
11586 * sysdeps/mach/hurd/rename.c: Likewise.
11587 * sysdeps/mach/hurd/rmdir.c: Likewise.
11588 * sysdeps/mach/hurd/seekdir.c: Likewise.
11589 * sysdeps/mach/hurd/setsid.c: Likewise.
11590 * sysdeps/posix/wait3.c: Likewise.
11591
568035b7
JM
11592 * All files with FSF copyright notices: Update copyright dates
11593 using scripts/update-copyrights.
11594 * intl/plural.c: Regenerated.
11595 * locale/programs/charmap-kw.h: Likewise.
11596 * locale/programs/locfile-kw.h: Likewise.
11597
da08f647
SP
115982013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11599
0f5477af
SP
11600 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
11601 four values.
11602
44e0d4c2
SP
11603 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
11604 calculation loop and add branch prediction.
11605
4d55b4e5
SP
11606 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
11607 check access beyond bounds of m1np.
11608
da08f647
SP
11609 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11610 MPTWO.
11611 (__inv): Remove local variable MPTWO to use the global
11612 constant.
11613 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
11614 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11615 variable MPTWO.
11616 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
11617 MP3HALFS static const.
11618
8e051029
DM
116192013-01-01 David S. Miller <davem@davemloft.net>
11620
11621 * po/ca.po: Update from translation team.
11622
f4cf5f2d
JM
116232013-01-01 Joseph Myers <joseph@codesourcery.com>
11624
11625 * scripts/update-copyrights: New file.
11626 * Makeconfig: Reformat copyright notice.
11627 * ctype/ctype.h: Likewise.
11628 * debug/swprintf_chk.c: Likewise.
11629 * elf/dl-cache.c: Likewise.
11630 * elf/dl-debug.c: Likewise.
11631 * elf/dl-object.c: Likewise.
11632 * grp/initgroups.c: Likewise.
11633 * hurd/Makefile: Likewise.
11634 * hurd/hurd/signal.h: Likewise.
11635 * hurd/hurdfault.c: Likewise.
11636 * hurd/hurdioctl.c: Likewise.
11637 * hurd/hurdlookup.c: Likewise.
11638 * hurd/intr-msg.c: Likewise.
11639 * iconv/gconv_open.c: Likewise.
11640 * libio/swprintf.c: Likewise.
11641 * locale/lc-ctype.c: Likewise.
11642 * locale/nl_langinfo.c: Likewise.
11643 * mach/Machrules: Likewise.
11644 * mach/Makefile: Likewise.
11645 * malloc/obstack.h: Likewise.
11646 * manual/Makefile: Likewise.
11647 * manual/tsort.awk: Likewise.
11648 * misc/bits/stab.def: Likewise.
11649 * nis/nis_print_group_entry.c: Likewise.
11650 * nis/nis_table.c: Likewise.
11651 * nis/nss_compat/compat-pwd.c: Likewise.
11652 * nis/nss_compat/compat-spwd.c: Likewise.
11653 * po/Makefile: Likewise.
11654 * posix/fnmatch.c: Likewise.
11655 * posix/regex.h: Likewise.
11656 * resolv/Makefile: Likewise.
11657 * resolv/nss_dns/dns-network.c: Likewise.
11658 * resolv/res_hconf.c: Likewise.
11659 * scripts/gen-sorted.awk: Likewise.
11660 * soft-fp/soft-fp.h: Likewise.
11661 * stdio-common/printf.h: Likewise.
11662 * stdlib/monetary.h: Likewise.
11663 * stdlib/random.c: Likewise.
11664 * stdlib/random_r.c: Likewise.
11665 * sysdeps/generic/Makefile: Likewise.
11666 * sysdeps/gnu/Makefile: Likewise.
11667 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11668 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11669 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11670 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11671 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11672 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11673 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11674 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11675 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11676 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11677 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11678 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11679 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11680 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11681 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
11682 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11683 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11684 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11685 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11686 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11687 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11688 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11689 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11690 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11691 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
11692 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11693 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11694 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
11695 * sysdeps/mach/hurd/errnos.awk: Likewise.
11696 * sysdeps/mach/hurd/fork.c: Likewise.
11697 * sysdeps/mach/hurd/getcwd.c: Likewise.
11698 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
11699 * sysdeps/mach/hurd/mmap.c: Likewise.
11700 * sysdeps/mach/hurd/utimes.c: Likewise.
11701 * sysdeps/mach/hurd/xmknod.c: Likewise.
11702 * sysdeps/posix/profil.c: Likewise.
11703 * sysdeps/posix/readdir_r.c: Likewise.
11704 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11705 * sysdeps/powerpc/bits/setjmp.h: Likewise.
11706 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
11707 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11708 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11709 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11710 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11711 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11712 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11713 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11714 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11715 * sysdeps/pthread/lio_listio.c: Likewise.
11716 * sysdeps/sparc/dl-procinfo.h: Likewise.
11717 * sysdeps/unix/i386/sysdep.S: Likewise.
11718 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
11719 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
11720 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
11721 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
11722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11723 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11724 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11725 * sysdeps/unix/sysv/linux/speed.c: Likewise.
11726 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
11727 * sysdeps/wordsize-32/divdi3.c: Likewise.
11728 * time/sys/time.h: Likewise.
11729 * wcsmbs/Makefile: Likewise.
11730
0549fbba
DM
117312013-01-01 David S. Miller <davem@davemloft.net>
11732
a141f1a7
DM
11733 * po/fr.po: Update from translation team.
11734
0549fbba
DM
11735 * catgets/gencat.c: Update copyright year.
11736 * csu/version.c: Likewise.
11737 * debug/catchsegv.sh: Likewise.
11738 * debug/pcprofiledump.c: Likewise.
11739 * debug/xtrace.sh: Likewise.
11740 * elf/ldconfig.c: Likewise.
11741 * elf/ldd.bash.in: Likewise.
11742 * elf/pldd.c: Likewise.
11743 * elf/sotruss.ksh: Likewise.
11744 * elf/sprof.c: Likewise.
11745 * iconv/iconv_prog.c: Likewise.
11746 * iconv/iconvconfig.c: Likewise.
11747 * locale/programs/locale.c: Likewise.
11748 * locale/programs/localedef.c: Likewise.
11749 * login/programs/pt_chown.c: Likewise.
11750 * malloc/memusage.sh: Likewise.
11751 * malloc/memusagestat.c: Likewise.
11752 * malloc/mtrace.pl: Likewise.
11753 * nscd/nscd.c: Likewise.
11754 * nss/getent.c: Likewise.
11755 * nss/makedb.c: Likewise.
11756 * posix/getconf.c: Likewise.
11757
18ea052c
SP
117582012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11759
11760 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
11761 numbers.
11762
9c89fca6
MF
117632012-12-30 Mike Frysinger <vapier@gentoo.org>
11764
11765 * math/bits/mathcalls.h (modf): Use __nonnull.
11766
085ec079
SP
117672012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11768
11769 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
11770 (split): Use macro CN instead of the bare value.
11771 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
11772 could be used.
11773 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
11774 instead of the bare value.
11775 (power1): Likewise.
11776
6d9f97e1
SP
117772012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11778
d63f73be
SP
11779 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
11780 __ATAN_TWOM.
11781 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11782
6d9f97e1
SP
11783 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
11784 their values.
11785 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11786 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11787 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
11788 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
11789
4c4febf5
AJ
117902012-12-28 Andreas Jaeger <aj@suse.de>
11791
af5843ef
AJ
11792 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
11793 values are from Linux 3.7.
11794
4c4febf5
AJ
11795 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
11796 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
11797
99136f82
SP
117982012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11799
2f216c3c 11800 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
11801 TRUE case.
11802
99136f82
SP
11803 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
11804 (norm): Likewise.
11805 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
11806 variables with preprocessor constants.
11807 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11808 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11809 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11810
7fffbdff
BH
118112012-12-27 Bruno Haible <bruno@clisp.org>
11812
11813 [BZ #14317]
11814 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
11815 only if needed.
11816
b76eb5f0
SP
118172012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11818
31a7fe5c
SP
11819 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
11820 and use variable directly.
11821 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
11822
b76eb5f0
SP
11823 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11824 MPONE.
11825 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
11826 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11827 variable MPONE.
11828 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11829 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11830 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
11831 include directive. Remove local variable MPONE.
11832 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
11833 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
11834 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11835
2c8bfe7d
DM
118362012-12-25 David S. Miller <davem@davemloft.net>
11837
11838 * version.h (RELEASE): Set to "development".
11839 (VERSION): Set to "2.17.90".
11840 * NEWS: Add 2.18 section.
11841
147d03b0
DM
118422012-12-21 David S. Miller <davem@davemloft.net>
11843
11844 * po/hr.po: Update from translation team.
11845
a8ebb2b9
AK
118462012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11847
11848 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
11849
95b4f1b6
SE
118502012-12-19 Steve Ellcey <sellcey@mips.com>
11851
b2d94007 11852 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 11853
cedb2a90
MS
118542012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11855
11856 * manual/contrib.texi (Contributors): Spelling correction.
11857
bbf527d6
DM
118582012-12-15 David S. Miller <davem@davemloft.net>
11859
11860 * po/ru.po: Update from translation team.
11861
bc38c906
DM
118622012-12-13 David S. Miller <davem@davemloft.net>
11863
85429b1a
DM
11864 * NEWS: Mention IFUNC testsuite enhancements.
11865
d283e353
DM
11866 * po/pl.po: Update from translation team.
11867 * po/bg.po: Likewise.
11868
bc38c906
DM
11869 * manual/contrib.texi (Contributors): Update entries for Hongjiu
11870 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
11871
a181b0d7
DM
118722012-12-11 David S. Miller <davem@davemloft.net>
11873
4641d57e
DM
11874 * po/sv.po: Update from translation team.
11875
f7bc6495
DM
11876 * po/vi.po: Update from translation team.
11877
6fc9048f
DM
11878 * po/cs.po: Update from translation team.
11879
a181b0d7
DM
11880 * po/de.po: Update from translation team.
11881 * po/eo.po: Likewise.
11882 * po/nl.po: Likewise.
11883
f70bfe80
SP
118842012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11885
3c8b4190
SP
11886 [BZ #14246]
11887 * manual/argp.texi (Argp Helper Functions): Move node to follow
11888 Argp Parsing State.
11889
f70bfe80
SP
11890 [BZ #14872]
11891 * manual/conf.texi (Limits on File System Capacity): Mention if
11892 terminating null is included in the max size.
11893
188f0adf
AJ
118942012-12-10 Andreas Jaeger <aj@suse.de>
11895
11896 * po/cs.po: Update from translation team.
11897
56e7d3ad
SP
118982012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11899
11900 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
11901 void pointer and cast to uintptr_t.
11902 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
11903 path.
11904 * sysdeps/s390/s390-64/memcpy.S: Likewise.
11905 * sysdeps/s390/s390-64/memset.S: Likewise.
11906
76f2d2ea 119072012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
11908
11909 [BZ #14833]
11910 * menual/message.texi (Message Translation): Fix typos.
11911 (Helper programs for gettext): Likewise.
11912
67cbf9a2
AS
119132012-12-07 Andreas Schwab <schwab@linux-m68k.org>
11914
11915 [BZ #14898]
11916 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
11917 Change to -1.
11918
682d0e9a
DM
119192012-12-07 David S. Miller <davem@davemloft.net>
11920
11921 * po/libc.pot: Update.
11922
573cd484
RH
119232012-12-07 Richard Henderson <rth@redhat.com>
11924
7e9da188 11925 [BZ #10114]
573cd484
RH
11926 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
11927 normal/normal case to before the switch.
11928 (_FP_DIV): Likewise.
11929
e933a943
MF
119302012-12-06 Carlos O'Donell <carlos@systemhalted.org>
11931 Mike Frysinger <vapier@gentoo.org>
11932
11933 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
11934 check for __NR_fadvise64_64.
11935
82123268
CM
119362012-12-06 Chris Metcalf <cmetcalf@tilera.com>
11937
11938 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
11939 0, not just to plain "0" as a statement.
11940 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
11941 with cw.
11942
d9814526
JM
119432012-12-06 Joseph Myers <joseph@codesourcery.com>
11944
11945 * NEWS: Use sourceware.org in Bugzilla URL.
11946
7728c574
SP
119472012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11948
f16946dd
SP
11949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11950 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11951
5704bbcb
SP
11952 * stdio-common/tst-put-error.c (do_test): Add newline to the
11953 padded test to ensure flush.
11954
17aa0516
JL
119552012-12-05 Jeff Law <law@redhat.com>
11956
11957 * sunrpc/etc.rpc (fedfs_admin): Add entry.
11958
363313b5
JM
119592012-12-05 Joseph Myers <joseph@codesourcery.com>
11960
effbd42a
JM
11961 * README: Don't refer to ports add-on as distributed separately.
11962 Mention AArch64 in list of systems supported in the ports add-on.
11963
87600365
JM
11964 * LICENSES: Add more non-FSF copyright and license notices.
11965
a0d7066a
JM
11966 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
11967 ((unused)).
11968
66ca5a5b
JM
11969 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
11970
363313b5
JM
11971 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
11972 10000 as width of padded output.
11973
b37984ad
JM
119742012-12-04 Joseph Myers <joseph@codesourcery.com>
11975
9003570a
JM
11976 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
11977
b37984ad
JM
11978 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
11979 variable LX with __attribute__ ((unused)).
11980 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11981 Likewise.
11982 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11983 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11984 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
11985 with __attribute__ ((unused)).
11986
c8df52ec
DM
119872012-12-04 David S. Miller <davem@abraco.davemloft.net>
11988
11989 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
11990
b3b099af
JM
119912012-12-04 Joseph Myers <joseph@codesourcery.com>
11992
c33aa6e3
JM
11993 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
11994 (CFLAGS-nldbl-acos.c): New variable.
11995 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
11996 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
11997 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
11998 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
11999 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
12000 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
12001 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
12002 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
12003 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
12004 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
12005 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
12006 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
12007 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
12008 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
12009 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
12010 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
12011 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
12012 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
12013 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
12014 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
12015 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
12016 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
12017 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
12018 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
12019 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
12020 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
12021 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
12022 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
12023 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
12024 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
12025 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
12026 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
12027 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
12028 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
12029 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
12030 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
12031 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
12032 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
12033 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
12034 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
12035 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
12036 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
12037 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
12038 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
12039 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
12040 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
12041 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
12042 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
12043 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
12044 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
12045 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
12046 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
12047 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
12048 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
12049 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
12050 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
12051 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
12052 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
12053 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
12054 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
12055 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
12056 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
12057 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
12058 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
12059 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
12060 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
12061 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
12062 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
12063 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
12064 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
12065 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
12066 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
12067 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
12068 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
12069 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
12070 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
12071 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
12072 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
12073 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
12074 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
12075 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
12076 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
12077 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
12078 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
12079 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
12080 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
12081 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
12082 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
12083 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
12084 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
12085 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
12086 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
12087 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
12088 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
12089 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
12090 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
12091 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
12092
20f0018d
JM
12093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12094 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12095
b3b099af
JM
12096 [BZ #14914]
12097 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
12098 whole low double instead of just low 47 bits when splitting values
12099 into two parts.
12100
029264d1
AM
121012012-12-03 Allan McRae <allan@archlinux.org>
12102
12103 * manual/stdio.texi (Predefined Printf Handlers): Remove
12104 @hsep and @vsep usage.
12105
c9d6789e
MF
121062012-12-03 Mike Frysinger <vapier@gentoo.org>
12107
12108 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
12109 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
12110
4b7634a5
JL
121112012-12-03 Jeff Law <law@redhat.com>
12112
12113 * time/sys/time.h (settimeofday): Do not mark TV argument
12114 as __nonnull.
12115
eb6cbd24
MF
121162012-12-01 Mike Frysinger <vapier@gentoo.org>
12117
12118 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
12119 when currently writing and seek to current position when not.
12120 * libio/Makefile (tests): Remove bug-fclose1.
12121 * libio/bug-fclose1.c: Delete.
12122
f638872a
JM
121232012-12-01 Joseph Myers <joseph@codesourcery.com>
12124
12125 * manual/arith.texi (feenableexcept): Fix typo.
12126 (fedisableexcept): Likewise.
12127
48085d14
RM
121282012-11-30 Roland McGrath <roland@hack.frob.com>
12129
12130 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
12131 second, differently-typed declaration, rather than a cast.
12132
1a538b9f
SP
121332012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12134
12135 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
12136 * include/rpc/svc.h: ... here.
12137
d07f2ff1 121382012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
12139
12140 [BZ #13013]
12141 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
12142 depending n and resplen2 to catch cases where answer
12143 equals answerp2.
12144
c93ec1f0
CD
121452012-11-29 Carlos O'Donell <carlos@systemhalted.org>
12146
12147 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
12148 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
12149
37db69de
MF
121502012-11-29 Mike Frysinger <vapier@gentoo.org>
12151
12152 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
12153
e10c4e4f
RM
121542012-11-29 Roland McGrath <roland@hack.frob.com>
12155
12156 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
12157
2af1b328
JL
121582012-11-28 Jeff Law <law@redhat.com>
12159
12160 [BZ #13761]
12161 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
12162 dataset_temporary. Track alloca usage into alloca_used.
12163 If dataset is large allocate and release it via malloc/free.
12164
111db5b1
FW
121652012-06-04 Florian Weimer <fweimer@redhat.com>
12166
f06cc227 12167 [BZ #14197]
111db5b1
FW
12168 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
12169
dd694abd
DM
121702012-11-28 David S. Miller <davem@davemloft.net>
12171
12172 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12173
9984dd01
JM
121742012-11-28 Joseph Myers <joseph@codesourcery.com>
12175
12176 [BZ #14803]
12177 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
12178 of pi/2 rounded to nearest to 64 bits.
12179 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
12180 nearest to 64 bits.
12181 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
12182 bits.
12183
14bc93a9
JL
121842012-11-28 Jeff Law <law@redhat.com>
12185 Martin Osvald <mosvald@redhat.com>
12186
12187 [BZ #14889]
12188 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
12189 * sunrpc/svc.c: Include time.h.
12190 (__svc_accept_failed): New function.
12191 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
12192 any reason other than EINTR, call __svc_accept_failed.
12193 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
12194 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
12195
e3c6aa3a
AS
121962012-11-28 Andreas Schwab <schwab@suse.de>
12197
12198 * scripts/abilist.awk: Also handle indirect functions in .opd
12199 section.
12200
1bead169
JM
122012012-11-28 Joseph Myers <joseph@codesourcery.com>
12202
12203 [BZ #13881]
12204 * sysdeps/x86/fpu/powl_helper.c: New file.
12205 * sysdeps/x86/fpu/Makefile: Likewise.
12206 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
12207 (p3): New object.
12208 (__ieee754_powl): Use __powl_helper for finite arguments except
12209 integer exponents below 8.
12210 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
12211 (p3): New object.
12212 (__ieee754_powl): Use __powl_helper for finite arguments except
12213 integer exponents below 8.
12214 * math/libm-test.inc (pow_test): Add more tests and enable some
12215 previously disabled tests.
12216 * sysdeps/i386/fpu/libm-test-ulps: Update.
12217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12218
0817d63d
SP
122192012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12220 Carlos O'Donell <carlos_odonell@mentor.com>
12221
12222 * nss/makedb.c (is_prime): Assert that input is odd and greater
12223 than 4. Note that fact in a comment too.
12224 (next_prime): Add 4 to input.
12225
de2fd463
SP
122262012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12227
12228 [BZ #11741]
12229 * libio/Makefile (tests): Add test case tst-fwrite-error.
12230 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
12231 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
12232 * libio/tst-fwrite-error.c: New test case.
12233
c515fb51
L
122342012-11-26 H.J. Lu <hongjiu.lu@intel.com>
12235
12236 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
12237 before casting to void *.
12238 * include/libc-internal.h (__pointer_type): New macro.
12239 (__integer_if_pointer_type_sub): Likewise.
12240 (__integer_if_pointer_type): Likewise.
12241 (cast_to_integer): Likewise.
12242 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
12243 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
12244 before casting to atomic64_t.
12245 (atomic_exchange_acq): Likewise.
12246 (__arch_exchange_and_add_body): Likewise.
12247 (__arch_add_body): Likewise.
12248 (atomic_add_negative): Likewise.
12249 (atomic_add_zero): Likewise.
12250
4cf77aa9
JM
122512012-11-26 Joseph Myers <joseph@codesourcery.com>
12252
12253 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
12254 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
12255 (add_fdes): Likewise.
12256 (linear_search_fdes): Likewise.
12257 (binary_search_unencoded_fdes): Likewise.
12258
d260b3b4
AS
122592012-11-26 Andreas Schwab <schwab@linux-m68k.org>
12260
12261 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
12262
67060746
AC
122632012-11-24 Adam Conrad <adconrad@0c3.net>
12264
12265 * configure.in: Autodetect C++ header directories.
12266 * configure: Regenerated.
12267
800938a1
MF
122682012-11-23 Mike Frysinger <vapier@gentoo.org>
12269
12270 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
12271
4e6e34e6
AS
122722012-11-23 Andreas Schwab <schwab@linux-m68k.org>
12273
12274 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12275
7c7feb47
JM
122762012-11-22 Joseph Myers <joseph@codesourcery.com>
12277
7184dcdf
JM
12278 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
12279 LDBL_MANT_DIG == 106]: Disable some tests.
12280 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12281 Likewise.
12282 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12283 Likewise.
12284
0a42601f
JM
12285 [BZ #14871]
12286 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
12287 input for small inputs. Return +/- pi/2 for large inputs.
12288 * math/libm-test.inc (atan_test): Add more tests.
12289
79c9b9fe
JM
12290 * sysdeps/generic/unwind-dw2-fde-glibc.c
12291 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
12292 __attribute__ ((unused)).
12293
c60d3bf2
JM
12294 [BZ #14645]
12295 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
12296 x * y if x and y are nonzero and z is zero.
12297
ef1e0867
JM
12298 [BZ #14811]
12299 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
12300 nonzero exponents with absolute value below 0x1p-117 to +/-
12301 0x1p-117.
12302
1468ded3
JM
12303 [BZ #14869]
12304 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
12305 up arguments below 2**-450, not just those below 2**-500.
12306 * math/libm-test.inc (hypot_test): Add another test.
12307
8e27e3cc
JM
12308 [BZ #14868]
12309 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12310 Return a+b for ratio over 2**120, not 2**60.
12311 * math/libm-test.inc (hypot_test): Add another test.
12312
c9c0279b
JM
12313 * math/libm-test.inc (clog_test): Use
12314 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
12315 (clog10_test): Likewise.
12316
7c7feb47
JM
12317 [BZ #6778]
12318 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
12319
fff1530e
AS
123202012-11-22 Andreas Schwab <schwab@suse.de>
12321
12322 * sysdeps/i386/fpu/libm-test-ulps: Update.
12323
94558d30
PT
123242012-11-22 Pino Toscano <toscano.pino@tiscali.it>
12325
12326 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
12327 printf output with newline.
12328
7e1be741
L
123292012-11-21 H.J. Lu <hongjiu.lu@intel.com>
12330
6bfea974
L
12331 [BZ #14865]
12332 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
12333 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
12334 -z nodlopen, -z initfirst and -z execstack support.
12335 * configure: Regenerated.
12336
7e1be741
L
12337 * elf/elf.h (DF_1_NODIRECT): New macro.
12338 (DF_1_IGNMULDEF): Likewise.
12339 (DF_1_NOKSYMS): Likewise.
12340 (DF_1_NOHDR): Likewise.
12341 (DF_1_EDITED): Likewise.
12342 (DF_1_NORELOC): Likewise.
12343 (DF_1_SYMINTPOSE): Likewise.
12344 (DF_1_GLOBAUDIT): Likewise.
12345 (DF_1_SINGLETON): Likewise.
12346 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
12347 DT_1_SUPPORTED_MASK bits.
12348 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
12349
105ce2ce
CD
123502012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
12351
12352 * sysdeps/unix/make-syscalls.sh: Document prefixes.
12353
123be9de
TS
123542012-11-20 Thomas Schwinge <thomas@codesourcery.com>
12355
d072f3f7
TS
12356 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
12357 macro.
12358
123be9de
TS
12359 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
12360 (sendmmsg): Move declarations...
12361 * socket/sys/socket.h: ... here.
12362 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
12363 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
12364 include it from...
12365 * socket/recvmmsg.c: ... this new file.
12366 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
12367 (sendmmsg): Rename to __sendmmsg, create weak alias and make
12368 definition of __sendmmsg hidden.
12369 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
12370 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
12371 Move ENOSYS stub into and include it from...
12372 * socket/sendmmsg.c: ... this new file.
12373 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
12374 (sysdep_routines): Move recvmmsg and sendmmsg...
12375 * socket/Makefile (routines): ... here.
12376 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
12377 (GLIBC_PRIVATE): Add __sendmmsg.
12378 * include/sys/socket.h (__sendmmsg): Add declarations.
12379 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
12380 sendmmsg.
12381
cf9a5d18
JM
123822012-11-20 Joseph Myers <joseph@codesourcery.com>
12383
12384 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
12385 variable I1 with __attribute__ ((unused)).
12386 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12387
ecd4caf9
JM
123882012-11-19 Joseph Myers <joseph@codesourcery.com>
12389
be14d48f
JM
12390 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
12391 DUMMY variables with __attribute__ ((unused)).
12392
ecd4caf9
JM
12393 * bits/byteswap.h: Include <bits/types.h>.
12394 (__bswap_64): Use __uint64_t instead of unsigned long long int.
12395
986cab95
PT
123962012-11-19 Pino Toscano <toscano.pino@tiscali.it>
12397
12398 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
12399 string_t. Do not manually set errno.
12400 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
12401 length with __strnlen. Make sure to both set errno and return it on
12402 failure.
12403
6d33cc9d
DM
124042012-11-19 David S. Miller <davem@davemloft.net>
12405
12406 With help from Joseph Myers.
12407 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
12408 very large arguments properly.
12409 * math/libm-test.inc (atan_test): New tests.
12410 (atan2_test): New tests.
12411 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12412 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12413
ee663277
JM
124142012-11-19 Joseph Myers <joseph@codesourcery.com>
12415
877f2d8e
JM
12416 [BZ #14856]
12417 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
12418 Define to 3.
12419
116fc08a
JM
12420 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
12421 [POSIX] (EADDRNOTAVAIL): Likewise.
12422 [POSIX] (EAFNOSUPPORT): Likewise.
12423 [POSIX] (EALREADY): Likewise.
12424 [POSIX] (ECONNABORTED): Likewise.
12425 [POSIX] (ECONNREFUSED): Likewise.
12426 [POSIX] (ECONNRESET): Likewise.
12427 [POSIX] (EDESTADDRREQ): Likewise.
12428 [POSIX] (EDQUOT): Likewise.
12429 [POSIX] (EHOSTUNREACH): Likewise.
12430 [POSIX] (EIDRM): Likewise.
12431 [POSIX] (EISCONN): Likewise.
12432 [POSIX] (ELOOP): Likewise.
12433 [POSIX] (EMULTIHOP): Likewise.
12434 [POSIX] (ENETDOWN): Likewise.
12435 [POSIX] (ENETUNREACH): Likewise.
12436 [POSIX] (ENOBUFS): Likewise.
12437 [POSIX] (ENODATA): Likewise.
12438 [POSIX] (ENOLINK): Likewise.
12439 [POSIX] (ENOMSG): Likewise.
12440 [POSIX] (ENOPROTOOPT): Likewise.
12441 [POSIX] (ENOSR): Likewise.
12442 [POSIX] (ENOSTR): Likewise.
12443 [POSIX] (ENOTCONN): Likewise.
12444 [POSIX] (ENOTSOCK): Likewise.
12445 [POSIX] (EOPNOTSUPP): Likewise.
12446 [POSIX] (EOVERFLOW): Likewise.
12447 [POSIX] (EPROTO): Likewise.
12448 [POSIX] (EPROTONOSUPPORT): Likewise.
12449 [POSIX] (EPROTOTYPE): Likewise.
12450 [POSIX] (ESTALE): Likewise.
12451 [POSIX] (ETIME): Likewise.
12452 [POSIX] (ETXTBSY): Likewise.
12453 [POSIX] (EWOULDBLOCK): Likewise.
12454 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
12455 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
12456 [POSIX] (SEEK_CUR): Likewise.
12457 [POSIX] (SEEK_END): Likewise.
12458 [POSIX || UNIX98] (mode_t): Do not require.
12459 [POSIX] (off_t): Likewise.
12460 [POSIX] (pid_t): Likewise.
12461 [POSIX] (sys/stat.h): Do not allow header.
12462 [POSIX] (unistd.h): Likewise.
12463 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
12464 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
12465 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
12466 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
12467 require.
12468 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
12469 sigevent): Specify elements.
12470 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
12471 entry.
12472 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
12473 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
12474
a483863f
JM
12475 * conform/data/cpio.h-data [POSIX]: Disable whole file.
12476 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
12477 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
12478 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
12479 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
12480 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
12481 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
12482 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
12483 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
12484 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
12485 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
12486 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
12487 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
12488 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
12489 Likewise.
12490 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
12491 Likewise.
12492 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
12493 Likewise.
12494 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
12495 Likewise.
12496 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
12497 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
12498 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
12499 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
12500 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
12501 Specify lower bound on value.
12502 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
12503 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
12504 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
12505 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
12506 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
12507 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
12508 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
12509 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
12510 value.
12511 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
12512 as optional.
12513 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
12514 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
12515 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
12516 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
12517 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
12518 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
12519 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
12520 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
12521 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
12522 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
12523 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
12524 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
12525 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
12526 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
12527 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
12528 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
12529 entry.
12530 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
12531 optional.
12532 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
12533 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
12534 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
12535 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
12536 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
12537 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
12538 Likewise.
12539 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
12540 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
12541 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
12542 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
12543 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
12544 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
12545 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
12546 as optional.
12547 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
12548 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
12549 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
12550 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
12551 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
12552 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
12553 specify as optional.
12554 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
12555 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
12556 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
12557 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
12558 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
12559 [XPG3] (NL_LANGMAX): Likewise.
12560 [POSIX || XPG3] (NL_MSGMAX): Likewise.
12561 [POSIX || XPG3] (NL_NMAX): Likewise.
12562 [POSIX || XPG3] (NL_SETMAX): Likewise.
12563 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
12564 [XPG3] (NZERO): Likewise.
12565 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
12566 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
12567 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
12568 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
12569 (REG_ERANGE): Expect.
12570 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
12571 optional-constant.
12572 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
12573 Use (void) in prototype.
12574 [POSIX] (*_t): Allow.
12575 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
12576 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
12577 (WRDE_BADVAL): Expect.
12578
5ba924e3
JM
12579 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
12580 expect.
12581 [XPG3 || XPG4] (O_RSYNC): Likewise.
12582 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
12583 Likewise.
12584 [XPG3 || XPG4] (pthread_sigmask): Likewise.
12585 [XPG3 || XPG4] (sigqueue): Likewise.
12586 [XPG3 || XPG4] (sigtimedwait): Likewise.
12587 [XPG3 || XPG4] (sigwaitinfo): Likewise.
12588 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
12589 [XPG3 || XPG4] (vsnprintf): Likewise.
12590 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
12591 Likewise.
12592 [XPG3 || XPG4] (blksize_t): Likewise.
12593 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
12594 Likewise.
12595 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
12596 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12597 [XPG3 || XPG4] (struct itimerspec): Likewise.
12598 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
12599 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
12600 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
12601 [XPG3 || XPG4] (clockid_t): Likewise.
12602 [XPG3 || XPG4] (timer_t): Likewise.
12603 [XPG3 || XPG4] (clock_getres): Likewise.
12604 [XPG3 || XPG4] (clock_gettime): Likewise.
12605 [XPG3 || XPG4] (clock_settime): Likewise.
12606 [XPG3 || XPG4] (nanosleep): Likewise.
12607 [XPG3 || XPG4] (timer_create): Likewise.
12608 [XPG3 || XPG4] (timer_delete): Likewise.
12609 [XPG3 || XPG4] (timer_gettime): Likewise.
12610 [XPG3 || XPG4] (timer_getoverrun): Likewise.
12611 [XPG3 || XPG4] (timer_settime): Likewise.
12612 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
12613 [XPG3 || XPG4] (getlogin_r): Likewise.
12614 [XPG3 || XPG4] (pread): Likewise.
12615 [XPG3 || XPG4] (pthread_atfork): Likewise.
12616 [XPG3 || XPG4] (pwrite): Likewise.
12617
ee663277
JM
12618 [BZ #14835]
12619 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
12620 <bits/siginfo.h>.
12621
942caa16
PT
126222012-11-19 Pino Toscano <toscano.pino@tiscali.it>
12623
e19af380
PT
12624 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
12625 finalizing MALLSTREAM.
12626
942caa16
PT
12627 * sysdeps/mach/hurd/syncfs.c: New file.
12628
cfde9b46
SP
126292012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12630
12631 [BZ #14719]
12632 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
12633 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
12634 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
12635 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
12636 (_nss_dns_gethostbyname4_r): Likewise.
12637 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
12638 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
12639
f6da27e5
PH
126402012-11-19 Peng Haitao <penght@cn.fujitsu.com>
12641
12642 [BZ #13763]
12643 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
12644
6665d4a2
SM
126452012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
12646
1f51ee92
SM
12647 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
12648 * elf/cache.c (print_entry): Print ",AArch64" for
12649 FLAG_AARCH64_LIB64
12650
6665d4a2
SM
12651 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
12652 * elf/cache.c (print_entry): Print ",hard-float" for
12653 FLAG_ARM_LIBHF.
12654
05b227bd
DM
126552012-11-18 David S. Miller <davem@davemloft.net>
12656
12657 With help from Joseph Myers.
12658 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
12659 cutoff to 2**-13.
12660 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
12661 cutoff to 2**-25.
12662 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
12663 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
12664 small.
12665 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
12666 * math/libm-test.inc (y0_test): New tests.
12667 (y1_test): New tests.
12668 * sysdeps/i386/fpu/libm-test-ulps: Update.
12669 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12670 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12671
786b0b67
AS
126722012-11-18 Andreas Schwab <schwab@linux-m68k.org>
12673
12674 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
12675 64-bit targets.
12676 * configure: Regenerated.
12677
8e18b86d
DM
126782012-11-17 David S. Miller <davem@davemloft.net>
12679
12680 [BZ #14811]
12681 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
12682 nonzero exponents with absolute value below 0x1p-128 to +/-
12683 0x1p-128.
12684
531f1ae0
JM
126852012-11-17 Joseph Myers <joseph@codesourcery.com>
12686
12df29e2
JM
12687 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
12688
150dc1a0
JM
12689 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
12690
531f1ae0
JM
12691 * posix/getconf-speclist.c: New file.
12692 * posix/posix-envs.def: Likewise.
12693 * posix/confstr.c (START_ENV_GROUP): New macro.
12694 (END_ENV_GROUP): Likewise.
12695 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12696 (KNOWN_PRESENT_ENV_STRING): Likewise.
12697 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12698 (UNKNOWN_ENVIRONMENT): Likewise.
12699 (confstr): Include posix-envs.def instead of handling
12700 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
12701 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
12702 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
12703 (END_ENV_GROUP): Likewise.
12704 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12705 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12706 (UNKNOWN_ENVIRONMENT): Likewise.
12707 (__sysconf): Include posix-envs.def instead of handling associated
12708 cases directly here.
12709 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
12710 preprocessing getconf-speclist.c rather than running getconf or
12711 generating empty file.
12712
a93f9cbc
PT
127132012-11-16 Pino Toscano <toscano.pino@tiscali.it>
12714
12715 * scripts/check-local-headers.sh: Ignore 'mach' headers.
12716
d64d9f87
AL
127172012-11-16 Andrej Lajovic <natrij@gmail.com>
12718
12719 [BZ #14672]
12720 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
12721
447885eb
DM
127222012-11-16 David S. Miller <davem@davemloft.net>
12723
12724 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
12725 smaller than LDBL_EPSILON/2.0L, just return xm1.
12726
bcbf9830
L
127272012-11-16 H.J. Lu <hongjiu.lu@intel.com>
12728
12729 * elf/tst-array1.c (init): Set constructor priority to 1000.
12730 (fini): Set destructor priority to 1000.
12731 * elf/tst-array2dep.c: Likewise.
12732
2b766585
SP
127332012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12734
12735 [BZ #11741]
12736 * libio/fileops.c (_IO_new_file_write): Correctly return error.
12737 (_IO_new_file_xsputn): Also return EOF if none of the input
12738 data was written when overflow failed.
12739 * libio/iopadn.c (_IO_padn): Likewise.
12740 * libio/iowpadn.c (_IO_wpadn): Likewise.
12741 * stdio-common/tst-put-error.c: Add copyright notice.
12742 (do_test): Add case for printing padded string.
12743 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
12744 _IO_padn returned error.
12745 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
12746 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
12747 return EOF.
12748
b1848fde
SP
127492012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12750
12751 * libio/libioP.h: Add comment note that the references to C++
12752 bits are now obsolete.
12753
2fd89785
MS
127542012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12755
12756 * math/libm-test.inc (check_complex): Use asprintf.
12757
e3ea5409
JM
127582012-11-14 Joseph Myers <joseph@codesourcery.com>
12759
12760 * debug/pcprofiledump.c (print_version): Update copyright year.
12761 * malloc/memusagestat.c (print_version): Likewise.
12762
2e64d265
L
127632012-11-14 H.J. Lu <hongjiu.lu@intel.com>
12764
12765 [BZ #14831]
12766 * elf/Makefile (tests): Add tst-audit8.
12767 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
12768 ($(objpfx)tst-audit8.out): New target.
12769 (tst-audit8-ENV): New variable.
12770 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
12771 audit if l_reloc_result is NULL.
12772 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
12773 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
12774 * elf/tst-audit8.c: New file.
12775
c485e4d2
MS
127762012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12777
12778 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
12779 * misc/Makefile (CFLAGS-select.c): Define.
12780 * posix/Makefile (CFLAGS-pause.c): Define.
12781
3a0d900a
DM
127822012-11-13 David S. Miller <davem@davemloft.net>
12783
12784 * crypt/Makefile: Move test targets after toplevel Rules
12785 inclusion. Grab any necessary sysdep routines when linking.
12786 * crypt/md5.c (md5_process_block): Remove define, we will always
12787 name it __md5_process_block.
12788 (md5_finish_ctx): Update md5_process_block call.
12789 (md5_stream): Likewise.
12790 (md5_process_bytes): Likewise.
12791 (md5_process_block): Rename to __md5_process_block and move to ...
12792 * crypt/md5-block.c: ... here.
12793 * crypt/sha256.c (sha256_process_block): Move to ...
12794 * crypt/sha256-block.c: ... here.
12795 * crypt/sha512.c (sha512_process_block): Move to ...
12796 * crypt/sha512-block.c: ... here.
12797 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
12798 path.
12799 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
12800 * sysdeps/sparc/sparc64/multiarch/Makefile
12801 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
12802 crypt subdir.
12803 (localedef-aux): Add md5 crypto assembler when in locale subdir.
12804 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
12805 multiarch changes.
12806 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
12807 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
12808 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
12809 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
12810 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
12811 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
12812 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
12813 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
12814 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
12815 file.
12816 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
12817 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
12818 file.
12819 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
12820
8ca89318
JM
128212012-11-13 Joseph Myers <joseph@codesourcery.com>
12822
e27d476a
JM
12823 * timezone/tzselect.ksh: Update from tzcode git revision
12824 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
12825 * timezone/zdump.c: Likewise.
12826 * timezone/zic.c: Likewise.
12827 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
12828 in TZVERSION setting, not $(PKGVERSION).
12829 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
12830 REPORT_BUGS_TO settings.
12831
8ca89318
JM
12832 [BZ #14838]
12833 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
12834 macro.
12835
47594329
MS
128362012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12837
12838 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
12839 detection to immediately after _FP_ROUND().
12840 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
12841 bits are 0.
12842
640ac3f1
DM
128432012-11-11 David S. Miller <davem@davemloft.net>
12844
12845 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
12846 inttypes.h
12847 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
12848 __close rather than their public counterparts.
12849
3d2577bb
JM
128502012-11-10 Joseph Myers <joseph@codesourcery.com>
12851
12852 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
12853 file.
12854 [UNIX98] (sem_timedwait): Do not expect.
12855 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
12856 [XPG4 || UNIX98] (sockatmark): Do not expect.
12857 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
12858 (clock_getcpuclockid): Do not expect.
12859 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
12860 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
12861 Do not expect.
12862 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
12863 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
12864 [UNIX98] (vwscanf): Likewise.
12865 [UNIX98] (vswscanf): Likewise.
12866
fb1ae1ee
JM
128672012-11-09 Joseph Myers <joseph@codesourcery.com>
12868
9ec6f8bd
JM
12869 * timezone/version.h: Remove file.
12870 * timezone/README: Do not refer to version.h.
12871 * timezone/Makefile ($(objpfx)zic.o): New dependency on
12872 $(objpfx)version.h.
12873 ($(objpfx)zdump.o): Likewise.
c3f81911 12874 ($(objpfx)version.h): New target.
9ec6f8bd 12875
0aa8f8a1
JM
12876 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
12877 2012i.
12878 * timezone/README: Don't mention modification to tzselect.ksh.
12879 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
12880 work on unmodified tzselect.ksh. Substitute version numbers in
12881 tzselect.ksh.
12882
4e87147f
JM
12883 * Makefile (format-me): Remove.
12884 (INSTALL): Adjust indentation. Use commands directly instead of
12885 using $(format-me).
12886
8b748aed
JM
12887 * aclocal.m4 (ACX_PKGVERSION): New macro.
12888 (ACX_BUGURL): Likewise.
12889 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
12890 (PKGVERSION): New AC_DEFINE_UNQUOTED.
12891 (REPORT_BUGS_TO): Likewise.
12892 * configure: Regenerated.
12893 * config.h.in (PKGVERSION): New macro.
12894 (REPORT_BUGS_TO): Likewise.
12895 * config.make.in (PKGVERSION): New variable.
12896 (PKGVERSION_TEXI): Likewise.
12897 (REPORT_BUGS_TO): Likewise.
12898 (REPORT_BUGS_TEXI): Likewise.
12899 * Makefile (format-me): Use -I$(common-objpfx)manual.
12900 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
12901 ($(common-objpfx)manual/%): New target.
12902 (manual/%): Remove target.
12903 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
12904 (print_version): Use PKGVERSION.
12905 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
12906 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
12907 and REPORT_BUGS_TO.
12908 ($(objpfx)xtrace): Likewise.
12909 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
12910 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
12911 (print_version): Use PKGVERSION.
12912 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
12913 (do_version): Use PKGVERSION.
12914 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
12915 REPORT_BUGS_TO.
12916 (common-ldd-rewrite): Likewise.
12917 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
12918 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
12919 (print_version): Use PKGVERSION.
12920 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
12921 * elf/pldd.c (argp_program_bug_address): Remove variable.
12922 (more_help): New function.
12923 (argp): Use more_help.
12924 (print_version): Use PKGVERSION.
12925 * elf/sln.c (main): Use PKGVERSION.
12926 (usage): Use REPORT_BUGS_TO.
12927 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
12928 (top level): Use PKGVERSION.
12929 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
12930 (print_version): Use PKGVERSION.
12931 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
12932 (print_version): Use PKGVERSION.
12933 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
12934 (print_version): Use PKGVERSION.
12935 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
12936 (print_version): Use PKGVERSION.
12937 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
12938 (print_version): Use PKGVERSION.
12939 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
12940 (print_version): Use PKGVERSION.
12941 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
12942 and BUGURL.
12943 ($(objpfx)memusage): Likewise.
12944 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
12945 (do_version): Use PKGVERSION.
12946 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
12947 (print_version): Use PKGVERSION.
12948 * malloc/mtrace.pl ($PACKAGE): Remove variable.
12949 ($PKGVERSION): New variable.
12950 ($REPORT_BUGS_TO): Likewise.
12951 (usage): Use $REPORT_BUGS_TO.
12952 (top level): Use $PKGVERSION.
12953 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
12954 ($(objpfx)pkgvers.texi): New rule.
12955 ($(objpfx)stamp-pkgvers): Likewise.
12956 * manual/install.texi: Include pkgvers.texi.
12957 (--with-pkgversion): Document new configure option.
12958 (--with-bugurl): Likewise.
12959 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
12960 than necessarily for this particular distribution. Use
12961 REPORT_BUGS_TO for where to report bugs.
12962 * INSTALL: Regenerated.
12963 * manual/libc.texinfo: Include pkgvers.texi.
12964 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
12965 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
12966 (print_version): Use PKGVERSION.
12967 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
12968 (print_version): Use PKGVERSION.
12969 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
12970 (print_version): Use PKGVERSION.
12971 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
12972 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
12973 macro.
12974 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
12975 (print_version): Use PKGVERSION.
12976 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
12977 (print_version): Use PKGVERSION.
12978 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
12979 and PKGVERSION.
12980
92e4b6a9
JM
12981 * timezone/checktab.awk: Update from tzcode 2012i.
12982 * timezone/ialloc.c: Likewise.
12983 * timezone/private.h: Likewise.
12984 * timezone/scheck.c: Likewise.
12985 * timezone/tzfile.h: Likewise.
12986 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
12987 (TZVERSION): Hardcode tzcode version number.
12988 * timezone/zdump.c: Update from tzcode 2012i.
12989 * timezone/zic.c: Likewise.
12990 * timezone/version.h: New file.
12991 * timezone/README: Describe version.h. Update upstream location.
12992
9bde902c
JM
12993 [BZ #14824]
12994 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
12995 (mktemp): Enable declaration.
12996 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
12997 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
12998 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
12999 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
13000 Likewise.
13001 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
13002 Likewise.
13003 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
13004 Likewise.
13005 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
13006 Likewise.
13007 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
13008 Likewise.
13009 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
13010 Likewise.
13011
fb1ae1ee
JM
13012 [BZ #14821]
13013 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
13014 offset in buffer as u_int32_t not u_long. Consistently use memcpy
13015 for copies of such integer values.
13016 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13017 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13018
2c1adbcb
AJ
130192012-11-09 Andreas Jaeger <aj@suse.de>
13020
13021 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
13022 definitions and declarations that are provided by
13023 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13024
d0f8457e
AK
130252012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13026
3a235abb 13027 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
13028 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
13029 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
13030 definition.
13031
57241e26
MS
130322012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13033
13034 * elf/elf.h: Update comment before AArch64 relocations.
13035
60e8270d
DM
130362012-11-07 David S. Miller <davem@davemloft.net>
13037
13038 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
13039 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13040 (__start_context): Declare.
13041 (__makecontext_ret): Delete.
13042 (__makecontext): Hook up __start_context instead of
13043 __makecontext_ret.
13044 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
13045 (sysdep_routines): Add __start_context when in stdlib.
13046
0fbb0fbc
JM
130472012-11-07 Joseph Myers <joseph@codesourcery.com>
13048
13049 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
13050 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
13051 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
13052 hardcoded "nm".
13053 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
13054 (READELF): New variable. Use it instead of hardcoded "readelf".
13055
eb48db7e
L
130562012-11-07 H.J. Lu <hongjiu.lu@intel.com>
13057
13058 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
13059 * sysdeps/x86/Makefile: Here.
13060 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
13061 * sysdeps/x86/tst-xmmymm.sh: This.
13062
05bcf62a
JM
130632012-11-07 Joseph Myers <joseph@codesourcery.com>
13064
c4b6cf53
JM
13065 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
13066 expectations.
13067 [UNIX98] (pthread_barrier_t): Do not expect.
13068 [UNIX98] (pthread_barrierattr_t): Likewise.
13069 [UNIX98] (pthread_spinlock_t): Likewise.
13070 [UNIX98] (pthread_barrier_destroy): Likewise.
13071 [UNIX98] (pthread_barrier_init): Likewise.
13072 [UNIX98] (pthread_barrier_wait): Likewise.
13073 [UNIX98] (pthread_barrierattr_destroy): Likewise.
13074 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
13075 [UNIX98] (pthread_barrierattr_init): Likewise.
13076 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
13077 [UNIX98] (pthread_getcpuclockid): Likewise.
13078 [UNIX98] (pthread_mutex_timedlock): Likewise.
13079 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
13080 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
13081 [UNIX98] (pthread_sigmask): Likewise.
13082 [UNIX98] (pthread_spin_destroy): Likewise.
13083 [UNIX98] (pthread_spin_init): Likewise.
13084 [UNIX98] (pthread_spin_lock): Likewise.
13085 [UNIX98] (pthread_spin_trylock): Likewise.
13086 [UNIX98] (pthread_spin_unlock): Likewise.
13087 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
13088 Do not expect.
13089 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
13090 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
13091 [XPG3 || XPG4] (pthread_cond_t): Likewise.
13092 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
13093 [XPG3 || XPG4] (pthread_key_t): Likewise.
13094 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
13095 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
13096 [XPG3 || XPG4] (pthread_once_t): Likewise.
13097 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
13098 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
13099 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
13100 [XPG3 || XPG4] (pthread_t): Likewise.
13101
cbe6e120
JM
13102 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
13103 not expect.
13104 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
13105
1b126443
JM
13106 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
13107 Change function return type to int.
13108
b961a573
JM
13109 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
13110 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
13111 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
13112 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
13113 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
13114 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
13115 [!POSIX] (posix_madvise): Likewise.
13116 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
13117 && !UNIX98].
13118 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
13119 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
13120 (mode_t): Likewise.
13121 (posix_mem_offset): Likewise.
13122 (posix_typed_mem_get_info): Likewise.
13123 (posix_typed_mem_open): Likewise.
13124
9e188909
JM
13125 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
13126 Change condition to [XOPEN2K8].
13127
05bcf62a
JM
13128 * conform/conformtest.pl: Preprocess allow-header data with -x c
13129 instead of from stdin.
13130 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
13131 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
13132 [C99-based standards] (cerfc): Likewise.
13133 [C99-based standards] (cexp2): Likewise.
13134 [C99-based standards] (cexpm1): Likewise.
13135 [C99-based standards] (clog10): Likewise.
13136 [C99-based standards] (clog1p): Likewise.
13137 [C99-based standards] (clog2): Likewise.
13138 [C99-based standards] (clgamma): Likewise.
13139 [C99-based standards] (ctgamma): Likewise.
13140 [C99-based standards] (cerff): Likewise.
13141 [C99-based standards] (cerfcf): Likewise.
13142 [C99-based standards] (cexp2f): Likewise.
13143 [C99-based standards] (cexpm1f): Likewise.
13144 [C99-based standards] (clog10f): Likewise.
13145 [C99-based standards] (clog1pf): Likewise.
13146 [C99-based standards] (clog2f): Likewise.
13147 [C99-based standards] (clgammaf): Likewise.
13148 [C99-based standards] (ctgammaf): Likewise.
13149 [C99-based standards] (cerfl): Likewise.
13150 [C99-based standards] (cerfcl): Likewise.
13151 [C99-based standards] (cexp2l): Likewise.
13152 [C99-based standards] (cexpm1l): Likewise.
13153 [C99-based standards] (clog10l): Likewise.
13154 [C99-based standards] (clog1pl): Likewise.
13155 [C99-based standards] (clog2l): Likewise.
13156 [C99-based standards] (clgammal): Likewise.
13157 [C99-based standards] (ctgammal): Likewise.
13158 * conform/data/inttypes.h-data [C99-based standards]: Include
13159 stdint.h-data. Remove all expectations for stdint.h contents.
13160 [C99-based standards] (PRI*): Do not allow.
13161 [C99-based standards] (SCN*): Likewise.
13162 [C99-based standards] (*_t): Likewise.
13163 [C99-based-standards] (PRId8): Expect macro.
13164 [C99-based-standards] (PRIi8): Likewise.
13165 [C99-based-standards] (PRIo8): Likewise.
13166 [C99-based-standards] (PRIu8): Likewise.
13167 [C99-based-standards] (PRIx8): Likewise.
13168 [C99-based-standards] (PRIX8): Likewise.
13169 [C99-based-standards] (SCNd8): Likewise.
13170 [C99-based-standards] (SCNi8): Likewise.
13171 [C99-based-standards] (SCNo8): Likewise.
13172 [C99-based-standards] (SCNu8): Likewise.
13173 [C99-based-standards] (SCNx8): Likewise.
13174 [C99-based-standards] (PRIdLEAST8): Likewise.
13175 [C99-based-standards] (PRIiLEAST8): Likewise.
13176 [C99-based-standards] (PRIoLEAST8): Likewise.
13177 [C99-based-standards] (PRIuLEAST8): Likewise.
13178 [C99-based-standards] (PRIxLEAST8): Likewise.
13179 [C99-based-standards] (PRIXLEAST8): Likewise.
13180 [C99-based-standards] (SCNdLEAST8): Likewise.
13181 [C99-based-standards] (SCNiLEAST8): Likewise.
13182 [C99-based-standards] (SCNoLEAST8): Likewise.
13183 [C99-based-standards] (SCNuLEAST8): Likewise.
13184 [C99-based-standards] (SCNxLEAST8): Likewise.
13185 [C99-based-standards] (PRIdFAST8): Likewise.
13186 [C99-based-standards] (PRIiFAST8): Likewise.
13187 [C99-based-standards] (PRIoFAST8): Likewise.
13188 [C99-based-standards] (PRIuFAST8): Likewise.
13189 [C99-based-standards] (PRIxFAST8): Likewise.
13190 [C99-based-standards] (PRIXFAST8): Likewise.
13191 [C99-based-standards] (SCNdFAST8): Likewise.
13192 [C99-based-standards] (SCNiFAST8): Likewise.
13193 [C99-based-standards] (SCNoFAST8): Likewise.
13194 [C99-based-standards] (SCNuFAST8): Likewise.
13195 [C99-based-standards] (SCNxFAST8): Likewise.
13196 [C99-based-standards] (PRId16): Likewise.
13197 [C99-based-standards] (PRIi16): Likewise.
13198 [C99-based-standards] (PRIo16): Likewise.
13199 [C99-based-standards] (PRIu16): Likewise.
13200 [C99-based-standards] (PRIx16): Likewise.
13201 [C99-based-standards] (PRIX16): Likewise.
13202 [C99-based-standards] (SCNd16): Likewise.
13203 [C99-based-standards] (SCNi16): Likewise.
13204 [C99-based-standards] (SCNo16): Likewise.
13205 [C99-based-standards] (SCNu16): Likewise.
13206 [C99-based-standards] (SCNx16): Likewise.
13207 [C99-based-standards] (PRIdLEAST16): Likewise.
13208 [C99-based-standards] (PRIiLEAST16): Likewise.
13209 [C99-based-standards] (PRIoLEAST16): Likewise.
13210 [C99-based-standards] (PRIuLEAST16): Likewise.
13211 [C99-based-standards] (PRIxLEAST16): Likewise.
13212 [C99-based-standards] (PRIXLEAST16): Likewise.
13213 [C99-based-standards] (SCNdLEAST16): Likewise.
13214 [C99-based-standards] (SCNiLEAST16): Likewise.
13215 [C99-based-standards] (SCNoLEAST16): Likewise.
13216 [C99-based-standards] (SCNuLEAST16): Likewise.
13217 [C99-based-standards] (SCNxLEAST16): Likewise.
13218 [C99-based-standards] (PRIdFAST16): Likewise.
13219 [C99-based-standards] (PRIiFAST16): Likewise.
13220 [C99-based-standards] (PRIoFAST16): Likewise.
13221 [C99-based-standards] (PRIuFAST16): Likewise.
13222 [C99-based-standards] (PRIxFAST16): Likewise.
13223 [C99-based-standards] (PRIXFAST16): Likewise.
13224 [C99-based-standards] (SCNdFAST16): Likewise.
13225 [C99-based-standards] (SCNiFAST16): Likewise.
13226 [C99-based-standards] (SCNoFAST16): Likewise.
13227 [C99-based-standards] (SCNuFAST16): Likewise.
13228 [C99-based-standards] (SCNxFAST16): Likewise.
13229 [C99-based-standards] (PRId32): Likewise.
13230 [C99-based-standards] (PRIi32): Likewise.
13231 [C99-based-standards] (PRIo32): Likewise.
13232 [C99-based-standards] (PRIu32): Likewise.
13233 [C99-based-standards] (PRIx32): Likewise.
13234 [C99-based-standards] (PRIX32): Likewise.
13235 [C99-based-standards] (SCNd32): Likewise.
13236 [C99-based-standards] (SCNi32): Likewise.
13237 [C99-based-standards] (SCNo32): Likewise.
13238 [C99-based-standards] (SCNu32): Likewise.
13239 [C99-based-standards] (SCNx32): Likewise.
13240 [C99-based-standards] (PRIdLEAST32): Likewise.
13241 [C99-based-standards] (PRIiLEAST32): Likewise.
13242 [C99-based-standards] (PRIoLEAST32): Likewise.
13243 [C99-based-standards] (PRIuLEAST32): Likewise.
13244 [C99-based-standards] (PRIxLEAST32): Likewise.
13245 [C99-based-standards] (PRIXLEAST32): Likewise.
13246 [C99-based-standards] (SCNdLEAST32): Likewise.
13247 [C99-based-standards] (SCNiLEAST32): Likewise.
13248 [C99-based-standards] (SCNoLEAST32): Likewise.
13249 [C99-based-standards] (SCNuLEAST32): Likewise.
13250 [C99-based-standards] (SCNxLEAST32): Likewise.
13251 [C99-based-standards] (PRIdFAST32): Likewise.
13252 [C99-based-standards] (PRIiFAST32): Likewise.
13253 [C99-based-standards] (PRIoFAST32): Likewise.
13254 [C99-based-standards] (PRIuFAST32): Likewise.
13255 [C99-based-standards] (PRIxFAST32): Likewise.
13256 [C99-based-standards] (PRIXFAST32): Likewise.
13257 [C99-based-standards] (SCNdFAST32): Likewise.
13258 [C99-based-standards] (SCNiFAST32): Likewise.
13259 [C99-based-standards] (SCNoFAST32): Likewise.
13260 [C99-based-standards] (SCNuFAST32): Likewise.
13261 [C99-based-standards] (SCNxFAST32): Likewise.
13262 [C99-based-standards] (PRId64): Likewise.
13263 [C99-based-standards] (PRIi64): Likewise.
13264 [C99-based-standards] (PRIo64): Likewise.
13265 [C99-based-standards] (PRIu64): Likewise.
13266 [C99-based-standards] (PRIx64): Likewise.
13267 [C99-based-standards] (PRIX64): Likewise.
13268 [C99-based-standards] (SCNd64): Likewise.
13269 [C99-based-standards] (SCNi64): Likewise.
13270 [C99-based-standards] (SCNo64): Likewise.
13271 [C99-based-standards] (SCNu64): Likewise.
13272 [C99-based-standards] (SCNx64): Likewise.
13273 [C99-based-standards] (PRIdLEAST64): Likewise.
13274 [C99-based-standards] (PRIiLEAST64): Likewise.
13275 [C99-based-standards] (PRIoLEAST64): Likewise.
13276 [C99-based-standards] (PRIuLEAST64): Likewise.
13277 [C99-based-standards] (PRIxLEAST64): Likewise.
13278 [C99-based-standards] (PRIXLEAST64): Likewise.
13279 [C99-based-standards] (SCNdLEAST64): Likewise.
13280 [C99-based-standards] (SCNiLEAST64): Likewise.
13281 [C99-based-standards] (SCNoLEAST64): Likewise.
13282 [C99-based-standards] (SCNuLEAST64): Likewise.
13283 [C99-based-standards] (SCNxLEAST64): Likewise.
13284 [C99-based-standards] (PRIdFAST64): Likewise.
13285 [C99-based-standards] (PRIiFAST64): Likewise.
13286 [C99-based-standards] (PRIoFAST64): Likewise.
13287 [C99-based-standards] (PRIuFAST64): Likewise.
13288 [C99-based-standards] (PRIxFAST64): Likewise.
13289 [C99-based-standards] (PRIXFAST64): Likewise.
13290 [C99-based-standards] (SCNdFAST64): Likewise.
13291 [C99-based-standards] (SCNiFAST64): Likewise.
13292 [C99-based-standards] (SCNoFAST64): Likewise.
13293 [C99-based-standards] (SCNuFAST64): Likewise.
13294 [C99-based-standards] (SCNxFAST64): Likewise.
13295 [C99-based-standards] (PRIdMAX): Likewise.
13296 [C99-based-standards] (PRIiMAX): Likewise.
13297 [C99-based-standards] (PRIoMAX): Likewise.
13298 [C99-based-standards] (PRIuMAX): Likewise.
13299 [C99-based-standards] (PRIxMAX): Likewise.
13300 [C99-based-standards] (PRIXMAX): Likewise.
13301 [C99-based-standards] (SCNdMAX): Likewise.
13302 [C99-based-standards] (SCNiMAX): Likewise.
13303 [C99-based-standards] (SCNoMAX): Likewise.
13304 [C99-based-standards] (SCNuMAX): Likewise.
13305 [C99-based-standards] (SCNxMAX): Likewise.
13306 [C99-based-standards] (PRIdPTR): Likewise.
13307 [C99-based-standards] (PRIiPTR): Likewise.
13308 [C99-based-standards] (PRIoPTR): Likewise.
13309 [C99-based-standards] (PRIuPTR): Likewise.
13310 [C99-based-standards] (PRIxPTR): Likewise.
13311 [C99-based-standards] (PRIXPTR): Likewise.
13312 [C99-based-standards] (SCNdPTR): Likewise.
13313 [C99-based-standards] (SCNiPTR): Likewise.
13314 [C99-based-standards] (SCNoPTR): Likewise.
13315 [C99-based-standards] (SCNuPTR): Likewise.
13316 [C99-based-standards] (SCNxPTR): Likewise.
13317 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
13318 allow.
13319 * conform/data/stdint.h-data: Update comments to clarify
13320 requirements.
13321 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
13322 type.
13323 [C99-based standards] (INT8_MAX): Likewise.
13324 [C99-based standards] (INT16_MIN): Likewise.
13325 [C99-based standards] (INT16_MAX): Likewise.
13326 [C99-based standards] (INT32_MIN): Likewise.
13327 [C99-based standards] (INT32_MAX): Likewise.
13328 [C99-based standards] (INT64_MIN): Likewise.
13329 [C99-based standards] (INT64_MAX): Likewise.
13330 [C99-based standards] (UINT8_MAX): Likewise.
13331 [C99-based standards] (UINT16_MAX): Likewise.
13332 [C99-based standards] (UINT32_MAX): Likewise.
13333 [C99-based standards] (UINT64_MAX): Likewise.
13334 [C99-based standards] (INT_LEAST8_MIN): Likewise.
13335 [C99-based standards] (INT_LEAST8_MAX): Likewise.
13336 [C99-based standards] (INT_LEAST16_MIN): Likewise.
13337 [C99-based standards] (INT_LEAST16_MAX): Likewise.
13338 [C99-based standards] (INT_LEAST32_MIN): Likewise.
13339 [C99-based standards] (INT_LEAST32_MAX): Likewise.
13340 [C99-based standards] (INT_LEAST64_MIN): Likewise.
13341 [C99-based standards] (INT_LEAST64_MAX): Likewise.
13342 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
13343 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
13344 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
13345 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
13346 [C99-based standards] (INT_FAST8_MIN): Likewise.
13347 [C99-based standards] (INT_FAST8_MAX): Likewise.
13348 [C99-based standards] (INT_FAST16_MIN): Likewise.
13349 [C99-based standards] (INT_FAST16_MAX): Likewise.
13350 [C99-based standards] (INT_FAST32_MIN): Likewise.
13351 [C99-based standards] (INT_FAST32_MAX): Likewise.
13352 [C99-based standards] (INT_FAST64_MIN): Likewise.
13353 [C99-based standards] (INT_FAST64_MAX): Likewise.
13354 [C99-based standards] (UINT_FAST8_MAX): Likewise.
13355 [C99-based standards] (UINT_FAST16_MAX): Likewise.
13356 [C99-based standards] (UINT_FAST32_MAX): Likewise.
13357 [C99-based standards] (UINT_FAST64_MAX): Likewise.
13358 [C99-based standards] (INTPTR_MIN): Likewise.
13359 [C99-based standards] (INTPTR_MAX): Likewise.
13360 [C99-based standards] (UINTPTR_MAX): Likewise.
13361 [C99-based standards] (INTMAX_MIN): Likewise.
13362 [C99-based standards] (INTMAX_MAX): Likewise.
13363 [C99-based standards] (UINTMAX_MAX): Likewise.
13364 [C99-based standards] (PTRDIFF_MIN): Likewise.
13365 [C99-based standards] (PTRDIFF_MAX): Likewise.
13366 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
13367 [C99-based standards] (SIZE_MAX): Likewise.
13368 [C99-based standards] (WCHAR_MAX): Likewise.
13369 [C99-based standards] (WINT_MAX): Likewise.
13370 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
13371 constraint on value.
13372 [C99-based standards] (WCHAR_MIN): Likewise.
13373 [C99-based standards] (WINT_MIN): Likewise.
13374 [C99-based standards] (*_t): Allow.
13375 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
13376 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
13377 Include math.h-data and complex.h-data. Remove all expectations
13378 of math.h and complex.h contents.
13379 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
13380 at end of line.
13381 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
13382 (struct tm): Expect tag.
13383 [C99-based-standards] (wcstof): Expect function.
13384 [C99-based-standards] (wcstold): Likewise.
13385 [C99-based-standards] (wcstoll): Likewise.
13386 [C99-based-standards] (wcstoull): Likewise.
13387 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
13388 macro-int-constant. Specify type.
13389 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
13390 constraint on value.
13391 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13392 Specify type.
13393 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
13394 Specify value.
13395 [ISO C standards]: Do not allow headers.
13396 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
13397 wcs[abcdefghijklmnopqrstuvwxyz]*.
13398 [ISO C standards] (*_t): Do not allow.
13399 * conform/data/wctype.h-data [C99-based standards] (iswblank):
13400 Expect function.
13401 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
13402 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13403 Specify type.
13404 [ISO C standards]: Do not allow headers.
13405 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
13406 is[abcdefghijklmnopqrstuvwxyz]*.
13407 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
13408 to[abcdefghijklmnopqrstuvwxyz]*.
13409 [ISO C standards] (*_t): Do not allow.
13410 * conform/data/stdalign.h-data: New file.
13411 * conform/data/stdbool.h-data: Likewise.
13412 * conform/data/stdnoreturn.h-data: Likewise.
13413
7514feb8
RM
134142012-11-07 Roland McGrath <roland@hack.frob.com>
13415
13416 [BZ #14815]
13417 * manual/filesys.texi (Directory Entries): Typo fix.
13418 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
13419
19b2ecfc
MS
134202012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13421
13422 * elf/elf.h (EM_AARCH64): New macro.
13423 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
13424 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
13425 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
13426 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
13427 (R_AARCH64_TLSDESC): Likewise.
13428 (NT_ARM_TLS): Likewise.
13429 (NT_ARM_HW_BREAK): Likewise.
13430 (NT_ARM_HW_WATCH): Likewise.
13431
60e235ee
JM
134322012-11-07 Joseph Myers <joseph@codesourcery.com>
13433
13434 [BZ #14811]
13435 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
13436 (__ieee754_powl): Saturate nonzero exponents with absolute value
13437 below 0x1p-79 to +/- 0x1p-79.
13438 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
13439 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
13440 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
13441 nonzero exponents with absolute value below 0x1p-32 to +/-
13442 0x1p-32.
13443 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
13444 (__ieee754_powl): Saturate nonzero exponents with absolute value
13445 below 0x1p-79 to +/- 0x1p-79.
13446 * math/libm-test.inc (pow_test): Add more tests.
13447
0ab234b7
AK
134482012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13449
13450 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
13451 _dl_s390_cap_flags with kernel. Increase string length.
13452 (_dl_s390_platforms): Add z196 and zEC12.
13453
45832f74
JM
134542012-11-07 Joseph Myers <joseph@codesourcery.com>
13455
13456 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
13457 Change XOPEN21K to XOPEN2K.
13458
19218757
MK
134592012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
13460
13461 * string/memmove.c: Use memcpy when possible.
13462
c5f45721
AJ
134632012-11-06 Andreas Jaeger <aj@suse.de>
13464
13465 * po/eo.po: Update from translation team.
13466
82477c28
JM
134672012-11-06 Joseph Myers <joseph@codesourcery.com>
13468
13469 [BZ #14793]
13470 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
13471 exponent and small x and y exponents, scale x or y up. Increase
13472 by 2 the exponent used in scaling up.
13473 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13474 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13475 * math/libm-test.inc (fma_test): Add more tests.
13476 (fma_test_towardzero): Likewise.
13477 (fma_test_downward): Likewise.
13478 (fma_test_upward): Likewise.
13479
99252c8c
JM
134802012-11-05 Joseph Myers <joseph@codesourcery.com>
13481
acfa885f
JM
13482 [BZ #14805]
13483 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
13484 fenv_t *.
13485
99252c8c
JM
13486 [BZ #14801]
13487 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
13488 namespace for names of struct fields.
13489 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
13490 fenv_t fields.
13491 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
13492 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
13493
d6d98dea
ST
134942012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13495
13496 [BZ #3665]
13497 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
13498
e10bb107
TS
134992012-11-04 Thomas Schwinge <thomas@codesourcery.com>
13500
13501 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
13502 PTR_DEMANGLE.
13503
13504 [BZ #5246]
13505 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
13506 PTR_DEMANGLE.
13507
a0c2940d
JM
135082012-11-04 Joseph Myers <joseph@codesourcery.com>
13509
13510 [BZ #14797]
13511 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
13512 definitely overflow as x * y not x * y + z.
13513 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13514 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13515 * math/libm-test.inc (fma_test): Add more tests.
13516 (fma_test_towardzero): Likewise.
13517 (fma_test_downward): Likewise.
13518 (fma_test_upward): Likewise.
13519
b830319d
TS
135202012-11-04 Thomas Schwinge <thomas@codesourcery.com>
13521
13522 [BZ #157]
13523
13524 * include/stub-tag.h: Remove file.
13525 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
13526 '#include' of it.
13527 * manual/maint.texi (Porting): Don't reference it.
13528 * Makerules ($(objpfx)stubs): Likewise.
13529 * dirent/closedir.c: Don't include <stub-tag.h>.
13530 * dirent/dirfd.c: Likewise.
13531 * dirent/fdopendir.c: Likewise.
13532 * dirent/getdents.c: Likewise.
13533 * dirent/getdents64.c: Likewise.
13534 * dirent/opendir.c: Likewise.
13535 * dirent/readdir.c: Likewise.
13536 * dirent/readdir64.c: Likewise.
13537 * dirent/readdir64_r.c: Likewise.
13538 * dirent/readdir_r.c: Likewise.
13539 * dirent/rewinddir.c: Likewise.
13540 * dirent/seekdir.c: Likewise.
13541 * dirent/telldir.c: Likewise.
13542 * gmon/profil.c: Likewise.
13543 * grp/setgroups.c: Likewise.
13544 * inet/if_index.c: Likewise.
13545 * io/access.c: Likewise.
13546 * io/chdir.c: Likewise.
13547 * io/chmod.c: Likewise.
13548 * io/chown.c: Likewise.
13549 * io/close.c: Likewise.
13550 * io/dup.c: Likewise.
13551 * io/dup2.c: Likewise.
13552 * io/dup3.c: Likewise.
13553 * io/euidaccess.c: Likewise.
13554 * io/faccessat.c: Likewise.
13555 * io/fchdir.c: Likewise.
13556 * io/fchmod.c: Likewise.
13557 * io/fchmodat.c: Likewise.
13558 * io/fchown.c: Likewise.
13559 * io/fchownat.c: Likewise.
13560 * io/fcntl.c: Likewise.
13561 * io/flock.c: Likewise.
13562 * io/fstatfs.c: Likewise.
13563 * io/fstatfs64.c: Likewise.
13564 * io/fstatvfs.c: Likewise.
13565 * io/fstatvfs64.c: Likewise.
13566 * io/futimens.c: Likewise.
13567 * io/fxstat.c: Likewise.
13568 * io/fxstat64.c: Likewise.
13569 * io/fxstatat.c: Likewise.
13570 * io/fxstatat64.c: Likewise.
13571 * io/getcwd.c: Likewise.
13572 * io/isatty.c: Likewise.
13573 * io/lchmod.c: Likewise.
13574 * io/lchown.c: Likewise.
13575 * io/link.c: Likewise.
13576 * io/linkat.c: Likewise.
13577 * io/lseek.c: Likewise.
13578 * io/lseek64.c: Likewise.
13579 * io/lxstat64.c: Likewise.
13580 * io/mkdir.c: Likewise.
13581 * io/mkdirat.c: Likewise.
13582 * io/mkfifo.c: Likewise.
13583 * io/mkfifoat.c: Likewise.
13584 * io/open.c: Likewise.
13585 * io/open64.c: Likewise.
13586 * io/openat.c: Likewise.
13587 * io/openat64.c: Likewise.
13588 * io/pipe.c: Likewise.
13589 * io/pipe2.c: Likewise.
13590 * io/poll.c: Likewise.
13591 * io/posix_fadvise.c: Likewise.
13592 * io/posix_fadvise64.c: Likewise.
13593 * io/posix_fallocate.c: Likewise.
13594 * io/posix_fallocate64.c: Likewise.
13595 * io/read.c: Likewise.
13596 * io/readlink.c: Likewise.
13597 * io/readlinkat.c: Likewise.
13598 * io/rmdir.c: Likewise.
13599 * io/sendfile.c: Likewise.
13600 * io/sendfile64.c: Likewise.
13601 * io/statfs.c: Likewise.
13602 * io/statfs64.c: Likewise.
13603 * io/statvfs.c: Likewise.
13604 * io/statvfs64.c: Likewise.
13605 * io/symlink.c: Likewise.
13606 * io/symlinkat.c: Likewise.
13607 * io/ttyname.c: Likewise.
13608 * io/ttyname_r.c: Likewise.
13609 * io/umask.c: Likewise.
13610 * io/unlink.c: Likewise.
13611 * io/unlinkat.c: Likewise.
13612 * io/utime.c: Likewise.
13613 * io/utimensat.c: Likewise.
13614 * io/write.c: Likewise.
13615 * io/xmknod.c: Likewise.
13616 * io/xmknodat.c: Likewise.
13617 * io/xstat.c: Likewise.
13618 * io/xstat64.c: Likewise.
13619 * login/getpt.c: Likewise.
13620 * login/grantpt.c: Likewise.
13621 * login/unlockpt.c: Likewise.
13622 * math/e_acoshl.c: Likewise.
13623 * math/e_acosl.c: Likewise.
13624 * math/e_asinl.c: Likewise.
13625 * math/e_atan2l.c: Likewise.
13626 * math/e_atanhl.c: Likewise.
13627 * math/e_coshl.c: Likewise.
13628 * math/e_expl.c: Likewise.
13629 * math/e_fmodl.c: Likewise.
13630 * math/e_gammal_r.c: Likewise.
13631 * math/e_hypotl.c: Likewise.
13632 * math/e_j0l.c: Likewise.
13633 * math/e_j1l.c: Likewise.
13634 * math/e_jnl.c: Likewise.
13635 * math/e_lgammal_r.c: Likewise.
13636 * math/e_log10l.c: Likewise.
13637 * math/e_log2l.c: Likewise.
13638 * math/e_logl.c: Likewise.
13639 * math/e_powl.c: Likewise.
13640 * math/e_rem_pio2l.c: Likewise.
13641 * math/e_sinhl.c: Likewise.
13642 * math/e_sqrtl.c: Likewise.
13643 * math/fclrexcpt.c: Likewise.
13644 * math/fedisblxcpt.c: Likewise.
13645 * math/feenablxcpt.c: Likewise.
13646 * math/fegetenv.c: Likewise.
13647 * math/fegetexcept.c: Likewise.
13648 * math/fegetround.c: Likewise.
13649 * math/feholdexcpt.c: Likewise.
13650 * math/fesetenv.c: Likewise.
13651 * math/fesetround.c: Likewise.
13652 * math/feupdateenv.c: Likewise.
13653 * math/fgetexcptflg.c: Likewise.
13654 * math/fraiseexcpt.c: Likewise.
13655 * math/fsetexcptflg.c: Likewise.
13656 * math/ftestexcept.c: Likewise.
13657 * math/k_cosl.c: Likewise.
13658 * math/k_rem_pio2l.c: Likewise.
13659 * math/k_sinl.c: Likewise.
13660 * math/k_tanl.c: Likewise.
13661 * math/s_asinhl.c: Likewise.
13662 * math/s_atanl.c: Likewise.
13663 * math/s_cbrtl.c: Likewise.
13664 * math/s_erfl.c: Likewise.
13665 * math/s_expm1l.c: Likewise.
13666 * math/s_log1pl.c: Likewise.
13667 * math/s_tanhl.c: Likewise.
13668 * misc/acct.c: Likewise.
13669 * misc/brk.c: Likewise.
13670 * misc/chflags.c: Likewise.
13671 * misc/chroot.c: Likewise.
13672 * misc/fchflags.c: Likewise.
13673 * misc/fgetxattr.c: Likewise.
13674 * misc/flistxattr.c: Likewise.
13675 * misc/fremovexattr.c: Likewise.
13676 * misc/fsetxattr.c: Likewise.
13677 * misc/fsync.c: Likewise.
13678 * misc/ftruncate.c: Likewise.
13679 * misc/futimes.c: Likewise.
13680 * misc/futimesat.c: Likewise.
13681 * misc/getdomain.c: Likewise.
13682 * misc/getdtsz.c: Likewise.
13683 * misc/gethostid.c: Likewise.
13684 * misc/gethostname.c: Likewise.
13685 * misc/getloadavg.c: Likewise.
13686 * misc/getpagesize.c: Likewise.
13687 * misc/getsysstats.c: Likewise.
13688 * misc/getxattr.c: Likewise.
13689 * misc/gtty.c: Likewise.
13690 * misc/ioctl.c: Likewise.
13691 * misc/lgetxattr.c: Likewise.
13692 * misc/listxattr.c: Likewise.
13693 * misc/llistxattr.c: Likewise.
13694 * misc/lremovexattr.c: Likewise.
13695 * misc/lsetxattr.c: Likewise.
13696 * misc/lutimes.c: Likewise.
13697 * misc/madvise.c: Likewise.
13698 * misc/mincore.c: Likewise.
13699 * misc/mlock.c: Likewise.
13700 * misc/mlockall.c: Likewise.
13701 * misc/mmap.c: Likewise.
13702 * misc/mprotect.c: Likewise.
13703 * misc/msync.c: Likewise.
13704 * misc/munlock.c: Likewise.
13705 * misc/munlockall.c: Likewise.
13706 * misc/munmap.c: Likewise.
13707 * misc/preadv.c: Likewise.
13708 * misc/preadv64.c: Likewise.
13709 * misc/ptrace.c: Likewise.
13710 * misc/pwritev.c: Likewise.
13711 * misc/pwritev64.c: Likewise.
13712 * misc/readv.c: Likewise.
13713 * misc/reboot.c: Likewise.
13714 * misc/remap_file_pages.c: Likewise.
13715 * misc/removexattr.c: Likewise.
13716 * misc/revoke.c: Likewise.
13717 * misc/select.c: Likewise.
13718 * misc/setdomain.c: Likewise.
13719 * misc/setegid.c: Likewise.
13720 * misc/seteuid.c: Likewise.
13721 * misc/sethostid.c: Likewise.
13722 * misc/sethostname.c: Likewise.
13723 * misc/setregid.c: Likewise.
13724 * misc/setreuid.c: Likewise.
13725 * misc/setxattr.c: Likewise.
13726 * misc/sstk.c: Likewise.
13727 * misc/stty.c: Likewise.
13728 * misc/swapoff.c: Likewise.
13729 * misc/swapon.c: Likewise.
13730 * misc/sync.c: Likewise.
13731 * misc/syncfs.c: Likewise.
13732 * misc/syscall.c: Likewise.
13733 * misc/truncate.c: Likewise.
13734 * misc/ualarm.c: Likewise.
13735 * misc/usleep.c: Likewise.
13736 * misc/ustat.c: Likewise.
13737 * misc/utimes.c: Likewise.
13738 * misc/vhangup.c: Likewise.
13739 * misc/writev.c: Likewise.
13740 * posix/_exit.c: Likewise.
13741 * posix/alarm.c: Likewise.
13742 * posix/execve.c: Likewise.
13743 * posix/fexecve.c: Likewise.
13744 * posix/fork.c: Likewise.
13745 * posix/fpathconf.c: Likewise.
13746 * posix/getaddrinfo.c: Likewise.
13747 * posix/getegid.c: Likewise.
13748 * posix/geteuid.c: Likewise.
13749 * posix/getgid.c: Likewise.
13750 * posix/getgroups.c: Likewise.
13751 * posix/getlogin.c: Likewise.
13752 * posix/getlogin_r.c: Likewise.
13753 * posix/getpgid.c: Likewise.
13754 * posix/getpid.c: Likewise.
13755 * posix/getppid.c: Likewise.
13756 * posix/getresgid.c: Likewise.
13757 * posix/getresuid.c: Likewise.
13758 * posix/getsid.c: Likewise.
13759 * posix/getuid.c: Likewise.
13760 * posix/glob64.c: Likewise.
13761 * posix/nanosleep.c: Likewise.
13762 * posix/pathconf.c: Likewise.
13763 * posix/pause.c: Likewise.
13764 * posix/posix_madvise.c: Likewise.
13765 * posix/pread.c: Likewise.
13766 * posix/pread64.c: Likewise.
13767 * posix/pwrite.c: Likewise.
13768 * posix/pwrite64.c: Likewise.
13769 * posix/sched_getaffinity.c: Likewise.
13770 * posix/sched_getp.c: Likewise.
13771 * posix/sched_gets.c: Likewise.
13772 * posix/sched_primax.c: Likewise.
13773 * posix/sched_primin.c: Likewise.
13774 * posix/sched_rr_gi.c: Likewise.
13775 * posix/sched_setaffinity.c: Likewise.
13776 * posix/sched_setp.c: Likewise.
13777 * posix/sched_sets.c: Likewise.
13778 * posix/sched_yield.c: Likewise.
13779 * posix/setgid.c: Likewise.
13780 * posix/setlogin.c: Likewise.
13781 * posix/setpgid.c: Likewise.
13782 * posix/setresgid.c: Likewise.
13783 * posix/setresuid.c: Likewise.
13784 * posix/setsid.c: Likewise.
13785 * posix/setuid.c: Likewise.
13786 * posix/sleep.c: Likewise.
13787 * posix/spawni.c: Likewise.
13788 * posix/sysconf.c: Likewise.
13789 * posix/times.c: Likewise.
13790 * posix/wait.c: Likewise.
13791 * posix/wait3.c: Likewise.
13792 * posix/wait4.c: Likewise.
13793 * posix/waitpid.c: Likewise.
13794 * resolv/gai_sigqueue.c: Likewise.
13795 * resource/getpriority.c: Likewise.
13796 * resource/getrlimit.c: Likewise.
13797 * resource/getrusage.c: Likewise.
13798 * resource/nice.c: Likewise.
13799 * resource/setpriority.c: Likewise.
13800 * resource/setrlimit.c: Likewise.
13801 * resource/ulimit.c: Likewise.
13802 * rt/aio_cancel.c: Likewise.
13803 * rt/aio_fsync.c: Likewise.
13804 * rt/aio_read.c: Likewise.
13805 * rt/aio_sigqueue.c: Likewise.
13806 * rt/aio_suspend.c: Likewise.
13807 * rt/aio_write.c: Likewise.
13808 * rt/clock_getres.c: Likewise.
13809 * rt/clock_gettime.c: Likewise.
13810 * rt/clock_nanosleep.c: Likewise.
13811 * rt/clock_settime.c: Likewise.
13812 * rt/lio_listio.c: Likewise.
13813 * rt/mq_close.c: Likewise.
13814 * rt/mq_getattr.c: Likewise.
13815 * rt/mq_notify.c: Likewise.
13816 * rt/mq_open.c: Likewise.
13817 * rt/mq_receive.c: Likewise.
13818 * rt/mq_send.c: Likewise.
13819 * rt/mq_setattr.c: Likewise.
13820 * rt/mq_timedreceive.c: Likewise.
13821 * rt/mq_timedsend.c: Likewise.
13822 * rt/mq_unlink.c: Likewise.
13823 * rt/shm_open.c: Likewise.
13824 * rt/shm_unlink.c: Likewise.
13825 * rt/timer_create.c: Likewise.
13826 * rt/timer_delete.c: Likewise.
13827 * rt/timer_getoverr.c: Likewise.
13828 * rt/timer_gettime.c: Likewise.
13829 * rt/timer_settime.c: Likewise.
13830 * setjmp/__longjmp.c: Likewise.
13831 * setjmp/setjmp.c: Likewise.
13832 * signal/kill.c: Likewise.
13833 * signal/killpg.c: Likewise.
13834 * signal/raise.c: Likewise.
13835 * signal/sigaction.c: Likewise.
13836 * signal/sigaltstack.c: Likewise.
13837 * signal/sigblock.c: Likewise.
13838 * signal/sigignore.c: Likewise.
13839 * signal/sigintr.c: Likewise.
13840 * signal/signal.c: Likewise.
13841 * signal/sigpause.c: Likewise.
13842 * signal/sigpending.c: Likewise.
13843 * signal/sigqueue.c: Likewise.
13844 * signal/sigreturn.c: Likewise.
13845 * signal/sigset.c: Likewise.
13846 * signal/sigsetmask.c: Likewise.
13847 * signal/sigstack.c: Likewise.
13848 * signal/sigsuspend.c: Likewise.
13849 * signal/sigtimedwait.c: Likewise.
13850 * signal/sigvec.c: Likewise.
13851 * signal/sigwait.c: Likewise.
13852 * signal/sigwaitinfo.c: Likewise.
13853 * signal/sysv_signal.c: Likewise.
13854 * socket/accept.c: Likewise.
13855 * socket/accept4.c: Likewise.
13856 * socket/bind.c: Likewise.
13857 * socket/connect.c: Likewise.
13858 * socket/getpeername.c: Likewise.
13859 * socket/getsockname.c: Likewise.
13860 * socket/getsockopt.c: Likewise.
13861 * socket/isfdtype.c: Likewise.
13862 * socket/listen.c: Likewise.
13863 * socket/recv.c: Likewise.
13864 * socket/recvfrom.c: Likewise.
13865 * socket/recvmsg.c: Likewise.
13866 * socket/send.c: Likewise.
13867 * socket/sendmsg.c: Likewise.
13868 * socket/sendto.c: Likewise.
13869 * socket/setsockopt.c: Likewise.
13870 * socket/shutdown.c: Likewise.
13871 * socket/sockatmark.c: Likewise.
13872 * socket/socket.c: Likewise.
13873 * socket/socketpair.c: Likewise.
13874 * stdio-common/ctermid.c: Likewise.
13875 * stdio-common/cuserid.c: Likewise.
13876 * stdio-common/remove.c: Likewise.
13877 * stdio-common/rename.c: Likewise.
13878 * stdio-common/renameat.c: Likewise.
13879 * stdio-common/tempname.c: Likewise.
13880 * stdlib/getcontext.c: Likewise.
13881 * stdlib/makecontext.c: Likewise.
13882 * stdlib/setcontext.c: Likewise.
13883 * stdlib/swapcontext.c: Likewise.
13884 * stdlib/system.c: Likewise.
13885 * streams/fattach.c: Likewise.
13886 * streams/fdetach.c: Likewise.
13887 * streams/getmsg.c: Likewise.
13888 * streams/getpmsg.c: Likewise.
13889 * streams/putmsg.c: Likewise.
13890 * streams/putpmsg.c: Likewise.
13891 * sysdeps/unix/bsd/getpt.c: Likewise.
13892 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
13893 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
13894 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13896 Likewise.
13897 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
13898 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13899 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
13900 * sysvipc/msgctl.c: Likewise.
13901 * sysvipc/msgget.c: Likewise.
13902 * sysvipc/msgrcv.c: Likewise.
13903 * sysvipc/msgsnd.c: Likewise.
13904 * sysvipc/semctl.c: Likewise.
13905 * sysvipc/semget.c: Likewise.
13906 * sysvipc/semop.c: Likewise.
13907 * sysvipc/semtimedop.c: Likewise.
13908 * sysvipc/shmat.c: Likewise.
13909 * sysvipc/shmctl.c: Likewise.
13910 * sysvipc/shmdt.c: Likewise.
13911 * sysvipc/shmget.c: Likewise.
13912 * termios/tcdrain.c: Likewise.
13913 * termios/tcflow.c: Likewise.
13914 * termios/tcflush.c: Likewise.
13915 * termios/tcgetattr.c: Likewise.
13916 * termios/tcgetpgrp.c: Likewise.
13917 * termios/tcsendbrk.c: Likewise.
13918 * termios/tcsetattr.c: Likewise.
13919 * termios/tcsetpgrp.c: Likewise.
13920 * time/adjtime.c: Likewise.
13921 * time/clock.c: Likewise.
13922 * time/getitimer.c: Likewise.
13923 * time/gettimeofday.c: Likewise.
13924 * time/setitimer.c: Likewise.
13925 * time/settimeofday.c: Likewise.
13926 * time/stime.c: Likewise.
13927 * time/time.c: Likewise.
13928
139292012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 13930
a20492cf
PT
13931 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
13932 /usr/old/bin.
13933
72e182e3
PT
13934 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
13935 instead of spaces.
13936 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
13937
fbeafede
JM
139382012-11-03 Joseph Myers <joseph@codesourcery.com>
13939
5b5b04d6
JM
13940 [BZ #14796]
13941 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
13942 FE_TONEAREST before applying Dekker multiplication and Knuth
13943 addition. Clear inexact exceptions and check for exact zero
13944 results afterwards.
13945 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13946 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13947 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13948 * math/libm-test.inc (fma_test): Add more tests.
13949 (fma_test_towardzero): Likewise.
13950 (fma_test_downward): Likewise.
13951 (fma_test_upward): Likewise.
13952 * sysdeps/generic/math_private.h (default_libc_fesetround): New
13953 function.
13954 (libc_fesetround): New macro.
13955 (libc_fesetroundf): Likewise.
13956 (libc_fesetroundl): Likewise.
13957 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
13958 function.
13959 (libc_fesetround_387): Likewise.
13960 (libc_fesetroundf): New macro.
13961 (libc_fesetround): Likewise.
13962 (libc_fesetroundl): Likewise.
13963 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
13964 function.
13965 (libc_fesetroundf): New macro.
13966 (libc_fesetround): Likewise.
13967 (libc_fesetroundl): Likewise.
13968 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
13969 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
13970 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
13971 libm_hidden_ver.
13972 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
13973 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
13974 libm_hidden_def.
13975 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
13976 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
13977 libm_hidden_ver.
13978 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
13979 libm_hidden_def.
13980
fbeafede
JM
13981 [BZ #3439]
13982 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
13983 integer constant usable in #if and use that to give value to enum
13984 constant.
13985 (FE_DIVBYZERO): Likewise.
13986 (FE_UNDERFLOW): Likewise.
13987 (FE_OVERFLOW): Likewise.
13988 (FE_INVALID): Likewise.
13989 (FE_INVALID_SNAN): Likewise.
13990 (FE_INVALID_ISI): Likewise.
13991 (FE_INVALID_IDI): Likewise.
13992 (FE_INVALID_ZDZ): Likewise.
13993 (FE_INVALID_IMZ): Likewise.
13994 (FE_INVALID_COMPARE): Likewise.
13995 (FE_INVALID_SOFTWARE): Likewise.
13996 (FE_INVALID_SQRT): Likewise.
13997 (FE_INVALID_INTEGER_CONVERSION): Likewise.
13998 (FE_TONEAREST): Likewise.
13999 (FE_TOWARDZERO): Likewise.
14000 (FE_UPWARD): Likewise.
14001 (FE_DOWNWARD): Likewise.
14002 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
14003 (FE_DIVBYZERO): Likewise.
14004 (FE_OVERFLOW): Likewise.
14005 (FE_UNDERFLOW): Likewise.
14006 (FE_INEXACT): Likewise.
14007 (FE_TONEAREST): Likewise.
14008 (FE_DOWNWARD): Likewise.
14009 (FE_UPWARD): Likewise.
14010 (FE_TOWARDZERO): Likewise.
14011 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
14012 (FE_UNDERFLOW): Likewise.
14013 (FE_OVERFLOW): Likewise.
14014 (FE_DIVBYZERO): Likewise.
14015 (FE_INVALID): Likewise.
14016 (FE_TONEAREST): Likewise.
14017 (FE_TOWARDZERO): Likewise.
14018 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
14019 (FE_OVERFLOW): Likewise.
14020 (FE_UNDERFLOW): Likewise.
14021 (FE_DIVBYZERO): Likewise.
14022 (FE_INEXACT): Likewise.
14023 (FE_TONEAREST): Likewise.
14024 (FE_TOWARDZERO): Likewise.
14025 (FE_UPWARD): Likewise.
14026 (FE_DOWNWARD): Likewise.
14027 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
14028 (FE_DIVBYZERO): Likewise.
14029 (FE_OVERFLOW): Likewise.
14030 (FE_UNDERFLOW): Likewise.
14031 (FE_INEXACT): Likewise.
14032 (FE_TONEAREST): Likewise.
14033 (FE_DOWNWARD): Likewise.
14034 (FE_UPWARD): Likewise.
14035 (FE_TOWARDZERO): Likewise.
14036
105ca950
CM
140372012-11-02 Chris Metcalf <cmetcalf@tilera.com>
14038
14039 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
14040
a542b389
AS
140412012-11-03 Andreas Schwab <schwab@linux-m68k.org>
14042
14043 * scripts/cross-test-ssh.sh (command): Use newlines to separate
14044 commands. Quote $PWD.
14045 (blacklist_exports): Don't use remove_newlines. Replace "declare
14046 -x" by "export".
14047 (remove_newlines): Remove.
14048
f62c8abc
L
140492012-11-02 H.J. Lu <hongjiu.lu@intel.com>
14050
14051 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
14052 * stdlib/stdlib.h (atof): Moved to ...
14053 * include/bits/stdlib-float.h: Here. New file.
14054 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
14055 * stdlib/bits/stdlib-float.h: New file.
14056 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
14057 -mno-sse -mno-mmx.
14058 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
14059 <xmmintrin.h>.
14060
0155d5b2
JM
140612012-11-02 Joseph Myers <joseph@codesourcery.com>
14062
a68d0680
JM
14063 * conform/conformtest.pl (@headers): Add fenv.h.
14064 * conform/data/fenv.h-data: New file.
14065 * include/fenv.h [_ISOMAC]: Disable all contents of file except
14066 include of <math/fenv.h>.
14067
caf7f573
JM
14068 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
14069 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
14070 && !UNIX98]. Enables tests for XOPEN2K8.
14071 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
14072 POSIX2008]: Likewise.
14073
6c073ad6
JM
14074 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
14075 (struct rusage): Do not expect type or its members.
14076
0155d5b2
JM
14077 [BZ #3439]
14078 * math/math.h (FP_NAN): Define macro to integer constant usable in
14079 #if and use that to give value to enum constant.
14080 (FP_INFINITE): Likewise.
14081 (FP_ZERO): Likewise.
14082 (FP_SUBNORMAL): Likewise.
14083 (FP_NORMAL): Likewise.
14084
b5dcacb4
AS
140852012-11-02 Andreas Schwab <schwab@linux-m68k.org>
14086
14087 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
14088 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
14089 arguments.
14090
f7934be8
RM
140912012-11-02 Roland McGrath <roland@hack.frob.com>
14092
14093 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
14094 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
14095 autoconf-time if not.
14096 * configure.in: Remove AC_PREREQ.
14097
d7d08bde
TMQMF
140982012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14099
14100 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
14101 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
14102 of the internal implementation.
14103
dcdae19a
JM
141042012-11-02 Joseph Myers <joseph@codesourcery.com>
14105
14106 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
14107 except include of <misc/sys/syslog.h>.
14108
d6cffd3e
AS
141092012-11-01 Andreas Schwab <schwab@linux-m68k.org>
14110
14111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
14112 function returns with a NULL context exit with zero.
14113
b3563932
TMQMF
141142012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14115
14116 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
14117
b288a93d
L
141182012-11-01 H.J. Lu <hongjiu.lu@intel.com>
14119
14120 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
14121 (run_program_cmd): This.
14122 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
14123 (tst_langinfo): New variable. Use it.
14124
a2421a68
SAS
141252012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
14126
14127 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
14128 floating point opcodes.
14129
6f796e1b
TS
141302012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14131
7402596b
TS
14132 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
14133 variable.
14134
d0d4f868
TS
14135 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
14136
6f796e1b
TS
14137 * sysdeps/mach/hurd/powerpc: Remove directory.
14138 * sysdeps/mach/powerpc: Likewise.
14139
4da224a2
AS
141402012-11-01 Andreas Schwab <schwab@linux-m68k.org>
14141
14142 * scripts/check-local-headers.sh: Ignore c++ headers.
14143
341dd673
TS
141442012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14145
14146 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
14147 __libc_cleanup_region_start argument.
14148
473611b2
JM
141492012-11-01 Joseph Myers <joseph@codesourcery.com>
14150
14151 [BZ #14784]
14152 [BZ #14785]
14153 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
14154 x * y using scaling, not as x * y + z.
14155 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14156 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14157 * math/libm-test.inc (fma_test): Add more tests.
14158 (fma_test_towardzero): Likewise.
14159 (fma_test_downward): Likewise.
14160 (fma_test_upward): Likewise.
14161
4078da3d
TS
141622012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14163
14164 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
14165
903252aa
JM
141662012-10-31 Joseph Myers <joseph@codesourcery.com>
14167
14168 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
14169 New variable.
14170
cbc818d0
TS
141712012-10-31 Thomas Schwinge <thomas@codesourcery.com>
14172
14173 * rt/tst-shm.c (worker): Correct checking for mmap failure.
14174
5a03cb1e
AS
141752012-10-31 Andreas Schwab <schwab@linux-m68k.org>
14176
14177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14178 Fix sort order.
14179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14180 Likewise.
14181
90aff2ff
TMQMF
141822012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14183
14184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14185 Fix the order of the list for glibc 2.17.
14186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14187 Likewise.
14188
1818fcb7
AS
141892012-10-31 Andreas Schwab <schwab@linux-m68k.org>
14190
14191 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14192
ef82f4da
JM
141932012-10-31 Joseph Myers <joseph@codesourcery.com>
14194
16a0e2ec
JM
14195 [BZ #14610]
14196 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
14197 for low part of x being zero before using __atanl (y).
14198 * math/libm-test.inc (atan2_test): Add another test.
14199
0eb69512
JM
14200 * manual/install.texi (Configuring and compiling): Document
14201 general use of test-wrapper and test-wrapper-env.
14202 * INSTALL: Regenerated.
14203
ef82f4da
JM
14204 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
14205 (__fma): Do not extract and scale down low bits on after-rounding
14206 systems when result rounded to normal precision would have normal
14207 exponent.
14208 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
14209 (__fmal): Do not extract and scale down low bits on after-rounding
14210 systems when result rounded to normal precision would have normal
14211 exponent.
14212 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
14213 (__fmal): Do not extract and scale down low bits on after-rounding
14214 systems when result rounded to normal precision would have normal
14215 exponent.
14216 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
14217 macro.
14218 (fma_test): Add more tests.
14219 (fma_test_towardzero): Likewise.
14220 (fma_test_downward): Likewise.
14221 (fma_test_upward): Likewise.
14222
954ef0d9
L
142232012-10-30 H.J. Lu <hongjiu.lu@intel.com>
14224
14225 * sysdeps/i386/tininess.h: Renamed to ...
14226 * sysdeps/x86/tininess.h: This.
14227 * sysdeps/x86_64/tininess.h: Removed.
14228
df61ffb2
JM
142292012-10-30 Joseph Myers <joseph@codesourcery.com>
14230
14231 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
14232 input. Use $(build-program-cmd).
14233 ($(objpfx)tst-array1-static.out): Likewise.
14234 ($(objpfx)tst-array2.out): Likewise.
14235 ($(objpfx)tst-array3.out): Likewise.
14236 ($(objpfx)tst-array4.out): Likewise.
14237 ($(objpfx)tst-array5.out): Likewise.
14238 ($(objpfx)tst-array5-static.out): Likewise.
14239
01767843
CM
142402012-10-30 Chris Metcalf <cmetcalf@tilera.com>
14241
47cc1490
CM
14242 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
14243 if defined.
14244
01767843
CM
14245 * nss/nsswitch.h (nss_interface_function): Provide new
14246 macro for use with NSS functions.
14247 * grp/initgroups.c: Use new macro.
14248 * nss/getXXbyYY.c: Likewise.
14249 * nss/getXXbyYY_r.c: Likewise.
14250 * nss/getXXent.c: Likewise.
14251 * nss/getXXent_r.c: Likewise.
14252 * sysdeps/posix/getaddrinfo.c: Likewise.
14253
8321aa97
AJ
142542012-10-30 Andreas Jaeger <aj@suse.de>
14255
14256 * po/ru.po: Update Russion translation from translation project.
14257
2a27fd6d
JM
142582012-10-30 Joseph Myers <joseph@codesourcery.com>
14259
8627a232
JM
14260 [BZ #14152]
14261 [BZ #14783]
14262 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
14263 result and shift together with sticky bit instead of replicating
14264 round-to-nearest rounding.
14265 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14266 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14267 * math/libm-test.inc (fma_test): Add more tests. Do not permit
14268 missing underflow exceptions.
14269 (fma_test_towardzero): Add more tests.
14270 (fma_test_downward): Likewise.
14271 (fma_test_upward): Likewise.
14272
2a27fd6d
JM
14273 [BZ #14047]
14274 * sysdeps/generic/tininess.h: New file.
14275 * sysdeps/i386/tininess.h: Likewise.
14276 * sysdeps/sh/tininess.h: Likewise.
14277 * sysdeps/x86_64/tininess.h: Likewise.
14278 * stdlib/tst-strtod-underflow.c: Likewise.
14279 * stdlib/tst-tininess.c: Likewise.
14280 * stdlib/strtod_l.c: Include <tininess.h>.
14281 (round_and_return): Do not set errno for exact underflow cases.
14282 Force an underflow exception when setting errno for underflow.
14283 Determine underflow based on rounding to normal precision if
14284 TININESS_AFTER_ROUNDING.
14285 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
14286 ERANGE for exact underflow cases.
14287 * stdlib/Makefile (tests): Add tst-tininess and
14288 tst-strtod-underflow.
14289 ($(objpfx)tst-tininess): Use $(link-libm).
14290 ($(objpfx)tst-strtod-underflow): Likewise.
14291
e7170363
AJ
142922012-10-30 Andreas Jaeger <aj@suse.de>
14293
e5088dc6
AJ
14294 [BZ#14767]
14295 * elf/Makefile (tests): Remove conditional for have-initfini-array
14296 since this is now always required and the variable does not exist
14297 anymore.
14298 (tests-static): Likewise.
14299 (modules-names): Likewise.
14300
e7170363 14301 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
14302
14303 * elf/tst-array1.c (fini_array): Make writeable so that it can be
14304 merged with constructor/destructor.
14305 (init_array): Likewise.
14306 * elf/tst-array2dep.c (fini_array): Likewise.
14307 (init_array): Likewise.
14308
60457d8a
MF
143092012-10-29 Mike Frysinger <vapier@gentoo.org>
14310
14311 * manual/message.texi: Delete @cartouche tags.
14312
8bece752
PT
143132012-10-29 Pino Toscano <toscano.pino@tiscali.it>
14314
94ce799f
PT
14315 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
14316 EOPNOTSUPP.
14317 * sysdeps/mach/hurd/fsync.c: Likewise.
14318
8bece752
PT
14319 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
14320 [_POSIX_REALTIME_SIGNALS]: Change condition to
14321 [_POSIX_REALTIME_SIGNALS > 0].
14322
86ebe6b1
AJ
143232012-10-27 Andreas Jaeger <aj@suse.de>
14324
14325 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
14326 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
14327 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
14328 [__WORDSIZE != 64]: Likewise.
14329
54399c08
L
143302012-10-26 H.J. Lu <hongjiu.lu@intel.com>
14331
14332 * iconvdata/tst-table.sh: Remove ${SHELL}.
14333 * iconvdata/tst-tables.sh: Likewise.
14334
e2211bed
DM
143352012-10-25 David S. Miller <davem@davemloft.net>
14336
14337 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14338 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
14339 of strtoull.
14340
f303f97c
DM
14341 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
14342 ifunc-impl-list.c
14343 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14344 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
14345 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
14346 file.
14347
1e9d84cd
RM
143482012-10-25 Roland McGrath <roland@hack.frob.com>
14349
14350 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14351 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
14352 __getdirentries.
14353
df381762
JM
143542012-10-25 Joseph Myers <joseph@codesourcery.com>
14355 Jim Blandy <jimb@codesourcery.com>
14356
14357 * scripts/cross-test-ssh.sh: New file.
14358 * manual/install.texi (Configuring and compiling): Document use of
14359 cross-test-ssh.sh.
14360 * INSTALL: Regenerated.
14361
bff64913
PT
143622012-10-25 Pino Toscano <toscano.pino@tiscali.it>
14363
14364 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
14365 EOPNOTSUPP.
14366
25fe8932
JM
143672012-10-25 Joseph Myers <joseph@codesourcery.com>
14368
14369 * Makeconfig (run-program-prefix): Fix comment.
14370
cc1290d0
JM
143712012-10-24 Joseph Myers <joseph@codesourcery.com>
14372 Jim Blandy <jimb@codesourcery.com>
14373
14374 * Makeconfig (test-wrapper): New variable,
14375 (test-wrapper-env): Likewise.
14376 [$(cross-compiling) = yes && $(test-wrapper) != ""]
14377 (run-built-tests): Define to yes.
14378 (run-program-prefix): Use $(test-wrapper).
14379 (built-program-cmd): Likewise.
14380 * Rules (make-test-out): Use $(test-wrapper-env) and
14381 $(host-built-program-cmd).
14382 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
14383 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
14384 tst-pathopt.sh.
14385 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
14386 $(test-wrapper-env) to tst-rtld-load-self.sh.
14387 ($(objpfx)order2.out): Use $(test-wrapper).
14388 ($(objpfx)tst-initorder.out): Likewise.
14389 ($(objpfx)tst-initorder2.out): Likewise.
14390 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
14391 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
14392 (test_wrapper_env): New variable. Use it to run ld.so.
14393 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
14394 Use it to run ld.so.
14395 (test_wrapper_env): Likewise.
14396 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
14397 $(test-wrapper) to run-iconv-test.sh.
14398 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
14399 (ICONV): Use $test_wrapper.
14400 * posix/Makefile ($(objpfx)globtest.out): Pass
14401 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
14402 globtest.sh, not $(run-program-prefix).
14403 * posix/globtest.sh (run_via_rtld_prefix): New variable.
14404 (test_wrapper): Likewise.
14405 (test_wrapper_env): Likewise. Use it to run globtest with HOME
14406 set together with run_via_rtld_prefix.
14407 (run_program_prefix): Define in terms of test_wrapper and
14408 run_via_rtld_prefix.
14409
6e6249d0
RM
144102012-10-24 Roland McGrath <roland@hack.frob.com>
14411
14412 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
14413 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
14414 Targets removed.
14415
14416 [BZ #14743]
14417 * include/time.h: Remove librt_hidden_proto (clock_gettime).
14418 Declare __clock_getres, __clock_gettime, __clock_settime,
14419 __clock_nanosleep, and __clock_getcpuclockid.
14420 * rt/clock_gettime.c: Define __clock_gettime as an alias.
14421 Remove librt_hidden_def (clock_gettime).
14422 * sysdeps/unix/clock_gettime.c: Likewise.
14423 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
14424 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14425 * rt/clock_getres.c: Define __clock_getres as an alias.
14426 * sysdeps/posix/clock_getres.c: Likewise.
14427 * rt/clock_settime.c: Define __clock_settime as an alias.
14428 * sysdeps/unix/clock_settime.c: Likewise.
14429 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
14430 * sysdeps/unix/clock_nanosleep.c: Likewise.
14431 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14432 * rt/clock-compat.c: New file.
14433 * rt/Makefile (librt-routines): Add clock-compat and move
14434 $(clock-routines) to ...
14435 (routines): ... here, new variable.
14436 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
14437 Don't add get_clockfreq here.
14438 * rt/Versions (libc: GLIBC_2.17): New version set.
14439 Add clock_* symbols here.
14440 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
14441 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
14442 (GLIBC_2.17): Add clock_* symbols.
14443 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14444 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14445 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14447 Likewise.
14448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14449 Likewise.
14450 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14451 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
14452 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14453 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14454 * NEWS: Mention the move.
14455
14456 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
14457 Use __open, __read, __close rather than their public counterparts.
14458 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14459 (__get_clockfreq_via_cpuinfo): Likewise.
14460 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
14461 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
14462
14463 * config.h.in (HAVE_IFUNC): New #undef.
14464 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
14465 was successful.
14466 * configure: Regenerated.
14467
0cae3f4b
MF
144682012-10-24 Mike Frysinger <vapier@gentoo.org>
14469
14470 * configure.in: Move READELF check to start of file.
14471 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
14472 libc_cv_asm_gnu_indirect_function in the process.
14473 * configure: Regenerated.
14474
8175a253
MF
144752012-10-24 Mike Frysinger <vapier@gentoo.org>
14476
14477 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
14478 send the output to /dev/null.
14479 (libc_cv_cc_with_libunwind): Likewise.
14480 (libc_cv_as_noexecstack): Likewise.
14481 * configure: Regenerate.
14482
0708a7d1
JM
144832012-10-24 Joseph Myers <joseph@codesourcery.com>
14484
10b40d85
JM
14485 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
14486
0708a7d1
JM
14487 * posix/globtest.sh (TMPDIR): Do not set.
14488 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
14489 (testout): Likewise.
14490
9fddec1a
AJ
144912012-10-24 Andreas Jaeger <aj@suse.de>
14492
3a8db22f
AJ
14493 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
14494 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
14495 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
14496 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
14497 posix_fadvise64, posix_fallocate64.
14498
9fddec1a
AJ
14499 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
14500 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
14501 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
14502 Likewise.
14503 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
14504 Likewise.
14505 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
14506
14507 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
14508 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
14509 <bits/fcntl-linux.h>.
14510 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
14511
14512 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
14513 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
14514 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
14515 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
14516 [__WORDSIZE != 64]: Likewise.
14517
ebfd1bbd
JM
145182012-10-23 Joseph Myers <joseph@codesourcery.com>
14519
03ac099f
JM
14520 * Makeconfig (run-built-tests): New variable.
14521 * Rules [$(cross-compiling) = yes]: Change condition to
14522 [$(run-built-tests) = no].
14523 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
14524 to [$(run-built-tests) = yes].
14525 * elf/Makefile [$(cross-compiling) = no]: Likewise
14526 * grp/Makefile [$(cross-compiling) = no]: Likewise.
14527 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
14528 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
14529 * intl/Makefile [$(cross-compiling) = no]: Likewise.
14530 * io/Makefile [$(cross-compiling) = no]: Likewise.
14531 * libio/Makefile [$(cross-compiling) = no]: Likewise.
14532 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
14533 * misc/Makefile [$(cross-compiling) = no]: Likewise.
14534 * posix/Makefile [$(cross-compiling) = no]: Likewise.
14535 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
14536 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
14537 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
14538 * string/Makefile [$(cross-compiling) = no]: Likewise.
14539
ebfd1bbd
JM
14540 * posix/Makefile ($(objpfx)globtest.out): Pass
14541 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
14542 $(rtld-installed-name).
14543 * posix/globtest.sh (elf_objpfx): Remove variable.
14544 (rtld_installed_name): Likewise.
14545 (library_path): Likewise.
14546 (run_program_prefix): New variable. Use for running globtest
14547 binary.
14548
166bca24
JB
145492012-10-23 Jim Blandy <jimb@codesourcery.com>
14550 Joseph Myers <joseph@codesourcery.com>
14551
14552 * Makeconfig (host-built-program-cmd): New variable.
14553 * elf/Makefile (tst-stackguard1-ARGS): Use
14554 $(host-built-program-cmd).
14555 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
14556 (tst-spawn-ARGS): Likewise.
14557 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
14558
88866099
JM
145592012-10-23 Joseph Myers <joseph@codesourcery.com>
14560 Jim Blandy <jimb@codesourcery.com>
14561
14562 * Makeconfig (run-via-rtld-prefix): New variable.
14563 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
14564 (built-program-cmd): Likewise.
14565
b4b4c296
AJ
145662012-10-22 Andreas Jaeger <aj@suse.de>
14567
14568 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
14569 __O_RSYNC if it exists, otherwise to O_SYNC.
14570
6fb54a22
JB
145712012-10-22 Jim Blandy <jimb@codesourcery.com>
14572 Joseph Myers <joseph@codesourcery.com>
14573
14574 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
14575 /dev/null.
14576 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
14577 from /dev/null
14578 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
14579 /dev/null.
14580
481b90b9
AJ
145812012-10-22 Andreas Jaeger <aj@suse.de>
14582
2a0e2669
AJ
14583 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
14584 Define always.
14585 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
14586
76e38f9a
AJ
14587 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14588 bits/fcntl-linux.h.
14589
7cd37b43
AJ
14590 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
14591 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
14592
481b90b9
AJ
14593 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
14594 to __O_LARGEFILE.
14595 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
14596 to __O_LARGEFILE.
14597
aba75984
JB
145982012-10-21 Jim Blandy <jimb@codesourcery.com>
14599 Joseph Myers <joseph@codesourcery.com>
14600
14601 * config.make.in (NM): New variable.
14602
88d4247f
AJ
146032012-10-21 Andreas Jaeger <aj@suse.de>
14604
14605 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
14606 definitions and declarations that are provided by
14607 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14608
f2eed205
L
146092012-10-20 H.J. Lu <hongjiu.lu@intel.com>
14610
14611 [BZ #14683]
14612 * elf/Makefile (tests-static): Add tst-leaks1-static.
14613 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
14614 ($(objpfx)tst-leaks1-static): New rule.
14615 ($(objpfx)tst-leaks1-static-mem): Likewise.
14616 (tst-leaks1-static-ENV): New macro.
14617 * elf/dl-open.c (dl_open_worker): Check the main application
14618 only if SHARED is defined.
14619 * elf/tst-leaks1-static.c: New file.
14620
335e6931
AJ
146212012-10-20 Andreas Jaeger <aj@suse.de>
14622
14623 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
14624 generic values for Linux.
14625 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
14626 and declarations that are provided by <bits/fcntl-linux.h> and
14627 include <bits/fcntl-linux.h>.
14628 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14629 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14630
ac5c94d3
RM
146312012-10-20 Roland McGrath <roland@hack.frob.com>
14632
14633 * io/fcntl.h: Move include of <bits/types.h> to the top and
14634 include it unconditionally.
14635
de54b33a
L
146362012-10-20 H.J. Lu <hongjiu.lu@intel.com>
14637
228cfb01
L
14638 * wcsmbs/Makefile (tests-ifunc): New variable.
14639 (tests): Add $(tests-ifunc).
14640 * wcsmbs/test-wcschr-ifunc.c: New file.
14641 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
14642 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
14643 * wcsmbs/test-wcslen-ifunc.c: Likewise.
14644 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
14645 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
14646
69f07e5f
L
14647 * string/Makefile (tests-ifunc): New variable.
14648 (tests): Add $(tests-ifunc).
14649 * string/test-memccpy.c (TEST_NAME): New macro.
14650 * string/test-memchr.c (TEST_NAME): Likewise.
14651 * string/test-memcmp.c (TEST_NAME): Likewise.
14652 * string/test-memcpy.c (TEST_NAME): Likewise.
14653 * string/test-memmem.c (TEST_NAME): Likewise.
14654 * string/test-memmove.c (TEST_NAME): Likewise.
14655 * string/test-memset.c (TEST_NAME): Likewise.
14656 * string/test-rawmemchr.c (TEST_NAME): Likewise.
14657 * string/test-stpcpy.c (TEST_NAME): Likewise.
14658 * string/test-stpncpy.c (TEST_NAME): Likewise.
14659 * string/test-strcasecmp.c (TEST_NAME): Likewise.
14660 * string/test-strcasestr.c (TEST_NAME): Likewise.
14661 * string/test-strcat.c (TEST_NAME): Likewise.
14662 * string/test-strchr.c (TEST_NAME): Likewise.
14663 * string/test-strcmp.c(TEST_NAME): Likewise.
14664 * string/test-strcpy.c (TEST_NAME): Likewise.
14665 * string/test-strcspn.c (TEST_NAME): Likewise.
14666 * string/test-strlen.c (TEST_NAME): Likewise.
14667 * string/test-strncasecmp.c (TEST_NAME): Likewise.
14668 * string/test-strncmp.c (TEST_NAME): Likewise.
14669 * string/test-strncpy.c (TEST_NAME): Likewise.
14670 * string/test-strnlen.c (TEST_NAME): Likewise.
14671 * string/test-strpbrk.c (TEST_NAME): Likewise.
14672 * string/test-strrchr.c (TEST_NAME): Likewise.
14673 * string/test-strspn.c (TEST_NAME): Likewise.
14674 * string/test-strstr.c (TEST_NAME): Likewise.
14675 * string/test-bcopy-ifunc.c: New file.
14676 * string/test-bzero-ifunc.c: Likewise.
14677 * string/test-memccpy-ifunc.c: Likewise.
14678 * string/test-memchr-ifunc.c: Likewise.
14679 * string/test-memcmp-ifunc.c: Likewise.
14680 * string/test-memcpy-ifunc.c: Likewise.
14681 * string/test-memmem-ifunc.c: Likewise.
14682 * string/test-memmove-ifunc.c: Likewise.
14683 * string/test-mempcpy-ifunc.c: Likewise.
14684 * string/test-memset-ifunc.c: Likewise.
14685 * string/test-rawmemchr-ifunc.c: Likewise.
14686 * string/test-stpcpy-ifunc.c: Likewise.
14687 * string/test-stpncpy-ifunc.c: Likewise.
14688 * string/test-strcasecmp-ifunc.c: Likewise.
14689 * string/test-strcasestr-ifunc.c: Likewise.
14690 * string/test-strcat-ifunc.c: Likewise.
14691 * string/test-strchr-ifunc.c: Likewise.
14692 * string/test-strchrnul-ifunc.c: Likewise.
14693 * string/test-strcmp-ifunc.c: Likewise.
14694 * string/test-strcpy-ifunc.c: Likewise.
14695 * string/test-strcspn-ifunc.c: Likewise.
14696 * string/test-strlen-ifunc.c: Likewise.
14697 * string/test-strncasecmp-ifunc.c: Likewise.
14698 * string/test-strncat-ifunc.c: Likewise.
14699 * string/test-strncmp-ifunc.c: Likewise.
14700 * string/test-strncpy-ifunc.c: Likewise.
14701 * string/test-strnlen-ifunc.c: Likewise.
14702 * string/test-strpbrk-ifunc.c: Likewise.
14703 * string/test-strrchr-ifunc.c: Likewise.
14704 * string/test-strspn-ifunc.c: Likewise.
14705 * string/test-strstr-ifunc.c: Likewise.
14706
de54b33a
L
14707 * debug/Makefile (tests-ifunc): New variable.
14708 (tests): Add $(tests-ifunc).
14709 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
14710 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
14711 * debug/test-stpcpy_chk-ifunc.c: New file.
14712 * debug/test-strcpy_chk-ifunc.c: Likewise.
14713
88481c16
SP
147142012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14715
14716 [BZ #13601]
14717 * elf/dl-load.c (open_verify): Retry read if the entire ELF
14718 header is not read in.
14719
135948bd
JM
147202012-10-19 Joseph Myers <joseph@codesourcery.com>
14721
89f1c388
JM
14722 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
14723 script to $(SHELL) as $<. Pass $(common-objpfx) to script
14724 directly. Pass built executable to script as
14725 $(built-program-cmd).
14726 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
14727 $testprogram without using LD_LIBRARY_PATH and $ldso.
14728
e40a0d21
JM
14729 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
14730 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
14731 $(rtld-installed-name).
14732 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
14733 (rtld_installed_name): Likewise.
14734 (library_path): Likewise.
14735 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
14736 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
14737 $(run-program-prefix) to tst-tables.sh.
14738 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
14739 it to run tst-table-from and tst-table-to.
14740 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
14741 Pass it to tst-table.sh.
14742 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
14743 $(run-program-prefix) to tst-gettext.sh.
14744 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
14745 tst-translit.sh.
14746 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
14747 tst-gettext2.sh.
14748 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
14749 to run tst-gettext.
14750 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
14751 to run tst-gettext2.
14752 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
14753 to run tst-translit.
14754 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
14755 $(run-program-prefix) to tst-mtrace.sh.
14756 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
14757 to run tst-mtrace.
14758 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
14759 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
14760 $(rtld-installed-name).
14761 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
14762 (rtld_installed_name): Likewise.
14763 (run_program_prefix): New variable. Use it to run wordexp-test.
14764
728e272a
JM
14765 * Makeconfig (ARCH): Remove all definitions.
14766 (machine): Likewise.
14767 [ARCH]: Remove conditional code.
14768 [!objdir]: Give error.
14769 [!objdir] (objpfx): Remove.
14770 [!objdir] (common-objpfx): Likewise.
14771 [!objdir] (common-objdir): Likewise.
14772 * configure.in (config_makefile): Remove. Hardcode Makefile in
14773 AC_CONFIG_FILES call.
14774 * configure: Regenerated.
14775
d528cdcf
JM
14776 [BZ #13888]
14777 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
14778 or TMPDIR.
14779 (testout): Likewise.
14780
135948bd
JM
14781 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
14782 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
14783 $(rtld-installed-name).
14784 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
14785 (rtld_installed_name): Likwise.
14786 (runit): Remove function.
14787 (run_getconf): New variable, Use it for running getconf binary.
14788
38c78296
L
147892012-10-18 H.J. Lu <hongjiu.lu@intel.com>
14790
14791 [BZ #14716]
14792 * string/test-memmem.c (check_result): New function.
14793 (do_one_test): Use it.
14794 (check1): New function.
14795 (test_main): Use it.
14796
d077f65f
MT
147972012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
14798
14799 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
14800
ced52c71
JM
148012012-10-18 Joseph Myers <joseph@codesourcery.com>
14802
14803 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
14804 (_G_LSEEK64): Likewise.
14805 (_G_MMAP64): Likewise.
14806 (_G_FSTAT64): Likewise.
14807 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
14808 (_G_LSEEK64): Likewise.
14809 (_G_MMAP64): Likewise.
14810 (_G_FSTAT64): Likewise.
14811 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
14812 unconditional. Call __mmap64 directly.
14813 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
14814 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
14815 __lseek64 directly.
14816 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
14817 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
14818 __mmap64 directly.
14819 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
14820 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
14821 __lseek64 directly.
14822 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
14823 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
14824 __lseek64 directly.
14825 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
14826 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
14827 __lseek64 directly.
14828 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
14829 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
14830 __fxstat64 directly.
14831 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
14832 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
14833 unconditional.
14834 (freopen64) [!_G_OPEN64]: Remove conditional code.
14835 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
14836 unconditional.
14837 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
14838 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
14839 unconditional.
14840 (ftello64) [!_G_LSEEK64]: Remove conditional code.
14841 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
14842 unconditional.
14843 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14844 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
14845 unconditional.
14846 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
14847 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
14848 unconditional.
14849 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14850 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
14851 unconditional.
14852 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14853 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
14854 unconditional.
14855 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14856
b741de23
SP
148572012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14858
14859 [BZ #12140]
14860 * manual/memory.texi (Malloc Tunable Parameters): Add note
14861 about free list pointers overwriting some perturb bytes.
14862 Wording suggested by Roland McGrath.
14863
f9b9d9c9
JM
148642012-10-17 Joseph Myers <joseph@codesourcery.com>
14865
14866 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
14867 (lgamma_test): Likewise.
14868 (tgamma_test): Likewise.
14869
172a631a
FW
148702012-10-16 Florian Weimer <fweimer@redhat.com>
14871
14872 [BZ #14700]
14873 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
14874 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
14875
e9f37252
MK
148762012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
14877
14878 * NEWS: Mention BZ #14716.
14879 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
14880 when removing AVAILABLE1_USES_J macro.
14881
d394eb74
L
148822012-10-12 H.J. Lu <hongjiu.lu@intel.com>
14883
14884 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
14885 (__bswap_64): __uint64_t for unsigned 64-bit int.
14886
ca38dc17
AS
148872012-10-12 Andreas Schwab <schwab@linux-m68k.org>
14888
14889 * include/string.h (memmem): Declare libc hidden alias.
14890 * string/memmem.c (memmem): Define libc hidden alias.
14891 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
14892 __read, __close instead of open, read, close.
14893
9a387d1f
L
148942012-10-11 H.J. Lu <hongjiu.lu@intel.com>
14895
ac49ecaf
L
14896 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
14897 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
14898 global and hidden.
14899 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
14900 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
14901 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
14902 Likewise.
14903 (__rawmemchr_sse2): Likewise.
14904 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
14905 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
14906 (__strchr_sse2): Likewise.
14907 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
14908 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
14909 (__strcasecmp_sse2): Likewise.
14910 (__strncasecmp_sse2): Likewise.
14911 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
14912 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
14913 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
14914 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
14915 (__strrchr_sse2): Likewise.
14916 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
14917 ifunc-impl-list.c.
14918 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14919 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14920 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14921 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14922 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14923 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14924 * sysdeps/x86_64/multiarch/memset.S: Likewise.
14925 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14926 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
14927 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
14928 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
14929 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
14930 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
14931 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14932 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14933 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14934 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14935 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14936 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
14937 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
14938 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
14939 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
14940 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
14941 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
14942 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
14943 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14944 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14945 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14946 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14947 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14948
b090e8ea
L
14949 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
14950 global and hidden.
14951 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
14952 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
14953 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
14954 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
14955 Likewise.
14956 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
14957 Likewise.
14958 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
14959 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
14960 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
14961 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
14962 ifunc-impl-list.c.
14963 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14964 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14965 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14966 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14967 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14968 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14969 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14970 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14971 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14972 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14973 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14974 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14975 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14976 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
14977 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
14978 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14979 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
14980 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
14981 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14982 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14983 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14984 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14985 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14986 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14987 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14988 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
14989 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
14990 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
14991 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
14992 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14993 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
14994 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14995 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14996 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
14997 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14998 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14999 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15000 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15001 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15002 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15003 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
15004
11dd4af6
L
15005 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
15006 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
15007 * include/ifunc-impl-list.h: New file.
15008 * misc/ifunc-impl-list.c: Likewise.
15009 * misc/Makefile (routines): Add ifunc-impl-list.
15010 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
15011 * string/test-string.h: Include <ifunc-impl-list.h>.
15012 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
15013 impl_array): New variables.
15014 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
15015 are defined.
15016 (test_init): Call __libc_ifunc_impl_list to initialize
15017 func_list if TEST_IFUNC and TEST_NAME are defined.
15018
9a387d1f
L
15019 * string/Makefile (strop-tests): Add bcopy and bzero.
15020 * string/test-bcopy.c: New file.
15021 * string/test-bzero.c: Likewise.
15022 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
15023 defined.
15024 * string/test-memset.c: Support bzero test if TEST_BZERO is
15025 defined.
15026 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
15027 __libc_memmove.
15028 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
15029 __libc_memset.
15030 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
15031 of memset.
15032
472371b9
JM
150332012-10-10 Joseph Myers <joseph@codesourcery.com>
15034
1e4a9536
JM
15035 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
15036 * configure: Regenerated.
15037
d173d12e
JM
15038 * Makeconfig (+link-static-before-libc): Don't include
15039 $(link-static-libc).
15040
472371b9
JM
15041 * libio/libio.h (_IO_pos_t): Remove.
15042
89a3ad0b
AO
150432012-10-10 Alexandre Oliva <aoliva@redhat.com>
15044
15045 * NEWS: Add note about FIPS mode. Wording suggested by Roland
15046 McGrath.
15047
e7451425
AO
150482012-10-10 Alexandre Oliva <aoliva@redhat.com>
15049
15050 * crypt/crypt-entry.c: Include fips-private.h.
15051 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
15052 * crypt/md5c-test.c (main): Tolerate disabled MD5.
15053 * sysdeps/unix/sysv/linux/fips-private.h: New file.
15054 * sysdeps/generic/fips-private.h: New file, dummy fallback.
15055
4ba74a35
AO
150562012-10-10 Alexandre Oliva <aoliva@redhat.com>
15057
15058 * crypt/crypt-private.h: Include stdbool.h.
15059 (_ufc_setup_salt_r): Return bool.
15060 * crypt/crypt-entry.c: Include errno.h.
15061 (__crypt_r): Return NULL with EINVAL for bad salt.
15062 * crypt/crypt_util.c (bad_for_salt): New.
15063 (_ufc_setup_salt_r): Check that salt is long enough and within
15064 the specified alphabet.
15065 * crypt/badsalttest.c: New file.
15066 * crypt/Makefile (tests): Add it.
15067 ($(objpfx)badsalttest): New.
15068
f96f1242
MK
150692012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
15070
15071 * NEWS: Add entry for BZ #14602.
15072
0e8e0c1c
JM
150732012-10-09 Joseph Myers <joseph@codesourcery.com>
15074
15075 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
15076 type-generic.
15077 * math/libm-test.inc: Update comment listing what functions and
15078 macros are tested.
15079 (isgreater_test): New function.
15080 (isgreaterequal_test): Likewise.
15081 (isless_test): Likewise.
15082 (islessequal_test): Likewise.
15083 (islessgreater_test): Likewise.
15084 (isunordered_test): Likewise.
15085 (main): Call the new functions.
15086
273edc5e
RM
150872012-10-09 Roland McGrath <roland@hack.frob.com>
15088
b8493de0
RM
15089 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
15090 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
15091 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
15092 * sysdeps/i386/configure: Regenerated.
15093 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
15094 * sysdeps/mach/configure: Regenerated.
15095 * sysdeps/mach/hurd/configure: Regenerated.
15096 * sysdeps/powerpc/configure: Regenerated.
15097 * sysdeps/powerpc/powerpc32/configure: Regenerated.
15098 * sysdeps/powerpc/powerpc64/configure: Regenerated.
15099 * sysdeps/s390/s390-32/configure: Regenerated.
15100 * sysdeps/s390/s390-64/configure: Regenerated.
15101 * sysdeps/sh/configure: Regenerated.
15102 * sysdeps/sparc/configure: Regenerated.
15103 * sysdeps/unix/sysv/linux/configure: Regenerated.
15104 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
15105 * sysdeps/x86_64/configure: Regenerated.
15106
273edc5e
RM
15107 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
15108 defined. Don't check if MAP is NULL.
15109
c8450f70
JM
151102012-10-09 Joseph Myers <joseph@codesourcery.com>
15111
15112 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
15113 (_G_stat64): Likewise.
15114 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
15115 (_G_stat64): Likewise.
15116 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
15117 instead of struct _G_stat64.
15118 * libio/fileops.c (mmap_remap_check): Likewise.
15119 (decide_maybe_mmap): Likewise.
15120 (_IO_new_file_seekoff): Likewise.
15121 (_IO_file_stat): Likewise.
15122 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
15123 _G_off64_t.
15124 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
15125 instead of struct _G_stat64.
15126 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15127
57e605ba
MK
151282012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
15129
15130 [BZ #14602]
15131 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15132 Replace with ...
15133 (CHECK_EOL): New macro.
15134 (two_way_short_needle): Check beginning of haystack for EOL. Use
15135 CHECK_EOL.
15136 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15137 Replace with CHECK_EOL.
15138 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15139 Replace with CHECK_EOL.
15140
ef1bb361
JM
151412012-10-08 Joseph Myers <joseph@codesourcery.com>
15142
15143 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
15144 type-generic.
15145 * math/libm-test.inc: Update comment listing what functions and
15146 macros are tested.
15147 (finite_test): New function.
15148 (isinf_test): Likewise.
15149 (isnan_test): Likewise.
15150 (fpclassify_test): Test subnormal input.
15151 (isfinite_test): Likewise.
15152 (isnormal_test): Likewise.
15153 (main): Call the new functions.
15154
55f11534
JN
151552012-10-08 Jonathan Nieder <jrnieder@gmail.com>
15156
15157 [BZ #14660]
15158 * Makerules (%.dynsym): Force C locale when running
15159 $(OBJDUMP) --dynamic-syms.
15160
1ab29350
AS
151612012-10-08 Andreas Schwab <schwab@linux-m68k.org>
15162
15163 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
15164 <stdint.h>.
15165
f1ecb7ef
DM
151662012-10-06 David S. Miller <davem@davemloft.net>
15167
15168 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
15169 upper 32-bits of the length value in %o2 since we use branch-on-register
15170 tests which consider the entire 64-bit register.
15171
5d41d91a
L
151722012-10-06 H.J. Lu <hongjiu.lu@intel.com>
15173
15174 * string/test-strstr.c (check2): Add a test for page boundary.
15175
3baddb72
DM
151762012-10-05 David S. Miller <davem@davemloft.net>
15177
15178 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
15179 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
15180 file.
15181 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15182 sysdep_routines.
15183 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15184 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
15185 and bzero when HWCAP_SPARC_CRYPTO is present.
15186
9cee5585
L
151872012-10-05 H.J. Lu <hongjiu.lu@intel.com>
15188
d7e0dab9
L
15189 [BZ #14602]
15190 * string/test-strstr.c (check2): New function.
15191 (test_main): Call check2.
15192
03759f47
L
15193 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
15194 and bug-strchr1.
15195 * string/bug-strcasestr1.c (do_test): Moved to ...
15196 * string/test-strcasestr.c (check1): Here. New function.
15197 (do_one_test): Break out result checking code into ...
15198 (check_result): This. New function.
15199 (do_one_test): Call check_result.
15200 (test_main): Call check1.
15201 * string/bug-strchr1.c (do_test): Moved to ...
15202 * string/test-strchr.c (check1): Here. New function.
15203 (do_one_test): Break out result checking code into ...
15204 (check_result): This. New function.
15205 (do_one_test): Call check_result.
15206 (test_main): Call check1.
15207 * string/bug-strstr1.c (main): Moved to ...
046f153e 15208 * string/test-strstr.c (check1): Here. New function.
03759f47
L
15209 (do_one_test): Break out result checking code into ...
15210 (check_result): This. New function.
15211 (do_one_test): Call check_result.
15212 (test_main): Call check1.
15213 * string/bug-strcasestr1.c: Removed.
15214 * string/bug-strchr1.c: Likewise.
15215 * string/bug-strstr1.c: Likewise.
15216
53cea63e
L
15217 * elf/Makefile (dl-routines): Add hwcaps.
15218 * elf/dl-support.c (_dl_important_hwcaps): Removed.
15219 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
15220 (_dl_important_hwcaps): Moved to ...
15221 * elf/dl-hwcaps.c: Here. New file.
15222 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
15223
9cee5585 15224 [BZ #14557]
bb859b06
L
15225 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
15226 if IS_IN_rtld isn't defined.
15227
9cee5585
L
15228 * elf/dl-support.c (_dl_sysinfo_map): New.
15229 Include "get-dynamic-info.h" and "setup-vdso.h".
15230 (_dl_non_dynamic_init): Call setup_vdso.
15231 * elf/dynamic-link.h: Don't include <assert.h>.
15232 (elf_get_dynamic_info): Moved to ...
15233 * elf/get-dynamic-info.h: Here. New file.
15234 * elf/dynamic-link.h: Include "get-dynamic-info.h".
15235 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
15236 * elf/setup-vdso.h: Here. New file.
15237 * elf/rtld.c: Include "setup-vdso.h".
15238 (dl_main): Call setup_vdso.
15239
23c31b76
JM
152402012-10-05 Joseph Myers <joseph@codesourcery.com>
15241
28234b07
JM
15242 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
15243 creal in comment listing functions tested. List finite, isinf,
15244 isnan, isless, islessequal, isgreater, isgreaterequal,
15245 islessgreater, isunordered, lgamma_r and pow10 as functions and
15246 macros not tested. Mention which functions not tested are aliases
15247 for other functions. Fix typo. Note that signs of NaNs are not
15248 tested.
15249
23c31b76
JM
15250 * scripts/config.guess: Update from config.git.
15251 * scripts/config.sub: Likewise.
15252
9043e228
RM
152532012-10-04 Roland McGrath <roland@hack.frob.com>
15254
15255 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
15256 * misc/madvise.c (madvise): Renamed to __madvise.
15257 Make madvise a weak alias.
15258 * include/sys/mman.h: Declare __madvise.
15259 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
15260 * sysdeps/unix/syscalls.list
15261 (madvise): Make __madvise the strong name, and madvise a weak alias.
15262 * sysdeps/unix/sysv/linux/syscalls.list
15263 (madvise, mmap): Remove redundant entries.
15264 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
15265 * malloc/malloc.c (mtrim): Likewise.
15266 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
15267
f57f8055
RM
152682012-10-03 Roland McGrath <roland@hack.frob.com>
15269
15270 * sysdeps/mach/hurd/dl-cache.c: File removed.
15271 * config.h.in (USE_LDCONFIG): New #undef.
15272 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
15273 * configure: Regenerated.
15274 * elf/Makefile (dl-routines): Add dl-cache only under
15275 [$(use-ldconfig) = yes].
15276 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
15277 cache on [USE_LDCONFIG].
15278 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
15279 [USE_LDCONFIG].
15280 * elf/rtld.c (dl_main): Likewise.
15281
5bb0c10a
PT
152822012-10-03 Pino Toscano <toscano.pino@tiscali.it>
15283
15284 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
15285 _SC_LEVEL4_CACHE_LINESIZE.
15286
010188c6
RM
152872012-10-03 Roland McGrath <roland@hack.frob.com>
15288
15289 * sysdeps/unix/bsd/confstr.h: File removed.
15290
b6c5ec07
AO
152912012-10-02 Alexandre Oliva <aoliva@redhat.com>
15292
15293 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
15294 sys/sdt-config.h.
15295
408223d4
RM
152962012-10-02 Roland McGrath <roland@hack.frob.com>
15297
15298 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
15299 Make 'mapoff' field ElfW(Off) rather than off_t.
15300
bb9510dc
DL
153012012-10-02 Dmitry V. Levin <ldv@altlinux.org>
15302
fc997c6e
DL
15303 * nscd/Makefile: Remove nscd-cflags and all its users.
15304 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
15305 (CFLAGS-nonlib): Add compiler flags for nscd modules.
15306
bb9510dc
DL
15307 [BZ #10631]
15308 * malloc.c (malloc_printerr): Clarify error message.
15309
05699367
L
153102012-10-02 H.J. Lu <hongjiu.lu@intel.com>
15311
15312 [BZ #14648]
15313 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15314 Set bit_FMA_Usable if FMA is supported.
15315 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
15316 macro.
15317 (bit_FMA4_Usable): Updated.
15318 (index_FMA_Usable): New macro.
15319 (CPUID_FMA): Likewise
15320 (HAS_FMA): Defined with bit_FMA_Usable.
15321
51367701
RM
153222012-10-01 Roland McGrath <roland@hack.frob.com>
15323
15324 * bits/types.h (__swblk_t): Type removed.
15325 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
15326 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
15327 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15328 (__SWBLK_T_TYPE): Likewise.
15329 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15330 (__SWBLK_T_TYPE): Likewise.
15331 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15332 (__SWBLK_T_TYPE): Likewise.
15333 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15334 (__SWBLK_T_TYPE): Likewise.
15335
4d57bf63 153362012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 15337 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
15338
15339 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
15340 (xdr_mapname): Use YPMAXMAP as maxsize.
15341 (xdr_peername): Use YPMAXPEER as maxsize.
15342 (xdr_keydat): Use YPAXRECORD as maxsize.
15343 (xdr_valdat): Use YPMAXRECORD as maxsize.
15344
93c65d43
RM
153452012-10-01 Roland McGrath <roland@hack.frob.com>
15346
497a03d6
RM
15347 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
15348
93c65d43
RM
15349 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
15350 * csu/init-first.c: ... here.
15351 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
15352 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
15353 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
15354 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15355 * sysdeps/i386/init-first.c: File removed.
15356 * sysdeps/sh/init-first.c: File removed.
15357
bec749fd
JM
153582012-10-01 Joseph Myers <joseph@codesourcery.com>
15359
15360 [BZ #14645]
15361 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
15362 if x * y might underflow to zero and z is zero.
15363 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15364 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15365 * math/libm-test.inc (min_subnorm_value): New variable.
15366 (fma_test): Add more tests.
15367 (fma_test_towardzero): Likewise.
15368 (fma_test_downward): Likewise
15369 (fma_test_upward): Likewise.
15370 (initialize): Set min_subnorm_value.
15371
8ec5b013
JM
153722012-09-29 Joseph Myers <joseph@codesourcery.com>
15373
15374 [BZ #14638]
15375 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
15376 0 + 0.
15377 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
15378 mode for addition resulting in exact zero.
15379 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
15380 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
15381 exact 0 + 0.
15382 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15383 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15384 * math/libm-test.inc (fma_test): Add more tests.
15385 (fma_test_towardzero): New function.
15386 (fma_test_downward): Likewise.
15387 (fma_test_upward): Likewise.
15388 (main): Call the new functions.
15389
b1fa802e
DM
153902012-09-28 David S. Miller <davem@davemloft.net>
15391
15392 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
15393
d3b9fd9e
RM
153942012-09-28 Roland McGrath <roland@hack.frob.com>
15395
ea4d37b3
RM
15396 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
15397 instead of SIGALRM.
15398
ac51c949
RM
15399 * sysdeps/gnu/_G_config.h: Moved to ...
15400 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
15401 * sysdeps/mach/hurd/_G_config.h: Moved to ...
15402 * sysdeps/generic/_G_config.h: ... here.
15403
28c195f7
RM
15404 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
15405
848917f9
RM
15406 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
15407
6bacf05b
RM
15408 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
15409 Conditionalize target on [libnss_test1.so-version].
15410
91363dbb
RM
15411 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
15412
cc87f7d8
RM
15413 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
15414 (elfobjdir): Move out of conditionals.
15415
b1c608fe
RM
15416 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
15417 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
15418 (__nss_lookup_function): Conditionalize label remove_from_tree on
15419 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 15420
1d9a6d96
DM
154212012-09-28 David S. Miller <davem@davemloft.net>
15422
15423 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
15424 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
15425 file.
15426 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15427 sysdep_routines.
15428 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15429 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
15430 when HWCAP_SPARC_CRYPTO is present.
15431
72581615
PT
154322012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15433
15434 * io/tst-mknodat.c: Create a FIFO instead of a socket.
15435
715a900c
JL
154362012-09-28 Andreas Schwab <schwab@linux-m68k.org>
15437
15438 [BZ #6530]
15439 * stdio-common/vfprintf.c (process_string_arg): Revert
15440 2000-07-22 change.
15441
154422011-09-28 Jonathan Nieder <jrnieder@gmail.com>
15443
15444 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
15445 for testcase.
15446 * stdio-common/tst-sprintf.c: Include <locale.h>
15447 (main): Test sprintf's handling of incomplete multibyte
15448 characters.
15449
9bac1d86
L
154502012-09-28 H.J. Lu <hongjiu.lu@intel.com>
15451
15452 * elf/dl-runtime.c (VERSYMIDX): Removed.
15453 * elf/dl-version.c (VERSYMIDX): Likewise.
15454 * elf/do-rel.h (VERSYMIDX): Likewise.
15455 (VALIDX): Likewise.
15456 * elf/dynamic-link.h (VERSYMIDX): Likewise.
15457 * elf/rtld.c (VALIDX): Likewise.
15458 (ADDRIDX): Likewise.
9bac1d86
L
15459 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
15460 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
15461 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
15462 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
15463 (VALIDX): Likewise.
15464 (ADDRIDX): Likewise.
9bac1d86 15465
b31606c0
PT
154662012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15467
15468 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
15469
11541177
JL
154702012-09-28 Dmitry V. Levin <ldv@altlinux.org>
15471
15472 [BZ #11438]
15473 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
15474 to global scope.
15475 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
15476 addresses are in the same scope as 192.0.2/24.
15477 * posix/gai.conf: Document new scope table defaults.
15478
adb26fae
SP
154792012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15480
15481 [BZ #5298]
15482 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
15483 for ftell. Compute offsets from write pointers instead.
15484 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15485
4573c6b0
SP
154862012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15487
15488 [BZ #14543]
15489 * libio/Makefile (tests): New test case tst-fseek.
15490 * libio/tst-fseek.c: New test case to verify that fseek/ftell
15491 combination works in wide mode.
15492 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
15493 state when the external buffer state changes.
15494
aa9bbfe6
DM
154952012-09-27 David S. Miller <davem@davemloft.net>
15496
15497 [BZ #14376]
15498 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
15499 pass reloc->r_addend in as the 'high' argument to
15500 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
15501
784421e7
DM
15502 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15503
c39bc8b8
PT
155042012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15505
15506 * rt/tst-aio2.c: Include <pthread.h>.
15507 * rt/tst-aio3.c: Likewise.
15508
1ccc2399
SE
155092012-09-27 Steve Ellcey <sellcey@mips.com>
15510
15511 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
15512
31ed4153
L
155132012-09-27 H.J. Lu <hongjiu.lu@intel.com>
15514
25f5f885
L
15515 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
15516 contents on [SHARED].
31ed4153 15517
b7bfe116
MP
155182012-09-26 Marek Polacek <polacek@redhat.com>
15519
15520 [BZ #14530]
15521 [BZ #13741]
15522 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
15523 for C++ and GCC <4.3 as well as for non GCC compilers.
15524
43c4edba
MT
155252012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15526
15527 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15528
6a1bf82f
RM
155292012-09-25 Roland McGrath <roland@hack.frob.com>
15530
15531 * Makefile.in (all, install): Declare with .PHONY.
15532 Reported by Michael Hope <michael.hope@linaro.org>.
15533
8ad11b9a
TMQMF
155342012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15535
15536 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
15537 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
15538 system header.
15539 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
15540 Likewise.
15541 (sydep_routines): Add the new and the internal functions.
15542 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
15543 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
15544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
15545 (GLIBC_2.17): Add the new function.
15546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15547 (GLIBC_2.17): Likewise.
15548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
15549 (GLIBC_2.17): Likewise.
15550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
15551 (GLIBC_2.17): Likewise.
15552 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
15553
7e2fca8d
AM
155542012-09-25 Alan Modra <amodra@gmail.com>
15555
15556 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
15557 Add release barrier before setting once_control to say
15558 initialisation is done. Add hints on lwarx. Use macro in
15559 place of isync.
15560 (clear_once_control): Add release barrier.
15561
b87c4b24
JM
155622012-09-25 Joseph Myers <joseph@codesourcery.com>
15563
d032e0d2
JM
15564 [BZ #13629]
15565 * math/s_clog.c (__clog): Handle more values close to |z| = 1
15566 specially.
15567 * math/s_clog10.c (__clog10): Likewise.
15568 * math/s_clog10f.c (__clog10f): Likewise.
15569 * math/s_clog10l.c (__clog10l): Likewise.
15570 * math/s_clogf.c (__clogf): Likewise.
15571 * math/s_clogl.c (__clogl): Likewise.
15572 * math/Makefile (libm-calls): Add x2y2m1.
15573 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
15574 (__x2y2m1): Likewise.
15575 (__x2y2m1l): Likewise.
15576 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
15577 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
15578 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15579 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15580 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
15581 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
15582 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
15583 * sysdeps/i386/fpu/libm-test-ulps: Update.
15584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15585
b87c4b24
JM
15586 [BZ #14621]
15587 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
15588 int as type of variable DEPTH.
15589 (glob): Use size_t instead of int as type of variables NEWCOUNT
15590 and OLD_PATHC.
15591
6d3bf199
LD
155922012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15593
22bf5c17
LD
15594 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15595 Add s_sincosf-sse2.
15596 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
15597 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
15598 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
15599 macros for using routine as __sincosf_ia32.
15600 Use macro for function declaration and weak_alias.
15601 * sysdeps/i386/fpu/libm-test-ulps: Update.
15602
15603 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
15604 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15605
15606 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
15607 subnormal argument.
15608 * math/s_cexpf.c (__cexpf): Likewise.
15609 * math/s_csinf.c (__csinf): Likewise.
15610 * math/s_csinhf.c (__csinhf): Likewise.
15611 * math/s_ctanf.c (__ctanf): Likewise.
15612 * math/s_ctanhf.c (__ctanhf): Likewise.
15613 * math/s_ccosh.c (__ccoshf): Likewise.
15614 * math/s_cexp.c (__cexpl): Likewise.
15615 * math/s_csin.c (__csin): Likewise.
15616 * math/s_csinh.c (__csinh): Likewise.
15617 * math/s_ctan.c (__ctan): Likewise.
15618 * math/s_ctanh.c (ctanh): Likewise.
15619 * math/s_ccoshl.c (__ccoshl): Likewise.
15620 * math/s_cexpl.c (__cexpl): Likewise.
15621 * math/s_csinl.c (__csinl): Likewise.
15622 * math/s_csinhl.c (__csinhl): Likewise.
15623 * math/s_ctanl.c (__ctanl): Likewise.
15624 * math/s_ctanhl.c (__ctanhl): Likewise.
15625
203e5603
JM
156262012-09-25 Joseph Myers <joseph@codesourcery.com>
15627
15628 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
15629 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
15630 (_IO_off_t): Define to __off_t, not _G_off_t.
15631 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
15632 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
15633 (_IO_wint_t): Define to wint_t, not _G_wint_t.
15634 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
15635 type of __dummy and __dummy2 fields.
15636 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
15637 (_G_ssize_t): Likewise.
15638 (_G_off_t): Likewise.
15639 (_G_pid_t): Likewise.
15640 (_G_uid_t): Likewise.
15641 (_G_wchar_t): Likewise.
15642 (_G_wint_t): Likewise.
15643 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
15644 (_G_ssize_t): Likewise.
15645 (_G_off_t): Likewise.
15646 (_G_pid_t): Likewise.
15647 (_G_uid_t): Likewise.
15648 (_G_wchar_t): Likewise.
15649 (_G_wint_t): Likewise.
15650 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
15651 (_G_ssize_t): Likewise.
15652 (_G_off_t): Likewise.
15653 (_G_pid_t): Likewise.
15654 (_G_uid_t): Likewise.
15655 (_G_wchar_t): Likewise.
15656 (_G_wint_t): Likewise.
15657
9fab36eb
SP
156582012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15659
15660 * malloc/arena.c: Include malloc-sysdep.h.
15661 (shrink_heap): Use check_may_shrink_heap to decide if madvise
15662 is sufficient to shrink the heap or an unmap is needed.
15663 * sysdeps/generic/malloc-sysdep.h: New file. Define
15664 new function check_may_shrink_heap.
15665 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
15666 new function check_may_shrink_heap.
15667
2b4f00d1
SP
156682012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15669
15670 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
15671 comments.
15672
9a9028b1
DL
156732012-09-24 Dmitry V. Levin <ldv@altlinux.org>
15674
57c69bef
DL
15675 * catgets/test-gencat.sh: Add "set -e".
15676 * elf/tst-pathopt.sh: Likewise.
15677 * grp/tst_fgetgrent.sh: Likewise.
15678 * iconvdata/run-iconv-test.sh: Likewise.
15679 * intl/tst-gettext.sh: Likewise.
15680 * intl/tst-gettext2.sh: Likewise.
15681 * intl/tst-gettext4.sh: Likewise.
15682 * intl/tst-gettext6.sh: Likewise.
15683 * intl/tst-translit.sh: Likewise.
15684 * io/ftwtest-sh: Likewise.
15685 * libio/test-freopen.sh: Likewise.
15686 * malloc/tst-mtrace.sh: Likewise.
15687 * posix/globtest.sh: Likewise.
15688 * posix/tst-getconf.sh: Likewise.
15689 * posix/wordexp-tst.sh: Likewise.
15690 * stdio-common/tst-printf.sh: Likewise.
15691 * stdio-common/tst-unbputc.sh: Likewise.
15692 * stdlib/tst-fmtmsg.sh: Likewise.
15693 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15694 * catgets/Makefile: Do not specify -e option when running
15695 testsuite shell scripts.
15696 * elf/Makefile: Likewise.
15697 * grp/Makefile: Likewise.
15698 * iconvdata/Makefile: Likewise.
15699 * intl/Makefile: Likewise.
15700 * io/Makefile: Likewise.
15701 * libio/Makefile: Likewise.
15702 * malloc/Makefile: Likewise.
15703 * posix/Makefile: Likewise.
15704 * stdio-common/Makefile: Likewise.
15705 * stdlib/Makefile: Likewise.
15706 * sysdeps/x86_64/Makefile: Likewise.
15707
9a9028b1
DL
15708 * io/ftwtest-sh: Add copyright header.
15709 * posix/globtest.sh: Likewise.
15710 * posix/tst-getconf.sh: Likewise.
15711 * posix/wordexp-tst.sh: Likewise.
15712 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15713
ced6f16e
L
157142012-09-24 H.J. Lu <hongjiu.lu@intel.com>
15715
94b32c39
L
15716 [BZ #13679]
15717 * Makeconfig (+link): Defined as $(+link-static) if
15718 $(build-shared) isn't yes.
15719 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
15720 isn't yes.
15721 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
15722
189e935b
L
15723 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
15724
ced6f16e
L
15725 [BZ #14562]
15726 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
15727 new chunk size with MALLOC_ALIGN_MASK.
15728
a9f8e53a
JM
157292012-09-24 Joseph Myers <joseph@codesourcery.com>
15730
15731 [BZ #5044]
15732 * stdio-common/printf_fphex.c: Include <stdbool.h> and
15733 <rounding-mode.h>.
15734 (__printf_fphex): Determine rounding using get_rounding_mode and
15735 round_away.
15736 * stdio-common/tst-printf-round.c (struct hex_test): New
15737 structure.
15738 (hex_tests): New variable.
15739 (test_hex_in_one_mode): New function.
15740 (do_test): Also run tests for hex float output.
15741
43153109
JM
157422012-09-21 Joseph Myers <joseph@codesourcery.com>
15743
15744 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15745 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15746 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
15747 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15748 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15749 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
15750 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15751 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15752
8a26625d
JM
157532012-09-20 Joseph Myers <joseph@codesourcery.com>
15754
15755 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
15756 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
15757 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
15758 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
15759
f3fd569c
DL
157602012-09-19 Dmitry V. Levin <ldv@altlinux.org>
15761
15762 [BZ #14579]
15763 * elf/rtld.c (dl_main): Limit the check for self loading to normal
15764 mode only.
15765 * elf/tst-rtld-load-self.sh: New test.
15766 * elf/Makefile: Run it.
15767
63bbedd4
JM
157682012-09-18 Joseph Myers <joseph@codesourcery.com>
15769
15770 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
15771 (tst-writev-ENV): Remove.
15772 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
15773
626f8b6a
CM
157742012-09-17 Chris Metcalf <cmetcalf@tilera.com>
15775
15776 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
15777
b7aaa4d6
JM
157782012-09-17 Joseph Myers <joseph@codesourcery.com>
15779
15780 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
15781 unconditional.
15782 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
15783 Likewise.
15784 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
15785 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
15786 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
15787 Likewise.
15788
65513990
L
157892012-09-14 H.J. Lu <hongjiu.lu@intel.com>
15790
15791 [BZ #14587]
15792 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
15793 * config.make.in (have-cpp-asm-debuginfo): Removed.
15794 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
15795 * configure: Regenerated.
15796
784761be
JM
157972012-09-14 Joseph Myers <joseph@codesourcery.com>
15798
15799 [BZ #5044]
15800 * stdio-common/printf_fp.c: Include <stdbool.h> and
15801 <rounding-mode.h>.
15802 (___printf_fp): Determine rounding using get_rounding_mode and
15803 round_away.
15804 * stdio-common/tst-printf-round.c: New file.
15805 * stdio-common/Makefile (tests): Add tst-printf-round.
15806 (link-libm): New variable.
15807 ($(objpfx)tst-printf-round): Depend in $(link-libm).
15808
9503345f
L
158092012-09-13 H.J. Lu <hongjiu.lu@intel.com>
15810
15811 [BZ #14576]
15812 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
15813 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
15814 Likewise.
15815 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
15816 Likewise.
15817
ad35fc00
JM
158182012-09-13 Joseph Myers <joseph@codesourcery.com>
15819
15820 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
15821 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15822 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15823 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15824
6c9b0f68
JM
158252012-09-12 Joseph Myers <joseph@codesourcery.com>
15826
15827 [BZ #14518]
15828 * include/rounding-mode.h: New file.
15829 * sysdeps/generic/get-rounding-mode.h: Likewise.
15830 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
15831 * stdlib/strtod_l.c: Include <rounding-mode.h>.
15832 (MAX_VALUE): New macro.
15833 (MIN_VALUE): Likewise.
15834 (overflow_value): New function.
15835 (underflow_value): Likewise.
15836 (round_and_return): Use overflow_value and underflow_value to
15837 determine return values in overflow and underflow cases. Use
15838 round_away to determine rounding depending on rounding mode.
15839 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
15840 determine return values in overflow and underflow cases.
15841 * stdlib/tst-strtod-round.c: Include <fenv.h>.
15842 (struct test_results): New structure.
15843 (struct test): Use struct test_results to store expected results
15844 for all rounding modes.
15845 (TEST): Include expected results for all rounding modes.
15846 (test_in_one_mode): New function.
15847 (do_test): Use test_in_one_mode to compute and check results.
15848 Check results for all rounding modes.
15849 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
15850 $(link-libm).
15851
19fcedd5
AM
158522012-12-09 Allan McRae <allan@archlinux.org>
15853
1e9d84cd 15854 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 15855
8bbfd2f1
JM
158562012-09-11 Joseph Myers <joseph@codesourcery.com>
15857
15858 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
15859 (_G_int32_t): Likewise.
15860 (_G_uint16_t): Likewise.
15861 (_G_uint32_t): Likewise.
15862 (_G_HAVE_BOOL): Likewise.
15863 (_G_HAVE_ATEXIT): Likewise.
15864 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15865 (_G_HAVE_IO_FILE_OPEN): Likewise.
15866 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
15867 (_G_int32_t): Likewise.
15868 (_G_uint16_t): Likewise.
15869 (_G_uint32_t): Likewise.
15870 (_G_HAVE_BOOL): Likewise.
15871 (_G_HAVE_ATEXIT): Likewise.
15872 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15873 (_G_HAVE_IO_FILE_OPEN): Likewise.
15874 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
15875 (_G_int32_t): Likewise.
15876 (_G_uint16_t): Likewise.
15877 (_G_uint32_t): Likewise.
15878 (_G_HAVE_BOOL): Likewise.
15879 (_G_HAVE_ATEXIT): Likewise.
15880 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15881 (_G_HAVE_IO_FILE_OPEN): Likewise.
15882
b1dc5912
L
158832012-09-11 H.J. Lu <hongjiu.lu@intel.com>
15884
15885 * csu/libc-tls.c: Update copyright years.
15886
0e886ef9
JM
158872012-09-10 Joseph Myers <joseph@codesourcery.com>
15888
28361c5e
JM
15889 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
15890 [!_G_USING_THUNKS]: Remove conditional code.
15891 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
15892 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
15893
0e886ef9
JM
15894 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
15895 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
15896 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15897 (_G_VTABLE_LABEL_PREFIX): Likewise.
15898 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15899 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15900 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15901 (_G_VTABLE_LABEL_PREFIX): Likewise.
15902 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15903 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15904 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15905 (_G_VTABLE_LABEL_PREFIX): Likewise.
15906 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15907
bcba7aa2
L
159082012-09-10 H.J. Lu <hongjiu.lu@intel.com>
15909
15910 * libio/Makefile: Include ../Makeconfig before tests.
15911 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
15912 only if $(build-shared) is yes.
15913
06585ee8
L
15914 * iconv/gconv_db.c: Update copyright years.
15915
80ccd52c
LD
159162012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15917
15918 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
15919 unwind info if defined PIC. Fix special cases description.
15920 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
15921
15922 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
15923 DP_HI_MASK entry.
15924 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
15925
691bc9c1
L
159262012-09-07 H.J. Lu <hongjiu.lu@intel.com>
15927
3d9b46b3
L
15928 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
15929
de2139a9
L
15930 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
15931 is NULL.
15932
5ca78dd0
L
15933 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
15934 (LDLIBS-tst-chk4): This.
15935 (LDFLAGS-tst-chk5): Renamed to ...
15936 (LDLIBS-tst-chk5): This.
15937 (LDFLAGS-tst-chk6): Renamed to ...
15938 (LDLIBS-tst-chk6): This.
15939 (LDFLAGS-tst-lfschk4): Renamed to ...
15940 (LDLIBS-tst-lfschk4): This.
15941 (LDFLAGS-tst-lfschk5): Renamed to ...
15942 (LDLIBS-tst-lfschk5): This.
15943 (LDFLAGS-tst-lfschk6): Renamed to ...
15944 (LDLIBS-tst-lfschk6): This.
15945
691bc9c1
L
15946 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
15947 on $(common-objpfx)soversions.mk.
15948
65cafb1c
JM
159492012-09-07 Joseph Myers <joseph@codesourcery.com>
15950
15951 [BZ #10014]
15952 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
15953 example host name.
15954
c78ab094
SP
159552012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15956
15957 * malloc/arena.c (arena_get_retry): New function that gets
15958 another arena for the caller to try its request on.
15959 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
15960 current arena cannot fulfill the request.
15961 (__libc_memalign): Likewise.
15962 (__libc_memalign): Likewise.
15963 (__libc_pvalloc): Likewise.
15964 (__libc_calloc): Likewise.
15965
01f49f59
JT
159662012-09-05 John Tobey <john.tobey@gmail.com>
15967
15968 [BZ #13542]
15969 * manual/arith.texi (Operations on Complex): Fix description
15970 of carg branch cut.
15971
4c23fed5
JM
159722012-09-06 Joseph Myers <joseph@codesourcery.com>
15973
1d3c8572
JM
15974 [BZ #10014]
15975 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
15976 host name.
15977
4c23fed5
JM
15978 [BZ #10038]
15979 * manual/memory.texi (Memory): Make order of menu items match
15980 order of sections.
15981
04570aaa
L
159822012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15983
15984 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
15985 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
15986 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
15987
b80af2f4
L
159882012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15989
15990 * csu/libc-tls.c (static_dtv): Renamed to ...
15991 (_dl_static_dtv): This. Make it global.
15992 (_dl_initial_dtv): Removed.
15993 (__libc_setup_tls): Updated.
15994 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
15995 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
15996 DL_INITIAL_DTV.
15997
2abe9f15
PM
159982012-09-06 Petr Machata <pmachata@redhat.com>
15999
16000 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
16001 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
16002 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
16003 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
16004
0948c3af
L
160052012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16006
16007 [BZ #14545]
16008 * csu/libc-tls.c (_dl_initial_dtv): New variable.
16009 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
16010 freeing dtv[-1].
16011
a5055ad1
L
160122012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16013
16014 [BZ #14544]
16015 * Makeconfig (link-static-before-libc): Replace $(+prector)
16016 with $(+prectorT).
16017 (link-static-after-libc): Replace $(+postctor) with
16018 $(+postctorT).
16019 (link-bounded): Replace $(+prector)/$(+postctor) with
16020 $(+prectorT)/$(+postctorT).
16021 (+prectorT): New macro.
16022 (+postctorT): Likewise.
16023
ed8c2ecd
JM
160242012-09-06 Joseph Myers <joseph@codesourcery.com>
16025
16026 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
16027 (round_str): Handle values above the maximum for IBM long double
16028 as inexact.
16029 * stdlib/tst-strtod-round.c (tests): Regenerated.
16030
14c996c8
AK
160312012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16032
16033 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
16034 assembler flag.
16035 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
16036 zarch_nohighgprs around the zarch optimized routines.
16037 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
16038 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
16039 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
16040 for zarch.
16041
430d6ce6
DM
160422012-09-05 David S. Miller <davem@davemloft.net>
16043
16044 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16045
ff04dda4
DM
16046 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
16047 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
16048 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
16049 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16050 entries.
16051
24d4e01b
AO
160522012-09-05 Alexandre Oliva <aoliva@redhat.com>
16053
16054 * malloc/arena.c: Fold copyright years.
16055 * malloc/mcheck.c, malloc/memusage.c: Likewise.
16056
61d58174
AO
160572012-09-05 Alexandre Oliva <aoliva@redhat.com>
16058
16059 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
16060
20196a5e
AO
160612012-09-05 Alexandre Oliva <aoliva@redhat.com>
16062
16063 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
16064
5c447383
AO
160652012-09-05 Alexandre Oliva <aoliva@redhat.com>
16066
16067 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
16068 change internal state upon failure.
16069
fad64255
AO
160702012-09-05 Alexandre Oliva <aoliva@redhat.com>
16071
16072 * malloc/mcheck.c (mcheck_check_all): Fix typo.
16073 * malloc/memusage.c (mmap): Likewise.
16074 (mmap64, mremap): Likewise. Adjust name in comment.
16075
1ffb8c90
SP
160762012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16077
16078 * libio/fileops.c: Fix typos in comments.
16079 * libio/oldfileops.c: Likewise.
16080 * libio/wfileops.c: Likewise.
16081
6ef9cc37
SP
160822012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16083
16084 [BZ #1349]
16085 * malloc/Makefile (tests): Add tst-malloc-usable test case.
16086 (tst-malloc-usable-ENV): Set environment for test case.
16087 * malloc/hooks.c (malloc_check_get_size): New function to get
16088 requested size.
16089 * malloc/malloc.c (musable): Use malloc_check_get_size.
16090 * malloc/tst-malloc-usable.c: New test case.
16091
4d038ae3
AS
160922012-09-05 Andreas Schwab <schwab@linux-m68k.org>
16093
16094 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
16095
c4e85184
AM
160962012-09-05 Allan McRae <allan@archlinux.org>
16097
b9dafc56 16098 [BZ #13966]
c4e85184
AM
16099 * configure.in (CXX_SYSINCLUDES): Use compiler output to
16100 determine header location.
16101 * configure: Regenerated.
16102
e1343020
AS
161032012-09-05 Andreas Schwab <schwab@linux-m68k.org>
16104
16105 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
16106 float format.
16107 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
16108 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
16109 format.
e1343020
AS
16110 (test): Regenerate.
16111
0a9f1987
DM
161122012-09-04 David S. Miller <davem@davemloft.net>
16113
16114 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
16115 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
16116 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
16117
29237804
FW
161182012-09-04 Florian Weimer <fweimer@redhat.com>
16119
16120 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
16121 failures.
16122
edb3cb88
FW
16123 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
16124
60160d83
JM
161252012-09-04 Joseph Myers <joseph@codesourcery.com>
16126
16127 [BZ #9914]
16128 * libio/iogetdelim.c: Include <limits.h>.
16129 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
16130 + len + 1 would overflow.
16131
bcd6c8dc
AJ
161322012-09-03 Andreas Jaeger <aj@suse.de>
16133
16134 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16135 * sysdeps/i386/fpu/libm-test-ulps: Update.
16136
4ffffbd2
LD
161372012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16138
16139 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16140 Add s_sinf-sse2, s_conf-sse2.
16141
16142 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
16143 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
16144 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
16145 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
16146
16147 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
16148 for using routine as __sinf_ia32.
16149 Use macro for function declaration and weak_alias.
16150 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
16151 for using routine as __cosf_ia32.
16152 Use macro for function declaration and weak_alias.
16153
16154 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
16155 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
16156
16157 * sysdeps/x86_64/fpu/s_sinf.S: New file.
16158 * sysdeps/x86_64/fpu/s_cosf.S: New file.
16159 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16160
16161 * math/libm-test.inc (cos_test): Add more test cases.
16162 (sin_test): Likewise.
16163 (sincos_test): Likewise.
16164
511fa286
AK
161652012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16166
16167 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
16168 (IFUNC_RESOLVE): Make pointers to the specialized implementations
16169 hidden.
16170 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16171
5f30cfec
L
161722012-09-02 H.J. Lu <hongjiu.lu@intel.com>
16173
16174 [BZ #14538]
16175 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
16176 first element of the GOT.
16177 (elf_machine_load_address): Return the difference between
16178 the runtime address of _DYNAMIC and elf_machine_dynamic ().
16179
0786794f
AM
161802012-09-01 Allan McRae <allan@archlinux.org>
16181
5f30cfec
L
16182 [BZ #13412]
16183 * configure.in (AWK): Require gawk version 3.0 or later.
16184 * configure: Regenerated.
0786794f 16185
26889eac
JM
161862012-09-01 Joseph Myers <joseph@codesourcery.com>
16187
16188 * sysdeps/unix/sysv/linux/kernel-features.h
16189 (__ASSUME_POSIX_CPU_TIMERS): Remove.
16190 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16191 [__NR_clock_getres]: Make code unconditional.
16192 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
16193 (clock_getcpuclockid): Remove code left unreachable by removal of
16194 conditionals.
16195 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
16196 code unconditional.
16197 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16198 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16199 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
16200 Make code unconditional.
16201 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16202 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16203 * sysdeps/unix/sysv/linux/clock_settime.c
16204 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
16205 conditional code.
16206 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
16207 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16208
d22e28b0
L
162092012-08-29 H.J. Lu <hongjiu.lu@intel.com>
16210
16211 [BZ #14476]
16212 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
16213 scripts/test-installation.pl.
16214
16215 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
16216 and $ld_so_version if it is set.
16217
050af9c4
SP
162182012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16219
16220 [BZ #14516]
16221 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
16222 failure if reading from procfs failed.
16223 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
16224
ad845c0b
JM
162252012-08-27 Joseph Myers <joseph@codesourcery.com>
16226
16227 * sysdeps/unix/sysv/linux/kernel-features.h
16228 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
16229 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16230 Remove conditional code.
16231 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16232 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
16233 Remove conditional code.
16234 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16235 * sysdeps/unix/sysv/linux/i386/fxstat.c
16236 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16237 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16238 * sysdeps/unix/sysv/linux/i386/fxstatat.c
16239 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16240 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16241 * sysdeps/unix/sysv/linux/i386/lxstat.c
16242 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16243 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16244 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
16245 Remove conditional code.
16246 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16247 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16248 Remove conditional code.
16249 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16250 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
16251 <kernel-features.h>.
16252 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
16253 Remove.
16254 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
16255 Remove conditional code.
16256 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16257 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
16258 Remove conditional.
16259
5dbf56af
MF
162602012-08-27 Mike Frysinger <vapier@gentoo.org>
16261
16262 [BZ #5400]
16263 * NEWS: Add fixed bug number.
16264
d6e70f43
JM
162652012-08-27 Joseph Myers <joseph@codesourcery.com>
16266
7efb4737
JM
16267 [BZ #14519]
16268 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
16269 underflowing exponent in case of negative sign.
16270 * stdlib/tst-strtod-round-data: Add more tests.
16271 * stdlib/tst-strtod-round.c (tests): Regenerated.
16272
af92131a
JM
16273 [BZ #3479]
16274 * stdlib/strtod_l.c (NDIG): Remove.
16275 (HEXNDIG): Likewise.
16276 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
16277 smallest representable value.
16278 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
16279 lie within an exact representation of 1/2 ulp of the result.
16280 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
16281 unconditionally.
16282 (TENS_P9_IDX): Define unconditionally.
16283 (TENS_P9_SIZE): Likewise.
16284 (TENS_P10_IDX): Likewise.
16285 (TENS_P10_SIZE): Likewise.
16286 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
16287 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
16288 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
16289 entries for 10^2^13 and 10^2^14.
16290 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
16291 (TENS_P13_IDX): Define.
16292 (TENS_P13_SIZE): Likewise.
16293 (TENS_P14_IDX): Likewise.
16294 (TENS_P14_SIZE): Likewise.
16295 (_fpioconst_pow10): Change array size to
16296 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
16297 unconditional.
16298 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
16299 1024]: Add entries for 10^2^13 and 10^2^14.
16300 [LAST_POW10 > _LAST_POW10]: Remove #error.
16301 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
16302 (_fpioconst_pow10): Change array size to
16303 FPIOCONST_POW10_ARRAY_SIZE.
16304 * stdlib/gen-fpioconst.c: New file.
16305 * stdlib/gen-tst-strtod-round.c: Likewise.
16306 * stdlib/tst-strtod-round-data: Likewise.
16307 * stdlib/tst-strtod-round.c: Likewise.
16308 * stdlib/Makefile (tests): Add tst-strtod-round.
16309
d6e70f43
JM
16310 [BZ #14459]
16311 * stdlib/strtod_l.c: Include <stdint.h>.
16312 (NDEBUG): Do not define.
16313 (round_and_return): Change EXPONENT parameter to type intmax_t.
16314 Rearrange calculations to avoid internal overflow possibilities.
16315 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
16316 Rearrange calculations to avoid internal overflow possibilities.
16317 Assert that number fits inside MPNSIZE limbs.
16318 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
16319 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
16320 calculations and add assertions to avoid internal overflow
16321 possibilities. Add casts to avoid signed/unsigned operations.
16322 * stdlib/tst-strtod-overflow.c: New file.
16323 * stdlib/Makefile (tests): Add tst-strtod-overflow.
16324
1f529f7d
MP
163252012-08-25 Marek Polacek <polacek@redhat.com>
16326
16327 * time/time.h: Fix some typos in comments.
16328
59a629f1
RM
163292012-08-23 Roland McGrath <roland@hack.frob.com>
16330
16331 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
16332 * posix/tst-rfc3484-2.c: Likewise.
16333 * posix/tst-rfc3484-3.c: Likewise.
16334
d3bafbc9
SM
163352012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
16336
16337 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
16338 (EF_ARM_ABI_FLOAT_HARD): Likewise.
16339
4efcc022
JM
163402012-08-23 Joseph Myers <joseph@codesourcery.com>
16341
16342 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
16343 #include of fxstatat64.c.
16344
3cc3ef96
RM
163452012-08-22 Roland McGrath <roland@hack.frob.com>
16346
f04e2132
RM
16347 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
16348 * shadow/getspent_r.c: Likewise.
16349 * shadow/getspnam.c: Likewise.
16350 * shadow/getspnam_r.c: Likewise.
16351 * gshadow/getsgent.c: Likewise.
16352 * gshadow/getsgent_r.c: Likewise.
16353 * gshadow/getsgnam.c: Likewise.
16354 * gshadow/getsgnam_r.c: Likewise.
16355 * inet/getnetbyad.c: Likewise.
16356 * inet/getnetbyad_r.c: Likewise.
16357 * inet/getnetbynm.c: Likewise.
16358 * inet/getnetbynm_r.c: Likewise.
16359 * inet/getnetent.c: Likewise.
16360 * inet/getnetent_r.c: Likewise.
16361 * inet/getproto.c: Likewise.
16362 * inet/getproto_r.c: Likewise.
16363 * inet/getprtent.c: Likewise.
16364 * inet/getprtent_r.c: Likewise.
16365 * inet/getprtname.c: Likewise.
16366 * inet/getprtname_r.c: Likewise.
16367 * inet/getrpcbyname.c: Likewise.
16368 * inet/getrpcbyname_r.c: Likewise.
16369 * inet/getrpcbynumber.c: Likewise.
16370 * inet/getrpcbynumber_r.c: Likewise.
16371 * inet/getrpcent.c: Likewise.
16372 * inet/getrpcent_r.c: Likewise.
16373 * inet/getaliasent.c: Likewise.
16374 * inet/getaliasent_r.c: Likewise.
16375 * inet/getaliasname.c: Likewise.
16376 * inet/getaliasname_r.c: Likewise.
16377 * nscd/getgrgid_r.c: Likewise.
16378 * nscd/getgrnam_r.c: Likewise.
16379 * nscd/gethstbyad_r.c: Likewise.
16380 * nscd/gethstbynm3_r.c: Likewise.
16381 * nscd/getpwnam_r.c: Likewise.
16382 * nscd/getpwuid_r.c: Likewise.
16383 * nscd/getsrvbynm_r.c: Likewise.
16384 * nscd/getsrvbypt_r.c: Likewise.
16385 * nscd/gai.c: Likewise.
16386
c53d909c
RM
16387 * configure.in (build_nscd): New substituted variable, set
16388 by --disable-build-nscd and defaults to $use_nscd.
16389 * configure: Regenerated.
16390 * config.make.in (build-nscd): New substituted variable.
16391 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
16392 Change conditional to require [$(build-nscd) = yes] as well.
16393 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
16394
3cc3ef96
RM
16395 [BZ# 13696]
16396 * configure.in (use_nscd): New substituted variable, set by
16397 --disable-nscd. If enabled, define USE_NSCD.
16398 * configure: Regenerated.
16399 * config.h.in: Add USE_NSCD.
16400 * config.make.in (use-nscd): New substituted variable.
16401 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
16402 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
16403 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
16404 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
16405 (CFLAGS-getgrnam_r.c): Likewise.
16406 (CFLAGS-initgroups.c): Likewise.
16407 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
16408 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
16409 Variables removed.
16410 * inet/getnetgrent_r.c
16411 (nscd_setnetgrent): New function, broken out of ...
16412 (setnetgrent): ... here. Call it.
16413 (innetgr): Conditionalize nscd bits on [USE_NSCD].
16414 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
16415 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
16416 * nscd/Makefile (routines, aux): Move definitions after include of
16417 Makeconfig. Conditionalize on [$(use-nscd) != no].
16418 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
16419 Conditionalize on [USE_NSCD].
16420 (is_nscd, nscd_init_cb): Likewise.
16421 (nss_load_library): Conditionalize init callback on [USE_NSCD].
16422 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
16423 * nss/nss_db/db-init.c: Likewise.
16424 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
16425 [USE_NSCD].
16426 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
16427 (make_request): Use it.
16428 (cache_valid_p): New function.
16429 (__check_pf): Use it.
16430 * NEWS: Add item for --disable-nscd.
16431
07e51550
DL
164322012-08-22 Dmitry V. Levin <ldv@altlinux.org>
16433
16434 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
16435 to support sed >= 4.2.1-20-ga9bf076.
16436 * configure: Regenerated.
16437
35a5b08b
RM
164382012-08-22 Roland McGrath <roland@hack.frob.com>
16439
16440 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
16441 Conditionalize whole body on [IREL].
16442
8479f23a
JL
164432012-08-22 Jeff Law <law@redhat.com>
16444
16445 [BZ #14505]
16446 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
16447 if the family is PF_UNSPEC.
16448
48da0b21
MF
164492012-08-22 Mike Frysinger <vapier@gentoo.org>
16450
16451 * Makerules (lib-version): Rename from V.
16452 (install-lib-nosubdir): Change V to lib-version.
16453
15d0da8c
WS
164542012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
16455
16456 [BZ #14252]
16457 * powerpc32/power6/wcschr.c: New file.
16458 * powerpc32/power6/wcscpy.c: New file.
16459 * powerpc32/power6/wcsrchr.c: New file.
16460 * powerpc64/power6/wcschr.c: New file.
16461 * powerpc64/power6/wcscpy.c: New file.
16462 * powerpc64/power6/wcsrchr.c: New file.
16463
bcca0895
MK
164642012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
16465
16466 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
16467 (two_way_short_needle): Use it.
5a4aaa33
RM
16468 * string/strstr.c (AVAILABLE1_USES_J): Define.
16469 * string/strcasestr.c: Likewise.
99677e57
MK
16470
16471 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
16472 array references.
16473 * string/strcasestr.c (TOLOWER): Make side-effect safe.
16474
400726de
MK
16475 [BZ #11607]
16476 * NEWS: Add an entry.
16477 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
16478 define their defaults.
16479 (two_way_short_needle): Detect end-of-string on-the-fly.
16480 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
16481 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
16482 * string/bug-strcasestr1.c: New test.
16483 * string/Makefile: Run it.
16484
20a71f2c
MK
164852012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
16486
16487 [BZ #11607]
16488 * string/str-two-way.h (two_way_short_needle): Optimize matching of
16489 the first character.
16490
21ad0558
RM
164912012-08-21 Roland McGrath <roland@hack.frob.com>
16492
16493 * csu/elf-init.c (__libc_csu_irel): Function removed.
16494 * csu/libc-start.c (apply_irel): New function.
16495 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
16496
0e1d9911
JM
164972012-08-21 Joseph Myers <joseph@codesourcery.com>
16498
16499 * sysdeps/unix/sysv/linux/kernel-features.h
16500 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
16501 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16502 <kernel-features.h>.
16503 [__NR_fadvise64_64]: Make code unconditional.
16504 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
16505 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16506 !__NR_fadvise64_64)]: Likewise.
16507 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16508 !__NR_fadvise64_64))]: Likewise.
16509 [__NR_fadvise64]: Make code unconditional.
16510 [!__NR_fadvise64]: Remove conditional code.
16511 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
16512 <kernel-features.h>.
16513 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16514 unconditional.
16515 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16516 conditional code.
16517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
16518 not include <kernel-features.h>.
16519 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16520 unconditional.
16521 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16522 conditional code.
16523 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
16524 include <kernel-features.h>.
16525 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16526 unconditional.
16527 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16528 conditional code.
16529
14a50c9d
WS
165302012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16531
16532 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
16533 slight instruction rearrangements per scrollpipe analysis.
16534 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16535
c0f4faf0
RM
165362012-08-20 Roland McGrath <roland@hack.frob.com>
16537
696da859
RM
16538 * manual/syslog.texi (syslog; vsyslog, closelog):
16539 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
16540 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
16541
c0f4faf0
RM
16542 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
16543 DSOCAPS to match condition on defining it.
16544
348363b2
JM
165452012-08-20 Joseph Myers <joseph@codesourcery.com>
16546
a35cbf28
JM
16547 * sysdeps/unix/sysv/linux/kernel-features.h
16548 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
16549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
16550 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16551 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
16553 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16554 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
16556 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16557 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16558
445f7ecd
JM
16559 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
16560 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
16561
348363b2
JM
16562 * sysdeps/unix/sysv/linux/kernel-features.h
16563 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
16564 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
16565 unconditional.
16566 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16567 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
16568 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16569 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16570 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
16571 Make code unconditional.
16572 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16573 (__mmap64) [!__NR_mmap2]: Likewise.
16574 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
16575 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16576 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16577 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
16578 [__NR_mmap2]: Make code unconditional.
16579 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16580 (__mmap64) [!__NR_mmap2]: Likewise.
16581
bc5bc0e5
AK
165822012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16583
16584 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
16585
88d506de
AJ
165862012-08-18 Andreas Jaeger <aj@suse.de>
16587
16588 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
16589
493387d2
MF
165902012-08-18 Mike Frysinger <vapier@gentoo.org>
16591
16592 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
16593 * include/unistd.h (__have_sock_cloexec): Likewise.
16594 (__have_pipe2): Likewise.
16595 (__have_dup3): Likewise.
16596
a277af22
MF
165972012-08-18 Mike Frysinger <vapier@gentoo.org>
16598
16599 [BZ #9685]
16600 * include/unistd.h (__have_pipe2): Change define into an extern int.
16601 (__have_dup3): Likewise.
16602 * socket/have_sock_cloexec.c: Include fcntl.h.
16603 (__have_pipe2): New variable.
16604 (__have_dup3): Likewise.
16605
fdab8fd3
MF
166062012-08-17 Mike Frysinger <vapier@gentoo.org>
16607
16608 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
16609
31035e80
MP
166102012-08-17 Marek Polacek <polacek@redhat.com>
16611
16612 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
16613 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
16614
3bd9e993
RM
166152012-08-17 Roland McGrath <roland@hack.frob.com>
16616
c91c505f
RM
16617 * configure.in: Add AC_SUBST for sysheaders.
16618 * configure: Regenerated.
16619 * config.make.in (sysheaders): New substituted variable.
16620
7c6f9d53
RM
16621 * sysdeps/unix/mkfifo.c: Moved ...
16622 * sysdeps/posix/mkfifo.c: ... here.
16623 * sysdeps/unix/mkfifoat.c: Moved ...
16624 * sysdeps/posix/mkfifoat.c: ... here.
16625
16626 * sysdeps/unix/utime.c: Moved ...
16627 * sysdeps/posix/utime.c: ... here.
16628
16629 * sysdeps/unix/time.c: Moved ...
16630 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
16631 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
16632 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
16633
16634 * sysdeps/unix/nice.c: Moved ...
16635 * sysdeps/posix/nice.c: ... here.
16636
16637 * sysdeps/unix/alarm.c: Moved ...
16638 * sysdeps/posix/alarm.c: ... here.
16639
3bd9e993
RM
16640 * intl/Makefile ($(codeset_mo)): Depend on the input file.
16641
d1f09384
JL
166422012-08-17 Jeff Law <law@redhat.com>
16643
16644 * intl/Makefile (codeset_mo): New variable.
16645 ($(codeset_mo)): New target.
16646 (tst-codeset.out): Depend on that. Remove explicit rule.
16647 (tst-gettext3.out, tst-gettext5.out): Likewise.
16648 (LOCPATH-ENV, tst-codeset-ENV): New variables.
16649 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
16650 * intl/tst-codeset.sh: Remove.
16651 * intl/tst-gettext3.sh: Likewise.
16652 * intl/tst-gettext5.sh: Likewise.
16653
2ae1ae5c
RM
166542012-08-17 Roland McGrath <roland@hack.frob.com>
16655
c31fdb83
RM
16656 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
16657 * sysdeps/unix/syscalls.list: ... here.
16658
a0844057
RM
16659 * sysdeps/posix/getaddrinfo.c
16660 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
16661 (gaiconf_init, gaiconf_reload): Use them.
16662 [!_STATBUF_ST_NSEC]
16663 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
16664 Define using time_t rather than struct timespec.
16665
750c1f2a
RM
16666 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
16667 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
16668 Macros removed.
16669 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
16670 [!NO_THREADS].
16671 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
16672 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
16673 Likewise.
16674
2ae1ae5c
RM
16675 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
16676 __libc_cleanup_push argument.
16677
e66a42f5
RM
16678 * bits/param.h: New file.
16679 * misc/sys/param.h: New file.
16680 * include/sys/param.h: New file.
16681 * misc/Makefile (headers): Add bits/param.h.
16682 * sysdeps/generic/sys/param.h: File removed.
16683 * sysdeps/unix/sysv/linux/bits/param.h: New file.
16684 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
16685 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 16686 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 16687
b7c08a66
RM
16688 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
16689 last change.
16690
b2e1c562
RM
16691 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
16692 [_IO_MTSAFE_IO].
16693 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
16694 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
16695 New macros.
16696
c75ccd4c
RM
16697 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
16698 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
16699 rather than -D_IO_MTSAFE_IO conditionally.
16700 * stdio-common/Makefile (CPPFLAGS): Likewise.
16701 * wcsmbs/Makefile (CPPFLAGS): Likewise.
16702 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
16703 Use $(libio-mtsafe).
16704 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
16705 of -D_IO_MTSAFE_IO.
16706 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
16707 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
16708 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
16709 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
16710 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
16711 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
16712 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
16713 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
16714 (CFLAGS-fread_u_chk.c): Likewise.
16715 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
16716 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
16717 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
16718 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
16719 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
16720 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
16721 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
16722 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
16723 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
16724
16725 * libio/Makefile: Test [$(libc-reentrant) = yes]
16726 instead of [$(filter %REENTRANT, $(defines)) nonempty].
16727
16728 * Makeconfig
16729 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
16730 * sysdeps/pthread/configure: File removed.
16731 * sysdeps/pthread/Makeconfig: New file.
16732 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
16733 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
16734
d9195db8
GB
167352012-08-16 Gary Benson <gbenson@redhat.com>
16736
16737 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
16738 unmapping the first object in a namespace.
16739
86466cd9
RM
167402012-08-16 Roland McGrath <roland@hack.frob.com>
16741
16742 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
16743 (__internal_setnetgrent): ... this. Add internal_function to
16744 definition. Add libc_hidden_def.
16745 (setnetgrent): Update caller.
16746 (internal_endnetgrent): Renamed to ...
16747 (__internal_endnetgrent): ... this. Add internal_function to
16748 definition. Add libc_hidden_def.
16749 (endnetgrent): Update caller.
16750 (internal_getnetgrent_r): Renamed to ...
16751 (__internal_getnetgrent_r): ... this. Add internal_function to
16752 definition. Add libc_hidden_def.
16753 (__getnetgrent_r): Update caller.
16754 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
16755
c3c8283c
JM
167562012-08-16 Joseph Myers <joseph@codesourcery.com>
16757
16758 * stdlib/longlong.h: Update from GCC.
16759
db1ee0a8
RM
167602012-08-16 Roland McGrath <roland@hack.frob.com>
16761
16762 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
16763 on _QL, which is set by umul_ppmm but never used.
16764 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
16765 variables, which are set by GMP macros but never used.
16766 * stdio-common/_itowa.c (_itowa): Likewise.
16767 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
16768 * stdlib/mod_1.c (mpn_mod_1): Likewise.
16769
30f69637
CD
167702012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
16771
16772 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
16773 struct La_sh_regs is not constant.
16774 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
16775 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
16776 and struct La_sparc64_regs are not constant.
16777
93a78ac4
JM
167782012-08-16 Joseph Myers <joseph@codesourcery.com>
16779
16780 * sysdeps/unix/sysv/linux/kernel-features.h
16781 (__ASSUME_POSIX_TIMERS): Remove.
16782 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16783 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16784 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
16785 Make code unconditional.
16786 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16787 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
16788 Make code unconditional.
16789 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16790 * sysdeps/unix/sysv/linux/clock_nanosleep.c
16791 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
16792 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16793 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
16794 Make code unconditional.
16795 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16796 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
16797 (__libc_missing_posix_timers): Remove.
16798
dd924cd7
RM
167992012-08-15 Roland McGrath <roland@hack.frob.com>
16800
4b4f2771
RM
16801 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
16802 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
16803
601c888b
RM
16804 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
16805
176790a7
RM
16806 * elf/dl-sym.c: Include <stdlib.h>.
16807
329bc018
RM
16808 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
16809 constants, which avoids warnings in 32-bit builds.
16810
e04e272d
RM
16811 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
16812 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
16813
952bf94a
RM
16814 * misc/lseek.c: File moved to ...
16815 * io/lseek.c: ... here.
16816
7c99b50a
RM
16817 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
16818
dd924cd7
RM
16819 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
16820 shifting LEN more than 31 bits at once.
16821
b3f479a8
LD
168222012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16823
16824 [BZ #14195]
8c4ae0d4
RM
16825 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
16826 segmentation fault for a case of two empty input strings.
b3f479a8
LD
16827 * string/test-strncasecmp.c (check1): Renamed to...
16828 (bz12205): ...this.
16829 (bz14195): Add new testcase for two empty input strings and N > 0.
16830 (test_main): Call new testcase, adapt for renamed function.
16831
9c55864e
AJ
168322012-08-15 Andreas Jaeger <aj@suse.de>
16833
16834 [BZ #14090]
16835 * crypt/md5test2.c: New test, based on test supplied by Serge
16836 Belyshev <belyshev@depni.sinp.msu.ru>.
16837 * crypt/Makefile (xtests): Add md5test-giant..
16838 * crypt/Makefile ($(objpfx)md5test-giant): Add.
16839
02dcb6c5
PE
168402012-08-15 Paul Eggert <eggert@cs.ucla.edu>
16841
16842 [BZ #14090]
16843 * crypt/md5.c (md5_process_block): Don't assume the buffer
16844 length is less than 2**32.
16845 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
16846 length is less than 2**64.
16847
a3f95dcc
RM
168482012-08-15 Roland McGrath <roland@hack.frob.com>
16849
be75d758
RM
16850 * string/str-two-way.h: Include <sys/param.h>.
16851 (MAX): Macro removed.
16852
7312ca90
RM
16853 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
16854 Move #define and #undef of memmove to just before and after
16855 including <string.h>.
16856
9a0a5486
RM
16857 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
16858 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
16859 and after including <string.h>. Move declarations of
16860 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
16861 to before #include "string/memmove.c".
16862
67cc348d
RM
16863 * include/dirent.h: Declare __getdirentries.
16864
a3f95dcc
RM
16865 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
16866 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
16867
ca98e171
MF
168682012-08-14 Mike Frysinger <vapier@gentoo.org>
16869
16870 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
16871 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
16872 * sysdeps/i386/configure: Regenerated.
16873 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
16874 STABS_CURRENT_FILE, and STABS_FUN.
16875 (END): Remove call to STABS_FUN_END.
16876 (STABS_CURRENT_FILE1): Delete.
16877 (STABS_CURRENT_FILE): Likewise.
16878 (STABS_FUN): Likewise.
16879 (STABS_FUN_END): Likewise.
16880 (STABS_FUN2): Likewise.
16881 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
16882 * sysdeps/x86_64/configure: Regenerated.
16883
5908bf46
RM
168842012-08-14 Roland McGrath <roland@hack.frob.com>
16885
16886 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 16887 * elf/dl-lookup.c: Likewise.
5908bf46 16888
f2c05b9e
JM
168892012-08-14 Joseph Myers <joseph@codesourcery.com>
16890
16891 * sysdeps/unix/sysv/linux/kernel-features.h
16892 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
16893 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
16894 unconditionally.
16895 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
16896 unconditionally.
16897 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
16898 condition on __ASSUME_CLONE_THREAD_FLAGS.
16899
e11f5155
AJ
169002012-08-14 Andreas Jaeger <aj@suse.de>
16901
16902 * sysdeps/i386/fpu/libm-test-ulps: Update.
16903
51a9ba86
MK
169042012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
16905
2fdd4f78
AJ
16906 * include/atomic.h (atomic_exchange_and_add): Split into ...
16907 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
16908 New atomic macros.
51a9ba86 16909
ba6cba9e
MT
169102012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
16911
16912 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16913
42443a47
JL
169142012-08-13 Jeff Law <law@redhat.com>
16915
16916 * manual/stdio.texi (snprintf): Clarify handling of the trailing
16917 null byte in the output string.
16918
121dce05
JM
169192012-08-10 Joseph Myers <joseph@codesourcery.com>
16920
16921 * sysdeps/unix/sysv/linux/kernel-features.h
16922 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
16923 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
16924 (__ASSUME_ARG_MAX_STACK_BASED): Define.
16925 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
16926 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
16927 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
16928 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
16929
bf51f568
JL
169302012-08-09 Jeff Law <law@redhat.com>
16931
16932 [BZ #13939]
16933 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
16934 When avoid_arena is set, don't retry in the that arena. Pick the
16935 next one, whatever it might be.
16936 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
16937 (arena_lock): Pass in new parameter to arena_get2.
16938 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
16939 arena_get2.
16940 (__libc_malloc): Unify retrying after main arena failure with
16941 __libc_memalign version.
16942 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
16943
f85fa270
L
169442012-08-09 H.J. Lu <hongjiu.lu@intel.com>
16945
16946 [BZ #14166]
16947 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
16948 to __redirect_strstr.
16949 (__strstr_sse42): Use typeof __redirect_strstr.
16950 (__strstr_ia32): Likewise.
16951 (__libc_strstr): New prototype.
16952 (strstr): Renamed to ...
16953 (__libc_strstr): This.
16954 (strstr): New strong alias of __libc_strstr.
16955 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16956 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
16957 __redirect_time.
16958 Include <time.h>.
16959 (__libc_time): New prototype.
16960 (time_ifunc): Replace time with __libc_time.
16961 (time): New strong alias and hidden definition of __libc_time.
16962 (__GI_time): Remove strong alias.
16963 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
16964 Include <stddef.h>.
16965 (memmove): Redefined to __redirect_memmove.
16966 (__memmove_sse2): Use typeof __redirect_memmove.
16967 (__memmove_ssse3): Likewise.
16968 (__memmove_ssse3_back): Likewise.
16969 (__libc_memmove): New prototype.
16970 (memmove): Renamed to ...
16971 (__libc_memmove): This.
16972 (memmove): New strong alias of __libc_memmove.
16973
33b4a91e
MS
169742012-08-08 Mark Salter <msalter@redhat.com>
16975
16976 * elf/elf.h
16977 (R_MN10300_TLS_GD): Define.
16978 (R_MN10300_TLS_LD): Likewise.
16979 (R_MN10300_TLS_LDO): Likewise.
16980 (R_MN10300_TLS_GOTIE): Likewise.
16981 (R_MN10300_TLS_IE): Likewise.
16982 (R_MN10300_TLS_LE): Likewise.
16983 (R_MN10300_TLS_DTPMOD): Likewise.
16984 (R_MN10300_TLS_DTPOFF): Likewise.
16985 (R_MN10300_TLS_TPOFF): Likewise.
16986 (R_MN10300_SYM_DIFF): Likewise.
16987 (R_MN10300_ALIGN): Likewise.
16988 (R_MN10300_NUM): Update.
16989
b36137f1
JM
169902012-08-08 Joseph Myers <joseph@codesourcery.com>
16991
16992 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
16993 Remove.
16994
cdd915fd
RM
169952012-08-08 Roland McGrath <roland@hack.frob.com>
16996
a2433aac
RM
16997 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
16998
cdd915fd
RM
16999 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
17000 sysdeps/unix -> sysdeps/posix move.
17001 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17002
bf9b740a
AM
170032012-08-07 Allan McRae <allan@archlinux.org>
17004
17005 [BZ #14303]
17006 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
17007 (SUNOS_CPP): Likewise.
17008 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
17009 not found.
17010 (open_input): Call CPP using execvp.
17011
93df14ee
JM
170122012-08-07 Joseph Myers <joseph@codesourcery.com>
17013
17014 * sysdeps/unix/sysv/linux/kernel-features.h
17015 (__ASSUME_PROT_GROWSUPDOWN): Remove.
17016 (__ASSUME_NO_CLONE_DETACHED): Likewise.
17017 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17018 (__ASSUME_WAITID_SYSCALL): Likewise.
17019 * sysdeps/unix/sysv/linux/dl-execstack.c
17020 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
17021 code unconditional.
17022 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
17023 conditional code.
17024 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
17025 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
17026 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
17027 code.
17028 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
17029 unconditional.
17030 [__ASSUME_WAITID_SYSCALL]: Likewise.
17031 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
17032
d34689de
RM
170332012-08-07 Roland McGrath <roland@hack.frob.com>
17034
a281decc
RM
17035 * sysdeps/unix/closedir.c: Renamed to ...
17036 * sysdeps/posix/closedir.c: ... here.
17037 * sysdeps/unix/dirfd.c: Renamed to ...
17038 * sysdeps/posix/dirfd.c: ... here.
17039 * sysdeps/unix/dirstream.h: Renamed to ...
17040 * sysdeps/posix/dirstream.h: ... here.
17041 * sysdeps/unix/fdopendir.c: Renamed to ...
17042 * sysdeps/posix/fdopendir.c: ... here.
17043 * sysdeps/unix/opendir.c: Renamed to ...
17044 * sysdeps/posix/opendir.c: ... here.
17045 * sysdeps/unix/readdir.c: Renamed to ...
17046 * sysdeps/posix/readdir.c: ... here.
17047 * sysdeps/unix/readdir_r.c: Renamed to ...
17048 * sysdeps/posix/readdir_r.c: ... here.
17049 * sysdeps/unix/rewinddir.c: Renamed to ...
17050 * sysdeps/posix/rewinddir.c: ... here.
17051 * sysdeps/unix/seekdir.c: Renamed to ...
17052 * sysdeps/posix/seekdir.c: ... here.
17053 * sysdeps/unix/telldir.c: Renamed to ...
17054 * sysdeps/posix/telldir.c: ... here.
17055 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
17056 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
17057 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
17058 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
17059
22895b47
RM
17060 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
17061 * bits/fcntl.h: ... here.
17062
707a53b6
RM
17063 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
17064 not 0.
17065 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
17066 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
17067 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
17068 (struct flock): Move l_start, l_len to the beginning.
17069 Use __pid_t for l_pid.
17070 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
17071 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
17072 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
17073 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
17074 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
17075 [__USE_LARGEFILE64] (struct flock64): New type.
17076 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
17077
f0bd3e25
RM
17078 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
17079 * bits/dirent.h: ... here.
17080
d34689de
RM
17081 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
17082 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
17083
6dad2c06
JM
170842012-08-07 Joseph Myers <joseph@codesourcery.com>
17085
17086 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17087 Change from 2.6.0 to 2.6.16.
17088 * sysdeps/unix/sysv/linux/configure: Regenerated.
17089 * sysdeps/unix/sysv/linux/kernel-features.h
17090 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
17091 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
17092 version.
17093 (__ASSUME_UTIMES): Likewise.
17094 (__ASSUME_CLONE_STOPPED): Remove.
17095 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
17096 architectures, not kernel version.
17097 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
17098 (__ASSUME_NO_CLONE_DETACHED): Likewise.
17099 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17100 (__ASSUME_WAITID_SYSCALL): Likewise.
17101 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
17102 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
17103 * README: State 2.6.16 as minimum Linux kernel version. Do not
17104 refer to older versions.
17105
03af9520
RM
171062012-08-06 Roland McGrath <roland@hack.frob.com>
17107
8e49df1d
RM
17108 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
17109 Define alphasort64 as an alias.
17110 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
17111 Define versionsort64 as an alias.
17112 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
17113 Define scandir64 as an alias.
17114 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
17115 Define scandirat64 as an alias.
17116 * dirent/alphasort64.c (alphasort64):
17117 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
17118 * dirent/versionsort64.c: Likewise.
17119 * dirent/scandir64.c: Likewise.
17120 * dirent/scandirat64.c: Likewise.
17121 * sysdeps/wordsize-64/alphasort.c: File removed.
17122 * sysdeps/wordsize-64/alphasort64.c: File removed.
17123 * sysdeps/wordsize-64/scandir.c: File removed.
17124 * sysdeps/wordsize-64/scandir64.c: File removed.
17125 * sysdeps/wordsize-64/scandirat.c: File removed.
17126 * sysdeps/wordsize-64/scandirat64.c: File removed.
17127 * sysdeps/wordsize-64/versionsort.c: File removed.
17128 * sysdeps/wordsize-64/versionsort64.c: File removed.
17129 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
17130 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
17131 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
17132 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
17133 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
17134 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
17135 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
17136 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
17137
17138 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
17139 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17140 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
17141 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17142 [defined __arch64__ || defined __sparcv9]
17143 (__INO_T_MATCHES_INO64_T): New macro.
17144 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17145 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
17146 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
17147 * sysdeps/unix/sysv/linux/bits/dirent.h
17148 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
17149 (_DIRENT_MATCHES_DIRENT64): New macro.
17150
03af9520
RM
17151 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
17152 Define lockf64 as an alias.
17153 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
17154 Define fseeko64 as an alias.
17155 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
17156 Define ftello64 as an alias.
17157 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
17158 Define _IO_fgetpos64 and fgetpos64 as aliases.
17159 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
17160 Define _IO_fsetpos64 and fsetpos64 as aliases.
17161 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
17162 Conditionalize body on this.
17163 * libio/fseeko64.c: Likewise.
17164 * libio/ftello64.c: Likewise.
17165 * libio/iofgetpos64.c: Likewise.
17166 * libio/iofsetpos64.c: Likewise.
17167 * sysdeps/wordsize-64/lockf.c: File removed.
17168 * sysdeps/wordsize-64/lockf64.c: File removed.
17169 * sysdeps/wordsize-64/fseeko.c: File removed.
17170 * sysdeps/wordsize-64/fseeko64.c: File removed.
17171 * sysdeps/wordsize-64/ftello.c: File removed.
17172 * sysdeps/wordsize-64/ftello64.c: File removed.
17173 * sysdeps/wordsize-64/iofgetpos.c: File removed.
17174 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
17175 * sysdeps/wordsize-64/iofsetpos.c: File removed.
17176 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
17177 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
17178 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
17179 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
17180 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
17181 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
17182 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
17183 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
17184 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
17185 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
17186 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
17187
17188 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17189 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17190 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
17191 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17192 [defined __arch64__ || defined __sparcv9]
17193 (__OFF_T_MATCHES_OFF64_T): New macro.
17194 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17195 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17196 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17197 (__OFF_T_MATCHES_OFF64_T): New macro.
17198
c5757acd
L
171992012-08-06 H.J. Lu <hongjiu.lu@intel.com>
17200
17201 * stdlib/secure-getenv.c (__secure_getenv): Replace
17202 GLIBC_2_16 with GLIBC_2_17.
17203
3a31811e
L
172042012-08-06 H.J. Lu <hongjiu.lu@intel.com>
17205
17206 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
17207 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17208
faa2bccb
DM
172092012-08-03 David S. Miller <davem@davemloft.net>
17210
17211 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17212
85fe1997
JM
172132012-08-03 Joseph Myers <joseph@codesourcery.com>
17214
17215 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
17216 Remove.
17217 (__ASSUME_CORRECT_SI_PID): Likewise.
17218 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
17219 (__ASSUME_TMPFS_NAME): Likewise.
17220 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
17221 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
17222 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
17223 (HAVE_AUX_SECURE): Make definition unconditional.
17224 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
17225 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
17226
4f75b7a0
RM
172272012-08-03 Roland McGrath <roland@hack.frob.com>
17228
17229 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
17230 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
17231 * sysdeps/mach/hurd/eloop-threshold.h: New file.
17232 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17233 __eloop_threshold instead of SYMLOOP_MAX.
17234
17235 * sysdeps/generic/eloop-threshold.h: New file.
17236 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
17237 of MAXSYMLINKS.
17238 * elf/chroot_canon.c (chroot_canon): Likewise.
17239
7aab07e4
JM
172402012-08-03 Joseph Myers <joseph@codesourcery.com>
17241
17242 [BZ #13717]
17243 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17244 Change to 2.6.0 everywhere.
17245 * sysdeps/unix/sysv/linux/configure: Regenerated.
17246 * sysdeps/unix/sysv/linux/kernel-features.h
17247 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
17248 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
17249 kernel versions.
17250 (__ASSUME_POSIX_TIMERS): Define unconditionally.
17251 (__ASSUME_FUTEX_REQUEUE): Remove.
17252 (__ASSUME_STATFS64): Define unconditionally.
17253 (__ASSUME_AT_SECURE): Likewise.
17254 (__ASSUME_CORRECT_SI_PID): Likewise.
17255 (__ASSUME_TGKILL): Define without depending on kernel version for
17256 i386.
17257 (__ASSUME_UTIMES): Likewise.
17258 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
17259 kernel version.
17260 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
17261 (__ASSUME_TMPFS_NAME): Likewise.
17262 * README: Update reference to Linux kernel versions.
17263
b67e9372
MP
172642012-08-02 Marek Polacek <polacek@redhat.com>
17265
1f529f7d 17266 [BZ# 14150]
b67e9372
MP
17267 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
17268 libc_cv_asm_type_prefix with %.
17269 * configure: Regenerated.
d2441631
RM
17270 * include/libc-symbols.h: Remove comment about
17271 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
17272 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
17273 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
17274 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
17275 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
17276 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17277 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
17278 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
17279 * elf/tst-unique2mod1.c: Likewise.
17280 * elf/tst-unique1mod2.c: Likewise.
17281 * elf/tst-unique1mod1.c: Likewise.
17282 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
17283 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
17284 Replace ASM_TYPE_DIRECTIVE with .type.
17285 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17286 * sysdeps/i386/sysdep.h: Likewise.
17287 * sysdeps/x86_64/sysdep.h: Likewise.
17288 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
17289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17290 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 17291 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
17292 * sysdeps/powerpc/powerpc32/sysdep.h:
17293 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
17294 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17295 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17296 * sysdeps/i386/fpu/e_powf.S: Likewise.
17297 * sysdeps/i386/fpu/e_expl.S: Likewise.
17298 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17299 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17300 * sysdeps/i386/fpu/e_pow.S: Likewise.
17301 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17302 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17303 * sysdeps/i386/fpu/s_expm1.S: Likewise.
17304 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17305 * sysdeps/i386/fpu/e_log2.S: Likewise.
17306 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17307 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17308 * sysdeps/i386/fpu/e_powl.S: Likewise.
17309 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17310 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17311 * sysdeps/i386/fpu/e_logl.S: Likewise.
17312 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17313 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17314 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17315 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17316 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17317 * sysdeps/i386/fpu/e_log.S: Likewise.
17318 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17319 * sysdeps/i386/fpu/e_logf.S: Likewise.
17320 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17321 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17322 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17323 * sysdeps/i386/fpu/e_log10.S: Likewise.
17324 * sysdeps/i386/fpu/s_frexp.S: Likewise.
17325 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17326 * sysdeps/i386/fpu/s_asinh.S: Likewise.
17327 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17328 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17329 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
17330 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17331 * sysdeps/i386/i686/strtok.S: Likewise.
17332 * sysdeps/i386/i386-mcount.S: Likewise.
17333 * sysdeps/i386/strtok.S: Likewise.
17334 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
17335 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17336 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17337 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17338 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17339 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17340 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17341 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17342 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17343 * sysdeps/x86_64/_mcount.S: Likewise.
17344 * sysdeps/x86_64/strtok.S: Likewise.
17345 * sysdeps/sh/_mcount.S: Likewise.
17346
2747bf9a
RM
173472012-08-01 Roland McGrath <roland@hack.frob.com>
17348
17349 * libio/iofopen.c: Include <fcntl.h>.
17350 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
17351 (_IO_fopen64, fopen64): Define as aliases.
17352 * libio/iofopen64.c: Include <fcntl.h>.
17353 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
17354 Conditionalize body on this.
17355 * sysdeps/wordsize-64/iofopen.c: File removed.
17356 * sysdeps/wordsize-64/iofopen64.c: File removed.
17357
3fb791b8
MP
173582012-08-01 Marek Polacek <polacek@redhat.com>
17359
17360 * libc/Makeconfig: Use elf in place of binfmt-subdir.
17361 Use dlfcn directly instead of a variable.
17362 (binfmt-subdir): Do not define.
17363 (dlfcn): Likewise.
17364
a9f1039f
JM
173652012-08-01 Joseph Myers <joseph@codesourcery.com>
17366
23bddc06
JM
17367 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
17368 Remove all definitions.
17369 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
17370 <kernel-features.h>.
17371 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17372 (miss_F_GETOWN_EX): Remove all definitions.
17373 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
17374 macro definition.
17375 [!__ASSUME_FCNTL64]: Remove conditional code.
17376 [__ASSUME_FCNTL64]: Make code unconditional.
17377 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
17378 <kernel-features.h>.
17379 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17380 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
17381 (lockf64) [__NR_fcntl64]: Make code unconditional.
17382 (lockf64) [__ASSUME_FCNTL64]: Likewise.
17383
a9f1039f
JM
17384 * sysdeps/unix/sysv/linux/kernel-features.h
17385 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
17386 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
17387 Make code unconditional.
17388 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17389 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
17391 [__NR_vfork]: Make code unconditional.
17392 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17393 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
17395 [__NR_vfork]: Make code unconditional.
17396 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17397 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17398
09c0ee5f
RM
173992012-08-01 Roland McGrath <roland@hack.frob.com>
17400
48aec5b9
RM
17401 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
17402 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
17403
cd97c966
RM
17404 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17405 Define mkstemp64 as an alias.
3f55550c
RM
17406 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17407 Define mkstemps64 as an alias.
cd97c966
RM
17408 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17409 Define mkostemp64 as an alias.
b8625cfc
RM
17410 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17411 Define mkostemps64 as an alias.
cd97c966
RM
17412 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
17413 Conditionalize body on this.
17414 * misc/mkostemp64.c: Likewise.
b8625cfc 17415 * misc/mkostemps64.c: Likewise.
3f55550c 17416 * misc/mkstemps64.c: Likewise.
cd97c966
RM
17417 * sysdeps/wordsize-64/mkstemp64.c: File removed.
17418 * sysdeps/wordsize-64/mkostemp64.c: File removed.
17419 * sysdeps/wordsize-64/mkostemp.c: File removed.
17420 * sysdeps/wordsize-64/mkstemp.c: File removed.
17421 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
17422 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
17423 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
17424 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
17425
09c0ee5f
RM
17426 [BZ #14138]
17427 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
17428 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
17429 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
17430 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
17431
17432 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
17433 compat_symbol macros from <shlib-compat.h> rather than the underlying
17434 default_symbol_version and symbol_version macros, so that DEFAULT
17435 lines in shlib-versions are respected.
17436 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
17437
7e66ee51
FW
174382012-08-01 Florian Weimer <fweimer@redhat.com>
17439
17440 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
17441 Declare with warn_unused_result.
17442 (setgid, setregid, setegid, setresgid): Likewise.
17443 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
17444 Likewise.
17445 * WUR-REPORT: Remove set*id functions.
17446
d2a54255
PT
174472012-07-31 Pino Toscano <toscano.pino@tiscali.it>
17448
17449 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
17450
7ecdb005
RM
174512012-07-31 Roland McGrath <roland@hack.frob.com>
17452
b4180a5e 17453 [BZ #10191]
789bd351
RM
17454 * include/sys/socket.h (__libc_accept, __libc_accept4):
17455 Add attribute_hidden.
17456 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
17457
40ce302d
RM
17458 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
17459 use of PTR_MANGLE.
17460 * inet/getnetgrent_r.c (setup): Likewise.
17461
7ecdb005
RM
17462 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
17463
e2eabb2c
DM
174642012-07-31 David S. Miller <davem@davemloft.net>
17465
17466 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17467
d0419dbf
JM
174682012-07-31 Joseph Myers <joseph@codesourcery.com>
17469
17470 [BZ #13629]
17471 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
17472 value between 1.0 and 2.0 and smaller part has absolute value less
17473 than 1.0.
17474 * math/s_clog10.c (__clog10): Likewise.
17475 * math/s_clog10f.c (__clog10f): Likewise.
17476 * math/s_clog10l.c (__clog10l): Likewise.
17477 * math/s_clogf.c (__clogf): Likewise.
17478 * math/s_clogl.c (__clogl): Likewise.
17479 * math/libm-test.inc (clog_test): Add more tests.
17480 (clog10_test): Likewise.
17481 * sysdeps/i386/fpu/libm-test-ulps: Update.
17482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17483
2bc13872
FW
174842012-07-31 Florian Weimer <fweimer@redhat.com>
17485
17486 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
17487 Exit with zero in case no suitable GID is found, and write a
17488 message to standard error.
17489
bea9b193
RM
174902012-07-30 Roland McGrath <roland@hack.frob.com>
17491
17492 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
17493 rather than to 1.
17494 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
17495 (MAXPATHLEN): Removed.
17496 (NOGROUP, NODEV): New macros.
17497 (setbit, clrbit, isset, isclr): New macros.
17498 (howmany, roundup, powerof2): New macros.
17499 (DEV_BSIZE): New macro.
17500
17501 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
17502 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
17503
17504 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
17505 definition on [!__NO_LONG_DOUBLE_MATH].
17506
17507 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
17508 PTR_MANGLE and PTR_DEMANGLE.
17509
17510 * socket/accept4.c (accept4): Rename to __libc_accept4.
17511 Define accept4 as a weak alias.
17512
17513 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
17514 on [_DIRENT_HAVE_D_TYPE].
17515 * io/ftw.c (ftw_dir): Likewise.
17516
17517 * io/xmknod.c (__xmknod): Don't check PATH for being null.
17518
17519 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
17520
17521 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
17522 Use the BSD numbers rather than the arbitrary ones we had.
17523 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
17524 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
17525 (SIGXCPU, SIGXFSZ): New macros.
17526 (_NSIG): Now 32.
17527
17528 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
17529 initializer on [_LIBC_REENTRANT].
17530
17531 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
17532 definitions inside [_POSIX_MAPPED_FILES].
17533
17534 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
17535
17536 * dirent/opendir.c: Include <fcntl.h>.
17537
17538 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
17539 (__libc_getspecific): Likewise.
17540 (__libc_key_create): Likewise.
17541
17542 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
17543 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
17544 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
17545 (tmpfile64): Define as alias.
17546 * sysdeps/wordsize-64/tmpfile.c: File removed.
17547 * sysdeps/wordsize-64/tmpfile64.c: File removed.
17548 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
17549 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
17550
17551 * stdio-common/vfscanf.c: Include <stdbool.h>.
17552 * nss/makedb.c: Likewise.
17553 * stdio-common/_i18n_number.h: Likewise.
17554 * argp/argp-help.c: Likewise.
17555 * posix/wordexp.c: Likewise.
17556 * sysdeps/posix/spawni.c: Likewise.
17557 * nss/nss_files/files-initgroups.c: Likewise.
17558 * stdio-common/reg-modifier.c: Include <stdlib.h>.
17559 * nss/nss_files/files-initgroups.c: Likewise.
17560 * nss/nss_db/db-netgrp.c: Likewise.
17561 * nss/nss_db/db-initgroups.c: Likewise.
17562 * io/fchmodat.c: Include <sys/stat.h>.
17563
17564 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
17565 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
17566
17567 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
17568 [HAVE_MMAP].
17569
17570 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
17571 Add multiple inclusion protection.
17572
e5abc686
DM
175732012-07-27 David S. Miller <davem@davemloft.net>
17574
17575 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17576
815e6fa3
GB
175772012-07-27 Gary Benson <gbenson@redhat.com>
17578
17579 [BZ #14298]
17580 * elf/rtld.c: Include <stap-probe.h>.
17581 (dl_main): Added static probes "init_start" and "init_complete".
17582 * elf/dl-load.c: Include <stap-probe.h>.
17583 (lose): Take new parameter "nsid".
17584 Added static probe "map_failed".
17585 (_dl_map_object_from_fd): Pass namespace id to lose.
17586 Added static probe "map_start".
17587 (open_verify): Pass namespace id to lose.
17588 * elf/dl-open.c: Include <stap-probe.h>.
17589 (dl_open_worker) Added static probes "map_complete", "reloc_start"
17590 and "reloc_complete".
17591 * elf/dl-close.c: Include <stap-probe.h>.
17592 (_dl_close_worker): Added static probes "unmap_start" and
17593 "unmap_complete".
17594 * elf/rtld-debugger-interface.txt: New file documenting the above.
17595
9f98c16c
RM
175962012-07-26 Roland McGrath <roland@hack.frob.com>
17597
17598 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
17599 rather than a string variable.
17600 * sunrpc/rpc_main.c (h_output): Likewise.
17601 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
17602
f3c22df3
PT
176032012-07-26 Pino Toscano <toscano.pino@tiscali.it>
17604
17605 * inet/check_native.c: New file.
17606
3129cfc6
JM
176072012-07-26 Joseph Myers <joseph@codesourcery.com>
17608
da865e95
JM
17609 [BZ #13629]
17610 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
17611 if larger part has absolute value 1.0.
17612 * math/s_clog10.c (__clog10): Likewise.
17613 * math/s_clog10f.c (__clog10f): Likewise.
17614 * math/s_clog10l.c (__clog10l): Likewise.
17615 * math/s_clogf.c (__clogf): Likewise.
17616 * math/s_clogl.c (__clogl): Likewise.
17617 * math/libm-test.inc (clog_test): Add more tests.
17618 (clog10_test): Likewise.
17619 * sysdeps/i386/fpu/libm-test-ulps: Update.
17620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17621
3129cfc6
JM
17622 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
17623 (pltexit): Likewise.
17624 (La_regs): Likewise.
17625 (La_retval): Likewise.
17626 (int_retval): Likewise.
17627 Update #error for removed macros to refer only to definitions in
17628 tst-audit.h.
17629 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
17630 macro.
17631 (pltexit): Likewise.
17632 (La_regs): Likewise.
17633 (La_retval): Likewise.
17634 (int_retval): Likewise.
17635 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
17636 macro.
17637 (pltexit): Likewise.
17638 (La_regs): Likewise.
17639 (La_retval): Likewise.
17640 (int_retval): Likewise.
17641 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
17642 macro.
17643 (pltexit): Likewise.
17644 (La_regs): Likewise.
17645 (La_retval): Likewise.
17646 (int_retval): Likewise.
17647 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
17648 macro.
17649 (pltexit): Likewise.
17650 (La_regs): Likewise.
17651 (La_retval): Likewise.
17652 (int_retval): Likewise.
17653 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
17654 macro.
17655 (pltexit): Likewise.
17656 (La_regs): Likewise.
17657 (La_retval): Likewise.
17658 (int_retval): Likewise.
17659 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
17660 macro.
17661 (pltexit): Likewise.
17662 (La_regs): Likewise.
17663 (La_retval): Likewise.
17664 (int_retval): Likewise.
17665 * sysdeps/generic/tst-audit.h: Update comment to refer only to
17666 macro definitions in tst-audit.h.
17667 * sysdeps/i386/tst-audit.h: New file.
17668 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
17669 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
17670 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
17671 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
17672 * sysdeps/sh/tst-audit.h: Likewise.
17673 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
17674 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
17675 * sysdeps/x86_64/tst-audit.h: Likewise.
17676
bfc07087
AJ
176772012-07-26 Andreas Jaeger <aj@suse.de>
17678
b1b2aaf8
AJ
17679 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
17680 ptrace.
17681
17682 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
17683 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
17684 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
17685 PTRACE_O_MASK.
17686 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
17687 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
17688 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
17689
bfc07087
AJ
17690 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
17691 value.
17692
17693 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
17694 _sigsys.
17695 (si_call_addr, si_syscall, si_arch): Define new macro.
17696 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
17697 _sigsys.
17698 (si_call_addr, si_syscall, si_arch): Define new marcro.
17699 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
17700 _sigsys.
17701 (si_call_addr, si_syscall, si_arch): Define new macro.
17702 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
17703 _sigsys.
17704 (si_call_addr, si_syscall, si_arch): Define new macro.
17705
89b4b02f
JM
177062012-07-25 Joseph Myers <joseph@codesourcery.com>
17707
17708 [BZ #13717]
17709 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17710 Change to 2.4.21 where previously 2.4.1.
17711 * sysdeps/unix/sysv/linux/configure: Regenerated.
17712 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
17713 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
17714 Linux kernel version.
17715 (__ASSUME_STD_AUXV): Remove.
17716 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
17717 kernel version.
17718 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
17719 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
17720 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
17721 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
17722 (__ASSUME_NETLINK_SUPPORT): Likewise.
17723 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
17724 (__no_netlink_support): Remove conditional definition.
17725 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
17726 Remove.
17727 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17728 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
17729 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
17730 (if_nameindex_ioctl): Remove.
17731 (if_nameindex_netlink): Do not handle __no_netlink_support.
17732 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17733 code.
17734 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
17735 Remove conditional code.
17736 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17737 code.
17738 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
17739 unconditional.
17740 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17741 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
17742 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
17743 Remove.
17744 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
17745 [!__ASSUME_STD_AUXV]: Remove conditional code.
17746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
17747 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
17748 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
17749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
17750 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
17751 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17752 code.
17753 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17755 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
17756 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17757 conditional code.
17758 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17760 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17761 code.
17762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17763 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17764 conditional code.
17765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
17766 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17767 code unconditional.
17768 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17769 conditional code.
17770 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17771 unconditional.
17772 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17773 conditional code.
17774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17775 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17776 unconditional.
17777 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17778 conditional code.
17779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
17780 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17781 code unconditional.
17782 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17783 conditional code.
17784 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17785 unconditional.
17786 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17787 conditional code.
17788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
17789 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17790 code unconditional.
17791 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17792 conditional code.
17793 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17794 unconditional.
17795 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17796 conditional code.
17797
842a39cd
AS
177982012-07-25 Andreas Schwab <schwab@linux-m68k.org>
17799
17800 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
17801 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
17802 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17803 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
17804 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
17805 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
17806 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17807 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
17808 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
17809 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
17810 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
17811 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
17812 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
17813 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17814 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
17815 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
17816 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
17817 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
17818 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
17819 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
17820 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
17821 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
17822 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17823
84b3fd84
FW
178242012-07-25 Florian Weimer <fweimer@redhat.com>
17825
17826 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
17827 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
17828 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
17829 Introduce __libc_secure_getenv.
0c7936d5
FW
17830 * stdlib/Versions (2.17): Add secure_getenv
17831 (GLIBC_PRIVATE): Add __libc_secure_getenv.
17832 * stdlib/secure-getenv.c: Rename __secure_getenv to
17833 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
17834 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
17835 * stdlib/tst-secure-getenv.c: New.
17836 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
17837 * manual/startup.texi (Environment Access): Document
17838 secure_getenv.
84b3fd84
FW
17839 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
17840 __libc_secure_getenv.
17841 * inet/ruserpass.c (ruserpass): Likewise.
17842 * malloc/mtrace.c (mtrace): Likewise.
17843 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 17844 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
17845 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
17846 * sysdeps/posix/tempname.c: Likewise. Evaluate
17847 HAVE_SECURE_GETENV.
17848 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 17849 __secure_getenv to __libc_secure_getenv.
84b3fd84 17850 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
17851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17852 Likewise.
17853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17854 Likewise.
17855 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17856 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17857 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17858 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17859 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17860 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17861 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 17862
56e49b71
JM
178632012-07-25 Joseph Myers <joseph@codesourcery.com>
17864
17865 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
17866 (struct La_i86_retval): Likewise.
17867 (struct La_x86_64_regs): Likewise.
17868 (struct La_x86_64_retval): Likewise.
17869 (struct La_x32_regs): Likewise.
17870 (struct La_x32_retval): Likewise.
17871 (struct La_ppc32_regs): Likewise.
17872 (struct La_ppc32_retval): Likewise.
17873 (struct La_ppc64_regs): Likewise.
17874 (struct La_ppc64_retval): Likewise.
17875 (struct La_sh_regs): Likewise.
17876 (struct La_sh_retval): Likewise.
17877 (struct La_s390_32_regs): Likewise.
17878 (struct La_s390_32_retval): Likewise.
17879 (struct La_s390_64_regs): Likewise.
17880 (struct La_s390_64_retval): Likewise.
17881 (struct La_sparc32_regs): Likewise.
17882 (struct La_sparc32_retval): Likewise.
17883 (struct La_sparc64_regs): Likewise.
17884 (struct La_sparc64_retval): Likewise.
17885 (struct audit_ifaces): Remove architecture-specific pltenter and
17886 pltexit members.
17887 * sysdeps/i386/ldsodefs.h: New file.
17888 * sysdeps/powerpc/ldsodefs.h: Likewise.
17889 * sysdeps/s390/ldsodefs.h: Likewise.
17890 * sysdeps/sh/ldsodefs.h: Likewise.
17891 * sysdeps/sparc/ldsodefs.h: Likewise.
17892 * sysdeps/x86_64/ldsodefs.h: Likewise.
17893
354691b7
MP
178942012-07-25 Marek Polacek <polacek@redhat.com>
17895
17896 [BZ #6808]
17897 * math/libm-test.inc (yn_test): Add another test.
17898 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
17899 to ERANGE when the result is +-Inf.
17900 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17901 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
17902 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
17903 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
17904
bf9e2071
JM
179052012-07-24 Joseph Myers <joseph@codesourcery.com>
17906
17907 * conform/data/time.h-data (NULL): Use macro-constant. Require
17908 equal to 0.
17909 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
17910 clock_t.
17911 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
17912
57633811
TS
179132012-07-23 Thomas Schwinge <thomas@codesourcery.com>
17914
17915 * configure.in <sysdeps resolving>: Correct printing
17916 Implies_before.
17917 * configure: Regenerate.
17918
c23c33b0
TS
179192012-07-22 Thomas Schwinge <thomas@codesourcery.com>
17920
17921 * math/w_ilogb.c: Include <limits.h>.
17922 * math/w_ilogbl.c: Likewise.
17923
b5982523
JM
179242012-07-20 Joseph Myers <joseph@codesourcery.com>
17925
17926 * manual/lang.texi (__va_copy): Document primarily as ISO C99
17927 va_copy. Document allowing for unavailable va_copy only as
17928 pre-C99 compatibility.
17929 * manual/string.texi (Copying and Concatenation): Use va_copy
17930 instead of __va_copy in concat example.
17931
ac4ea442
PT
179322012-07-20 Pino Toscano <toscano.pino@tiscali.it>
17933
17934 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
17935 (__sendto): Use create_address_port. Initialize APORT and deallocate
17936 it if not null.
17937
f98eafbd
PT
17938 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
17939 with O_NOLINK passed to __file_name_lookup.
17940
898c7aab
PT
17941 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
17942 with O_NOLINK passed to __file_name_lookup.
17943
0ced335a
PT
17944 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
17945 negative N or less than NGIDS.
17946
b3404dbd
PT
17947 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
17948 type to string_t. Set ERANGE as errno and return it if NAME is not big
17949 enough. Use memcpy instead of strncpy.
17950
0f48659e
JM
179512012-07-20 Joseph Myers <joseph@codesourcery.com>
17952
17953 * elf/Makefile (check-data): Remove.
17954 (localplt.data): New vpath directive.
17955 ($(objpfx)check-localplt.out): Use localplt.data from vpath
17956 instead of $(check-data).
17957 * scripts/data/localplt-generic.data: Move to ...
17958 * sysdeps/generic/localplt.data: ... here.
17959 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
17960 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
17961 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
17962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
17963 ... here.
17964 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
17965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
17966 ... here.
17967 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
17968 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
17969 ... here.
17970 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
17971 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
17972 ... here.
17973 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
17974 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
17975 ... here.
17976 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
17977 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
17978 ... here.
17979
d37cbdaa
AZ
179802012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17981
17982 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
17983 PPC32 and PPC64 files.
17984 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
17985 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
17986
46f85fc2
AK
179872012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17988
17989 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
17990 __makecontext_ret to ...
17991 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
17992 ... here and call exit if uc_link is NULL. New file.
17993 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
17994 __makecontext_ret.S.
17995 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
17996 __makecontext_ret to ...
17997 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
17998 ... here and call exit if uc_link is NULL. New file.
17999 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
18000 __makecontext_ret.S.
18001
08f43f9b
AK
180022012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18003
18004 * elf/elf.h (R_390_IRELATIVE): New definition.
18005 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
18006 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
18007 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
18008 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18009 (elf_machine_lazy_rel): Likewise.
18010 * sysdeps/s390/dl-irel.h: New file.
18011 * sysdeps/s390/s390-64/memcpy.S: New asm code.
18012 * sysdeps/s390/s390-64/memset.S: New asm code.
18013 * sysdeps/s390/s390-64/memcmp.S: New asm code.
18014 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
18015 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
18016 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
18017 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
18018 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
18019 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
18020 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
18021 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
18022 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
18023 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
18024 * sysdeps/s390/s390-32/memcpy.S: New asm code.
18025 * sysdeps/s390/s390-32/memset.S: New asm code.
18026 * sysdeps/s390/s390-32/memcmp.S: New asm code.
18027
3b05db33
MP
180282012-07-17 Marek Polacek <polacek@redhat.com>
18029
18030 [BZ #14349]
18031 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
18032 * sysdeps/s390/s390-64/configure.in: Likewise.
18033 * sysdeps/sparc/configure.in: Likewise.
18034 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
18035 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
18036 * sysdeps/i386/configure.in: Likewise.
18037 * sysdeps/x86_64/configure.in: Likewise.
18038 * sysdeps/sh/configure.in: Likewise.
18039 * sysdeps/s390/s390-32/configure: Regenerated.
18040 * sysdeps/s390/s390-64/configure: Likewise.
18041 * sysdeps/x86_64/configure: Likewise.
18042 * sysdeps/sh/configure: Likewise.
18043 * sysdeps/powerpc/powerpc64/configure: Likewise.
18044 * sysdeps/powerpc/powerpc32/configure: Likewise.
18045 * sysdeps/sparc/configure: Likwise.
18046 * sysdeps/i386/configure: Likewise.
18047
a66877c6
MP
18048 * elf/dl-open.c: Comment fixes.
18049
cfc82fd8
JM
180502012-07-17 Joseph Myers <joseph@codesourcery.com>
18051
bd29910a
JM
18052 * Makefile [CXX] (check-data): Remove.
18053 [CXX] (c++-types.data): New vpath directive.
18054 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
18055 vpath. Do not allow for C++ type data being missing.
18056 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
18057 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
18058 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
18059 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
18060 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
18061 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
18062 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
18063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
18064 ... here.
18065 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
18066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
18067 ... here.
18068 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
18069 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
18070 ... here.
18071 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
18072 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
18073 ... here.
18074 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
18075 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
18076 ... here.
18077 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
18078 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
18079 ... here.
18080 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
18081 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
18082 ... here.
18083 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
18084 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
18085
cfc82fd8
JM
18086 * elf/tls-macros.h (TLS_LE): Move architecture-specific
18087 definitions to architecture-specific files.
18088 (TLS_IE): Likewise.
18089 (TLS_LD): Likewise.
18090 (TLS_GD): Likewise.
18091 * sysdeps/i386/tls-macros.h: New file.
18092 * sysdeps/powerpc/tls-macros.h: Likewise.
18093 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
18094 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
18095 * sysdeps/sh/tls-macros.h: Likewise.
18096 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
18097 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
18098 * sysdeps/x86_64/tls-macros.h: Likewise.
18099
f7db3170
TS
181002012-07-17 Thomas Schwinge <thomas@codesourcery.com>
18101
07cbfc23
TS
18102 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
18103 zero value for regular exit case.
18104
f7db3170
TS
18105 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
18106 (__start_context): Preserve zero value for regular exit case.
18107
dc97c227
TS
181082012-07-17 Thomas Schwinge <thomas@codesourcery.com>
18109 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18110
18111 * manual/setjmp.texi (setcontext): Clarify normal process
18112 termination when uc_link is the null pointer.
18113 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
18114 exit call.
18115
d0cd7d02
AS
181162012-07-16 Andreas Schwab <schwab@linux-m68k.org>
18117
18118 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
18119 preprocessor. Test for each exception mask separately.
18120
dd318934
AJ
181212012-07-16 Andreas Jaeger <aj@suse.de>
18122
18123 * po/ru.po: Update from translation team.
18124
8048311a
JM
181252012-07-15 Joseph Myers <joseph@codesourcery.com>
18126
18127 * conform/data/string.h-data (NULL): Use macro-constant. Require
18128 equal to 0.
18129 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18130 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18131 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
18132 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
18133 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18134
b637d46e
AJ
181352012-07-13 Andreas Jaeger <aj@suse.de>
18136
18137 * po/fr.po: Update from translation team.
18138
541428fe
MP
181392012-07-12 Marek Polacek <polacek@redhat.com>
18140
18141 [BZ #14173]
18142 * math/libm-test.inc (yn_test): Add test for BZ #14173.
18143 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
18144 loop condition.
18145
ec332e94
JM
181462012-07-12 Joseph Myers <joseph@codesourcery.com>
18147
18148 [BZ #13717]
18149 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18150 Change to 2.4.1 where previously 2.4.0.
18151 * sysdeps/unix/sysv/linux/configure: Regenerated.
18152 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
18153 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
18154 version.
18155 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
18156 (__ASSUME_AT_CLKTCK): Remove.
18157 (__ASSUME_AT_PAGESIZE): Likewise.
18158 (__ASSUME_AT_XID): Likewise.
18159 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
18160 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
18161 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
18162 unconditionally.
18163 (HAVE_AUX_PAGESIZE): Likewise.
18164 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
18165 [__ASSUME_AT_CLKTCK]: Make code unconditional.
18166 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
18167
7b6e99be
JB
181682012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
18169
18170 [BZ #14307]
18171 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
18172 the temporary buffer used to invoke __gethostbyname2_r,
18173 __gethostbyaddr_r and gethostbyname4_r to make room for struct
18174 host_data / struct gaih_addrtuple.
18175 * resolv/nss_dns/dns-host.c (global scope): Move definition of
18176 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
18177 header file nss/nsswitch.h.
18178 * nss/nsswitch.h (global scope): Add definition of implementation
18179 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
18180 resolv/nss_dns/dns-host.c).
18181
608404eb
AJ
181822012-07-11 Andreas Jaeger <aj@suse.de>
18183
18184 * po/fr.po: Update from translation team.
18185
71220aca
AJ
18186 * po/sv.po: Update from translation team
18187 * po/fr.po: Another update from translation team.
18188
28cfe843
AZ
181892012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18190
18191 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
18192 for subnormals or multiply small sinh result by itself.
18193 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18194 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18195
6b90f981
DM
181962012-07-11 David S. Miller <davem@davemloft.net>
18197
18198 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18199
c6825772
AS
182002012-07-10 Andreas Schwab <schwab@linux-m68k.org>
18201
18202 [BZ #14347]
18203 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
18204 (INTERNAL_MARK): Shift it here.
18205
7b8e0d49
MP
182062012-07-10 Marek Polacek <polacek@redhat.com>
18207
18208 [BZ #14151]
18209 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
18210 libc_cv_asm_global_directive with .globl.
18211 * configure: Regenerated.
18212 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
18213 with .globl.
18214 * sysdeps/i386/configure: Regenerated.
18215 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
18216 with .globl.
18217 * sysdeps/x86_64/configure: Regenerated.
18218 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
18219 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
18220 * elf/tst-unique2mod2.c: Likewise.
18221 * elf/tst-unique2mod1.c: Likewise.
18222 * elf/tst-unique1mod2.c: Likewise.
18223 * elf/tst-unique1mod1.c: Likewise.
18224 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18225 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18226 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18227 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18228 * sysdeps/mach/sysdep.h: Likewise.
18229 * sysdeps/i386/sysdep.h: Likewise.
18230 * sysdeps/i386/i386-mcount.S: Likewise.
18231 * sysdeps/x86_64/_mcount.S: Likewise.
18232 * sysdeps/x86_64/sysdep.h: Likewise.
18233 * sysdeps/sh/_mcount.S: Likewise.
18234 * sysdeps/sh/sysdep.h: Likewise.
18235 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
18236 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
18237 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
18238 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18239 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
18240 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
18241 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
18242 * locale/localeinfo.h: Likewise.
18243 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
18244 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
18245
6c55cda3
RM
182462012-07-09 Roland McGrath <roland@hack.frob.com>
18247
18248 [BZ #14336]
18249 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
18250 system".
18251 * manual/message.texi (The Uniforum approach): Likewise.
18252 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
18253 (glibc iconv Implementation): Likewise.
18254
638a572e
JM
182552012-07-09 Joseph Myers <joseph@codesourcery.com>
18256
18257 [BZ #14337]
18258 * math/s_clog.c (__clog): Avoid scaling a value down where that
18259 could result in underflow.
18260 * math/s_clog10.c (__clog10): Likewise.
18261 * math/s_clog10f.c (__clog10f): Likewise.
18262 * math/s_clog10l.c (__clog10l): Likewise.
18263 * math/s_clogf.c (__clogf): Likewise.
18264 * math/s_clogl.c (__clogl): Likewise.
18265 * math/libm-test.inc (clog_test): Add more tests.
18266 (clog10_test): Likewise.
18267 * sysdeps/i386/fpu/libm-test-ulps: Update.
18268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18269
261f4859
AS
182702012-07-06 Andreas Schwab <schwab@linux-m68k.org>
18271
0abaf3e4
AS
18272 [BZ #14283]
18273 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
18274 by 7 not 8 to examine high bit of fractional part.
18275
261f4859
AS
18276 [BZ #14042]
18277 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
18278 for call to __mcount_internal.
18279 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
18280 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
18281 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
18282
f17ac40d
JM
182832012-07-06 Joseph Myers <joseph@codesourcery.com>
18284
9ad63c23
JM
18285 [BZ #14154]
18286 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
18287 approximation for values within 0x1p-13f of an odd multiple of
18288 pi/4.
18289 * math/libm-test.inc (tan_test): Do not allow spurious underflow
18290 exception. Add more tests.
18291 * sysdeps/i386/fpu/libm-test-ulps: Update.
18292
f17ac40d
JM
18293 [BZ #6778]
18294 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
18295 inputs and return -1 for them. Do not check for +Inf in case not
18296 reachable for +Inf.
18297 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18298 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
18299 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18300 and return -1 for them. Do not check for +Inf in case not
18301 reachable for +Inf.
18302 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
18303 define.
18304 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18305 and return -1 for them. Do not check for +Inf in case not
18306 reachable for +Inf.
18307 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
18308 spurious underflow.
18309 * sysdeps/i386/fpu/libm-test-ulps: Update.
18310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18311
fb21f89b
MF
183122012-07-06 Mike Frysinger <vapier@gentoo.org>
18313
18314 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
18315
cdfe2c5e
JM
183162012-07-05 Joseph Myers <joseph@codesourcery.com>
18317
18318 [BZ #14157]
18319 [BZ #14331]
18320 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
18321 could result in spurious underflow. Scale down values above
18322 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
18323 * math/s_csqrtf.c (__csqrtf): Likewise.
18324 * math/s_csqrtl.c (__csqrtl): Likewise.
18325 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
18326 spurious underflow.
18327 * sysdeps/i386/fpu/libm-test-ulps: Update.
18328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18329
70d35b67
AS
183302012-07-04 Andreas Schwab <schwab@linux-m68k.org>
18331
704bc459
AS
18332 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
18333 xopen-msg.sed.
18334 * catgets/xopen-msg.awk: New file.
18335 * catgets/xopen-msg.sed: Removed.
18336
70d35b67
AS
18337 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
18338 po2text.sed.
18339 * intl/po2test.awk: New file.
18340 * intl/po2test.sed: Removed.
18341
ca61cf32
JM
183422012-07-04 Joseph Myers <joseph@codesourcery.com>
18343
18344 [BZ #14328]
18345 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
18346 or multiply small sinh result by itself.
18347 * math/s_ctanf.c (__ctanf): Likewise.
18348 * math/s_ctanh.c (__ctanh): Likewise.
18349 * math/s_ctanhf.c (__ctanhf): Likewise.
18350 * math/s_ctanhl.c (__ctanhl): Likewise.
18351 * math/s_ctanl.c (__ctanl): Likewise.
18352 * math/libm-test.inc (ctan_test_tonearest): New function.
18353 (ctan_test_towardzero): Likewise.
18354 (ctan_test_downward): Likewise.
18355 (ctan_test_upward): Likewise.
18356 (ctanh_test_tonearest): Likewise.
18357 (ctanh_test_towardzero): Likewise.
18358 (ctanh_test_downward): Likewise.
18359 (ctanh_test_upward): Likewise.
18360 (main): Call these new functions.
18361 * sysdeps/i386/fpu/libm-test-ulps: Update.
18362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18363
ca48a46a
MF
183642012-07-03 Mike Frysinger <vapier@gentoo.org>
18365
18366 * .gitignore: Delete /ports entry.
18367
9d63d37d
AJ
183682012-07-03 Andreas Jaeger <aj@suse.de>
18369
18370 * po/bg.po: Update from translation team.
18371 * po/cs.po: Likewise.
18372 * po/de.po: Likewise.
18373 * po/hr.po: Likewise.
18374 * po/nl.pl: Likewise.
18375 * po/pl.po: Likewise.
18376 * po/vi.po: Likewise.
18377
370ca3d2
JM
183782012-07-03 Joseph Myers <joseph@codesourcery.com>
18379
95f5a9a8
JM
18380 * Makeconfig [!+link] (+link-before-libc): New variable.
18381 [!+link] (+link-after-libc): Likewise.
18382 [!+link] (+link-tests): Likewise.
18383 [!+link] (+link): Define in terms of $(+link-before-libc) and
18384 $(+link-after-libc).
18385 [!+link-static] (+link-static-before-libc): New variable.
18386 [!+link-static] (+link-static-after-libc): Likewise.
18387 [!+link-static] (+link-static-tests): Likewise.
18388 [!+link-static] (+link-static): Define in terms of
18389 $(+link-static-before-libc) and $(+link-static-after-libc).
18390 [build-shared] (link-libc-before-gnulib): New variable.
18391 [build-shared] (link-libc-tests): Likewise.
18392 [build-shared] (link-libc): Define in terms of
18393 $(link-libc-before-gnulib).
18394 [!build-shared] (link-libc-tests): New variable.
18395 (link-libc-static-tests): New variable.
18396 [!gnulib] (gnulib-arch): New variable.
18397 [!gnulib] (gnulib-tests): Likewise.
18398 [!gnulib] (static-gnulib-arch): Likewise.
18399 [!gnulib] (static-gnulib-tests): Likewise.
18400 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
18401 Define with "=" instead of ":=".
18402 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
18403 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
18404 * Rules (binaries-all-notests): New variable.
18405 (binaries-all-tests): Likewise.
18406 (binaries-static-notests): Likewise.
18407 (binaries-static-tests): Likewise.
18408 (binaries-all): Define using $(binaries-all-notests) and
18409 $(binaries-all-tests).
18410 (binaries-static): Define using $(binaries-static-notests) and
18411 $(binaries-static-tests).
18412 (binaries-shared-tests): New variable.
18413 (binaries-shared-notests): Likewise.
18414 (binaries-shared): Remove variable.
18415 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
18416 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
18417 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
18418 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
18419 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
18420 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
18421 * elf/Makefile (sln-modules): New variable.
18422 (extra-objs): Add $(sln-modules:=.o).
18423 (ldconfig-modules): Add static-stubs.
18424 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
18425 * elf/static-stubs.c: New file.
18426
7a845b2c
JM
18427 [BZ #14283]
18428 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
18429 by 7 not 8 to examine high bit of fractional part. Use volatile
18430 variables when splitting into final array of floats if
18431 __FLT_EVAL_METHOD__ != 0.
18432 * math/libm-test.inc (cos_test): Add another test.
18433 (sin_test): Likewise.
18434 * sysdeps/i386/fpu/libm-test-ulps: Update.
18435
e2283f38
JM
18436 [BZ #14273]
18437 * math/libm-test.inc (cosh_test): Add more tests.
18438
370ca3d2
JM
18439 * version.h (RELEASE): Set to "development".
18440 (VERSION): Set to "2.16.90".
18441
ee9247c3
CD
184422012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
18443
18444 * NEWS: Update copyright. Remove last-updated date.
18445 Mention math library bug fixes and timezone data changes.
18446 * README: Mention GNU/Hurd, x32, and HPPA support status.
18447
4648c381
TS
184482012-06-28 Thomas Schwinge <thomas@codesourcery.com>
18449
18450 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
18451
aac78a43
AJ
184522012-06-27 Andreas Jaeger <aj@suse.de>
18453
18454 * manual/contrib.texi (Contributors): Add Samuel Thibault.
18455
ed3dbfad
AJ
184562012-06-25 Andreas Jaeger <aj@suse.de>
18457
18458 * sysdeps/s390/fpu/libm-test-ulps: Update.
18459
4d0ee855
AS
184602012-06-23 Andreas Schwab <schwab@linux-m68k.org>
18461 Thomas Schwinge <thomas@codesourcery.com>
18462
18463 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
18464 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
18465 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
18466 fanotify_mark.
18467
af1bce34
TS
184682012-06-23 Thomas Schwinge <thomas@codesourcery.com>
18469
a9fa33ba
TS
18470 * sysdeps/mach/start.c: Remove file.
18471 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
18472 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
18473 * sysdeps/sh/init-first.c: Likewise.
18474
58f902b8
TS
18475 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
18476 registers for frame unwinding purposes, add CFI directives.
18477 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18478 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
18479 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
18480 Likewise.
18481
1518f58b
TS
18482 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
18483 __fortify_fail returning.
18484 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18485
db9b5059
TS
18486 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
18487 sysdeps/sh/____longjmp_chk.S.
18488 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
18489 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
18490 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
18491 (gen-as-const-headers): Append sigaltstack-offsets.sym.
18492
967705fe
TS
18493 * sysdeps/sh/abort-instr.h: New file.
18494 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
18495 process in case exit returns.
18496
a9def8c4
TS
18497 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
18498 initialize the GOT register before use.
18499
2a649725
TS
18500 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
18501 calculation of ARGC > 4.
18502
af1bce34
TS
18503 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
18504 meaningful names to some local labels.
18505
d230f50a
KK
185062012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18507 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18508
18509 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
18510 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
18511 (__arch_compare_and_exchange_val_16_acq): Likewise.
18512 (__arch_compare_and_exchange_val_32_acq): Likewise.
18513 (atomic_exchange_and_add): Fix gUSA sequence.
18514 (atomic_add): Likewise.
18515 (atomic_add_negative): Likewise.
18516 (atomic_add_zero): Likewise.
18517 (atomic_bit_test_set): Likewise.
18518
0479b305
AS
185192012-06-22 Andreas Schwab <schwab@redhat.com>
18520
18521 [BZ #13579]
18522 * include/link.h (struct link_map): Add l_free_initfini.
18523 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
18524 l_initfini.
18525 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
18526 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
18527 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
18528 set.
18529
0e3933b9
CD
185302012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
18531
18532 * configure.in: Use AC_LANG_SOURCE.
18533 * configure: Regenerate.
18534
4248b1b1
RM
185352012-06-22 Roland McGrath <roland@hack.frob.com>
18536
18537 * configure.in (libc_cv_localstatedir): New substituted variable.
18538 * configure: Regenerated.
18539 * config.make.in (localstatedir): New variable, substituted from
18540 libc_cv_localstatedir.
18541 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
18542 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
18543 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
18544 * sysdeps/gnu/configure: Regenerated.
18545
006dd861
JL
185462012-06-21 Jeff Law <law@redhat.com>
18547
18548 [BZ #14277]
18549 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
18550 free. Simplify list management for _LIBC case.
18551
79662d42
JM
185522012-06-21 Joseph Myers <joseph@codesourcery.com>
18553
b7abb4bf
JM
18554 [BZ #14273]
18555 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
18556 Clear sign bit of 64-bit integer value before comparing against
18557 overflow value.
18558
79662d42
JM
18559 * sysdeps/mach/configure: Regenerated.
18560
1f150908
L
185612012-06-21 H.J. Lu <hongjiu.lu@intel.com>
18562
18563 [BZ #14278]
18564 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
18565
28363bbf
JL
185662012-06-21 Jeff Law <law@redhat.com>
18567
18568 [BZ #13882]
18569 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
18570 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 18571 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
18572 * elf/dl-open.c (dl_open_worker): Likewise.
18573
09615db4
CD
185742012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
18575
18576 * scripts/list-sources.sh: Scan PORTS for translations.
18577 * po/libc.pot: Regenerated.
18578
2174c6dd
AJ
185792012-06-21 Andreas Jaeger <aj@suse.de>
18580
18581 [BZ #12194]
18582 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
18583 warning.
18584 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
18585 * bits/byteswap-16.h (__bswap_16): Likewise.
18586 * bits/byteswap.h (__bswap_constant_16): Likewise.
18587
3ee947b1
L
185882012-06-18 H.J. Lu <hongjiu.lu@intel.com>
18589
18590 [BZ #14117]
a2f34833
L
18591 * sysdeps/i386/fpu_control.h: Removed.
18592 * sysdeps/x86_64/fpu_control.h: Moved to ...
18593 * sysdeps/x86/fpu_control.h: Here.
18594
3ee947b1
L
18595 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
18596 (_FPU_SETCW): Likewise.
18597
ed1825f8
L
185982012-06-15 H.J. Lu <hongjiu.lu@intel.com>
18599
25f1282a
L
18600 [BZ #14117]
18601 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
18602 * sysdeps/x86/fpu/bits/mathinline.h: This.
18603 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
18604
ed1825f8
L
18605 [BZ #14050]
18606 [BZ #14117]
18607 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
18608 functions if __x86_64__ is defined.
18609
36d54b74
CLT
186102012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
18611
18612 * string/endian.h: Add !__ASSEMBLER__ condition for including
18613 conversion interfaces.
18614
10285c21
JM
186152012-06-15 Joseph Myers <joseph@codesourcery.com>
18616
18617 [BZ #14241]
18618 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
18619 of ABS(x) in calculating zero to negative powers other than odd
18620 integers.
18621 * math/libm-test.inc (pow_test): Add more tests.
18622
06c5abbd
AJ
186232012-06-15 Andreas Jaeger <aj@suse.de>
18624
18625 * manual/contrib.texi (Contributors): Update entry of Liubov
18626 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
18627 Machado Filho.
18628
a3aeac40
CH
186292012-06-15 Cyril Hrubis <metan@ucw.cz>
18630
18631 * string/string.h: Add __wur to GNU version of strerror_r.
18632
49bdf4c1
L
186332012-06-14 H.J. Lu <hongjiu.lu@intel.com>
18634
18635 [BZ #14229]
18636 * string/Makefile (tests): Add tst-strtok_r.
18637 * string/tst-strtok_r.c: New file.
18638 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
18639 RAX_LP/RDX_LP on SAVE_PTR.
18640
834f9b8d
RM
186412012-06-14 Roland McGrath <roland@hack.frob.com>
18642
18643 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
18644
75fa1921
JM
186452012-06-14 Joseph Myers <joseph@codesourcery.com>
18646
18647 * libm_test.inc (csqrt_test): Allow more spurious underflow
18648 exceptions.
18649 (j0_test): Likewise.
18650 (j1_test): Likewise.
18651 (y0_test): Likewise.
18652 (y1_test): Likewise.
18653
771766df
CD
186542012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
18655
18656 * po/Makefile (libc.pot): Use UTF-8 charset.
18657
ceb9e56b
PP
186582012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
18659
18660 [BZ #14210]
18661 Suppress sign-conversion warning from FD_SET.
18662 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
18663 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
18664 not unsigned long int.
18665 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
18666
ddb28975
L
186672012-06-12 H.J. Lu <hongjiu.lu@intel.com>
18668
18669 [BZ #14050]
18670 [BZ #14117]
18671 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
18672 __extern_always_inline instead of __extern_inline.
18673 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
18674 (__signbit): Likewise.
18675 (__signbitl): Support C++ namespace.
18676 (lrintf): New inline function.
18677 (lrint): Likewise.
18678 (llrintf): Likewise.
18679 (llrint): Likewise.
18680 (fmaxf): Likewise.
18681 (fmax): Likewise.
18682 (fminf): Likewise.
18683 (fmin): Likewise.
18684 (rint): Likewise.
18685 (rintf): Likewise.
18686 (ceil): Likewise.
18687 (ceilf): Likewise.
18688 (floor): Likewise.
18689 (floorf): Likewise.
18690 (nearbyint): Likewise.
18691 (nearbyintf): Likewise.
18692
d7b4fb26
TS
186932012-06-12 Thomas Schwinge <thomas@codesourcery.com>
18694
18695 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
18696 non-default versions.
18697
eb55f5c2
RM
186982012-06-11 Roland McGrath <roland@hack.frob.com>
18699
18700 [BZ #14218]
18701 * manual/argp.texi (Argp): Reword argp_parse description slightly.
18702
366af02c
TS
187032012-06-09 Thomas Schwinge <thomas@codesourcery.com>
18704
99ff6e5c
TS
18705 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
18706 (FE_UPWARD, FE_DOWNWARD): Don't define.
18707 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
18708 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18709
366af02c
TS
18710 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
18711 reading it.
18712 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18713 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18714
793ea851
KK
187152012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18716
18717 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18718 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
18719 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
18720 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
18721
a728a38f
L
187222012-06-06 H.J. Lu <hongjiu.lu@intel.com>
18723
18724 [BZ #14117]
c08010c7
L
18725 * sysdeps/i386/fpu/bits/fenv.h: Removed.
18726 * sysdeps/i386/fpu/Implies: New file.
18727 * sysdeps/x86_64/fpu/Implies: Likewise.
18728 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
18729 * sysdeps/x86/fpu/bits/fenv.h: This.
18730
a728a38f
L
18731 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
18732 __SSE_MATH__.
18733
6e230d11
SP
187342012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18735
18736 [BZ #14134]
18737 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
18738 character 0xffff that matches the last element of the
18739 conversion table.
18740
1b671feb
AZ
187412012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18742
18743 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
18744 fmodl commit.
18745
6043738b
AZ
187462012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18747
18748 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
18749 values higher than 25.6283.
18750
34ae0b32
AZ
187512012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18752
18753 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
18754 subnormal exponent extraction and add some __builtin_expect.
18755 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
18756 Fix for subnormal mantissa calculation.
18757
1214ec8f
MF
187582012-06-04 Mike Frysinger <vapier@gentoo.org>
18759
18760 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
18761 cpu2 is -1 and errno is not ENOSYS.
18762
f3d1f93c
L
187632012-06-04 H.J. Lu <hongjiu.lu@intel.com>
18764
18765 [BZ #14117]
0e4a3cd7
L
18766 * sysdeps/i386/i486/bits/string.h: Renamed to ...
18767 * sysdeps/x86/bits/string.h: This.
18768 * sysdeps/x86_64/bits/string.h: Removed.
18769
6704c645
L
18770 * sysdeps/i386/i486/bits/string.h: Define inline functions only
18771 if not compiling for x86-64, but compiling for >= i486.
18772
48495318
L
18773 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
18774 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
18775
14adcbfc
L
18776 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
18777 New macro from Linux kernel 3.4.0.
18778 (FP_XSTATE_MAGIC2): Likewise.
18779 (FP_XSTATE_MAGIC2_SIZE): Likewise.
18780 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
18781 (struct _fpx_sw_bytes): New struct.
18782 (struct _xsave_hdr): Likewise.
18783 (struct _ymmh_state): Likewise.
18784 (struct _xstate): Likewise.
18785
68e408ab
L
18786 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
18787 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
18788 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
18789 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
18790 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
18791 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
18792
f3d1f93c
L
18793 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
18794 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
18795 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
18796 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
18797 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
18798 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
18799
d9dc34cd
TMQMF
188002012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18801
18802 [BZ #13743]
18803 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
18804 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
18805 (sysdep_headers): Include sys/platform/ppc.h.
18806 * sysdeps/powerpc/test-gettimebase.c: Test for
18807 __ppc_get_timebase() to catch future ISA opcode/insn changes.
18808 * manual/Makefile (appendices): Include platform.texi.
18809 * manual/contrib.texi (Contributors): Update @node pointers.
18810 * manual/maint.texi (Maintenance): Likewise.
18811 (Platform): New node.
18812 * manual/platform.texi: New file. Document the new features.
18813
4af3879c
SP
188142012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18815 Jakub Jelinek <jakub@redhat.com>
18816
18817 [BZ #14188]
18818 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
18819 where __builtin_expect is unavailable.
18820
2fd6ff13
DM
188212012-06-03 David S. Miller <davem@davemloft.net>
18822
18823 * stdlib/longlong.h: Updated from GCC.
18824
173f7220
AS
188252012-06-02 Andreas Schwab <schwab@linux-m68k.org>
18826
18827 [BZ #14042]
18828 * sysdeps/powerpc/powerpc32/mcount.c: New file.
18829 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
18830 __mcount_internal.
18831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18832 (GLIBC_2.16): Likewise.
18833
f34a1c6f
L
188342012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18835
18836 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
18837
88a4576f
JM
188382012-06-01 Joseph Myers <joseph@codesourcery.com>
18839
ea32bcdd
JM
18840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
18841 (default-abi): New variable.
18842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
18843 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
18844 variable.
18845 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
18846 Likewise.
18847 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
18848 Likewise.
18849 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
18850 Likewise.
18851
88a4576f
JM
18852 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
18853 definition. Document in comment.
18854
402fe938
DM
188552012-06-01 David S. Miller <davem@davemloft.net>
18856
18857 * stdlib/longlong.h: Updated from GCC.
18858
3553723f
L
188592012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18860
18861 [BZ #14117]
3bd872c4
L
18862 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
18863 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
18864 sys/debugreg.h sys/io.h here.
18865 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
18866 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
18867 sys/io.h.
18868 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
18869 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
18870 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
18871 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
18872 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
18873 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
18874
3553723f
L
18875 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
18876 Define only if __x86_64__ is defined.
18877
4842e4fe
JM
188782012-06-01 Joseph Myers <joseph@codesourcery.com>
18879
c5bfe3d5
JM
18880 [BZ #14048]
18881 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
18882 Use int64_t for variable i.
18883 * math/libm-test.inc (fmod_test): Add more tests.
18884
4842e4fe
JM
18885 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
18886 z computation is not scheduled after fetestexcept.
18887 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
18888 Use math_force_eval instead of asm to ensure calculation scheduled
18889 before exception test.
18890 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
18891 Ensure a1 + u.d computation is not scheduled after fetestexcept.
18892
efb73488
AJ
188932012-06-01 Aurelien Jarno <aurelien@aurel32.net>
18894
18895 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
18896 computation is not scheduled after fetestexcept.
18897
29bcce7c
L
188982012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18899
18900 [BZ #14117]
18901 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
18902 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
18903
73a68f94
AZ
189042012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18905
18906 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
18907 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18908
67b6df78
L
189092012-05-31 H.J. Lu <hongjiu.lu@intel.com>
18910
edf2933a 18911 [BZ #14117]
ebc64a18
L
18912 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
18913 <bits/wordsize.h>.
18914 (__WCHAR_MIN): Support __WORDSIZE == 64.
18915 (__WCHAR_MAX): Likewise.
18916
edf2933a
L
18917 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
18918 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
18919
57c6cf40
L
18920 [BZ #14183]
18921 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
18922 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
18923
67b6df78 18924 [BZ #14117]
8eb6281e
L
18925 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
18926 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
18927
aac639f4
L
18928 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
18929 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
18930
67b6df78
L
18931 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
18932 Defined to 1 if __x86_64__ isn't defined.
18933 (_STAT_VER_LINUX_OLD): New.
18934 (st_atime): Remove duplicate.
18935 (st_mtime): Likewise.
18936 (st_ctime): Likewise.
18937
1c2cfe81
DM
189382012-05-31 David S. Miller <davem@davemloft.net>
18939
18940 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
18941 entries.
18942
5be8418c
AS
189432012-06-01 Andreas Schwab <schwab@linux-m68k.org>
18944
e7725326
AS
18945 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
18946 gen-libm-test.pl.
18947
5be8418c
AS
18948 [BZ #14132]
18949 * elf/dl-reloc.c: Include <_itoa.h>.
18950 (_dl_reloc_bad_type): Remove use of INTUSE.
18951 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
18952 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
18953 * stdio-common/psiginfo.c (psiginfo): Likewise.
18954 * stdio-common/psignal.c (psignal): Likewise.
18955 * string/strsignal.c (strsignal): Likewise.
18956 * include/signal.h (_sys_siglist): Declare hidden proto.
18957 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
18958 INTVARDEF with libc_hidden_data_def.
18959 * stdio-common/itoa-udigits.c: Likewise.
18960 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
18961 (_itoa_lower_digits_internal): Remove declaration.
18962 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
18963 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
18964 (_sys_sigabbrev_internal): Remove aliases.
18965 (_sys_siglist): Define hidden alias.
18966
507352f1
MT
189672012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
18968
18969 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18970 bits/sysctl.h.
18971
42bbb1c3
L
189722012-05-31 H.J. Lu <hongjiu.lu@intel.com>
18973
18974 [BZ #14117]
6bd784b6
L
18975 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
18976 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
18977
8bca20f0
L
18978 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
18979 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
18980 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
18981 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
18982 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
18983 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
18984
f9e890a9
L
18985 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
18986 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
18987 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
18988
471101a1
L
18989 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
18990 with __addr.
18991 (insw): Likewise.
18992 (insl): Likewise.
18993 (outsb): Likewise.
18994 (outsw): Likewise.
18995 (outsl): Likewise.
18996
6451c862
L
18997 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
18998 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
18999 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
19000
a254b8c9
L
19001 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
19002 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
19003 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
19004 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
19005 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
19006 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
19007
b8dfdd92
L
19008 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
19009 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
19010
578cd270
L
19011 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
19012 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
19013
de662f5f
L
19014 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
19015 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
19016 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
19017
25653439
L
19018 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
19019 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
19020 to ...
19021 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
19022
6bad24a0
L
19023 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
19024 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
19025 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
19026
42bbb1c3
L
19027 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
19028 for x86-64.
19029 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
19030
2d10d547
JM
190312012-05-31 Joseph Myers <joseph@codesourcery.com>
19032
19033 * math/math.h (M_El): Use two more decimal places.
19034 (M_LOG2El): Likewise.
19035 (M_LOG10El): Likewise.
19036 (M_LN2l): Likewise.
19037 (M_LN10l): Likewise.
19038 (M_PIl): Likewise.
19039 (M_PI_2l): Likewise.
19040 (M_PI_4l): Likewise.
19041 (M_1_PIl): Likewise.
19042 (M_2_PIl): Likewise.
19043 (M_2_SQRTPIl): Likewise.
19044 (M_SQRT2l): Likewise.
19045 (M_SQRT1_2l): Likewise.
19046
f230c29b
DM
190472012-05-31 David S. Miller <davem@davemloft.net>
19048
19049 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
19050 values between float registers.
19051 * sysdeps/sparc/sparc64/memset.S: Likewise.
19052 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19053
fed806c3
MF
190542012-05-31 Mike Frysinger <vapier@gentoo.org>
19055
19056 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
19057 -D_FORTIFY_SOURCE=1.
19058 (CPPFLAGS-tst-longjmp_chk.c): Define.
19059 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
19060 (CPPFLAGS-tst-longjmp_chk2.c): Define.
19061 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
19062 CFLAGS-tst-wchar-h.c.
19063
30917259
MP
190642012-05-31 Marek Polacek <polacek@redhat.com>
19065
19066 [BZ #14132]
19067 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
19068 __endmntent_internal): Remove declaration.
19069 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
19070 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
19071 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
19072
1c58d5dc
DM
190732012-05-30 David S. Miller <davem@davemloft.net>
19074
19075 * sysdeps/sparc/sparc32/soft-fp/q_util.c
19076 (___Q_simulate_exceptions): Use real FP ops rather than writing
19077 into the %fsr.
19078 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
19079 Likewise.
19080
7dc00e0d
L
190812012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19082
19083 [BZ #14117]
0bd53985
L
19084 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
19085 * sysdeps/x86/bits/xtitypes.h: This.
19086
3a257e66
L
19087 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
19088 * sysdeps/x86/bits/wordsize.h: This.
19089
62f62904
L
19090 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
19091 * sysdeps/x86/bits/huge_vall.h: This.
19092
404fe9d9
L
19093 * sysdeps/i386/bits/select.h: Removed.
19094 * sysdeps/x86_64/bits/select.h: Renamed to ...
19095 * sysdeps/x86/bits/select.h: This.
19096
d48d0446
L
19097 * sysdeps/i386/bits/setjmp.h: Removed.
19098 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
19099 * sysdeps/x86/bits/setjmp.h: This.
19100
7dc00e0d
L
19101 * sysdeps/i386/bits/mathdef.h: Removed.
19102 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
19103 * sysdeps/x86/bits/mathdef.h: This.
19104
03277f8f
AS
191052012-05-30 Andreas Schwab <schwab@linux-m68k.org>
19106
19107 [BZ #14132]
19108 * include/sys/socket.h (__connect_internal)
19109 (__libc_sa_len_internal): Remove declaration.
19110 (__connect, __libc_sa_len): Declare hidden_proto.
19111 (SA_LEN): Remove use of INTUSE.
19112 * socket/connect.c: Add libc_hidden_def.
19113 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
19114 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
19115 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
19116 alias.
19117 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
19118 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
19119 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
19120 of adding _internal alias.
19121
13764867
L
191222012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19123
19124 [BZ #14117]
6bd97696
L
19125 * sysdeps/i386/bits/link.h: Removed.
19126 * sysdeps/i386/bits/linkmap.h: Likewise.
19127 * sysdeps/x86_64/bits/link.h: Renamed to ...
19128 * sysdeps/x86/bits/link.h: This.
19129 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
19130 * sysdeps/x86/bits/linkmap.h: This.
19131
f726f0bb
L
19132 * sysdeps/i386/bits/endian.h: Removed.
19133 * sysdeps/x86_64/bits/endian.h: Renamed to ...
19134 * sysdeps/x86/bits/endian.h: This.
19135
13764867
L
19136 * sysdeps/i386/bits/byteswap.h: Removed.
19137 * sysdeps/i386/bits/byteswap-16.h: Likewise.
19138 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
19139 * sysdeps/x86/bits/byteswap.h: This.
19140 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
19141 * sysdeps/x86/bits/byteswap-16.h: This.
19142 * sysdeps/i386/Implies: Add x86.
19143 * sysdeps/x86_64/Implies: Likewise.
19144
ae251b0b
DM
191452012-05-30 David S. Miller <davem@davemloft.net>
19146
19147 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
19148 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
19149 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
19150 (FP_TRAPPING_EXCEPTIONS): Define.
19151 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
19152 (FP_TRAPPING_EXCEPTIONS): Define.
19153 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
19154 subnormals only when inexact has been signalled or underflow
19155 exceptions are enabled.
19156 (_FP_PACK_CANONICAL): Likewise.
19157
d5c90867
L
191582012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19159
19160 [BZ #14183]
19161 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
19162 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
19163
63f1549e
RH
191642012-05-30 Richard Henderson <rth@twiddle.net>
19165
8d8f2279
RH
19166 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
19167 with #ifndef NOT_IN_libc.
19168
63f1549e
RH
19169 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
19170 marked to avoid plt entry.
19171
0ab0291b
L
191722012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19173
19174 [BZ #14112]
19175 * Makeconfig (default-abi): New macro.
19176 (abi-includes): Likewise.
19177 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
19178 $(abi-$(default-abi)-lib-soname) for soname if defined.
19179 ($(common-objpfx)gnu/lib-names.stmp): Generate from
19180 abi-variants.
19181 * Makefile (installed-stubs): Likewise.
19182 * include/stubs-biarch.h: Removed.
19183 * scripts/lib-names.awk: Only handle one library at a time.
19184 * scripts/soversions.awk: Remove WORDSIZE support.
19185 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
19186 entries.
19187 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
19188 Removed.
19189 (syscall-list-default-condition): Likewise.
19190 (syscall-list-default-condition): Likewise.
19191 (syscall-list-includes): Likewise.
19192 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
19193 syscall-list-* with abi-*. Handle undefined abi-variants.
19194 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
19195 * sysdeps/unix/sysv/linux/i386/Implies: New file.
19196 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
19197 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
19198 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
19199 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
19200 Removed.
19201 (syscall-list-32-options): Likewise.
19202 (syscall-list-32-condition): Likewise.
19203 (syscall-list-64-options): Likewise.
19204 (syscall-list-64-condition): Likewise.
19205 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
19206 macro.
19207 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
19208 Renamed to ...
19209 (abi-*): This.
19210 (abi-64-ld-soname): New macro.
19211 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
19212 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
19213 Renamed to ...
19214 (abi-*): This.
19215 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
19216 * sysdeps/x86_64/x32/shlib-versions: Likewise.
19217
4da0431d
JM
192182012-05-30 Joseph Myers <joseph@codesourcery.com>
19219
3a85279c
JM
19220 * sysdeps/unix/sysv/linux/kernel-features.h
19221 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
19222 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
19223 include <kernel-features.h>.
19224 [!__NR_ftruncate64]: Remove conditional code.
19225 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19226 [__NR_ftruncate64]: Make code unconditional.
19227 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19228 * sysdeps/unix/sysv/linux/truncate64.c: Do not
19229 include <kernel-features.h>.
19230 [!__NR_ftruncate64]: Remove conditional code.
19231 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19232 [__NR_ftruncate64]: Make code unconditional.
19233 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
19235 include <kernel-features.h>.
19236 [!__NR_ftruncate64]: Remove conditional code.
19237 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19238 [__NR_ftruncate64]: Make code unconditional.
19239 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19241 include <kernel-features.h>.
19242 [!__NR_ftruncate64]: Remove conditional code.
19243 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19244 [__NR_ftruncate64]: Make code unconditional.
19245 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19246
4da0431d
JM
19247 * configure.in (libc_cv_fpie): Weaken to a compile test using
19248 LIBC_TRY_CC_OPTION.
19249 * configure: Regenerated.
19250
11ef492c
AK
192512012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19252
19253 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
19254 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
19255 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
19256 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19257 Refreshed.
19258 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
19259 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
19260 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
19261 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
19262 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
19263 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19264 Refreshed.
19265
d66ef399
DM
192662012-05-27 David S. Miller <davem@davemloft.net>
19267
19268 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
19269 (___Q_zero): New.
19270 (__Q_simulate_exceptions): Return void. Change to simulate
19271 exceptions by writing into the %fsr.
19272 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
19273 (__Qp_handle_exceptions): Likewise.
19274 (numbers): Delete.
19275 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
19276 __Qp_handle_exceptions.
19277 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
19278 __Qp_handle_exceptions.
19279 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19280 as unused and give dummy FP_RND_NEAREST initializer.
19281 (FP_INHIBIT_RESULTS): Define.
19282 (___Q_simulate_exceptions): Update declaration.
19283 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
19284 formatting.
19285 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19286 as unused and give dummy FP_RND_NEAREST initializer.
19287 (__Qp_handle_exceptions): Update declaration.
19288 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
19289 formatting.
19290
04fb54b5
TS
192912012-05-27 Thomas Schwinge <thomas@codesourcery.com>
19292
19293 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
19294 the temporary FPU control word.
19295 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19296 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
19297 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
19298 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19299 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19300 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
19301 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
19302 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19303 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19304 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
19305 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19306
3f99608f
KK
193072012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19308
19309 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
19310 fields.
19311
65a4de4e
CLT
193122012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
19313
19314 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
19315 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
19316 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
19317 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
19318 Likewise.
19319 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
19320 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
19321 Likewise.
19322
15749d40
UD
193232012-05-27 Ulrich Drepper <drepper@gmail.com>
19324
19325 * po/h.po: Update from translation team.
19326
25dbcb27
AS
193272012-05-26 Andreas Schwab <schwab@linux-m68k.org>
19328
3d3f8e55
AS
19329 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
19330
25dbcb27
AS
19331 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
19332 handling of denormals.
19333 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19334 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19335 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19336 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19337 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19338 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
19339 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
19340 Likewise.
19341
7ad47a80 193422012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
19343
19344 [BZ #14152]
19345 * math/libm-test.inc (fma_test): Don't always expect underflow
19346 exception.
19347
9c6ea9fa
SP
193482012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19349
19350 [BZ #12416]
19351 * elf/tst-execstack.c: Include stackinfo.h.
19352 (do_test): Adjust test case to ensure that pthread_getattr_np
19353 behaviour remains the same after marking stack executable.
19354
a8239222
JM
193552012-05-25 Joseph Myers <joseph@codesourcery.com>
19356
19357 * sysdeps/unix/sysv/linux/kernel-features.h
19358 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
19359 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
19360 kernel-features.h.
19361 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19362 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19363 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
19364 kernel-features.h.
19365 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19366 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19367
918b5606
L
193682012-05-25 H.J. Lu <hongjiu.lu@intel.com>
19369
19370 * configure.in: Define the default includes to being none.
19371 * configure: Regenerated.
19372
3a097cc7
RM
193732012-05-25 Roland McGrath <roland@hack.frob.com>
19374
8422c9a5
RM
19375 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
19376 * sysdeps/x86_64/setjmp.S: Likewise.
19377 * sysdeps/i386/bsd-setjmp.S: Likewise.
19378 * sysdeps/i386/bsd-_setjmp.S: Likewise.
19379 * sysdeps/i386/setjmp.S: Likewise.
19380 * sysdeps/i386/__longjmp.S: Likewise.
19381 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19382 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
19383
3a097cc7
RM
19384 * include/stap-probe.h: New file.
19385 * configure.in: Handle --enable-systemtap.
19386 * configure: Regenerated.
19387 * config.h.in (USE_STAP_PROBE): New #undef.
19388 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
19389 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
19390 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19391
21708942
JM
193922012-05-25 Joseph Myers <joseph@codesourcery.com>
19393
19394 [BZ #13717]
19395 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19396 to 2.4.0 where earlier.
19397 * sysdeps/unix/sysv/linux/configure: Regenerated.
19398 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19399 <kernel-features.h>.
19400 [__ASSUME_32BITUIDS]: Make code unconditional.
19401 [!__ASSUME_32BITUIDS]: Remove conditional code.
19402 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
19403 <kernel-features.h>.
19404 [__ASSUME_32BITUIDS]: Make code unconditional.
19405 [!__ASSUME_32BITUIDS]: Remove conditional code.
19406 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
19407 [__ASSUME_32BITUIDS]: Make code unconditional.
19408 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
19409 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
19410 <kernel-features.h>.
19411 [__ASSUME_32BITUIDS]: Make code unconditional.
19412 [!__ASSUME_32BITUIDS]: Remove conditional code.
19413 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
19414 <kernel-features.h>.
19415 [__ASSUME_32BITUIDS]: Make code unconditional.
19416 [!__ASSUME_32BITUIDS]: Remove conditional code.
19417 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
19418 <kernel-features.h>.
19419 [__ASSUME_32BITUIDS]: Make code unconditional.
19420 [!__ASSUME_32BITUIDS]: Remove conditional code.
19421 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
19422 <kernel-features.h>.
19423 [__ASSUME_32BITUIDS]: Make code unconditional.
19424 [!__ASSUME_32BITUIDS]: Remove conditional code.
19425 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19426 <kernel-features.h>.
19427 [__ASSUME_32BITUIDS]: Make code unconditional.
19428 [!__ASSUME_32BITUIDS]: Remove conditional code.
19429 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19430 <kernel-features.h>.
19431 [__ASSUME_32BITUIDS]: Make code unconditional.
19432 [!__ASSUME_32BITUIDS]: Remove conditional code.
19433 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
19434 <kernel-features.h>.
19435 [__ASSUME_32BITUIDS]: Make code unconditional.
19436 [!__ASSUME_32BITUIDS]: Remove conditional code.
19437 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19438 <kernel-features.h>.
19439 [__ASSUME_32BITUIDS]: Make code unconditional.
19440 [!__ASSUME_32BITUIDS]: Remove conditional code.
19441 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19442 <kernel-features.h>.
19443 [__ASSUME_32BITUIDS]: Make code unconditional.
19444 [!__ASSUME_32BITUIDS]: Remove conditional code.
19445 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
19446 <kernel-features.h>.
19447 [__ASSUME_32BITUIDS]: Make code unconditional.
19448 [!__ASSUME_32BITUIDS]: Remove conditional code.
19449 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
19450 <kernel-features.h>.
19451 [__NR_setresgid] (__setresgid): Do not declare.
19452 [__ASSUME_32BITUIDS]: Make code unconditional.
19453 [!__ASSUME_32BITUIDS]: Remove conditional code.
19454 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
19455 <kernel-features.h>.
19456 [__NR_setresuid] (__setresuid): Do not declare.
19457 [__ASSUME_32BITUIDS]: Make code unconditional.
19458 [!__ASSUME_32BITUIDS]: Remove conditional code.
19459 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
19460 <kernel-features.h>.
19461 [__ASSUME_32BITUIDS]: Make code unconditional.
19462 [!__ASSUME_32BITUIDS]: Remove conditional code.
19463 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
19464 <kernel-features.h>.
19465 [__ASSUME_32BITUIDS]: Make code unconditional.
19466 [!__ASSUME_32BITUIDS]: Remove conditional code.
19467 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
19468 <kernel-features.h>.
19469 [__ASSUME_32BITUIDS]: Make code unconditional.
19470 [!__ASSUME_32BITUIDS]: Remove conditional code.
19471 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
19472 <kernel-features.h>.
19473 [__ASSUME_32BITUIDS]: Make code unconditional.
19474 [!__ASSUME_32BITUIDS]: Remove conditional code.
19475 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
19476 <kernel-features.h>.
19477 [__ASSUME_32BITUIDS]: Make code unconditional.
19478 [!__ASSUME_32BITUIDS]: Remove conditional code.
19479 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
19480 <kernel-features.h>.
19481 [__ASSUME_32BITUIDS]: Make code unconditional.
19482 [!__ASSUME_32BITUIDS]: Remove conditional code.
19483 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
19484 <kernel-features.h>.
19485 [__ASSUME_32BITUIDS]: Make code unconditional.
19486 [!__ASSUME_32BITUIDS]: Remove conditional code.
19487 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
19488 <kernel-features.h>.
19489 [__ASSUME_32BITUIDS]: Make code unconditional.
19490 [!__ASSUME_32BITUIDS]: Remove conditional code.
19491 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
19492 <kernel-features.h>.
19493 [__ASSUME_32BITUIDS]: Make code unconditional.
19494 [!__ASSUME_32BITUIDS]: Remove conditional code.
19495 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19496 <kernel-features.h>.
19497 [__ASSUME_32BITUIDS]: Make code unconditional.
19498 [!__ASSUME_32BITUIDS]: Remove conditional code.
19499 * sysdeps/unix/sysv/linux/kernel-features.h
19500 (__ASSUME_SETRESUID_SYSCALL): Remove.
19501 (__ASSUME_SETRESGID_SYSCALL): Likewise.
19502 (__ASSUME_32BITUIDS): Likewise.
19503 (__ASSUME_LDT_WORKS): Likewise.
19504 (__ASSUME_O_DIRECTORY): Likewise.
19505 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
19506 architecture but not kernel version.
19507 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19508 (__ASSUME_MMAP2_SYSCALL): Likewise.
19509 (__ASSUME_STAT64_SYSCALL): Likewise.
19510 (__ASSUME_IPC64): Likewise.
19511 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
19512 <kernel-features.h>.
19513 [__ASSUME_32BITUIDS]: Make code unconditional.
19514 [!__ASSUME_32BITUIDS]: Remove conditional code.
19515 * sysdeps/unix/sysv/linux/opendir.c: Do not include
19516 <kernel-features.h>.
19517 [__ASSUME_O_DIRECTORY]: Make code unconditional.
19518 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
19519 132096]: Remove conditional code.
19520 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
19521 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19522 <kernel-features.h>.
19523 [__ASSUME_32BITUIDS]: Make code unconditional.
19524 [!__ASSUME_32BITUIDS]: Remove conditional code.
19525 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19526 <kernel-features.h>.
19527 [__ASSUME_32BITUIDS]: Make code unconditional.
19528 [!__ASSUME_32BITUIDS]: Remove conditional code.
19529 * sysdeps/unix/sysv/linux/setegid.c: Do not include
19530 <kernel-features.h>.
19531 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
19532 unconditional.
19533 (__setresgid): Do not declare.
19534 [__ASSUME_32BITUIDS]: Make code unconditional.
19535 [!__ASSUME_32BITUIDS]: Remove conditional code.
19536 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
19537 <kernel-features.h>.
19538 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
19539 unconditional.
19540 (__setresuid): Do not declare.
19541 [__ASSUME_32BITUIDS]: Make code unconditional.
19542 [!__ASSUME_32BITUIDS]: Remove conditional code.
19543 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19544 <kernel-features.h>.
19545 [__ASSUME_32BITUIDS]: Make code unconditional.
19546 [!__ASSUME_32BITUIDS]: Remove conditional code.
19547 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
19548 <kernel-features.h>.
19549 [__ASSUME_32BITUIDS]: Make code unconditional.
19550 [!__ASSUME_32BITUIDS]: Remove conditional code.
19551
a386f1cc
RH
195522012-05-25 Richard Henderson <rth@twiddle.net>
19553
19554 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
19555 dl_hwcap to ifunc resolver.
19556 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
19557 elf_ifunc_invoke.
19558 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
19559 dl_hwcap to ifunc resolver.
19560 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
19561
b6550497
JM
195622012-05-24 Joseph Myers <joseph@codesourcery.com>
19563
19564 [BZ #14153]
19565 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
19566 for |x| <= 2**-26, not 2**-57.
19567 * math/libm-test.inc (acos_test): Do not allow spurious underflow
19568 exception.
19569
b0bc23a1
JL
195702012-05-24 Jeff Law <law@redhat.com>
19571
19572 * stdio-common/Makefile (tests): Add bug25.
19573 * stdio-common/bug25.c: New test.
19574
347c92e9
L
195752012-05-24 H.J. Lu <hongjiu.lu@intel.com>
19576
19577 [BZ #13576]
19578 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
19579 multiple of MALLOC_ALIGNMENT in size.
19580 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
19581
6bcc8b3f
JM
195822012-05-24 Joseph Myers <joseph@codesourcery.com>
19583
19584 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
19585 Require >= 256.
19586 (FILENAME_MAX): Use macro-int-constant.
19587 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
19588 (_IOFBF): Use macro-int-constant.
19589 (_IOLBF): Likewise.
19590 (_IONBF): Likewise.
19591 (SEEK_CUR): Likewise.
19592 (SEEK_END): Likewise.
19593 (SEEK_SET): Likewise.
19594 (TMP_MAX): Likewise.
19595 (EOF): Use macro-int-constant. Require < 0.
19596 (NULL): Use macro-constant. Require == 0.
19597 (stdin): Require type to be FILE *.
19598 (stdout): Likewise.
19599 (stderr): Likewise.
19600 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
19601 macro-int-constant.
19602 (EXIT_SUCCESS): Likewise.
19603 (NULL): Use macro-constant. Require == 0.
19604 (RAND_MAX): Use macro-int-constant.
19605 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
19606 [C99-based standards] (strtof): Require function.
19607 [C99-based standards] (strtold): Likewise.
19608 [C99-based standards] (strtoll): Likewise.
19609 [C99-based standards] (strtoull): Likewise.
19610 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19611 [ISO || ISO99 || ISO11] (limits.h): Likewise.
19612 [ISO || ISO99 || ISO11] (math.h): Likewise.
19613 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
19614 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19615 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19616
d18ea0c5
AS
196172012-05-24 Andreas Schwab <schwab@linux-m68k.org>
19618
19619 [BZ #14132]
56d25bb8
AS
19620 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
19621 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
19622 * intl/dgettext.c (DCGETTEXT): Likewise.
19623 * intl/gettext.c (DCGETTEXT): Likewise.
19624 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
19625 * posix/regex_internal.h (gettext): Likewise.
19626 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
19627 Remove declaration.
19628 * include/argz.h (__argz_count_internal)
19629 (__argz_stringify_internal): Remove declaration.
19630 (__argz_count, __argz_stringify): Declare hidden proto.
19631 * intl/dcgettext.c: Remove use of INTDEF.
19632 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
19633 * string/argz-stringify.c: Likewise.
19634 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19635 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19636 Declare hidden proto.
d18ea0c5
AS
19637 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19638 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19639 Declare hidden proto.
19640 * include/stdio.h (__asprintf_internal): Don't declare.
19641 (__asprintf): Don't define as macro. Declare hidden proto.
19642 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
19643 (__fsetlocking): Declare hidden proto.
19644 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
19645 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
19646 hidden proto.
19647 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
19648 (_IO_setlinebuf): Remove use of INTUSE.
19649 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
19650 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
19651 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
19652 Remove declaration.
19653 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
19654 (_IO_do_flush): Remove use of INTUSE.
19655 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
19656 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
19657 (_IO_adjust_column, _IO_least_wmarker)
19658 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
19659 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
19660 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
19661 (_IO_default_doallocate, _IO_wdefault_doallocate)
19662 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
19663 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
19664 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
19665 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
19666 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
19667 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
19668 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
19669 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
19670 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
19671 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
19672 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
19673 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
19674 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
19675 proto.
19676 (_IO_flush_all_internal, _IO_adjust_column_internal)
19677 (_IO_default_uflow_internal, _IO_default_finish_internal)
19678 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
19679 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
19680 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
19681 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
19682 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
19683 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
19684 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
19685 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
19686 (_IO_file_close_internal, _IO_file_close_it_internal)
19687 (_IO_file_underflow_internal, _IO_file_overflow_internal)
19688 (_IO_file_init_internal, _IO_file_attach_internal)
19689 (_IO_file_fopen_internal, _IO_file_read_internal)
19690 (_IO_file_sync_internal, _IO_file_seek_internal)
19691 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
19692 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
19693 (_IO_str_underflow_internal, _IO_str_overflow_internal)
19694 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
19695 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
19696 (_IO_list_all_internal, _IO_link_in_internal)
19697 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
19698 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
19699 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
19700 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
19701 (_IO_do_write_internal, _IO_padn_internal)
19702 (_IO_getline_info_internal, _IO_getline_internal)
19703 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
19704 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
19705 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
19706 (_IO_vfscanf_internal, _IO_vfprintf_internal)
19707 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
19708 (_IO_init_internal, _IO_un_link_internal): Don't declare.
19709 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
19710 with libc_hidden_ver, remove use of INTUSE.
19711 * libio/genops.c: Likewise.
19712 * libio/freopen.c: Likewise.
19713 * libio/freopen64.c: Likewise.
19714 * libio/iofclose.c: Likewise.
19715 * libio/iofdopen.c: Likewise.
19716 * libio/iofflush.c: Likewise.
19717 * libio/iofflush_u.c: Likewise.
19718 * libio/iofgets.c: Likewise.
19719 * libio/iofgets_u.c: Likewise.
19720 * libio/iofopen.c: Likewise.
19721 * libio/iofopncook.c: Likewise.
19722 * libio/iofread.c: Likewise.
19723 * libio/iofread_u.c: Likewise.
19724 * libio/ioftell.c: Likewise.
19725 * libio/iofwrite.c: Likewise.
19726 * libio/iogetline.c: Likewise.
19727 * libio/iogets.c: Likewise.
19728 * libio/iogetwline.c: Likewise.
19729 * libio/iopadn.c: Likewise.
19730 * libio/iopopen.c: Likewise.
19731 * libio/ioseekoff.c: Likewise.
19732 * libio/ioseekpos.c: Likewise.
19733 * libio/iosetbuffer.c: Likewise.
19734 * libio/iosetvbuf.c: Likewise.
19735 * libio/ioungetc.c: Likewise.
19736 * libio/ioungetwc.c: Likewise.
19737 * libio/iovdprintf.c: Likewise.
19738 * libio/iovsprintf.c: Likewise.
19739 * libio/iovsscanf.c: Likewise.
19740 * libio/memstream.c: Likewise.
19741 * libio/obprintf.c: Likewise.
19742 * libio/oldfileops.c: Likewise.
19743 * libio/oldiofclose.c: Likewise.
19744 * libio/oldiofdopen.c: Likewise.
19745 * libio/oldiofopen.c: Likewise.
19746 * libio/oldiopopen.c: Likewise.
19747 * libio/oldstdfiles.c: Likewise.
19748 * libio/putc.c: Likewise.
19749 * libio/setbuf.c: Likewise.
19750 * libio/setlinebuf.c: Likewise.
19751 * libio/stdfiles.c: Likewise.
19752 * libio/strops.c: Likewise.
19753 * libio/vasprintf.c: Likewise.
19754 * libio/vscanf.c: Likewise.
19755 * libio/vsnprintf.c: Likewise.
19756 * libio/vswprintf.c: Likewise.
19757 * libio/wfiledoalloc.c: Likewise.
19758 * libio/wfileops.c: Likewise.
19759 * libio/wgenops.c: Likewise.
19760 * libio/wmemstream.c: Likewise.
19761 * libio/wstrops.c: Likewise.
19762 * libio/__fpurge.c: Likewise.
19763 * libio/__fsetlocking.c: Likewise.
19764 * assert/assert.c: Likewise.
19765 * debug/fgets_chk.c: Likewise.
19766 * debug/fgets_u_chk.c: Likewise.
19767 * debug/fread_chk.c: Likewise.
19768 * debug/fread_u_chk.c: Likewise.
19769 * debug/gets_chk.c: Likewise.
19770 * debug/obprintf_chk.c: Likewise.
19771 * debug/vasprintf_chk.c: Likewise.
19772 * debug/vdprintf_chk.c: Likewise.
19773 * debug/vsnprintf_chk.c: Likewise.
19774 * debug/vsprintf_chk.c: Likewise.
19775 * malloc/mtrace.c: Likewise.
19776 * misc/error.c: Likewise.
19777 * misc/syslog.c: Likewise.
19778 * stdio-common/asprintf.c: Likewise.
19779 * stdio-common/fxprintf.c: Likewise.
19780 * stdio-common/getw.c: Likewise.
19781 * stdio-common/isoc99_fscanf.c: Likewise.
19782 * stdio-common/isoc99_scanf.c: Likewise.
19783 * stdio-common/isoc99_vfscanf.c: Likewise.
19784 * stdio-common/isoc99_vscanf.c: Likewise.
19785 * stdio-common/isoc99_vsscanf.c: Likewise.
19786 * stdio-common/printf-prs.c: Likewise.
19787 * stdio-common/printf_fp.c: Likewise.
19788 * stdio-common/printf_fphex.c: Likewise.
19789 * stdio-common/printf_size.c: Likewise.
19790 * stdio-common/putw.c: Likewise.
19791 * stdio-common/scanf.c: Likewise.
19792 * stdio-common/sprintf.c: Likewise.
19793 * stdio-common/tmpfile.c: Likewise.
19794 * stdio-common/vfprintf.c: Likewise.
19795 * stdio-common/vfscanf.c: Likewise.
19796 * stdlib/strfmon_l.c: Likewise.
19797 * sunrpc/openchild.c: Likewise.
19798 * sunrpc/xdr_stdio.c: Likewise.
19799 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
19800 * sysdeps/mach/hurd/tmpfile.c: Likewise.
19801
d6c33fda
RM
198022012-05-24 Roland McGrath <roland@hack.frob.com>
19803
c1487492
RM
19804 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19805
19806 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
19807 in the third column, to generate for the shared library an IFUNC
19808 that uses _dl_vdso_vsym.
19809 * Makerules (COMPILE.c, compile-stdin.c): New variables.
19810 * Makeconfig (object-suffixes-noshared): New variable.
19811
19812 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
19813 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
19814 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
19815 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
19816
d6c33fda
RM
19817 [BZ #14132]
19818 * include/sys/time.h (__gettimeofday): Remove macro.
19819 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
19820 * time/gettimeofday.c (__gettimeofday): Remove #undef.
19821 Remove INTDEF.
19822 (__gettimeofday): Add libc_hidden_def.
19823 (gettimeofday): Add libc_hidden_weak.
19824 * sysdeps/mach/gettimeofday.c: Likewise.
19825 * sysdeps/posix/gettimeofday.c: Likewise.
19826 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
19827 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
19828 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
19829 (__gettimeofday_internal): Remove strong_alias.
19830 (__gettimeofday): Add libc_hidden_def.
19831 (gettimeofday): Add libc_hidden_weak.
19832 * sysdeps/unix/syscalls.list (gettimeofday):
19833 Remove __gettimeofday_internal alias.
19834
b5a2bbe6
L
198352012-05-24 Daniel Jacobowitz <drow@false.org>
19836 H.J. Lu <hongjiu.lu@intel.com>
19837
19838 [BZ #12495]
19839 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
19840 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
19841 (largebin_index_32_big): New.
19842 (largebin_index): Use it for 16-byte alignment.
19843 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
19844 correction with front_misalign.
19845
cfba4fda
L
198462012-05-24 H.J. Lu <hongjiu.lu@intel.com>
19847
7f907421
L
19848 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
19849 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19850 Likewise.
19851 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
19852 Likewise.
19853 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19854 Likewise.
19855 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
19856 Likewise.
19857 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
19858 Likewise.
19859 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
19860 Likewise.
19861 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
19862 Likewise.
19863 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19864 Likewise.
19865 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
19866 Likewise.
19867 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
19868 Likewise.
19869 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
19870 Likewise.
19871 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
19872 Likewise.
19873
cfba4fda
L
19874 * scripts/data/c++-types-x32-linux-gnu.data: New file.
19875 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
19876
80bad0cc
JM
198772012-05-24 Joseph Myers <joseph@codesourcery.com>
19878
7a25eb06
JM
19879 [BZ #10846]
19880 [BZ #14036]
19881 * math/libm-test.inc (exp_test): Add test from bug 14036.
19882 (pow_test): Add test from bug 10846.
19883
795405f9
JM
19884 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
19885 and other flags.
19886 (special_function): Do not include flags in test name.
19887 (parse_args): Likewise.
19888 * sysdeps/i386/fpu/libm-test-ulps: Update.
19889 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19890 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19891 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19893
80bad0cc
JM
19894 * math/gen-libm-test.pl (%beautify): Add entries for underflow
19895 exceptions.
19896 * math/libm-test.inc ("Philosophy"): Update comment about
19897 exception testing.
19898 (UNDERFLOW_EXCEPTION): New macro.
19899 (UNDERFLOW_EXCEPTION_OK): Likewise.
19900 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
19901 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
19902 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
19903 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
19904 (INVALID_EXCEPTION_OK): Update value.
19905 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19906 (OVERFLOW_EXCEPTION_OK): Likewise.
19907 (IGNORE_ZERO_INF_SIGN): Likewise.
19908 (test_exceptions): Handle underflow exceptions.
19909 (acos_test): Update for underflow exception expectations.
19910 (cexp_test): Likewise.
19911 (clog_test): Likewise.
19912 (clog10_test): Likewise.
19913 (csqrt_test): Likewise.
19914 (ctan_test): Likewise.
19915 (ctanh_test): Likewise.
19916 (exp_test): Likewise.
19917 (exp10_test): Likewise.
19918 (exp2_test): Likewise.
19919 (expm1_test): Likewise.
19920 (fma_test): Likewise.
19921 (j0_test): Likewise.
19922 (jn_test): Likewise.
19923 (nexttoward_test): Likewise.
19924 (pow_test): Likewise.
19925 (scalbn_test): Likewise.
19926 (scalbln_test): Likewise.
19927 (tan_test): Likewise.
19928 (y1_test): Likewise.
19929 * sysdeps/i386/fpu/libm-test-ulps: Update.
19930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19931
9e0e3d0b
DM
199322012-05-23 David S. Miller <davem@davemloft.net>
19933
19934 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19935 (__libc_sigaction): Remove unused local variables.
19936
ccd0a08f
L
199372012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19938
19939 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
19940
62bdf9a6
PE
199412012-05-23 Paul Eggert <eggert@cs.ucla.edu>
19942
f8591f80
PE
19943 mktime: avoid signed integer overflow
19944 * time/mktime.c (__mktime_internal): Do not mishandle the case
19945 where diff == INT_MIN.
19946
94c7d826
PE
19947 mktime: simplify computation of average
19948 * time/mktime.c (ranged_convert): Use new time_t_avg function
19949 instead of rolling our own (probably-slower) code.
19950
ce73d683
PE
19951 mktime: do not assume signed right shift propagates sign bit
19952 * time/mktime.c (isdst_differ): New static function.
19953 (__mktime_internal): No need to normalize tm_isdst now.
19954 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
19955 tm_isdst values.
19956
72a22e59
PE
19957 mktime: merge another wrapv change from gnulib
19958 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
19959 from some compilers.
19960
68605433
PE
19961 mktime: remove incorrect attempt at unusual arithmetics
19962 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
19963 The code didn't really work on such machines anyway.
19964 (TYPE_MINIMUM): Assume two's complement.
19965 (twos_complement_arithmetic): Verify that long_int and time_t
19966 are two's complement (or unsigned, in the latter case).
19967
03cf7fe3
PE
19968 mktime: check signed shifts on long_int and time_t, too
19969 * time/mktime.c (SHR): Check that shifts work as desired
19970 on the types long_int and time_t too, as SHR is used on
19971 such types.
19972
f04dfbc2
PE
19973 mktime: do not assume 'long' is wide enough
19974 * time/mktime.c (verify): Move decl up.
19975 (long_int): New type.
19976 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
19977 to remove assumption in the code that 'long' is wide enough to
19978 store year values. This assumption is not true on x32 and on
19979 some non-glibc platforms.
19980
62bdf9a6
PE
19981 mktime: merge wrapv change from gnulib
19982 * time/mktime.c (WRAPV): New macro.
19983 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
19984 (guess_time_tm, __mktime_internal): Do not assume that signed
19985 integer overflow wraps around; modern compilers generate code
19986 where this assumption is no longer valid.
19987
5e292e4f
L
199882012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19989
19990 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19991 Replace "jmp L(pseudo_end)" with "ret".
19992 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
19993 Likewise.
19994
8caf8c87
AJ
199952012-05-23 Andreas Jaeger <aj@suse.de>
19996
19997 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
19998 * sysdeps/unix/sysv/linux/poll.c: Remove file.
19999
1a09dc56
AJ
200002012-05-23 Andreas Jaeger <aj@suse.de>
20001 Maximilian Attems <max@stro.at>
20002
20003 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
20004 New macros.
20005
1c87aba0
L
200062012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20007
20008 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
20009 code so that pseudo_end is just ret and the stack pointer is
20010 correct also for static library in error case.
20011
40e45bd5
JM
200122012-05-23 Joseph Myers <joseph@codesourcery.com>
20013
c2670533
JM
20014 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
20015 move to syscalls.list.
20016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
20017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
20018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
20019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
20020
40e45bd5
JM
20021 * manual/install.texi (Running make install): Do not mention Linux
20022 kernel version for which pt_chown is not needed.
20023 (Linux): Do not mention problems with nscd with 2.0 kernels.
20024 * INSTALL: Regenerated.
20025
be08eda5
AJ
200262012-05-23 Andreas Jaeger <aj@suse.de>
20027
20028 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
20029 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
20030 macro.
20031 * sysdeps/unix/sysv/linux/s390/bits/mman.h
20032 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20033 * sysdeps/unix/sysv/linux/sh/bits/mman.h
20034 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20035 * sysdeps/unix/sysv/linux/i386/bits/mman.h
20036 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20037 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
20038 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20039 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
20040 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20041 * sysdeps/unix/sysv/linux/bits/in.h
20042 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
20043
a6a056bb
RM
200442012-05-22 Roland McGrath <roland@hack.frob.com>
20045
20046 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
20047 (PREPARE_VERSION): Just use assert instead, it will be elided
20048 under [NDEBUG] anyway.
20049
c9009328
L
200502012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20051
20052 * sysdeps/unix/sysv/linux/Makefile: Include
20053 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 20054 (sysdep_routines): Remove sysctl.
c9009328
L
20055 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
20056 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
20057 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
20058 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
20059 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
20060
73338355
AJ
200612012-05-22 Andreas Jaeger <aj@suse.de>
20062
20063 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
20064 that pseudo_end is just ret and the stack pointer is correct also
20065 for static library in error case.
20066
d44638b0
PP
200672012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
20068
20069 [BZ #14122]
20070 * nss/nsswitch.c (defconfig_entries): New variable.
20071 (__nss_database_lookup): Don't leak defconfig entries.
20072 (nss_parse_service_list): Don't leak on error paths.
20073 (free_database_entries): New function.
20074 (free_defconfig): New function.
20075 (free_mem): Move common code to free_database_entries.
20076
31a39bd8
L
200772012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20078
da0331a8
L
20079 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
20080 Add arch_prctl.
20081 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
20082
31a39bd8
L
20083 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20084 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
20085 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
20086 New macro.
20087 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
20088 (INTERNAL_SYSCALL_TYPES): Likewise.
20089 (LOAD_ARGS_TYPES_[1-6]): Likewise.
20090 (LOAD_REGS_TYPES_[1-6]): Likewise.
20091 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
20092 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
20093
45470df3
AZ
200942012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20095
20096 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
20097 copysignl for GLIBC_2_0.
20098 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
20099 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
20100 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
20101 logbl for GLIBC_2_0.
20102 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
20103 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
20104
98a61bcb
L
201052012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20106
a4f6e481
L
20107 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
20108 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20109
f63d5db6
L
20110 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20111 Use "neg %eax".
20112
98a61bcb
L
20113 * time/mktime.c: Update copyright years.
20114
95770f14
PE
201152012-05-22 Paul Eggert <eggert@cs.ucla.edu>
20116
6226efbd
PE
20117 mktime: merge comment-quoting-style change from gnulib
20118 * time/mktime.c: Quote 'like this' in comments.
20119 The GNU coding standards suggest that we no longer quote `like this',
20120 as "`" and "'" are typically rendered asymmetrically nowadays.
20121 The typical gnulib style is to quote 'like this' when quoting
20122 code, and "like this" when quoting English.
20123
b99e4f78
PE
20124 * time/mktime.c (compile-command): Add "-I.".
20125
643e01e6
PE
20126 mktime: merge mktime-internal.h change from gnulib
20127 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
20128
2554247d
PE
20129 mktime: merge time_r change from gnulib
20130 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
20131
826dd0ab
PE
20132 mktime: merge DEBUG change from gnulib
20133 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
20134 case system <time.h> has a #define.
20135
bd83aabe
PE
20136 mktime: merge <sys/types.h> change from gnulib
20137 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
20138 since <time.t> is now guaranteed to define time_t.
20139
95770f14
PE
20140 mktime: merge HAVE_CONFIG_H change from gnulib
20141 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
20142
5e1a27a9
L
201432012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20144
0e44a77e
L
20145 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20146 Use "neg %eax".
20147
5e1a27a9
L
20148 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
20149 __rlim_t cast.
20150 (struct rusage): Use anonymous union to pad each field to
20151 __syscall_slong_t.
20152
46259bec
DM
201532012-05-21 David S. Miller <davem@davemloft.net>
20154
20155 * Makefules (o-iterator): Remove .s cases.
20156 (compile-command.s): Delete.
20157 (COMPILE.s): Delete.
20158 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
20159
59f0c22e
JM
201602012-05-21 Joseph Myers <joseph@codesourcery.com>
20161
20162 * configure.in (libc_cv_predef_stack_protector): Only consider
20163 "foobar" and "__stack_chk_fail" lines in libc_undefs.
20164 * configure: Regenerated.
20165
20c07380
L
201662012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20167
bbb3154b
L
20168 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20169 New macro. Use R*LP on int and pointer.
20170 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
20171 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
20172 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
20173 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
20174
20c07380
L
20175 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
20176 [__WORDSIZE_TIME64_COMPAT32] instead of
20177 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
20178 (struct utmp): Likewise.
20179 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
20180 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
20181 Renamed to ...
20182 (__WORDSIZE_TIME64_COMPAT32): This.
20183 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
20184 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
20185 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
20186 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
20187 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
20188 (__WORDSIZE_TIME64_COMPAT32): New macro.
20189
d8d1017e
AJ
201902012-05-21 Andreas Jaeger <aj@suse.de>
20191
20192 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
20193 only if [SHARED]. Add prototype for __wcschr_ia32.
20194
6c7fb145
RM
201952012-05-21 Roland McGrath <roland@hack.frob.com>
20196
20197 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
20198 of %rbp unmolested in the jmp_buf while mangling the low bits.
20199 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
20200 unmolested high bits of %rbp while demangling the low bits.
20201 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20202
66274218
AJ
202032012-05-21 Andreas Jaeger <aj@suse.de>
20204
07c58f8f
AJ
20205 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
20206 * sunrpc/svc_simple.c: Use it for registerrpc.
20207 * sunrpc/xcrypt.c: Use it for passwd2des.
20208
66274218
AJ
20209 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
20210
61f65140
L
202112012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20212
20213 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
20214 Don't define if [__SYSCALL_WORDSIZE != 32].
20215 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
20216 New macro.
20217
5fefb436
AJ
202182012-05-21 Bruno Haible <bruno@clisp.org>
20219 Andreas Jaeger <aj@suse.de>
20220
20221 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
20222 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
20223 inptr and inend for must_buffer_ch.
20224 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
20225 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
20226 * stdio-common/Makefile (tests): Remove bug15.
20227 (bug15-ENV): Remove macro.
20228 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
20229 anymore.
20230
d8e272ab
AJ
202312012-05-19 Andreas Jaeger <aj@suse.de>
20232 Roland McGrath <roland@hack.frob.com>
20233
20234 * manual/contrib.texi: Completely rewritten. It contains now an
20235 alphabetical list of contributors and their contributions.
20236
4a56a162
RH
202372012-05-21 Richard Henderson <rth@twiddle.net>
20238
20239 * misc/getauxval.c (__getauxval): Use unsigned long int.
20240 * misc/sys/auxv.h: Include <sys/cdefs.h>.
20241 (getauxval): Use unsigned long int.
20242
d024d23c
L
202432012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20244
20245 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20246
cbc00a03
RM
202472012-05-21 Roland McGrath <roland@hack.frob.com>
20248
20249 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
20250 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
20251 __alignof__ (long double).
20252
478143fa
AZ
202532012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20254
20255 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20256
c7683a6d
RH
202572012-05-20 Richard Henderson <rth@twiddle.net>
20258
20259 * misc/getauxval.c: New file.
20260 * misc/sys/auxv.h: New file.
20261 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
20262 (routines): Add getauxval.
20263 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
20264 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
20265 * elf/dl-sysdep.c (_dl_auxv): Remove.
20266 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
20267 * elf/dl-support.c (_dl_auxv): New variable.
20268 (_dl_aux_init): Initialize it.
20269 * manual/startup.texi (Auxiliary Vector): New node.
20270 * sysdeps/generic/bits/hwcap.h: New file.
20271 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
20272 * sysdeps/powerpc/sysdep.h: ... here. Include it.
20273 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
20274 * sysdeps/sparc/sysdep.h: ... here. Include it.
20275 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
20276 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
20277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20278 Update.
c7683a6d
RH
20279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
20280 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
20281 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
20282 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
20283 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20284 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20285 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
20286 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
20287
a6f1845d
AZ
202882012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20289
20290 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20291
cbcbe830
DM
202922012-05-19 David S. Miller <davem@davemloft.net>
20293
20294 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20295
e0b16cc2
JM
202962012-05-19 Joseph Myers <joseph@codesourcery.com>
20297
20298 [BZ #14123]
20299 * math/s_ccosh.c: Include <float.h>
20300 (__ccosh): Avoid internal overflow calculating sinh and cosh
20301 values before multiplying by sin and cos values.
20302 * math/s_ccoshf.c: Likewise.
20303 * math/s_ccoshl.c: Likewise.
20304 * math/s_csin.c: Likewise.
20305 * math/s_csinf.c: Likewise.
20306 * math/s_csinl.c: Likewise.
20307 * math/s_csinh.c: Likewise.
20308 * math/s_csinhf.c: Likewise.
20309 * math/s_csinhl.c: Likewise.
20310 * math/libm-test.inc (ccos_test): Add more tests.
20311 (ccosh_test): Likewise.
20312 (csin_test): Likewise.
20313 (csinh_test): Likewise.
20314 * sysdeps/i386/fpu/libm-test-ulps: Update.
20315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20316
6ad13e08
L
203172012-05-19 H.J. Lu <hongjiu.lu@intel.com>
20318
f66f0ce8
L
20319 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
20320 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20321
6ad13e08
L
20322 * sysdeps/x86_64/x32/_itoa.h: Add comment.
20323
b1d072a7
JM
203242012-05-19 Joseph Myers <joseph@codesourcery.com>
20325
20326 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
20327 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
20328 * sysdeps/powerpc/soft-fp/Versions: Likewise.
20329 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
20330 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
20331 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
20332 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
20333 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
20334 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
20335 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
20336 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
20337 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
20338 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
20339 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
20340 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
20341 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
20342 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
20343 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
20344 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
20345 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
20346 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
20347 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
20348 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
20349 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
20350 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
20351 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
20352 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
20353 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
20354 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
20355 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
20356 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
20357
9eae47cb
AJ
203582012-05-18 Andreas Jaeger <aj@suse.de>
20359
20360 * csu/.gitignore: Delete.
20361
bb07f69f
L
203622012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20363
20364 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
20365 (timex): Use __syscall_slong_t.
20366
e6bdb741
AJ
203672012-05-18 Andreas Jaeger <aj@suse.de>
20368 Carlos O'Donell <carlos_odonell@mentor.com>
20369
20370 * manual/install.texi (Configuring and compiling): Update
20371 description about files modified in the source directory.
d6c33fda 20372 * INSTALL: Regenerated.
e6bdb741 20373
1b74487e
L
203742012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20375
20376 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
20377 value. Use "or" to set return value to -1.
20378 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
20379 negate return value.
20380
a88b64b9
TMQMF
203812012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20382
20383 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
20384 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
20385 failure if the compiler has Graphite support disabled.
20386 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
20387 Likewise.
20388 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
20389 CFLAGS-memmove.c): Likewise.
20390 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
20391 Likewise.
20392
3707636e
L
203932012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20394
610b8622
L
20395 * sysdeps/x86_64/x32/_itoa.h: New file.
20396
7cd195df
L
20397 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
20398 getdents system call only if kernel and user dirents have the
20399 same d_ino and d_off.
20400
94b07d20
L
20401 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20402 LLONG_MAX != LONG_MAX.
20403 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20404 (_fitoa_word): Likewise.
20405
18298070
L
20406 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
20407 years.
20408 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
20409 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
20410 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
20411
553c7ea4
L
20412 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
20413 include <bits/wordsize.h>. Check __x86_64__ instead of
20414 __WORDSIZE.
20415 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
20416 if __x86_64__ is defined. Use anonymous union on fpstate.
20417
3707636e
L
20418 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
20419 anonymous union.
20420
b53ef01a
AS
204212012-05-18 Andreas Schwab <schwab@linux-m68k.org>
20422
37fb1dc0
AS
20423 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
20424 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
20425 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
20426 Refer to _rtld_local_ro instead of _rtld_global_ro.
20427 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
20428 Likewise.
20429 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
20430 Likewise.
20431 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
20432 Likewise.
20433 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
20434 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
20435 of _rtld_global, and rtld_progname instead of _dl_argv[0].
20436
b53ef01a
AS
20437 * sysdeps/powerpc/powerpc32/dl-machine.c
20438 (__elf_machine_runtime_setup) [PROF]: Don't reference
20439 _dl_prof_resolve.
20440
7a185db2
AJ
204412012-05-18 Andreas Jaeger <aj@suse.de>
20442
20443 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
20444 function only available for GCCs before 3.4 since GCC 3.4
20445 introduced a builtin.
20446 (lrint): Likewise.
20447 (llrintf): Likewise.
20448 (llrint): Likewise.
20449 (fmaxf): Likewise.
20450 (fmax): Likewise.
20451 (fminf): Likewise.
20452 (fmin): Likewise.
20453 (rint): Likewise.
20454 (rintf): Likewise.
20455 (nearbyint): Likewise.
20456 (nearbyintf): Likewise.
20457 (ceil): Likewise.
20458 (ceilf): Likewise.
20459 (floor): Likewise.
20460 (floorf): Likewise.
20461
3e5aef87
L
204622012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20463
428bd707
L
20464 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
20465 on both fields and cast pointer to __syscall_ulong_t.
20466
3e5aef87
L
20467 * bits/types.h (__fsword_t): New type.
20468 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
20469 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
20470 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20471 (__FSWORD_T_TYPE): Likewise.
20472 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20473 (__FSWORD_T_TYPE): Likewise.
20474 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20475 (__FSWORD_T_TYPE): Likewise.
20476 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
20477 (__FSWORD_T_TYPE): Likewise.
20478 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
20479 __SWORD_TYPE with __fsword_t.
20480 (statfs64): Likewise.
20481
1ba7c3dc
DM
204822012-05-17 David S. Miller <davem@davemloft.net>
20483
20484 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
20485
59910343
AJ
204862012-05-17 Andreas Jaeger <aj@suse.de>
20487
20488 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
20489 warning.
20490
2e4c1e9e
L
204912012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20492
20493 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
20494
de7f5ce7
AJ
204952012-05-17 Andreas Jaeger <aj@suse.de>
20496
20497 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
20498 when it is used.
20499
286abc3d
CM
205002012-05-17 Chris Metcalf <cmetcalf@tilera.com>
20501
20502 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
20503
477cc68e
L
205042012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20505
20506 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
20507 * sysdeps/x86_64/tst-mallocalign1.c: New file.
20508
1a0994f5
CD
205092012-05-17 Andreas Jaeger <aj@suse.de>
20510 Carlos O'Donell <carlos_odonell@mentor.com>
20511
20512 [BZ #14059]
20513 * sysdeps/x86_64/multiarch/init-arch.h
20514 (bit_YMM_Usable): Rename to...
20515 (bit_AVX_Usable): ... this.
20516 (bit_FMA4_Usable): New macro.
20517 (bit_XMM_state): New macro.
20518 (bit_YMM_state): New macro.
20519 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
20520 [__ASSEMBLER__] (index_AVX_Usable): ... this.
20521 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
20522 (CPUID_OSXSAVE): New macro.
20523 (CPUID_AVX): New macro.
20524 (CPUID_FMA4): New macro.
20525 (index_YMM_Usable): Rename to...
20526 (index_AVX_Usable): ... this.
20527 (HAS_AVX): Use HAS_ARCH_FEATURE.
20528 (HAS_FMA4): Likewise.
20529 (HAS_YMM_USABLE): Remove.
20530 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20531 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
20532 are present.
20533 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
20534 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
20535 * sysdeps/x86_64/multiarch/Makefile: Likewise.
20536 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
20537 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
20538
0af797de
CM
205392012-05-17 Chris Metcalf <cmetcalf@tilera.com>
20540
20541 * math/libm-test.c: Support platforms without multiple rounding modes.
20542 * math/bug-nextafter.c: Support platforms without FP exceptions.
20543 * math/bug-nexttoward.c: Likewise.
20544 * math/test-fenv.c: Likewise.
20545 * math/test-misc.c: Likewise.
20546 * stdlib/bug-getcontext.c: Likewise.
20547
e39745ff
AJ
205482012-05-17 Andreas Jaeger <aj@suse.de>
20549
20550 * manual/examples/search.c (critter_cmp): Change signature to
20551 avoid warnings.
20552 * manual/string.texi (Collation Functions): Likewise.
20553
48970aba
L
205542012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20555
20556 * bits/types.h: Fold copyright years.
20557 * bits/typesizes.h: Likewise.
20558 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
20559 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20560 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
20561 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
20562 * time/time.h: Likewise.
20563
bedee953
PP
205642012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
20565
20566 [BZ #208]
20567 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
20568 in instead of returning them. Return void.
20569 (__libc_mallinfo): Accumulate over all arenas.
20570 (__malloc_stats): Adjust for change in int_mallinfo interface.
20571
61653dfb
RM
205722012-05-16 Roland McGrath <roland@hack.frob.com>
20573
30b99d79
RM
20574 [BZ #10375]
20575 * configure.in (NM): Add AC_CHECK_TOOL for it.
20576 (libc_extra_cflags): New substituted variable.
20577 Check for -fstack-protector being used implicitly.
20578 * configure: Regenerated.
20579 * config.make.in (config-extra-cflags): New variable,
20580 gets @libc_extra_cflags@.
20581 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
20582
61653dfb
RM
20583 [BZ #10375]
20584 * configure.in: Check for _FORTIFY_SOURCE being predefined.
20585 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
20586 * configure: Regenerated.
20587 * config.make.in (CPPUNDEFS): New substituted variable.
20588 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
20589 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
20590 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
20591
661768bb
L
205922012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20593
20594 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
20595 (mq_attr): Use __syscall_slong_t.
20596
d4261567
L
205972012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20598
20599 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
20600 Check __x86_64__ instead of __WORDSIZE.
20601 (_STAT_VER_LINUX): Likewise.
20602 (stat): Check __x86_64__ instead of __WORDSIZE. Use
20603 __syscall_ulong_t and __syscall_slong_t.
20604 (stat64): Likewise.
20605
cf3ff365
L
206062012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20607
20608 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
20609
76cf3e4d
L
206102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20611
20612 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
20613
a637753a
L
206142012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20615
20616 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
20617 __syscall_ulong_t.
20618
d5e05119
L
20619 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
20620 include <bits/wordsize.h>. Check __x86_64__ instead of
20621 __WORDSIZE.
20622 (greg_t): Use "__extension__ long long int" if __x86_64__ is
20623 defined.
20624 (mcontext_t): Replace "unsigned long" with "unsigned long long".
20625
f62ee380
L
20626 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
20627 include <bits/wordsize.h>. Check __x86_64__ instead of
20628 __WORDSIZE.
20629 (user_regs_struct): Use "__extension__ unsigned long long"
20630 instead of "unsigned long" if __x86_64__ is defined.
20631 (user): Likewise. Pad after pointer field if __ILP32__ is
20632 defined.
20633
4e124ced
JM
206342012-05-16 Joseph Myers <joseph@codesourcery.com>
20635
6a3951a0
JM
20636 * configure.in (makeinfo): Require version 4.5 or later. Allow
20637 versions 5 to 9.
20638 * configure: Regenerated.
20639 * manual/install.texi (texinfo): Increase version requirement to
20640 4.5 or later.
20641 * INSTALL: Regenerated.
20642
4e124ced
JM
20643 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
20644
953ca31a
L
206452012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20646
20647 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
20648
617aca05
L
20649 * sysdeps/x86_64/x32/ffs.c: New file.
20650
5762f7ae
L
20651 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
20652 __syscall_ulong_t.
20653 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
20654 defined. Use __syscall_ulong_t.
20655 (shminfo): Use __syscall_ulong_t.
20656 (shm_info): Likewise.
20657
a26b6856
L
20658 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
20659 __syscall_ulong_t.
20660
cb2b9ef7
L
20661 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
20662 <bits/wordsize.h>.
20663 (msgqnum_t): Use __syscall_ulong_t.
20664 (msglen_t): Likewise.
20665 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
20666 __syscall_ulong_t.
20667
34683bb0
L
20668 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
20669 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20670
84a68786
L
20671 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
20672
48baa5f1
L
20673 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
20674 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
20675
180be88b
L
20676 * sysvipc/sys/msg.h (msgbuf): Replace long int with
20677 __syscall_slong_t.
20678
5e90c8ad
L
20679 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
20680 include <bits/wordsize.h>. Check __x86_64__ instead of
20681 __WORDSIZE.
20682
23dfb58b
L
20683 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
20684 "unsigned long long int" if __x86_64__ is defined.
20685 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
20686
ce5d54b0
L
20687 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
20688 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20689 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
20690
13dc9eac
L
20691 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
20692 <stdint.h>.
20693 (GET_PC): Cast to uintptr_t first.
20694 (GET_FRAME): Likewise.
20695 (GET_STACK): Likewise.
20696
a7895d15
L
20697 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
20698 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
20699 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
20700 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
20701 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
20702 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
20703 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
20704 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
20705 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
20706 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
20707 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
20708 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
20709 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20710 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
20711 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
20712 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
20713 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
20714 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
20715 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
20716 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
20717 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
20718 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
20719 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
20720 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
20721 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
20722 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
20723 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
20724 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
20725 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
20726
656416c9
AS
207272012-05-16 Andreas Schwab <schwab@linux-m68k.org>
20728
5bd66283
AS
20729 * Makerules (+depfiles): Also collect depfiles from .oS in
20730 $(extra-objs).
20731 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
20732 .oS, $(libnldbl-routines)).
20733
656416c9
AS
20734 * Makerules (native-compile-mkdep-flags): Define.
20735 * sunrpc/Makefile (extra-objs): Add $(addprefix
20736 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
20737 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
20738 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
20739 calling $(make-target-directory).
20740
a46f2169
L
207412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20742
20743 * bits/types.h (__snseconds_t): Removed.
20744 * time/time.h (struct timespec): Replace __snseconds_t with
20745 __syscall_slong_t.
20746 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
20747 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
20748 Likewise.
20749 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20750 (__SNSECONDS_T_TYPE): Likewise.
20751 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20752 (__SNSECONDS_T_TYPE): Likewise.
20753 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20754 (__SNSECONDS_T_TYPE): Likewise.
20755
6af6528b
L
207562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20757
20758 * sysdeps/mach/hurd/bits/typesizes.h
20759 (__SYSCALL_SLONG_TYPE): New macro.
20760 (__SYSCALL_ULONG_TYPE): Likewise.
20761
de986b56
L
207622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20763
20764 * bits/types.h (__syscall_slong_t): New type.
20765 (__syscall_ulong_t): Likewise.
20766
20767 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
20768 (__SYSCALL_ULONG_TYPE): Likewise.
20769 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20770 (__SYSCALL_SLONG_TYPE): Likewise.
20771 (__SYSCALL_ULONG_TYPE): Likewise.
20772 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20773 (__SYSCALL_SLONG_TYPE): Likewise.
20774 (__SYSCALL_ULONG_TYPE): Likewise.
20775 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20776 (__SYSCALL_SLONG_TYPE): Likewise.
20777 (__SYSCALL_ULONG_TYPE): Likewise.
20778
85736dc7
L
207792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20780
20781 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
20782 Add sigaltstack-offsets.sym.
20783 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
20784 <sigaltstack-offsets.h>.
20785 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
20786 longjmp_msg pointer.
20787 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
20788 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
20789 signal stack.
20790 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
20791
cc03b296
JM
207922012-05-15 Joseph Myers <joseph@codesourcery.com>
20793
a9538892
JM
20794 * elf/stackguard-macros.h: Remove file.
20795 * sysdeps/generic/stackguard-macros.h: New file.
20796 * sysdeps/i386/stackguard-macros.h: Likewise.
20797 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20798 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20799 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20800 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20801 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20802 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20803 * sysdeps/x86_64/stackguard-macros.h: Likewise.
20804 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
20805 <elf/stackguard-macros.h>.
20806
cc03b296
JM
20807 [BZ #14109]
20808 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
20809 __aligned__ in attribute.
20810 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
20811 (gregset_t): Likewise.
20812
93171016
L
208132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20814
20815 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
20816 * sysdeps/x86_64/64/Implies-after: Here. New file.
20817 * sysdeps/x86_64/x32/Implies-after: New file.
20818
d86813a0
L
208192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20820
20821 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
20822 and access return value for _dl_profile_fixup. Use R10_LP to
20823 load frame size.
20824
2953ec75
L
208252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20826
20827 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
20828
3b550e9e
L
208292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20830
20831 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
20832 * sysdeps/x86_64/x32/sysdep.h: New file.
20833
eda41706
L
208342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20835
20836 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
20837 * sysdeps/x86_64/setjmp.S: Likewise.
20838
9ea01d93
AZ
208392012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20840
20841 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
20842 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
20843 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
20844 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
20845 remove unused global constant.
20846
02a91938
CM
208472012-05-15 Chris Metcalf <cmetcalf@tilera.com>
20848
20849 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
20850 include of <not-cancel.h>.
20851
6540185f
RM
208522012-05-15 Roland McGrath <roland@hack.frob.com>
20853
20854 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
20855
509072a0
AJ
208562012-05-15 Jeff Law <law@redhat.com>
20857 Andreas Jaeger <aj@suse.de>
20858
20859 [BZ #13594]
20860 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
20861 out from...
20862 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
20863 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
20864 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
20865 code changing __hst_map_handle.map.
20866
ba75122d
RM
208672012-05-15 Roland McGrath <roland@hack.frob.com>
20868
20869 * configure.in (sysnames): Look for Implies-before and Implies-after
20870 files.
20871 * configure: Regenerated.
20872
890d8bd8
L
208732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20874
20875 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
20876 8-byte data alignment with LP_SIZE alignment.
20877
f6ee6623
L
208782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20879
20880 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
20881 into R10_LP.
20882
ea2626f6
L
208832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20884
20885 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
20886
085f715e
L
208872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20888
20889 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
20890 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
20891 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
20892 Likewise.
20893 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20894
be8498fc
L
208952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20896
20897 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
20898 (stackinfo_sub_sp): Likewise.
20899
70bc83b9
L
209002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20901
20902 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
20903 RAX_LP.
20904
9bc0b730
L
209052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20906
20907 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
20908 into R*_LP.
20909
6d2850e7
L
209102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20911
20912 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
20913 sizes into R*_LP.
20914
3cb84561
L
209152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20916
20917 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
20918
54e2ed81
L
209192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20920
20921 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
20922 into R11_LP and load __x86_64_shared_cache_size_half into
20923 R8_LP.
20924
8a17f349
L
209252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20926
20927 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
20928 R8_LP.
20929
777b1eea
AZ
209302012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20931
20932 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
20933 logb for POWER7.
20934 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
20935 logbf for POWER7.
20936 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
20937 logbl for POWER7.
20938 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
20939 powerpc32/power7/fpu/s_logb.c via #include.
20940 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
20941 powerpc32/power7/fpu/s_logbf.c via #include.
20942 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
20943 powerpc32/power7/fpu/s_logbl.c via #include.
20944
d20d4ac2
JM
209452012-05-15 Joseph Myers <joseph@codesourcery.com>
20946
20947 * README.libm: Remove file.
20948
6cdef1ab
L
209492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20950
20951 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
20952 count for x32. Use R*_LP and omit operand-size suffix.
20953
0b254d8f
L
209542012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20955
20956 * shlib-versions: Move x86_64-.*-linux.* entries to ...
20957 * sysdeps/x86_64/64/shlib-versions: Here. New file.
20958 * sysdeps/x86_64/x32/shlib-versions: New file.
20959
ceb809dc
RM
209602012-05-14 Roland McGrath <roland@hack.frob.com>
20961
20962 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
20963 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
20964 Use _dl_fatal_printf instead.
20965
37f1abd4
JM
209662012-05-14 Joseph Myers <joseph@codesourcery.com>
20967
20968 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
20969 set if not set by the user. Do not allow for being unset.
20970 * sysdeps/unix/sysv/linux/configure: Regenerated.
20971
11de3a33
L
209722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20973
20974 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
20975 the `q' suffix from lea and replace .quad with ASM_ADDR.
20976
e02f153a
L
209772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20978
20979 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
20980 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
20981 instead of $17.
20982 (PTR_DEMANGLE): Likewise.
20983
520ae0fd
L
209842012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20985
20986 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
20987 (LP_OP): Likewise.
20988 (ASM_ADDR): Likewise.
20989 (RAX_LP): Likewise.
20990 (RBP_LP): Likewise.
20991 (RBX_LP): Likewise.
20992 (RCX_LP): Likewise.
20993 (RDI_LP): Likewise.
20994 (RSI_LP): Likewise.
20995 (RSP_LP): Likewise.
20996 (R8_LP): Likewise.
20997 (R9_LP): Likewise.
20998 (R10_LP): Likewise.
20999 (R10_LP): Likewise.
21000 (R11_LP): Likewise.
21001 (R12_LP): Likewise.
21002 (R13_LP): Likewise.
21003 (R14_LP): Likewise.
21004 (R15_LP): Likewise.
21005
b985be81
L
210062012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21007
21008 * sysdeps/x86_64/x32/dl-machine.h: New file.
21009
6a4888ff
AJ
210102012-05-14 Andreas Jaeger <aj@suse.de>
21011
21012 * manual/Makefile (subdir): Remove export of subdir.
21013 (all): Remove target.
21014 (.PHONY): Remove all from list.
21015 (mkinstalldirs): Remove.
21016 (.PHONY): Remove installdirs from list.
21017 ($(inst_infodir)/libc.info): Use make-target-directory.
21018 (installdirs): Remove.
21019 (subdir_%): Remove.
21020 (glibc-targets): Remove.
21021 (lib): Remove.
21022 (stubs): Remove.
21023 ($(objpfx)stubs ../po/manual.pot): Remove.
21024 ($(objpfx)stamp%): Remove.
21025 (make-target-directory): Remove.
21026 (subdir_install): Remove.
21027 (routines): Remove.
21028 (aux): Remove.
21029 (sources): Remove.
21030 (objects): Remove.
21031 (headers): Remove.
21032
21033 [BZ #13750]
21034 * manual/.gitignore: Remove, it's not needed anymore.
21035 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
21036 all files in it.
21037 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
21038 directory.
21039 (texis): Renamed to $(objpfx)texis.
21040 (texis-path): New, contains path to generated files.
21041 (chapters.%): Use texis-path for complete path, add extra argument
21042 libc-texinfo.sh.
21043 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
21044 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
21045 (summary,texi, stamp-summary): Use complete path of
21046 files. Generate files in build dir.
21047 (dir-add.texi): Build in build dir.
21048 (libm-err.texi,stamp-libm-err): Likewise.
21049 (version.texi, stamp-version): Likewise.
21050 (.%c.texi): Likewise.
21051 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
21052 (mostlyclean): Remove target.
21053 (realclean): Remove target.
21054 (generated): Add new variable with contents from mostlyclean and
21055 realclean, remove entries duplicated in common-mostlyclean, add
21056 stamp-libm-err and stamp-version.
21057 (generated-dirs): Add libc directory.
21058 ($(inst_infodir)/libc.info): Install files from build dir.
21059
21060 * manual/install.texi (Configuring and compiling): Adjust since
21061 the info files are not part of the tar ball anymore.
21062
7ac77294
AJ
210632012-05-14 Andreas Jaeger <aj@suse.de>
21064
21065 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
21066 variable.
21067
ffb7875d
JM
210682012-05-14 Joseph Myers <joseph@codesourcery.com>
21069
21070 [BZ #13717]
21071 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21072 to 2.2.0 where earlier.
21073 * sysdeps/unix/sysv/linux/configure: Regenerated.
21074 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
21075 Remove conditional code.
21076 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
21077 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
21078 Remove conditional code.
21079 [!__NR_lchown]: Likewise.
21080 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21081 [__NR_lchown]: Likewise.
21082 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
21083 comment referencing __ASSUME_LCHOWN_SYSCALL.
21084 * sysdeps/unix/sysv/linux/i386/sigaction.c
21085 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21086 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21087 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
21088 Remove conditional code.
21089 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
21090 (__protocol_available): Remove #if 0 code.
21091 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
21092 conditional code.
21093 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
21094 * sysdeps/unix/sysv/linux/kernel-features.h
21095 (__ASSUME_GETCWD_SYSCALL): Don't define.
21096 (__ASSUME_REALTIME_SIGNALS): Likewise.
21097 (__ASSUME_PREAD_SYSCALL): Likewise.
21098 (__ASSUME_PWRITE_SYSCALL): Likewise.
21099 (__ASSUME_POLL_SYSCALL): Likewise.
21100 (__ASSUME_LCHOWN_SYSCALL): Likewise.
21101 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
21102 non-SPARC.
21103 (__ASSUME_SIOCGIFNAME): Don't define.
21104 (__ASSUME_MSG_NOSIGNAL): Likewise.
21105 (__ASSUME_SENDFILE): Define unconditionally.
21106 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
21107 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
21108 conditional code.
21109 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
21110 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
21111 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21112 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21113 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
21114 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21115 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
21117 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21118 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
21120 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21121 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
21123 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21124 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
21126 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21127 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
21129 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21130 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
21132 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21133 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
21135 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21136 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
21138 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21139 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21140 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
21141 Remove conditional code.
21142 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21143 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21144 Remove conditional code.
21145 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21146 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
21147 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
21148 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21149 Remove conditional code.
21150 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21151 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
21152 Remove conditional code.
21153 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21154 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
21155 Remove conditional code.
21156 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21157 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21158 Remove conditional code.
21159 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21160 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21161 Remove conditional code.
21162 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21163 * sysdeps/unix/sysv/linux/sh/pwrite64.c
21164 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21165 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21166 * sysdeps/unix/sysv/linux/sigaction.c
21167 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21168 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21169 * sysdeps/unix/sysv/linux/sigpending.c
21170 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21171 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21172 * sysdeps/unix/sysv/linux/sigprocmask.c
21173 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21174 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21175 * sysdeps/unix/sysv/linux/sigsuspend.c
21176 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21177 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21178 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21179 (__libc_missing_rt_sigs): Remove.
21180 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
21181 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
21182 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
21183 Remove conditional code.
21184 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
21185 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
21186 return 1.
21187 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
21188 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
21189 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
21190 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
21191
1bfb7291
AJ
211922012-05-14 Andreas Jaeger <aj@suse.de>
21193
caae5a81
AJ
21194 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
21195 it's not used in glibc.
21196 (__coshm1): Likewise.
21197 (__acosh1p): Likewise.
21198 (__sgn): Likewise.
21199
1bfb7291
AJ
21200 * manual/string.texi (Copying and Concatenation): Add missing
21201 variable in concat example.
21202 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
21203
c044d724
L
212042012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21205
144c5467 21206 [BZ #14103]
c044d724
L
21207 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
21208 __builtin_clzl with __builtin_clzll.
21209
2523c62b
L
212102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21211
21212 [BZ #14104]
21213 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
21214 libc_freeres_ptr.
21215
d7bb4c42
LD
212162012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21217
21218 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
21219 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
21220 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
21221 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
21222
9dc4e1fb
MF
212232012-05-14 Mike Frysinger <vapier@gentoo.org>
21224
21225 * NEWS: Update ia64 info.
21226
c7df0112
AS
212272012-05-12 Andreas Schwab <schwab@linux-m68k.org>
21228
21229 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
21230 used as bcopy.
21231
dc70356c
TS
212322012-05-12 Thomas Schwinge <thomas@codesourcery.com>
21233
21234 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
21235 * sysdeps/unix/syscalls.list (dup3): Likewise.
21236 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
21237 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
21238
9fb1a21f
L
212392012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21240
21241 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
21242 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
21243
4822a2a5
L
212442012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21245
21246 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
21247 thread pointer.
21248 (TLS_IE): Use mov/add instead of movq/addq to load thread
21249 pointer.
21250 (TLS_GD_PREFIX): New.
21251 (TLS_GD): Use it.
21252
842b81d6
DM
212532012-05-11 David S. Miller <davem@davemloft.net>
21254
21255 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
21256 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
21257 (_FPU_SETCW): Likewise.
21258
1cf463cd
L
212592012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21260
21261 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
21262 is 32-byte aligned.
21263
60cc4a18
AS
212642012-05-11 Andreas Schwab <schwab@linux-m68k.org>
21265
21266 [BZ #11837]
21267 * iconvdata/gb18030.c: Update tables.
21268 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
21269 characters specially.
21270 (BODY for TO_LOOP): Add encoding of missing ranges.
21271
febb44a4
TS
212722012-05-11 Thomas Schwinge <thomas@codesourcery.com>
21273
21274 [BZ #13673]
21275 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
21276 * sysdeps/mach/hurd/dup3.c: Likewise.
21277 * sysdeps/mach/hurd/readlinkat.c: Likewise.
21278 * sysdeps/powerpc/memmove.c:: Likewise.
21279
0a10fb9e
L
212802012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21281
21282 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
21283 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
21284
df8a552f
L
212852012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21286
21287 * elf/elf.h (R_X86_64_RELATIVE64): New.
21288 (R_X86_64_NUM): Updated.
21289 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21290 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
21291 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
21292 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
21293 tst-quad1pie tst-quad2pie
21294 (modules-names): Add tst-quadmod1 tst-quadmod2.
21295 ($(objpfx)tst-quad1): New dependency.
21296 ($(objpfx)tst-quad2): Likewise.
21297 ($(objpfx)tst-quad1pie): Likewise.
21298 ($(objpfx)tst-quad2pie): Likewise.
21299 * sysdeps/x86_64/tst-quad1.c: New file.
21300 * sysdeps/x86_64/tst-quad1pie.c: New file.
21301 * sysdeps/x86_64/tst-quad2.c: Likewise.
21302 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
21303 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
21304 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
21305 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
21306 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
21307
f34d6f84
ST
213082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21309
f42d41d1
ST
21310 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
21311 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
21312 * streams/stropts.h (t_scalar_t): Define type.
21313
3c3571fc
ST
21314 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
21315 (_PATH_PRESERVE): Set to "/var/lib".
21316 (_PATH_RWHODIR): Set to "/var/spool/rwho".
21317
61f06bd3
ST
21318 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
21319 instead of int.
21320
918d4d71
ST
21321 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
21322 if __dir_mkfile succeeded.
21323
f34d6f84
ST
21324 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
21325 checking for _hurd_dtablesize. Unlock it right after having
21326 finished _hurd_dtable allocation.
21327
10589b4a
TS
213282012-05-10 Thomas Schwinge <thomas@schwinge.name>
21329
674cdbc7
TS
21330 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
21331 * sysdeps/mach/hurd/configure: Regenerated.
21332 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
21333 special-casing to...
21334 * sysdeps/gnu/configure.in: ... this new file.
21335 * sysdeps/unix/sysv/linux/configure: Regenerated.
21336 * sysdeps/gnu/configure: New generated file.
21337
8e41b99f
TS
21338 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
21339 for Linux: use nsec instead of usec, as well as:
21340 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
21341 members of type struct timespec.
21342 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
21343 New macros.
21344 (struct stat64): Likewise.
21345 (_STATBUF_ST_NSEC): New macro.
21346 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
21347
10589b4a
TS
21348 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21349 __strtoul_internal rather than strtoul.
21350
63643c85
PT
213512012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21352
21353 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
21354 and reject them.
21355
3faebe6a
ST
213562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21357
21358 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
21359 which preserves existing values.
21360 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
21361
c6474b07
PT
213622012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21363
21364 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
21365 TIMEOUT values. Return EINVAL for NFDS values either negative or
21366 greater than FD_SETSIZE.
21367
1043890b
ST
213682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21369
21370 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
21371 allocated, call __vm_protect to finish enabling the existing space, and
21372 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
21373 allocate the remainder.
21374
37ed8b9b
PT
213752012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21376
21377 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
21378 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
21379
db653660
ST
213802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21381
37ed8b9b
PT
21382 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
21383 sysdeps/mach/hurd/readlink.c.
b29d4053 21384
db653660
ST
21385 * posix/tst-sysconf.c (posix_options): Only use
21386 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
21387 _POSIX_SYNCHRONIZED_IO when they are defined
21388 * sysdeps/mach/hurd/bits/posix_opt.h:
21389 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
21390 (_XOPEN_REALTIME): Undefine macro.
21391 (_XOPEN_REALTIME_THREADS): Undefine macro.
21392 (_XOPEN_SHM): Undefine macro.
21393 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
21394 macro to -1.
21395 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
21396 macro to -1.
21397 (_POSIX_ASYNC_IO): Undefine macro.
21398 (_POSIX_PRIORITIZED_IO): Undefine macro.
21399 (_POSIX_SPIN_LOCKS): Define macro to -1.
21400
ee16e894
ST
21401 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
21402 SA_NODEFER, SA_RESETHAND.
21403 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
21404 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
21405 F_DUPFD_CLOEXEC.
21406
6103ae3b
TS
214072012-05-10 Thomas Schwinge <thomas@schwinge.name>
21408
21409 * elf/Makefile (pldd-modules): Define unconditionally.
21410
80b4e5f3
TS
214112012-05-10 Thomas Schwinge <thomas@schwinge.name>
21412
21413 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
21414
edadcbd6
ST
214152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21416
21417 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
21418 Return ENOENT when name is empty.
21419 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
21420
80694780
TS
214212012-05-10 Thomas Schwinge <thomas@schwinge.name>
21422
1792c087
TS
21423 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
21424
80694780
TS
21425 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
21426
6b645f0d
ST
214272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21428
80694780
TS
21429 Fix mlock in all cases except non-readable pages.
21430 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
21431 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 21432
6b645f0d
ST
21433 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
21434 (__mkdir): When path is `/', just fail with EEXIST.
21435 * sysdeps/mach/hurd/mkdirat.c: Likewise.
21436
e468f8a3
TS
214372012-05-10 Thomas Schwinge <thomas@schwinge.name>
21438
21439 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
21440 <sys/uio.h> (for writev).
21441 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
21442 and <sys/param.h> (for MIN).
21443
a4186cff
PT
214442012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21445
21446 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
21447 REQUESTED_TIME. Properly set the remaining time and return EINTR
21448 if interrupted.
21449
510bbf14
TS
214502012-05-10 Thomas Schwinge <thomas@schwinge.name>
21451
21452 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
21453 Depend on against $(link-rpcuserlibs).
21454
5d5722e8
ST
214552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21456
a4186cff
PT
21457 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
21458 (__libc_stack_end): Do not use attribute_relro.
21459 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
21460 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 21461 to libthread-provided value.
a4186cff
PT
21462 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
21463 attribute_relro.
5d5722e8 21464
37233df9
TS
214652012-05-10 Thomas Schwinge <thomas@schwinge.name>
21466
be971a2b
TS
21467 [BZ #3748]
21468 * bits/libc-lock.h (__libc_once_get): New macro.
21469 * sysdeps/mach/bits/libc-lock.h: Likewise.
21470 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
21471 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
21472 instead of using implementation details.
21473
37233df9
TS
21474 * libio/fileops.c: Unconditionally include <kernel-features.h>.
21475 * libio/freopen.c: Likewise.
21476 * libio/freopen64.c: Likewise.
21477 * misc/syslog.c: Likewise.
21478 * nscd/connections.c: Likewise.
21479 * nscd/netgroupcache.c: Likewise.
21480 * sysdeps/posix/getcwd.c: Likewise.
21481
38de94a5
RM
214822012-05-10 Roland McGrath <roland@hack.frob.com>
21483
21484 * math/w_ilogbf.c: Add #include <limits.h>.
21485
67530489
ST
214862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21487
a4186cff 21488 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
21489 path instead of returning without unlocking.
21490
67530489
ST
21491 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
21492 immediate-write ioctls.
21493 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
21494
5aa3a74a
TS
214952012-05-10 Thomas Schwinge <thomas@schwinge.name>
21496
18bad2ae
TS
21497 * sysdeps/mach/hurd/i386/init-first.c (init): Use
21498 __builtin_frame_address instead of making assumptions about the
21499 location of the return address relative to DATA. Force early load of
21500 the return address.
21501 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
21502 __builtin_frame_address.
21503
5aa3a74a
TS
21504 dup3 for GNU Hurd.
21505 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
21506 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
21507 implement dup3 and do some further code clean-ups.
21508 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
21509 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
21510
ecd0de9a
ST
215112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21512
cd9fa985
ST
21513 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
21514
a4186cff
PT
21515 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
21516 HURD_CRITICAL_END around holding _hurd_dtable_lock.
21517 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
21518 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
21519 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
21520 d->port.lock.
802ca5a5 21521
a4186cff
PT
21522 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
21523 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
21524 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 21525
bcf55240
TS
215262012-05-10 Thomas Schwinge <thomas@schwinge.name>
21527
6960eb42
TS
21528 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
21529 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
21530 definitions.
21531
eb43375f
TS
21532 accept4 for GNU Hurd.
21533 * include/sys/socket.h (__libc_accept4): New prototype.
21534 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
21535 to implement __libc_accept4.
21536 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
21537 __libc_accept4.
21538 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
21539
bcf55240
TS
21540 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
21541 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
21542 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
21543 signal-defines.sym.
21544
6178c55b
ST
215452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21546
a4186cff 21547 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 21548
6f080c2f
TS
215492012-05-10 Thomas Schwinge <thomas@schwinge.name>
21550
21551 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
21552 assertion on O_CLOEXEC flag.
21553 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
21554 * hurd/intern-fd.c: Likewise.
21555 * hurd/port2fd.c: Likewise.
21556
bcfe3a54
ST
215572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21558
21559 [BZ #3906]
21560 * bits/in.h (IPV6_PKTINFO): Define new macro.
21561 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
21562
89c9aa49
AZ
215632012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21564
21565 [BZ #13954]
21566 [BZ #13955]
21567 [BZ #13956]
21568 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
21569 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21570 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
21571 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21572 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21573 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21574 * math/libm-test.inc (logb_test) : Additional logb tests.
21575
021db4be
AJ
215762012-05-09 Andreas Schwab <schwab@linux-m68k.org>
21577 Andreas Jaeger <aj@suse.de>
21578
21579 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
21580 * configure: Regenerated.
21581 * config.h.in (LINK_OBSOLETE_RPC): New macro.
21582 * config.make.in (link-obsolete-rpc): New substituted variable.
21583 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
21584 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
21585 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21586 (shared-only-routines): Don't set it under [link-obsolete-rpc],
21587 so that libc.a contains the symbols.
21588 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21589 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
21590 * sunrpc/auth_none.c: Likewise.
21591 * sunrpc/auth_unix.c: Likewise.
21592 * sunrpc/authdes_prot.c: Likewise.
21593 * sunrpc/authuxprot.c: Likewise.
21594 * sunrpc/clnt_gen.c: Likewise.
21595 * sunrpc/clnt_perr.c: Likewise.
21596 * sunrpc/clnt_raw.c: Likewise.
21597 * sunrpc/clnt_simp.c: Likewise.
21598 * sunrpc/clnt_tcp.c: Likewise.
21599 * sunrpc/clnt_udp.c: Likewise.
21600 * sunrpc/clnt_unix.c: Likewise.
21601 * sunrpc/des_crypt.c: Likewise.
21602 * sunrpc/des_soft.c: Likewise.
21603 * sunrpc/get_myaddr.c: Likewise.
21604 * sunrpc/key_call.c: Likewise.
21605 * sunrpc/key_prot.c: Likewise.
21606 * sunrpc/netname.c: Likewise.
21607 * sunrpc/pm_getmaps.c: Likewise.
21608 * sunrpc/pm_getport.c: Likewise.
21609 * sunrpc/pmap_clnt.c: Likewise.
21610 * sunrpc/pmap_prot.c: Likewise.
21611 * sunrpc/pmap_prot2.c: Likewise.
21612 * sunrpc/pmap_rmt.c: Likewise.
21613 * sunrpc/publickey.c: Likewise.
21614 * sunrpc/rpc_cmsg.c: Likewise.
21615 * sunrpc/rpc_common.c: Likewise.
21616 * sunrpc/rpc_dtable.c: Likewise.
21617 * sunrpc/rpc_prot.c: Likewise.
21618 * sunrpc/rpc_thread.c: Likewise.
21619 * sunrpc/rtime.c: Likewise.
21620 * sunrpc/svc.c: Likewise.
21621 * sunrpc/svc_auth.c: Likewise.
21622 * sunrpc/svc_raw.c: Likewise.
21623 * sunrpc/svc_run.c: Likewise.
21624 * sunrpc/svc_tcp.c: Likewise.
21625 * sunrpc/svc_udp.c: Likewise.
21626 * sunrpc/svc_unix.c: Likewise.
21627 * sunrpc/svcauth_des.c: Likewise.
21628 * sunrpc/xcrypt.c: Likewise.
21629 * sunrpc/xdr.c: Likewise.
21630 * sunrpc/xdr_array.c: Likewise.
21631 * sunrpc/xdr_float.c: Likewise.
21632 * sunrpc/xdr_intXX_t.c: Likewise.
21633 * sunrpc/xdr_mem.c: Likewise.
21634 * sunrpc/xdr_rec.c: Likewise.
21635 * sunrpc/xdr_ref.c: Likewise.
21636 * sunrpc/xdr_sizeof.c: Likewise.
21637 * sunrpc/xdr_stdio.c: Likewise.
21638
b5c086a2
RM
216392012-05-10 Roland McGrath <roland@hack.frob.com>
21640
21641 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
21642 change. Update copyright years.
21643
6d74dd09
JM
216442012-05-10 Joseph Myers <joseph@codesourcery.com>
21645
21646 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
21647
28e72501
MK
216482012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
21649 Joseph Myers <joseph@codesourcery.com>
21650 Paul Pluzhnikov <ppluzhnikov@google.com>
21651
21652 [BZ #14012]
21653 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
21654 requiring rpcgen.
21655 [cross-compiling] (extra-libs): Likewise.
21656 [cross-compiling] (extra-libs-others): Likewise.
21657 [cross-compiling] (librpcsvc-routines): Likewise.
21658 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
21659 [cross-compiling] (omit-deps): Likewise.
21660 (sunrpc-CPPFLAGS): New variable.
21661 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
21662 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
21663 (cross-rpcgen-objs): New variable.
21664 (extra-objs): Append $(cross-rpcgen-objs).
21665 ($(cross-rpcgen-objs)): New rule.
21666 ($(objpfx)cross-rpcgen): Likewise.
21667 (rpcgen-cmd): Define to use $(built-program-file). Expand
21668 comment.
21669 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
21670 ($(objpfx)x%.stmp): Likewise.
21671 * sunrpc/proto.h [IS_IN_build] (_): Define.
21672 [IS_IN_build] (_libc_intl_domainname): Likewise.
21673
c8c59454
L
216742012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21675
21676 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
21677 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
21678 and R_X86_64_TPOFF64.
21679
6f27cd16
JM
216802012-05-10 Joseph Myers <joseph@codesourcery.com>
21681
21682 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
21683 sysdeps/unix/sysv/syscalls.list.
21684 (stime): Likewise.
21685 (utime): Likewise.
21686 * sysdeps/unix/sysv/syscalls.list: Remove file.
21687
02467e1c
PE
216882012-05-10 Paul Eggert <eggert@cs.ucla.edu>
21689
21690 [BZ #3440]
21691 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
21692 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
21693 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
21694 (__LC_IDENTIFICATION): Make these macros useful in #if
21695 expressions, as required by C99.
21696
da392631
AS
216972012-05-10 Andreas Schwab <schwab@linux-m68k.org>
21698
21699 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
21700 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
21701 after this.
21702
8115f29b
L
217032012-05-09 H.J. Lu <hongjiu.lu@intel.com>
21704
21705 * stdlib/longlong.h: Updated from GCC.
21706
bdd74070
AJ
217072012-05-09 Andreas Jaeger <aj@suse.de>
21708
edfe0dbe
AJ
21709 * nscd/nscd.c (run_modes): Make named enum, reorder so that
21710 default is first entry.
21711 (run_mode): Set type.
21712 (main): Remove informal message about syslog.
21713 (options): Fix typo.
21714
bcfe3a54
ST
21715 [BZ #14053]
21716 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 21717 to asm.
bcfe3a54
ST
21718 (lrint): Likewise.
21719 (llrintf): Likewise.
21720 (llrint): Likewise.
21721 (rint): Likewise.
21722 (rintf): Likewise.
21723 (nearbyint): Likewise.
21724 (nearbyintf): Likewise.
bdd74070 21725
91d8d69e
AJ
217262012-05-09 Andreas Jaeger <aj@suse.de>
21727 Pedro Alves <palves@redhat.com>
21728
21729 * nscd/nscd.c (run_mode): Use enum.
21730 (main): Cleanup coding style issue.
21731
bb90b80b
AJ
217322012-05-09 Alexandre Oliva <aoliva@redhat.com>
21733 Andreas Jaeger <aj@suse.de>
21734
bcfe3a54
ST
21735 * nscd/nscd.c (go_background): Replaced with...
21736 (run_mode): ... this.
bb90b80b 21737 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
21738 (options): Add -F --foreground.
21739 (main): Implement it.
21740 (parse_opt): Parse it.
bb90b80b 21741
1a4b75a1
AJ
217422012-05-09 Andreas Jaeger <aj@suse.de>
21743
21744 [BZ #14083]
21745 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
21746 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
21747 -Wconversion warning.
21748 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
21749 Likewise.
21750
b1cc2472
JM
217512012-05-09 Joseph Myers <joseph@codesourcery.com>
21752
21753 * conform/data/locale.h-data (NULL): Use macro-constant. Require
21754 == 0.
21755 (LC_ALL): Use macro-int-constant.
21756 (LC_COLLATE): Likewise.
21757 (LC_CTYPE): Likewise.
21758 (LC_MESSAGES): Likewise.
21759 (LC_MONETARY): Likewise.
21760 (LC_NUMERIC): Likewise.
21761 (LC_TIME): Likewise.
21762 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
21763 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21764 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21765 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
21766 Specify type.
21767 [C99-based standards] (float_t): Expect type.
21768 [C99-based standards] (double_t): Expect type.
21769 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
21770 type.
21771 [C99-based standards] (HUGE_VALL): Likewise.
21772 [C99-based standards] (INFINITY): Likewise.
21773 [C99-based standards] (NAN): Likewise.
21774 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
21775 [C99-based standards] (FP_NAN): Likewise.
21776 [C99-based standards] (FP_NORMAL): Likewise.
21777 [C99-based standards] (FP_SUBNORMAL): Likewise.
21778 [C99-based standards] (FP_ZERO): Likewise.
21779 [C99-based standards] (FP_FAST_FMA): Use
21780 optional-macro-int-constant. Specify type. Require == 1.
21781 [C99-based standards] (FP_FAST_FMAF): Likewise.
21782 [C99-based standards] (FP_FAST_FMAL): Likewise.
21783 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
21784 [C99-based standards] (FP_ILOGBNAN): Likewise.
21785 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
21786 Specify type.
21787 [C99-based standards] (MATH_ERREXCEPT): Likewise.
21788 [C99-based standards] (math_errhandling): Specify type.
21789 [ISO99 || ISO11] (signgam): Do not allow.
21790 [non-C99-based standards] (copysignf): Do not allow.
21791 [non-C99-based standards] (exp2f): Likewise.
21792 [non-C99-based standards] (log2f): Likewise.
21793 [non-C99-based standards] (modff): Allow.
21794 [non-C99-based standards] (erff): Do not allow.
21795 [non-C99-based standards] (erfcf): Likewise.
21796 [non-C99-based standards] (gammaf): Likewise.
21797 [non-C99-based standards] (hypotf): Likewise.
21798 [non-C99-based standards] (j0f): Likewise.
21799 [non-C99-based standards] (j1f): Likewise.
21800 [non-C99-based standards] (jnf): Likewise.
21801 [non-C99-based standards] (lgammaf): Likewise.
21802 [non-C99-based standards] (tgammaf): Likewise.
21803 [non-C99-based standards] (y0f): Likewise.
21804 [non-C99-based standards] (y1f): Likewise.
21805 [non-C99-based standards] (ynf): Likewise.
21806 [non-C99-based standards] (isnanf): Likewise.
21807 [non-C99-based standards] (acoshf): Likewise.
21808 [non-C99-based standards] (asinhf): Likewise.
21809 [non-C99-based standards] (atanhf): Likewise.
21810 [non-C99-based standards] (cbrtf): Likewise.
21811 [non-C99-based standards] (expm1f): Likewise.
21812 [non-C99-based standards] (ilogbf): Likewise.
21813 [non-C99-based standards] (log1pf): Likewise.
21814 [non-C99-based standards] (logbf): Likewise.
21815 [non-C99-based standards] (nextafterf): Likewise.
21816 [non-C99-based standards] (remainderf): Likewise.
21817 [non-C99-based standards] (rintf): Likewise.
21818 [non-C99-based standards] (scalbf): Likewise.
21819 [non-C99-based standards] (copysignl): Likewise.
21820 [non-C99-based standards] (exp2l): Likewise.
21821 [non-C99-based standards] (log2l): Likewise.
21822 [non-C99-based standards] (modfl): Allow.
21823 [non-C99-based standards] (erfl): Do not allow.
21824 [non-C99-based standards] (erfcl): Likewise.
21825 [non-C99-based standards] (gammal): Likewise.
21826 [non-C99-based standards] (hypotl): Likewise.
21827 [non-C99-based standards] (j0l): Likewise.
21828 [non-C99-based standards] (j1l): Likewise.
21829 [non-C99-based standards] (jnl): Likewise.
21830 [non-C99-based standards] (lgammal): Likewise.
21831 [non-C99-based standards] (tgammal): Likewise.
21832 [non-C99-based standards] (y0l): Likewise.
21833 [non-C99-based standards] (y1l): Likewise.
21834 [non-C99-based standards] (ynl): Likewise.
21835 [non-C99-based standards] (isnanl): Likewise.
21836 [non-C99-based standards] (acoshl): Likewise.
21837 [non-C99-based standards] (asinhl): Likewise.
21838 [non-C99-based standards] (atanhl): Likewise.
21839 [non-C99-based standards] (cbrtl): Likewise.
21840 [non-C99-based standards] (expm1l): Likewise.
21841 [non-C99-based standards] (ilogbl): Likewise.
21842 [non-C99-based standards] (log1pl): Likewise.
21843 [non-C99-based standards] (logbl): Likewise.
21844 [non-C99-based standards] (nextafterl): Likewise.
21845 [non-C99-based standards] (remainderl): Likewise.
21846 [non-C99-based standards] (rintl): Likewise.
21847 [non-C99-based standards] (scalbl): Likewise.
21848 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21849 [non-C99-based standards] (FP_*): Do not allow.
21850 [C99-based standards] (FP_*): Change to
21851 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21852 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21853 allow.
21854 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
21855 (SIG_ERR): Likewise.
21856 [X/Open-based standards] (SIG_HOLD): Likewise.
21857 (SIG_IGN): Likewise.
21858 (SIGABRT): Use macro-int-constant. Specify type. Require
21859 positive value.
21860 (SIGFPE): Likewise.
21861 (SIGILL): Likewise.
21862 (SIGINT): Likewise.
21863 (SIGSEGV): Likewise.
21864 (SIGTER): Likewise.
21865 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
21866 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
21867 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
21868 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
21869 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
21870 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
21871 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
21872 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
21873 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
21874 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
21875 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
21876 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
21877 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
21878 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
21879 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
21880 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
21881 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
21882 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
21883 [X/Open-based standards] (SIGTRAP): Likewise.
21884 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
21885 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
21886 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
21887 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
21888 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21889 allow.
21890
b9f1922d
IW
218912012-05-08 Ian Wienand <ianw@vmware.com>
21892
21893 [BZ #14080]
21894 * time/tzset.c (__tzset_parse_tz): Update default rules for
21895 daylight time changes in the Energy Policy Act of 2005.
21896
1db86e88
AJ
218972012-05-09 Andreas Jaeger <aj@suse.de>
21898
21899 [BZ #13983]
21900 * elf/ldconfig.c (parse_conf): Change string to make clear that
21901 ldconfig only issued a warning if ld.so.conf does not exist.
21902
dee4a4e3
DM
219032012-05-08 David S. Miller <davem@davemloft.net>
21904
ee0db190
DM
21905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
21906 movxtod instead of popping the value on the stack.
21907
dee4a4e3
DM
21908 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21909
6a43ec98
CD
219102012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
21911
21912 * config.h.in: Add HAVE_ARM_PCS_VFP.
21913
05c2c961
RMG
219142012-05-08 Roland Mc Grath <roland@hack.frob.com>
21915
bcfe3a54
ST
21916 [BZ #13979]
21917 * include/features.h: Warn if user requests __FORTIFY_SOURCE
21918 checking but the checks are disabled for any reason.
05c2c961 21919
4b30f61a
L
219202012-05-08 H.J. Lu <hongjiu.lu@intel.com>
21921
21922 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
21923 and ELF64_R_TYPE with ELFW(R_TYPE).
21924
eee2bc67
JM
219252012-05-08 Joseph Myers <joseph@codesourcery.com>
21926
7ea5391a
JM
21927 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
21928 (ulimit): Likewise.
21929
eee2bc67
JM
21930 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
21931 (settimeofday): Likewise.
21932
abb66a67
MF
219332012-05-08 Mike Frysinger <vapier@gentoo.org>
21934
21935 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
21936 a struct th_u2 inside the union, and move tu_block/tu_code into
21937 a new th_u3 union of tu_block/tu_code inside of that. Move
21938 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
21939 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
21940 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
21941 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
21942 (th_stuff): Change to th_u1.tu_stuff.
21943 (th_data): Define.
21944 (th_msg): Change to th_u1.th_u2.tu_data.
21945
7f18b530
DM
219462012-05-07 David S. Miller <davem@davemloft.net>
21947
05760585
DM
21948 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21949
7f18b530
DM
21950 [BZ #14074]
21951 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
21952 (SETUP_PIC_REG): Use it.
21953 (SETUP_PIC_REG_LEAF): Use it.
21954
495fd99f
JM
219552012-05-07 Joseph Myers <joseph@codesourcery.com>
21956
21957 [BZ #13885]
21958 [BZ #13923]
21959 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21960 USE_AS_EXPM1L.
21961 (EXPL_FINITE): Likewise.
21962 (FLDLOG): Likewise.
21963 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21964 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21965 e_expl.S.
21966 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21967 USE_AS_EXPM1L.
21968 (EXPL_FINITE): Likewise.
21969 (FLDLOG): Likewise.
21970 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21971 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21972 e_expl.S.
21973 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
21974 test of -max_value argument for long double.
21975 * sysdeps/i386/fpu/libm-test-ulps: Update.
21976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21977
6693d694
DM
219782012-05-06 David S. Miller <davem@davemloft.net>
21979
21980 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
21981 quad soft-float symbols whose references which are compiler
21982 generated.
21983 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21984
6c23e11c
JM
219852012-05-06 Joseph Myers <joseph@codesourcery.com>
21986
d8b82cad
JM
21987 [BZ #13884]
21988 [BZ #13914]
21989 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21990 USE_AS_EXP10L.
21991 (EXPL_FINITE): Likewise.
21992 (FLDLOG): Likewise.
21993 (c0): Likewise.
21994 (c1): Likewise.
21995 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
21996 Adjust comments for base varying.
21997 (__expl_finite): Change alias to EXPL_FINITE.
21998 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
21999 e_expl.S.
22000 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
22001 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
22002 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22003 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
22004 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
22005 USE_AS_EXP10L.
22006 (EXPL_FINITE): Likewise.
22007 (FLDLOG): Likewise.
22008 (c0): Likewise.
22009 (c1): Likewise.
22010 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
22011 Adjust comments for base varying.
22012 (__expl_finite): Change alias to EXPL_FINITE.
22013 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
22014 tests for bugs.
22015 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22016
6c23e11c
JM
22017 [BZ #14064]
22018 * math/libm-test.inc (check_float_internal): Correct ulp
22019 calculation for subnormal expected results.
22020
29ba805c
AJ
220212012-05-06 Andreas Jaeger <aj@suse.de>
22022
22023 * Makeconfig (+math-flags): New, set to -frounding-math.
22024 (+cflags): Add +math-flags so that all of glibc gets compiled with
22025 it.
22026
22027 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
22028
7b17aeda
JM
220292012-05-05 Joseph Myers <joseph@codesourcery.com>
22030
5779f134
JM
22031 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
22032 Disable one test.
22033
41498f4d
JM
22034 [BZ #13787]
22035 [BZ #13922]
22036 [BZ #14036]
22037 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
22038 (__ieee754_expl): Allow for and saturate large arguments.
22039 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
22040 (u_threshold): Likewise.
22041 (__exp): Call __ieee754_exp before checking for overflow and
22042 underflow.
22043 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
22044 (u_threshold): Likewise.
22045 (__expf): Call __ieee754_expf before checking for overflow and
22046 underflow.
22047 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
22048 (u_threshold): Likewise.
22049 (__expl): Call __ieee754_expl before checking for overflow and
22050 underflow.
22051 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
22052 (__ieee754_expl): Allow for and saturate large arguments.
22053 * math/libm-test.inc (exp_test): Add another test. Do not allow
22054 missing overflow exception on overflow.
22055 (expm1_test): Do not allow missing overflow exception on overflow.
22056
6698b8bf
JM
22057 * sysdeps/i386/fpu/e_expl.c: Move to ...
22058 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
22059 rather than using inline asm.
22060 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
22061 * sysdeps/x86_64/fpu/e_expl.S: Copy from
22062 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
22063
7b17aeda
JM
22064 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
22065 (nice): Likewise.
22066 (poll): Likewise.
22067 (signal): Likewise.
22068 (time): Likewise.
22069 (times): Likewise.
22070
f7c85819
JM
220712012-05-04 Joseph Myers <joseph@codesourcery.com>
22072
22073 * sysdeps/unix/syscalls.list (adjtime): Add entry from
22074 sysdeps/unix/common/syscalls.list.
22075 (fchmod): Likewise.
22076 (fchown): Likewise.
22077 (ftruncate): Likewise.
22078 (getrusage): Likewise.
22079 (gettimeofday): Likewise.
22080 (setpgid): Likewise.
22081 (setregid): Likewise.
22082 (setreuid): Likewise.
22083 (sigaction): Likewise.
22084 (truncate): Likewise.
22085 (vhangup): Likewise.
22086 * sysdeps/unix/common/syscalls.list: Remove file.
22087 * sysdeps/unix/bsd/Implies: Don't include unix/common.
22088 * sysdeps/unix/sysv/linux/Implies: Likewise.
22089
336270d0
L
220902012-05-04 H.J. Lu <hongjiu.lu@intel.com>
22091
22092 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
22093 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
22094 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
22095 Moved to ...
22096 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
22097 Here.
22098 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
22099 to ...
22100 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
22101 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
22102 to ...
22103 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
22104 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
22105 to ...
22106 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
22107 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
22108 to ...
22109 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
22110 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
22111 to ...
22112 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
22113 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
22114 to ...
22115 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
22116 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
22117 to ...
22118 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22119 Here.
22120 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
22121 to ...
22122 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
22123 Here.
22124 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
22125 to ...
22126 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
22127 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
22128 Moved to ...
22129 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
22130 Here.
22131 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
22132 to ...
22133 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
22134
d128e450
JM
221352012-05-04 Joseph Myers <joseph@codesourcery.com>
22136
fa8ee516
JM
22137 * sysdeps/unix/common/bits/dirent.h: Remove file.
22138 * sysdeps/unix/common/bits/fcntl.h: Likewise.
22139
d128e450
JM
22140 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
22141 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
22142 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
22143 * sysdeps/unix/bsd/isatty.c: Likewise.
22144 * sysdeps/unix/bsd/tcdrain.c: Likewise.
22145 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
22146 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
22147
ff8faaf0 221482012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 22149
62881be4 22150 [BZ #13563]
31dc8730
AZ
22151 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
22152 long double comparison inaccuracies.
22153 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22154 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22155
6fef930c
AS
221562012-05-04 Andreas Schwab <schwab@linux-m68k.org>
22157
22158 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
22159 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
22160
8f203e6c
JM
221612012-05-04 Joseph Myers <joseph@codesourcery.com>
22162
22163 [BZ #14049]
22164 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
22165 nonzero digits before rounding a hex value.
22166 * stdlib/tst-strtod.c (tests): Add another test.
22167
5197d9c2
AK
221682012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22169
22170 * sysdeps/s390/fpu/libm-test-ulps: Update.
22171
f0c1dedf
AJ
221722012-05-03 Andreas Jaeger <aj@suse.de>
22173
22174 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
22175 does not get optimized out.
22176 (malloc_opt_barrier): New.
22177
a65ef2ae 221782012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 22179 Roland McGrath <roland@hack.frob.com>
a65ef2ae 22180
2b942cb7 22181 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 22182 intermediate file deletion.
2b942cb7 22183 (generated): Add .symlist files.
a65ef2ae 22184
54b71e02
JM
221852012-05-03 Joseph Myers <joseph@codesourcery.com>
22186
22187 [BZ #13775]
22188 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
22189 Redirect under this condition.
22190 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22191 [__USE_GNU] (__dprintf_chk): Not under this condition.
22192 [__USE_GNU] (__vdprintf_chk): Likewise.
22193 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
22194 under this condition.
22195 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22196 [__USE_XOPEN2K8] (dprintf): Define under this condition.
22197 [__USE_XOPEN2K8] (vdprintf): Likewise.
22198 [__USE_GNU] (__dprintf_chk): Not under this condition.
22199 [__USE_GNU] (__vdprintf_chk): Likewise.
22200 [__USE_GNU] (dprintf): Likewise.
22201 [__USE_GNU] (vdprintf): Likewise.
22202
d3dfcc41
RM
222032012-05-03 Roland McGrath <roland@hack.frob.com>
22204
22205 * elf/Makefile (common-generated): Set this instead of generated for
22206 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
22207 $(all-built-dso)-derived lists.
22208
7ac30cc5
AJ
222092012-05-03 Andreas Jaeger <aj@suse.de>
22210
0c51e550
AJ
22211 * sysdeps/i386/fpu/libm-test-ulps: Update.
22212
7ac30cc5
AJ
22213 * FAQ: Removed.
22214 * FAQ.in: Likewise.
22215 * scripts/gen-FAQ.pl: Likewise.
22216 * manual/install.texi (Installation): Point to online location of
22217 FAQ.
22218 * Makefile (files-for-dist): Remove FAQ.
22219 (FAQ): Remove.
22220
d4c2917f
AM
222212012-05-02 Allan McRae <allan@archlinux.org>
22222
22223 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
22224 (LDFLAGS-reldepmod5.so): Likewise.
22225 (LDFLAGS-reldep6mod1.so): Likewise.
22226 (LDFLAGS-reldep6mod4.so): Likewise.
22227 (LDFLAGS-reldep8mod3.so): Likewise.
22228 (LDFLAGS-unload4mod1.so): Likewise.
22229 (LDFLAGS-unload4mod2.so): Likewise.
22230 (LDFLAGS-tst-initorder): Likewise.
22231 (LDFLAGS-tst-initordera2.so): Likewise.
22232 (LDFLAGS-tst-initordera3.so): Likewise.
22233 (LDFLAGS-tst-initordera4.so): Likewise.
22234 (LDFLAGS-tst-initorderb2.so): Likewise.
22235 (LDFLAGS-noload): Likewise.
22236 (LDFLAGS-next): Likewise.
22237 (LDFLAGS-order2mod1.so): Likewise.
22238 (LDFLAGS-order2mod2.so): Likewise.
22239 (LDFLAGS-tst-initorder2): Likewise.
22240 (LDFLAGS-tst-initorder2a.so): Likewise.
22241 (LDFLAGS-tst-initorder2b.so): Likewise.
22242 (LDFLAGS-tst-initorder2c.so): Likewise.
22243 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
22244
d77f993f
DM
222452012-05-02 David S. Miller <davem@davemloft.net>
22246
22247 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22248
171a70b4
PP
222492012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
22250
22251 [BZ #14055]
22252 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
22253
0be196ad
AJ
222542012-05-02 Andreas Jaeger <aj@suse.de>
22255
22256 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
22257 since we manipulate rounding mode.
22258 (CPPFLAGS-test-idouble.c): Likewise.
22259 (CPPFLAGS-test-ifloat.c): Likewise.
22260 (CFLAGS-test-ldouble.c): Likewise.
22261 (CFLAGS-test-double.c): Likewise.
22262 (CFLAGS-test-float.c): Likewise.
22263 (CFLAGS-test-misc.c): Likewise.
22264 (CFLAGS-test-test-fenv.c): Likewise.
22265
4f9d04aa
AZ
222662012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22267
2b942cb7
RM
22268 [BZ #2550]
22269 [BZ #2570]
22270 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
22271 comparisons to determine direction to adjust input.
4f9d04aa 22272
82a79e7d
RM
222732012-05-01 Roland McGrath <roland@hack.frob.com>
22274
f5a01ca9
RM
22275 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
22276 output to the target.
22277
90fe4186
RM
22278 * scripts/localplt.awk: New file.
22279 * elf/Makefile ($(objpfx)check-localplt): Target removed.
22280 (check-localplt-CFLAGS): Variable removed.
22281 ($(all-built-dso:=.jmprel)): New static pattern rule.
22282 (generated): Add those targets.
22283 (localplt-built-dso): New variable.
22284 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
22285
22286 * elf/check-localplt.c: File removed.
22287
82397ed6
RM
22288 * scripts/check-execstack.awk: New file.
22289 * elf/Makefile ($(objpfx)check-execstack): Target removed.
22290 (check-execstack-CFLAGS): Variable removed.
22291 ($(objpfx)check-execstack.h): Target removed.
22292 ($(objpfx)execstack-default): New target.
22293 (generated): Add that instead of check-execstack.h.
22294 ($(all-built-dso:=.phdr)): New static pattern rule.
22295 (generated): Add those targets.
22296 * elf/check-execstack.c: File removed.
22297
82a79e7d
RM
22298 * scripts/check-textrel.awk: New file.
22299 * elf/Makefile ($(objpfx)check-textrel): Target removed.
22300 (check-textrel-CFLAGS): Variable removed.
22301 (all-built-dso): Use := to define.o
22302 ($(all-built-dso:=.dyn)): New static pattern rule.
22303 (generated): Add those targets.
22304 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
22305 * config.make.in (READELF): New substituted variable.
22306 * elf/check-textrel.c: File removed.
22307
62fde54f 223082012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 22309
615605c9
JM
22310 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22311 allow.
22312 * conform/data/ctype.h-data [C99-based standards] (isblank):
22313 Expect function.
22314 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
22315 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
22316 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22317 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
22318 Specify type. Require positive value.
22319 (EILSEQ): Likewise.
22320 (ERANGE): Likewise.
22321 [ISO || POSIX] (EILSEQ): Do not expect.
22322 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
22323 Specify type. Require positive value.
22324 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
22325 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
22326 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
22327 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
22328 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
22329 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
22330 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
22331 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
22332 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
22333 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
22334 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
22335 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
22336 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
22337 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
22338 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
22339 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
22340 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
22341 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
22342 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
22343 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
22344 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
22345 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
22346 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
22347 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
22348 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
22349 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
22350 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
22351 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
22352 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
22353 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
22354 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
22355 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
22356 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
22357 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
22358 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
22359 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
22360 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
22361 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
22362 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
22363 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
22364 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
22365 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
22366 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
22367 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
22368 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
22369 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
22370 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
22371 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
22372 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
22373 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
22374 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
22375 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
22376 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
22377 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
22378 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
22379 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
22380 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
22381 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
22382 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
22383 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
22384 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
22385 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
22386 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
22387 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
22388 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
22389 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
22390 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
22391 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
22392 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
22393 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
22394 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
22395 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
22396 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
22397 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
22398 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
22399 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
22400 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
22401 Require >= 2.
22402 (FLT_ROUNDS): Expect as macro, not constant.
22403 (FLT_MANT_DIG): Use macro-int-constant.
22404 (DBL_MANT_DIG): Likewise.
22405 (LDBL_MANT_DIG): Likewise.
22406 (FLT_DIG): Likewise.
22407 (DBL_DIG): Likewise.
22408 (LDBL_DIG): Likewise.
22409 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
22410 (DBL_MIN_EXP): Likewise.
22411 (LDBL_MIN_EXP): Likewise.
22412 (FLT_MAX_EXP): Use macro-int-constant.
22413 (DBL_MAX_EXP): Likewise.
22414 (LDBL_MAX_EXP): Likewise.
22415 (FLT_MAX_10_EXP): Likewise.
22416 (DBL_MAX_10_EXP): Likewise.
22417 (LDBL_MAX_10_EXP): Likewise.
22418 (FLT_MAX): Use macro-constant.
22419 (DBL_MAX): Likewise.
22420 (LDBL_MAX): Likewise.
22421 (FLT_EPSILON): Use macro-constant. Give upper bound.
22422 (DBL_EPSILON): Likewise.
22423 (LDBL_EPSILON): Likewise.
22424 (FLT_MIN): Likewise.
22425 (DBL_MIN): Likewise.
22426 (LDBL_MIN): Likewise.
22427 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
22428 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
22429 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
22430 [ISO11] (FLT_HAS_SUBNORM): Likewise.
22431 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
22432 [ISO11] (DBL_DECIMAL_DIG): Likewise.
22433 [ISO11] (FLT_DECIMAL_DIG): Likewise.
22434 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
22435 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
22436 [ISO11] (FLT_TRUE_MIN): Likewise.
22437 [ISO11] (LDBL_TRUE_MIN): Likewise.
22438 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22439 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
22440 (SCHAR_MIN): Use macro-int-constant. Specify type.
22441 (SCHAR_MAX): Likewise.
22442 (UCHAR_MAX): Likewise.
22443 (CHAR_MIN): Likewise.
22444 (CHAR_MAX): Likewise.
22445 (MB_LEN_MAX): Use macro-int-constant.
22446 (SHRT_MIN): Use macro-int-constant. Specify type.
22447 (SHRT_MAX): Likewise.
22448 (USHRT_MAX): Likewise.
22449 (INT_MAX): Likewise.
22450 (INT_MIN): Use macro-int-constant. Specify type. Make upper
22451 bound negative.
22452 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
22453 bound with "U".
22454 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
22455 bound with "L".
22456 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
22457 bound negative. Suffix upper bound with "L".
22458 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
22459 bound with "UL".
22460 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
22461 Specify type.
22462 [C99-based standards] (LLONG_MAX): Likewise.
22463 [C99-based standards] (ULLONG_MAX): Likewise.
22464 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
22465 == 0.
22466 [ISO11] (max_align_t): Require type.
22467 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22468
c9140a62
JM
22469 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
22470 from $CFLAGS, without defining away __attribute__ calls.
22471 (checknamespace): Use $CFLAGS_namespace.
22472
9af0bf29
JM
22473 * conform/conformtest.pl (@keywords): Only include C99 keywords
22474 for standards based on C99 or C11.
22475
343222a2
JM
22476 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
22477 Disable tests.
22478 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
22479 UNIX98]: Likewise.
22480
661f8cf0
JM
22481 * conform/conformtest.pl: Handle "macro-int-constant" and test for
22482 usability of symbols in #if.
22483
ee74b9cb
JM
22484 * conform/conformtest.pl: If macro or constant types start
22485 "promoted:", expect the symbol to be of the following type
22486 promoted by the integer promotions.
62fde54f 22487
aafc49b3
JM
22488 * conform/conformtest.pl: Parse all "constant" and "macro" lines
22489 in one place. Also handle "macro-constant".
22490
fefdf574
JM
22491 * conform/conformtest.pl: Only accept expected macro values with
22492 "==". Parse all "macro" lines in one place.
22493 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
22494
f2d922fe
JM
22495 * conform/conformtest.pl: Handle braced types on "constant" lines
22496 instead of handling "typed-constant".
22497 * conform/data/signal.h-data: Use "constant" instead of
22498 "typed-constant".
22499
d22956c9
JM
22500 * conform/conformtest.pl: Handle "optional-" at start of lines in
22501 one place rather than duplicating several cases. Handle each
22502 format of "macro" line with initial "optional-".
22503
028e2e38
JM
22504 * conform/conformtest.pl: Only accept expected constant or
22505 optional-constant values with "==". Parse all "constant" lines in
22506 one place. Parse all "optional-constant" lines in one place.
22507 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
22508 * conform/data/fmtmsg.h-data: Likewise.
22509 * conform/data/netinet/in.h-data: Likewise.
22510 * conform/data/tar.h-data: Likewise.
22511 * conform/data/limits.h-data: Use "==" form on "constant" and
22512 "optional-constant" lines.
22513
1b8f2850
JM
22514 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
22515 Use -std=c99 for XOPEN2K.
22516 (@knownproblems): Remove.
22517 (newtoken): Don't check %isknown.
22518
a05a144b
JM
22519 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
22520 Do not expect macro.
22521 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
22522 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
22523 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
22524 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
22525 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
22526 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
22527 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
22528 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
22529 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
22530 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
22531 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
22532 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
22533 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
22534 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
22535 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
22536 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
22537 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
22538 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
22539 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
22540 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
22541 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
22542 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
22543 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
22544 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
22545 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
22546 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
22547 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
22548 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
22549 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
22550 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
22551 [XPG3] (acosh): Likewise.
22552 [XPG3] (asinh): Likewise.
22553 [XPG3] (atanh): Likewise.
22554 [XPG3] (cbrt): Likewise.
22555 [XPG3] (expm1): Likewise.
22556 [XPG3] (ilogb): Likewise.
22557 [XPG3] (log1p): Likewise.
22558 [XPG3] (logb): Likewise.
22559 [XPG3] (nextafter): Likewise.
22560 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
22561 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
22562 [XPG3] (remainder): Likewise.
22563 [XPG3] (rint): Likewise.
22564 [XPG3 || XPG4 || UNIX98] (round): Likewise.
22565 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
22566 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
22567 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
22568 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
22569 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
22570 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
22571 [UNIX98 || XOPEN2K] (scalb): Expect.
22572 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
22573 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
22574 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
22575 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
22576 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
22577 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
22578 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
22579 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
22580 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
22581 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
22582 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
22583 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
22584 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
22585 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
22586 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
22587 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
22588 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
22589 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
22590 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
22591 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
22592 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
22593 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
22594 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
22595 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
22596 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
22597 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
22598 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
22599 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
22600 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
22601 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
22602 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
22603 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
22604 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
22605 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
22606 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
22607 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
22608 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
22609 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
22610 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
22611 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
22612 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
22613 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
22614 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
22615 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
22616 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
22617 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
22618 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
22619 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
22620 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
22621 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
22622 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
22623 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
22624 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
22625 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
22626 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
22627 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
22628 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
22629 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
22630 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
22631 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
22632 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
22633 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
22634 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
22635 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
22636 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
22637 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
22638 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
22639 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
22640 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
22641 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
22642 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
22643 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
22644 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
22645 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
22646 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
22647 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
22648 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
22649 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
22650 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
22651 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
22652 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
22653 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
22654 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
22655 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
22656 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
22657 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
22658 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
22659 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
22660 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
22661 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
22662 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
22663 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
22664 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
22665 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
22666 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
22667 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
22668 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
22669 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
22670 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
22671 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
22672 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
22673 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
22674 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
22675 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
22676 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
22677 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
22678 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
22679 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
22680 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
22681 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
22682 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
22683 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
22684 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
22685 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
22686 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
22687 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
22688 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
22689 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
22690 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
22691 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
22692 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
22693 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
22694 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
22695 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
22696 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
22697 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
22698 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
22699 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
22700 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
22701 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
22702 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
22703 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
22704 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
22705 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
22706 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
22707 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
22708 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
22709
73c5ebe3
JM
22710 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
22711 _XOPEN_SOURCE_EXTENDED for XPG4.
22712
39c33b6c
JM
22713 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
22714
62fde54f
JM
22715 * Makeconfig (localtime): Remove variable.
22716 (inst_localtime-file): Likewise.
22717
0741d64c
AS
227182012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22719
22720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
22721 Update.
22722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22723 Update.
22724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
22725 Update.
22726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22727 Update.
22728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
22729 Update.
22730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
22731 Update.
22732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22733 Update.
22734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
22735 Update.
22736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22737 Update.
22738
7cb029ee
JM
227392012-05-01 Joseph Myers <joseph@codesourcery.com>
22740
22741 [BZ #2550]
22742 [BZ #2570]
22743 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
22744 comparisons to determine direction to adjust input.
22745 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22746 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
22747 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
22748 Likewise.
22749 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
22750 Likewise.
22751 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22752 Likewise.
22753 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
22754 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22755 Likewise.
22756 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22757 Likewise.
22758 * math/libm-test.inc (nexttoward_test): Add more tests.
22759
412bd966
AS
227602012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22761
22762 [BZ #14040]
22763 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
22764 in version GLIBC_2.1, not GLIBC_2.0.
22765 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
22766 Likewise.
22767
9568c0c2
JM
227682012-04-30 Joseph Myers <joseph@codesourcery.com>
22769
adfbc8ac
JM
22770 [BZ #13942]
22771 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
22772 (1 - x) * (1 + x).
22773 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22774 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
22775 * math/libm-test.inc (acos_test): Add more tests.
22776 (asin_test): Likewise.
22777 * sysdeps/i386/fpu/libm-test-ulps: Update.
22778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22779
5ba3cc69
JM
22780 [BZ #14034]
22781 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
22782 of square root.
22783 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
22784 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22785 * math/libm-test.inc (acos_test_tonearest): New function.
22786 (acos_test_towardzero): Likewise.
22787 (acos_test_downward): Likewise.
22788 (acos_test_upward): Likewise.
22789 (asin_test_tonearest): Likewise.
22790 (asin_test_towardzero): Likewise.
22791 (asin_test_downward): Likewise.
22792 (asin_test_upward): Likewise.
22793 (main): Call the new functions.
22794 * sysdeps/i386/fpu/libm-test-ulps: Update.
22795 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22796
9568c0c2
JM
22797 [BZ #13884]
22798 [BZ #13924]
22799 * math/e_exp10.c: Include <float.h>.
22800 (__ieee754_exp10): Handle underflow here rather than multiplying
22801 large negative argument by M_LN10.
22802 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
22803 of __ieee754_expf.
22804 * math/e_exp10l.c: Include <float.h>.
22805 (__ieee754_exp10l): Handle underflow here rather than multiplying
22806 large negative argument by M_LN10l.
22807 * math/libm-test.inc (exp10_test): Add another test. Do not allow
22808 spurious overflow exception on underflow.
22809
5ac3ea17
MP
228102012-04-29 Marek Polacek <polacek@redhat.com>
22811
22812 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
22813 (__fortify_function): New macro.
22814 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
22815 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
22816 __extern_always_inline.
22817 * libio/bits/stdio2.h: Likewise.
22818 * libio/bits/stdio.h: Likewise.
22819 * string/string.h: Likewise.
22820 * string/bits/string3.h: Likewise.
22821 * include/stdio.h: Likewise.
22822 * stdlib/bits/stdlib.h: Likewise.
22823 * stdlib/stdlib.h: Likewise.
22824 * rt/bits/mqueue2.h: Likewise.
22825 * rt/mqueue.h: Likewise.
22826 * posix/bits/unistd.h: Likewise.
22827 * posix/unistd.h: Likewise.
22828 * io/bits/poll2.h: Likewise.
22829 * io/bits/fcntl2.h: Likewise.
22830 * io/fcntl.h: Likewise.
22831 * io/sys/poll.h: Likewise.
22832 * misc/bits/syslog.h: Likewise.
22833 * misc/bits/syslog-ldbl.h: Likewise.
22834 * misc/sys/syslog.h: Likewise.
22835 * socket/bits/socket2.h: Likewise.
22836 * socket/sys/socket.h: Likewise.
22837 * debug/tst-chk1.c: Likewise.
22838 * wcsmbs/bits/wchar2.h: Likewise.
22839 * wcsmbs/bits/wchar-ldbl.h: Likewise.
22840 * wcsmbs/wchar.h: Likewise.
22841
ecf0ebfb
AJ
228422012-04-29 Andreas Jaeger <aj@suse.de>
22843
22844 * Makerules (tests): Remove enable-check-abi protection.
22845 (check-abi-warn): Remove.
22846 (check-abi-%): Remove check-abi-warn usage.
22847
22848 * configure.in: Remove check-abi configure option.
22849 * configure: Regenerated.
22850 * config.make.in (enable-check-abi): Remove.
22851
6d5c57fa
AS
228522012-04-28 Andreas Schwab <schwab@linux-m68k.org>
22853
24c5d07e 22854 [BZ #14033]
ded5180a
AS
22855 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
22856 double functions to double *_finite functions.
22857
7e0d315d
AS
22858 [BZ #13941]
22859 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
22860 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
22861 LDBL_MIN_EXP.
22862 * stdio-common/Makefile (tests): Add tst-sprintf3.
22863 * stdio-common/tst-sprintf3.c: New file.
22864
6d5c57fa
AS
22865 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
22866 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
22867
0749ff8b
JM
228682012-04-28 Joseph Myers <joseph@codesourcery.com>
22869
22870 * conform/conformtest.pl: Remove duplicate typed-constant
22871 handling.
22872
8dbd5d7b
DM
228732012-04-28 David S. Miller <davem@davemloft.net>
22874
22875 * Makerules (%.abilist): Add vpath on sysdep_dirs.
22876 (check-abi-%): Remove AWK script prerequisite and explicit
22877 abilist directory.
22878 (check-abi): Rewrite to just diff the symlist with the abilist.
22879 (config-tls, config-abi-config): Delete, no longer used.
22880 (update-abi-%): Remove AWK script and explicit abilist directory.
22881 (update-abi): Rewrite to simply compare and conditionally copy the
22882 symlist and the sysdep abilist file. Remove update-abi-config
22883 checks.
22884 * abilist/ld.abilist: Remove.
22885 * abilist/libBrokenLocale.abilist: Remove.
22886 * abilist/libanl.abilist: Remove.
22887 * abilist/libcrypt.abilist: Remove.
22888 * abilist/libdl.abilist: Remove.
22889 * abilist/librt.abilist: Remove.
22890 * abilist/libthread_db.abilist: Remove.
22891 * abilist/libutil.abilist: Remove.
22892 * scripts/extract-abilist.awk: Remove.
22893 * scripts/merge-abilist.awk: Remove.
22894 * sysdeps/generic/libcidn.abilist: New file.
22895 * sysdeps/generic/libnss_compat.abilist: New file.
22896 * sysdeps/generic/libnss_db.abilist: New file.
22897 * sysdeps/generic/libnss_dns.abilist: New file.
22898 * sysdeps/generic/libnss_files.abilist: New file.
22899 * sysdeps/generic/libnss_hesiod.abilist: New file.
22900 * sysdeps/generic/libnss_nis.abilist: New file.
22901 * sysdeps/generic/libnss_nisplus.abilist: New file.
22902 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
22903 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
22904 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
22905 file.
22906 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
22907 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
22908 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
22909 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
22910 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
22911 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
22912 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
22913 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
22914 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
22915 file.
22916 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
22917 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
22918 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
22919 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
22920 file.
22921 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
22922 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
22923 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
22924 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
22925 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
22926 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
22927 file.
22928 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
22929 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
22930 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
22931 file.
22932 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
22933 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
22934 New file.
22935 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
22936 New file.
22937 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
22938 New file.
22939 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
22940 New file.
22941 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
22942 New file.
22943 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
22944 New file.
22945 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
22946 New file.
22947 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
22948 New file.
22949 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
22950 New file.
22951 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
22952 New file.
22953 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
22954 New file.
22955 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
22956 New file.
22957 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
22958 New file.
22959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
22960 file.
22961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
22962 New file.
22963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
22964 New file.
22965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
22966 file.
22967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
22968 New file.
22969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
22970 New file.
22971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
22972 file.
22973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
22974 New file.
22975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22976 New file.
22977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
22978 New file.
22979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
22980 New file.
22981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
22982 New file.
22983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
22984 New file.
22985 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
22986 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
22987 file.
22988 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
22989 New file.
22990 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
22991 file.
22992 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
22993 file.
22994 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
22995 file.
22996 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
22997 file.
22998 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
22999 file.
23000 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23001 New file.
23002 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
23003 file.
23004 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
23005 file.
23006 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
23007 New file.
23008 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
23009 file.
23010 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
23011 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
23012 file.
23013 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
23014 New file.
23015 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
23016 file.
23017 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
23018 file.
23019 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
23020 file.
23021 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
23022 file.
23023 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
23024 file.
23025 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23026 New file.
23027 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
23028 file.
23029 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
23030 file.
23031 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
23032 New file.
23033 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
23034 file.
23035 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23036 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
23037 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
23038 file.
23039 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
23040 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
23041 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
23042 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
23043 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
23044 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
23045 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
23046 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
23047 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
23048 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
23049 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
23050 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
23051 file.
23052 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
23053 New file.
23054 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
23055 file.
23056 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
23057 file.
23058 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
23059 file.
23060 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
23061 file.
23062 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
23063 file.
23064 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23065 New file.
23066 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
23067 New file.
23068 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
23069 file.
23070 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
23071 New file.
23072 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
23073 file.
23074 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
23075 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
23076 file.
23077 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
23078 New file.
23079 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
23080 file.
23081 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
23082 file.
23083 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
23084 file.
23085 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
23086 file.
23087 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
23088 file.
23089 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23090 New file.
23091 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
23092 New file.
23093 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
23094 file.
23095 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
23096 New file.
23097 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
23098 file.
23099
41d73a1b
JM
231002012-04-28 Joseph Myers <joseph@codesourcery.com>
23101
23102 * conform/conformtest.pl: Fix typo in handling typed-constant from
23103 allow-header.
23104
28aeeda4
JM
231052012-04-27 Joseph Myers <joseph@codesourcery.com>
23106
adae8f5e
JM
23107 * README: Cut down references to pre-2.6 Linux kernels and
23108 Linuxthreads. Update lists of configurations in libc and ports
23109 and sort alphabetically. Say "or newer" with Linux kernel version
23110 requirements.
23111
28aeeda4
JM
23112 * config.h.in [IS_IN_build]: Allow compiling without optimization.
23113
a462cb63
RA
231142012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23115
23116 [BZ #887]
23117 * math/libm-test.inc (logb_test_downward): New test to expose
23118 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
23119 rounding mode.
23120
6ad3493e
JM
231212012-04-27 Joseph Myers <joseph@codesourcery.com>
23122
23123 [BZ #14027]
23124 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
23125 to be done.
23126 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
23127 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
23128
2ce4f015
JM
231292012-04-26 Joseph Myers <joseph@codesourcery.com>
23130
5aeb141a
JM
23131 * sysdeps/unix/i386/brk.S: Remove file.
23132 * sysdeps/unix/i386/dl-brk.S: Likewise.
23133 * sysdeps/unix/i386/pipe.S: Likewise.
23134 * sysdeps/unix/i386/sigreturn.S: Likewise.
23135 * sysdeps/unix/i386/syscall.S: Likewise.
23136 * sysdeps/unix/i386/vfork.S: Likewise.
23137 * sysdeps/unix/i386/wait.S: Likewise.
23138
7143acae
JM
23139 * sysdeps/unix/common/tcsendbrk.c: Move to ...
23140 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
23141
2ce4f015
JM
23142 * configure.in (arm*-none*): Do not allow without
23143 --enable-hacker-mode.
23144 (netbsd*): Remove case setting base_os.
23145 (386bsd*): Likewise.
23146 (freebsd*): Likewise.
23147 (bsdi*): Likewise.
23148 (osf*): Likewise.
23149 (sunos*): Likewise.
23150 (ultrix*): Likewise.
23151 (newsos*): Likewise.
23152 (dynix*): Likewise.
23153 (*bsd*): Likewise.
23154 (sysv*): Likewise.
23155 (isc*): Likewise.
23156 (esix*): Likewise.
23157 (sco*): Likewise.
23158 (minix*): Likewise.
23159 (irix4*): Likewise.
23160 (irix6*): Likewise.
23161 (solaris[2-9]*): Likewise.
23162 (none): Likewise.
23163 * configure: Regenerated.
23164
0ac229c8
AZ
231652012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23166
23167 [BZ #11521]
23168 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
23169 overflow or cancellation in calculating denominator.
23170 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
23171 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
23172 down expression to avoid unexpected rounding in newer GCCs.
23173 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
23174
33f244f4
DM
231752012-04-26 David S. Miller <davem@davemloft.net>
23176
23177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
23178 long-double compat symbols.
23179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
23183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23184 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
23185 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
23186 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
23187 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
23188 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
23189 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
23190 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
23191 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23192
cfa1f3e8
DM
231932012-04-25 David S. Miller <davem@davemloft.net>
23194
23195 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
23196 HWCAP_* values only after the memory barriers have been defined.
23197 (atomic_full_barrier): Define.
23198 (atomic_read_barrier): Define.
23199 (atomic_write_barrier): Define.
23200
6e236b92
SP
232012012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23202
23203 * shlib-versions: Add libgcc_s version information.
23204 * sysdeps/generic/libgcc_s.h: Remove.
23205 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
23206 libgcc_s.h.
23207 * sysdeps/gnu/unwind-resume.c: Likewise.
23208 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
23209
aab39a09
DM
232102012-04-25 David S. Miller <davem@davemloft.net>
23211
23212 * sysdeps/unix/sparc/brk.S: Delete.
23213 * sysdeps/unix/sparc/dl-brk.S: Delete.
23214 * sysdeps/unix/sparc/pipe.S: Delete.
23215 * sysdeps/unix/sparc/sysdep.S: Delete.
23216 * sysdeps/unix/sparc/sysdep.h: Delete.
23217 * sysdeps/unix/sparc/vfork.S: Delete.
23218 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
23219 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
23220 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
23221 ret_ERRVAL, r0, r1, MOVE): Define.
23222 (JUMPTARGET): Remove.
23223 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
23224 sysdeps/unix/sparc/sysdep.h
23225 (ENTRY, END): Remove.
23226 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23227
a3cc4f48
JM
232282012-04-25 Joseph Myers <joseph@codesourcery.com>
23229
2ed8cda2
JM
23230 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
23231 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
23232 -DIS_IN_build.
23233
35d76d59
JM
23234 * timezone/README: Update upstream location and email address for
23235 tzcode and tzdata.
23236 * timezone/zdump.c: Update from tzcode 2012b.
23237 * timezone/zic.c: Likewise.
23238
a3cc4f48
JM
23239 * configure.in (libc_cv_as_needed): Remove test.
23240 * configure: Regenerated.
23241 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
23242 conditional definition.
23243 [$(have-as-needed) != yes] (no-as-needed): Likewise.
23244 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
23245 * config.make.in (have-as-needed): Remove variable.
23246
ceab42c3
SP
232472012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23248 Paul Pluzhnikov <ppluzhnikov@google.com>
23249
23250 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
23251 strings correctly.
23252
3ce2865f
CLT
232532012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
23254
23255 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
23256 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
23257 * sysdeps/sh/strlen.S: Likewise.
23258
f37e0d68
JM
232592012-04-24 Joseph Myers <joseph@codesourcery.com>
23260
ae186e9a
JM
23261 * sysdeps/unix/fork.S: Remove file.
23262 * sysdeps/unix/i386/fork.S: Likewise.
23263 * sysdeps/unix/sparc/fork.S: Likewise.
23264
b96914af
JM
23265 * sysdeps/unix/system.c: Remove file.
23266 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
23267
f37e0d68
JM
23268 * sysdeps/unix/getegid.S: Remove file.
23269 * sysdeps/unix/geteuid.S: Likewise.
23270
87ef29ca
RM
232712012-04-24 Roland McGrath <roland@hack.frob.com>
23272
83bcd236
RM
23273 * scripts/check-localplt.awk: New file.
23274 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
23275 of diff.
23276 * scripts/data/localplt-generic.data: Add a comment.
23277
87ef29ca
RM
23278 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
23279 NODE when __dir_mkfile failed.
23280 * sysdeps/mach/hurd/symlinkat.c: Likewise.
23281 Reported by Ludovic Courtès <ludo@gnu.org>.
23282
e5a6e567
AJ
232832012-04-24 Andreas Jaeger <aj@suse.de>
23284
23285 * Makerules (common-clean): Also remove gen-as-const-headers
23286 files.
23287
c1820385
JM
232882012-04-24 Joseph Myers <joseph@codesourcery.com>
23289
23290 * Makerules (native-compile): Do not change working directory for
23291 build. Use $(OUTPUT_OPTION) in command.
23292 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
23293
94e02fc4
AZ
232942012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23295
23296 [BZ #13886]
23297 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
23298 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
23299 * math/libm-test.inc (floor_test): Add more tests.
23300 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
23301
3a533ca3
JM
233022012-04-24 Joseph Myers <joseph@codesourcery.com>
23303
940ab4b3
JM
23304 * sysdeps/unix/getdents.c: Remove file.
23305 * sysdeps/unix/sysv/getdents.c: Likewise.
23306 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
23307
90e037bd
JM
23308 * sysdeps/unix/syscalls.list (madvise): Add syscall from
23309 sysdeps/unix/mman/syscalls.list.
23310 (mmap): Likewise.
23311 (mprotect): Likewise.
23312 (msync): Likewise.
23313 (munmap): Likewise.
23314 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
23315 * sysdeps/unix/mman/syscalls.list: Remove.
23316 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
23317
3a533ca3
JM
23318 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
23319 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
23320 * configure: Regenerated.
23321 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
23322 $(libgcc_s_suffix).
23323 * config.make.in (libgcc_s_suffix): Remove variable.
23324
1ad743de
JM
233252012-04-23 Joseph Myers <joseph@codesourcery.com>
23326
4ad451e2
JM
23327 * sysdeps/unix/sysv/gethostname.c: Move to ...
23328 * sysdeps/posix/gethostname.c: ... here.
23329
5e37ce39
JM
23330 * sysdeps/unix/execve.S: Remove file.
23331
1ad743de
JM
23332 * sysdeps/unix/_exit.S: Remove file.
23333
4e681b5b
AJ
233342012-04-23 Andreas Jaeger <aj@suse.de>
23335
23336 [BZ #13739]
23337 * manual/Makefile: Remove make dist support, there's no
23338 need for a stand-alone documentation tar ball.
23339 (TEXI2DVI): Define always, it's not in Makeconfig.
23340 (dist): Removed.
23341 (tar-it): Removed.
23342 (edition): Removed.
23343 (glibc-doc-$(edition).tar): Removed
23344 (%.Z): Removed.
23345 (%.gz): Removed.
23346 (%.uu): Removed.
23347 (ETAGS): Remove, it's in Makeconfig.
23348 (move-if-change): Remove, it's in Makeconfig.
23349
38686a03 233502012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
23351
23352 [BZ #13970]
23353 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
23354 (strtod, strtof, strtold, strtol, strtoul, strtoq)
23355 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
23356 (strtod_l, strtof_l, strtold_l): Remove __wur.
23357 It is not necessarily an error to ignore strtol's return value.
23358 One can reliably look at the stored endptr to decide whether
23359 the number had valid syntax.
23360
7c0616fa
AJ
233612012-04-21 Andreas Jaeger <aj@suse.de>
23362
803cb6b7 23363 [BZ #13739]
7c0616fa
AJ
23364 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
23365
b0fe253f
JM
233662012-04-21 Joseph Myers <joseph@codesourcery.com>
23367
23368 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
23369 * sysdeps/unix/sysv/Versions: Remove file.
23370
8280f22d
MT
233712012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
23372
23373 [BZ #13927]
23374 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23375
75ce411f 233762012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
23377
23378 [BZ #7064]
23379 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
23380 version from __vm86.
23381
097d59fa
JM
233822012-04-20 Joseph Myers <joseph@codesourcery.com>
23383
a90f3bcb
JM
23384 * sysdeps/unix/common/lxstat.c: Remove file.
23385 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
23386
edc7ea78
JM
23387 * sysdeps/unix/sysv/Makefile: Remove file.
23388
cb78c221
JM
23389 * sysdeps/unix/sysv/direct.h: Remove file.
23390
efa6a45f
JM
23391 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
23392 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
23393 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
23394 * sysdeps/unix/sysv/bits/signum.h: Likewise.
23395 * sysdeps/unix/sysv/bits/stat.h: Likewise.
23396 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
23397 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
23398
9c9f2d0c
JM
23399 * sysdeps/unix/sysv/setrlimit.c: Remove file.
23400
4541c83b
JM
23401 * sysdeps/unix/xmknod.c: Remove file.
23402 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
23403
f5d153a0
JM
23404 * sysdeps/unix/sysv/settimeofday.c: Remove file.
23405
aa746595
JM
23406 * sysdeps/unix/sysv/i386/time.S: Remove file.
23407
cce5905e
JM
23408 * sysdeps/unix/fxstat.c: Remove file.
23409 * sysdeps/unix/xstat.c: Likewise.
23410 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
23411
37fa3841
JM
23412 * sysdeps/unix/sysv/sigaction.c: Remove file.
23413
ff1962a3
JM
23414 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
23415 (sysdep_headers): Remove variable.
23416 [termio.h not in sysdep_headers] (generated): Likewise.
23417 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
23418 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
23419 * sysdeps/unix/sysv/tcdrain.c: Likewise.
23420 * sysdeps/unix/sysv/tcflow.c: Likewise.
23421 * sysdeps/unix/sysv/tcflush.c: Likewise.
23422 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
23423 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
23424 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
23425 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
23426 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
23427
e7740d31
JM
23428 * sysdeps/unix/siglist.c: Remove file.
23429
ee06f18b
JM
23430 * sysdeps/unix/getppid.S: Remove file.
23431
097d59fa
JM
23432 * sysdeps/unix/mkdir.c: Remove file.
23433 * sysdeps/unix/rmdir.c: Likewise.
23434
ff3d51ec
AS
234352012-04-19 Andreas Schwab <schwab@linux-m68k.org>
23436
23437 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
23438 ERR_MAX value.
23439 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
23440 errlist-compat value.
23441
50f81fd7
DM
234422012-04-18 David S. Miller <davem@davemloft.net>
23443
23444 * sysdeps/generic/memcopy.h (reg_char): Delete.
23445 * debug/strcat_chk.c: Use char, not reg_char.
23446 * debug/strcpy_chk.c: Likewise.
23447 * debug/strncat_chk.c: Likewise.
23448 * debug/strncpy_chk.c: Likewise.
23449 * string/memchr.c: Likewise.
23450 * string/memrchr.c: Likewise.
23451 * string/rawmemchr.c: Likewise.
23452 * string/strcat.c: Likewise.
23453 * string/strchr.c: Likewise.
23454 * string/strchrnul.c: Likewise.
23455 * string/strcmp.c: Likewise.
23456 * string/strcpy.c: Likewise.
23457 * string/strncat.c: Likewise.
23458 * string/strncmp.c: Likewise.
23459 * string/strncpy.c: Likewise.
23460
8ff41c46
WS
234612012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23462
23463 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
23464 __builtin_memcopy is called when src and dest ranges are known to not
23465 overlap.
23466
6b652f46
WS
234672012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23468
23469 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
23470 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
23471 fwd_align_merge macro call.
23472 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
23473 bwd_align_merge macro call.
23474 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23475
b282631e
WS
234762012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23477
23478 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
23479 bwd_align_merge macros.
23480 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
23481 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
23482 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23483
95aa737c
DM
234842012-04-18 David S. Miller <davem@davemloft.net>
23485
23486 * sysdeps/sparc/sparc64/memcopy.h: Delete.
23487
7a99a614
AJ
234882012-04-18 Andreas Jaeger <aj@suse.de>
23489
23490 [BZ# 6794]
23491 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
23492 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
23493 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23494
23495 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
23496 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
23497 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23498
23499 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
23500 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
23501 Adjust for changed ldbl-128 files.
23502
23503 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
23504 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
23505 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23506
e5270c23
DM
235072012-04-17 David S. Miller <davem@davemloft.net>
23508
23509 * sysdeps/sparc/sparc32/memcopy.h: Delete.
23510
fb5e92c9
AS
235112012-04-17 Andreas Schwab <schwab@linux-m68k.org>
23512
23513 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
23514 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
23515 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
23516 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
23517 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23518 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
23519
76da7265
AZ
235202012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23521
23522 [BZ #6794]
23523 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
23524 * math/libm-test.inc: Add ilogb errno and exception tests.
23525 * math/w_ilogb.c: New file: ilogb wrapper.
23526 * math/w_ilogbf.c: New file: ilogbf wrapper.
23527 * math/w_ilogbl.c: New file: ilogbl wrapper.
23528 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
23529 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
23530 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
23531 exception being thrown with 0.0 as argument.
23532 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
23533 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
23534 exception being thrown with 0.0 as argument.
23535 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
23536 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23537 exception being thrown with 0.0 as argument.
23538 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
23539 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23540 exception being thrown with 0.0 as argument.
23541 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
23542 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 23543 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
23544 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
23545 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
23546 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
23547 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
23548 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
23549 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
23550
0396e69d
PB
235512012-04-17 Petr Baudis <pasky@ucw.cz>
23552
23553 * include/sys/uio.h: Change __vector to __iovec to avoid clash
23554 with altivec.
23555
750b5926
MP
235562012-04-16 Marek Polacek <polacek@redhat.com>
23557
23558 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
23559
751728a1
MP
235602012-04-16 Marek Polacek <polacek@redhat.com>
23561
23562 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
23563 operands of fdivp instruction.
23564
34a27407
L
235652012-04-13 H.J. Lu <hongjiu.lu@intel.com>
23566
23567 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
23568 * elf/tst-auditmod3b.c: Likewise.
23569 * elf/tst-auditmod4b.c: Likewise.
23570 * elf/tst-auditmod5b.c: Likewise.
23571 * elf/tst-auditmod6b.c: Likewise.
23572 * elf/tst-auditmod6c.c: Likewise.
23573 * elf/tst-auditmod7b.c: Likewise.
23574 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
23575 * sysdeps/x86_64/preconfigure.in: Likewise.
23576 * sysdeps/x86_64/preconfigure: Regenerated.
23577
7e73e17d
L
235782012-04-13 H.J. Lu <hongjiu.lu@intel.com>
23579
23580 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
23581 __ILP32__.
23582
c7a6ab72
AB
235832012-04-13 Antoine Balestrat <merkil33@gmail.com>
23584
23585 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23586 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
23587
a9e8e0e0
CL
235882012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
23589
23590 [BZ #13973]
23591 * locale/iso-639.def: Fix gl language name. Spotted by
23592 Yaron Shahrabani.
23593
ec98af7d
RM
235942012-04-12 Roland McGrath <roland@hack.frob.com>
23595
23596 [BZ #2074]
23597 * libio/libio.h (__io_write_fn): Update comment.
23598
247c3ede
PB
235992012-04-12 Petr Baudis <pasky@ucw.cz>
23600
23601 [BZ #2074]
23602 * stdio.texi (Hook Functions): The user provided writer function
23603 is not allowed to return -1.
23604
55939d6d
DM
236052012-04-11 David S. Miller <davem@davemloft.net>
23606
23607 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23608
90020f5a
MF
236092012-04-11 Mike Frysinger <vapier@gentoo.org>
23610
23611 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
23612 Add a leading slash to rtkaio.
23613
288f9098
JM
236142012-04-11 Jim Meyering <meyering@redhat.com>
23615
90020f5a
MF
23616 [BZ #11959]
23617 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
23618 It is not necessarily an error to ignore fwrite's return
23619 value. One can reliably use ferror to test for errors after
23620 the fact.
288f9098 23621
4be2b570
L
236222012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23623
23624 * bits/types.h (__snseconds_t): New type.
23625 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
23626
23627 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
23628 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23629 (__SNSECONDS_T_TYPE): Likewise.
23630 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23631 (__SNSECONDS_T_TYPE): Likewise.
23632 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23633 (__SNSECONDS_T_TYPE): Likewise.
23634
288f9098 236352012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
23636
23637 [BZ #2636]
23638 * manual/time.texi (Processor Time): Return type of times is
23639 elapsed real time since an arbitrary point in the past.
23640 (CPU Time): Move CLK_TCK from here...
23641 (Processor Time): ...to here. Correct description.
23642 * manual/conf.texi (Constants for Sysconf): Correct description of
23643 _SC_CLK_TCK.
23644
d7dd4413
DM
236452012-04-10 David S. Miller <davem@davemloft.net>
23646
23647 [BZ #13967]
23648 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
23649 where the is a gap between DT_REL(A) and DT_JMPREL.
23650
b46068fc
L
236512012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23652
23653 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
23654 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23655 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23656
73d65cc3
SP
236572012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23658
23659 * elf/dl-support.c (_dl_inhibit_cache): New variable.
23660 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
23661 (dl_main): Handle --inhibit-cache.
23662 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
23663 _dl_inhibit_cache.
23664 * elf/dl-load.c (_dl_map_object): Use it.
23665 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
23666
bcc8d661
JM
236672012-04-09 Joseph Myers <joseph@codesourcery.com>
23668
8f9a2fae
JM
23669 [BZ #13872]
23670 * sysdeps/i386/fpu/e_powl.S (p78): New object.
23671 (__ieee754_powl): Saturate large exponents rather than testing for
23672 overflow of y*log2(x).
23673 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23674 * math/libm-test.inc (pow_test): Do not permit spurious overflow
23675 exceptions.
23676
bcc8d661
JM
23677 [BZ #11521]
23678 * math/s_ctan.c: Include <float.h>.
23679 (__ctan): Avoid internal overflow or cancellation in calculating
23680 denominator.
23681 * math/s_ctanf.c: Likewise.
23682 * math/s_ctanl.c: Likewise.
23683 * math/s_ctanh.c: Likewise.
23684 * math/s_ctanhf.c: Likewise.
23685 * math/s_ctanhl.c: Likewise.
23686 * math/libm-test.inc (ctan_test): Add more tests.
23687 (ctanh_test): Likewise.
23688 * sysdeps/i386/fpu/libm-test-ulps: Update.
23689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23690
823fbbb4
AJ
236912012-04-09 Andreas Jaeger <aj@suse.de>
23692
03879793
AJ
23693 [BZ #6894]
23694 * manual/filesys.texi (Directory Entries): Mention that d_namlen
23695 is an optional BSD extension.
23696
823fbbb4
AJ
23697 [BZ #10254]
23698 * manual/stdio.texi (Opening Streams): Document additional fopen
23699 parameters.
23700
8de131cb
RM
237012012-04-09 Roland McGrath <roland@hack.frob.com>
23702
23703 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
23704 %eax without telling the compiler.
23705
c0ed9d7d
CD
237062012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
23707
23708 [BZ # 13963]
23709 * manual/install.texi: Use sourceware.org.
23710
c483f6b4
JM
237112012-04-09 Joseph Myers <joseph@codesourcery.com>
23712
d7dd9453
JM
23713 [BZ #13873]
23714 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
23715 (__ieee754_pow): Generate overflow and underflow using huge*huge
23716 and tiny*tiny rather than just returning constant infinity or zero
23717 for large exponents.
23718 * math/libm-test.inc (pow_test): Require overflow exceptions for
23719 applicable cases of large exponents.
23720
c483f6b4
JM
23721 [BZ #706]
23722 * sysdeps/i386/fpu/e_pow.S (p10): New object.
23723 (__ieee754_pow): Use iterative multiplication algorithm only for
23724 integer exponents with absolute value below 1024. Check for odd
23725 integer exponents when using algorithm for real exponents.
23726 * math/libm-test.inc (pow_test): Add more tests.
23727 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23728
d2de7579
JM
237292012-04-08 Joseph Myers <joseph@codesourcery.com>
23730
23731 [BZ #13705]
23732 * math/libm-test.inc (exp_test): Do not allow overflow exception
23733 on underflow test.
23734
f77f1232
AJ
237352012-04-08 Aurelien Jarno <aurelien@aurel32.net>
23736
23737 [BZ #13705]
23738 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
23739 instead of __kernel_standard_f.
23740
3884932b
MF
237412012-04-08 Mike Frysinger <vapier@gentoo.org>
23742
23743 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
23744 * sysdeps/x86_64/memset_chk.S: Likewise.
23745
54472e9c
AJ
237462012-04-08 Andreas Jaeger <aj@suse.de>
23747
6ab0fbfc
AJ
23748 [BZ #10153]
23749 * manual/startup.texi (Environment Access): Describe return value
23750 for putenv and setenv.
23751
61efba8c
AJ
23752 [BZ #6895]
23753 * manual/filesys.texi (Directory Entries): Add description for
23754 DT_LNK.
23755
95c3f29a
AJ
23756 [BZ #6890]
23757 * manual/filesys.texi (Directory Entries): Clarify that it's file
23758 system not operating system in the description of DT_UNKNOWN.
23759
54472e9c
AJ
23760 [BZ #6578]
23761 * manual/syslog.texi (closelog): Fix reference, it's openlog.
23762
624254b1
SC
237632012-04-08 Stephen Compall <s11@member.fsf.org>
23764
23765 [BZ #6649]
23766 * manual/llio.texi (Opening and Closing Files): Add cross
23767 reference to explain mode argument.
23768
1e4920e0
MF
237692012-04-07 Mike Frysinger <vapier@gentoo.org>
23770
23771 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
23772 * sysdeps/x86_64/memset_chk.S: Likewise.
23773
5ed848f3
DM
237742012-04-07 David S. Miller <davem@davemloft.net>
23775
23776 * elf/elf.h (R_SPARC_WDISP10): Define.
23777 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
23778 R_SPARC_SIZE32.
23779 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
23780 R_SPARC_SIZE64 and R_SPARC_H34.
23781
96154cd8
CD
237822012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
23783
23784 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
23785 conditions and remove no longer applicable assertion.
23786
9904dc47
L
237872012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23788
23789 * bits/byteswap.h: Include <features.h>.
23790 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23791 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23792
f8887d0a
L
237932012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23794
23795 * bits/byteswap.h (__bswap_16): Removed.
23796 Include <bits/byteswap-16.h> to get __bswap_16.
23797 * sysdeps/i386/bits/byteswap.h: Likewise.
23798 * sysdeps/s390/bits/byteswap.h: Likewise.
23799 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23800 * bits/byteswap-16.h: New file.
23801 * sysdeps/i386/bits/byteswap-16.h: Likewise.
23802 * sysdeps/s390/bits/byteswap-16.h: Likewise.
23803 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
23804 * string/Makefile (headers): Add bits/byteswap-16.h.
23805
62470f60
PP
238062012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23807
23808 [BZ #13895]
23809 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
23810 extra indirection.
23811 * nss/Makefile (tests-static, tests): Add tst-nss-static.
23812 * nss/tst-nss-static.c: New.
23813
4dad7bab
RM
238142012-04-06 Robert Millan <rmh@gnu.org>
23815
23816 [BZ #6486]
23817 * manual/llio.texi (File Position Primitive): lseek
23818 refers to WHENCE when it really means OFFSET.
23819
e9142a17
AJ
238202012-04-06 Andreas Jaeger <aj@suse.de>
23821
2c040eff
AJ
23822 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
23823 strncmp declarations.
23824
e9142a17
AJ
23825 * abilist/libc.abilist: Add __poll and __ppoll.
23826
ff9f1c5f
DM
238272012-04-05 David S. Miller <davem@davemloft.net>
23828
dcd2ae90
DM
23829 * scripts/check-local-headers.sh: Accept a host triplet in the
23830 path matched by the exclude regexp.
23831
993eb054
DM
23832 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
23833 definition.
23834 * sysdeps/powerpc/powerpc32/dl-machine.h
23835 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
23836 * sysdeps/s390/s390-32/dl-machine.h
23837 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23838 * sysdeps/sparc/sparc32/dl-machine.h
23839 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23840 * sysdeps/sparc/sparc64/dl-machine.h
23841 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23842
ff9f1c5f
DM
23843 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
23844 lazy binding.
48e2e132 23845 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
23846 undefined symbol errors.
23847
48e2e132 23848 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
23849 DT_NEEDED entries.
23850
e80d6f94
MM
238512012-04-05 Michael Matz <matz@suse.de>
23852
23853 [BZ #13592]
23854 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
23855
349fa79f
AJ
238562012-04-05 Andreas Jaeger <aj@suse.de>
23857
23858 [BZ #13908]
23859 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
23860 comment.
23861
f402708f
KK
238622012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23863
23864 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
23865 which ROUND is no valid rounding mode.
23866
2ecccfc9
KK
238672012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23868
23869 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
23870 read again.
23871 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
23872
8a53f50f
KK
238732012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23874
23875 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
23876 an exception using FPU order intentionally.
23877
238782012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23879
23880 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
23881 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
23882 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
23883 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
23884
d653abb7
SJ
238852012-04-05 Simon Josefsson <simon@josefsson.org>
23886
23887 [BZ #12340]
23888 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
23889 EINVAL when BUFLEN is too smal.
23890
c3b1bf7d
TS
238912012-04-05 Thomas Schwinge <thomas@codesourcery.com>
23892
23893 [BZ #13553]
23894 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
23895 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
23896
b1aa60f3
AJ
238972012-04-03 Andreas Jaeger <aj@suse.de>
23898
c3b1bf7d 23899 [BZ #13938]
67f60a26
AJ
23900 * manual/setjmp.texi (System V contexts): Fix sentence.
23901
b1aa60f3
AJ
23902 [BZ #13926]
23903 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
23904 New macro for this case.
23905 [!__GNUC__] (__bswap_64): New inline function for this case.
23906 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23907 * bits/byteswap.h: Likewise.
23908 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
23909 ull, guard with __GLIBC_HAVE_LONG_LONG.
23910
23911 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
23912 __GLIBC_HAVE_LONG_LONG.
23913
23914 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
23915 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
23916
39c59c35
TMQMF
239172012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23918
23919 [BZ #13691]
23920 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
23921 inptr and inend, rather than using last_ch.
23922
135ffda8
DM
239232012-04-02 David S. Miller <davem@davemloft.net>
23924
23925 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
23926 * stdio-common/printf-parse.h (read_int): Change return type to
23927 'int', return -1 on INT_MAX overflow.
23928 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
23929 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
23930 overflows INT_MAX. Check for overflow of in-format-string precision
23931 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
23932 SIZE_MAX not INT_MAX for integer overflow test.
23933 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
23934 skip the construct in the format string but do not record anything.
23935 * stdio-common/bug22.c: Adjust to test both width/prevision
23936 INT_MAX overflow as well as total length INT_MAX overflow. Check
23937 explicitly for proper errno values.
23938
228c019e
TS
239392012-04-02 Thomas Schwinge <thomas@codesourcery.com>
23940
302cadd3
TS
23941 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
23942 CHAR_MAX.
23943 * string/test-strcmp.c [! WIDE]: Likewise.
23944 * time/tst-mktime2.c: Likewise for INT_MAX.
23945 * string/test-string.h: #include <sys/param.h> for MIN.
23946
228c019e
TS
23947 * csu/init-first.c (__libc_init_first): Call __ctype_init.
23948 * sysdeps/i386/init-first.c (init): Likewise.
23949 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
23950 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
23951 * sysdeps/sh/init-first.c (init): Likewise.
23952
cfa633f5
UD
239532012-04-01 Ulrich Drepper <drepper@gmail.com>
23954
23955 * po/ru.po: Update from translation team.
d1635ef8 23956 * po/vi.po: Likewise.
cfa633f5 23957
6cd0a5ea
SP
239582012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23959
23960 * resolv/nss_dns/dns-host.c: Merge copyright years.
23961
4b43400f
LD
239622012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23963
23964 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
23965 Optimize memcpy with prefetch if
23966 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
23967 src, dst pointers have unequal 16 byte alignments.
23968
48c41d04
SP
239692012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23970
23971 [BZ #13928]
23972 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
23973 from a CNAME entry and return the minimum ttl for the query.
23974 (gaih_getanswer_slice): Likewise.
23975
b8dc394d
JL
239762012-03-30 Jeff Law <law@redhat.com>
23977
23978 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
23979 due to long keys.
23980 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
23981 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
23982
2f5a5ed0
JL
23983 * resolv/nss_dns/dns-host.c: Update copyright year.
23984
1d39e359
UD
239852012-03-30 Ulrich Drepper <drepper@gmail.com>
23986
c030f70c 23987 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 23988 requests to save a system call. Fix check that all bytes are sent.
c030f70c 23989
1d39e359
UD
23990 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
23991 comments for sendmmsg.
23992
239932012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
23994
23995 [BZ #13691]
23996 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
23997 with only 1 character between 0x0041 and 0x01b0.
23998 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
23999 * wcsmbs/tst-mbsnrtowcs.c: New file.
24000
20fde227
DM
240012012-03-29 David S. Miller <davem@davemloft.net>
24002
24003 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
24004 small copies by hand.
24005
984a4237
JL
240062012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24007
24008 [BZ #13761]
24009 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
24010 _nss_compat_initgroups_dyn): Fall back to malloc/free
24011 for large group memberships.
24012
18c9d62b
DM
240132012-03-28 David S. Miller <davem@davemloft.net>
24014
88d85d4f
DM
24015 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
24016 that branches into memcpy.
24017 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24018 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
24019 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24020 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
24021 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
24022 bits.
24023 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
24024 implementation too.
24025 * sysdeps/sparc/mempcpy.S: New file.
24026
e5aa83e1
DM
24027 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
24028 the IFUNC routine in the libc case.
24029 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24030
88570753
DM
24031 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
24032 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
24033 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
24034 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
24035 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
24036 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
24037 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
24038 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
24039
249d7567
DM
24040 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
24041 loop to 256 bytes instead of 64 bytes and fix test signedness.
24042
18c9d62b
DM
24043 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
24044 * sysdeps/sparc/sparc32/Makefile: rather than here...
24045 * sysdeps/sparc/sparc64/Makefile: and here.
24046
05f3d1f6
UD
240472012-03-28 Ulrich Drepper <drepper@gmail.com>
24048
24049 * malloc/mallocbug.c: Avoid warnings about unused variables.
24050
86ae07a8
JL
240512012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24052
24053 [BZ #13760]
24054 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
24055 in the right place. Discard and retry query if response is
24056 larger than input buffer size.
24057
41bf21a1
JM
240582012-03-28 Joseph Myers <joseph@codesourcery.com>
24059
d6270972
JM
24060 [BZ #369]
24061 [BZ #2678]
24062 [BZ #3866]
24063 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
24064 x for large integer exponent.
24065 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
24066 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
24067 sign of result as needed afterwards.
24068 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
24069 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
24070 result for underflowing pow the same as for overflow.
24071 (__kernel_standard_l): Handle powl overflow and underflow here
24072 rather than calling __kernel_standard.
24073 * math/libm-test.inc (pow_test): Add more tests.
24074
414fca03 24075 [BZ #3868]
41bf21a1
JM
24076 [BZ #13879]
24077 [BZ #13910]
24078 [BZ #13911]
24079 [BZ #13912]
24080 [BZ #13913]
24081 [BZ #13915]
24082 [BZ #13916]
24083 [BZ #13917]
24084 [BZ #13918]
24085 [BZ #13919]
24086 [BZ #13920]
24087 [BZ #13921]
24088 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
24089 * sysdeps/ieee754/k_standard.c: Include <float.h>.
24090 (__kernel_standard_l): New function.
24091 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
24092 __kernel_standard.
24093 * math/w_acosl.c (__acosl): Likewise.
24094 * math/w_asinl.c (__asinl): Likewise.
24095 * math/w_atan2l.c (__atan2l): Likewise.
24096 * math/w_atanhl.c (__atanhl): Likewise.
24097 * math/w_coshl.c (__coshl): Likewise.
24098 * math/w_exp10l.c (__exp10l): Likewise.
24099 * math/w_exp2l.c (__exp2l): Likewise.
24100 * math/w_fmodl.c (__fmodl): Likewise.
24101 * math/w_hypotl.c (__hypotl): Likewise.
24102 * math/w_j0l.c (__j0l, __y0l): Likewise.
24103 * math/w_j1l.c (__j1l, __y1l): Likewise.
24104 * math/w_jnl.c (__jnl, __ynl): Likewise.
24105 * math/w_lgammal.c (__lgammal): Likewise.
24106 * math/w_log10l.c (__log10l): Likewise.
24107 * math/w_log2l.c (__log2l): Likewise.
24108 * math/w_logl.c (__logl): Likewise.
24109 * math/w_powl.c (__powl): Likewise.
24110 * math/w_remainderl.c (__remainderl): Likewise.
24111 * math/w_scalbl.c (sysv_scalbl): Likewise.
24112 * math/w_sinhl.c (__sinhl): Likewise.
24113 * math/w_sqrtl.c (__sqrtl): Likewise.
24114 * math/w_tgammal.c (__tgammal): Likewise.
24115 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
24116 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
24117 * math/libm-test.inc (acos_test): Add more tests.
24118 (acosh_test): Likewise.
24119 (asin_test): Likewise.
24120 (atanh_test): Likewise.
24121 (exp_test): Likewise.
24122 (exp10_test): Likewise.
24123 (exp2_test): Likewise.
24124 (expm1_test): Likewise.
24125 (lgamma_test): Likewise.
24126 (log_test): Likewise.
24127 (log10_test): Likewise.
24128 (log1p_test): Likewise.
24129 (log2_test): Likewise.
24130 (pow_test): Do not allow some spurious overflow exceptions.
24131 (sqrt_test): Add more tests.
24132 (tgamma_test): Likewise.
24133 (y0_test): Likewise.
24134 (y1_test): Likewise.
24135 (yn_test): Likewise.
24136
dd62fda6
AB
241372012-03-27 Anton Blanchard <anton@samba.org>
24138
24139 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
24140 MAP_HUGETLB.
24141 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24142 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24143 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24144
1e3cdfda
AJ
241452012-03-27 David S. Miller <davem@davemloft.net>
24146
b855ab85
DM
24147 * conform/Makefile: Run run-conformtest.sh using $(BASH).
24148
1e3cdfda
AJ
24149 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
24150 have-as-vis3 check.
24151
241522012-03-27 Andreas Jaeger <aj@suse.de>
24153
24154 * sysdeps/x86_64/elf/configure.in: Moved to ...
24155 * sysdeps/x86_64/configure.in: ... here.
24156 * sysdeps/x86_64/elf/start.S: Moved to ...
24157 * sysdeps/x86_64/start.S: ... here.
24158 * sysdeps/x86_64/elf/configure: Delete.
24159
24160 * sysdeps/x86_64/configure.in: Merge contents from
24161 sysdeps/i386/configure.in (without i686 check).
24162
24163 * sysdeps/i386/elf/Versions: Merge into ...
24164 * sysdeps/i386/Versions: ... this.
24165 * sysdeps/i386/elf/Versions: Delete file.
24166 * sysdeps/i386/elf/start.S: Moved to ...
24167 * sysdeps/i386/start.S: ...here.
24168 * sysdeps/i386/elf/configure.in: Merge into...
24169 * sysdeps/i386/configure.in: ...here.
24170 * sysdeps/i386/elf/configure.in: Delete file.
24171 * sysdeps/i386/elf/configure: Delete file.
24172
24173 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
24174 * debug/backtracesyms.c: ... here.
24175 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
24176 * debug/backtracesymsfd.c: ... here.
24177 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
24178 * sysdeps/generic/ifunc-sel.h: ... here.
24179
24180 * sysdeps/unix/i386/start.c: Delete file.
24181 * sysdeps/unix/sparc/start.c: Delete file.
24182 * sysdeps/unix/start.c: Delete file.
24183
24184 * sysdeps/sh/elf/configure.in: Moved to ...
24185 * sysdeps/sh/configure.in: ... here.
24186 * sysdeps/sh/elf/start.S: Moved to ...
24187 * sysdeps/sh/start.S: ... here.
24188 * sysdeps/sh/elf/configure: Delete file.
24189
24190 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
24191 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
24192 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
24193 * sysdeps/powerpc/powerpc64/entry.h: ... here.
24194 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
24195 * sysdeps/powerpc/powerpc64/start.S: here.
24196 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
24197 * sysdeps/powerpc/powerpc64/Makefile: ... this.
24198 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
24199 * sysdeps/powerpc/powerpc64/configure.in: ... this.
24200 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
24201
24202 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
24203 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
24204 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
24205 * sysdeps/powerpc/powerpc32/start.S: ... here.
24206 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
24207 * sysdeps/powerpc/powerpc32/configure.in: ... this.
24208 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
24209
24210 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
24211 * sysdeps/powerpc/ifunc-sel.h: ... here.
24212 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
24213 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
24214
24215 * sysdeps/sparc/elf/configure.in: Moved to ...
24216 * sysdeps/sparc/configure.in: ... here.
24217 * sysdeps/sparc/elf/configure: Delete file.
24218 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
24219 * sysdeps/sparc/sparc32/start.S: ... here.
24220 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
24221 * sysdeps/sparc/sparc64/start.S: ... here.
24222 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
24223 * sysdeps/sparc/sparc32/Makefile: ... this.
24224 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
24225 * sysdeps/sparc/sparc64/Makefile: ... this.
24226
24227 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
24228 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
24229 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
24230 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
24231 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
24232 * sysdeps/s390/s390-32/setjmp.S: ... here.
24233 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
24234 * sysdeps/s390/s390-32/configure.in: ... here.
24235 * sysdeps/s390/s390-32/elf/configure: Delete file.
24236 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
24237 * sysdeps/s390/s390-32/start.S: ... here.
24238
24239 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
24240 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
24241 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
24242 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
24243 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
24244 * sysdeps/s390/s390-64/setjmp.S: ... here.
24245 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
24246 * sysdeps/s390/s390-64/configure.in: ... here
24247 * sysdeps/s390/s390-64/elf/configure: Delete file.
24248 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
24249 * sysdeps/s390/s390-64/start.S: ... here.
24250 * sysdeps/s390/s390-64/elf/configure: Delete.
24251
24252 * configure.in: Remove support for elf directories in sysdeps.
24253
24254 * configure: Regenerated.
24255 * sysdeps/i386/configure: Regenerated.
24256 * sysdeps/powerpc/powerpc32/configure: Regenerated.
24257 * sysdeps/powerpc/powerpc64/configure: Regenerated.
24258 * sysdeps/s390/s390-32/configure: Regenerated.
24259 * sysdeps/s390/s390-64/configure: Regenerated.
24260 * sysdeps/sh/configure: Regenerated.
24261 * sysdeps/sparc/configure: Regenerated.
24262 * sysdeps/x86_64/configure: Regenerated.
24263
a3f61311
AS
242642012-03-26 Andreas Schwab <schwab@linux-m68k.org>
24265
c876e002
AS
24266 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24267
a3f61311
AS
24268 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
24269 denormal result into account.
24270
ac4c54f0
RM
242712012-03-25 Roland McGrath <roland@hack.frob.com>
24272
24273 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
24274 Reported by Allan McRae <allan@archlinux.org>.
24275
6a9b9c02
JL
242762012-03-23 Jeff Law <law@redhat.com>
24277
24278 * nss/getnssent.c (__nss_getent): Fix typo.
24279
4c42a0c1
DM
242802012-03-23 David S. Miller <davem@davemloft.net>
24281
24282 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24283
1532c7ac
L
242842012-03-23 H.J. Lu <hongjiu.lu@intel.com>
24285
24286 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
24287 to pad to uint64_t for each field.
24288 (dl_tls_index): Replace unsigned long with uint64_t.
24289
3ff42526
PP
242902012-03-23 Daniel Jacobowitz <dmj@google.com>
24291 Paul Pluzhnikov <ppluzhnikov@google.com>
24292
24293 [BZ #6528]
24294 * grp/Makefile (otherlibs): Don't set it.
24295 * inet/Makefile (otherlibs): Likewise.
24296 * login/Makefile (otherlibs): Likewise.
24297 * nscd/Makefile (otherlibs): Likewise.
24298 * posix/Makefile (otherlibs): Likewise.
24299 * pwd/Makefile (otherlibs): Likewise.
24300 * rt/Makefile (otherlibs): Likewise.
24301 * sunrpc/Makefile (otherlibs): Likewise.
24302 * nss/Makefile (otherlibs): Likewise.
24303 Add libnss_files to routines and static-only-routines.
24304 ($(objpfx)getent): Remove rule.
24305 * resolv/Makefile: Add libnss_dns and libresolv to routines and
24306 static-only-routines.
24307
7c69cd14
JM
243082012-03-22 Joseph Myers <joseph@codesourcery.com>
24309
24310 [BZ #13892]
24311 * math/s_cexp.c: Include <float.h>.
24312 (__cexp): Handle exp result overflowing not necessarily
24313 overflowing both real and imaginary parts of result.
24314 * math/s_cexpf.c: Likewise.
24315 * math/s_cexpl.c: Likewise.
24316 * math/libm-test.inc (cexp_test): Add more tests.
24317 * sysdeps/i386/fpu/libm-test-ulps: Update.
24318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24319
81b035fe
L
243202012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24321
24322 * include/link.h (ELFW): New macro.
24323 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
24324 Replace ELF64_R_TYPE with ELFW(R_TYPE).
24325
1da7940c
L
243262012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24327
24328 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
24329 with uint64_t.
24330
b749dbb9
L
243312012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24332
24333 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
24334 declaration.
24335 (struct La_x32_retval): Likewise.
24336
2ff87f3f
L
243372012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24338
24339 * sysdeps/x86_64/preconfigure.in: New file.
24340 * sysdeps/x86_64/preconfigure: New generated file.
24341
c0df8e69
JM
243422012-03-22 Joseph Myers <joseph@codesourcery.com>
24343
48e44791
JM
24344 [BZ #13824]
24345 * math/e_exp2l.c: Include <float.h>.
24346 (__ieee754_exp2l): Handle overflow and underflow cases
24347 separately. Only pass fractional part of argument to
24348 __ieee754_expl.
24349 * math/libm-test.inc (exp2_test): Add more tests.
24350
c0df8e69
JM
24351 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
24352 negating x to take absolute value.
24353 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
24354 Likewise.
24355 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24356 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
24357 Likewise.
24358 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
24359 computing low part if x was negated.
24360 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24361
c8e43ba7
L
243622012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24363
24364 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
24365 la_x32_gnu_pltexit.
24366 (pltexit): Cast int_retval to ptrdiff_t.
24367 * elf/tst-auditmod3b.c: Likewise.
24368 * elf/tst-auditmod4b.c: Likewise.
24369 * elf/tst-auditmod5b.c: Likewise.
24370 * elf/tst-auditmod6b.c: Likewise.
24371 * elf/tst-auditmod6c.c: Likewise.
24372 * elf/tst-auditmod7b.c: Likewise.
24373
24374 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
24375 and x32_gnu_pltexit.
24376
24377 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
24378 __ELF_NATIVE_CLASS.
24379 (La_x32_regs): New macro.
24380 (La_x32_retval): Likewise.
24381 (la_x32_gnu_pltenter): New function prototype.
24382 (la_x32_gnu_pltexit): Likewise.
24383
7998fa78
AS
243842012-03-21 Andreas Schwab <schwab@linux-m68k.org>
24385
dcb33988
AS
24386 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
24387 exponent.
24388
233fc563
AS
24389 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24390
7998fa78
AS
24391 * configure.in (libc_cv_cc_nofma): Check for option to disable
24392 generation of FMA instructions.
24393 * configure: Regenerate.
24394 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
24395 * sysdeps/ieee754/dbl-64/Makefile: New file.
24396 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24397 Remove brandred-fma4.
24398 (CFLAGS-brandred-fma4.c): Remove.
24399 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
24400 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
24401 define.
24402 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
24403 define.
24404
8e95c99a
L
244052012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24406
24407 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24408 LLONG_MAX != LONG_MAX.
24409 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24410 (_fitoa_word): Likewise.
24411 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
24412 LLONG_MAX != LONG_MAX.
24413 * stdio-common/_itowa.h: Include <_itoa.h>.
24414 (_itowa_word): Use _ITOA_WORD_TYPE on value.
24415 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
24416 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
24417 only if not defined.
24418 (_ITOA_WORD_TYPE): Likewise.
24419 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24420 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
24421
6f4db457
DM
244222012-03-21 David S. Miller <davem@davemloft.net>
24423
24424 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24425
7785fe5a
L
244262012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24427
24428 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
24429 of x86_64 when setting libc_cv_slibdir, libdir and
24430 libc_cv_localedir.
24431 * sysdeps/unix/sysv/linux/configure: Regenerated.
24432
4535cd55
JM
244332012-03-21 Joseph Myers <joseph@codesourcery.com>
24434
24435 * manual/lang.texi (Old Varargs): Remove section.
24436 (How Variadic): Update menu.
24437 (va_start): Do not mention varargs.h.
24438
17228132
TS
244392012-03-21 Thomas Schwinge <thomas@codesourcery.com>
24440 Joseph Myers <joseph@codesourcery.com>
24441
24442 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
24443 link test.
24444 * configure: Regenerated.
24445
8149f976
TS
244462012-03-21 Thomas Schwinge <thomas@codesourcery.com>
24447
05f3d1f6
UD
24448 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
24449 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
24450 conformtest.pl
8149f976 24451
1a4ac776
JM
244522012-03-21 Joseph Myers <joseph@codesourcery.com>
24453
be22ce65
JM
24454 * NOTES: Remove.
24455 * Makefile (files-for-dist): Remove NOTES.
24456 (NOTES): Remove rule.
24457 * README: Don't refer to NOTES.
24458 * manual/creature.texi: Don't include macros.texi.
24459 * manual/intro.texi (creature.texi): Remove comment referring to
24460 NOTES.
24461
40b601fb
JM
24462 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
24463 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
24464 * configure: Regenerated.
24465 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
24466 LIBC_TRY_CC_OPTION.
24467 (libc_cv_as_i686): Likewise.
24468 (libc_cv_cc_avx): Likewise.
24469 (libc_cv_cc_sse2avx): Likewise.
24470 (libc_cv_cc_fma4): Likewise.
24471 (libc_cv_cc_novzeroupper): Likewise.
24472 * sysdeps/i386/configure: Regenerated.
24473
1a4ac776
JM
24474 [BZ #13883]
24475 * sysdeps/i386/fpu/s_cexp.S: Remove.
24476 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24477 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24478 * math/libm-test.inc (cexp_test): Add more tests.
24479 * sysdeps/i386/fpu/libm-test-ulps: Update.
24480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24481
a458e7fe
AM
244822012-03-21 Allan McRae <allan@archlinux.org>
24483
24484 * timezone/Makefile: Do not install iso3166.tab and zone.tab
24485
0cb7efc5
JM
244862012-03-21 Joseph Myers <joseph@codesourcery.com>
24487
24488 [BZ #13871]
24489 * math/w_exp2.c: Do not include <float.h>.
24490 (o_threshold, u_threshold): Remove.
24491 (__exp2): Calculate result before checking finiteness and calling
24492 __kernel_standard.
24493 * math/w_exp2f.c: Likewise.
24494 * math/w_exp2l.c: Likewise.
24495 * math/libm-test.inc (exp2_test): Require overflow exception for
24496 1e6 input.
2460d3aa
JM
24497
24498 [BZ #3866]
24499 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
24500 range of signed 64-bit integers before using fistpll. Remove
24501 checks for whether integers fit in mantissa bits.
24502 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
24503 the range of signed 32-bit integers before using fistpl. Remove
24504 checks for whether integers fit in mantissa bits.
24505 * sysdeps/i386/fpu/e_powl.S (p64): New object.
24506 (__ieee754_powl): Test for y outside the range of signed 64-bit
24507 integers before using fistpll. Reduce 64-bit values to 63-bit
24508 ones as needed.
24509 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
24510 divide-by-zero is raised for zero to large negative powers.
24511 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
24512 (__ieee754_powl): Test for y outside the range of signed 64-bit
24513 integers before using fistpll. Reduce 64-bit values to 63-bit
24514 ones as needed.
24515 * math/libm-test.inc (pow_test): Add more tests.
24516
eb96ffb0
L
245172012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24518
24519 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
24520 <stdio-common/_itoa.h>.
24521 * debug/segfault.c: Likewise.
24522 * elf/dl-cache.c: Likewise.
24523 * elf/dl-minimal.c: Likewise.
24524 * elf/dl-misc.c: Likewise.
24525 * elf/dl-sysdep.c: Likewise.
24526 * elf/dl-version.c: Likewise.
24527 * elf/rtld.c: Likewise.
24528 * hurd/hurdsock.c: Likewise.
24529 * hurd/lookup-retry.c: Likewise.
24530 * malloc/malloc.c: Likewise.
24531 * malloc/mtrace.c: Likewise.
24532 * nscd/nscd_getgr_r.c: Likewise.
24533 * nscd/nscd_getpw_r.c: Likewise.
24534 * nscd/nscd_getserv_r.c: Likewise.
24535 * posix/getopt_init.c: Likewise.
24536 * posix/wordexp.c: Likewise.
24537 * stdio-common/_itoa.c: Likewise.
24538 * stdio-common/printf_fphex.c: Likewise.
24539 * stdio-common/vfprintf.c: Likewise.
24540 * string/_strerror.c: Likewise.
24541 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
24542 * sysdeps/i386/i686/hp-timing.h: Likewise.
24543 * sysdeps/mach/_strerror.c: Likewise.
24544 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
24545 * sysdeps/mach/hurd/sethostid.c: Likewise.
24546 * sysdeps/mach/hurd/xmknodat.c: Likewise.
24547 * sysdeps/mach/xpg-strerror.c: Likewise.
24548 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24549 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24550 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
24551 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
24552 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24553 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
24554 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
24555 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
24556 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
24557 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
24558 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
24559 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24560 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
24561 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24562 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24563 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
24564 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
24565 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
24566 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
24567 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
24568 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
24569
24570 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
24571
24572 * stdio-common/_itoa.h: Moved to ...
24573 * sysdeps/generic/_itoa.h: Here.
24574
24575 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
24576
24577 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
24578 instead of "_itoa.h" and "_itowa.h".
24579 * stdio-common/vfprintf.: Likewise.
24580
d1af992d
L
245812012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24582
24583 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
24584 <bits/wordsize.h>.
24585 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
24586 (__signbit): Likwise.
24587 (llrintf): Likwise.
24588 (llrint): Likwise.
24589
114883e0
L
245902012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24591
24592 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
24593 __WORDSIZE != 64.
24594
c135cc1b
JM
245952012-03-20 Joseph Myers <joseph@codesourcery.com>
24596
24597 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
24598 OVERFLOW_EXCEPTION_OK.
24599 * math/libm-test.inc ("Philosophy"): Update comment about
24600 exception testing.
24601 (OVERFLOW_EXCEPTION): Define.
24602 (OVERFLOW_EXCEPTION_OK): Likewise.
24603 (INVALID_EXCEPTION_OK): Renumber.
24604 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24605 (IGNORE_ZERO_INF_SIGN): Likewise.
24606 (test_exceptions): Handle FE_OVERFLOW.
24607 (exp10_test): Expect overflow exceptions.
24608 (exp2_test): Likewise.
24609 (expm1_test): Likewise.
24610 (nextafter_test): Likewise.
24611 (pow_test): Likewise.
24612 (scalbn_test): Likewise.
24613 (scalbln_test): Likewise.
24614
95443d88
L
246152012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24616
24617 * sysdeps/x86_64/bits/atomic.h
24618 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
24619 64bit integer.
24620 (atomic_exchange_acq): Likewise.
24621 (__arch_exchange_and_add_body): Likewise.
24622 (__arch_add_body): Likewise.
24623 (atomic_add_negative): Likewise.
24624 (atomic_add_zero): Likewise.
24625
490df6c4
L
246262012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24627
c2722551 24628 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
24629 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
24630
5e52b189
L
246312012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24632
24633 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
24634 Check __x86_64__ instead of __WORDSIZE.
24635
a9879d4c
L
246362012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24637
24638 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
24639
5df98260
DM
246402012-03-19 David S. Miller <davem@davemloft.net>
24641
e1497744
DM
24642 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24643
5df98260
DM
24644 * sysdeps/sparc/fpu/fenv_private.h: New file.
24645 * sysdeps/sparc/fpu/math_private.h: Use it.
24646 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
24647 Remove.
24648 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
24649 (libc_feholdexcept_setroundl): Remove.
24650 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
24651 Remove.
24652 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
24653 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
24654
b4c35121
L
246552012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24656
24657 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
24658 int64_t instead of long int.
24659 (INSERT_WORDS64): Likwise.
24660
56965fd7
L
246612012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24662
24663 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
24664 _Unwind_GetCFA return to _Unwind_Ptr first.
24665
83d1aec8
JM
246662012-03-19 Joseph Myers <joseph@codesourcery.com>
24667
1897ad44
JM
24668 [BZ #13629]
24669 * math/s_clog.c: Include <float.h>.
24670 (__clog): Scale large or subnormal inputs.
24671 * math/s_clogf.c: Likewise.
24672 * math/s_clogl.c: Likewise.
24673 * math/s_clog10.c: Include <float.h>.
24674 (M_LOG10_2): Define.
24675 (__clog10): Scale large or subnormal inputs.
24676 * math/s_clog10f.c: Likewise.
24677 * math/s_clog10l.c: Likewise.
24678 * math/libm-test.inc (clog_test): Add more tests.
24679 (clog10_test): Likewise.
24680 * sysdeps/i386/fpu/libm-test-ulps: Update.
24681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24682
7726d6a9
JM
24683 [BZ #11451]
24684 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
24685 x and y.
24686 * math/libm-test.inc (atan2_test): Add another test.
24687
83d1aec8
JM
24688 * Makerules (common-objdir-compile): Remove.
24689 * sysdeps/unix/Makefile (config-generated): Do not add
24690 $(unix-generated) to variable.
24691 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
24692 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
24693 Remove rule.
24694 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
24695 Likewise.
24696 [generic bits/local_lim.h] (before-compile): Do not append to
24697 variable.
24698 [generic bits/local_lim.h] (common-generated): Likewise.
24699 [generic sys/param.h] (before-compile): Do not append to variable.
24700 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
24701 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
24702 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
24703 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
24704 include.
24705 [generic sys/param.h] (sys/param.h-includes): Remove variable.
24706 [generic sys/param.h] (sys/param.h-includes): Remove rule.
24707 [generic sys/param.h] ($(addprefix
24708 $(common-objpfx),$(sys/param.h-includes))): Likewise.
24709 [generic sys/param.h] (common-generated): Do not append to
24710 variable.
24711 [generic sys/param.h] (sysdep_headers): Likewise.
24712 [generic bits/errno.h] (before-compile): Do not append to
24713 variable.
24714 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
24715 rule.
24716 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
24717 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
24718 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
24719 [generic bits/errno.h] (common-generated): Do not append to
24720 variable.
24721 [generic bits/ioctls.h] (before-compile): Do not append to
24722 variable.
24723 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
24724 rule.
24725 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
24726 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
24727 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
24728 rule.
24729 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
24730 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
24731 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
24732 [generic bits/ioctls.h] (common-generated): Do not append to
24733 variable.
24734 [generic sys/syscall.h] (syscall.h): Remove variable.
24735 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
24736 rule.
24737 [generic sys/syscall.h] (before-compile): Do not append to
24738 variable.
24739 [generic sys/syscall.h] (common-generated): Likewise.
24740 * sysdeps/unix/errnos-tmpl.c: Remove file.
24741 * sysdeps/unix/errnos.awk: Likewise.
24742 * sysdeps/unix/ioctls-tmpl.c: Likewise.
24743 * sysdeps/unix/ioctls.awk: Likewise.
24744 * sysdeps/unix/mk-local_lim.c: Likewise.
24745 * sysdeps/unix/snarf-ioctls: Likewise.
24746
4851a949
RH
247472012-03-19 Richard Henderson <rth@twiddle.net>
24748
bd37f2ee
RH
24749 * sysdeps/i386/fpu/fenv_private.h: New file.
24750 * sysdeps/i386/fpu/math_private.h: Use it.
24751 (math_opt_barrier, math_force_eval): Remove.
24752 (libc_feholdexcept_setround_53bit): Remove.
24753 (libc_feupdateenv_53bit): Remove.
24754 * sysdeps/x86_64/fpu/math_private.h: Likewise.
24755 (math_opt_barrier, math_force_eval): Remove.
24756 (libc_feholdexcept): Remove.
24757 (libc_feholdexcept_setround): Remove.
24758 (libc_fetestexcept, libc_fesetenv): Remove.
24759 (libc_feupdateenv_test): Remove.
24760 (libc_feupdateenv, libc_feholdsetround): Remove.
24761 (libc_feresetround): Remove.
24762
d0adc922
RH
24763 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
24764 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24765
0fe0f1f8
RH
24766 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
24767 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
24768 (libc_feupdateenv_testl): New.
24769 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
24770 (libc_feupdateenv_testf): New.
24771 (libc_feupdateenv): Use libc_feupdateenv_test.
24772 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
24773 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
24774
eb92c487
RH
24775 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
24776 (libc_feholdsetroundf, libc_feholdsetroundl): New.
24777 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
24778 (libc_feresetround_noex): New.
24779 (libc_feresetround_noexf): New.
24780 (libc_feresetround_noexl): New.
24781 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
24782 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
24783 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
24784 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
24785 SET_RESTORE_ROUND.
24786 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24787 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
24788 (__cos): Likewise.
24789 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
24790 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
24791 SET_RESTORE_ROUND_NOEX.
24792 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
24793 SET_RESTORE_ROUND_NOEXF.
24794 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
24795 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
24796 (libc_feholdsetroundf): New.
24797 (libc_feresetround, libc_feresetroundf): New.
24798
7d2e8012
RH
24799 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
24800 (libc_feholdexcept_setround_53bit): Convert from macro to function.
24801 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
24802
b4dabbb4
RH
24803 * sysdeps/generic/math_private.h: Include <fenv.h>.
24804 (default_libc_feholdexcept): New.
24805 (default_libc_feholdexcept_setround): New.
24806 (default_libc_fesetenv, default_libc_feupdateenv): New.
24807 (libc_feholdexcept): Only define if undefined.
24808 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
24809 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
24810 (libc_feholdexcept_setroundl): Likewise.
24811 (libc_feholdexcept_setround_53bit): Likewise.
24812 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
24813 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
24814 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
24815 (libc_feupdateenv_53bit): Likewise.
24816 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
24817 (libc_feholdexcept): Convert from macro to inline function.
24818 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
24819 (libc_fesetenv, libc_feupdateenv): Likewise.
24820
4851a949
RH
24821 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
24822 not previously defined.
24823 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
24824 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
24825 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
24826 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
24827 * sysdeps/ieee754/flt-32/math_private.h: New file.
24828 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
24829 math_private.h below SET_FLOAT_WORD.
24830 (__isnan, __isinf_ns, __finite): Remove.
24831 (__isnanf, __isinf_nsf, __finitef): Remove.
24832
e79d442e
AS
248332012-03-18 Andreas Schwab <schwab@linux-m68k.org>
24834
24835 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24836
90b80344
DM
248372012-03-17 David S. Miller <davem@davemloft.net>
24838
24839 [BZ #6471]
24840 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
24841 for 2.16.
24842
edc21804
DM
248432012-03-16 David S. Miller <davem@davemloft.net>
24844
77e927af
DM
24845 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
24846 warnings.
24847
374976dd
DM
24848 [BZ #6471]
24849 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
24850 properly.
24851 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
24852 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
24853 sysdep_routines when subdir is sysvipc.
24854 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
24855 __getshmlba helper.
24856
edc21804
DM
24857 * sysdeps/sparc/fpu/libm-test/ulps: Update.
24858
473c3ef3
L
248592012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24860
24861 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
24862 [__LP64__].
24863
eb0f39b6
L
248642012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24865
24866 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
24867 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
24868 (__lround): Renamed to ...
24869 (__llround): This. Replace long int with long long int.
24870 Define lround functions as aliases of llround functions.
24871 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
24872
6b6cd74b
L
248732012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24874
24875 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
24876 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
24877 adresses to uintptr_t. Replace "long int" and "unsigned long
24878 int" with "greg_t" on va_arg.
24879
f1a77b01
L
248802012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24881
24882 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
24883 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
24884
24885 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
24886 Move e_machine check before EI_CLASS check. Handle x32
24887 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
24888 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
24889 SKIP_EM_IA_64 and include
24890 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
24891
24892 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
24893 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
24894 (add_system_dir): New macro.
24895
24896 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
24897 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
24898
11b90b9f
JM
248992012-03-16 Joseph Myers <joseph@codesourcery.com>
24900
c36e1d23
JM
24901 [BZ #2551]
24902 [BZ #2552]
24903 [BZ #2553]
24904 [BZ #2554]
24905 [BZ #2562]
24906 [BZ #2563]
24907 [BZ #2565]
24908 [BZ #2566]
24909 [BZ #2576]
24910 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
24911 (y0): Likewise.
24912 * math/w_j0f.c (j0f): Likewise.
24913 (y0f): Likewise.
24914 * math/w_j0l.c (__j0l): Likewise.
24915 (__y0l): Likewise.
24916 * math/w_j1.c (j1): Likewise.
24917 (y1): Likewise.
24918 * math/w_j1f.c (j1f): Likewise.
24919 (y1f): Likewise.
24920 * math/w_j1l.c (__j1l): Likewise.
24921 (__y1l): Likewise.
24922 * math/w_jn.c (jn): Likewise.
24923 (yn): Likewise.
24924 * math/w_jnf.c (jnf): Likewise.
24925 (ynf): Likewise.
24926 * math/w_jnl.c (__jnl): Likewise.
24927 (__ynl): Likewise.
24928 * math/libm-test.inc (j0_test): Add more tests.
24929 (j1_test): Likewise.
24930 (jn_test): Likewise. Add trailing semicolon to existing test.
24931 (y0_test): Likewise.
24932 (y1_test): Likewise.
24933 * sysdeps/i386/fpu/libm-test-ulps: Update.
24934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24935
11b90b9f
JM
24936 [BZ #13851]
24937 [BZ #13854]
24938 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
24939 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
24940 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
24941 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
24942 (__tanl): Set errno for infinite argument.
24943 * sysdeps/i386/fpu/mptan.c: Remove.
24944 * sysdeps/i386/fpu/s_tan.S: Likewise.
24945 * sysdeps/i386/fpu/s_tanl.S: Likewise.
24946 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
24947 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
24948 * math/libm-test.inc (tan_test): Add more tests and enable more
24949 tests for double and long double.
24950 * sysdeps/i386/fpu/libm-test-ulps: Update.
24951 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24952
6a1bd2a1
JK
249532012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
24954
24955 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
24956 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
24957
10a803e0
RM
249582012-03-16 Roland McGrath <roland@hack.frob.com>
24959
24960 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
24961 * configure.in: Use it for both main tree and add-ons.
24962 * configure: Regenerated.
24963
f196c7f7
L
249642012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24965
24966 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
24967
8848d99d
JM
249682012-03-16 Joseph Myers <joseph@codesourcery.com>
24969
96cbe7f4
JM
24970 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
24971 in comment.
24972
8848d99d
JM
24973 [BZ #13851]
24974 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
24975 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
24976 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
24977 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
24978 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
24979 infinite argument.
24980 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
24981 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
24982 != 0 for prec == 2.
24983 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
24984 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
24985 * sysdeps/i386/fpu/s_cosl.S: Likewise.
24986 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
24987 * sysdeps/i386/fpu/s_sinl.S: Likewise.
24988 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
24989 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
24990 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
24991 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
24992 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
24993 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
24994 * math/libm-test.inc (cos_test): Add more tests and enable more
24995 tests for long double.
24996 (sin_test): Likewise.
24997 (sincos_test): Likewise.
24998 * sysdeps/i386/fpu/libm-test-ulps: Update.
24999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25000
dd7f4703
DM
250012012-03-16 David S. Miller <davem@davemloft.net>
25002
25003 * sysdeps/sparc/fpu/math_private.h: New file.
25004
006f1daa
DM
250052012-03-15 David S. Miller <davem@davemloft.net>
25006
c0c83bc8
DM
25007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
25008 file.
e6a62e18 25009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
25010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
25011 file.
e6a62e18
DM
25012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
25013 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
25014 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
25015 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
25016 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
25017 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
25018 sysdep routines.
25019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25020
88cb87d9
DM
25021 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
25022 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
25023
006f1daa 25024 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
25025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
25026 sparc-ifunc.h
006f1daa 25027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
25028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25029 Likewise.
25030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
25031 Likewise.
006f1daa
DM
25032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
25033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
25034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
25035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25036 Likewise.
006f1daa
DM
25037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
25039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
25041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
25042 Likewise.
25043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
25044 Likewise.
006f1daa
DM
25045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
25047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
25048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
25049 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25050 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25051 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
25052 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
25053 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25054 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25055 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
25056 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
25057 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
25058 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
25059 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
25060 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
25061 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
25062 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
25063 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
25064 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
25065 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
25066 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
25067 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
25068 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
25069
11e0098e
AS
250702012-03-15 Andreas Schwab <schwab@linux-m68k.org>
25071
25072 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
25073 scaling.
25074 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25075
e85b09d0
AJ
250762012-03-15 Andreas Jaeger <aj@suse.de>
25077
25078 [BZ #13852]
25079 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
25080 ieee754/flt-32 implementation for sin, cos and sincos.
25081 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
25082 * sysdeps/i386/fpu/s_cosf.S: Likewise.
25083 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
25084 * sysdeps/i386/fpu/s_sinf.S: Likewise.
25085 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
25086 ieee754/flt-32 implementation for tan.
25087
25088 * math/libm-test.inc (cos_test): Enable some large input tests for
25089 float as well
25090 (sin_test): Likewise.
25091 (sincos_test): Likewise.
25092 (tan_test): Add tests for large input.
25093
25094 * sysdeps/i386/fpu/libm-test-ulps: Update.
25095
81c64153
AJ
250962012-03-15 Andreas Jaeger <aj@suse.de>
25097
25098 [BZ #13658]
25099 * math/libm-test.inc (cos_test): Add more test cases.
25100 (sin_test): Likewise.
25101 (sincos_test): Likewise.
25102
7bbfa5c6
AJ
251032012-03-15 Andreas Jaeger <aj@suse.de>
25104
25105 [BZ #13837]
25106 * math/libm-test.inc (cos_test): Add a test case for large input
25107 value.
25108 (sin_test): Likewise.
25109 (sincos_test): Likewise.
25110
251112012-03-15 Andreas Jaeger <aj@suse.de>,
25112 Joseph Myers <joseph@codesourcery.com>
25113
25114 [BZ #13658]
0671f479 25115 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
25116 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
25117 * sysdeps/i386/fpu/branred.c: Likewise.
25118 * sysdeps/i386/fpu/dosincos.c: Likewise.
25119 * sysdeps/i386/fpu/mpa.c: Likewise.
25120 * sysdeps/i386/fpu/s_cos.S: Likewise.
25121 * sysdeps/i386/fpu/s_sin.S: Likewise.
25122 * sysdeps/i386/fpu/s_sincos.S: Likewise.
25123 * sysdeps/i386/fpu/sincos32.c: Likewise.
25124
25125 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
25126 Define.
25127 (libc_feupdateenv_53bit): Define.
25128 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
25129 Define.
25130 (libc_feupdateenv_53bit): Define.
25131
25132 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
25133 53 bit (without extend i386 double precision).
25134
25135 * math/libm-test.inc (sincos_test): Add tests for large input.
25136 (sin): Likewise.
25137 (cos): Likewise.
25138
25139 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
25140
9cad04ea
AS
251412012-03-15 Andreas Schwab <schwab@linux-m68k.org>
25142
25143 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25144
f7062b9a
DM
251452012-03-15 David S. Miller <davem@davemloft.net>
25146
25147 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
25148 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
25149 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
25150 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
25151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
25152 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
25153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
25154 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
25155 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
25156 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
25157 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
25158 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
25159 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
25160 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
25161 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
25162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
25163 file.
f7062b9a 25164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
25165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
25166 file.
f7062b9a 25167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
25168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
25169 file.
f7062b9a 25170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
25171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
25172 file.
f7062b9a
DM
25173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
25174 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
25175 fmin/fmax sysdep routines.
25176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25177
7bd951ff
DM
251782012-03-14 David S. Miller <davem@davemloft.net>
25179
559398ab
DM
25180 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
25181 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
25182 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
25183 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
25184 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
25185 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
25186 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
25187 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
25188 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
25189 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
25190 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
25191 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
25192 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
25193 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
25194 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
25195 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
25196 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
25197 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
25198 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
25199 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
25200 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
25201 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
25202 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
25203 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
25204 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
25205 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
25206 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
25207 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
25208 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
25209 routines.
25210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
25211 file.
559398ab 25212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
25213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
25214 file.
559398ab 25215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
25216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
25217 file.
559398ab 25218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
25219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
25220 file.
559398ab 25221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
25222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
25223 file.
559398ab 25224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
25225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
25226 file.
25227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
25228 file.
25229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
25230 file.
25231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
25232 file.
25233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
25234 New file.
25235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
25236 file.
25237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
25238 file.
559398ab 25239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
25240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
25241 file.
559398ab 25242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
25243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
25244 file.
559398ab 25245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
25246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
25247 file.
559398ab 25248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
25249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
25250 VIS3 routines.
559398ab
DM
25251
25252 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25253 New file.
25254
5a1c1e32
DM
25255 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25256
eae47a36
DM
25257 * sysdeps/sparc/configure.in: New file.
25258 * sysdeps/sparc/configure: Generate.
25259 * configure.in (libc_cv_sparc_as_vis3): Substitute.
25260 * configure: Regenerate.
25261 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
25262 * config.make.in (have-as-vis3): New.
25263 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
25264 available use -Av9d instead of -Av9a.
25265 * sysdeps/sparc/sparc64/Makefile: Likewise.
25266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
25267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
25268 New file.
25269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
25270 file.
25271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
25272 New file.
25273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
25274 file.
eae47a36
DM
25275 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
25276 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
25277 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
25278 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
25279 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
25280
c0c83bc8
DM
25281 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
25282 fzeros/fnegs to load 0x80000000 into a float register instead of
25283 using the stack.
7bd951ff
DM
25284 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
25285
bd951ccb
JM
252862012-03-14 Joseph Myers <joseph@codesourcery.com>
25287
25288 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25289 bits/syscall.h.
25290 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
25291 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
25292 ($(inst_includedir)/bits/syscall.h): Remove rule.
25293 ($(objpfx)bits/syscall.d): Include instead of
25294 $(objpfx)syscall-list.d.
25295 (generated): Change syscall-list.h and syscall-list.d to
25296 bits/syscall.h and bits/syscall.d.
25297
bb4e6db2
RM
252982012-03-14 Roland McGrath <roland@hack.frob.com>
25299
25300 [BZ #13846]
25301 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
25302
aa4a2ae1
JM
253032012-03-14 Joseph Myers <joseph@codesourcery.com>
25304
e456826d
JM
25305 [BZ #13841]
25306 * math/s_csqrt.c: Include <float.h>.
25307 (__csqrt): Scale large or subnormal inputs.
25308 * math/s_csqrtf.c: Likewise.
25309 * math/s_csqrtl.c: Likewise.
25310 * math/libm-test.inc (csqrt_test): Add more tests.
25311 * sysdeps/i386/fpu/libm-test-ulps: Update.
25312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25313
aa4a2ae1
JM
25314 [BZ #13840]
25315 * math/libm-test.inc (hypot_test): Add more tests.
25316
7c10fd35
DM
253172012-03-13 David S. Miller <davem@davemloft.net>
25318
25319 [BZ #13840]
25320 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
25321 double-precision for the calculation instead of scaling.
25322
f453b98b
JM
253232012-03-13 Joseph Myers <joseph@codesourcery.com>
25324
25325 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
25326 manipulate bits before adding and subtracting TWO52[sx].
25327 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
25328 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
25329 Likewise.
25330 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
25331
09a3453f
DM
253322012-03-13 David S. Miller <davem@davemloft.net>
25333
8e59da90
DM
25334 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
25335 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
25336 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
25337 rtld-global-offsets.h
25338 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25339
2a8ab7f2
DM
25340 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
25341 large parameters.
25342
10f62770
DM
25343 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
25344
5f0bdb18
DM
25345 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
25346 'err' in the ifdef scope in which it is actually used.
25347
09a3453f
DM
25348 * nss/nss_db/db-init.c: Include string.h
25349
b4b2eb5e
DM
253502012-03-12 David S. Miller <davem@davemloft.net>
25351
98bb2f1c
DM
25352 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25353 masking out of the most significant byte of random value used.
25354 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25355 Fix coding style in previous change.
25356
b4b2eb5e
DM
25357 * sysdeps/unix/sysv/linux/kernel-features.h
25358 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
25359 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
25360 expression.
25361 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
25362 later.
25363
6e226b09
DM
253642012-03-11 David S. Miller <davem@davemloft.net>
25365
a1bcbd40
DM
25366 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25367 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
25368 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
25369 for 'resultvar' otherwise things get truncated on 64-bit.
25370
cb9d6174
DM
25371 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25372 Fix masking out of the most significant byte of random value used.
25373
6e226b09
DM
25374 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25375
058c132d
AS
253762012-03-10 Andreas Schwab <schwab@linux-m68k.org>
25377
25378 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25379
2d2cd515
DM
253802012-03-09 David S. Miller <davem@davemloft.net>
25381
25382 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
25383 variables with appropriate CPP guards.
25384 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
25385 frame pointer, not the stack pointer. Correct layout comments. Fix test
25386 on resulting framesize and the management of the outregs buffer for pltexit.
25387 Preserve floating point return values across _dl_call_pltexit call.
25388 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
25389 framesize and the management of the outregs buffer for pltexit.
25390 Preserve floating point return values across _dl_call_pltexit
25391 call.
25392 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
25393 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
25394 (print_exit): Fix format string for return register value.
25395
9a07f9d0
JM
253962012-03-10 Joseph Myers <joseph@codesourcery.com>
25397
25398 * sunrpc/Makefile (others): Add rpcgen.
25399 ($(objpfx)rpcgen): Remove special build rule and dependency on
25400 libc.
25401 * sunrpc/rpcgen.c: New file.
25402
547b5e30
PE
254032012-03-09 Paul Eggert <eggert@cs.ucla.edu>
25404
c524201a
PE
25405 [BZ #13673]
25406 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
25407 * stdio-common/bug-vfprintf-nargs.c: Likewise.
25408 * sysdeps/i386/crti.S: Likewise.
25409 * sysdeps/i386/crtn.S: Likewise.
25410 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
25411 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
25412 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
25413 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
25414 * sysdeps/sh/crti.S: Likewise.
25415 * sysdeps/sh/crtn.S: Likewise.
25416 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25417
7b6235f2
PE
25418 [BZ #13673]
25419 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
25420 with URL.
25421 * locale/programs/locfile-kw.gperf: Likewise.
25422 * locale/programs/charmap-kw.h: Regenerated.
25423 * locale/programs/locfile-kw.h: Likewise.
25424
547b5e30
PE
25425 [BZ #13673]
25426 * intl/plural.y: Replace FSF snail mail address with URL.
25427 * intl/plural.c: Regenerated.
25428
5f0a5dae
RH
254292012-03-09 Richard Henderson <rth@twiddle.net>
25430
25431 * include/math_private.h: Remove file.
25432 * math/math_private.h: Move file ...
25433 * sysdeps/generic/math_private.h: ... here.
25434
b8c03620
RH
25435 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
25436 * sysdeps/powerpc/fpu/math_private.h: Likewise.
25437 * sysdeps/x86_64/fpu/math_private.h: Likewise.
25438
4e234f5d 25439 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
25440 and <math_private.h>.
25441 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25442 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25443 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25444 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25445 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25446 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
25447 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25448 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25449 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25450 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25451 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25452 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25453 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25454 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25455 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25456 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25457 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25458 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25459 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25460 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
25461 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25462 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25463 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25464 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25465 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
25466 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25467 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25468 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25469 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25470 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25471 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25472 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25473 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25474 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25475 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25476 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25477 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25478 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25479 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25480 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25481 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
25482 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25483 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25484 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25485 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25486 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25487 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
25488 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25489 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25490 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25491 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25492 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
25493 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25494 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25495 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25496 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25497 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25498 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25499 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25500 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
25501 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25502 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25503 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25504 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25505 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
25506 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25507 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25508 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25509 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
25510 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
25511 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25512 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25513 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25514 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25515 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
25516 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25517 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
25518 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25519 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
25520 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
25521 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25522 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
25523 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25524 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25525 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25526 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
25527 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
25528 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
25529 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
25530 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25531 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25532 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
25533 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25534 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
25535 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
25536 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
25537 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25538 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25539 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25540 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
25541 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
25542 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
25543 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
25544 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
25545 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25546 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
25547 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
25548 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
25549 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25550 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25551 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25552 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25553 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
25554 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25555 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
25556 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25557 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25558 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25559 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25560 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25561 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25562 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25563 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25564 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
25565 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25566 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25567 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
25568 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
25569 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25570 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
25571 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
25572 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25573 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25574 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
25575 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
25576 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25577 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25578 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25579 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
25580 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25581 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25582 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25583 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25584 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
25585 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
25586 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25587 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25588 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25589 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
25590 * sysdeps/ieee754/k_standard.c: Likewise.
25591 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
25592 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
25593 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25594 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
25595 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
25596 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
25597 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
25598 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
25599 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25600 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25601 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25602 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25603 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
25604 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
25605 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
25606 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
25607 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25608 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
25609 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
25610 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
25611 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
25612 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
25613 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25614 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25615 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25616 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
25617 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25618 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25619 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25620 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25621 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25622 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25623 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25624 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25625 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25626 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25627 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25628 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
25629 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
25630 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25631 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25632 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25633 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25634 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25635 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25636 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25637 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25638 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25639 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25640 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25641 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25642 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25643 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25644 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
25645 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25646 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25647 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
25648 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
25649 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25650 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25651 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25652 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25653 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25654 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
25655 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25656 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25657 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
25658 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
25659 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
25660 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
25661 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
25662 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25663 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
25664 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
25665 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
25666 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
25667 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
25668 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
25669 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25670 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25671 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25672 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25673 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25674 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25675 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
25676 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25677 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25678 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25679 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25680 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25681 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
25682 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25683 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
25684 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25685 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25686 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25687 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
25688 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
25689 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
25690 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
25691 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25692 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25693 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25694 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25695 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
25696 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25697 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25698 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
25699 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
25700 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25701 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25702 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25703 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
25704 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25705 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
25706 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25707 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
25708 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25709 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25710 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25711 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25712 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
25713 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25714 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
25715 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25716 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
25717 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25718 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25719 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25720 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25721 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25722 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25723 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25724 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25725 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25726 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25727 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
25728 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25729 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25730 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
25731 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
25732 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25733 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
25734 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
25735 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25736 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25737 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25738 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25739 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25740 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
25741 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25742 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25743 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25744 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25745 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
25746 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
25747 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25748 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25749 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25750 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
25751 * sysdeps/ieee754/s_lib_version.c: Likewise.
25752 * sysdeps/ieee754/s_matherr.c: Likewise.
25753 * sysdeps/ieee754/s_signgam.c: Likewise.
25754 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25755 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25756 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
25757 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
25758 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
25759 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25760 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
25761 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
25762 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
25763 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
25764 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25765 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
25766 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25767 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25768 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
25769 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25770 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25771 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25772 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25773 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25774 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 25775
1991fa03
JM
257762012-03-09 Joseph Myers <joseph@codesourcery.com>
25777
25778 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
25779 * sunrpc/rpc_main.c: Likewise.
25780 * sunrpc/rpc_svcout.c: Likewise.
25781
60d6f5a6
DM
257822012-03-09 David S. Miller <davem@davemloft.net>
25783
25784 * include/math_private.h: New file.
25785
4962050e
JM
257862012-03-09 Joseph Myers <joseph@codesourcery.com>
25787
02a6f887
JM
25788 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
25789 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
25790 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
25791 from <bits/socket_type.h>.
25792 (enum __socket_type): Don't define here.
25793 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
25794 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25795 bits/socket_type.h.
25796
c6e013c1
JM
25797 [BZ #13566]
25798 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
25799 checking __USE_GNU.
25800
4962050e
JM
25801 * Makerules ($(inst_includedir)/%.h): New rule.
25802 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
25803 (install-others): Remove variable setting.
25804 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
25805
38842f45
RH
258062012-03-08 Richard Henderson <rth@twiddle.net>
25807
67bb6da6
RH
25808 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
25809 from macro to inline function; merge with the
25810 !__LIBC_INTERNAL_MATH_INLINES version.
25811 (__ieee754_sqrtf): Likewise.
25812
15194b4b
RH
25813 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
25814 to inline function.
25815 (__rintf, __floor, __floorf): Likewise.
25816
64e21ede
RH
25817 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
25818 macro to inline function.
25819 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
25820
38842f45
RH
25821 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
25822 not <math/math_private.h>.
25823
c64bf5fe
DM
258242012-03-08 David S. Miller <davem@davemloft.net>
25825
25826 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
25827 copyright year.
25828 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
25829
82d86f28
TS
258302012-03-08 Thomas Schwinge <thomas@codesourcery.com>
25831
25832 * resolv/gai_misc.c (handle_requests): Fix struct timespec
25833 normalization.
25834 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
25835 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
25836
aea5d727
UD
258372012-03-08 Ulrich Drepper <drepper@gmail.com>
25838
25839 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
25840 be defined individually, they must be defined as a block. Define
25841 S for printing a string instead of hidint the different by using a
25842 macro for adding the 'l'.
25843 * stdio-common/tst-fphex-wide.c: Adjust.
25844
70bca0a3
MP
258452012-03-07 Marek Polacek <polacek@redhat.com>
25846
25847 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
25848
65b81130
MP
258492012-03-08 Marek Polacek <polacek@redhat.com>
25850
25851 [BZ #13806]
25852 * stdio-common/Makefile (tests): Add tst-fphex-wide.
25853 * stdio-common/tst-fphex.c: Define a few macros to make the
25854 test reusable. Use them.
25855 * stdio-common/tst-fphex-wide.c: New file.
25856
07037eeb
JM
258572012-03-08 Joseph Myers <joseph@codesourcery.com>
25858
a7a93d50
JM
25859 [BZ #6911]
25860 * manual/macros.texi (gnusystems): New macro.
25861 (nongnusystems): Likewise.
25862 (gnulinuxhurdsystems): Likewise.
25863 (gnuhurdsystems): Likewise..
25864 (gnulinuxsystems): Likewise.
25865 * manual/charset.texi: Use new macros or @theglibc{} to refer to
25866 variants of the GNU system, not "GNU system".
25867 * manual/conf.texi: Likewise.
25868 * manual/errno.texi: Likewise. Update example of errno macro
25869 expansion.
25870 * manual/filesys.texi: Likewise.
25871 (getumask): Document as specific to GNU/Hurd.
25872 * manual/install.texi: Likewise. Reword some references to
25873 GNU/Linux.
25874 * manual/intro.texi: Likewise.
25875 * manual/io.texi: Likewise.
25876 (File Name Portability): Detail which constraints are inapplicable
25877 to all GNU systems and which are only inapplicable to GNU/Hurd.
25878 * manual/job.texi: Likewise.
25879 * manual/llio.texi: Likewise.
25880 (O_NOCTTY): Document as present on GNU/Linux.
25881 * manual/maint.texi: Likewise.
25882 * manual/memory.texi: Likewise.
25883 * manual/pattern.texi: Likewise.
25884 * manual/pipe.texi: Likewise.
25885 * manual/process.texi: Likewise.
25886 * manual/resource.texi: Likewise.
25887 (RUSAGE_CHILDREN): Remove statement about specifying a particular
25888 child on GNU/Hurd.
25889 * manual/setjmp.texi: Likewise.
25890 * manual/signal.texi: Likewise.
25891 * manual/startup.texi: Likewise.
25892 * manual/stdio.texi: Likewise.
25893 * manual/terminal.texi: Likewise.
25894 (ONLCR): Document as POSIX.
25895 (OXTABS): Document availability on GNU/Linux as XTABS.
25896 (ONOEOT): Document availability separately from other bits.
25897 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
25898 * manual/time.texi: Likewise.
25899 * manual/users.texi: Likewise.
25900 * INSTALL: Regenerated.
25901 * sysdeps/gnu/errlist.c: Regenerated.
25902
07037eeb
JM
25903 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
25904 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
25905 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
25906 puts.
25907 * configure: Regenerated.
25908
d1d3431a
JM
259092012-03-07 Joseph Myers <joseph@codesourcery.com>
25910
af6a1e37
JM
25911 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
25912 default includes instead of AC_HEADER_CHECK.
25913 * sysdeps/i386/configure: Regenerated.
25914
d1d3431a
JM
25915 [BZ #10716]
25916 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
25917 * math/s_cacoshf.c (__cacoshf): Likewise.
25918 * math/s_cacoshl.c (__cacoshl): Likewise.
25919 * math/s_casinh.c (__casinh): Set signs of result from argument.
25920 * math/s_casinhf.c (__casinhf): Likewise.
25921 * math/s_casinhl.c (__casinhl): Likewise.
25922 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
25923 (casinh_test): Add more tests.
25924 * sysdeps/i386/fpu/libm-test-ulps: Update.
25925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25926
482ff4da
UD
259272012-03-07 Ulrich Drepper <drepper@gmail.com>
25928
872fda05
UD
25929 * po/zh_TW.po: Update from translation team.
25930
a4300c7a
UD
25931 * login/Makefile (distribute): Remove variable.
25932 * catgets/Makefile: Likewise.
25933 * mach/Makefile: Likewise.
25934 * malloc/Makefile: Likewise.
25935 * misc/Makefile: Likewise.
25936 * iconv/Makefile: Likewise.
25937 * nscd/Makefile: Likewise.
25938 * hurd/Makefile: Likewise.
25939 * manual/Makefile: Likewise.
25940 * locale/Makefile: Likewise.
25941 * intl/Makefile: Likewise.
25942 * conform/Makefile: Likewise.
25943 * nss/Makefile: Likewise.
25944 * time/Makefile: Likewise.
25945 * soft-fp/Makefile: Likewise.
25946 * dirent/Makefile: Likewise.
25947 * gmon/Makefile: Likewise.
25948 * po/Makefile: Likewise.
25949 * rt/Makefile: Likewise.
25950 * socket/Makefile: Likewise.
25951 * math/Makefile: Likewise.
25952 * signal/Makefile: Likewise.
25953 * debug/Makefile: Likewise.
25954 * elf/Makefile: Likewise.
25955 * timezone/Makefile: Likewise.
25956 * stdlib/Makefile: Likewise.
25957 * iconvdata/Makefile: Likewise.
25958 * sunrpc/Makefile: Likewise.
25959 * io/Makefile: Likewise.
25960 * argp/Makefile: Likewise.
25961 * inet/Makefile: Likewise.
25962 * hesiod/Makefile: Likewise.
25963 * grp/Makefile: Likewise.
25964 * csu/Makefile: Likewise.
25965 * wctype/Makefile: Likewise.
25966 * crypt/Makefile: Likewise.
25967 * libio/Makefile: Likewise.
25968 * string/Makefile: Likewise.
25969 * nis/Makefile: Likewise.
25970 * resolv/Makefile: Likewise.
25971 * stdio-common/Makefile: Likewise.
25972 * wcsmbs/Makefile: Likewise.
25973 * dlfcn/Makefile: Likewise.
25974 * posix/Makefile: Likewise.
25975
3b7c4e74 25976 [BZ #6959]
482ff4da
UD
25977 * timezone/Makefile: Don't install timezone files, just the programs
25978 and scripts.
25979
f72ed77d
UD
259802012-03-06 Ulrich Drepper <drepper@gmail.com>
25981
a000466f
UD
25982 * nss/databases.def: Add missing gshadow entry.
25983
f72ed77d
UD
25984 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
25985
a53b7a4e
MP
259862012-03-06 Marek Polacek <polacek@redhat.com>
25987
25988 [BZ #13726]
25989 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
25990 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
25991 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
25992 * stdio-common/tst-long-dbl-fphex.c: New file.
25993
e9258400
DM
259942012-03-06 David S. Miller <davem@davemloft.net>
25995
25996 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25997 (set_obp_int): New function.
25998 (get_obp_int): New function.
25999 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
26000 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
26001 Avoid unused variable warnings on 'val' and use builtin_expect.
26002 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
26003 __builtin_expect.
e9258400
DM
26004 (INLINE_CLONE_SYSCALL): Likewise.
26005
3bd2c723
DM
260062012-03-05 David S. Miller <davem@davemloft.net>
26007
26008 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26009
bbb78d03
AS
260102012-03-05 Andreas Schwab <schwab@linux-m68k.org>
26011
884c5db4
AS
26012 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26013
bbb78d03
AS
26014 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
26015 only for |x| >= 40.
26016 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26017
1c9f702a 260182012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
26019
26020 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
26021 Replace gettimeofday with __vdso_gettimeofday.
26022
7be16f82
RM
26023 * sysdeps/unix/sysv/linux/x86_64/init-first.c
26024 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
26025 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
26026
26027 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
26028 time with __vdso_time.
26029
ed58a00f
JM
260302012-03-05 Joseph Myers <joseph@codesourcery.com>
26031
26032 * manual/lang.texi (size_t): Note types to which size_t may be
26033 equivalent with the GNU C Library, but do not describe when
26034 differences between them are significant.
26035
30ee4ced
AJ
260362012-03-05 Andreas Jaeger <aj@suse.de>
26037
26038 * sysdeps/i386/fpu/libm-test-ulps: Update.
26039
b7cd39e8
JM
260402012-03-05 Joseph Myers <joseph@codesourcery.com>
26041
26042 [BZ #3976]
26043 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
26044 (__ieee754_pow): Save and restore rounding mode and use
26045 round-to-nearest for main computations.
26046 * math/libm-test.inc (pow_test_tonearest): New function.
26047 (pow_test_towardzero): Likewise.
26048 (pow_test_downward): Likewise.
26049 (pow_test_upward): Likewise.
26050 (main): Call the new functions.
26051 * sysdeps/i386/fpu/libm-test-ulps: Update.
26052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
26053
26054 [BZ #3976]
26055 * math/libm-test.inc (cosh_test_tonearest): New function.
26056 (cosh_test_towardzero): Likewise.
26057 (cosh_test_downward): Likewise.
26058 (cosh_test_upward): Likewise.
26059 (sinh_test_tonearest): Likewise.
26060 (sinh_test_towardzero): Likewise.
26061 (sinh_test_downward): Likewise.
26062 (sinh_test_upward): Likewise.
26063 (main): Call the new functions.
26064 * sysdeps/i386/fpu/libm-test-ulps: Update.
26065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26066
6c6a98c9
TV
260672012-03-05 Tom de Vries <tom@codesourcery.com>
26068
26069 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
26070 default stack guard is set in last bytes.
26071 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
26072
21bb2d2e 260732012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 26074
21bb2d2e 26075 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 26076
21bb2d2e
AJ
26077 [BZ #13656]
26078 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
26079 possibly allocate from heap instead of stack.
26080 * stdio-common/bug-vfprintf-nargs.c: New file.
26081 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 26082
c6922934
AS
260832012-03-03 Andreas Schwab <schwab@linux-m68k.org>
26084
26085 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26086
bc957d53
MP
260872012-03-03 Marek Polacek <polacek@redhat.com>
26088
26089 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
26090 * math/math_private.h: Likewise.
26091 * stdlib/tst-strtod.c: Likewise.
26092 * sysdeps/i386/i486/bits/atomic.h: Likewise.
26093 * sysdeps/x86_64/bits/atomic.h: Likewise.
26094
6358490d
DM
260952012-03-02 David S. Miller <davem@davemloft.net>
26096
26097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
26098 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
26099 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
26100 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
26101 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
26102 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
26103 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
26104 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
26105
01ae168d
RM
261062012-03-02 Roland McGrath <roland@hack.frob.com>
26107
d9a17c07
RM
26108 [BZ #13792]
26109 * manual/examples/README: New file, says the example source files
26110 can be used under GPL>=2.
26111 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
26112 line containing just "*/".
26113 * manual/examples/add.c: Add copyright header (GPL>=2).
26114 * manual/examples/argp-ex1.c: Likewise.
26115 * manual/examples/argp-ex2.c: Likewise.
26116 * manual/examples/argp-ex3.c: Likewise.
26117 * manual/examples/argp-ex4.c: Likewise.
26118 * manual/examples/atexit.c: Likewise.
26119 * manual/examples/db.c: Likewise.
26120 * manual/examples/dir.c: Likewise.
26121 * manual/examples/dir2.c: Likewise.
26122 * manual/examples/execinfo.c: Likewise.
26123 * manual/examples/filecli.c: Likewise.
26124 * manual/examples/filesrv.c: Likewise.
26125 * manual/examples/fmtmsgexpl.c: Likewise.
26126 * manual/examples/genpass.c: Likewise.
26127 * manual/examples/inetcli.c: Likewise.
26128 * manual/examples/inetsrv.c: Likewise.
26129 * manual/examples/isockad.c: Likewise.
26130 * manual/examples/longopt.c: Likewise.
26131 * manual/examples/memopen.c: Likewise.
26132 * manual/examples/memstrm.c: Likewise.
26133 * manual/examples/mkfsock.c: Likewise.
26134 * manual/examples/mkisock.c: Likewise.
26135 * manual/examples/mygetpass.c: Likewise.
26136 * manual/examples/pipe.c: Likewise.
26137 * manual/examples/popen.c: Likewise.
26138 * manual/examples/rprintf.c: Likewise.
26139 * manual/examples/search.c: Likewise.
26140 * manual/examples/select.c: Likewise.
26141 * manual/examples/setjmp.c: Likewise.
26142 * manual/examples/sigh1.c: Likewise.
26143 * manual/examples/sigusr.c: Likewise.
26144 * manual/examples/stpcpy.c: Likewise.
26145 * manual/examples/strdupa.c: Likewise.
26146 * manual/examples/strftim.c: Likewise.
26147 * manual/examples/strncat.c: Likewise.
26148 * manual/examples/subopt.c: Likewise.
26149 * manual/examples/swapcontext.c: Likewise.
26150 * manual/examples/termios.c: Likewise.
26151 * manual/examples/testopt.c: Likewise.
26152 * manual/examples/testpass.c: Likewise.
26153 * manual/examples/timeval_subtract.c: Likewise.
26154
01ae168d
RM
26155 [BZ #13792]
26156 * manual/time.texi (Elapsed Time): Move timeval_subtract example
26157 function to ...
26158 * manual/timeval_subtract.c.texi: ... here, new file.
26159
49efa33d
DM
261602012-03-02 David S. Miller <davem@davemloft.net>
26161
26162 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
26163
28afd92d
JM
261642012-03-02 Joseph Myers <joseph@codesourcery.com>
26165
804360ed
JM
26166 [BZ #3976]
26167 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
26168 (__sin): Save and restore rounding mode and use round-to-nearest
26169 for all computations.
26170 (__cos): Save and restore rounding mode and use round-to-nearest
26171 for all computations.
26172 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
26173 <fenv.h>.
26174 (tan): Save and restore rounding mode and use round-to-nearest for
26175 all computations.
26176 * math/libm-test.inc (cos_test_tonearest): New function.
26177 (cos_test_towardzero): Likewise.
26178 (cos_test_downward): Likewise.
26179 (cos_test_upward): Likewise.
26180 (sin_test_tonearest): Likewise.
26181 (sin_test_towardzero): Likewise.
26182 (sin_test_downward): Likewise.
26183 (sin_test_upward): Likewise.
26184 (tan_test_tonearest): Likewise.
26185 (tan_test_towardzero): Likewise.
26186 (tan_test_downward): Likewise.
26187 (tan_test_upward): Likewise.
26188 (main): Call the new functions.
26189 * sysdeps/i386/fpu/libm-test-ulps: Update.
26190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26191
a6d06d7b
JM
26192 [BZ #10135]
26193 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
26194 small n, then large n, before computing and testing k+n.
26195 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
26196 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
26197 Likewise.
26198 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
26199 Likewise.
26200 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
26201 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
26202 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
26203 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
26204 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
26205 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
26206 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
26207 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
26208 * math/libm-test.inc (scalbn_test): Add more tests.
26209 (scalbln_test): Likewise.
26210
07e12bb3
JM
26211 * manual/filesys.texi (mode_t): Describe constraints on size and
26212 signedness, not exact equivalence to a particular type.
26213 (ino_t): Likewise.
26214 (ino64_t): Likewise.
26215 (dev_t): Likewise.
26216 (nlink_t): Likewise.
26217 (blkcnt_t): Likewise.
26218 (blkcnt64_t): Likewise.
26219 * manual/llio.texi (off_t): Likewise.
26220
28afd92d
JM
26221 [BZ #3976]
26222 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
26223 (__ieee754_exp): Save and restore rounding mode and use
26224 round-to-nearest for all computations.
26225 * math/libm-test.inc (exp_test_tonearest): New function.
26226 (exp_test_towardzero): Likewise.
26227 (exp_test_downward): Likewise.
26228 (exp_test_upward): Likewise.
26229 (main): Call the new functions.
26230 * sysdeps/i386/fpu/libm-test-ulps: Update.
26231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26232
b1eeb65d
CD
262332012-03-01 Chris Demetriou <cgd@google.com>
26234
26235 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
26236 have predictable order.
26237
53362a4b
DM
262382012-03-01 David S. Miller <davem@davemloft.net>
26239
3c969083
DM
26240 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
26241
759707de
DM
26242 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
26243 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
26244 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
26245 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
26246
dfdb8ff2
DM
26247 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
26248 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
26249 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
26250 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
26251 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
26252 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
26253 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
26254 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
26255 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
26256
ead89f96
DM
26257 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26258
7f66bd07
DM
26259 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
26260 * sysdeps/sparc/fpu/libm-test-ulps: to here.
26261 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
26262
53362a4b
DM
26263 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
26264 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26265 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26266 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
26267 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
26268 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
26269 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
26270 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26271 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26272 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
26273 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
26274 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26275 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26276 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26277 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26278 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26279 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
26280 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
26281 * sysdeps/sparc/elf/configure: Regenerated.
26282
7b1902cb
JM
262832012-03-01 Joseph Myers <joseph@codesourcery.com>
26284
bec039bc
JM
26285 * configure.in (AS, LD): Require binutils 2.20 or later.
26286 * configure: Regenerated.
26287 * manual/install.texi (Tools for Compilation): Give binutils 2.20
26288 as required minimum version.
26289 * INSTALL: Regenerated.
26290
7b1902cb
JM
26291 [BZ #2541]
26292 [BZ #4108]
26293 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
26294 before squaring exponent.
26295 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
26296 bottom long double and 27 bits of top long double before squaring
26297 exponent.
26298 * math/libm-test.inc (erfc_test): Add more tests.
26299 * sysdeps/i386/fpu/libm-test-ulps: Update.
26300 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26302
f775c276
KT
263032012-03-01 Kai Tietz <ktietz@redhat.com>
26304
26305 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
26306 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
26307 containing bit-fields.
26308 * soft-fp/extended.h (_FP_UNION_E): Likewise.
26309 * soft-fp/single.h (_FP_UNION_S): Likewise.
26310 * soft-fp/double.h (_FP_UNION_D): Likewise.
26311
5b8a4d4a
JM
263122012-02-29 Joseph Myers <joseph@codesourcery.com>
26313
0bab47b6
JM
26314 [BZ #13786]
26315 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
26316 not include ../strcmp.S.
26317 [USE_AS_STRNCASECMP_L]: Likewise.
26318 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
26319 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
26320 * sysdeps/i386/i686/multiarch/strncase_l-c.c
26321 (__strncasecmp_l_ia32): Define as alias to
26322 __strncasecmp_l_nonascii.
26323
0fcad3e2
JM
26324 [BZ #5794]
26325 * math/libm-test.inc (expm1_test): Add test for bug 5794.
26326 * sysdeps/i386/fpu/libm-test-ulps: Update.
26327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26328
5b8a4d4a
JM
26329 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
26330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26331
8fdceb2e
JL
263322012-02-29 Jeff Law <law@redhat.com>
26333
26334 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
26335 out of bounds read.
26336
1f393a11
MP
263372012-02-29 Marek Polacek <polacek@redhat.com>
26338
26339 [BZ #13706]
26340 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
26341 * elf/Makefile: Add rules to run tst-unused-dep.out.
26342
8847f037
DM
263432012-02-28 David S. Miller <davem@davemloft.net>
26344
26345 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
26346 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
26347 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
26348 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
26349 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
26350 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
26351
169d7f11
JM
263522012-02-29 Joseph Myers <joseph@codesourcery.com>
26353
26354 * math/libm-test.inc (llround_test): Move one test from
26355 lround_test. Use TEST_f_L in moved test.
26356 (lround_test): Move misplaced test to llround_test. Add testcase
26357 from bug 2561.
26358
39adf059
UD
263592012-02-28 Ulrich Drepper <drepper@gmail.com>
26360
26361 * sysdeps/x86_64/fpu/e_expf.S: New file.
26362 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
26363
71b5d1c5
SB
263642012-02-28 Stanislav Brabec <sbrabec@suse.cz>
26365
26366 [BZ #13637]
26367 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
26368 of remain_len that may cause incomplete multi-byte character and
26369 false match.
26370 * posix/bug-regex33.c: New file.
26371 * posix/Makefile (tests): Add bug-regex33.
26372
1f77f049
JM
263732012-02-28 Joseph Myers <joseph@codesourcery.com>
26374
26375 * manual/macros.texi: New file.
26376 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
26377 * manual/libc.texinfo: Include macros.texi.
26378 * manual/creatute.texi: Likewise.
26379 * manual/install.texi: Likewise.
26380 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
26381 @glibcadj{} in references to the GNU C Library.
26382 * manual/charset.texi: Likewise.
26383 * manual/conf.texi: Likewise.
26384 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
26385 when not using those macros.
26386 * manual/creature.texi: Likewise.
26387 * manual/crypt.texi: Likewise.
26388 * manual/errno.texi: Likewise.
26389 * manual/filesys.texi: Likewise.
26390 * manual/header.texi: Likewise.
26391 * manual/install.texi: Likewise.
26392 * manual/intro.texi: Likewise.
26393 * manual/io.texi: Likewise.
26394 * manual/job.texi: Likewise.
26395 * manual/lang.texi: Likewise.
26396 * manual/libc.texiinfo: Likewise.
26397 * manual/llio.texi: Likewise.
26398 * manual/locale.texi: Likewise.
26399 * manual/maint.texi: Likewise.
26400 * manual/math.texi: Likewise.
26401 * manual/memory.texi: Likewise.
26402 * manual/message.texi: Likewise.
26403 * manual/nss.texi: Likewise.
26404 * manual/pattern.texi: Likewise.
26405 * manual/process.texi: Likewise.
26406 * manual/resource.texi: Likewise.
26407 * manual/search.texi: Likewise.
26408 * manual/setjmp.texi: Likewise.
26409 * manual/signal.texi: Likewise.
26410 * manual/socket.texi: Likewise.
26411 * manual/startup.texi: Likewise.
26412 * manual/stdio.texi: Likewise.
26413 * manual/string.texi: Likewise.
26414 * manual/sysinfo.texi: Likewise.
26415 * manual/syslog.texi: Likewise.
26416 * manual/terminal.texi: Likewise.
26417 * manual/time.texi: Likewise.
26418 * manual/users.texi: Likewise.
26419 * INSTALL: Regenerated.
26420 * NOTES: Regenerated.
d40c5d54 26421 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 26422
450bf206
AS
264232012-02-28 Andreas Schwab <schwab@linux-m68k.org>
26424
26425 * include/dirent.h: Include <dirstream.h> before
26426 <dirent/dirent.h>.
26427
741a235b
DM
264282012-02-28 David S. Miller <davem@davemloft.net>
26429
26430 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
26431 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
26432 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
26433 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
26434
d6b5aa58
DM
264352012-02-27 David S. Miller <davem@davemloft.net>
26436
1aff59a3
DM
26437 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
26438 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
26439 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
26440 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
26441
d6b5aa58
DM
26442 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
26443 frame pointer instead of stack pointer relative arg slot.
26444 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26445 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26446 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26447
433f48bf
CD
264482012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
26449
26450 [BZ #3992]
26451 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
26452
d674b76d
DM
264532012-02-27 David S. Miller <davem@davemloft.net>
26454
26455 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
26456 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26457 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26458 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
26459 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26460 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26461 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
26462 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
26463
0e7727f7
JM
264642012-02-27 Joseph Myers <joseph@codesourcery.com>
26465
26466 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
26467 later. Allow versions 5-9.
43be4ca2 26468 * configure: Regenerated.
0e7727f7
JM
26469 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
26470 required minimum version and 4.6 as recommended version. Do not
26471 mention bugs in GCC 2.7 and 2.8.
43be4ca2 26472 * INSTALL: Regenerated.
0e7727f7 26473
a78bc654
DM
264742012-02-27 David S. Miller <davem@davemloft.net>
26475
428d5830
DM
26476 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
26477 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
26478 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
26479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
26480 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
26481 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
26482 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
26483 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
26484
a78bc654
DM
26485 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
26486 manipulate bits before adding and subtracting TWO112[sx].
26487 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26488
4579f81c
RM
264892012-02-27 Roland McGrath <roland@hack.frob.com>
26490
36c8acb4
RM
26491 [BZ #13775]
26492 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
26493 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
26494 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
26495 being in POSIX, because they are in 1003.1-2008.
26496
84ad622b
RM
26497 * rt/tst-aio.c: Include <fcntl.h>.
26498 * rt/tst-aio7.c: Likewise.
26499 * rt/tst-aio64.c: Likewise.
26500
4579f81c
RM
26501 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
26502
abd923db
JM
265032012-02-27 Joseph Myers <joseph@codesourcery.com>
26504
26505 * manual/install.texi (--with-headers): Describe headers as
26506 interface headers, not private headers.
26507 (Specific advice for GNU/Linux systems): Describe use of headers
26508 from "make headers_install", not private headers from older
26509 kernels.
43be4ca2 26510 * INSTALL: Regenerated.
abd923db
JM
26511 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
26512 Change to 2.6.19.
26513 * sysdeps/unix/sysv/linux/configure: Regenerated.
26514
6664049b
JM
26515 * manual/llio.texi (fclean): Remove documentation.
26516
bb8b6697
JM
26517 * manual/Makefile (libc-texi-generated): New variable. Include
26518 version.texi.
26519 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
26520 $(libc-texi-generated), not duplicated list of files.
26521 (version.texi, stamp-version): New rules.
26522 (realclean): Remove $(libc-texi-generated), not individual files
26523 from that list. Do not remove dir-add.texinfo.
26524 * manual/libc.texinfo: Comment out uses of edition numbers and
26525 references to printed manual. Remove last-updated dates.
26526 (EDITION): Comment out.
26527 (ISBN): Likewise.
26528 (VERSION, UPDATED): Remove.
26529 (version.texi): Include.
26530
12e5c3b9
AS
265312012-02-27 Andreas Schwab <schwab@linux-m68k.org>
26532
26533 * sysdeps/posix/spawni.c: Include <signal.h>.
26534 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
26535 * sysdeps/pthread/aio_fsync.c: Likewise.
26536
4efeffc1 265372012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 26538
ba63ba08
UD
26539 * conform/Makefile (tests): Run only when not cross-compiling and
26540 when fast-check is not defined.
26541
d94a4670
UD
26542 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
26543 * conform/data/limits.h-data: Fixes for POSIX2008.
26544 * conform/run-conformtest.sh: Run all tests.
26545 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
26546 headers.
26547 * include/bits/dlfcn.h: Likewise.
26548 * include/langinfo.h: Likewise.
26549 * include/monetary.h: Likewise.
26550 * include/sys/poll.h: Likewise.
26551
26552 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
26553 for __USE_GNU.
26554 * posix/spawn.h: Define __need_sigset_t.
26555 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
26556 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
26557 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
26558 to get sigevent_t only.
26559 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
26560 only for __USE_GNU.
26561 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26562 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26563 process_vm_writev only for __USE_GNU.
26564 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
26565
26566 * conform/Makefile: For now ignore errors from run-conformtest.
26567 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
26568 POSIX to avoid namespace pollution. Don't prepend headers.
26569 * conform/data/aio.h-data: Fixes for POSIX testing.
26570 * conform/data/fcntl.h-data: Likewise.
26571 * conform/data/glob.h-data: Likewise.
26572 * conform/data/grp.h-data: Likewise.
26573 * conform/data/pthread.h-data: Likewise.
26574 * conform/data/pwd.h-data: Likewise.
26575 * conform/data/signal.h-data: Likewise.
26576 * conform/data/spawn.h-data: Likewise.
26577 * conform/data/stdio.h-data: Likewise.
26578 * conform/data/stdlib.h-data: Likewise.
26579 * conform/data/stropts.h-data: Likewise.
26580 * conform/data/sys/mman.h-data: Likewise.
26581 * conform/data/sys/stat.h-data: Likewise.
26582 * conform/data/sys/types.h-data: Likewise.
26583 * conform/data/sys/wait.h-data: Likewise.
26584 * conform/data/time.h-data: Likewise.
26585 * conform/data/unistd.h-data: Likewise.
26586 * conform/data/utime.h-data: Likewise.
26587
26588 * io/sys/stat.h: fchmod was always in POSIX.
26589 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
26590 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
26591 * rt/aio.h: Define __need_timespec before including <time.h>.
26592 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
26593 struct. Add forward declaration of pthread_attr_t and use it in
26594 sigevent.
26595 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26596 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26597 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
26598 always remove CLK_TCK definition.
26599
c20105c3
AS
266002012-02-26 Andreas Schwab <schwab@linux-m68k.org>
26601
26602 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
26603
7a270350
UD
266042012-02-25 Ulrich Drepper <drepper@gmail.com>
26605
31341567
UD
26606 * conform/run-conformtest.sh: New file.
26607 * conform/Makefile: Run run-conformtest for tests.
26608 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
26609 support.
26610
26611 * conform/data/uchar.h-data: New file.
26612 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
26613 * conform/data/arpa/inet.h-data: Likewise.
26614 * conform/data/assert.h-data: Likewise.
26615 * conform/data/complex.h-data: Likewise.
26616 * conform/data/cpio.h-data: Likewise.
26617 * conform/data/ctype.h-data: Likewise.
26618 * conform/data/dirent.h-data: Likewise.
26619 * conform/data/dlfcn.h-data: Likewise.
26620 * conform/data/errno.h-data: Likewise.
26621 * conform/data/fcntl.h-data: Likewise.
26622 * conform/data/float.h-data: Likewise.
26623 * conform/data/fmtmsg.h-data: Likewise.
26624 * conform/data/fnmatch.h-data: Likewise.
26625 * conform/data/ftw.h-data: Likewise.
26626 * conform/data/glob.h-data: Likewise.
26627 * conform/data/grp.h-data: Likewise.
26628 * conform/data/iconv.h-data: Likewise.
26629 * conform/data/inttypes.h-data: Likewise.
26630 * conform/data/langinfo.h-data: Likewise.
26631 * conform/data/libgen.h-data: Likewise.
26632 * conform/data/limits.h-data: Likewise.
26633 * conform/data/locale.h-data: Likewise.
26634 * conform/data/math.h-data: Likewise.
26635 * conform/data/monetary.h-data: Likewise.
26636 * conform/data/mqueue.h-data: Likewise.
26637 * conform/data/ndbm.h-data: Likewise.
26638 * conform/data/net/if.h-data: Likewise.
26639 * conform/data/netdb.h-data: Likewise.
26640 * conform/data/netinet/in.h-data: Likewise.
26641 * conform/data/nl_types.h-data: Likewise.
26642 * conform/data/poll.h-data: Likewise.
26643 * conform/data/pthread.h-data: Likewise.
26644 * conform/data/pwd.h-data: Likewise.
26645 * conform/data/regex.h-data: Likewise.
26646 * conform/data/sched.h-data: Likewise.
26647 * conform/data/search.h-data: Likewise.
26648 * conform/data/semaphore.h-data: Likewise.
26649 * conform/data/setjmp.h-data: Likewise.
26650 * conform/data/signal.h-data: Likewise.
26651 * conform/data/spawn.h-data: Likewise.
26652 * conform/data/stdarg.h-data: Likewise.
26653 * conform/data/stdio.h-data: Likewise.
26654 * conform/data/stdlib.h-data: Likewise.
26655 * conform/data/string.h-data: Likewise.
26656 * conform/data/strings.h-data: Likewise.
26657 * conform/data/stropts.h-data: Likewise.
26658 * conform/data/sys/ipc.h-data: Likewise.
26659 * conform/data/sys/mman.h-data: Likewise.
26660 * conform/data/sys/msg.h-data: Likewise.
26661 * conform/data/sys/resource.h-data: Likewise.
26662 * conform/data/sys/select.h-data: Likewise.
26663 * conform/data/sys/sem.h-data: Likewise.
26664 * conform/data/sys/shm.h-data: Likewise.
26665 * conform/data/sys/socket.h-data: Likewise.
26666 * conform/data/sys/stat.h-data: Likewise.
26667 * conform/data/sys/statvfs.h-data: Likewise.
26668 * conform/data/sys/time.h-data: Likewise.
26669 * conform/data/sys/timeb.h-data: Likewise.
26670 * conform/data/sys/times.h-data: Likewise.
26671 * conform/data/sys/types.h-data: Likewise.
26672 * conform/data/sys/uio.h-data: Likewise.
26673 * conform/data/sys/un.h-data: Likewise.
26674 * conform/data/sys/utsname.h-data: Likewise.
26675 * conform/data/sys/wait.h-data: Likewise.
26676 * conform/data/syslog.h-data: Likewise.
26677 * conform/data/tar.h-data: Likewise.
26678 * conform/data/termios.h-data: Likewise.
26679 * conform/data/utime.h-data: Likewise.
26680 * conform/data/utmpx.h-data: Likewise.
26681 * conform/data/varargs.h-data: Likewise.
26682 * conform/data/wchar.h-data: Likewise.
26683 * conform/data/wctype.h-data: Likewise.
26684 * conform/data/wordexp.h-data: Likewise.
26685
26686 * include/stropts.h: New file.
26687 * include/uchar.h: New file.
26688 * include/aio.h: Changes to allow conformtest.pl to use the headers.
26689 * include/assert.h: Likewise.
26690 * include/ctype.h: Likewise.
26691 * include/dirent.h: Likewise.
26692 * include/dlfcn.h: Likewise.
26693 * include/fcntl.h: Likewise.
26694 * include/fnmatch.h: Likewise.
26695 * include/glob.h: Likewise.
26696 * include/grp.h: Likewise.
26697 * include/libio.h: Likewise.
26698 * include/locale.h: Likewise.
26699 * include/math.h: Likewise.
26700 * include/net/if.h: Likewise.
26701 * include/netdb.h: Likewise.
26702 * include/netinet/in.h: Likewise.
26703 * include/pthread.h: Likewise.
26704 * include/pwd.h: Likewise.
26705 * include/regex.h: Likewise.
26706 * include/sched.h: Likewise.
26707 * include/search.h: Likewise.
26708 * include/setjmp.h: Likewise.
26709 * include/signal.h: Likewise.
26710 * include/stdio.h: Likewise.
26711 * include/stdlib.h: Likewise.
26712 * include/string.h: Likewise.
26713 * include/sys/cdefs.h: Likewise.
26714 * include/sys/mman.h: Likewise.
26715 * include/sys/msg.h: Likewise.
26716 * include/sys/resource.h: Likewise.
26717 * include/sys/select.h: Likewise.
26718 * include/sys/socket.h: Likewise.
26719 * include/sys/stat.h: Likewise.
26720 * include/sys/statvfs.h: Likewise.
26721 * include/sys/time.h: Likewise.
26722 * include/sys/times.h: Likewise.
26723 * include/sys/uio.h: Likewise.
26724 * include/sys/utsname.h: Likewise.
26725 * include/sys/wait.h: Likewise.
26726 * include/termios.h: Likewise.
26727 * include/time.h: Likewise.
26728 * include/ulimit.h: Likewise.
26729 * include/unistd.h: Likewise.
26730 * include/utime.h: Likewise.
26731 * include/wchar.h: Likewise.
26732 * include/wctype.h: Likewise.
26733 * include/wordexp.h: Likewise.
26734
26735 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
26736
7a270350
UD
26737 * time/time.h: TIME_UTC must be a macro.
26738 Make timespec_get available for ISO C11 only as well.
26739
7724defc
UD
267402012-02-24 Ulrich Drepper <drepper@gmail.com>
26741
26742 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
26743 Reported by Peng Haitao <penght@cn.fujitsu.com>.
26744
6b1d1d46
JM
267452012-02-24 Joseph Myers <joseph@codesourcery.com>
26746
26747 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 26748
0f8bbd69
JM
267492012-02-24 Joseph Myers <joseph@codesourcery.com>
26750
26751 * manual/texinfo.tex: Update to version 2012-01-19.16.
26752
66ab80bc
JM
267532012-02-24 Joseph Myers <joseph@codesourcery.com>
26754
26755 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
26756
74981cc5
RM
267572012-02-24 Roland McGrath <roland@hack.frob.com>
26758
ee968201
RM
26759 [BZ #13738]
26760 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
26761 * manual/fdl-1.3.texi: New file.
26762 * manual/fdl-1.1.texi: File removed.
26763
74981cc5
RM
26764 [BZ #13738]
26765 * manual/libc.texinfo (FDL_VERSION): New @set.
26766 Use it for mention of FDL in cover text.
26767 (Documentation License): Use it in @include file name.
26768
7bb764bc
JM
267692012-02-22 Joseph Myers <joseph@codesourcery.com>
26770 Roland McGrath <roland@hack.frob.com>
26771
26772 [BZ #5461]
26773 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
26774 not LONG_LONG_MAX and LONG_LONG_MIN.
26775 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
26776 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
26777 name.
26778 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
26779
6cbeae47
JM
267802012-02-22 Joseph Myers <joseph@codesourcery.com>
26781
26782 [BZ #2547]
26783 [BZ #11365]
26784 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
26785 manipulate bits before adding and subtracting TWO23[sx].
26786 * math/libm-test.inc (nearbyint_test): Add more tests.
26787
fe45ce09
JM
267882012-02-22 Joseph Myers <joseph@codesourcery.com>
26789
26790 [BZ #2548]
26791 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
26792 bits before adding and subtracting TWO23[sx].
26793 * math/libm-test.inc (rint_test): Add more tests.
26794 (rint_test_tonearest): Likewise.
26795 (rint_test_towardzero): Likewise.
26796 (rint_test_downward): Likewise.
26797 (rint_test_upward: Likewise.
26798
ff3b3d82
JM
267992012-02-22 Joseph Myers <joseph@codesourcery.com>
26800
26801 [BZ #10110]
26802 * include/stdc-predef.h: New file. Extracted from features.h.
26803 * include/features.h: Include stdc-predef.h.
26804 * Makefile (headers): Add stdc-predef.h.
26805 * CONFORMANCE (Compiler limitations): Update.
26806
ef0aab35
JM
268072012-02-22 Joseph Myers <joseph@codesourcery.com>
26808
26809 * manual/libc.texinfo (VERSION, UPDATED): Revert.
26810
58639409
DM
268112012-02-21 David S. Miller <davem@davemloft.net>
26812
26813 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
26814 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26815
c0e70b25
DM
268162012-02-20 David S. Miller <davem@davemloft.net>
26817
26818 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
26819 using a normal save/restore sequence, rather than allocating a
26820 dummy stack frame just to store a frame pointer and restore.
26821 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26822
fb06851d
JM
268232012-02-21 Joseph Myers <joseph@codesourcery.com>
26824
26825 * manual/install.texi: Fix stray word in line-wrapped comment.
26826
7a8b71c3
DM
268272012-02-20 David S. Miller <davem@davemloft.net>
26828
d510c123
DM
26829 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
26830 both binutils and gcc support GOTDATA.
26831
0722d7c2
DM
26832 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
26833 "rd %pc" in the PIC register setup sequences.
26834
3d2b3019
DM
26835 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
26836 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
26837 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26838 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
26839 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26840 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26841 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26842 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26843 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
26844 (SYSCALL_ERROR_HANDLER): Likewise.
26845 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26846 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26847 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
26848 (SYSCALL_ERROR_HANDLER): Likewise.
26849
c80098a9
DM
26850 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
26851 (HAVE_GCC_GOTDATA): New.
26852 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
26853 relocation support in both binutils and gcc.
26854 * sysdeps/sparc/elf/configure: Regenerate.
26855
3a2545a0
DM
26856 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
26857 * sysdeps/sparc/sparc32/elf/configure: Delete.
26858 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
26859 * sysdeps/sparc/sparc64/elf/configure: Delete.
26860 * sysdeps/sparc/elf/configure.in: New file.
26861 * sysdeps/sparc/elf/configure: Generate.
26862
7a8b71c3
DM
26863 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
26864 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
26865 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
26866 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
26867 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
26868
f1e86fca
JM
268692012-02-21 Joseph Myers <joseph@codesourcery.com>
26870
26871 * manual/install.texi: Do not mention specific glibc version
26872 numbers.
26873 * manual/libc.texinfo (VERSION, UPDATED): Update.
26874 (@copying): Use @copyright{} and range of years.
26875
0e7dfaef
JM
268762012-02-21 Joseph Myers <joseph@codesourcery.com>
26877
26878 [BZ #13695]
26879 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
26880 [crti.S not in sysdirs] (generated): Do not append.
26881 [crti.S not in sysdirs] (omit-deps): Likewise.
26882 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
26883 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
26884 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
26885 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
26886 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
26887 Likewise.
26888 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
26889 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
26890 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
26891 * csu/defs.awk: Remove file.
26892 * sysdeps/generic/initfini.c: Likewise.
26893 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
26894 variable.
26895 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
26896 Likewise.
26897
599af3ca
JM
268982012-02-20 Joseph Myers <joseph@codesourcery.com>
26899
26900 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
26901 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
26902 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
26903 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
26904 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26905 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
26906 <bits/epoll.h>.
26907 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
26908 (__EPOLL_PACKED): Define to empty if not defined by
26909 <bits/epoll.h>.
26910 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
26911 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26912 bits/epoll.h.
26913
0e499750
JM
269142012-02-20 Joseph Myers <joseph@codesourcery.com>
26915
26916 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
26917 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
26918 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
26919 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
26920 <bits/timerfd.h>.
26921 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
26922 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26923 bits/timerfd.h.
26924
5ad91f6e
JM
269252012-02-20 Joseph Myers <joseph@codesourcery.com>
26926
26927 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
26928 in C locale.
26929 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26930 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26931 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
26932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26933
06b99b02
AJ
269342012-02-20 Aurelien Jarno <aurelien@aurel32.net>
26935
26936 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26937 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26938
7638c0fd
AS
269392012-02-19 Andreas Schwab <schwab@linux-m68k.org>
26940
26941 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
26942 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
26943 defined.
26944 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
26945 Likewise.
26946 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
26947 entry for 2.16.
26948
92221550
AJ
269492012-02-19 Aurelien Jarno <aurelien@aurel32.net>
26950
26951 * math/w_acos.c: Use non-signaling floating-point comparisons.
26952 * math/w_acosf.c: Likewise.
26953 * math/w_acosh.c: Likewise.
26954 * math/w_acoshf.c: Likewise.
26955 * math/w_acoshl.c: Likewise.
26956 * math/w_acosl.c: Likewise.
26957 * math/w_asin.c: Likewise.
26958 * math/w_asinf.c: Likewise.
26959 * math/w_asinl.c: Likewise.
26960 * math/w_atanh.c: Likewise.
26961 * math/w_atanhf.c: Likewise.
26962 * math/w_atanhl.c: Likewise.
26963 * math/w_exp2.c: Likewise.
26964 * math/w_exp2f.c: Likewise.
26965 * math/w_exp2l.c: Likewise.
26966 * math/w_j0.c: Likewise.
26967 * math/w_j0f.c: Likewise.
26968 * math/w_j0l.c: Likewise.
26969 * math/w_j1.c: Likewise.
26970 * math/w_j1f.c: Likewise.
26971 * math/w_j1l.c: Likewise.
26972 * math/w_jn.c: Likewise.
26973 * math/w_jnf.c: Likewise.
26974 * math/w_log.c: Likewise.
26975 * math/w_log10.c: Likewise.
26976 * math/w_log10f.c: Likewise.
26977 * math/w_log10l.c: Likewise.
26978 * math/w_log2.c: Likewise.
26979 * math/w_log2f.c: Likewise.
26980 * math/w_log2l.c: Likewise.
26981 * math/w_logf.c: Likewise.
26982 * math/w_logl.c: Likewise.
26983 * math/w_sqrt.c: Likewise.
26984 * math/w_sqrtf.c: Likewise.
26985 * math/w_sqrtl.c: Likewise.
26986 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26987 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
26988 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26989 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26990 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26991
ebaf36eb
JM
269922012-02-19 Joseph Myers <joseph@codesourcery.com>
26993
26994 [BZ #9739]
26995 * manual/string.texi (strnlen): Use correct parameter name in
26996 equivalent expression.
26997
71c254a6
JM
269982012-02-19 Joseph Myers <joseph@codesourcery.com>
26999
27000 [BZ #11174]
27001 * manual/users.texi (seteuid): Consistently use neweuid for
27002 argument name.
27003
16d2c631
JM
270042012-02-19 Joseph Myers <joseph@codesourcery.com>
27005
27006 [BZ #13704]
27007 * manual/nss.texi (Services in the NSS configuration): Correct
27008 list of services in example configuration file.
27009
cd837b09
NB
270102012-02-19 Nick Bowler <nbowler@draconx.ca>
27011
27012 [BZ #11322]
27013 * manual/arith.texi: Remove statements about negative zero
27014 behaving identically to zero.
27015
02c4bbad
JM
270162012-02-18 Joseph Myers <joseph@codesourcery.com>
27017
27018 [BZ #5993]
27019 * manual/install.texi: Do not document upgrading from libc5.
27020
366842e7
JM
270212012-02-18 Joseph Myers <joseph@codesourcery.com>
27022
27023 [BZ #4596]
27024 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
27025
dd54084d
DM
270262012-02-18 David S. Miller <davem@davemloft.net>
27027
27028 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
27029 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
27030 %o7 across the call.
27031 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
27032 instead.
27033 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
27034 SETUP_PIC_REG_LEAF.
27035 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27036 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
27037 * sysdeps/sparc/crtn.S: Likewise.
27038
2bcc53a3
UD
270392012-02-17 Ulrich Drepper <drepper@gmail.com>
27040
27041 * aout/Makefile: Remove.
27042
09c093b5
RK
270432012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
27044
27045 [BZ #13058]
27046 * manual/examples/argp-ex1.c (main): Format definition in GNU
27047 style.
27048 * manual/examples/argp-ex2.c (main): Likewise.
27049 * manual/examples/argp-ex3.c (main): Likewise.
27050 * manual/examples/argp-ex4.c (main): Likewise.
27051 * manual/examples/longopt.c (main): Use new-style prototype
27052 definition.
27053 * manual/examples/strncat.c (main): Specify return type and use
27054 (void) for arguments.
27055 * manual/examples/subopt.c (main): Use char **argv argument.
27056
2ee633a2
JM
270572012-02-17 Joseph Myers <joseph@codesourcery.com>
27058
27059 [BZ #5077]
27060 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
27061 rounding modes.
27062
0520adde
FB
270632012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
27064
27065 [BZ #6907]
27066 * manual/string.texi (strchr): Change when strchrnul is
27067 recommended.
27068
3f4081cd
DGM
270692012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
27070
27071 [BZ #174]
27072 * manual/locale.texi (setlocale): Document LOCPATH.
27073
d1b10e78
JM
270742012-02-17 Joseph Myers <joseph@codesourcery.com>
27075
27076 [BZ #10210]
27077 * manual/process.texi (execle): Move @dots{} before last argument.
27078
79c6869c
PB
270792012-02-17 Paul Bolle <pebolle@tiscali.nl>
27080
27081 [BZ #12047]
27082 * manual/charset.texi (Generic Charset Conversion): Fix typo
27083 (LC_TYPE -> LC_CTYPE).
27084
cc6e48bc
NB
270852012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
27086
27087 [BZ #5805]
27088 * manual/arith.texi (scalbn): Use @var{} on parameter names.
27089 (scalbnf): Likewise.
27090 (scalbnl): Likewise.
27091 (scalbln): Likewise.
27092 (scalblnf): Likewise.
27093 (scalblnl): Likewise.
27094 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
27095 (vwarnx): Likewise.
27096 (verr): Likewise.
27097 (verrx): Likewise.
27098 * manual/filesys.texi (telldir): Use braces around return type.
27099 * manual/llio.texi (mmap): Add space after comma.
27100 (mmap64): Likewise.
27101 * manual/math.texi (jn): Use @var{} on parameter names.
27102 (jnf): Likewise.
27103 (jnl): Likewise.
27104 (yn): Likewise.
27105 (ynf): Likewise.
27106 (ynl): Likewise.
27107 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
27108 line.
27109 * manual/resource.texi (ulimit): Use @dots{} instead of literal
27110 "...".
27111 (sched_get_priority_min): Remove semicolon on @deftypefun line.
27112 (sched_get_priority_max): Likewise.
27113 * manual/signal.texi (sigvec): Add space after comma.
27114 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
27115 names.
27116 (if_indextoname): Likewise.
27117 (if_freenameindex): Likewise.
27118 (sendto): Use ',' instead of '.' in prototype.
27119 * manual/startup.texi (syscall): Use @dots{} instead of literal
27120 "...".
27121 * manual/stdio.texi (__fpending): Separate initial words of
27122 paragraph from @deftypefun line.
27123 * manual/syslog.texi (syslog): Use @dots{} instead of literal
27124 "...".
27125 (vsyslog): Use @var{} on parameter names.
27126 * manual/terminal.texi (stty): Use @var{} on parameter names.
27127 * manual/users.texi (getutmp): Use @var{} on parameter names.
27128 (getutmpx): Likewise.
27129
5b23062f
JM
271302012-02-17 Joseph Myers <joseph@codesourcery.com>
27131
27132 [BZ #6884]
27133 * manual/stdio.texi (fopen): Fix typos in description of
27134 ",ccs=STRING".
27135
8dee4833
AJ
271362012-02-17 Aurelien Jarno <aurelien@aurel32.net>
27137
27138 [BZ #4026]
27139 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
27140 get clock_id definition.
27141
9078ce93
TS
271422012-02-17 Thomas Schwinge <thomas@schwinge.name>
27143
27144 [BZ #4822]
27145 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
27146 (madvise): Cast every argument to void on its own.
27147
3835c55f
JM
271482012-02-17 Joseph Myers <joseph@codesourcery.com>
27149
27150 [BZ #9902]
27151 * manual/startup.texi (Exit Status): Fix typo.
27152
35c47e37
JM
271532012-02-17 Joseph Myers <joseph@codesourcery.com>
27154
27155 [BZ #10140]
27156 * manual/examples/argp-ex1.c: Include <stdlib.h>.
27157 * manual/examples/argp-ex2.c: Likewise.
27158 * manual/examples/argp-ex3.c: Likewise.
27159
e3b69ca7
RH
271602012-02-16 Richard Henderson <rth@redhat.com>
27161
27162 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
27163 * sysdeps/s390/s390-32/initfini.c: Remove.
27164 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
27165 * sysdeps/s390/s390-64/initfini.c: Remove.
27166
df83af67
KK
271672012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27168
27169 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
27170 compiler output for sysdeps/generic/initfini.c.
27171 * sysdeps/sh/elf/initfini.c: Remove file.
27172
f63f3380
DM
271732012-02-16 David S. Miller <davem@davemloft.net>
27174
fb59b3a4
DM
27175 [BZ #11494]
27176 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
27177
f63f3380
DM
27178 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
27179 * sysdeps/sparc/crti.S: New file.
27180 * sysdeps/sparc/crtn.S: New file.
27181 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
27182 * sysdeps/sparc/sparc64/Makefile: Likewise.
27183
df6a4a4a
MF
271842012-02-15 Mike Frysinger <vapier@gentoo.org>
27185
6dd8f3dc 27186 [BZ #3335]
df6a4a4a
MF
27187 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
27188
1cac7236
RM
271892012-02-15 Roland McGrath <roland@hack.frob.com>
27190
d2c736f8
RM
27191 [BZ #4822]
27192 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
27193
1cac7236
RM
27194 * mach/devstream.c (cookie_io_functions_t): Macro removed.
27195 (write, read, close): Likewise.
27196 Patch by Aurelien Jarno <aurelien@aurel32.net>.
27197
8e475601
JM
271982012-02-15 Joseph Myers <joseph@codesourcery.com>
27199
27200 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
27201 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
27202 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
27203 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
27204 <bits/signalfd.h>.
27205 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
27206 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27207 bits/signalfd.h.
27208
ed656b40
MP
272092012-02-14 Marek Polacek <polacek@redhat.com>
27210
27211 * sysdeps/x86_64/crti.S: New file.
27212 * sysdeps/x86_64/crtn.S: New file.
27213 * sysdeps/x86_64/elf/initfini.c: Remove file.
27214
2a979d3a
JM
272152012-02-13 Joseph Myers <joseph@codesourcery.com>
27216
27217 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
27218 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
27219 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
27220 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
27221 <bits/inotify.h>.
27222 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
27223 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27224 bits/inotify.h.
27225
2a418ac3
JM
272262012-02-13 Joseph Myers <joseph@codesourcery.com>
27227
27228 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
27229 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
27230 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
27231 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
27232 <bits/eventfd.h>.
27233 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
27234 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27235 bits/eventfd.h.
27236
fb779be7
TS
272372012-02-10 Thomas Schwinge <thomas@codesourcery.com>
27238
e19e83c5
RM
27239 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
27240 __feraiseexcept instead of feraiseexcept.
7c35ffed 27241
fb779be7
TS
27242 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
27243 nanosleep invocations.
27244 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
27245 strings, and add error checking for a nanosleep invocations.
27246
59ba27a6
PE
272472012-02-09 Paul Eggert <eggert@cs.ucla.edu>
27248
27249 Replace FSF snail mail address with URLs, as per GNU coding standards.
27250 Most of the snail mail addresses were wrong anyway, and omitting
27251 them makes the source code easier to maintain. Almost all of the
27252 changes are to license notices and to locale LC_IDENTIFICATION
27253 addresses, except for this one:
27254 * manual/libc.texinfo: In "Published by", give the FSF's URL,
27255 not its snail mail address.
27256
57b957eb
RH
272572012-02-09 Richard Henderson <rth@twiddle.net>
27258
af850b1c
RH
27259 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
27260 of kernel-features.h.
27261
57b957eb
RH
27262 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
27263
6b73181a
MP
272642012-02-08 Marek Polacek <polacek@redhat.com>
27265
27266 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
27267 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
27268 * sysdeps/gnu/_G_config.h: Likewise.
27269 * sysdeps/generic/_G_config.h: Likewise.
27270
26ecc33a
AS
272712012-02-08 Andreas Schwab <schwab@linux-m68k.org>
27272
6c6dbc63
AS
27273 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
27274 tests.
27275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27276
e216c012
AS
27277 * sysdeps/powerpc/powerpc32/crti.S: New file.
27278 * sysdeps/powerpc/powerpc32/crtn.S: New file.
27279 * sysdeps/powerpc/powerpc64/crti.S: New file.
27280 * sysdeps/powerpc/powerpc64/crtn.S: New file.
27281
26ecc33a
AS
27282 * Makeconfig (have-initfini): Don't set.
27283 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
27284 * configure.in (nopic_initfini): Don't substitute.
27285 * config.h.in (HAVE_INITFINI): Don't #undef.
27286 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
27287 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
27288
3add8e13
JM
272892012-02-08 Joseph Myers <joseph@codesourcery.com>
27290
27291 Support crti.S and crtn.S provided directly by architectures.
27292 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
27293 [crti.S in sysdirs] (omit-deps): Likewise.
27294 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
27295 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
27296 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
27297 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
27298 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
27299 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
27300 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
27301 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
27302 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
27303 compiler output for sysdeps/generic/initfini.c.
27304 * sysdeps/i386/elf/Makefile: Remove file.
27305 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
27306
a22f12b4
MP
273072012-02-07 Marek Polacek <polacek@redhat.com>
27308
27309 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
27310 * sysdeps/gnu/_G_config.h: Likewise.
27311 * sysdeps/mach/hurd/_G_config.h: Likewise.
27312
148cf100
MP
273132012-02-07 Marek Polacek <polacek@redhat.com>
27314
27315 * math/Makefile (tests): Add tst-CMPLX2.
27316 * math/tst-CMPLX2.c: New file.
27317
cfdc0dd7
AS
273182012-02-07 Andreas Schwab <schwab@linux-m68k.org>
27319
84ba42c4
AS
27320 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27321
cfdc0dd7
AS
27322 * math/libm-test.inc (jn_test): Add missing L suffix.
27323
622c86f4
MP
273242012-02-06 Marek Polacek <polacek@redhat.com>
27325
27326 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
27327 * sysdeps/i386/fpu/e_powf.S: Likewise.
27328 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27329 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27330 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27331 * sysdeps/i386/fpu/e_pow.S: Likewise.
27332 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27333 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27334 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27335 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27336 * sysdeps/i386/fpu/e_log2.S: Likewise.
27337 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27338 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27339 * sysdeps/i386/fpu/e_powl.S: Likewise.
27340 * sysdeps/i386/fpu/s_log1p.S: Likewise.
27341 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27342 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27343 * sysdeps/i386/fpu/e_logl.S: Likewise.
27344 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27345 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
27346 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27347 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27348 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27349 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27350 * sysdeps/i386/fpu/e_log.S: Likewise.
27351 * sysdeps/i386/fpu/s_cexp.S: Likewise.
27352 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27353 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
27354 * sysdeps/i386/fpu/e_logf.S: Likewise.
27355 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27356 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27357 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
27358 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27359 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27360 * sysdeps/i386/fpu/e_log10.S: Likewise.
27361 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27362 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27363 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27364 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27365 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27366 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27367 * sysdeps/i386/asm-syntax.h: Likewise.
27368 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27369 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27370 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27371 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
27372 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
27373 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27374 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27375 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27376 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27377 * sysdeps/powerpc/sysdep.h: Likewise.
27378 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
27379 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27380
d4a54ac6
JM
273812012-02-06 Joseph Myers <joseph@codesourcery.com>
27382
27383 [BZ #411]
27384 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
27385
314054ea
JM
273862012-02-06 Joseph Myers <joseph@codesourcery.com>
27387
27388 * sysdeps/i386/sysdep.h: Include <features.h>.
27389 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
27390 version.
27391
d8e0ca50
JM
273922012-02-05 Joseph Myers <joseph@codesourcery.com>
27393
27394 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
27395 Define.
27396 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
27397 LOAD_PIC_REG_STR.
27398
b1da7dd9
JM
273992012-02-03 Joseph Myers <joseph@codesourcery.com>
27400
27401 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
27402 (SETUP_PIC_REG): Use GET_PC_THUNK.
27403 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
27404 macro.
27405
9a1d9254
JM
274062012-02-03 Joseph Myers <joseph@codesourcery.com>
27407
27408 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
27409 for non-PIC compilation.
27410 (SETUP_PIC_REG): Add .p2align directive.
27411 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
27412 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
27413 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27414 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27415 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27416 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27417 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
27418 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27419 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27420 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27421 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27422 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27423 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27424 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27425 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27426 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27427 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27428 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27429 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27430 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27431 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27432 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27433 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27434 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27435 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27436 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27437 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27438 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27439 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27440 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27441 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27442 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27443 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27444 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27445 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27446 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27447 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27448 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27449 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27450 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27451 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27452
65dc3b75
JM
274532012-02-03 Joseph Myers <joseph@codesourcery.com>
27454
27455 * math/tst-CMPLX.c: Include <stdio.h>.
27456
d55bf177
JM
274572012-01-31 Joseph Myers <joseph@codesourcery.com>
27458
27459 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
27460 float.
27461 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27462 * sysdeps/sparc/bits/mathdef.h: Likewise.
27463
69db4f8f
MP
274642012-01-31 Marek Polacek <polacek@redhat.com>
27465
27466 * libio/libio.h: Don't define _PARAMS.
27467 * locale/programs/config.h: Don't define PARAMS.
27468 * stdlib/strtol_l.c: Likewise.
27469 (__strtol_l): Remove PARAMS from the prototype.
27470
41b81892
UD
274712012-01-31 Ulrich Drepper <drepper@gmail.com>
27472
3b49edc0
UD
27473 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
27474 names. Just use the correct names. Remove unnecessary wrapper
27475 functions.
27476 * malloc/arena.c: Likewise.
27477 * malloc/hooks.c: Likewise.
27478
41b81892
UD
27479 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
27480 ARENA_TEST says not to. Simplify test for creation of a new arena.
27481 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
27482
27a25b6e
UD
274832012-01-30 Ulrich Drepper <drepper@gmail.com>
27484
27485 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
27486 into tail calls.
27487 (update_get_addr): New function.
27488 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
27489 GET_ADDR_MODULE parameter.
27490
c8a89e7d
JM
274912012-01-30 Joseph Myers <joseph@codesourcery.com>
27492
27493 * crypt/cert.c: Remove __STDC__ conditionals.
27494 * crypt/crypt-entry.c: Likewise.
27495 * crypt/crypt_util.c: Likewise.
27496 * libio/filedoalloc.c: Likewise.
27497 * libio/fileops.c: Likewise.
27498 * libio/genops.c: Likewise.
27499 * libio/iofclose.c: Likewise.
27500 * libio/iofdopen.c: Likewise.
27501 * libio/iofopen.c: Likewise.
27502 * libio/iofopen64.c: Likewise.
27503 * libio/iogetdelim.c: Likewise.
27504 * libio/iopopen.c: Likewise.
27505 * libio/obprintf.c: Likewise.
27506 * libio/oldfileops.c: Likewise.
27507 * libio/oldiofclose.c: Likewise.
27508 * libio/oldiofdopen.c: Likewise.
27509 * libio/oldiofopen.c: Likewise.
27510 * libio/oldiopopen.c: Likewise.
27511 * libio/wfiledoalloc.c: Likewise.
27512 * libio/wgenops.c: Likewise.
27513 * locale/programs/xmalloc.c: Likewise.
27514 * misc/syslog.c: Likewise.
27515 * stdio-common/xbug.c: Likewise.
27516 * string/memchr.c: Likewise.
27517 * string/memcmp.c: Likewise.
27518 * string/memrchr.c: Likewise.
27519 * string/rawmemchr.c: Likewise.
27520 * sysdeps/posix/getcwd.c: Likewise.
27521 * time/strftime_l.c: Likewise.
27522
3b100462
JM
275232012-01-30 Joseph Myers <joseph@codesourcery.com>
27524
27525 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
27526 * config.make.in (config-cflags-sse2avx): Define.
27527 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
27528 Fix typo.
27529
607998af
CM
275302012-01-29 Chris Metcalf <cmetcalf@tilera.com>
27531
27532 * scripts/config.guess: Update from upstream config git repository.
27533 * scripts/config.sub: Likewise.
27534
3601428f
CM
275352012-01-28 Chris Metcalf <cmetcalf@tilera.com>
27536
3ac8b282
CM
27537 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
27538 (EM_NUM): Update.
27539 (R_TILEPRO_*, R_TILEGX_*): New macros.
27540
e034841e
CM
27541 * scripts/firstversions.awk: Fix bug in version range handling.
27542
540d7568
CM
27543 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
27544
3601428f
CM
27545 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
27546
463de862
CM
27547 * include/sys/epoll.h: New file.
27548 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
27549 libc_hidden_def.
27550
73139a76
UD
275512012-01-28 Ulrich Drepper <drepper@gmail.com>
27552
96bc5b45
UD
27553 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
27554 Avoid unnecessary __WORDSIZE == 64 test.
27555 (fmaxf): Use VEX format if possible.
27556 (fmax): Likewise.
27557 (fminf): Likewise.
27558 (fmin): Likewise.
27559
56f6f6a2
UD
27560 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
27561 * math/math_private.h: Remove libc_fegetround* and
27562 libc_fesetround*.
27563 * sysdeps/i386/configure.in: Check for -msse2avx.
27564 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
27565 also if SSE2AVX is defined.
27566 Remove libc_fegetround* and libc_fesetround*.
27567 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
27568 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
27569 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
27570 of HAS_YMM_USABLE.
27571 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27572 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27573 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27574 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27575 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27576
73139a76
UD
27577 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
27578
d73f93a4
AZ
275792012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27580
27581 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
27582 size is not set.
27583 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27584
6ee65ed6
UD
275852012-01-27 Ulrich Drepper <drepper@gmail.com>
27586
27587 [BZ #13618]
27588 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
27589 relocation.
27590 * Makeconfig (libm): Define.
27591 * elf/Makefile: Add rules to build and run tst-relsort1.
27592 * elf/tst-relsort1.c: New file.
27593 * elf/tst-relsort1mod1.c: New file.
27594 * elf/tst-relsort1mod2.c: New file.
27595
8db21882
JM
275962012-01-27 Joseph Myers <joseph@codesourcery.com>
27597
27598 * math/s_ldexp.c: Remove __STDC__ conditionals.
27599 * math/s_ldexpf.c: Likewise.
27600 * math/s_ldexpl.c: Likewise.
27601 * math/s_nextafter.c: Likewise.
27602 * math/s_nexttowardf.c: Likewise.
27603 * math/s_significand.c: Likewise.
27604 * math/s_significandf.c: Likewise.
27605 * math/s_significandl.c: Likewise.
27606 * math/w_jnl.c: Likewise.
27607 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27608 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27609 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27610 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27611 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27612 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27613 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
27614 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27615 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27616 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27617 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27618 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27619 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27620 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27621 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27622 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27623 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27624 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27625 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27626 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27627 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27628 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27629 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27630 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27631 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27632 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27633 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27634 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27635 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27636 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27637 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27638 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27639 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27640 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27641 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27642 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27643 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27644 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27645 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27646 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27647 * sysdeps/ieee754/k_standard.c: Likewise.
27648 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27649 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27650 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27651 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27652 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27653 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27654 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27655 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27656 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27657 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27658 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27659 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27660 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27661 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27662 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27663 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27664 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27665 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27666 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27667 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27668 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27669 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27670 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27671 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27672 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27673 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27674 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27675 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27676 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27677 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27678 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27679 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
27680 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27681 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27682 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27683 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27684 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
27685 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27686 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27687 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
27688 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
27689 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27690 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
27691 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
27692 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27693 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27694 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27695 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27696 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27697 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
27698 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
27699 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27700 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27701 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27702 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27703 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27704 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
27705 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27706 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27707 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27708 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27709 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27710 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27711 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27712 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27713 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27714 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27715 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27716 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27717 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27718 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27719 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27720 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27721 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27722 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27723 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27724 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27725 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27726 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27727 * sysdeps/ieee754/s_matherr.c: Likewise.
27728 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27729 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27730 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27731 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27732
965a54a4
JM
277332012-01-26 Joseph Myers <joseph@codesourcery.com>
27734
27735 * crypt/md5.h: Remove __STDC__ conditionals.
27736 * libio/libioP.h: Likewise.
27737 * locale/programs/config.h: Likewise.
27738 * sysdeps/generic/sysdep.h: Likewise.
27739 * sysdeps/i386/asm-syntax.h: Likewise.
27740 * sysdeps/s390/asm-syntax.h: Likewise.
27741 * sysdeps/unix/sysdep.h: Likewise.
27742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27744
7071ad79
JM
277452012-01-26 Joseph Myers <joseph@codesourcery.com>
27746
27747 * libio/libio.h: Remove __STDC__ conditionals.
27748 * malloc/obstack.h: Likewise.
27749 * math/complex.h: Likewise.
27750 * math/math.h: Likewise.
27751 * sysdeps/generic/_G_config.h: Likewise.
27752 * sysdeps/gnu/_G_config.h: Likewise.
27753 * sysdeps/mach/hurd/_G_config.h: Likewise.
27754 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27755 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27756 * sysdeps/sparc/bits/mathdef.h: Likewise.
27757
afc5ed09
UD
277582012-01-26 Ulrich Drepper <drepper@gmail.com>
27759
27760 [BZ #13583]
27761 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 27762 Clean up HAS_* macros.
afc5ed09 27763 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
27764 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
27765 possible.
27766 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
27767 HAS_AVX.
27768 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27769 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27770 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27771 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27772 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 27773
bdb6de1d
JM
277742012-01-25 Joseph Myers <joseph@codesourcery.com>
27775
27776 * elf/tst-unique3.cc (gets): Remove declaration.
27777 * elf/tst-unique3lib.cc (gets): Likewise.
27778 * elf/tst-unique3lib2.cc (gets): Likewise.
27779 * elf/tst-unique4.cc (gets): Likewise.
27780
b15549e6
UD
277812012-01-24 Ulrich Drepper <drepper@gmail.com>
27782
27783 * include/stdio.h: Add C++ protection. Add gets declarations and
27784 definitions.
27785 * debug/tst-chk1.c: Don't declare gets here.
27786 * stdio-common/tst-gets.c: Likewise.
27787
a037381f
JM
277882012-01-24 Joseph Myers <joseph@codesourcery.com>
27789
27790 * posix/glob: Remove directory.
27791
f1d4aa75
JM
277922012-01-24 Joseph Myers <joseph@codesourcery.com>
27793
27794 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
27795
81c0c964
PT
277962012-01-22 Pino Toscano <toscano.pino@tiscali.it>
27797
27798 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
27799 of the non-standard EPFNOSUPPORT.
27800
0ea698ae
ST
278012011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
27802
27803 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
27804 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
27805 ANYWHERE set to 1 only on KERN_NO_SPACE error.
27806
d220b117
UD
278072012-01-21 Ulrich Drepper <drepper@gmail.com>
27808
27809 * wcsmbs/uchar.h: Test __STDC_VERSION__.
27810
3e1aa84e
UD
278112012-01-20 Ulrich Drepper <drepper@gmail.com>
27812
27813 * nscd/aicache.c (addhstaiX): Do not cache negative results of
27814 transient errors.
27815 * nscd/grpcache.c (cache_addgr): Likewise.
27816 * nscd/hstcache.c (cache_addhst): Likewise.
27817 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27818 * nscd/pwdcache.c (cache_addpw): Likewise.
27819 * nscd/servicescache.c (cache_addserv): Likewise.
27820
400aa020
UD
278212012-01-16 Ulrich Drepper <drepper@gmail.com>
27822
d77e7869
UD
27823 * malloc/malloc.c: Various cleanups.
27824 * malloc/hooks.c: Likewise.
27825
400aa020
UD
27826 * stdlib/Makefile (tests): Add bug-fmtmsg1.
27827 * stdlib/bug-fmtmsg1.c: New file.
27828
27829 * stdlib/fmtmsg.c (init): Add missing unlock.
27830 Patch by Peng Haitao <penght@cn.fujitsu.com>.
27831
e0a309cf
MP
278322012-01-12 Marek Polacek <polacek@redhat.com>
27833
27834 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
27835 and _GNU_SOURCE.
27836
929d11c7
WS
278372012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27838
27839 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
27840 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
27841 macro to ensure uniqueness of label name.
27842 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27843 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27844
41d0e869
UD
278452012-01-11 Ulrich Drepper <drepper@gmail.com>
27846
0cc5ed3b
UD
27847 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
27848
41d0e869
UD
27849 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
27850 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27851 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27852 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
27853
a47a831a
UD
278542012-01-10 Ulrich Drepper <drepper@gmail.com>
27855
daa891c0
UD
27856 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
27857
27858 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
27859 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27860 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27861
e58ef0f2
UD
27862 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
27863
a47a831a 27864 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
27865 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27866 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 27867 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
27868
27869 * math/bits/math-finite.h: Add ldexp support.
27870
a0bfc9c7
MP
278712012-01-10 Marek Polacek <polacek@redhat.com>
27872
27873 * locale/programs/localedef.h (show_archive_content): Add noreturn
27874 attribute.
27875
d6e97a1d
UD
278762012-01-09 Ulrich Drepper <drepper@gmail.com>
27877
27878 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
27879
d5835c26
UD
278802012-01-08 Ulrich Drepper <drepper@gmail.com>
27881
e5f484c6
UD
27882 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
27883
d5835c26
UD
27884 * io/Makefile (headers): Add bits/poll2.h.
27885
d1f741e9
WS
278862011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
27887
27888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
27889 typo #include statement.
27890
ec09c1c4
UD
278912012-01-08 Ulrich Drepper <drepper@gmail.com>
27892
27893 * include/sys/cdefs.h: Define __attribute_alloc_size.
27894 * catgets/gencat.c: Add alloc_size attribute and apply consistently
27895 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
27896 * elf/pldd.c: Likewise.
27897 * iconv/iconv_charmap.c: Likewise.
27898 * iconv/iconvconfig.c: Likewise.
27899 * iconv/strtab.c: Likewise.
27900 * locale/programs/locale.c: Likewise.
27901 * locale/programs/localedef.h: Likewise.
27902 * locale/programs/simple-hash.c: Likewise.
27903 * nscd/nscd.h: Likewise.
27904 * nss/makedb.c: Likewise.
27905 * sysdeps/generic/ldconfig.h: Likewise.
27906 * locale/programs/localedef.c: Remove xmalloc prototype.
27907 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
27908
20b38e03
PP
279092012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27910
27911 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
27912 appropriate.
27913
a0da5fe1
UD
279142012-01-08 Ulrich Drepper <drepper@gmail.com>
27915
1d5a644a 27916 * math/Makefile (tests): Add tst-CMPLX.
669704fd 27917 * math/tst-CMPLX.c: New file.
1d5a644a 27918
8784a6db
UD
27919 * math/complex.h (CMPLXL): Fix typo.
27920
d9a216c0
UD
27921 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
27922 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
27923 GLIBC_2.16.
27924 * debug/tst-chk1.c: Add poll and ppoll tests.
27925 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
27926 * include/sys/poll.h: Add hidden proto for ppoll.
27927 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
27928 * sysdeps/mach/hurd/ppoll.c: Likewise.
27929 * io/ppoll.c: Likewise.
27930 * debug/poll_chk.c: New file.
27931 * debug/ppoll_chk.c: New file.
27932 * include/bits/poll2.h: New file.
27933 * io/bits/poll2.h: New file.
27934
ac097f5c
UD
27935 [BZ #1350]
27936 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
27937
2119dcfa
UD
27938 * configure.in: static is always set to yes. Remove.
27939 * config.make.in: Don't set build-static.
27940 * Makeconfig: Remove use of build-static.
27941 * dlfcn/Makefile: Likewise.
27942 * elf/Makefile: Likewise.
27943 * math/Makefile: Likewise.
27944 * misc/Makefile: Likewise.
27945 * nptl/Makefile: Likewise.
27946 * sysdeps/mach/hurd/Makefile: Likewise.
27947
121766a9
UD
27948 * configure.in: PWD_P is not used anymore.
27949 * config.make.in: Remove PWD_P entry.
27950
51a1d39c 27951 * configure.in: Remove last remnants of RANLIB.
8720d066 27952 No need to check for signed size_t anymore.
215f4bdc
UD
27953 Don't set libc_commonpagesize and libc_relro_required here for Alpha
27954 and IA-64.
3857022a 27955 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
27956 * aclocal.m4: Likewise.
27957
d3ed7225
UD
27958 * wcsmbs/mbrtoc16.c: Implement using towc function.
27959 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
27960 * wcsmbs/wcsmbsload.c: Likewise.
27961 * iconv/gconv_simple.c: Likewise.
27962 * iconv/gconv_int.h: Likewise.
27963 * iconv/gconv_builtin.h: Likewise.
27964 * iconv/iconv_prog.c: Remove CHAR16 handling.
27965
27966 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
27967
27968 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
27969
a0da5fe1
UD
27970 * configure.in: Remove --with-elf and --enable-bounded options.
27971 Dont set base_machine for ia64. More non-ELF conditions removed.
27972 Remove testing and setting of leading underscore information.
27973 * config.make.in (build-bounded): Set to no.
27974 * config.h.in: Remove NO_UNDERSCORES entry.
27975 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
27976 them.
27977 * csu/start.c: Remove !NO_UNDERSCORE code.
27978 * locale/localeinfo.h: Likewise.
27979 * sysdeps/generic/machine-gmon.h: Likewise.
27980 * sysdeps/generic/sysdep.h: Likewise.
27981 * sysdeps/i386/sysdep.h: Likewise.
27982 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27983 * sysdeps/mach/sysdep.h: Likewise.
27984 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27985 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27986 * sysdeps/sh/sysdep.h: Likewise.
27987 * sysdeps/sparc/sparc32/alloca.S: Likewise.
27988 * sysdeps/unix/i386/sysdep.S: Likewise.
27989 * sysdeps/unix/sparc/start.c: Likewise.
27990 * sysdeps/unix/sparc/sysdep.S: Likewise.
27991 * sysdeps/unix/sparc/sysdep.h: Likewise.
27992 * sysdeps/unix/start.c: Likewise.
27993 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27994 * sysdeps/x86_64/sysdep.h: Likewise.
27995
df78418a
UD
279962012-01-07 Ulrich Drepper <drepper@gmail.com>
27997
a784e502
UD
27998 [BZ #13553]
27999 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
28000 for non-gcc.
28001 * argp/argp-fmtstream.h: Use const instead __const.
28002 * argp/argp.h: Likewise.
28003 * assert/assert.h: Likewise.
28004 * bits/fenv.h: Likewise.
28005 * bits/sched.h: Likewise.
28006 * bits/sigset.h: Likewise.
28007 * bits/sigthread.h: Likewise.
28008 * catgets/nl_types.h: Likewise.
28009 * conform/data/pthread.h-data: Likewise.
28010 * crypt/crypt-private.h: Likewise.
28011 * crypt/crypt.h: Likewise.
28012 * crypt/crypt_util.c: Likewise.
28013 * ctype/ctype.h: Likewise.
28014 * debug/execinfo.h: Likewise.
28015 * debug/mbsnrtowcs_chk.c: Likewise.
28016 * debug/mbsrtowcs_chk.c: Likewise.
28017 * debug/wcsnrtombs_chk.c: Likewise.
28018 * debug/wcsrtombs_chk.c: Likewise.
28019 * debug/wcstombs_chk.c: Likewise.
28020 * dirent/dirent.h: Likewise.
28021 * dlfcn/dlfcn.h: Likewise.
28022 * elf/neededtest4.c: Likewise.
28023 * grp/grp.h: Likewise.
28024 * gshadow/gshadow.h: Likewise.
28025 * iconv/gconv.h: Likewise.
28026 * iconv/gconv_int.h: Likewise.
28027 * iconv/gconv_simple.c: Likewise.
28028 * iconv/iconv.h: Likewise.
28029 * iconv/loop.c: Likewise.
28030 * iconv/skeleton.c: Likewise.
28031 * include/aio.h: Likewise.
28032 * include/aliases.h: Likewise.
28033 * include/argz.h: Likewise.
28034 * include/arpa/inet.h: Likewise.
28035 * include/assert.h: Likewise.
28036 * include/dirent.h: Likewise.
28037 * include/dlfcn.h: Likewise.
28038 * include/execinfo.h: Likewise.
28039 * include/fcntl.h: Likewise.
28040 * include/fenv.h: Likewise.
28041 * include/glob.h: Likewise.
28042 * include/grp.h: Likewise.
28043 * include/libintl.h: Likewise.
28044 * include/mntent.h: Likewise.
28045 * include/netdb.h: Likewise.
28046 * include/pwd.h: Likewise.
28047 * include/rpc/netdb.h: Likewise.
28048 * include/sched.h: Likewise.
28049 * include/search.h: Likewise.
28050 * include/shadow.h: Likewise.
28051 * include/signal.h: Likewise.
28052 * include/stdio.h: Likewise.
28053 * include/stdlib.h: Likewise.
28054 * include/string.h: Likewise.
28055 * include/sys/socket.h: Likewise.
28056 * include/sys/stat.h: Likewise.
28057 * include/sys/statfs.h: Likewise.
28058 * include/sys/statvfs.h: Likewise.
28059 * include/sys/syslog.h: Likewise.
28060 * include/sys/time.h: Likewise.
28061 * include/sys/uio.h: Likewise.
28062 * include/time.h: Likewise.
28063 * include/unistd.h: Likewise.
28064 * include/utmp.h: Likewise.
28065 * include/wchar.h: Likewise.
28066 * include/wctype.h: Likewise.
28067 * inet/aliases.h: Likewise.
28068 * inet/arpa/inet.h: Likewise.
28069 * inet/netinet/ether.h: Likewise.
28070 * inet/netinet/in.h: Likewise.
28071 * intl/libintl.h: Likewise.
28072 * io/bits/fcntl2.h: Likewise.
28073 * io/fcntl.h: Likewise.
28074 * io/ftw.h: Likewise.
28075 * io/sys/poll.h: Likewise.
28076 * io/sys/stat.h: Likewise.
28077 * io/sys/statfs.h: Likewise.
28078 * io/sys/statvfs.h: Likewise.
28079 * io/utime.h: Likewise.
28080 * libio/bits/stdio.h: Likewise.
28081 * libio/bits/stdio2.h: Likewise.
28082 * libio/libio.h: Likewise.
28083 * libio/libioP.h: Likewise.
28084 * libio/stdio.h: Likewise.
28085 * locale/lc-ctype.c: Likewise.
28086 * locale/locale.h: Likewise.
28087 * login/utmp.h: Likewise.
28088 * malloc/arena.c: Likewise.
28089 * malloc/malloc.c: Likewise.
28090 * malloc/malloc.h: Likewise.
28091 * malloc/mcheck.c: Likewise.
28092 * malloc/mtrace.c: Likewise.
28093 * math/bits/mathcalls.h: Likewise.
28094 * math/fenv.h: Likewise.
28095 * math/math_private.h: Likewise.
28096 * misc/bits/error.h: Likewise.
28097 * misc/bits/syslog.h: Likewise.
28098 * misc/err.h: Likewise.
28099 * misc/error.h: Likewise.
28100 * misc/fstab.h: Likewise.
28101 * misc/mntent.h: Likewise.
28102 * misc/regexp.h: Likewise.
28103 * misc/search.h: Likewise.
28104 * misc/sgtty.h: Likewise.
28105 * misc/sys/mman.h: Likewise.
28106 * misc/sys/syslog.h: Likewise.
28107 * misc/sys/uio.h: Likewise.
28108 * misc/sys/xattr.h: Likewise.
28109 * misc/ttyent.h: Likewise.
28110 * nis/rpcsvc/ypclnt.h: Likewise.
28111 * nss/nss.h: Likewise.
28112 * posix/bits/unistd.h: Likewise.
28113 * posix/fnmatch.h: Likewise.
28114 * posix/glob.h: Likewise.
28115 * posix/sched.h: Likewise.
28116 * posix/spawn.h: Likewise.
28117 * posix/sys/wait.h: Likewise.
28118 * posix/unistd.h: Likewise.
28119 * posix/wordexp.h: Likewise.
28120 * pwd/pwd.h: Likewise.
28121 * resolv/netdb.h: Likewise.
28122 * resource/sys/resource.h: Likewise.
28123 * rt/aio.h: Likewise.
28124 * rt/bits/mqueue2.h: Likewise.
28125 * rt/mqueue.h: Likewise.
28126 * shadow/shadow.h: Likewise.
28127 * signal/signal.h: Likewise.
28128 * socket/send.c: Likewise.
28129 * socket/sendto.c: Likewise.
28130 * socket/sys/socket.h: Likewise.
28131 * stdio-common/printf.h: Likewise.
28132 * stdlib/bits/stdlib.h: Likewise.
28133 * stdlib/fmtmsg.h: Likewise.
28134 * stdlib/monetary.h: Likewise.
28135 * stdlib/stdlib.h: Likewise.
28136 * stdlib/ucontext.h: Likewise.
28137 * streams/stropts.h: Likewise.
28138 * string/argz.h: Likewise.
28139 * string/bits/string2.h: Likewise.
28140 * string/string.h: Likewise.
28141 * string/strings.h: Likewise.
28142 * sunrpc/rpc/auth.h: Likewise.
28143 * sunrpc/rpc/auth_des.h: Likewise.
28144 * sunrpc/rpc/clnt.h: Likewise.
28145 * sunrpc/rpc/netdb.h: Likewise.
28146 * sunrpc/rpc/pmap_clnt.h: Likewise.
28147 * sunrpc/rpc/xdr.h: Likewise.
28148 * sysdeps/generic/inttypes.h: Likewise.
28149 * sysdeps/generic/net/if.h: Likewise.
28150 * sysdeps/generic/sys/swap.h: Likewise.
28151 * sysdeps/gnu/net/if.h: Likewise.
28152 * sysdeps/gnu/utmpx.h: Likewise.
28153 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
28154 * sysdeps/i386/i486/bits/string.h: Likewise.
28155 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
28156 * sysdeps/s390/bits/string.h: Likewise.
28157 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
28158 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
28159 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
28160 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
28161 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
28162 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
28163 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
28164 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
28165 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
28166 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28167 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
28168 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28169 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
28170 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28171 * sysdeps/unix/sysv/linux/readv.c: Likewise.
28172 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
28173 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28174 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28175 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
28176 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
28177 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28178 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
28179 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
28180 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
28181 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
28182 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
28183 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
28184 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28185 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
28186 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
28187 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
28188 * sysvipc/sys/ipc.h: Likewise.
28189 * sysvipc/sys/msg.h: Likewise.
28190 * sysvipc/sys/sem.h: Likewise.
28191 * sysvipc/sys/shm.h: Likewise.
28192 * termios/termios.h: Likewise.
28193 * time/sys/time.h: Likewise.
28194 * time/time.h: Likewise.
28195 * wcsmbs/bits/wchar2.h: Likewise.
28196 * wcsmbs/uchar.h: Likewise.
28197 * wcsmbs/wchar.h: Likewise.
28198 * wctype/wctype.h: Likewise.
28199
0269750c
UD
28200 [BZ #13551]
28201 * Makeconfig: Remove all but ELF support including AIX support.
28202 * Makerules: Likewise.
28203 * config.h.in: Likewise.
28204 * config.make.in: Likewise.
28205 * configure: Likewise.
28206 * configure.in: Likewise.
28207 * csu/Makefile: Likewise.
28208 * csu/version.c: Likewise.
28209 * debug/Makefile: Likewise.
28210 * dlfcn/Makefile: Likewise.
28211 * elf/Makefile: Likewise.
28212 * extra-lib.mk: Likewise.
28213 * iconv/Makefile: Likewise.
28214 * include/libc-symbols.h: Likewise.
28215 * include/shlib-compat.h: Likewise.
28216 * resolv/Makefile: Likewise.
28217 * resolv/res_libc.c: Likewise.
28218 * rt/Makefile: Likewise.
28219 * sysdeps/i386/asm-syntax.h: Likewise.
28220 * sysdeps/i386/sysdep.h: Likewise.
28221 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28222 * sysdeps/mach/sysdep.h: Likewise.
28223 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
28224 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
28225 * sysdeps/s390/asm-syntax.h: Likewise.
28226 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28227 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28228 * sysdeps/sh/sysdep.h: Likewise.
28229 * sysdeps/unix/sparc/sysdep.h: Likewise.
28230 * sysdeps/wordsize-32/divdi3.c: Likewise.
28231 * sysdeps/x86_64/sysdep.h: Likewise.
28232
00bbd29b
UD
28233 * argp/Versions: Remove _argp_unlock_xxx.
28234
28235 [BZ #13559]
28236 * abilist/ld.abilist: Update. Adjust for removal of tls option.
28237 * abilist/libBrokenLocale.abilist: Likewise.
28238 * abilist/libanl.abilist: Likewise.
28239 * abilist/libc.abilist: Likewise.
28240 * abilist/libcrypt.abilist: Likewise.
28241 * abilist/libdl.abilist: Likewise.
28242 * abilist/libm.abilist: Likewise.
28243 * abilist/libnsl.abilist: Likewise.
28244 * abilist/libpthread.abilist: Likewise.
28245 * abilist/libresolv.abilist: Likewise.
28246 * abilist/librt.abilist: Likewise.
28247 * abilist/libthread_db.abilist: Likewise.
28248 * abilist/libutil.abilist: Likewise.
28249 * abilist/libnss_db.abilist: New file.
28250
28251 * scripts/abilist.awk: Add support for indirect functions.
28252
a2693a0e
UD
28253 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
28254
3f05895f
UD
28255 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
28256
ecb6fb48
UD
28257 * shlib-versions: Remove entries for ports architectures.
28258
664f8cb9
UD
28259 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
28260 files in ports.
28261 * elf/stackguard-macros.h: Remove support for IA-64.
28262 * elf/tst-auditmod1.c: Likewise.
28263 * sysdeps/generic/ldsodefs.h: Likewise.
28264
7ae81d88
UD
28265 * sysdeps/unix/sysv/linux/configure.in: Ports should define
28266 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
28267 configure files.
28268
bdeba135
UD
28269 [BZ #13552]
28270 * configure.in: Remove --enable-omitfp support.
28271 * FAQ.in: Adjust.
28272 * config.make.in: Likewise.
28273 * Makeconfig: Likewise.
28274 * manual/install.texi: Likewise.
28275
d75a0a62
UD
28276 In case anyone cares, the IA-64 architecture could move to ports.
28277 * sysdeps/ia64/*: Removed.
28278 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 28279 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 28280
dcc9756b
UD
28281 [BZ #13555]
28282 * configure.in: Remove entries for unsupported architectures.
28283
d3761ebc 28284 [BZ #13533]
9954432e
UD
28285 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
28286 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
28287 routines.
28288 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
28289 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
28290 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
28291 fall back to using wcrtomb.
28292 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
28293 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
28294 renaming.
28295 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
28296 * wcsmbs/tst-c16c32-1.c: New file.
28297
28298 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
28299 local variable.
28300
c3a87236
UD
28301 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
28302
28926a1b
UD
28303 * elf/tst-unique3.cc: Add explicit declaration of gets.
28304 * elf/tst-unique3lib.cc: Likewise.
28305 * elf/tst-unique3lib2.cc: Likewise.
28306 * elf/tst-unique4.cc: Likewise.
28307
df78418a
UD
28308 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
28309
8ecd6b2a
JM
283102012-01-06 Joseph Myers <joseph@codesourcery.com>
28311
28312 [BZ #13566]
28313 * assert/assert.h (static_assert): Don't define for C++.
28314 * libio/stdio.h (gets): Do declare for C++ <= C++11.
28315 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
28316
9f115170
UD
283172012-01-03 Ulrich Drepper <drepper@gmail.com>
28318
5e0d0300
UD
28319 * iconv/loop.c (single loop): Fix assertion in storing of
28320 remaining bytes.
28321
9f115170
UD
28322 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
28323
81fb02b0
UD
283242012-01-01 Ulrich Drepper <drepper@gmail.com>
28325
28326 * posix/getconf.c: Update copyright year.
28327 * nss/getent.c: Likewise.
a316c1f6 28328 * nss/makedb.c: Likewise.
81fb02b0
UD
28329 * iconv/iconvconfig.c: Likewise.
28330 * iconv/iconv_prog.c: Likewise.
28331 * elf/ldconfig.c: Likewise.
a316c1f6
UD
28332 * elf/pldd.c: Likewise.
28333 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
28334 * catgets/gencat.c: Likewise.
28335 * csu/version.c: Likewise.
28336 * elf/ldd.bash.in: Likewise.
28337 * elf/sprof.c (print_version): Likewise.
28338 * locale/programs/locale.c: Likewise.
28339 * locale/programs/localedef.c: Likewise.
a316c1f6 28340 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
28341 * nscd/nscd.c (print_version): Likewise.
28342 * debug/xtrace.sh: Likewise.
28343 * malloc/memusage.sh: Likewise.
28344 * malloc/mtrace.pl: Likewise.
28345 * debug/catchsegv.sh: Likewise.
28346
2ba92745
JJ
283472011-12-30 Jakub Jelinek <jakub@redhat.com>
28348
28349 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
28350 pure attribute.
28351
dadebdae
UD
283522011-12-24 Ulrich Drepper <drepper@gmail.com>
28353
d3761ebc 28354 [BZ #13533]
db6af3eb
UD
28355 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
28356 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
28357 transformations.
28358 * iconv/gconv_int.h: Likewise.
28359 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
28360 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
28361 from libc for GLIBC_2.16.
28362 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
28363 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
28364 * wcsmbs/uchar.h: Really define mbstate_t.
28365 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
28366 * wcsmbs/c16rtomb.c: New file.
28367 * wcsmbs/mbrtoc16.c: New file.
28368 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
28369 for C/POSIX locale.
28370 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
28371 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
28372
dadebdae
UD
28373 * wcsmbs/wchar.h: Add missing __restrict.
28374
67371b56
UD
283752011-12-23 Ulrich Drepper <drepper@gmail.com>
28376
74033a25
UD
28377 [BZ #13532]
28378 * time/Makefile (routines): Add timespec_get.
28379 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
28380 * time/time.h: Define TIME_UTC and declare timespec_get. Define
28381 timespec for ISO C11.
28382 * time/timespec_get.c: New file.
28383 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
28384 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
28385
380d7e87
UD
28386 [BZ #13531]
28387 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
28388 * stdlib/stdlib.h: Declare aligned_alloc.
28389 * Versions.def: Add GLIBC_2.16 for libc.
28390 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
28391
4e9e7a35
UD
28392 [BZ 13527]
28393 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
28394 ISO C11.
28395
380d7e87 28396 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
28397 code.
28398
03a71829
UD
28399 [BZ #13528]
28400 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
28401
839e283e
UD
28402 [BZ #13529]
28403 * assert/assert.h (static_assert): Define.
28404
ce5294e2 28405 * version.h: Update for 2.16 development version.
90fa7312 28406
8d44e150 28407 [BZ #13526]
d7809905
UD
28408 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
28409 _ISOC11_SOURCE.
28410
c0da14cd
UD
28411 * version.h (RELEASE): Bump for 2.15 release.
28412 * include/features.h (__GLIBC_MINOR__): Bump to 15.
28413
530a3249
MP
28414 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
28415 Patch by Marek Polacek <mpolacek@redhat.com>.
28416
67371b56
UD
28417 * bits/byteswap.h: Protect long long constants with __extension__.
28418 * sysdeps/i386/bits/byteswap.h: Likewise.
28419 * sysdeps/ia64/bits/byteswap.h: Likewise.
28420 * sysdeps/s390/bits/byteswap.h: Likewise.
28421 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28422
15db4de1
LD
284232011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28424
28425 [BZ #13540]
bbe315ea
LD
28426 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
28427 destination buffer.
15db4de1
LD
28428 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
28429
2b2596b1
MP
284302011-12-23 Marek Polacek <polacek@redhat.com>
28431
28432 * elf/dl-addr.c (determine_info): Add inline keyword.
28433 * elf/tst-auditmod4b.c (check_avx): Likewise.
28434 * elf/tst-auditmod6b.c (check_avx): Likewise.
28435 * elf/tst-auditmod6c.c (check_avx): Likewise.
28436 * elf/tst-auditmod7b.c (check_avx): Likewise.
28437
70c6c246
UD
284382011-12-23 Ulrich Drepper <drepper@gmail.com>
28439
28440 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
28441 !__SSE_MATH__.
28442
c044cf14
LD
284432011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28444
15db4de1 28445 [BZ #13540]
c044cf14
LD
28446 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
28447 processing for last bytes.
28448
6b13d9d9
BH
284492011-08-06 Bruno Haible <bruno@clisp.org>
28450
d455f537
BH
28451 [BZ #13061]
28452 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
28453 U+0385, not to U+1FEE.
28454
6b13d9d9
BH
28455 [BZ #13062]
28456 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
28457 entry for U+00A5 U+0301.
28458
db910efd
UD
284592011-12-22 Ulrich Drepper <drepper@gmail.com>
28460
27deeafc
UD
28461 [BZ #13166]
28462 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
28463 buffer for the output is too small.
28464
aed9d171
UD
28465 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
28466 optimization.
28467
db910efd
UD
28468 [BZ #13185]
28469 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
28470 SSE flags if possible.
28471
2bd779ae
LD
284722011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28473
e7f9dac3 28474 [BZ #13540]
2bd779ae
LD
28475 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
28476 processing for last bytes.
28477
154bfc16
JM
284782011-12-22 Joseph Myers <joseph@codesourcery.com>
28479
28480 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
28481 (syscall-list-default-options, syscall-list-default-condition)
28482 (syscall-list-includes): Define.
28483 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
28484 list of ABIs and options and #if conditions for each ABI. Do not
28485 handle common syscalls between ABIs specially.
28486 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
28487 Remove.
28488 (syscall-list-variants, syscall-list-32bit-options)
28489 (syscall-list-32bit-condition, syscall-list-64bit-options)
28490 (syscall-list-64bit-condition): Define.
28491 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
28492 (syscall-list-variants, syscall-list-32bit-options)
28493 (syscall-list-32bit-condition, syscall-list-64bit-options)
28494 (syscall-list-64bit-condition): Define.
28495 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
28496 Remove.
28497 (syscall-list-variants, syscall-list-32bit-options)
28498 (syscall-list-32bit-condition, syscall-list-64bit-options)
28499 (syscall-list-64bit-condition): Define.
28500 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
28501 Remove.
28502 (syscall-list-variants, syscall-list-32bit-options)
28503 (syscall-list-32bit-condition, syscall-list-64bit-options)
28504 (syscall-list-64bit-condition): Define.
28505
21eaf3a5
UD
285062011-12-22 Ulrich Drepper <drepper@gmail.com>
28507
16c6f992
UD
28508 * locale/iso-639.def: Add brx entry.
28509
41043168
UD
28510 [BZ #13328]
28511 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
28512 Proposed by Mariusz_Cukr <marcukr@op.pl>.
28513
21eaf3a5
UD
28514 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
28515 __feraiseexcept_renamed.
28516
e3a851a2
UD
285172011-12-21 Ulrich Drepper <drepper@gmail.com>
28518
4920765e
UD
28519 [BZ #13538]
28520 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
28521 EPOLLET with unsigned values.
28522 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28523 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28524
e3a851a2
UD
28525 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
28526 to large cancellation.
28527 * math/s_cacoshf.c: Likewise.
28528 * math/s_cacoshl.c: Likewise.
28529
b27e24b8
RK
285302011-11-18 Richard B. Kreckel <kreckel@ginac.de>
28531
28532 [BZ #13305]
aebefeee 28533 [BZ #12786]
b27e24b8
RK
28534 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
28535 * math/s_cacoshf.c: Likewise.
28536 * math/s_cacoshl.c: Likewise.
28537
ee190f67
UD
285382011-12-21 Ulrich Drepper <drepper@gmail.com>
28539
28540 [BZ #13439]
28541 * iconv/gconv.h: Define __GCONV_SWAP.
28542 * iconvdata/unicode.c: The swap bit must be stored in __flags.
28543 * iconvdata/utf-16.c: Likewise.
28544 * iconvdata/utf-32.c: Likewise.
28545
707f25df
AS
285462011-12-21 Andreas Schwab <schwab@linux-m68k.org>
28547
28548 [BZ #13524]
28549 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
28550 numerator after shifting it by one limb.
28551
d2daaa1e
RÁE
285522011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
28553
28554 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
28555 under [__USE_EXTERN_INLINES].
28556
a4647e72
UD
285572011-12-17 Ulrich Drepper <drepper@gmail.com>
28558
28559 [BZ #13446]
28560 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
28561
f0b264f1
AZ
285622011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28563
28564 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
28565 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
28566 optimized code.
28567 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
28568 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
28569 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
28570 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
28571 for strncasecmp/strncasecmp_l compilation.
28572 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
28573 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
28574
8ef4f244
MP
285752011-12-08 Marek Polacek <mpolacek@redhat.com>
28576
28577 [BZ #13484]
28578 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
28579 of __asm__.
28580
97ac2654
UD
285812011-12-17 Ulrich Drepper <drepper@gmail.com>
28582
28583 [BZ #13506]
28584 * time/tzfile.c (__tzfile_read): Check values from file header.
28585
91d2a845
WS
285862011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28587
28588 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
28589 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
28590 * powerpc/powerpc32/dl-start.S: Likewise.
28591 * powerpc/powerpc32/elf/start.S: Likewise.
28592 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28593 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
28594 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
28595 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
28596 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
28597 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
28598 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
28599 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28600 * powerpc/powerpc32/fpu/s_round.S: Likewise.
28601 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
28602 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
28603 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
28604 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
28605 * powerpc/powerpc32/memset.S: Likewise.
28606 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
28607 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28608 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28609 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28610 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28611 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28612 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28613 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28614 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
28615 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
28616 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
28617 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28618 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28619
a1267ba1
AZ
286202011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28621
28622 * math/libm-test.inc: Added more nearbyint tests.
28623 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
28624 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
28625 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
28626 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
28627
ad8ac1bd
RL
286282011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
28629
28630 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
28631 FD_CLOEXEC.
28632
1d3e4b61
UD
286332011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28634
28635 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
28636 Add wcscpy-ssse3 wcscpy-c.
28637 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
28638 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
28639 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
28640 * sysdeps/x86_64/wcschr.S: New file.
28641 * sysdeps/x86_64/wcsrchr.S: New file.
28642 * string/test-strcmp.c: Remove checking of wcscmp function for
28643 wrong alignments.
28644 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
28645 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
28646 wcsrchr-sse2 wcsrchr-c.
28647 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
28648 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
28649 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
28650 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
28651 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
28652 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
28653 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
28654 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
28655 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
28656 * wcsmbc/wcschr.c (WCSCHR): New macro.
28657
5b330a2d
UD
286582011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28659
28660 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
28661 * wcsmbs/test-wcsrchr.c: New file.
28662 * string/test-strrchr.c: Add wcsrchr support.
28663 (WIDE): New macro.
28664 * wcsmbs/test-wcscpy.c: New file.
28665 * string/test-strcpy.c: Add wcscpy support.
28666 (WIDE): New macro.
26428b7c 28667
f039c043
UD
286682011-12-10 Ulrich Drepper <drepper@gmail.com>
28669
28670 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
28671 the inner loop.
28672
850fb039
AS
286732011-12-06 Andreas Schwab <schwab@linux-m68k.org>
28674
28675 [BZ #13472]
28676 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
28677
4efbd5cb
UD
286782011-12-04 Ulrich Drepper <drepper@gmail.com>
28679
52ff5dd0 28680 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 28681 Minor optimizations.
52ff5dd0 28682
4efbd5cb
UD
28683 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
28684 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
28685 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
28686
8a426e12
UD
286872011-12-03 Ulrich Drepper <drepper@gmail.com>
28688
aff2453d
UD
28689 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
28690 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
28691 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
28692 for gcc to avoid warnings.
28693 * inet/Makefile (tests): Add tst-checks.
28694 * inet/tst-checks.c: New file.
28695
28696 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
28697 warning.
28698
28699 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
28700 __wmemcmp_sse2.
28701
28702 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
28703 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
28704
8a426e12
UD
28705 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
28706
9bea3473
UD
287072011-12-02 Ulrich Drepper <drepper@gmail.com>
28708
3a965496
UD
28709 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
28710 problem.
28711
9bea3473
UD
28712 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
28713
f101631b
UD
287142011-11-29 Joseph Myers <joseph@codesourcery.com>
28715
28716 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
28717 conditional on GCC version.
28718 (__arch_compare_and_exchange_val_8_acq)
28719 (__arch_compare_and_exchange_val_16_acq)
28720 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
28721 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
28722 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
28723
a98275aa
UD
287242011-12-02 Joseph Myers <joseph@codesourcery.com>
28725
28726 * sysdeps/sh/backtrace.c: New file.
28727
d4cc29a2
AS
287282011-12-02 Andreas Schwab <schwab@redhat.com>
28729
28730 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
28731 parenthesis.
28732
6257af2d
AS
287332011-12-01 Andreas Schwab <schwab@redhat.com>
28734
28735 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
28736 falling back to utime.
28737
b5f44c1a
AS
287382011-11-30 Andreas Schwab <schwab@redhat.com>
28739
28740 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
28741 expectations for float.
28742
f3a6cc0a
AS
287432011-11-29 Andreas Schwab <schwab@redhat.com>
28744
28745 * locale/weight.h (findidx): Add parameter len.
28746 * locale/weightwc.h (findidx): Likewise.
28747 * posix/fnmatch_loop.c (FCT): Adjust caller.
28748 * posix/regcomp.c (build_equiv_class): Likewise.
28749 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
28750 * posix/regexec.c (check_node_accept_bytes): Likewise.
28751 * string/strcoll_l.c (STRCOLL): Likewise.
28752 * string/strxfrm_l.c (STRXFRM): Likewise.
28753
9d65ea3a
UD
287542011-11-17 Ulrich Drepper <drepper@gmail.com>
28755
28756 * Makefile.in: Remove CVSOPT handling.
28757 * configure.in: Remove use of AC_REVISION.
28758 * iconvdata/Makefile (distribute): No need to filter out CVS.
28759 * scripts/list-sources.sh: Remove CVS, subversion and monotone
28760 handling.
28761
5583a086
AS
287622011-11-16 Andreas Schwab <schwab@redhat.com>
28763
28764 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
28765 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
28766 [USE_AS_STRNCASECMP_L]: Likewise.
28767 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
28768 NO_TLS_DIRECT_SEG_REFS.
28769 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
28770 Fix argument offsets for non-PIC.
28771 [USE_AS_STRNCASECMP_L]: Likewise.
28772 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
28773 NO_TLS_DIRECT_SEG_REFS.
28774
d62a8200
UD
287752011-11-15 Ulrich Drepper <drepper@gmail.com>
28776
9d65ea3a 28777 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
28778 O_CLOEXEC.
28779 * locale/loadlocale.c (_nl_load_locale): Likewise.
28780
09f93bd3
AS
287812011-11-15 Andreas Schwab <schwab@redhat.com>
28782
446514f9
AS
28783 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
28784 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
28785 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
28786 (SYSCALL_GETTIME): Set errno on error.
28787
09f93bd3
AS
28788 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
28789 count references to noai6ai_cached.
28790
312be3f9
UD
287912011-11-15 Ulrich Drepper <drepper@gmail.com>
28792
28793 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
28794
28795 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
28796 FD_CLOEXEC for /proc/self/maps.
28797
28798 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
28799 FD_CLOEXEC for /proc/meminfo.
28800
28801 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
28802 gai.conf.
28803
28804 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
28805 FD_CLOEXEC for given file.
28806
28807 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
28808
28809 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
28810 FD_CLOEXEC for /etc/hosts.
28811 (_gethtent): Likewise.
28812
28813 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
28814
28815 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
28816 cancellation and set FD_CLOEXEC for /etc/netgroup.
28817
28818 * nss/nss_files/files-key.c (search): Don't allow cancellation when
28819 reading /etc/publickey.
28820
28821 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
28822 allow cancellation when reading /etc/group.
28823
28824 * nss/nss_files/files-alias.c (internal_setent): Don't allow
28825 cancellation.
28826 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
28827
28828 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
28829 when using data file.
28830
28831 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
28832
28833 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
28834 (write_nis_obj): Use "c" and "e" in fopen.
28835
28836 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
28837
28838 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
28839
28840 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
28841
28842 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
28843
28844 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
28845 locale.alias.
28846
28847 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
28848
28849 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
28850
28851 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
28852
28853 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
28854 file parsing and set FD_CLOEXEC.
28855
82af0fa8
UD
288562011-11-14 Ulrich Drepper <drepper@gmail.com>
28857
28858 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
28859
a5fb313c
AS
288602011-11-14 Andreas Schwab <schwab@redhat.com>
28861
28862 * malloc/arena.c (arena_get2): Don't call reused_arena when
28863 _int_new_arena failed.
28864
6abf3465
UD
288652011-11-14 Ulrich Drepper <drepper@gmail.com>
28866
28867 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
28868 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
28869 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
28870 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28871 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28872 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
28873 to compile strcasecmp and strncasecmp.
28874 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
28875 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
28876
28877 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
28878
76e3966e
UD
288792011-11-13 Ulrich Drepper <drepper@gmail.com>
28880
28881 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
28882 locale-defines.sym to gen-as-const-headers.
28883 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
28884 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
28885 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
28886 to compile strcasecmp and strncasecmp.
28887 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
28888 strcasecmp_l and strncasecmp_l.
28889 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
28890 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
28891 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
28892 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
28893 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
28894 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
28895 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
28896 * sysdeps/i386/i686/multiarch/strncase.S: New file.
28897 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
28898 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
28899 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
28900
ab26144e
UD
289012011-11-12 Ulrich Drepper <drepper@gmail.com>
28902
7edb22ef
UD
28903 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
28904 result of SYSDEP_GETTIME_CPU to retval.
28905 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
28906 parameter list to macro. Remove trailing semicolon. Adjust users.
28907
9694fc44
UD
28908 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
28909 variable.
28910
8ad89ef8
UD
28911 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
28912 mantissa words.
28913 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
28914
0c822ef9
UD
28915 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
28916 from unused variable.
28917
874e0564
UD
28918 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
28919 DWARF definitions.
28920 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
28921 for assembling.
28922
3a2edc79
UD
28923 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
28924 over namespaces.
28925
f3c2577f
UD
28926 * sunrpc/rpc_prot.c (rejected): Fix case value.
28927
294ce126
UD
28928 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
28929 unsigned long long int to avoid warnings in shift.
28930
5e2b63c6
UD
28931 * posix/regex_internal.c (re_string_reconstruct): Actually use result
28932 of use of trans.
28933 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
28934 variable tmp.
28935
e7f4b08e
UD
28936 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
28937 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
28938 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
28939
ab26144e
UD
28940 * nis/nis_table.c (nis_list): Use variable of correct type for
28941 result of __follow_path call.
28942
8a6d5255
AZ
289432011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28944
28945 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
28946 of math functions ceil, trunc, floor, round, and sqrt, when
28947 avaliable on the platform.
28948 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
28949 name clash.
28950 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28951 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28952 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28953
aaddc98c
MP
289542011-10-30 Marek Polacek <mpolacek@redhat.com>
28955
28956 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
28957 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28958
95b7042b
RM
289592011-11-11 Roland McGrath <roland@hack.frob.com>
28960
28961 * include/unistd.h: Fix __readlink return type.
28962 Reported by Chris Metcalf <cmetcalf@tilera.com>.
28963
57769839
UD
289642011-11-11 Ulrich Drepper <drepper@gmail.com>
28965
28966 * stdlib/ucontext.h: Undo last change for makecontext.
28967
edc5984d
AS
289682011-11-11 Andreas Schwab <schwab@redhat.com>
28969
98591e58
AS
28970 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
28971
edc5984d
AS
28972 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
28973 * setjmp/setjmp.h: Mark functions as non-leaf.
28974 * setjmp/bits/setjmp2.h: Likewise.
28975 * stdlib/ucontext.h: Likewise.
28976
77cdc054
AS
289772011-11-10 Andreas Schwab <schwab@redhat.com>
28978
28979 * malloc/arena.c (_int_new_arena): Don't increment narenas.
28980 (reused_arena): Don't check arena limit.
28981 (arena_get2): Atomically check arena limit.
28982
fe72eebd
UD
289832011-11-08 Ulrich Drepper <drepper@gmail.com>
28984
5f078c32
UD
28985 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
28986 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
28987
fe72eebd
UD
28988 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
28989 instructions.
28990
ae1bc2fa
AS
289912011-11-07 Andreas Schwab <schwab@redhat.com>
28992
7583a88d
AS
28993 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
28994 handler when locking.
28995
ae1bc2fa
AS
28996 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28997 Fix size of allocated buffer.
28998
10fb0bfa
AS
289992011-11-04 Andreas Schwab <schwab@redhat.com>
29000
998832a4
AS
29001 [BZ #10103]
29002 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
29003 declarations for long double functions.
29004 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
29005
10fb0bfa
AS
29006 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
29007
3d7ba52b
AS
290082011-11-03 Andreas Schwab <schwab@redhat.com>
29009
a9ae54a1
AS
29010 * nscd/nscd.c (main): Don't start AVC thread until credentials are
29011 installed.
29012
3d7ba52b
AS
29013 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
29014 is disabled.
29015
bc8db248
ST
290162011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
29017
29018 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
29019
45b96dd6
AS
290202011-11-01 Andreas Schwab <schwab@linux-m68k.org>
29021
647776f6
AS
29022 * include/alloca.h (stackinfo_alloca_round): Define.
29023 (extend_alloca): Use it.
29024 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
29025 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
29026 here.
29027
d91a8b93
AS
29028 * scripts/check-local-headers.sh: Ignore libaudit.h.
29029
45b96dd6
AS
29030 * nscd/Makefile (extra-objs): Make recursively expanded.
29031
432d41ce
UD
290322011-11-01 Ulrich Drepper <drepper@gmail.com>
29033
34372fc6
UD
29034 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
29035 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29036
fadb59f8
UD
29037 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
29038 * posix/tst-rfc3484-2.c: Likewise.
29039 * posix/tst-rfc3484-3.c: Likewise.
29040
78239589
UD
29041 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29042 process_vm_writev.
29043 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
29044 process_vm_writev.
29045 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
29046 process_vm_writev from libc using GLIBC_2.15 version.
29047
432d41ce
UD
29048 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
29049
02f9c6cf
PP
290502011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
29051
29052 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
29053 stack usage.
29054
3a2c0242
UD
290552011-10-31 Ulrich Drepper <drepper@gmail.com>
29056
f4ec4833
UD
29057 [BZ #13367]
29058 * nss/getent.c (initgroups_keys): Show error message in case no group
29059 names are given.
29060
3a2c0242
UD
29061 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
29062 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
29063 __bump_nl_timestamp.
29064 * nscd/connections (nscd_init): When host database is served open
29065 netlink socket and request notification about configuration changes.
29066 (main_loop_poll): Track netlink file descriptor and bump timestamp
29067 in case data becomes available.
29068 (main_loop_epoll): Likewise.
29069 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
29070 (database_pers_head): Add extra_data fileds.
29071 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
29072 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
29073 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
29074 Adjust caller.
29075 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
29076 in6ai data, call __free_in6ai.
29077 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
29078 Add -DHAVE_NETLINK.
29079 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
29080 interface information. Reuse previous data if netlink timestamp
29081 is not changed.
29082 (__bump_nl_timestamp): New function.
29083 (__free_in6ai): New function.
29084
636064eb
UD
290852011-10-30 Ulrich Drepper <drepper@gmail.com>
29086
29087 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
29088 close_not_cancel_no_status here.
29089 (__check_pf): Reorganize code a bit to not call close twice if OOM.
29090
9beb2334
UD
290912011-10-29 Ulrich Drepper <drepper@gmail.com>
29092
6ef76f3b
UD
29093 [BZ #13276]
29094 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
29095 return value.
29096
0ffc4f3e 29097 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
29098 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
29099 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
29100
cb95113e
UD
291012011-07-03 Andreas Jaeger <aj@suse.de>
29102
29103 [BZ #10709]
29104 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
29105 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
29106 * math/libm-test.inc (sin_test): Add test case.
29107
a1b560ff
UD
291082011-10-29 Ulrich Drepper <drepper@gmail.com>
29109
c9aaface
UD
29110 [BZ #13337]
29111 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
29112 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29113
d272e7f1
UD
29114 * elf/chroot_canon.c (chroot_canon): Cleanups.
29115
1bc33071
UD
29116 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
29117
1760874d
TJ
29118 [BZ #13335]
29119 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
29120 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29121
51d91b18
UD
29122 * string/test-strchr.c: Make usable for strchrnul testing.
29123 * string/test-strchrnul.c: New file.
29124 * string/Makefile (strop-tests): Add strchrnul.
29125
a1b560ff 29126 * po/it.po: Update from translation team.
b611fb81 29127 * po/es.po: Likewise.
a1b560ff 29128
a5b81e1f
UD
291292011-10-28 Ulrich Drepper <drepper@gmail.com>
29130
fd52bc6d
UD
29131 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
29132 the three constants needed as parameters. Drop the others.
29133 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
29134 __m128i_strloadu_tolower.
52e4b9eb
UD
29135 Create and initialize variable zero and use it in all the places
29136 where _mm_setzero_si128 was used.
fd52bc6d 29137
a5b81e1f
UD
29138 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
29139 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
29140 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
29141 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
29142 anymore.
29143 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
29144 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
29145 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
29146 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
29147 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
29148 __mpranred, __mptan.
29149 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
29150 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
29151 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
29152 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
29153 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
29154 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
29155 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
29156 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
29157 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
29158
b4343346
AS
291592011-10-28 Andreas Schwab <schwab@redhat.com>
29160
0c92d8a8
AS
29161 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
29162 redefine if SHARED.
29163 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
29164
b4343346
AS
29165 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
29166 wide char related routines to wcsmbs subdir.
29167
3871f58f
AS
291682011-10-27 Andreas Schwab <schwab@redhat.com>
29169
29170 [BZ #13344]
29171 * misc/sys/cdefs.h (__THROWNL): Define.
29172 * posix/unistd.h: Use __THREADNL instead of __THREAD
29173 for memory synchronization functions.
29174
94d44d9f
RM
291752011-10-26 Roland McGrath <roland@hack.frob.com>
29176
21b64b15 29177 [BZ #13349]
94d44d9f
RM
29178 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
29179 doesn't exist.
29180 * manual/stdio.texi (Obstack Streams): Node removed.
29181
f6ce9294
AS
291822011-10-26 Andreas Schwab <schwab@redhat.com>
29183
80479147
AS
29184 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
29185 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29186 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29187
f6ce9294
AS
29188 * math/math_private.h (math_force_eval): Allow non-addressable
29189 arguments.
29190 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
29191
618280a1
UD
291922011-10-25 Ulrich Drepper <drepper@gmail.com>
29193
e0016b11
UD
29194 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
29195 file is not needed.
29196
29197 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
29198 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
29199 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29200 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29201 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29202 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29203 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29204 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
29205 Add AVX variants.
29206 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
29207 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
29208 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
29209 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
29210 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
29211 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
29212 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
29213 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
29214 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
29215 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
29216 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
29217 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
29218 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
29219 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
29220 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
29221 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
29222 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
29223 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
29224 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
29225
29226 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
29227 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
29228
618280a1
UD
29229 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
29230 place. Use VEX encoding when compiling for AVX.
29231
37822576
AS
292322011-10-25 Andreas Schwab <schwab@redhat.com>
29233
1f1e1947
AS
29234 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
29235 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29236
37822576
AS
29237 * string/test-strchr.c (do_test): Don't generate NUL bytes.
29238
31ea014d
UD
292392011-10-25 Ulrich Drepper <drepper@gmail.com>
29240
d7826aa1 29241 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 29242 useless if() expression.
d7826aa1
UD
29243 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29244 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29245 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29246 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29247 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29248 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29249 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29250 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29251 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29252 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29253 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29254 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29255 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29256 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29257 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29258 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29259 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29260 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29261 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29262
31ea014d
UD
29263 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
29264
16437fec
AS
292652011-10-25 Andreas Schwab <schwab@redhat.com>
29266
29267 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
29268 condition.
29269 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29270
31d3cc00
UD
292712011-10-25 Ulrich Drepper <drepper@gmail.com>
29272
29273 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
29274 .text section. Avoid duplicate constants.
29275 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29276 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29277 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29278 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29279 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29280 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29281 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29282 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29283 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29284 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
29285 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29286 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29287 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29288 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29289 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29290 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29291 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29292 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29293 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29294 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29295 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29296 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29297 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29298 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
29299 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
29300 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
29301 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
29302 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
29303 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
29304 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
29305 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
29306 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
29307 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29308 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
29309 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
29310 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
29311 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
29312 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
29313 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
29314 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
29315 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
29316 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
29317 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
29318 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
29319 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
29320
58985aa9
UD
293212011-10-24 Ulrich Drepper <drepper@gmail.com>
29322
202c9deb
UD
29323 * sysdeps/x86_64/dla.h: Move to ...
29324 * sysdeps/x86_64/fpu/dla.h: ...here.
29325 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
29326 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 29327
af968f62
UD
29328 * config.make.in: Add have-mfma4 entry.
29329 * configure.in: Substitute libc_cv_cc_fma4.
29330 * math/Makefile (dbl-only-routines): Add sincostab.
29331 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
29332 Use __sincostab not sincos.
29333 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
29334 name is a macro.
29335 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29336 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29337 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29338 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
29339 using __copysign.
29340 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
29341 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
29342 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
29343 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
29344 and __inv.
29345 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
29346 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
29347 __copysign.
29348 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
29349 define aliases when function name is a macro.
29350 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
29351 sysdeps/ieee754/dbl-64/sincos.tbl.
29352 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
29353 fma4-enabled routines.
29354 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
29355 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
29356 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
29357 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
29358 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
29359 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
29360 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
29361 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
29362 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
29363 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
29364 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
29365 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
29366 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
29367 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
29368 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
29369 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
29370 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
29371 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
29372 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
29373 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
29374 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
29375 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
29376 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
29377 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
29378 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
29379 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
29380 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
29381 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
29382 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
29383 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
29384
58985aa9
UD
29385 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
29386 rename.
29387 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29388 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29389 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29390 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29391 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29392 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29393 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29394 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29395
a201fbcf
AS
293962011-10-24 Andreas Schwab <schwab@redhat.com>
29397
29398 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
29399
fc2ee42a
LD
294002011-10-23 Ulrich Drepper <drepper@gmail.com>
29401
bb3129bd
UD
29402 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
29403
0275fff8
UD
29404 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
29405 prediction.
29406 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
29407
2fa2ae85
UD
29408 * string/strnlen.c: Don't define STRNLEN, reverse logic.
29409 Remove unused variable magic_bits.
29410 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
29411
fc2ee42a
LD
29412 * string/strnlen.c: Define and use STRNLEN macro.
29413 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
29414 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
29415 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
29416 * wcsmbs/wcslen.c: Define and use WCSLEN.
29417 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
29418 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
29419 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
29420 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
29421 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
29422 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
29423 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29424
ce7dd29f
LD
294252011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29426
29427 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29428 strnlen-sse2-no-bsf.
29429 Rename strlen-no-bsf to strlen-sse2-no-bsf.
29430 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
29431 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
29432 Add strnlen support.
29433 (USE_AS_STRNLEN): New macro.
29434 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
29435 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
29436 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
29437 * sysdeps/x86_64/wcslen.S: New file.
29438
979c70a3
MZ
294392011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
29440
29441 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
29442 XMM-moves are used for copying on small sizes.
29443
2d09f82f
LD
294442011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29445
29446 * wcsmbs/Makefile (strop-tests): Add wcschr.
29447 * wcsmbs/test-wcschr.c: New file.
29448 * string/test-strchr.c: Update.
29449 Add wcschr support.
29450 (WIDE): New macro.
29451
619fccca
LD
294522011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29453
2d09f82f 29454 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
29455 * wcsmbs/test-wcslen.c: New file.
29456 * string/test-strlen.c: Update.
29457 Add wcslen support.
29458 (WIDE): New macro.
29459
09f699ea
UD
294602011-10-23 Ulrich Drepper <drepper@gmail.com>
29461
29462 * po/it.po: Update from translation team.
29463
95584d3b
LD
294642011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29465
29466 * sysdeps/x86_64/wcscmp.S: Update.
29467 Fix wrong comparison semantics.
29468 wcscmp shall use signed comparison not unsigned.
29469 Don't use substraction to avoid overflow bug.
29470 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
29471 * wcsmbc/wcscmp.c: Likewise.
29472 * string/test-strcmp.c: Likewise.
29473 Add new tests to check cases with negative values.
29474
c8b3296b
UD
294752011-10-23 Ulrich Drepper <drepper@gmail.com>
29476
29477 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
29478 * sysdeps/x86_64/dla.h: ...here. New file.
29479 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
29480 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29481 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29482 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29483 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29484 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29485 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29486 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29487 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29488
246ad57a
AS
294892011-10-23 Andreas Schwab <schwab@linux-m68k.org>
29490
29491 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
29492 __ynl_finite aliases.
29493
a1a87169
UD
294942011-10-22 Ulrich Drepper <drepper@gmail.com>
29495
0d355eb7
UD
29496 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29497
a1a87169
UD
29498 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
29499 define DLA_FMA.
29500 [DLA_FMA] (EMULV): Use DLA_FMA.
29501 [DLA_FMA] (MUL12): Use EMULV.
29502 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
29503 that are not needed.
29504 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29505 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29506 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29507 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29508 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29509 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29510 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29511
ee2aafe0
AS
295122011-10-22 Andreas Schwab <schwab@linux-m68k.org>
29513
29514 * math/s_nan.c: Undef __nan.
29515 * math/s_nanf.c: Undef __nanf.
29516 * math/s_nanl.c: Undef __nanl.
29517 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
29518 "math_private.h".
29519
bc62c2fb
UD
295202011-10-22 Ulrich Drepper <drepper@gmail.com>
29521
77425c63
UD
29522 * math/s_catan.c: Add branch predictions.
29523 * math/s_catanf.c: Likewise.
29524 * math/s_catanh.c: Likewise.
29525 * math/s_catanhf.c: Likewise.
29526 * math/s_catanhl.c: Likewise.
29527 * math/s_catanl.c: Likewise.
29528 * math/s_cexp.c: Likewise.
29529 * math/s_cexpf.c: Likewise.
29530 * math/s_cexpl.c: Likewise.
29531 * math/s_clog.c: Likewise.
29532 * math/s_clog10.c: Likewise.
29533 * math/s_clog10f.c: Likewise.
29534 * math/s_clog10l.c: Likewise.
29535 * math/s_clogf.c: Likewise.
29536 * math/s_clogl.c: Likewise.
29537 * math/s_csqrt.c: Likewise.
29538 * math/s_csqrtf.c: Likewise.
29539 * math/s_csqrtl.c: Likewise.
29540 * math/s_ctanf.c: Likewise.
29541 * math/s_ctanh.c: Likewise.
29542 * math/s_ctanhf.c: Likewise.
29543 * math/s_ctanhl.c: Likewise.
29544 * math/s_ctanl.c: Likewise.
29545
bc62c2fb
UD
29546 * math/math_private.h: Define __nan, __nanf, __nanl.
29547 * math/s_cacosh.c: Include <math_private.h>.
29548 * math/s_cacoshl.c: Likewise.
29549 * math/s_casinh.c: Likewise.
29550 * math/s_casinhf.c: Likewise.
29551 * math/s_casinhl.c: Likewise.
29552 * math/s_ccos.c: Rely entire on ccosh.
29553 * math/s_ccosf.c: Rely entire on ccoshf.
29554 * math/s_ccosl.c: Rely entirely on ccoshl.
29555 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
29556 Remove tests for FE_INVALID.
29557 * math/s_ccoshf.c: Likewise.
29558 * math/s_ccoshl.c: Likewise.
29559 * math/s_csin.c: Likewise.
29560 * math/s_csinf.c: Likewise.
29561 * math/s_csinh.c Likewise.
29562 * math/s_csinhf.c: Likewise.
29563 * math/s_csinhl.c: Likewise.
29564 * math/s_csinl.c: Likewise.
29565 * math/s_ctan.c: Likewise.
29566 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
29567 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
29568 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
29569
8ec250a4
UD
295702011-10-21 Ulrich Drepper <drepper@gmail.com>
29571
c196fed8
UD
29572 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
29573 compilation problems.
29574
8ec250a4
UD
29575 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
29576 __builtin_expect.
29577
8d4f46c6
UD
295782011-10-20 Ulrich Drepper <drepper@gmail.com>
29579
ed72b654
UD
29580 * sysdeps/i386/configure.in: Test for -mfma4 option.
29581 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
29582 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
29583 COMMON_CPUID_INDEX_80000001.
29584 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
29585 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
29586 use it if FMA3 is not supported.
29587 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
29588
8d4f46c6
UD
29589 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
29590 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
29591
d45c60c2
AS
295922011-10-20 Andreas Schwab <schwab@redhat.com>
29593
29594 [BZ #12892]
29595 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
29596 it would create a cycle with a link time dependency.
29597
d9a4d2ab
UD
295982011-10-19 Ulrich Drepper <drepper@gmail.com>
29599
855d1560
UD
29600 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
29601 instruction.
29602 * string/Makefile (strop-tests): Add rawmemchr.
29603 * string/test-rawmemchr.c: New file.
29604
d9a4d2ab
UD
29605 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
29606 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
29607 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
29608 when compiling str{,n}casecmp and when AVX is available. Hook up
29609 new optimized code in initializers.
29610
8f3b1ffe
AS
296112011-10-19 Andreas Schwab <schwab@redhat.com>
29612
29613 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
29614 __feraiseexcept instead of feraiseexcept.
29615
d38f1dba
UD
296162011-10-18 Ulrich Drepper <drepper@gmail.com>
29617
d9a8d0ab
UD
29618 * math/math_private.h: Define defaults for libc_fetestexcept and
29619 libc_feupdateenv.
29620 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
29621 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
29622 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29623 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29624 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29625 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29626 libc_fetestexcept and libc_feupdateenv.
29627
4855e3dd
UD
29628 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
29629 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
29630 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
29631 * sysdeps/x86_64/fpu/math_private.h: Define special version of
29632 libc_feholdexcept_setround.
29633
581d30e3
UD
29634 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
29635 Add s_nearbyint-c and s_nearbyintf-c.
29636 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
29637 nearbyintf inlines.
29638 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
29639 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
29640 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
29641 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
29642
d38f1dba
UD
29643 * math/math_private.h: Define defaults for libc_fegetround,
29644 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
29645 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
29646 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
29647 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
29648 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
29649 standard functions.
29650 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29651 Remove comments and hacks for old compiler versions.
29652 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29653 libc_fegetround, libc_fesetround, libc_feholdexcept, and
29654 libc_feholdexceptl.
29655
caa6c9d8
AS
296562011-10-18 Andreas Schwab <schwab@redhat.com>
29657
29658 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
29659 (__feraiseexcept_renamed): Add __NTH.
29660 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
29661 namespace violations.
29662
97c066e6
UD
296632011-10-17 Ulrich Drepper <drepper@gmail.com>
29664
99ce7b04
UD
29665 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
29666
1004d182
UD
29667 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
29668
228a984d
UD
29669 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
29670 recently added interfaces.
29671 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
29672
c8553a6a
UD
29673 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
29674 about macro parameter expansion.
29675
ed22dcf6
UD
29676 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
29677 __NO_MATH_INLINES is defined. Cleanups.
29678
29679 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
29680 and __floorf is target has SSE4.1.
29681 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
29682 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
29683 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
29684 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
29685
b171c137
UD
29686 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
29687 name.
29688 (floorf): Likewise.
29689
97c066e6
UD
29690 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
29691
629f62ef
AS
296922011-10-17 Andreas Schwab <schwab@redhat.com>
29693
49a43d80
AS
29694 * misc/sys/cdefs.h: Fix last change.
29695
629f62ef
AS
29696 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
29697 database lookup.
29698
e453f6cd
UD
296992011-10-16 Ulrich Drepper <drepper@gmail.com>
29700
aa78043a
UD
29701 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
29702
ad0f5cad
UD
29703 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
29704 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29705 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29706 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29707 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29708 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29709 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29710 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29711 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29712 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
29713 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
29714 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
29715 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
29716 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
29717 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
29718 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
29719 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
29720 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
29721 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
29722 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
29723 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
29724 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
29725
29726 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
29727 ceil, ceilf, floor, floorf.
29728
29729 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
29730 Perform IRELATIVE relocations last.
29731
e453f6cd
UD
29732 * elf/do-rel.h: Add another parameter nrelative, replacing the
29733 local variable with the same name. Change name of the function
29734 to end in Rel or Rela (uppercase).
29735 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
29736 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
29737 elf_dynamic_do_##reloc function.
29738
fd5bdc09
UD
297392011-10-15 Ulrich Drepper <drepper@gmail.com>
29740
79b195b5
UD
29741 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
29742 is sufficient, at least on modern CPUs.
29743
d4a28569
UD
29744 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
29745
b61099b5
UD
29746 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
29747 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
29748
bcf01e6d
UD
29749 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
29750 __expl_finite.
29751 * math/bits/math-finite.h: Add entries for exp.
29752 * math/e_expl.c: Add __*_finite alias.
29753 * sysdeps/i386/fpu/e_exp.S: Likewise.
29754 * sysdeps/i386/fpu/e_expf.S: Likewise.
29755 * sysdeps/i386/fpu/e_expl.c: Likewise.
29756 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29757 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29758 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29759 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29760 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
29761 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29762 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29763
ba1a0d59
UD
29764 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
29765 is sufficient, at least on modern CPUs.
29766
fd5bdc09
UD
29767 * ctype/ctype-info.c (__ctype_init): Define.
29768 * include/ctype.h (__ctype_init): Declare.
29769 (__ctype_b_loc): The variable is always initialized.
29770 (__ctype_toupper_loc): Likewise.
29771 (__ctype_tolower_loc): Likewise.
29772 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
29773 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
29774
7872cfb0
AS
297752011-10-15 Andreas Schwab <schwab@linux-m68k.org>
29776
b468825a
AS
29777 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
29778
7872cfb0
AS
29779 * configure.in: Also look in $cxxmachine/include for C++ system
29780 headers.
29781
be13f7bf
LD
297822011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29783
29784 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
29785 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
29786 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
29787 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
29788 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
29789 (USE_AS_WMEMCMP): New macro.
29790 Fixing indents.
29791 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
29792 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
29793 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
29794 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
29795 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29796 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
29797 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
29798 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
29799 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
29800 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
29801 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
29802 (USE_AS_WMEMCMP): New macro.
29803 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
29804 * sysdeps/string/test-memcmp.c: Update.
29805 Fix simple_wmemcmp.
29806 Add new tests.
29807 * wcsmbs/wmemcmp.c: Update.
29808 (WMEMCMP): New macro.
29809 Fix overflow bug.
29810
556a2007
AJ
298112011-10-12 Andreas Jaeger <aj@suse.de>
29812
29813 [BZ #13268]
29814 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
29815
538faaa7
UD
298162011-10-15 Ulrich Drepper <drepper@gmail.com>
29817
ab6737ff
UD
29818 * libio/iofwide.c (do_length): Avoid warning.
29819
538faaa7
UD
29820 * ctype/ctype.h (__isctype_f): Add missing __THROW.
29821
396a21b1
UD
298222011-10-14 Ulrich Drepper <drepper@gmail.com>
29823
cdf2901f
UD
29824 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
29825
38ad40ce
UD
29826 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
29827 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
29828 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
29829 * sysdeps/i386/i686/fpu/e_log.S: New file.
29830 * sysdeps/i386/i686/fpu/e_logf.S: New file.
29831 * sysdeps/i386/i686/fpu/e_logl.S: New file.
29832
396a21b1
UD
29833 * ctype/ctype.h: Add support for inlined isXXX functions when
29834 compiling C++ code.
29835
6b1f68c9
AS
298362011-10-14 Andreas Schwab <schwab@redhat.com>
29837
349290c0
AS
29838 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29839
6b1f68c9
AS
29840 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
29841
f2282d42
RM
298422011-10-13 Roland McGrath <roland@hack.frob.com>
29843
29844 [BZ #13291]
29845 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
29846
5298ffa8
AS
298472011-10-13 Andreas Schwab <schwab@redhat.com>
29848
714fad23
AS
29849 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
29850 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
29851 feraiseexcept.
29852
81dcc7fb
AS
29853 * sysdeps/x86_64/memrchr.S: Check for zero size.
29854
5298ffa8
AS
29855 * string/stratcliff.c: Add memrchr tests.
29856
951fbcec
LD
298572011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29858
29859 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29860 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
29861 rawmemchr-sse2 rawmemchr-sse2-bsf.
29862 * sysdeps/i386/i686/multiarch/memchr.S: New file.
29863 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
29864 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
29865 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
29866 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
29867 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
29868 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
29869 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
29870 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
29871 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
29872 * string/memrchr.c (MEMRCHR): New macro.
29873
0ac5ae23
UD
298742011-10-12 Ulrich Drepper <drepper@gmail.com>
29875
29876 Add integration with gcc's -ffinite-math-only and optimize wrapper
29877 functions in libm.
29878 * Versions.def: Define GLIBC_2.15 version for libm.
29879 * math/Makefile (headers): Add bits/math-finite.h.
29880 * math/bits/math-finite.h: New file.
29881 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
29882 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
29883 * math/e_acoshl.c: Add __*_finite alias.
29884 * math/e_acosl.c: Likewise.
29885 * math/e_asinl.c: Likewise.
29886 * math/e_atan2l.c: Likewise.
29887 * math/e_atanhl.c: Likewise.
29888 * math/e_coshl.c: Likewise.
29889 * math/e_exp10.c: Likewise.
29890 * math/e_exp10f.c: Likewise.
29891 * math/e_exp10l.c: Likewise.
29892 * math/e_exp2l.c: Likewise.
29893 * math/e_fmodl.c: Likewise.
29894 * math/e_gammal_r.c: Likewise.
29895 * math/e_hypotl.c: Likewise.
29896 * math/e_j0l.c: Likewise.
29897 * math/e_j1l.c: Likewise.
29898 * math/e_jnl.c: Likewise.
29899 * math/e_lgammal_r.c: Likewise.
29900 * math/e_log10l.c: Likewise.
29901 * math/e_log2l.c: Likewise.
29902 * math/e_logl.c: Likewise.
29903 * math/e_powl.c: Likewise.
29904 * math/e_sinhl.c: Likewise.
29905 * math/e_sqrtl.c: Likewise.
29906 * math/e_scalb.c: Completely rewritten and optimized.
29907 * math/e_scalbf.c: Likewise.
29908 * math/e_scalbl.c: Likewise.
29909 * math/w_acos.c: Likewise.
29910 * math/w_acosf.c: Likewise.
29911 * math/w_acosl.c: Likewise.
29912 * math/w_acosh.c: Likewise.
29913 * math/w_acoshf.c: Likewise.
29914 * math/w_acoshl.c: Likewise.
29915 * math/w_asin.c: Likewise.
29916 * math/w_asinf.c: Likewise.
29917 * math/w_asinl.c: Likewise.
29918 * math/w_atan2.c: Likewise.
29919 * math/w_atan2f.c: Likewise.
29920 * math/w_atan2l.c: Likewise.
29921 * math/w_atanh.c: Likewise.
29922 * math/w_atanhf.c: Likewise.
29923 * math/w_atanhl.c: Likewise.
29924 * math/w_exp10.c: Likewise.
29925 * math/w_exp10f.c: Likewise.
29926 * math/w_exp10l.c: Likewise.
29927 * math/w_fmod.c: Likewise.
29928 * math/w_fmodf.c: Likewise.
29929 * math/w_fmodl.c: Likewise.
29930 * math/w_j0.c: Likewise.
29931 * math/w_j0f.c: Likewise.
29932 * math/w_j0l.c: Likewise.
29933 * math/w_j1.c: Likewise.
29934 * math/w_j1f.c: Likewise.
29935 * math/w_j1l.c: Likewise.
29936 * math/w_jn.c: Likewise.
29937 * math/w_jnf.c: Likewise.
29938 * math/w_log.c: Likewise.
29939 * math/w_logf.c: Likewise.
29940 * math/w_logl.c: Likewise.
29941 * math/w_log10.c: Likewise.
29942 * math/w_log10f.c: Likewise.
29943 * math/w_log10l.c: Likewise.
29944 * math/w_log2.c: Likewise.
29945 * math/w_log2f.c: Likewise.
29946 * math/w_log2l.c: Likewise.
29947 * math/w_pow.c: Likewise.
29948 * math/w_powf.c: Likewise.
29949 * math/w_powl.c: Likewise.
29950 * math/w_remainder.c: Likewise.
29951 * math/w_remainderf.c: Likewise.
29952 * math/w_remainderl.c: Likewise.
29953 * math/w_scalb.c: Likewise.
29954 * math/w_scalbf.c: Likewise.
29955 * math/w_scalbl.c: Likewise.
29956 * math/w_sqrt.c: Likewise.
29957 * math/w_sqrtf.c: Likewise.
29958 * math/w_sqrtl.c: Likewise.
29959 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
29960 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
29961 used.
29962 * math/math_private.h: Declare __kernel_standard_f.
29963 * math/w_cosh.c: Remove cruft and optimize a bit.
29964 * math/w_coshf.c: Likewise.
29965 * math/w_coshl.c: Likewise.
29966 * math/w_exp2.c: Likewise.
29967 * math/w_exp2f.c: Likewise.
29968 * math/w_exp2l.c: Likewise.
29969 * math/w_hypot.c: Likewise.
29970 * math/w_hypotf.c: Likewise.
29971 * math/w_hypotl.c: Likewise.
29972 * math/w_lgamma.c: Likewise.
29973 * math/w_lgamma_r.c: Likewise.
29974 * math/w_lgammaf.c: Likewise.
29975 * math/w_lgammaf_r.c: Likewise.
29976 * math/w_lgammal.c: Likewise.
29977 * math/w_lgammal_r.c: Likewise.
29978 * math/w_sinh.c: Likewise.
29979 * math/w_sinhf.c: Likewise.
29980 * math/w_sinhl.c: Likewise.
29981 * math/w_tgamma.c: Likewise.
29982 * math/w_tgammaf.c: Likewise.
29983 * math/w_tgammal.c: Likewise.
29984 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29985 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29986 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
29987 Minor optimizations. Pretty printing. Remove cruft.
29988 * sysdeps/i386/fpu/e_acosf.S: Likewise.
29989 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29990 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29991 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29992 * sysdeps/i386/fpu/e_acosl.c: Likewise.
29993 * sysdeps/i386/fpu/e_asin.S: Likewise.
29994 * sysdeps/i386/fpu/e_asinf.S: Likewise.
29995 * sysdeps/i386/fpu/e_atan2.S: Likewise.
29996 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
29997 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
29998 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29999 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30000 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30001 * sysdeps/i386/fpu/e_exp10.S: Likewise.
30002 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
30003 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
30004 * sysdeps/i386/fpu/e_exp2.S: Likewise.
30005 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
30006 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
30007 * sysdeps/i386/fpu/e_fmod.S: Likewise.
30008 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
30009 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
30010 * sysdeps/i386/fpu/e_hypot.S: Likewise.
30011 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
30012 * sysdeps/i386/fpu/e_log.S: Likewise.
30013 * sysdeps/i386/fpu/e_log10.S: Likewise.
30014 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30015 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30016 * sysdeps/i386/fpu/e_log2.S: Likewise.
30017 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30018 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30019 * sysdeps/i386/fpu/e_logf.S: Likewise.
30020 * sysdeps/i386/fpu/e_logl.S: Likewise.
30021 * sysdeps/i386/fpu/e_pow.S: Likewise.
30022 * sysdeps/i386/fpu/e_powf.S: Likewise.
30023 * sysdeps/i386/fpu/e_powl.S: Likewise.
30024 * sysdeps/i386/fpu/e_remainder.S: Likewise.
30025 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
30026 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
30027 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30028 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30029 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30030 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
30031 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
30032 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
30033 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30034 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30035 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30036 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30037 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30038 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30039 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
30040 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30041 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30042 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30043 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30044 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30045 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30046 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30047 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30048 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30049 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30050 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30051 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30052 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30053 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30054 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30055 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30056 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30057 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30058 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30059 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30060 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30061 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
30062 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
30063 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30064 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30065 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30066 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
30067 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
30068 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
30069 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
30070 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
30071 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
30072 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
30073 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
30074 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
30075 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
30076 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
30077 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30078 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
30079 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
30080 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
30081 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
30082 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
30083 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
30084 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30085 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30086 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30087 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30088 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
30089 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
30090 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
30091 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
30092 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
30093 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
30094 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30095 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30096 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30097 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30098 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30099 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30100 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30101 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
30102 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30103 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30104 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30105 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30106 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30107 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30108 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30109 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30110 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30111 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30112 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30113 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30114 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30115 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
30116 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30117 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30118 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30119 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30120 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30121 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30122 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30123 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30124 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30125 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30126 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
30127 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30128 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30129 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30130 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
30131 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
30132 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
30133 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
30134 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
30135 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
30136 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
30137 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30138 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30139 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30140 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30141 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
30142 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30143 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
30144 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
30145 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
30146 (__isnanf): Likewise.
30147 (__isinf_ns): Likewise.
30148 (__isinf_nsf): Likewise.
30149 (__finite): Likewise.
30150 (__finitef): Likewise.
30151 (__ieee754_sqrt): Define as macro.
30152 (__ieee754_sqrtf): Define as macro.
30153 (__ieee754_sqrtl): Define as macro.
30154 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
30155 inlined copy.
30156 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
30157 __FINITE_MATH_ONLY__ consistent.
30158 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
30159
12cc2fcd
AS
301602011-10-10 Andreas Schwab <schwab@linux-m68k.org>
30161
a843a204
AS
30162 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
30163 of rawmemchr.
30164
12cc2fcd
AS
30165 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
30166
c853acd5
UD
301672011-10-09 Ulrich Drepper <drepper@gmail.com>
30168
30169 * po/ja.po: Update from translation team.
30170
c658d255
RM
301712011-10-08 Roland McGrath <roland@hack.frob.com>
30172
110946e4
RM
30173 * locale/programs/locarchive.c (prepare_address_space): New function.
30174 (create_archive, enlarge_archive, open_archive): Use it.
30175
50604220
RM
30176 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
30177 inside [SHARED], where it is used.
30178
c658d255
RM
30179 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
30180
30181 * nss/getent.c (netgroup_keys): Remove unused variable.
30182 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30183
6a621eb7
UD
301842011-10-08 Ulrich Drepper <drepper@gmail.com>
30185
7edb55ce
UD
30186 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
30187 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
30188 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
30189 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
30190 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
30191 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
30192 * math/Makefile (libm-calls): Add s_isinf_ns.
30193 * math/divtc3.c: Use __isinf_nsl instead of isinf.
30194 * math/multc3.c: Likewise.
30195 * math/s_casin.c: Likewise.
30196 * math/s_casinf.c: Likewise.
30197 * math/s_casinl.c: Likewise.
30198 * math/s_ccos.c: Likewise.
30199 * math/s_ccosf.c: Likewise.
30200 * math/s_ccosl.c: Likewise.
30201 * math/s_ctan.c: Likewise.
30202 * math/s_ctanf.c: Likewise.
30203 * math/s_ctanh.c: Likewise.
30204 * math/s_ctanhf.c: Likewise.
30205 * math/s_ctanhl.c: Likewise.
30206 * math/s_ctanl.c: Likewise.
30207 * math/w_fmod.c: Likewise.
30208 * math/w_fmodf.c: Likewise.
30209 * math/w_fmodl.c: Likewise.
30210 * math/w_remainder.c: Likewise.
30211 * math/w_remainderf.c: Likewise.
30212 * math/w_remainderl.c: Likewise.
30213 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
30214 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
30215 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
30216 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
30217 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
30218 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
30219 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
30220 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
30221
187da0ae
UD
30222 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
30223 of the number.
30224 * stdio-common/printf_fphex.c: Likewise.
30225 * stdio-common/printf_size.c: Likewise.
30226
9277c064
UD
30227 * math/e_exp10.c: Include math_private.h using <...> not "...".
30228 * math/e_exp10f.c: Likewise.
30229 * math/e_exp10l.c: Likewise.
30230 * math/e_exp2l.c: Likewise.
30231 * math/e_j0l.c: Likewise.
30232 * math/e_j1l.c: Likewise.
30233 * math/e_jnl.c: Likewise.
30234 * math/e_lgammal_r.c: Likewise.
30235 * math/e_rem_pio2l.c: Likewise.
30236 * math/e_scalb.c: Likewise.
30237 * math/e_scalbf.c: Likewise.
30238 * math/e_scalbl.c: Likewise.
30239 * math/k_cosl.c: Likewise.
30240 * math/k_sinl.c: Likewise.
30241 * math/k_tanl.c: Likewise.
30242 * math/s_cacoshf.c: Likewise.
30243 * math/s_catan.c: Likewise.
30244 * math/s_catanf.c: Likewise.
30245 * math/s_catanh.c: Likewise.
30246 * math/s_catanhf.c: Likewise.
30247 * math/s_catanhl.c: Likewise.
30248 * math/s_catanl.c: Likewise.
30249 * math/s_ccosh.c: Likewise.
30250 * math/s_ccoshf.c: Likewise.
30251 * math/s_ccoshl.c: Likewise.
30252 * math/s_cexp.c: Likewise.
30253 * math/s_cexpf.c: Likewise.
30254 * math/s_cexpl.c: Likewise.
30255 * math/s_clog.c: Likewise.
30256 * math/s_clog10.c: Likewise.
30257 * math/s_clog10f.c: Likewise.
30258 * math/s_clog10l.c: Likewise.
30259 * math/s_clogf.c: Likewise.
30260 * math/s_clogl.c: Likewise.
30261 * math/s_csin.c: Likewise.
30262 * math/s_csinf.c: Likewise.
30263 * math/s_csinh.c: Likewise.
30264 * math/s_csinhf.c: Likewise.
30265 * math/s_csinhl.c: Likewise.
30266 * math/s_csinl.c: Likewise.
30267 * math/s_csqrt.c: Likewise.
30268 * math/s_csqrtf.c: Likewise.
30269 * math/s_csqrtl.c: Likewise.
30270 * math/s_ctan.c: Likewise.
30271 * math/s_ctanf.c: Likewise.
30272 * math/s_ctanh.c: Likewise.
30273 * math/s_ctanhf.c: Likewise.
30274 * math/s_ctanhl.c: Likewise.
30275 * math/s_ctanl.c: Likewise.
30276 * math/s_ldexp.c: Likewise.
30277 * math/s_ldexpf.c: Likewise.
30278 * math/s_ldexpl.c: Likewise.
30279 * math/s_significand.c: Likewise.
30280 * math/s_significandf.c: Likewise.
30281 * math/s_significandl.c: Likewise.
30282 * math/w_acos.c: Likewise.
30283 * math/w_acosf.c: Likewise.
30284 * math/w_acosh.c: Likewise.
30285 * math/w_acoshf.c: Likewise.
30286 * math/w_acoshl.c: Likewise.
30287 * math/w_acosl.c: Likewise.
30288 * math/w_asin.c: Likewise.
30289 * math/w_asinf.c: Likewise.
30290 * math/w_asinl.c: Likewise.
30291 * math/w_atan2.c: Likewise.
30292 * math/w_atan2f.c: Likewise.
30293 * math/w_atan2l.c: Likewise.
30294 * math/w_atanh.c: Likewise.
30295 * math/w_atanhf.c: Likewise.
30296 * math/w_atanhl.c: Likewise.
30297 * math/w_cosh.c: Likewise.
30298 * math/w_coshf.c: Likewise.
30299 * math/w_coshl.c: Likewise.
30300 * math/w_dremf.c: Likewise.
30301 * math/w_exp10.c: Likewise.
30302 * math/w_exp10f.c: Likewise.
30303 * math/w_exp10l.c: Likewise.
30304 * math/w_exp2.c: Likewise.
30305 * math/w_exp2f.c: Likewise.
30306 * math/w_fmod.c: Likewise.
30307 * math/w_fmodf.c: Likewise.
30308 * math/w_fmodl.c: Likewise.
30309 * math/w_hypot.c: Likewise.
30310 * math/w_hypotf.c: Likewise.
30311 * math/w_hypotl.c: Likewise.
30312 * math/w_j0.c: Likewise.
30313 * math/w_j0f.c: Likewise.
30314 * math/w_j0l.c: Likewise.
30315 * math/w_j1.c: Likewise.
30316 * math/w_j1f.c: Likewise.
30317 * math/w_j1l.c: Likewise.
30318 * math/w_jn.c: Likewise.
30319 * math/w_jnf.c: Likewise.
30320 * math/w_jnl.c: Likewise.
30321 * math/w_lgamma.c: Likewise.
30322 * math/w_lgamma_r.c: Likewise.
30323 * math/w_lgammaf.c: Likewise.
30324 * math/w_lgammaf_r.c: Likewise.
30325 * math/w_lgammal.c: Likewise.
30326 * math/w_lgammal_r.c: Likewise.
30327 * math/w_log.c: Likewise.
30328 * math/w_log10.c: Likewise.
30329 * math/w_log10f.c: Likewise.
30330 * math/w_log10l.c: Likewise.
30331 * math/w_log2.c: Likewise.
30332 * math/w_log2f.c: Likewise.
30333 * math/w_log2l.c: Likewise.
30334 * math/w_logf.c: Likewise.
30335 * math/w_logl.c: Likewise.
30336 * math/w_pow.c: Likewise.
30337 * math/w_powf.c: Likewise.
30338 * math/w_powl.c: Likewise.
30339 * math/w_remainder.c: Likewise.
30340 * math/w_remainderf.c: Likewise.
30341 * math/w_remainderl.c: Likewise.
30342 * math/w_scalb.c: Likewise.
30343 * math/w_scalbf.c: Likewise.
30344 * math/w_scalbl.c: Likewise.
30345 * math/w_sinh.c: Likewise.
30346 * math/w_sinhf.c: Likewise.
30347 * math/w_sinhl.c: Likewise.
30348 * math/w_sqrt.c: Likewise.
30349 * math/w_sqrtf.c: Likewise.
30350 * math/w_sqrtl.c: Likewise.
30351 * math/w_tgamma.c: Likewise.
30352 * math/w_tgammaf.c: Likewise.
30353 * math/w_tgammal.c: Likewise.
30354
6a621eb7
UD
30355 * po/ja.po: Update from translation team.
30356
bf582445
AJ
303572011-09-29 Andreas Jaeger <aj@suse.de>
30358
f9efbf3a
AJ
30359 [BZ #13179]
30360 * sunrpc/netname.c (netname2host): Fix logic.
30361
bf582445
AJ
30362 [BZ #6779]
30363 [BZ #6783]
30364 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
30365 correctly.
30366 * math/w_remainder.c (__remainder): Likewise.
30367 * math/w_remainderf.c (__remainderf): Likewise.
30368 * math/libm-test.inc (remainder_test): Add test cases.
30369
48693bea
AK
303702011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30371
30372 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
30373 sdiv_qrnnd.
30374
42622229
LD
303752011-10-07 Ulrich Drepper <drepper@gmail.com>
30376
30377 * string/test-memcmp.c: Avoid unncessary #defines.
30378 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30379
093ecf92
LD
303802011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30381
30382 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
30383 Use new sse2 version for core i3 - i7 as it's faster
30384 than sse42 version.
30385 (bit_Prefer_PMINUB_for_stringop): New.
30386 * sysdeps/x86_64/rawmemchr.S: Update.
30387 Replace with faster SSE2 version.
30388 * sysdeps/x86_64/memrchr.S: New file.
30389 * sysdeps/x86_64/memchr.S: Update.
30390 Replace with faster SSE2 version.
30391
fde56e5c
MP
303922011-09-12 Marek Polacek <mpolacek@redhat.com>
30393
30394 * elf/dl-load.c (lose): Add cast to avoid warning.
30395
21fd49a9
UD
303962011-10-07 Ulrich Drepper <drepper@gmail.com>
30397
5a06e643
UD
30398 * po/ca.po: Update from translation team.
30399
684ae515
UD
30400 * inet/getnetgrent_r.c: Hook up nscd.
30401 * nscd/Makefile (routines): Add nscd_netgroup.
30402 (nscd-modules): Add netgroupcache.
30403 (CFLAGS-netgroupcache.c): Define.
30404 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
30405 (cache_search): Add const to second parameter.
30406 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
30407 INNETGR.
30408 (dbs): Add netgrdb entry.
30409 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
30410 (verify_persistent_db): Handle netgrdb.
30411 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
30412 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
30413 GETFDNETGR.
30414 (netgroup_response_header): Define.
30415 (innetgroup_response_header): Define.
30416 (datahead): Add netgroup_response_header and innetgroup_response_header
30417 elements.
30418 * nscd/nscd.conf: Add entries for netgroup cache.
30419 * nscd/nscd.h (dbtype): Add netgrdb.
30420 (_PATH_NSCD_NETGROUP_DB): Define.
30421 (netgroup_iov_disabled): Declare.
30422 (xmalloc, xcalloc, xrealloc): Move declarations here.
30423 (cache_search): Adjust prototype.
30424 Add netgroup-related prototypes.
30425 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
30426 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
30427 (__nscd_innetgr): Declare.
30428 * nscd/selinux.c (perms): Use access_vector_t as element type and
30429 add netgroup-related initializers.
30430 * nscd/netgroupcache.c: New file.
30431 * nscd/nscd_netgroup.c: New file.
30432 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
30433 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
30434 For four parameters use innetgr.
30435 * nss/nss_files/files-init.c: Add definition and callback for netgr.
30436 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
30437 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
30438 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
30439
21fd49a9
UD
30440 * nscd/connections.c (register_traced_file): Don't register file
30441 for disabled databases.
30442
054c0457
UD
304432011-10-06 Ulrich Drepper <drepper@gmail.com>
30444
32b63198
UD
30445 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
30446
054c0457
UD
30447 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
30448 from tree and freeing node.
30449
64031225
JO
304502011-09-25 Jiri Olsa <jolsa@redhat.com>
30451
30452 * nss/nsswitch.c (__nss_database_lookup): Handle
30453 nss_parse_service_list out of memory case.
30454
0490345c
JO
304552011-09-15 Jiri Olsa <jolsa@redhat.com>
30456
30457 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
30458 out of memory case.
30459
3a62d00d
AS
304602011-10-04 Andreas Schwab <schwab@redhat.com>
30461
30462 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
30463 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
30464 pass it down.
30465 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
30466 elf_machine_rela, elf_machine_lazy_rel.
30467 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
30468 (ELF_DYNAMIC_DO_REL): Likewise.
30469 (ELF_DYNAMIC_DO_RELA): Likewise.
30470 (ELF_DYNAMIC_RELOCATE): Likewise.
30471 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
30472 to ELF_DYNAMIC_DO_REL.
30473 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
30474 (dl_main): In trace mode always set __RTLD_NOIFUNC.
30475 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
30476 elf_machine_rela.
30477 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
30478 skip_ifunc, don't call ifunc function if non-zero.
30479 (elf_machine_rela): Likewise.
30480 (elf_machine_lazy_rel): Likewise.
30481 (elf_machine_lazy_rela): Likewise.
30482 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
30483 (elf_machine_lazy_rel): Likewise.
30484 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
30485 Likewise.
30486 (elf_machine_lazy_rel): Likewise.
30487 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30488 Likewise.
30489 (elf_machine_lazy_rel): Likewise.
30490 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
30491 (elf_machine_lazy_rel): Likewise.
30492 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
30493 (elf_machine_lazy_rel): Likewise.
30494 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30495 (elf_machine_lazy_rel): Likewise.
30496 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30497 (elf_machine_lazy_rel): Likewise.
30498 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30499 (elf_machine_lazy_rel): Likewise.
30500 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
30501 (elf_machine_lazy_rel): Likewise.
30502
68577918
UD
305032011-09-28 Ulrich Drepper <drepper@gmail.com>
30504
30505 * nss/nss_files/files-init.c (_nss_files_init): Use static
30506 initialization for all the *_traced_file variables.
30507
68822d74
AS
305082011-09-28 Andreas Schwab <schwab@redhat.com>
30509
30510 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30511
2056100b
RM
305122011-09-27 Roland McGrath <roland@hack.frob.com>
30513
30514 [BZ #13226]
30515 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
30516
32c76b63
AS
305172011-09-27 Andreas Schwab <schwab@redhat.com>
30518
30519 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30520 Reread the line before reparsing it.
30521
bf972c9d
AS
305222011-09-26 Andreas Schwab <schwab@redhat.com>
30523
30524 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
30525
e057a1b5
JM
305262011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
30527 Maxim Kuvyrkov <maxim@codesourcery.com>
30528 Joseph Myers <joseph@codesourcery.com>
30529
30530 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
30531 if needed for __stack_chk_guard.
30532
bc7e1c36
RM
305332011-09-19 Roland McGrath <roland@hack.frob.com>
30534
ecb1482f
RM
30535 * sysdeps/posix/spawni.c (script_execute): Always define it.
30536 It will be optimized away if unused.
30537 (maybe_script_execute): New function.
30538 (__spawni): Call it.
30539
bc7e1c36
RM
30540 * Makerules: Don't include tls.make.
30541 (config-tls): Always set to thread.
30542 * tls.make.c: File removed.
30543
1c3b002b
MF
305442011-09-19 Mike Frysinger <vapier@gentoo.org>
30545
30546 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
30547 * config.make.in (CPPFLAGS-config): New substituted variable.
30548
2840865d
UD
305492011-09-15 Ulrich Drepper <drepper@gmail.com>
30550
88738eb6
UD
30551 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
30552
cbf645a6 30553 [BZ #13192]
2840865d
UD
30554 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
30555 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
30556
b402e91a
RM
305572011-09-15 Roland McGrath <roland@hack.frob.com>
30558
30559 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
30560 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
30561 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30562 (CALL_FAIL): Likewise.
30563 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
30564 (CALL_FAIL): Macro removed.
30565 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
30566
4c1a1f71
UD
305672011-09-15 Ulrich Drepper <drepper@gmail.com>
30568
30569 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
30570 for __FINITE_MATH_ONLY__ == 1.
30571
edc121be
AS
305722011-09-15 Andreas Schwab <schwab@redhat.com>
30573
30574 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
30575 __ieee754_sqrt instead of sqrt.
30576 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
30577 __ieee754_sqrtf instead of sqrtf.
30578 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
30579 __floorf instead of floorf.
30580 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
30581 __floorf, __truncf instead of floorf, truncf.
30582
cd205654
UD
305832011-09-14 Ulrich Drepper <drepper@gmail.com>
30584
ee4d0315
UD
30585 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
30586
cd205654
UD
30587 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
30588 __extern_always_inline.
30589 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
30590 32-bit.
30591
48b67d71
AS
305922011-09-14 Andreas Schwab <schwab@redhat.com>
30593
30594 * elf/rtld.c (dl_main): Also relocate in dependency order when
30595 doing symbol dependency testing.
30596
1ae12c75
AS
305972011-09-13 Andreas Schwab <schwab@linux-m68k.org>
30598
30599 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30600 Always define `refsym'.
30601
995a80df
AS
306022011-09-13 Andreas Schwab <schwab@redhat.com>
30603
e529793b
AS
30604 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
30605 (__FD_ELT): Renamed from __FDELT.
30606 * misc/bits/select2.h (__FD_ELT): Likewise.
30607 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
30608 __FD_MASK instead of __FDELT, __FDMASK.
30609 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30610 Likewise.
30611 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30612 Likewise.
30613
52d4fef8
AS
30614 * elf/Makefile (gen-ldd): Fix pattern.
30615
995a80df
AS
30616 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
30617 (init_tls): Likewise.
30618
8682f8b0
UD
306192011-09-12 Ulrich Drepper <drepper@gmail.com>
30620
30621 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
30622
de82006d
AS
306232011-09-12 Andreas Schwab <schwab@redhat.com>
30624
a7c8e6a1
AS
30625 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
30626 `struct cmsghdr *' instead of `void *'.
30627 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
30628 Likewise.
30629
0f31fe77
AS
306302011-09-11 Andreas Schwab <schwab@linux-m68k.org>
30631
30632 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
30633 if non-absolute.
30634 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
30635 ldd_rewrite_script.
0f31fe77 30636
32b4c839
UD
306372011-09-11 Ulrich Drepper <drepper@gmail.com>
30638
83cd1420
UD
30639 * configure.in: Remove --with-tls option.
30640 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
30641 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
30642 out in case it is missing.
30643 * sysdeps/ia64/elf/configure.in: Likewise.
30644 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
30645 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
30646 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
30647 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
30648 * sysdeps/sh/elf/configure.in: Likewise.
30649 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
30650 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30651 * sysdeps/x86_64/elf/configure.in: Likewise.
30652 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
30653 * sysdeps/mach/hurd/tls.h: Likewise.
30654
633f745d
UD
30655 [BZ #13067]
30656 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
30657
f318beb8
UD
30658 [BZ #13090]
30659 * configure.in: Fix use of AC_INIT.
30660
32b4c839
UD
30661 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
30662
3ce1f295
UD
306632011-09-10 Ulrich Drepper <drepper@gmail.com>
30664
bb016596
UD
30665 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
30666 __set_errno.
8e58439c
UD
30667 * malloc/hooks.c: Likewise.
30668
aebae053 30669 [BZ #11929]
02d46fc4
UD
30670 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
30671 variables statically.
30672 (narenas): Initialize.
30673 (list_lock): Initialize.
bb016596
UD
30674 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
30675 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
30676 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
30677 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
30678 Add initializers to main_arena and mp_.
30679 (malloc_state): Remove pagesize member. Change all users to use
30680 GLRO(dl_pagesize).
30681
30682 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
30683 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
30684 is always initialized.
30685
22a89187
UD
30686 * malloc/malloc.c: Removed unused configurations and dead code.
30687 * malloc/arena.c: Likewise.
30688 * malloc/hooks.c: Likewise.
02d46fc4 30689 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 30690
d063d164
UD
30691 * include/tls.h: Removed. USE___THREAD must always be defined.
30692 * bits/libc-tsd.h: Don't handle !USE___THREAD.
30693 * elf/dl-libc.c: Likewise.
30694 * elf/dl-tsd.c: Likewise.
30695 * include/errno.h: Likewise.
30696 * include/netdb.h: Likewise.
30697 * include/resolv.h: Likewise.
30698 * inet/herrno-loc.c: Likewise.
30699 * inet/herrno.c: Likewise.
30700 * malloc/arena.c: Likewise.
30701 * malloc/hooks.c: Likewise.
30702 * malloc/malloc.c: Likewise.
30703 * resolv/res-state.c: Likewise.
30704 * resolv/res_libc.c: Likewise.
30705 * sysdeps/i386/dl-machine.h: Likewise.
30706 * sysdeps/ia64/dl-machine.h: Likewise.
30707 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
30708 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30709 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
30710 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
30711 * sysdeps/sh/dl-machine.h: Likewise.
30712 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30713 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30714 * sysdeps/unix/i386/sysdep.S: Likewise.
30715 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30716 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
30717 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
30718 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30719 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
30720 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30721 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30722 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30723 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30724 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30725 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30726 * sysdeps/x86_64/dl-machine.h: Likewise.
30727 * tls.make.c: Likewise.
30728
3ce1f295
UD
30729 * configure.in: Remove --with-__thread option. Make tests for
30730 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
30731 tls_model attribute fail if no support is available. Remove
30732 USE_IN_LIBIO.
30733 * Makeconfig: Adjust for dropped configure option. All features are
30734 now mandatory.
30735 * Makerules: Likewise.
30736 * Versions.def: Likewise.
30737 * argp/argp-fmtstream.c: Likewise.
30738 * argp/argp-fmtstream.h: Likewise.
30739 * argp/argp-help.c: Likewise.
30740 * assert/assert.c: Likewise.
30741 * config.h.in: Likewise.
30742 * config.make.in: Likewise.
30743 * configure: Likewise.
30744 * configure.in: Likewise.
30745 * csu/Versions: Likewise.
30746 * csu/init.c: Likewise.
30747 * elf/tst-audit2.c: Likewise.
30748 * elf/tst-tls10.c: Likewise.
30749 * elf/tst-tls10.h: Likewise.
30750 * elf/tst-tls11.c: Likewise.
30751 * elf/tst-tls12.c: Likewise.
30752 * elf/tst-tls14.c: Likewise.
30753 * elf/tst-tlsmod11.c: Likewise.
30754 * elf/tst-tlsmod12.c: Likewise.
30755 * elf/tst-tlsmod13.c: Likewise.
30756 * elf/tst-tlsmod13a.c: Likewise.
30757 * elf/tst-tlsmod14a.c: Likewise.
30758 * elf/tst-tlsmod15b.c: Likewise.
30759 * elf/tst-tlsmod16a.c: Likewise.
30760 * elf/tst-tlsmod16b.c: Likewise.
30761 * elf/tst-tlsmod7.c: Likewise.
30762 * elf/tst-tlsmod8.c: Likewise.
30763 * elf/tst-tlsmod9.c: Likewise.
30764 * gmon/gmon.c: Likewise.
30765 * grp/fgetgrent_r.c: Likewise.
30766 * grp/putgrent.c: Likewise.
30767 * hurd/fopenport.c: Likewise.
30768 * include/libc-symbols.h: Likewise.
30769 * include/tls.h: Likewise.
30770 * intl/gettextP.h: Likewise.
30771 * intl/loadinfo.h: Likewise.
30772 * locale/global-locale.c: Likewise.
30773 * locale/localeinfo.h: Likewise.
30774 * mach/devstream.c: Likewise.
30775 * malloc/arena.c: Likewise.
30776 * malloc/set-freeres.c: Likewise.
30777 * misc/err.c: Likewise.
30778 * misc/getttyent.c: Likewise.
30779 * misc/mntent_r.c: Likewise.
30780 * posix/getopt.c: Likewise.
30781 * posix/wordexp.c: Likewise.
30782 * pwd/fgetpwent_r.c: Likewise.
30783 * resolv/Versions: Likewise.
30784 * resolv/res_hconf.c: Likewise.
30785 * shadow/fgetspent_r.c: Likewise.
30786 * shadow/putspent.c: Likewise.
30787 * stdio-common/printf_fphex.c: Likewise.
30788 * stdio-common/tmpfile.c: Likewise.
30789 * stdlib/abort.c: Likewise.
30790 * stdlib/fmtmsg.c: Likewise.
30791 * sunrpc/auth_unix.c: Likewise.
30792 * sunrpc/clnt_perr.c: Likewise.
30793 * sunrpc/clnt_tcp.c: Likewise.
30794 * sunrpc/clnt_udp.c: Likewise.
30795 * sunrpc/clnt_unix.c: Likewise.
30796 * sunrpc/openchild.c: Likewise.
30797 * sunrpc/svc_simple.c: Likewise.
30798 * sunrpc/svc_tcp.c: Likewise.
30799 * sunrpc/svc_udp.c: Likewise.
30800 * sunrpc/svc_unix.c: Likewise.
30801 * sunrpc/xdr.c: Likewise.
30802 * sunrpc/xdr_array.c: Likewise.
30803 * sunrpc/xdr_rec.c: Likewise.
30804 * sunrpc/xdr_ref.c: Likewise.
30805 * sunrpc/xdr_stdio.c: Likewise.
30806
1248c1c4
PB
308072011-09-09 Ulrich Drepper <drepper@gmail.com>
30808
30809 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30810
308112011-07-03 Andreas Jaeger <aj@suse.de>
30812
30813 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
30814 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
30815 regenerate with gen-libm-tests.pl.
30816
308172010-05-12 Petr Baudis <pasky@suse.cz>
30818
30819 [BZ #11589]
30820 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
30821 around j0() zero points by switching to j1().
30822 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30823 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30824 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30825 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30826
f22e1074
UD
308272011-09-09 Ulrich Drepper <drepper@gmail.com>
30828
f19009c1
UD
30829 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
30830 instead of 0.
30831 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 30832 instead of 0.
f19009c1
UD
30833 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30834 Patch in part by Pavel Roskin <proski@gnu.org>.
30835
3f8cc204
UD
30836 [BZ #13138]
30837 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
30838 realloc.
30839 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
30840 Free memory block if necessary.
30841
f22e1074
UD
30842 [BZ #12847]
30843 * libio/genops.c (INTDEF): For string streams the _lock pointer can
30844 be NULL. Don't lock in this case.
30845
0a2349f9
RM
308462011-09-09 Roland McGrath <roland@hack.frob.com>
30847
30848 * elf/elf.h (ELFOSABI_GNU): New macro.
30849 (ELFOSABI_LINUX): Define to that.
30850
f3cdd467
DZ
308512011-07-29 Denis Zaitceff <zaitceff@gmail.com>
30852
30853 * string/strncat.c (strncat): Undef the symbol in case it has been
30854 defined in bits/string.h.
30855
74718d13
UD
308562011-09-09 Ulrich Drepper <drepper@gmail.com>
30857
633e9e0f
UD
30858 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
30859
0a2349f9 30860 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
30861 link map.
30862
f9924780
AJ
308632011-08-17 Andreas Jaeger <aj@suse.de>
30864
30865 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
30866
7f5517aa
PP
308672011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
30868 Ian Lance Taylor <iant@google.com>
30869
30870 * math/libm-test.inc (lround_test): New testcase.
30871 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
30872
762011fe
UD
308732011-09-08 Ulrich Drepper <drepper@gmail.com>
30874
92963737
UD
30875 * Makefile: Remove support for automatic cvs check-ins.
30876 * Makerules: Likewise.
30877 * config.make.in: Likewise.
30878 * configure.in: Likewise.
30879 * intl/Makefile: Likewise.
30880 * locale/Makefile: Likewise.
30881 * po/Makefile: Likewise.
30882 * posix/Makefile: Likewise.
30883 * sysdeps/gnu/Makefile: Likewise.
30884 * sysdeps/mach/hurd/Makefile: Likewise.
30885 * sysdeps/sparc/sparc32/Makefile: Likewise.
30886
b0727fd8
JS
30887 [BZ #13118]
30888 * posix/Makefile (bug-regex32-ENV): Define.
30889 Patch by John Stanley <jpsinthemix@verizon.net>.
30890
a0f33f99
UD
30891 * misc/Makefile (headers): Add bits/select2.h.
30892 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
30893 * misc/bits/select2.h: New file.
30894 * include/bits/select2.h: New file.
30895 * debug/Makefile (routines): Add fdelt_chk.
30896 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
30897 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
30898 FD_ISSET.
30899 * debug/fdelt_chk.c: New file.
30900
762011fe
UD
30901 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
30902 * wcsmbs/test-wmemcmp.c: Likewise.
30903 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 30904 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
30905
309062011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30907
30908 * string/Makefile (strop-tests): Add memcmp.
30909 * string/test-wmemcmp.c: New file.
30910 * string/test-memcmp.c: Add wmemcmp support.
30911
7f513ec8
RM
309122011-09-08 Roland McGrath <roland@hack.frob.com>
30913
0442afb4
RM
30914 [BZ #13153]
30915 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
30916 2011-07-19 change.
30917
7f513ec8
RM
30918 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
30919 garbage value in a __mach_port_mod_refs call in the cases of the
30920 task-self and thread-self ports.
30921
a12b2239
ST
309222011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
30923
30924 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
30925
610f9ab4
AS
309262011-09-08 Andreas Schwab <schwab@redhat.com>
30927
7f513ec8 30928 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 30929
48882a1a
LD
309302011-09-07 Ulrich Drepper <drepper@gmail.com>
30931
b49865be
UD
30932 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
30933
fdc86bc9
UD
30934 * elf/dl-libc.c (dlerror_run): Pass back error code from
30935 dl_catch_error.
30936
c966526a
UD
30937 [BZ #13123]
30938 * elf/dl-load.c (lose): Free l_origin if it is valid.
30939
48882a1a
LD
30940 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
30941 names.
30942 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
30943 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30944 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30945 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30946 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
30947 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
30948
77a2a8b4
AZ
309492011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30950
30951 * sysdeps/powerpc/fpu/e_hypot.c: New file.
30952 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
30953 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
30954 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
30955 * sysdeps/powerpc/fpu/k_cosf.c: New file.
30956 * sysdeps/powerpc/fpu/k_sinf.c: New file.
30957 * sysdeps/powerpc/fpu/s_cosf.c: New file.
30958 * sysdeps/powerpc/fpu/s_sinf.c: New file.
30959 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
30960 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
30961
24f579d8
AM
309622011-08-15 Alan Modra <amodra@gmail.com>
30963
30964 [BZ #13092]
30965 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
30966 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
30967 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
30968 ppc_mcount to static-only-routines.
30969 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
30970 __mcount_internal.
30971 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
30972 __mcount_internal with usual JUMPTARGET. Remove useless nop.
30973
3d4837df
UD
309742011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
30975
30976 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
30977 for finite and infinity parameters.
30978
22700377
WS
309792011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30980
30981 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
30982 and add nop instructions for throughput optimization.
30983 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30984
5025581e
WS
309852011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
30986
30987 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
30988 aligned copy for power7 with vector-scalar instructions.
30989 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30990
08a300c9
L
309912011-07-24 H.J. Lu <hongjiu.lu@intel.com>
30992
30993 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
30994 AVX check.
30995
59178ef9
AS
309962011-09-07 Andreas Schwab <schwab@redhat.com>
30997
30998 [BZ #13144]
30999 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
31000 last change.
31001
e38ba7ab
UD
310022011-09-07 Ulrich Drepper <drepper@gmail.com>
31003
31004 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31005 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
31006 syscall wrapper around clock_gettime in __vdso_clock_gettime.
31007 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
31008 clock_gettime.
31009
d53a73ac
UD
310102011-09-06 Ulrich Drepper <drepper@gmail.com>
31011
fc8bffcc
UD
31012 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
31013 Forgot to demangle the pointer.
31014
ceaa0c5d
UD
31015 * sysdeps/i386/sysdep.h: Define atom_text_section.
31016 * sysdeps/x86_64/sysdep.h: Likewise.
31017 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
31018 section with atom_text_section.
31019 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31020 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31021 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
31022 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31023 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
31024
a77d3c17
UD
31025 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
31026 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
31027 already be defined. Change to take two parameters and don't assign
31028 result to variable. Adjust all users.
31029 Define INTERNAL_GETTIME if not already defined.
31030 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
31031 call.
31032 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
31033 HAVE_CLOCK_GETTIME_VSYSCALL.
31034 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
31035
d53a73ac
UD
31036 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
31037 gettimeofday vsyscall, just use time.
31038
a8f84144
AS
310392011-09-06 Andreas Schwab <schwab@redhat.com>
31040
31041 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
31042 <errno.h>.
31043
ef606249
UD
310442011-09-06 Ulrich Drepper <drepper@gmail.com>
31045
31046 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
31047 syscall on x86-64.
31048 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
31049 syscall.
31050 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
31051 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
31052 syscall if possible.
31053
6585cb60
UD
310542011-09-05 Ulrich Drepper <drepper@gmail.com>
31055
31056 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
31057 e_ident. Don't pass to find_mapsXX.
31058 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
31059
a5f524e4
LD
310602011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31061
31062 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31063 strchr-sse2-no-bsf strrchr-sse2-no-bsf
31064 * sysdeps/x86_64/multiarch/strchr.S: Update.
31065 Check bit_slow_BSF bit.
31066 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31067 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
31068 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
31069
554881ef
UD
310702011-09-05 Ulrich Drepper <drepper@gmail.com>
31071
d96de963
UD
31072 [BZ #13134]
31073 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
31074 before glibc 2.15.
31075 (tryshell): Define.
31076 (__spawni): Change last parameter to be flag. Test
31077 SPAWN_XFLAGS_USE_PATH flag to use path or not.
31078 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
31079 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
31080 * posix/spawni.c: Likewise.
31081 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
31082 * posix/spawnp.c: Likewise. Change normal version to use
31083 SPAWN_XFLAGS_USE_PATH.
31084 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
31085 SPAWN_XFLAGS_TRY_SHELL.
31086
d48e5868
UD
31087 [BZ #13150]
31088 * posix/glob.h: Remove gcc 1.x support.
31089
554881ef
UD
31090 [BZ #13068]
31091 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
31092
693fb948
LD
310932011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31094
31095 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31096 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
31097 strrchr-sse2-bsf
31098 * sysdeps/i386/i686/multiarch/strchr.S: New file.
31099 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
31100 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
31101 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
31102 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
31103 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
31104
1b48c537
UD
311052011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31106
49d42c37
UD
31107 * sysdeps/x86_64/wcscmp.S: New file.
31108
1b48c537
UD
31109 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
31110 wcscmp-c wcscmp-sse2
31111 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
31112 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
31113 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
31114 * wcsmbs/wcscmp.c: Allow renaming.
31115
15c95c5d
DM
311162011-09-05 David S. Miller <davem@davemloft.net>
31117
31118 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
31119 stack slot, rather than the struct return pointer slot.
31120 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
31121 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
31122 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
31123 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
31124
2f0ad8f3
UD
311252011-09-05 Ulrich Drepper <drepper@gmail.com>
31126
d88ae418
UD
31127 * po/ja.po: Update from translation team.
31128
2f0ad8f3
UD
31129 [BZ #13144]
31130 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
31131 kernel in 64-bit binaries.
31132
5f4318d1
DM
311332011-09-01 David S. Miller <davem@davemloft.net>
31134
31135 * elf/elf.h (HWCAP_SPARC_*): Move to..
31136 * sysdeps/sparc/sysdep.h: this new file and add new values.
31137 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
31138 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
31139 _DL_HWCAP_COUNT to 24.
31140 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31141 entries.
31142 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
31143 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
31144 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
31145 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
31146 instead of magic constants.
31147 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31148
3ba57516
DM
311492011-08-31 David S. Miller <davem@davemloft.net>
31150
31151 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
31152 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
31153 Reimplement to do errno handling inline.
31154 (SYSCALL_ERROR_HANDLER): New macro.
31155 (__SYSCALL_STRING): Do not do errno handling in asm.
31156 (__CLONE_SYSCALL_STRING): Delete.
31157 (__INTERNAL_SYSCALL_STRING): Delete.
31158 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
31159 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
31160 (PSEUDO): Reimplement to do errno handling inline.
31161 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
31162 (SYSCALL_ERROR_HANDLER): New macro.
31163 (__SYSCALL_STRING): Do not do errno handling in asm.
31164 (__CLONE_SYSCALL_STRING): Delete.
31165 (__INTERNAL_SYSCALL_STRING): Delete.
31166 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
31167 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
31168 i386.
31169 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
31170 (inline_syscall*): Add 'err' argument.
31171 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
31172 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
31173 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
31174 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
31175
31176 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
31177 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31178
2bc17433
AS
311792011-08-30 Andreas Schwab <schwab@redhat.com>
31180
31181 * elf/rtld.c (dl_main): Relocate objects in dependency order.
31182
fbeb5f4d
JO
311832011-08-29 Jiri Olsa <jolsa@redhat.com>
31184
31185 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
31186 directive.
31187
ad69cc26
DM
311882011-08-24 David S. Miller <davem@davemloft.net>
31189
31190 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
31191
39dd69df
AS
311922011-08-24 Andreas Schwab <schwab@redhat.com>
31193
31194 * elf/Makefile: Add rules to build and run unload8 test.
31195 * elf/unload8.c: New file.
31196 * elf/unload8mod1.c: New file.
31197 * elf/unload8mod1x.c: New file.
31198 * elf/unload8mod2.c: New file.
31199 * elf/unload8mod3.c: New file.
31200
31201 * elf/dl-close.c (_dl_close_worker): Reset private search list if
31202 it wasn't used.
31203
2c0b250a
DM
312042011-08-23 David S. Miller <davem@davemloft.net>
31205
31206 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
31207 subtract stack bias.
31208 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
31209 %sp not %fp in calculations.
31210 (_JMPBUF_UNWINDS_ADJ): Likewise.
31211
22044b48
DM
31212 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
31213 (aio_suspend): Call it to force an exception region around the
31214 AIO_MISC_WAIT() invocation.
31215
2cae4995
AS
312162011-08-23 Andreas Schwab <schwab@redhat.com>
31217
31218 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
31219 backslash.
31220
873a772e
AJ
312212011-07-04 Aurelien Jarno <aurelien@aurel32.net>
31222
31223 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
31224 protection macro.
31225 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
31226 and <dl-machine.h>.
31227 (Elf64_FuncDesc): Remove.
31228
25ad0df1
DM
312292011-08-22 David S. Miller <davem@davemloft.net>
31230
31231 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
31232 sigaltstack check, add missing cfi directives.
31233 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
31234 missing cfi directives, and sigaltstack handling.
31235
e888bcbe
AS
312362011-08-16 Andreas Schwab <schwab@redhat.com>
31237
31238 [BZ #11724]
31239 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
31240 object is seen twice.
31241 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31242
31243 * elf/Makefile (distribute): Add tst-initorder2.c.
31244 (tests): Add tst-initorder2.
31245 (modules-names): Add tst-initorder2a tst-initorder2b
31246 tst-initorder2c tst-initorder2d. Add rules to build them.
31247 ($(objpfx)tst-initorder2.out): New rule.
31248 * elf/tst-initorder2.c: New file.
31249 * elf/tst-initorder2.exp: New file.
31250
87162f46
AS
312512011-08-22 Andreas Schwab <schwab@redhat.com>
31252
70538b7f
AS
31253 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
31254
f55ffe58
AS
31255 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
31256 dependencies back to end of function.
31257
87162f46
AS
31258 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31259 $(elfobjdir)/ld.so.
31260
91b392a4
UD
312612011-08-21 Ulrich Drepper <drepper@gmail.com>
31262
31263 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
31264 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
31265 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
31266 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
31267 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
31268 of __vdso_gettimeofday.
31269 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
31270 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
31271 attribute_hidden.
31272 (_libc_vdso_platform_setup): Remove initialization of
31273 __vdso_gettimeofday and __vdso_time.
31274
5c43483f
UD
312752011-08-20 Ulrich Drepper <drepper@gmail.com>
31276
775a77e7
UD
31277 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
31278 and fgetc_unlocked.
31279 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
31280 getc_unlocked.
89f447ed 31281
49c74ba9
UD
31282 * elf/dl-open.c (add_to_global): Report additions to the global scope
31283 for LD_DEBUG=scopes.
31284 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 31285 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 31286
5c43483f
UD
31287 [BZ #13114]
31288 * stdio-common/Makefile (tests): Add bug24.
31289 * stdio-common/bug24.c: New file.
31290
a101b025
AJ
312912011-08-19 Andreas Jaeger <aj@suse.de>
31292
31293 [BZ #13114]
31294 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
31295 non-existant file when using close-on-exec mode.
31296
c88f1766
UD
312972011-08-20 Ulrich Drepper <drepper@gmail.com>
31298
0276a718
UD
31299 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
31300 the very first instruction.
31301
c88f1766
UD
31302 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
31303 the CFI state in the end.
31304 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
31305 inclusion of dl-trampoline.h.
31306 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
31307
51ccffa0
AS
313082011-08-19 Andreas Schwab <schwab@redhat.com>
31309
94d7165f
AS
31310 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
31311 expectations for long double.
31312
51ccffa0
AS
31313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
31314 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
31315
fd708658 313162011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
31317
31318 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
31319 artificual limit depends upon the system page size.
31320
44f0a71e
UD
313212011-08-17 Ulrich Drepper <drepper@gmail.com>
31322
31323 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
31324 * resolv/Makefile: Define CFLAGS-libresolv.
31325
8de79a24
AS
313262011-08-17 Andreas Schwab <schwab@redhat.com>
31327
31328 * nss/makedb.c (compute_tables): Make variables used in nested
31329 function static.
31330
27724598
UD
313312011-08-17 Ulrich Drepper <drepper@gmail.com>
31332
c5305d88
UD
31333 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
31334 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
31335 if buffer was too small.
31336
27724598
UD
31337 * elf/pldd.c (main): Attach to all threads in the process.
31338 Rewrite /proc handling to use *at functions.
31339
076fe015
UD
313402011-08-16 Ulrich Drepper <drepper@gmail.com>
31341
174baab3
UD
31342 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
31343 specifies first scope to show.
31344 (dl_open_worker): Update callers. Move printing scope of new
31345 object to before the relocation.
44f0a71e 31346 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
31347 * sysdeps/generic/ldsodefs.h: Update declaration.
31348
076fe015
UD
31349 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
31350 string for the scope number.
31351
a60df2c3
UD
313522011-08-14 Ulrich Drepper <drepper@gmail.com>
31353
31354 * nscd/servicescache.c (cache_addserv): Make sure written is always
31355 initialized.
31356
5e4287d1
RM
313572011-08-14 Roland McGrath <roland@hack.frob.com>
31358
85ae0589
RM
31359 * sysdeps/i386/i486/bits/atomic.h
31360 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
31361 statement expression, so as to suppress "set but not used" warning.
31362 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
31363
69f63097
RM
31364 * string/strncat.c (STRNCAT): Use prototype definition.
31365
675456ef
RM
31366 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
31367 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
31368 -Iprograms here.
31369 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
31370 (localedef-modules): Add localedef.
31371 (locale-modules): Add locale.
31372
5e4287d1
RM
31373 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
31374 * elf/rtld.c (dl_main): Invert order of assignment in last change,
31375 to avoid a warning.
31376
9c96ff23
DM
313772011-08-14 David S. Miller <davem@davemloft.net>
31378
31379 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
31380 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
31381
f9ddf089
UD
313822011-08-13 Ulrich Drepper <drepper@gmail.com>
31383
44f0a71e 31384 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
31385 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
31386 * elf/rtld.c (dl_main): Set l_name of vDSO.
31387 Call _dl_show_scope when DL_DEBUG_SCOPES.
31388 (process_dl_debug): Recognize scopes flag and also set it for all.
31389 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
31390 Declare _dl_show_scope.
31391
1dc27704
UD
31392 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
31393 (do_dlopen): Pass caller_dlopen to dl_open.
31394 (__libc_dlopen_mode): Initialize caller_dlopen.
31395
f9ddf089
UD
31396 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
31397 of libc. Make tolower call locale-independent. Optimize a bit by
31398 using isdigit instead of isalnum.
31399 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
31400
9ac533d3
UD
314012011-08-12 Ulrich Drepper <drepper@gmail.com>
31402
31403 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
31404 was a dependency or dynamically loaded.
31405
89edf2e9
UD
314062011-08-11 Ulrich Drepper <drepper@gmail.com>
31407
8e999d29
UD
31408 * intl/l10nflist.c: Allow architecture-specific pop function.
31409 * sysdeps/x86_64/l10nflist.c: New file.
31410
89edf2e9
UD
31411 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
31412 classification.
31413
14d96785
AS
314142011-08-10 Andreas Schwab <schwab@redhat.com>
31415
31416 * include/dirent.h: Add libc_hidden_proto for scandirat and
31417 scandirat64. Don't declare __scandirat64.
31418 * dirent/scandirat.c: Add libc_hidden_def.
31419 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
31420 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
31421
6761ac04
DM
314222011-08-10 David S. Miller <davem@davemloft.net>
31423
31424 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
31425 enum.
31426 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31427 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31428 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31429
c55fbd1e
UD
314302011-08-09 Ulrich Drepper <drepper@gmail.com>
31431
31432 * Versions.def [libc]: Add GLIBC_2.15.
31433 * dirent/Makefile (routines): Add scandirat and scandirat64.
31434 * dirent/Versions [libc]: Export scandirat and scandirat64 for
31435 GLIBC_2.15.
31436 * dirent/dirent.h: Declare scandirat and scandirat64.
31437 * dirent/scandirat.c: New file.
31438 * dirent/scandirat64.c: New file.
31439 * sysdeps/wordsize-64/scandirat.c: New file.
31440 * sysdeps/wordsize-64/scandirat64.c: New file.
31441 * dirent/opendir.c: Define opendirat.
31442 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
31443 using scandirat.
31444 * dirent/scandir64.c: Adjust for scandir.c change.
31445 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
31446 __scandirat64, and __scandir_cancel_handler.
31447 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
31448 additional parameter and use openat instead of open (outside of ld.so).
31449 Add new __opendir as wrapper around __opendirat.
31450 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
31451 here without requiring old scandirat implementation.
31452
879165f2
UD
314532011-08-08 Ulrich Drepper <drepper@gmail.com>
31454
31455 * dirent/scandir.c (cancel_handler): Renamed to
31456 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
31457 defined. Adjust users.
31458 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
31459 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
31460
cb7e923b
UD
314612011-08-04 Ulrich Drepper <drepper@gmail.com>
31462
16292edd
UD
31463 * string/test-string.h (IMPL): Use __STRING to expand name and then
31464 stringify it.
31465
cb7e923b
UD
31466 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
31467 of cleanups.
31468
cff82933
LD
314692011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31470
31471 * string/Makefile: Update.
31472 (strop-tests): Append strncat.
31473 * string/test-wcscmp.c: New file.
31474 New comprehensive test for wcscmp.
31475 * string/test-strcmp.c: Update.
31476 (WIDE): New define.
31477
9be9bfcc
AS
314782011-07-22 Andreas Schwab <schwab@redhat.com>
31479
31480 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
31481 line.
31482
2e96f1c7
AS
314832011-07-26 Andreas Schwab <schwab@redhat.com>
31484
31485 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31486 encoding to ACE if AI_IDN.
31487
85188888
JJ
314882011-08-01 Jakub Jelinek <jakub@redhat.com>
31489
31490 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
31491 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
31492
5fa16e9b
LD
314932011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31494
31495 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
31496 Fix overflow bug in strncat.
31497 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
31498
31499 * string/test-strncat.c: Update.
31500 Add new tests for checking overflow bugs.
31501
315022011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31503
31504 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31505 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
31506 * sysdeps/i386/i686/multiarch/strcat.S: New file.
31507 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
31508 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
31509 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
31510 * sysdeps/i386/i686/multiarch/strncat.S: New file.
31511 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
31512 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
31513
31514 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
31515 (USE_AS_STRCAT): Define.
31516 Add strcat and strncat support.
31517 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31518
8c1a459f
AS
315192011-07-25 Andreas Schwab <schwab@redhat.com>
31520
31521 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
31522 __n bigger than INT_MAX+1.
31523 (__strncmp_g): Likewise.
31524
bba33c28
UD
315252011-07-23 Ulrich Drepper <drepper@gmail.com>
31526
798be72d
UD
31527 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
31528 * libio/stido.h: Likewise.
31529
8accd4dc
UD
31530 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
31531 (AF_NFC): Define.
31532 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
31533 (AF_NFC): Define.
31534
cbff0d96
UD
31535 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
31536 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31537 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31538 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31539 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31540
9191c04a
UD
31541 [BZ #13021]
31542 * scripts/test-installation.pl: Don't expect libnss_test1 to be
31543 installed.
31544
bba33c28
UD
31545 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
31546 typo.
31547 (_dl_x86_64_save_sse): Likewise.
31548
90f139dd
UD
315492011-07-22 Ulrich Drepper <drepper@gmail.com>
31550
1aae088a
UD
31551 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
31552 OSXSAVE.
31553 (_dl_x86_64_save_sse): Likewise.
31554
8e2045f5
UD
31555 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
31556
90f139dd
UD
31557 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
31558
1d002f25
AS
315592011-07-21 Andreas Schwab <schwab@redhat.com>
31560
31561 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
31562 change.
31563 (_dl_x86_64_save_sse): Use correct AVX check.
31564
21137f89
UD
315652011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31566
31567 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
31568 bug in strncpy/strncat.
31569 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
31570
a65c0b7a
UD
315712011-07-21 Ulrich Drepper <drepper@gmail.com>
31572
31573 * string/tester.c (test_strcat): Add tests for different alignments
31574 of source and destination.
31575 (test_strncat): Likewise.
31576
6986b98a
UD
315772011-07-20 Ulrich Drepper <drepper@gmail.com>
31578
90bb2039
UD
31579 [BZ #12852]
31580 * posix/glob.c (glob): Check passed in values before using them in
31581 expressions to avoid some overflows.
31582 (glob_in_dir): Likewise.
31583
5644ef54
UD
31584 [BZ #13007]
31585 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
31586 check for AVX enablement so that we don't crash with old kernels and
31587 new hardware.
31588 * elf/tst-audit4.c: Add same checks here.
31589 * elf/tst-audit6.c: Likewise.
31590
31591 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 31592
bfc9dc9b
AS
315932011-07-09 Andreas Schwab <schwab@linux-m68k.org>
31594
31595 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
31596
702e64bb
UD
315972011-07-20 Ulrich Drepper <drepper@gmail.com>
31598
31599 * po/cs.po: Update from translation team.
31600 * po/bg.po: Likewise.
31601
295e904f
MP
316022011-07-12 Marek Polacek <mpolacek@redhat.com>
31603
31604 * misc/sys/cdefs.h: Add support for const attribute.
31605 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
31606 to gnu_dev_{major,minor,makedev} functions.
31607
3ff94596
MP
316082011-07-20 Marek Polacek <mpolacek@redhat.com>
31609
31610 * intl/dcigettext.c (get_output_charset): Add missing bracket.
31611
28b59fca
AS
316122011-07-20 Andreas Schwab <schwab@redhat.com>
31613
31614 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
31615 strlen results.
31616
19df733e
AK
316172011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31618
31619 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
31620 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
31621 register in order to avoid conflicts with the soft frame pointer
31622 being held in r11 when necessary.
31623 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
31624 (INTERNAL_VSYSCALL_NCS): Likewise.
31625
c8835729
MP
316262011-07-14 Marek Polacek <mpolacek@redhat.com>
31627
31628 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
31629 * elf/dl-fini.c (_dl_fini): Adjust caller.
31630 * elf/dl-close.c (_dl_close_worker): Likewise.
31631 * sysdeps/generic/ldsodefs.h: Adjust declaration.
31632
b902330c
MP
316332011-07-15 Marek Polacek <mpolacek@redhat.com>
31634
8991e135
MP
31635 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
31636 "aux_cache->nlibs < 0".
31637
b902330c
MP
31638 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
31639 in the reload-count case.
31640
99710781
LD
316412011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31642
31643 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31644 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
31645 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
31646 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
31647 * sysdeps/x86_64/multiarch/strcat.S: New file.
31648 * sysdeps/x86_64/multiarch/strncat.S: New file.
31649 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
31650 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
31651 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
31652 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
31653 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
31654 (USE_AS_STRCAT): Define.
31655 Add strcat and strncat support.
31656 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31657 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31658 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
31659 * string/strncat.c: Update.
31660 (USE_AS_STRNCAT): Define.
31661 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31662 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
31663 and i7.
31664 * sysdeps/x86_64/multiarch/init-arch.h
31665 (bit_Prefer_PMINUB_for_stringop): New.
31666 (index_Prefer_PMINUB_for_stringop): Likewise.
31667 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
31668 bit_Prefer_PMINUB_for_stringop.
31669
7dc6bd90
UD
316702011-07-19 Ulrich Drepper <drepper@gmail.com>
31671
31672 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
31673 buffer64.
31674 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
31675 of casting of buffer.
31676 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
31677 buffer32 and buffer64.
31678 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
31679 writes instead of casting of buffer.
31680 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
31681 buffer32.
31682 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
31683 casting of buffer.
31684
e0e72284
AS
316852011-07-19 Andreas Schwab <schwab@redhat.com>
31686
31687 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
31688
feb1eb0b
UD
316892011-07-19 Ulrich Drepper <drepper@gmail.com>
31690
31691 * nscd/nscd.c (termination_handler): Don't do anything for a database
31692 if it has not yet been initialized.
31693
298711ff
UD
316942011-07-18 Ulrich Drepper <drepper@gmail.com>
31695
31696 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31697
316982011-07-15 Marek Polacek <mpolacek@redhat.com>
31699
31700 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31701
f9d68389
UD
317022011-07-18 Ulrich Drepper <drepper@gmail.com>
31703
31704 * po/nl.po: Update from translation team.
31705 * po/sv.po: Likewise.
31706
db290cf5
RM
317072011-07-16 Roland McGrath <roland@hack.frob.com>
31708
31709 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
31710 now disallowed by GCC.
5c550700 31711
fd5e21c7
RM
31712 * configure.in (use-default-link): Default to yes if a test -shared
31713 link meets our qualifications.
31714 * configure: Regenerated.
31715
5c550700
RM
31716 * config.make.in (output-format): New variable.
31717 * configure.in: Check for ld --print-output-format support.
31718 * configure: Regenerated.
31719 * Makerules ($(common-objpfx)format.lds)
31720 [$(output-format) != unknown]: Just use $(output-format),
31721 instead of the linker-script munging.
31722
9fa2c032
RM
317232011-07-14 Roland McGrath <roland@hack.frob.com>
31724
a6928d51
RM
31725 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
31726 of $(common-objpfx)shlib.lds.
31727 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
31728
661607b3
RM
31729 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
31730 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
31731
9fa2c032
RM
31732 * configure.in (-z relro check): Adjust test code to add a large
31733 writable data section after it.
31734 * configure: Regenerated.
31735
defe9061
RM
317362011-07-11 Roland McGrath <roland@hack.frob.com>
31737
31738 * configure.in (-z relro check): Fix test code to make the variable
31739 truly const.
31740 * configure: Regenerated.
31741
319b9ad4
UD
317422011-07-11 Ulrich Drepper <drepper@gmail.com>
31743
31744 * nscd/nscd.h (struct traced_file): Define.
31745 (struct database_dyn): Remove inotify_descr, reset_res, and filename
31746 elements. Add traced_files.
31747 (inotify_fd): Declare.
31748 (register_traced_file): Declare.
31749 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
31750 (inotify_fd): Export.
31751 (resolv_conf_descr): Remove.
31752 (nscd_init): Move inotify descriptor creation to main.
31753 Don't register files for notification here.
31754 (register_traced_file): New function.
31755 (invalidate_cache): Don't use reset_res to determine whether to call
31756 res_init, go through the list of registered files.
31757 (main_loop_poll): The inotify descriptors are now stored in the
31758 structures for the traced files.
31759 (main_loop_epoll): Likewise
31760 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
31761 to __nss_disable_nscd.
31762 * nscd/cache.c (prune_cache): There is no single inotify descriptor
31763 for a database anymore. Check the records for all the registered
31764 files instead.
31765 * nss/Makefile (libnss_files-routines): Add files-init.
31766 (libnss_db-routines): Add db-init.
31767 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
31768 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
31769 * nss/nss_db/db-init.c: New file.
31770 * nss/nss_files/files-init.c: New file.
31771 * nss/nsswitch.c (nss_load_library): New function. Broken out of
31772 __nss_lookup_function.
31773 (__nss_lookup_function): Call nss_load_library.
31774 (nss_load_all_libraries): New function.
31775 (__nss_disable_nscd): Take parameter with callback function for files
31776 to register. Set is_nscd. Load all the DSOs for the NSS modules
31777 used for the cached services.
31778 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
31779 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
31780 options for features to all the files in nscd.
31781
31782 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
31783
23bee3e8
RM
317842011-07-10 Roland McGrath <roland@hack.frob.com>
31785
31786 * csu/elf-init.c (__libc_csu_init): Comment typo.
31787
46a5b7f0
UD
317882011-07-09 Ulrich Drepper <drepper@gmail.com>
31789
31790 * po/pl.po: Update from translation team.
31791 * po/ja.po: Likewise.
31792 * po/ru.po: Likewise.
31793 * po/ko.po: Likewise.
31794 * po/fr.po: Likewise.
31795
d30cf5bb
RM
317962011-07-09 Roland McGrath <roland@hack.frob.com>
31797
113ddea4
RM
31798 * configure.in (.ctors/.dtors header and trailer check):
31799 Use an empirical test on a built program.
31800 * configure: Regenerated.
31801
574920b4
RM
31802 * configure.in (-z relro check): Use an empirical test on a built DSO.
31803 Detect, but do not require, on ia64.
31804 * configure: Regenerated.
31805
d30cf5bb
RM
31806 * configure.in (READELF): Find it with AC_CHECK_TOOL.
31807 Update tests that use readelf to use $READELF instead.
31808 * configure: Regenerated.
31809
8538fdb3
UD
318102011-07-08 Ulrich Drepper <drepper@gmail.com>
31811
31812 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
31813 if the result is not used.
31814
04d08991
AJ
318152011-07-05 Andreas Jaeger <aj@suse.de>
31816
31817 [BZ#9696]
31818 * stdlib/tst-strtod.c: Add testcase.
31819
de283087
AD
318202011-07-07 Ulrich Drepper <drepper@gmail.com>
31821
4e5f31c8 31822 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 31823 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
31824 The latter has a higher limit. Take additional parameter to pass to
31825 the new function.
31826 (__pathconf): Pass file to __statfs_link_max.
31827 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
31828 __statfs_link_max.
31829 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
31830 __statfs_link_max.
31831
de283087
AD
31832 [BZ #12868]
31833 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
31834 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31835 Handle Lustre.
31836 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
31837 (__statfs_filesize_max): Likewise.
31838 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
31839
c75fa153
AJ
318402011-07-05 Andreas Jaeger <aj@suse.de>
31841
31842 * resolv/res_comp.c (dn_skipname): Remove unused variable.
31843
1a544854
UD
318442011-07-06 Marek Polacek <mpolacek@redhat.com>
31845
31846 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
31847 `status' variable.
31848 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
31849 Likewise.
31850
6f0eec67
UD
318512011-07-04 H.J. Lu <hongjiu.lu@intel.com>
31852
31853 * Makefile (strop-tests): Add strncat.
31854 * string/test-strncat.c: New file.
31855
aae30307
UD
318562011-06-30 Marek Polacek <mpolacek@redhat.com>
31857
31858 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
31859
c0cfb5eb
UD
318602011-06-21 Andreas Jaeger <aj@suse.de>
31861
31862 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
31863 Copy rule from iconvdata/Makefile.
31864
01636b21
UD
318652011-07-06 Ulrich Drepper <drepper@gmail.com>
31866
31867 [BZ #12922]
31868 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
31869 but no long options are defined, just return 'W'.
31870
9895c8bc
UD
318712011-06-22 Marek Polacek <mpolacek@redhat.com>
31872
31873 [BZ #9696]
31874 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
31875
5d4cf042
UD
318762011-07-06 Ulrich Drepper <drepper@gmail.com>
31877
31878 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
31879 netgroups to read.
960e5535 31880 (innetgr): Likewise.
5d4cf042 31881
751eb97e
RM
318822011-07-05 Roland McGrath <roland@hack.frob.com>
31883
31884 * config.make.in (install_root): Default to $(DESTDIR).
31885
f15f1e45
UD
318862011-07-05 Ulrich Drepper <drepper@gmail.com>
31887
31888 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
31889
4e34ac6a
RM
318902011-07-02 Roland McGrath <roland@hack.frob.com>
31891
5e9b6af4
RM
31892 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
31893
84f9ea0f
RM
31894 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
31895 containing directory rather than embedding absolute directory names.
31896
ea5ee9f7
RM
31897 * scripts/check-local-headers.sh: Rewritten using awk.
31898 Match by word, not by line. Print error messages for matches.
31899 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
31900
1b74661a
RM
31901 * Makerules [shlib-lds-flags empty]:
31902 ($(common-objpfx)libc_pic.opts): New target.
31903 ($(common-objpfx)libc_pic.os.clean): New target.
31904 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
31905
31906 * config.make.in (OBJCOPY): New variable.
31907 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
31908 * configure: Regenerated.
31909
f781ef40
RM
31910 * config.make.in (use-default-link): New variable.
31911 * configure.in (use_default_link): Grok --with-default-link to set it.
31912 * configure: Regenerated.
31913 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
31914 (shlib-lds, shlib-lds-flags): Define to empty.
31915
2d4fa81e
RM
31916 * Makerules (shlib-lds): New variable.
31917 (shlib-lds-flags): New variable.
31918 (build-shlib, build-moduile, build-module-asneeded): Use it.
31919 ($(common-objpfx)libc.so): Use $(shlib-lds).
31920 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
31921 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
31922
31fffa6b
RM
31923 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
31924 DT_FLAGS/DT_FLAGS_1 with zero flags.
31925
4e34ac6a
RM
31926 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
31927 linker script munging.
31928
fcfc776b
UD
319292011-07-02 Ulrich Drepper <drepper@gmail.com>
31930
31931 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
31932 as 128-bit value.
31933 * crypt/sha512.c (sha512_process_block): Perform total addition using
31934 128-bit if possible.
31935 (__sha512_finish_ctx): Likewise.
31936 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
31937 as 64-bit value.
31938 * crypt/sha256.c (SWAP64): Define.
31939 (sha256_process_block): Perform total addition using 64-bit if
31940 possible.
31941 (__sha256_finish_ctx): Likewise.
31942
99231d9a
UD
319432011-07-01 Ulrich Drepper <drepper@gmail.com>
31944
31945 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
31946 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31947 * nscd/hstcache.c (cache_addhst): Likewise.
31948 * nscd/grpcache.c (cache_addgr): Likewise.
31949 * nscd/aicache.c (addhstaiX): Likewise
31950 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
31951
445b4a53
TK
319522011-07-01 Thorsten Kukuk <kukuk@suse.de>
31953
31954 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
31955 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31956 * nscd/hstcache.c (cache_addhst): Likewise.
31957 * nscd/grpcache.c (cache_addgr): Likewise.
31958 * nscd/aicache.c (addhstaiX): Likewise
31959
6d4d8e8e
AS
319602011-07-01 Andreas Schwab <schwab@redhat.com>
31961
31962 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
31963 domain only when needed.
31964
89f654c5
AS
319652011-06-30 Andreas Schwab <schwab@redhat.com>
31966
31967 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
31968 is always restored.
31969
cf3b23ff
UD
319702011-06-29 Ulrich Drepper <drepper@gmail.com>
31971
31972 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
31973 are re-adding the entry.
31974 * nscd/servicescache.c (cache_addserv): Likewise.
31975
751626f9
AJ
319762011-06-30 Aurelien Jarno <aurelien@aurel32.net>
31977
31978 * sysdeps/generic/dl-irel.h: fix protection against multiple
31979 inclusions.
31980 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
31981
9113ea1f
UD
319822011-06-28 Ulrich Drepper <drepper@gmail.com>
31983
5c0b8d90
UD
31984 [BZ #12935]
31985 * malloc/memusage.sh: Fix quoting in message.
31986 * debug/xtrace.sh: Likewise.
31987
9113ea1f
UD
31988 * configure.in: Remove support for --experimental-malloc option, make
31989 it the default.
31990 * config.make.in: Likewise.
31991 * malloc/Makefile: Likewise.
31992
a4172181
AS
319932011-06-27 Andreas Schwab <schwab@redhat.com>
31994
31995 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
31996 two-byte characters.
31997
78a7eee7
RM
319982011-06-27 Roland McGrath <roland@hack.frob.com>
31999
62bede13
RM
32000 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
32001 AC_CACHE_CHECK invocation.
32002 * configure: Regenerated.
32003
78a7eee7
RM
32004 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
32005
5ce33a62
UD
320062011-06-27 Ulrich Drepper <drepper@gmail.com>
32007
034807a9
UD
32008 [BZ #12350]
32009 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
32010 bit from old_res_options.
32011
4902da17
UD
32012 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
32013
5ce33a62
UD
32014 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
32015 value type for setfct.
32016
c2344f56
L
320172011-06-23 H.J. Lu <hongjiu.lu@intel.com>
32018
32019 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32020 __gettimeofday instead of gettimeofday.
32021
68468076
UD
320222011-06-26 Ulrich Drepper <drepper@gmail.com>
32023
32024 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
32025
acb0d739
L
320262011-06-24 H.J. Lu <hongjiu.lu@intel.com>
32027
32028 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
32029
32030 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
32031 info.
32032
8912479f
L
320332011-06-22 H.J. Lu <hongjiu.lu@intel.com>
32034
32035 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32036 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32037 strcpy-sse2-unaligned strncpy-sse2-unaligned
32038 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
32039 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
32040 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
32041 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
32042 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
32043 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
32044 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
32045 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
32046 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
32047 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
32048 (STRCPY): Support SSE2 and SSSE3 versions.
32049
d5495a11
UD
320502011-06-24 Ulrich Drepper <drepper@gmail.com>
32051
32052 [BZ #12874]
32053 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
32054 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
32055 kernels which artificially limit size of requests.
32056
0b1cbaae
L
320572011-06-22 H.J. Lu <hongjiu.lu@intel.com>
32058
32059 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32060 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32061 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
32062 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
32063 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
32064 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
32065 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
32066 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
32067 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
32068 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
32069 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
32070 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
32071 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
32072 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
32073 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
32074 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32075 Enable unaligned load optimization for Intel Core i3, i5 and i7
32076 processors.
32077 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
32078 Define.
32079 (index_Fast_Unaligned_Load): Define.
32080 (HAS_FAST_UNALIGNED_LOAD): Define.
32081
07f494a0
MP
320822011-06-23 Marek Polacek <mpolacek@redhat.com>
32083
32084 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
32085
fa3fc0fe
UD
320862011-06-22 Ulrich Drepper <drepper@gmail.com>
32087
32088 [BZ #12907]
32089 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
32090 until it is clear that the information is realy needed.
32091 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
32092
e12df166
AS
320932011-06-22 Andreas Schwab <schwab@redhat.com>
32094
32095 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
32096
852eb34d
UD
320972011-06-22 Ulrich Drepper <drepper@gmail.com>
32098
84e2a551
UD
32099 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32100 /sys/devices/system/cpu/online if it is usable.
32101
852eb34d
UD
32102 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
32103 reading the information from the /proc filesystem to once a second.
32104
6e502e19
UD
321052011-06-21 Andreas Jaeger <aj@suse.de>
32106
32107 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
32108 NULL after inclusion of kernel headers.
32109
75d39ff2
UD
321102011-06-21 Ulrich Drepper <drepper@gmail.com>
32111
51f9aa6a
UD
32112 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
32113 calls to internal_setent.
32114
c0244a9d
UD
32115 [BZ #12885]
32116 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
32117 addresses using gethostbyname4_r ignore IPv4 addresses.
32118
c5e3c2ae
UD
32119 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
32120 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
32121
75d39ff2
UD
32122 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
32123
42675c6f
DM
321242011-06-20 David S. Miller <davem@davemloft.net>
32125
32126 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
32127 inclusions.
32128 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
32129
32130 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
32131 (elf_irel): Use it.
32132 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
32133 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
32134 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
32135 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
32136 * sysdeps/x86_64/dl-irel.h: Likewise.
32137
32138 * elf/dl-runtime.c: Use elf_ifunc_invoke.
32139 * elf/dl-sym.c: Likewise.
32140
57912a71
UD
321412011-06-15 Ulrich Drepper <drepper@gmail.com>
32142
32143 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
32144 need to dereference resplen2.
32145
ee22793d
AS
321462011-06-14 Andreas Schwab <schwab@redhat.com>
32147
32148 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
32149
a9e836b0
UD
321502011-06-15 Ulrich Drepper <drepper@gmail.com>
32151
77fb9117
UD
32152 * Makeconfig: Define vardbdir and inst_vardbdir.
32153 * nss/Makefile: Add rules to install db-Makefile.
32154
40c1b22c
UD
32155 * nss/nss_db/db-XXX.c: Cleanup.
32156
9f2da732
UD
32157 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
32158 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
32159 GLIBC_PRIVATE.
32160 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
32161 * nss/makedb.c: Implement -g option to specify that value strings
32162 are generated and should not be added to table iterated over for
32163 get*ent calls.
32164 * nss/nss_db/db-initgroups.c: New file.
32165
82e9a1f7
UD
32166 * nss/getent.c: Add support for initgroups lookups through getgrouplist
32167 interface.
32168
c41af17e
UD
32169 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
32170 (internal_getgrouplist): Adjust to name change.
32171 Update use_initgroups_entry if this is not the first call.
32172 * nss/databases.def: Add initgroups entry.
32173
a9e836b0
UD
32174 * nss/makedb.c (compute_tables): Check result of multiple hash table
32175 sizes to minimize maximum chain length.
32176
2666d441
UD
321772011-06-14 Ulrich Drepper <drepper@gmail.com>
32178
32179 * Versions.def: Add entry for libnss_db.
32180 * shlib-versions: Likewise.
32181 * nss/Makefile: Add rules to build libnss_db.
32182 * nss/Versions: Add libnss_db information. Organize libnss_files
32183 entries better.
32184 * nss/db-Makefile: Add gshadow support. Change rules for the new
32185 makedb progra. Some minor improvements to generate smaller files.
32186 * nss/nss_db/nss_db.h: Move NSS database header data structures to
32187 here from...
32188 * nss/makedb.c: ...here.
32189 Improve database format to be smaller and require less memory at
32190 runtime.
32191 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
32192 db anymore.
32193 * nss/nss_db/db-netgrp.c: Likewise.
32194 * nss/nss_db/db-open.c: Likewise.
32195 * nss/nss_files/flies-XXX.x: Adjust comments.
32196 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
32197 * nss/nss_files/files-grp.c: Likewise.
32198 * nss/nss_files/files-hosts.c: Likewise.
32199 * nss/nss_files/files-network.c: Likewise.
32200 * nss/nss_files/files-proto.c: Likewise.
32201 * nss/nss_files/files-pwd.c: Likewise.
32202 * nss/nss_files/files-rpc.c: Likewise.
32203 * nss/nss_files/files-service.c: Likewise.
32204 * nss/nss_files/files-sgrp.c: Likewise.
32205 * nss/nss_files/files-spwd.c: Likewise.
32206 * nss/nss_db/db-alias.c: Removed.
32207 * nss/nss_db/dummy-db.h: Removed.
32208
9ee76b5a
UD
322092011-06-02 Ulrich Drepper <drepper@gmail.com>
32210
32211 * nss/makedb.c: Rewritten to not use database library.
32212 * nss/Makefile: Update to build new makedb program.
32213
c71ca1f8
AJ
322142011-06-14 Andreas Jaeger <aj@suse.de>
32215
32216 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
32217 memset declaration.
32218
3154bfb8
UD
322192011-06-10 Andreas Schwab <schwab@redhat.com>
32220
32221 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
32222 tmpbuf.
32223
b350afab
RM
322242011-06-10 Roland McGrath <roland@hack.frob.com>
32225
decd4e50
RM
32226 * Makerules (shlib.lds): Fail if the linker script comes out empty.
32227 * elf/Makefile ($(objpfx)ld.so): Likewise.
32228
5615eaf2
RM
32229 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
32230 Don't list ld.so twice in dependencies.
32231
32232 * posix/bug-regex31.c: Include <stdlib.h>.
32233
32234 * nscd/hstcache.c (cache_addhst): Remove unused variable.
32235
32236 * nis/nss_compat/compat-spwd.c
32237 (getspent_next_nss_netgr): Remove unused variable.
32238 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
32239
32240 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
32241 nonmembers" output to use the right array.
32242
32243 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
32244
32245 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
32246
32247 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
32248 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
32249 * catgets/gencat.c (read_input_file): Likewise.
32250 * locale/programs/locarchive.c (enlarge_archive): Likewise.
32251
32252 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
32253 variable definition inside #if's controlling its use.
32254
32255 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
32256
32257 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
32258
32259 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
32260
32261 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
32262 unreachable code.
32263
32264 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
32265
b68e08db
RM
32266 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
32267 * configure: Regenerated.
32268
b350afab
RM
32269 * Makerules: Revert last change.
32270 * elf/Makefile: Likewise.
32271
28368601
RM
322722011-06-09 Roland McGrath <roland@hack.frob.com>
32273
32274 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
32275 * elf/Makefile ($(objpfx)librtld.os): Likewise.
32276 (reloc-link): Likewise.
32277
11988f8f
UD
322782011-06-09 Ulrich Drepper <drepper@gmail.com>
32279
32280 * elf/Makefile: Add rules to build pldd.
32281 * elf/pldd.c: New file.
32282 * elf/pldd-xx.c: New file.
32283
e80fab37
UD
322842011-06-07 Ulrich Drepper <drepper@gmail.com>
32285
32286 * version.h: Update for 2.15 development version.
32287
9b849836
DM
322882011-06-07 David S. Miller <davem@davemloft.net>
32289
32290 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
32291 ifuncs.
32292 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
32293 elf_machine_lazy_rel): Likewise.
32294 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
32295 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
32296 elf_machine_lazy_rel): Likewise.
32297 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
32298 dl_hwcap via passed in argument.
32299 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
32300 Likewise.
32301
5a31b283
AK
323022011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32303
32304 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
32305
069e52f8
RM
323062011-06-06 Roland McGrath <roland@hack.frob.com>
32307
32308 [BZ #12849]
32309 * manual/fdl-1.1.texi: New file, verbatim from:
32310 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
32311 * manual/lgpl-2.1.texi: New file, verbatim from:
32312 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
32313 * manual/Makefile (licenses): New variable, list those new file names.
32314 (texis): Use it.
32315 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
32316
32317 * manual/fdl.texi: File removed.
32318 * manual/lesser.texi: File removed.
32319 * manual/libc.texinfo (Copying, Documentation License):
32320 Use new @include file names, put @appendix directive before @include.
32321
f16846a5
JJ
323222011-06-04 Jakub Jelinek <jakub@redhat.com>
32323
32324 [BZ #12841]
32325 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
32326 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
32327 (mq_open): Add __NTH.
32328
3d29045b
L
323292011-06-02 H.J. Lu <hongjiu.lu@intel.com>
32330
32331 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32332 Assume Intel Core i3/i5/i7 processor if AVX is available.
32333
8c297311
UD
323342011-05-31 Ulrich Drepper <drepper@gmail.com>
32335
32336 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32337 typo.
32338
c8fc0c91
UD
323392011-05-31 Andreas Schwab <schwab@redhat.com>
32340
32341 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
32342 memory. Use alloca_account. Fix memory leak when retrying.
32343
5b27a807
UD
323442011-05-31 Ulrich Drepper <drepper@gmail.com>
32345
356f8bc6
UD
32346 * version.h (RELEASE): Bump for 2.14 release.
32347 * include/features.h (__GLIBC_MINOR__): Bump to 14.
32348
5b27a807
UD
32349 * config.make.in (RANLIB): Remove entry.
32350
01f16ab0
UD
323512011-05-30 Ulrich Drepper <drepper@gmail.com>
32352
41fce8bd
UD
32353 * po/Makefile (po-sed-cmd): Add ksh to extensions.
32354 (libc.pot): Work around missing support for .ksh extension in xgettext.
32355
4769ae77
UD
32356 [BZ #12684]
32357 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
32358 if both request failed.
32359 (send_dg): In case of server errors clear resplen or *resplen2.
32360
6b1e7d19
UD
32361 [BZ #12454]
32362 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
32363 when there are multiple maps.
32364 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
32365 (_dl_fini): Remove test here.
32366
01f16ab0
UD
32367 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
32368
b1ebd700
UD
323692011-05-29 Ulrich Drepper <drepper@gmail.com>
32370
7ae22829
UD
32371 [BZ #12350]
32372 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
32373 bit from old_res_options.
32374 (gaih_inet): Likewise.
32375
553149f6 32376 [BZ #11099]
18a84741 32377 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
32378 as signed.
32379
652ffab1
UD
32380 * resolv/res_init.c (res_setoptions): Make the code more compact.
32381
16985fd0
UD
32382 [BZ #11558]
32383 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
32384 set RES_USEVC.
32385
0464f746
UD
32386 [BZ #11634]
32387 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
32388
7d17596c
UD
32389 * malloc/malloc.h: Mark malloc hook variables as deprecated.
32390
cf6bbbd7
UD
32391 [BZ #11781]
32392 * malloc/malloc.h: Declare malloc hook variables as volatile.
32393
13f1ab36
UD
32394 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
32395 in last patch.
32396
b1ebd700
UD
32397 [BZ #11799]
32398 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 32399 raise in the comment.
80e2212d
UD
32400 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
32401 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32402 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 32403
ce67228d
UD
324042011-05-28 Ulrich Drepper <drepper@gmail.com>
32405
8887a920
UD
32406 [BZ #12811]
32407 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
32408 grow the buffers more if it already has to be sufficient.
32409 (build_wcs_upper_buffer): Likewise.
32410 * posix/regexec.c (check_matching): Likewise.
32411 (clean_state_log_if_needed): Likewise.
32412 (extend_buffers): Don't enlarge buffers beyond size of the input
32413 buffer.
32414 Patches mostly by Emil Wojak <emil@wojak.eu>.
32415 * posix/bug-regex32.c: New file.
32416 * posix/Makefile (tests): Add bug-regex32.
32417
4f031072
UD
32418 * locale/findlocale.c (_nl_find_locale): Return right away if
32419 _nl_explode_name failed.
32420 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
32421
d0478f0c
UD
32422 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
32423
de81b246
UD
32424 * debug/xtrace.sh: Unify messages.
32425 * malloc/memusage.sh: Likewise.
32426
c738465a
UD
32427 [BZ #12813]
32428 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
32429 time symbol from vDSO. Substitute with vsyscall if not available.
32430 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
32431 __vdso_time.
32432
f1f929d7
UD
32433 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
32434 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
32435 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
32436 Add sendmmsg and internal_sendmmsg.
32437 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
32438 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
32439 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
32440
ce67228d
UD
32441 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
32442 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
32443 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
32444
e57420c6
UD
324452011-05-27 Ulrich Drepper <drepper@gmail.com>
32446
a8509ca5
UD
32447 [BZ #12813]
32448 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
32449 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
32450 available.
32451 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
32452 __vdso_getcpu.
32453
e57420c6
UD
32454 [BZ #12814]
32455 * iconvdata/Makefile (tests): Add bug-iconv9.
32456 * iconvdata/bug-iconv9.c: New file.
32457
4d07db15
AS
324582011-05-27 Andreas Schwab <schwab@redhat.com>
32459
32460 [BZ #12814]
32461 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
32462
ea486f69
JJ
324632011-05-25 Jakub Jelinek <jakub@redhat.com>
32464
32465 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32466 (struct user_regs_struct): Change intcs field back to cs.
32467
6f038433
UD
324682011-05-25 Ulrich Drepper <drepper@gmail.com>
32469
32470 * po/ja.po: Update from translation team.
32471
67f86a25
UD
324722011-05-23 Ulrich Drepper <drepper@gmail.com>
32473
32474 [BZ #12795]
32475 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
32476 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
32477
def7fbd6
AS
324782011-05-20 Andreas Schwab <schwab@redhat.com>
32479
32480 * stdlib/longlong.h: Update from GCC.
32481
f50ef8f1
AS
324822011-05-23 Andreas Schwab <schwab@redhat.com>
32483
32484 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
32485 parameter name.
32486 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
32487 Add parameter name.
32488 (__sysconf): Pass it down.
32489
de7ce8f1
UD
324902011-05-22 Ulrich Drepper <drepper@gmail.com>
32491
f2962a71
UD
32492 [BZ #12671]
32493 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
32494 some situations.
32495 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32496 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
32497 add in in __libc_use_alloca calls. Adjust callers.
32498 (glob): Use malloc in some situations.
32499
de7ce8f1
UD
32500 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
32501 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
32502 pltexit.
32503
aec84f53
UD
325042011-05-21 Ulrich Drepper <drepper@gmail.com>
32505
05bb4a68
UD
32506 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
32507 and CLOCK_BOOTTIME_ALARM.
32508
7ea72f99
UD
32509 [BZ #12782]
32510 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
32511 is returned.
32512
7e4afad5
UD
32513 * string/_strerror.c (__strerror_r): Print negative errors as signed
32514 numbers.
32515
8e211fec
UD
32516 [BZ #12777]
32517 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
32518 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
32519 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
32520
f7d82dc9
UD
32521 * configure.in: Fix typo in redirection and correct removal of test
32522 files in two cases.
32523
cc9e536d
UD
32524 [BZ #12788]
32525 * locale/setlocale.c (new_composite_name): Fix test to check for
32526 identical name of all categories.
32527
aec84f53
UD
32528 [BZ #12792]
32529 * libio/filedoalloc.c (local_isatty): New function.
32530 (_IO_file_doallocate): Use local_isatty.
32531 * stdio-common/perror.c (perror): In case a new stream is used
32532 forward the stream error.
32533 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
32534 error flag.
32535
78e64fdc
RT
325362011-05-20 Ulrich Drepper <drepper@gmail.com>
32537
34a9094f
UD
32538 [BZ #11869]
32539 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
32540 alloca.
32541 * include/alloca.h (extend_alloca_account): Define.
32542
78e64fdc
RT
32543 [BZ #11857]
32544 * posix/regex.h: Fix comments with documentation of user-accessible
32545 fields after compilation and describe correct free'ing of pattern
32546 after re_compile_pattern.
32547 Patch by Reuben Thomas <rrt@sc3d.org>.
32548
457bddfc
RA
325492011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
32550
32551 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
32552 and -mno-altivec to prevent the compiler from using Altivec and/or
32553 VSX instructions when the corresponding registers are not available.
32554
a4527b51
AS
325552011-05-19 Andreas Schwab <schwab@redhat.com>
32556
32557 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
32558
ed690b2f
UD
325592011-05-19 Ulrich Drepper <drepper@gmail.com>
32560
32561 * libio/freopen.c (freopen): Use __dup2, not dup2.
32562 * libio/freopen64.c (freopen64): Likewise.
32563
8db73634
L
325642011-05-17 H.J. Lu <hongjiu.lu@intel.com>
32565
32566 [BZ #12775]
32567 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
32568 * math/Makefile (tests): Add test-powl.
32569 (CFLAGS-test-powl.c): Define.
32570 * math/test-powl.c: New file.
32571
0a197a9d
L
325722011-05-16 H.J. Lu <hongjiu.lu@intel.com>
32573
32574 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
32575
ee30c380
UD
325762011-05-17 Ulrich Drepper <drepper@gmail.com>
32577
32578 [BZ #11837]
32579 * iconvdata/gb18030.c: Update to GB18020-2005.
32580
6ce75379
UD
325812011-05-16 Ulrich Drepper <drepper@gmail.com>
32582
a4b89fd8
AR
32583 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
32584 RE_SYNTAX_POSIX_AWK): Update to match recent development.
32585 Patch by Aharon Robbins <arnold@skeeve.com>.
32586
ea389b12
UD
32587 [BZ #11892]
32588 * stdlib/putenv.c (putenv): Don't always create copy of the variable
32589 on the stack.
32590
68a3f91f
UD
32591 [BZ #11895]
32592 * misc/pselect.c (__pselect): Handle timeout value errors hidden
32593 through underflows.
32594
15cc7dd1
UD
32595 [BZ #12766]
32596 * misc/error.c (error_at_line): Ensure file_name and old_file_name
32597 point to strings before performing equality test for error_one_per_line
32598 mode.
32599
f3799213
UD
32600 [BZ #11697]
32601 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
32602
d79a9c94
UD
32603 [BZ #11820]
32604 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32605 (struct user_fpregs_struct): Avoid __uint*_t types.
32606
56e5eb46
UD
32607 [BZ #6420]
32608 * malloc/mtrace.c (tr_where): Add additional parameter to point to
32609 symbol info. Use it instead of calling _dl_addr locally.
32610 (lock_and_info): New function.
32611 (tr_freehook): Call lock_and_info and pass symbol info as additional
32612 parameter to tr_where.
32613 (tr_mallochook): Likewise.
32614 (tr_reallochook): Likewise.
32615 (tr_memalignhook): Likewise.
32616
6ce75379
UD
32617 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
32618 used and couldn't be at all thread-safe.
32619
f8a3b5bf
UD
326202011-05-15 Ulrich Drepper <drepper@gmail.com>
32621
94b7cc37
UD
32622 * libio/freopen.c (freopen): Don't close old file descriptor
32623 before the new one is opened. Instead dup the new file descriptor
32624 to the old one after the new stream is created.
32625 * libio/freopen64.c (freopen64): Likewise.
32626 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
32627 * libio/fileops.c (_IO_new_file_close_it): Handle new
32628 _IO_FLAGS2_NOCLOSE flag.
32629 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
32630 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
32631 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
32632 _IO_FLAGS2_NOCLOSE flag.
32633 * include/unistd.h: Add hidden_proto for dup3.
32634 Define __have_dup3.
32635 * io/dup3.c: Define hidden symbol.
32636 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
32637
bd25564e
UD
32638 [BZ #7101]
32639 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
32640 when an incomplete long option is used.
32641 * posix/tst-getopt_long1.c: New file.
32642 * posix/Makefile (tests): Add tst-getopt_long1.
32643
c84cfef4
UD
32644 [BZ #10138]
32645 * scripts/config.guess: Update from autoconf-2.68.
32646 * scripts/config.sub: Likewise.
32647
3b85df27
UD
32648 [BZ #10157]
32649 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
32650 tests into ...
32651 (has_cpuclock): ...this. New function.
32652 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
32653 macro here based on has_cpuclock code.
32654
15a856b1
UD
32655 [BZ #10149]
32656 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32657 First byte (not low byte) is now always NUL.
32658 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
32659
05f399e6
UD
32660 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32661 Use non-cancelable interfaces.
32662
10a52685 32663 [BZ #9809]
94ecc67d
UD
32664 * locale/iso-639.def: Add entry for Sorani.
32665
f8a3b5bf
UD
32666 [BZ #11901]
32667 * include/stdlib.h: Move include protection to the right place.
32668 Define abort_msg_s. Declare __abort_msg with it.
32669 * stdlib/abort.c (__abort_msg): Adjust type.
32670 * assert/assert.c (__assert_fail_base): New function. Majority
32671 of code from __assert_fail. Allocate memory for __abort_msg with
32672 mmap.
32673 (__assert_fail): Now call __assert_fail_base.
32674 * assert/assert-perr.c: Remove bulk of implementation. Use
32675 __assert_fail_base.
32676 * include/assert.hL Declare __assert_fail_base.
32677 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
32678 mmap.
32679 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
32680
1af4e298
UD
326812011-05-14 Ulrich Drepper <drepper@gmail.com>
32682
f8a3b5bf 32683 [BZ #11952]
d26dfc60
MG
32684 [BZ #12453]
32685 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
32686 until all modules are registered in the DTV.
32687 * elf/Makefile: Add rules to build and run tst-tls19.
32688 * elf/tst-tls19.c: New file.
32689 * elf/tst-tls19mod1.c: New file.
32690 * elf/tst-tls19mod2.c: New file.
32691 * elf/tst-tls19mod3.c: New file.
32692 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
32693
2fc54d6f
UD
32694 [BZ #12083]
32695 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
32696 correctly.
32697
98d76b46
UD
32698 [BZ #12601]
32699 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
32700 two-byte sequence errors.
32701 * iconvdata/Makefile (tests): Add bug-iconv8.
32702 * iconvdata/bug-iconv8.c: New file.
32703
da3c19ef
UD
32704 [BZ #12626]
32705 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
32706 buf2 definition.
32707
ca408c15
UD
32708 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
32709
d6f67f7d
UD
32710 [BZ #12432]
32711 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
32712 (dummy_getcfa): New function.
32713 (init): Get _Unwind_GetCFA address, use dummy if not found.
32714 (backtrace_helper): In recursion check, also check whether CFA changes.
32715 (__backtrace): Completely initialize arg.
32716
1af4e298 32717 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
32718 storing incomplete byte sequence in state object. Avoid testing for
32719 guaranteed too small input if we know there is enough data available.
1af4e298 32720
da62f81b
AS
327212011-05-11 Andreas Schwab <schwab@redhat.com>
32722
32723 * Makeconfig (+link-pie): Indent.
32724 * Rules (binaries-pie): Define if $(have-fpie) and
32725 $(build-shared).
32726 (binaries-shared): Also filter out $(binaries-pie).
32727 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
32728 * nscd/Makefile (others-pie): Add nscd.
32729 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
32730 ($(objpfx)nscd): Remove command override.
32731 * login/Makefile (others-pie): Add pt_chown.
32732 ($(objpfx)pt_chown): Remove command override.
32733 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
32734 remove command overrides.
32735
fcabc0f8
UD
327362011-05-13 Ulrich Drepper <drepper@gmail.com>
32737
20030ae6
UD
32738 * libio/tst_putwc.c: Fix error messages.
32739
fcabc0f8
UD
32740 [BZ #12724]
32741 * libio/fileops.c (_IO_new_file_close_it): Always flush when
32742 currently writing and seek to current position when not.
32743 * libio/Makefile (tests): Add bug-fclose1.
32744 * libio/bug-fclose1.c: New file.
32745
320a5dc0
PB
327462011-05-12 Ulrich Drepper <drepper@gmail.com>
32747
32748 [BZ #12511]
32749 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
32750 don't set DF_1_NODELETE here.
32751 (do_lookup_x): When entering new entry test for copy relocation
32752 and if necessary set DF_1_NODELETE flag.
32753 * elf/tst-unique4.cc: New file.
32754 * elf/tst-unique4.h: New file.
32755 * elf/tst-unique4lib.cc: New file.
32756 * elf/Makefile: Add rules to build and run tst-unique4.
32757 Patch by Piotr Bury <pbury@goahead.com>.
32758
22836f52
UD
327592011-05-11 Ulrich Drepper <drepper@gmail.com>
32760
f574184a
UD
32761 [BZ #12052]
32762 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
32763
e1fb097f
UD
32764 [BZ #12625]
32765 * misc/mntent_r.c (addmntent): Flush the stream after the output
32766
22836f52
UD
32767 [BZ #12393]
32768 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
32769 (is_trusted_path_normalize): Skip initial colon. Append slash
32770 to empty buffer. Duplicate is_trusted_path code but allow
32771 constructed patch to be prefix.
32772 (is_dst): Allow $ORIGIN followed by /.
32773 (_dl_dst_substitute): Correct clearing of check_for_trusted.
32774 Correct testing of result of is_trusted_path_normalize
32775 (decompose_rpath): Fix warning.
32776
7b3b0b2a
UD
327772011-05-10 Ulrich Drepper <drepper@gmail.com>
32778
32779 [BZ #11257]
32780 * grp/initgroups.c (internal_getgrouplist): When we found the service
32781 list through the initgroups entry in nsswitch.conf do not always
32782 continue on a successful lookup. Don't always use the
eac80ce2 32783 __nss_group_database value if it is set.
7b3b0b2a
UD
32784 * nss/nsswitch.conf (initgroups): Change action for successful db
32785 lookup to continue for compatibility.
32786
2a81eaa5
UD
327872011-05-09 Ulrich Drepper <drepper@gmail.com>
32788
be97a69e
UD
32789 [BZ #11532]
32790 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
32791 and CP774 modules.
32792 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
32793 and CP774 modules.
32794 * iconvdata/tst-tables.sh: Likewise.
32795 * iconvdata/cp770.c: New file.
32796 * iconvdata/cp771.c: New file.
32797 * iconvdata/cp772.c: New file.
32798 * iconvdata/cp773.c: New file.
32799 * iconvdata/cp774.c: New file.
32800 * iconvdata/testdata/CP770: New file.
32801 * iconvdata/testdata/CP770..UTF8: New file.
32802 * iconvdata/testdata/CP771: New file.
32803 * iconvdata/testdata/CP771..UTF8: New file.
32804 * iconvdata/testdata/CP772: New file.
32805 * iconvdata/testdata/CP772..UTF8: New file.
32806 * iconvdata/testdata/CP773: New file.
32807 * iconvdata/testdata/CP773..UTF8: New file.
32808 * iconvdata/testdata/CP774: New file.
32809 * iconvdata/testdata/CP774..UTF8: New file.
32810
32811 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
32812 END CHARMAP line.
32813 * iconvdata/gen-8bit-gap.sh: Likewise.
32814 * iconvdata/gen-8bit.sh: Likewise.
32815
c1e9e399
UD
32816 * locale/iso-639.def: Add ary entry.
32817
24c55fb3 32818 [BZ #11258]
96b4b1b0
UD
32819 * locale/C-translit.h.in: Add U20A1 transliteration.
32820
bdc2f971
KB
32821 [BZ #12178]
32822 * locale/iso-639.def: Add wae entry.
32823 Patch by Kevin Bortis <bortis@translate-wae.ch>.
32824
2952b117
UD
32825 [BZ #12545]
32826 * locale/programs/localedef.c (construct_output_path): Use ssize_t
32827 for n.
32828
2a81eaa5
UD
32829 [BZ #12711]
32830 * locale/C-translit.h.in: Add entry for U20B9.
32831 Patch by pravin.d.s@gmail.com.
32832
28377d1b
UD
328332011-05-08 Ulrich Drepper <drepper@gmail.com>
32834
7fb90fb8
UD
32835 [BZ #12713]
32836 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
32837 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
32838 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
32839 in rtld. Use *stat64.
7fb90fb8 32840 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 32841 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 32842 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
32843 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
32844 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
32845 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
32846 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
32847 __fstatat64 macros.
7fb90fb8
UD
32848 * include/dirent.h: Add libc_hidden_proto for rewinddir.
32849 * dirent/rewinddir.c: Add libc_hidden_def.
32850 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 32851 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 32852
28377d1b
UD
32853 * include/dirent.h (__alloc_dir): Add flags parameter.
32854 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
32855 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
32856 __alloc_dir.
32857 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
32858 from fdopendir if O_CLOEXEC is already set.
32859
66bdbaa4
AM
328602011-03-15 Alan Modra <amodra@gmail.com>
32861
32862 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
32863 l_tls_firstbyte_offset non-zero. Save padding offset in
32864 l_tls_firstbyte_offset for later use.
32865 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
32866 freeing static tls block.
32867
95721191
JN
328682011-03-05 Jonathan Nieder <jrnieder@gmail.com>
32869
32870 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
32871 where #ifdef was intended. The intent is to prevent ARG_MAX from
32872 being defined by the kernel headers.
32873
f87dfb1f
UD
328742011-05-07 Ulrich Drepper <drepper@gmail.com>
32875
32876 [BZ #12734]
32877 * resolv/resolv.h: Define RES_NOTLDQUERY.
32878 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
32879 no-tld-query and set RES_NOTLDQUERY.
32880 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
32881 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
32882 modern BIND to search name as TLD unless forbidden.
32883
47c3cd7a
UD
328842011-05-07 Petr Baudis <pasky@suse.cz>
32885 Ulrich Drepper <drepper@gmail.com>
32886
32887 [BZ #12393]
32888 * elf/dl-load.c (fillin_rpath): Move trusted path check...
32889 (is_trusted_path): ...to here.
c1e9ea35 32890 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 32891 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 32892 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 32893
8a35c912
PP
328942011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32895
32896 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
32897 __BEGIN/__END_DECLS.
32898
acd41f47
UD
328992011-05-06 Ulrich Drepper <drepper@gmail.com>
32900
32901 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
32902 NSS_STATUS_NOTFOUND if no record was found.
32903
597df647
AS
329042011-05-05 Andreas Schwab <schwab@redhat.com>
32905
32906 * sunrpc/Makefile (headers): Add rpc/netdb.h.
32907 (headers-not-in-tirpc): Remove rpc/netdb.h
32908 * resolv/netdb.h: Revert last change.
32909
b9af1301
PP
329102011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
32911
32912 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
32913 circular dependency between libgcc.a and libc.a.
32914
4e34d5f5
AS
329152011-05-05 Andreas Schwab <schwab@redhat.com>
32916
32917 * resolv/netdb.h: Don't include <rpc/netdb.h>.
32918 * nis/Makefile: Don't install rpcsvc/*.
32919 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
32920 instead of <rpc/types.h>.
32921 (MAXHOSTNAMELEN): Define.
32922
00ee369c
AS
329232011-05-03 Andreas Schwab <schwab@redhat.com>
32924
32925 * elf/ldconfig.c (add_dir): Don't crash on empty path.
32926
0b592a30
MB
329272011-04-28 Maciej Babinski <mbabinski@google.com>
32928
32929 [BZ #12714]
32930 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
32931 gethostbyname4_r when IPv6 results are possible.
32932
6e04cbbe
UD
329332011-05-02 Ulrich Drepper <drepper@gmail.com>
32934
32935 [BZ #12723]
32936 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
32937 _PC_PIPE_BUF handling.
32938
e4ecafe0
BH
329392011-04-30 Bruno Haible <bruno@clisp.org>
32940
32941 [BZ #12717]
32942 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
32943 * resolv/netdb.h (getnameinfo): Change type of flags parameter
32944 to 'int'.
32945 * inet/getnameinfo.c (getnameinfo): Likewise.
32946
125ee683
UD
329472011-04-29 Ulrich Drepper <drepper@gmail.com>
32948
32949 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
32950 to groups setting in database lookup.
32951 * nss/nsswitch.conf: Add initgroups entry.
32952
b722481a
EB
329532011-04-22 Ulrich Drepper <drepper@gmail.com>
32954
32955 [BZ #12685]
32956 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
32957 mode string.
32958 Patch by Eric Blake <eblake@redhat.com>.
32959
4df46dbd
L
329602011-04-20 H.J. Lu <hongjiu.lu@intel.com>
32961
32962 * sunrpc/Makefile (need-export-routines): Add svc_run.
32963 (routines): Remove svc_run.
32964 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
32965 * sunrpc/clnt_perr.c (clnt_perrno): Export.
32966 * sunrpc/svc_run.c (svc_run): Likewise.
32967 * sunrpc/svc_udp.c (svcudp_create): Likewise.
32968
e84142d2
UD
329692011-04-21 Ulrich Drepper <drepper@gmail.com>
32970
32971 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
32972 problem in reallocation in last patch.
32973
877175d8
UD
329742011-04-20 Ulrich Drepper <drepper@gmail.com>
32975
32976 * sunrpc/Makefile: Move inclusion of Rules.
32977
ab8eed78
UD
329782011-04-19 Ulrich Drepper <drepper@gmail.com>
32979
32980 * nss/nss_files/files-initgroups.c: New file.
32981 * nss/Makefile (libnss_files-routines): Add files-initgroups.
32982 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
32983 _nss_files_initgroups_dyn.
32984
e3d8f584
RS
329852011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
32986
32987 * elf/elf.h (R_ARM_IRELATIVE): Define.
32988
af190f45
UD
329892011-04-19 Ulrich Drepper <drepper@gmail.com>
32990
32991 * po/ru.po: Update from translation team.
32992
53cf59ef
UD
329932011-04-17 Ulrich Drepper <drepper@gmail.com>
32994
32995 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
32996 dependencies.
32997
4c559bcd
MF
329982011-02-06 Mike Frysinger <vapier@gentoo.org>
32999
33000 [BZ #12653]
33001 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
33002 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
33003 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33004 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33005 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33006
4420675c
AS
330072011-03-28 Andreas Schwab <schwab@linux-m68k.org>
33008
33009 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
33010 differing bytes.
33011 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33012 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33013 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33014
75ea32ab
UD
330152011-04-17 Ulrich Drepper <drepper@gmail.com>
33016
33017 [BZ #12420]
33018 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
33019 storing it.
33020 * stdlib/bug-getcontext.c: New file.
33021 * stdlib/Makefile: Add rules to build and run bug-getcontext.
33022
27390476
AK
330232011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33024
33025 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
33026 instructions into .machine "z9-109".
33027 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
33028 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
33029
10442705
AK
330302011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33031
33032 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
33033 between environment variables and auxiliary vector.
33034
7b57bfe5
UD
330352011-04-16 Ulrich Drepper <drepper@gmail.com>
33036
33037 * Makefile: Add rules to build linkobj/libc.so.
33038 * include/libc-symbols.h: Define libc_hidden_nolink.
33039 * include/rpc/auth.h: Mark functions which are to be hidden.
33040 * include/rpc/auth_des.h: Likewise.
33041 * include/rpc/auth_unix.h: Likewise.
33042 * include/rpc/clnt.h: Likewise.
33043 * include/rpc/des_crypt.h: Likewise.
33044 * include/rpc/key_prot.h: Likewise.
33045 * include/rpc/pmap_clnt.h: Likewise.
33046 * include/rpc/pmap_prot.h: Likewise.
33047 * include/rpc/pmap_rmt.h: Likewise.
33048 * include/rpc/rpc_msg.h: Likewise.
33049 * include/rpc/svc.h: Likewise.
33050 * include/rpc/svc_auth.h: Likewise.
33051 * include/rpc/xdr.h: Likewise.
33052 * nis/Makefile: Link all DSOs against linkobj/libc.so.
33053 * nss/Makefile: Likewise.
33054 * sunrpc/Makefile: Don't install headers. Build library with normal
33055 entry points. Don't build rpcinfo. Link RPC tests appropriately.
33056 * sunrpc/auth_des.c: Hide exported symbols by default, export some
33057 for the compat linking library. Remove use of INTDEF/INTUSE.
33058 * sunrpc/auth_none.c: Likewise.
33059 * sunrpc/auth_unix.c: Likewise.
33060 * sunrpc/authdes_prot.c: Likewise.
33061 * sunrpc/authuxprot.c: Likewise.
33062 * sunrpc/clnt_gen.c: Likewise.
33063 * sunrpc/clnt_perr.c: Likewise.
33064 * sunrpc/clnt_raw.c: Likewise.
33065 * sunrpc/clnt_simp.c: Likewise.
33066 * sunrpc/clnt_tcp.c: Likewise.
33067 * sunrpc/clnt_udp.c: Likewise.
33068 * sunrpc/clnt_unix.c: Likewise.
33069 * sunrpc/des_crypt.c: Likewise.
33070 * sunrpc/des_soft.c: Likewise.
33071 * sunrpc/get_myaddr.c: Likewise.
33072 * sunrpc/key_call.c: Likewise.
33073 * sunrpc/key_prot.c: Likewise.
33074 * sunrpc/netname.c: Likewise.
33075 * sunrpc/pm_getmaps.c: Likewise.
33076 * sunrpc/pm_getport.c: Likewise.
33077 * sunrpc/pmap_clnt.c: Likewise.
33078 * sunrpc/pmap_prot.c: Likewise.
33079 * sunrpc/pmap_prot2.c: Likewise.
33080 * sunrpc/pmap_rmt.c: Likewise.
33081 * sunrpc/publickey.c: Likewise.
33082 * sunrpc/rpc_cmsg.c: Likewise.
33083 * sunrpc/rpc_common.c: Likewise.
33084 * sunrpc/rpc_dtable.c: Likewise.
33085 * sunrpc/rpc_prot.c: Likewise.
33086 * sunrpc/rpc_thread.c: Likewise.
33087 * sunrpc/rtime.c: Likewise.
33088 * sunrpc/svc.c: Likewise.
33089 * sunrpc/svc_auth.c: Likewise.
33090 * sunrpc/svc_authux.c: Likewise.
33091 * sunrpc/svc_raw.c: Likewise.
33092 * sunrpc/svc_run.c: Likewise.
33093 * sunrpc/svc_simple.c: Likewise.
33094 * sunrpc/svc_tcp.c: Likewise.
33095 * sunrpc/svc_udp.c: Likewise.
33096 * sunrpc/svc_unix.c: Likewise.
33097 * sunrpc/svcauth_des.c: Likewise.
33098 * sunrpc/xcrypt.c: Likewise.
33099 * sunrpc/xdr.c: Likewise.
33100 * sunrpc/xdr_array.c: Likewise.
33101 * sunrpc/xdr_float.c: Likewise.
33102 * sunrpc/xdr_intXX_t.c: Likewise.
33103 * sunrpc/xdr_mem.c: Likewise.
33104 * sunrpc/xdr_rec.c: Likewise.
33105 * sunrpc/xdr_ref.c: Likewise.
33106 * sunrpc/xdr_sizeof.c: Likewise.
33107 * sunrpc/xdr_stdio.c: Likewise.
33108
e6c61494
UD
331092011-04-10 Ulrich Drepper <drepper@gmail.com>
33110
33111 [BZ #12650]
33112 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
33113 * sysdeps/ia64/dl-tls.h: Likewise.
33114 * sysdeps/powerpc/dl-tls.h: Likewise.
33115 * sysdeps/s390/dl-tls.h: Likewise.
33116 * sysdeps/sh/dl-tls.h: Likewise.
33117 * sysdeps/sparc/dl-tls.h: Likewise.
33118 * sysdeps/x86_64/dl-tls.h: Likewise.
33119 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
33120
34fe483e
AS
331212011-03-14 Andreas Schwab <schwab@redhat.com>
33122
33123 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
33124 rpath element also skip the following colon.
33125 (expand_dynamic_string_token): Add is_path parameter and pass
33126 down to DL_DST_REQUIRED and _dl_dst_substitute.
33127 (decompose_rpath): Call expand_dynamic_string_token with
33128 non-zero is_path. Ignore empty rpaths.
33129 (_dl_map_object_from_fd): Call expand_dynamic_string_token
33130 with zero is_path.
33131
f12a32e6
AS
331322011-04-08 Andreas Schwab <schwab@linux-m68k.org>
33133
33134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33135 Make cancelable.
33136
38a7d692
UD
331372011-04-09 Ulrich Drepper <drepper@gmail.com>
33138
33139 [BZ #12655]
33140 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
33141 Patch by Filipe David Manana <fdmanana@apache.org>.
33142
e451d22b
AS
331432011-04-07 Andreas Schwab <schwab@redhat.com>
33144
33145 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
33146 Maintain aligned stack.
33147 (CHECK_RSP): Remove unused macro.
33148
dedc7c7b
UD
331492011-04-03 Ulrich Drepper <drepper@gmail.com>
33150
33151 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
33152 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
33153
94521213
UD
331542011-04-02 Ulrich Drepper <drepper@gmail.com>
33155
33156 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
33157
8cb700c0 33158 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 33159
0354e355
L
331602011-03-26 H.J. Lu <hongjiu.lu@intel.com>
33161
33162 [BZ #12518]
33163 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
33164 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
33165 * sysdeps/x86_64/memmove.c: New file.
33166 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
33167 (memcpy): Renamed to ...
33168 (__new_memcpy): This.
33169 (memcpy): Provide GLIBC_2_14 memcpy.
33170 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
33171 (memcpy): Provide GLIBC_2_2_5 memcpy.
33172
8593482f
UD
331732011-04-01 Ulrich Drepper <drepper@gmail.com>
33174
33175 [BZ #12631]
33176 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
33177
81a5726b
AS
331782011-03-30 Andreas Schwab <schwab@redhat.com>
33179
33180 * misc/syncfs.c: New file.
33181 * misc/Makefile (routines): Add syncfs.
33182 * posix/unistd.h: Declare syncfs.
33183 * sysdeps/unix/syscalls.list: Add syncfs.
33184
00e5419f
AS
331852011-04-01 Andreas Schwab <schwab@redhat.com>
33186
33187 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
33188 open_by_handle_at.
33189 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33190 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33191 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33192 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33193 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33194 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
33195 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33196
748876bf
UD
331972011-04-01 Ulrich Drepper <drepper@gmail.com>
33198
658e451d
UD
33199 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
33200 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33201 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
33202 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33203 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33204 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33205 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33206
748876bf
UD
33207 * io/Makefile: Compile fallocate.c, fallocate64.c, and
33208 sync_file_range.c with -fexceptions.
33209 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
33210 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
33211 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
33212 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
33213 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
33214 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33215 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
33216 sync_file_range as cancellation point
33217 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
33218 now a wrapper around __call_sync_file_range with cancellation handling.
33219 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
33220 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
33221 function name to __call_sync_file_range.
33222 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
33223 Add call_sync_file_range.
748876bf 33224
6e63d5e1
AS
332252011-04-01 Andreas Schwab <schwab@redhat.com>
33226
33227 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 33228 bits/timex.h.
6e63d5e1 33229
46998f74
UD
332302011-04-01 Ulrich Drepper <drepper@gmail.com>
33231
4c1423ed
UD
33232 * iconv/iconv.h: Fix typo in comment.
33233 * io/fcntl.h: Likewise.
33234 * libio/stdio.h: Likewise.
33235 * posix/spawn.h: Likewise.
33236 * posix/unistd.h: Likewise.
33237 * stdlib/stdlib.h: Likewise.
33238 * time/time.h: Likewise.
33239 * wcsmbs/wchar.h: Likewise.
33240
158648c0
UD
33241 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
33242 open_by_handle): Add.
33243 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
33244 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
33245 Augment a few comments.
33246 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33247 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33248 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33249 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33250 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33251 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
33252 open_by_handle.
33253
46998f74
UD
33254 * io/fcntl.h (AT_EMPTY_PATH): Define.
33255
83fe108b
UD
332562011-03-30 Ulrich Drepper <drepper@gmail.com>
33257
33258 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
33259 * sysdeps/unix/sysv/linux/bits/time.h: New file.
33260 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
33261 to...
33262 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
33263 * Versions.def: Add GLIBC_2.14.
33264 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
33265 Export.
83fe108b 33266
bb242059
UD
332672011-03-22 Ulrich Drepper <drepper@gmail.com>
33268
33269 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
33270 round counter.
33271 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33272
c97a1282
L
332732011-03-20 H.J. Lu <hongjiu.lu@intel.com>
33274
33275 [BZ #12597]
33276 * string/test-strncmp.c (do_page_test): New function.
33277 (check2): Likewise.
33278 (test_main): Call check2.
33279 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
33280
2a115601
UD
332812011-03-20 Ulrich Drepper <drepper@gmail.com>
33282
33283 [BZ #12587]
33284 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
33285 Handle cache information in CPU leaf 4.
33286 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33287
8126d904
UD
332882011-03-18 Ulrich Drepper <drepper@gmail.com>
33289
042c49c6 33290 [BZ #12583]
8126d904
UD
33291 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
33292 character representation.
33293 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
33294
ccfe366e
RA
332952011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
33296
33297 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
33298 END(__isnan) to END(__isnanf) to match function entry point/label
33299 EALIGN(__isnanf,...).
33300
c6e13027
JJ
333012011-03-10 Jakub Jelinek <jakub@redhat.com>
33302
33303 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
33304
33f85a3f
UD
333052011-03-10 Ulrich Drepper <drepper@gmail.com>
33306
028478fa
UD
33307 [BZ #12510]
33308 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
33309 copy from the symbol referenced in the relocation to initialize the
33310 used variable.
33311 Patch by Piotr Bury <pbury@goahead.com>.
33312 * elf/Makefile: Add rules to build and tst-unique3.
33313 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
33314 * elf/tst-unique3.cc: New file.
33315 * elf/tst-unique3.h: New file.
33316 * elf/tst-unique3lib.cc: New file.
33317 * elf/tst-unique3lib2.cc: New file.
33318
33f85a3f
UD
33319 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
33320
03592fc7
MF
333212011-03-10 Mike Frysinger <vapier@gentoo.org>
33322
33323 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
33324 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
33325 to _start.
03592fc7 33326
6a5ee102
UD
333272011-03-06 Ulrich Drepper <drepper@gmail.com>
33328
33329 * elf/dl-load.c (_dl_map_object): If we are looking for the first
33330 to-be-loaded object along a path to loader is ld.so.
33331
7e4ba49c
HJ
333322011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
33333 Ulrich Drepper <drepper@gmail.com>
33334
33335 * sysdeps/x86_64/memset.S: After aligning destination, code
33336 branches to different locations depending on the value of
33337 misalignment, when multiarch is enabled. Fix this.
33338
333392011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
33340
33341 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
33342 Set _x86_64_preferred_memory_instruction for AMD processsors.
33343 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33344 Set bit_Prefer_SSE_for_memop for AMD processors.
33345
13a804de
UD
333462011-03-04 Ulrich Drepper <drepper@gmail.com>
33347
33348 * libio/fmemopen.c (fmemopen): Optimize a bit.
33349
9d25c392
AS
333502011-03-03 Andreas Schwab <schwab@redhat.com>
33351
33352 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
33353
a5543c6a
RM
333542011-03-03 Roland McGrath <roland@redhat.com>
33355
33356 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
33357
012d35f7
DM
333582011-02-28 Aurelien Jarno <aurelien@aurel32.net>
33359
7e4ba49c 33360 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
33361 __bzero_ultra1 instead of __memset_ultra1.
33362
4bff6e01
AS
333632011-02-23 Andreas Schwab <schwab@redhat.com>
33364 Ulrich Drepper <drepper@gmail.com>
33365
33366 [BZ #12509]
33367 * include/link.h (struct link_map): Add l_orig_initfini.
33368 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
33369 returning unsuccessfully.
33370 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
33371 close of a file loaded at startup, restore the original l_initfini
33372 list.
33373 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
33374 list, store the pointer.
33375 * elf/Makefile ($(objpfx)noload-mem): New rule.
33376 (noload-ENV): Define.
33377 (tests): Add $(objpfx)noload-mem.
33378 * elf/noload.c: Include <memcheck.h>.
33379 (main): Call mtrace. Close all opened handles.
33380
f2092faf
AS
333812011-02-17 Andreas Schwab <schwab@redhat.com>
33382
33383 [BZ #12454]
33384 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
33385 dependencies are missing.
33386
6c8a2e88
ST
333872011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
33388
f2092faf 33389 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
33390 Hurd needs munmap.
33391 * sysdeps/mach/hurd/ifreq.h: New file.
33392
84a42118
PB
333932011-01-27 Petr Baudis <pasky@suse.cz>
33394 Ulrich Drepper <drepper@gmail.com>
33395
071f805e 33396 [BZ 12445]#
84a42118
PB
33397 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
33398 to extend_alloca().
33399 * stdio-common/bug23.c: New file.
33400 * stdio-common/Makefile (tests): Add bug23.
33401
e23fe25b
AS
334022010-09-28 Andreas Schwab <schwab@redhat.com>
33403 Ulrich Drepper <drepper@gmail.com>
33404
33405 [BZ #12489]
33406 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
33407 before performing relro protection. At old place add assertion
33408 to make sure nothing changed.
33409
d3f02e10
NS
334102011-02-17 Nathan Sidwell <nathan@codesourcery.com>
33411 Glauber de Oliveira Costa <glommer@gmail.com>
33412
33413 * elf/elf.h: Add new ARM TLS relocs.
33414
d55fd7a5
RA
334152011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
33416
33417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
33418 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
33419 cast from r3.
33420 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
33421 'tests' variable.
33422 * sysdeps/wordsize-64/tst-writev.c: New file.
33423
2206397e
RA
334242011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
33425
33426 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
33427 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
33428 insns in _dl_start to prevent a TOC reference before relocs are
33429 resolved.
33430
e9433893
UD
334312011-02-15 Ulrich Drepper <drepper@gmail.com>
33432
33433 [BZ #12469]
33434 * Makeconfig: Remove RANLIB definition.
33435 * Makerules: Don't use RANLIB.
33436 * aclocal.m4: Remove ranlib test.
33437 * configure.in: No need to check for ranlib.
33438 * elf/rtld-Rules: Don't use RANLIB.
33439
f75286c6
ST
334402011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
33441
8e31c82d
ST
33442 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
33443 protection macro.
33444 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
33445 inclusion protection macro.
33446
f75286c6
ST
33447 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
33448 SIGRTMIN and SIGRTMAX and print information in that case only when
33449 SIGRTMIN is defined.
33450
c1d0e639
JJ
334512011-02-11 Jakub Jelinek <jakub@redhat.com>
33452
33453 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
33454 arginfo fn returning -1.
33455
33456 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
33457 and thousands string is zero terminated.
33458
edf9294e
AS
334592011-02-03 Andreas Schwab <schwab@redhat.com>
33460
33461 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
33462 sysdeps/unix/sysv/linux/bits/socket.h.
33463
2b7e92df
ST
334642011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
33465
edf9294e
AS
33466 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
33467 (__CPU_COUNT): Remove old macros.
33468 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
33469 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
33470 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
33471 (__sched_cpualloc, __sched_cpufree): Add declarations.
33472
a4c7ea7b
UD
334732011-02-05 Ulrich Drepper <drepper@gmail.com>
33474
33475 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
33476 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
33477 * nscd/aicache.c (addhstaiX): Return timeout of added value.
33478 (readdhstai): Return value of addhstaiX call.
33479 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
33480 (addgrbyX): Return value returned by cache_addgr.
33481 (readdgrbyname): Return value returned by addgrbyX.
33482 (readdgrbygid): Likewise.
33483 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
33484 (addpwbyX): Return value returned by cache_addpw.
33485 (readdpwbyname): Return value returned by addhstbyX.
33486 (readdpwbyuid): Likewise.
33487 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
33488 (addservbyX): Return value returned by cache_addserv.
33489 (readdservbyname): Return value returned by addservbyX:
33490 (readdservbyport): Likewise.
33491 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
33492 (addhstbyX): Return value returned by cache_addhst.
33493 (readdhstbyname): Return value returned by addhstbyX.
33494 (readdhstbyaddr): Likewise.
33495 (readdhstbynamev6): Likewise.
33496 (readdhstbyaddrv6): Likewise.
33497 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
33498 (readdinitgroups): Return value returned by addinitgroupsX.
33499 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
33500 (prune_cache): Keep track of timeout value of re-added entries.
33501 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
33502 * nscd/nscd.h: Adjust prototypes of readd* functions.
33503
a0bf67cc
RM
335042011-02-04 Roland McGrath <roland@redhat.com>
33505
33506 * nis/nis_server.c (nis_servstate): Use the right name for 0.
33507 (nis_stats): Likewise.
33508 * nis/nis_modify.c (nis_modify): Likewise.
33509 * nis/nis_remove.c (nis_remove): Likewise.
33510 * nis/nis_add.c (nis_add): Likewise.
33511
33512 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
33513
33514 * posix/fnmatch_loop.c: Add some consts.
33515
33516 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
33517
435b95eb
L
335182011-02-02 H.J. Lu <hongjiu.lu@intel.com>
33519
33520 [BZ #12460]
33521 * config.make.in (config-cflags-novzeroupper): Define.
33522 * configure.in: Substitute libc_cv_cc_novzeroupper.
33523 * elf/Makefile (AVX-CFLAGS): Define.
33524 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
33525 (CFLAGS-tst-auditmod4a.c): Likewise.
33526 (CFLAGS-tst-auditmod4b.c): Likewise.
33527 (CFLAGS-tst-auditmod6b.c): Likewise.
33528 (CFLAGS-tst-auditmod6c.c): Likewise.
33529 (CFLAGS-tst-auditmod7b.c): Likewise.
33530 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
33531
8517b15e
UD
335322011-02-02 Ulrich Drepper <drepper@gmail.com>
33533
33534 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
33535 function to the callback.
33536 Patch partly by Jiri Olsa <jolsa@redhat.com>.
33537
10a656fe
AS
335382011-02-02 Andreas Schwab <schwab@redhat.com>
33539
33540 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
33541 of errno.
33542
968dad0a
UD
335432011-01-19 Ulrich Drepper <drepper@gmail.com>
33544
9f94d2ea 33545 [BZ #11724]
968dad0a
UD
33546 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
33547 of constructors.
33548 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
33549 of destructors.
33550 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
33551
33552 [BZ #11724]
33553 * elf/Makefile: Add rules to build and run new test.
33554 * elf/tst-initorder.c: New file.
33555 * elf/tst-initorder.exp: New file.
33556 * elf/tst-initordera1.c: New file.
33557 * elf/tst-initordera2.c: New file.
33558 * elf/tst-initordera3.c: New file.
33559 * elf/tst-initordera4.c: New file.
33560 * elf/tst-initorderb1.c: New file.
33561 * elf/tst-initorderb2.c: New file.
33562 * elf/tst-order-a1.c: New file.
33563 * elf/tst-order-a2.c: New file.
33564 * elf/tst-order-a3.c: New file.
33565 * elf/tst-order-a4.c: New file.
33566 * elf/tst-order-b1.c: New file.
33567 * elf/tst-order-b2.c: New file.
33568 * elf/tst-order-main.c: New file.
33569 New test case by George Gensure <werkt0@gmail.com>.
33570
86e92359
UD
335712010-10-01 Andreas Schwab <schwab@redhat.com>
33572
33573 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33574 decoding ACE if AI_CANONIDN.
33575
5d5732b0
UD
335762011-01-18 Ulrich Drepper <drepper@gmail.com>
33577
33578 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
33579
a77e8cbc
UD
335802011-01-17 Ulrich Drepper <drepper@gmail.com>
33581
6392473f
UD
33582 * version.h (RELEASE): Bump for 2.13 release.
33583 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
33584
620a0529
UD
33585 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
33586
18ba70a5
UD
33587 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
33588 MADV_NOHUGEPAGE.
32465c3e
UD
33589 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
33590 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
33591 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33592 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33593 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33594 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33595
c0dafcf1
UD
33596 * posix/getconf.c: Update copyright year.
33597 * catgets/gencat.c: Likewise.
33598 * csu/version.c: Likewise.
33599 * debug/catchsegv.sh: Likewise.
33600 * debug/xtrace.sh: Likewise.
33601 * elf/ldconfig.c: Likewise.
33602 * elf/ldd.bash.in: Likewise.
33603 * elf/sprof.c (print_version): Likewise.
33604 * iconv/iconv_prog.c: Likewise.
33605 * iconv/iconvconfig.c: Likewise.
33606 * locale/programs/locale.c: Likewise.
33607 * locale/programs/localedef.c: Likewise.
33608 * malloc/memusage.sh: Likewise.
33609 * malloc/mtrace.pl: Likewise.
33610 * nscd/nscd.c (print_version): Likewise.
33611 * nss/getent.c: Likewise.
33612
a77e8cbc
UD
33613 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
33614 PF_CAIF, and PF_ALG.
33615 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33616
77e8bddf
AS
336172011-01-16 Andreas Schwab <schwab@linux-m68k.org>
33618
1f20b93a
AS
33619 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
33620 (modules-names): Use them.
33621 (ifunc-test-modules, ifunc-pie-tests): Define.
33622 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
33623 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
33624 (test-extras): Likewise.
33625 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
33626 $(compile-command.c).
33627 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
33628 (all-built-dso): Define.
33629 (check-textrel.out, check-execstack.out): Depend on it.
33630
77e8bddf
AS
33631 * configure.in: Don't override --enable-multi-arch.
33632
bc425b33
UD
336332011-01-15 Ulrich Drepper <drepper@gmail.com>
33634
33635 [BZ #6812]
33636 * nscd/hstcache.c (tryagain): Define.
33637 (cache_addhst): Return tryagain not notfound for temporary errors.
33638 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
33639 failed.
33640
794c3ad3
UD
336412011-01-14 Ulrich Drepper <drepper@gmail.com>
33642
70181fdd
UD
33643 [BZ #10563]
33644 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
33645 to make the syscall.
33646 * sysdeps/unix/sysv/linux/setgroups.c: New file.
33647
794c3ad3
UD
33648 [BZ #12378]
33649 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
33650 and fall back to matching as normal character if the string ends before
33651 the matching ']' is found. This is what POSIX requires.
33652 * posix/testfnm.c: Adjust test result.
33653 * posix/globtest.sh: Adjust test result. Add new test.
33654 * posix/tst-fnmatch.input: Likewise.
33655 * posix/tst-fnmatch2.c: Add new test.
33656
68dc9497
AS
336572010-12-28 Andreas Schwab <schwab@linux-m68k.org>
33658
33659 * elf/Makefile (check-execstack): Revert last change. Depend on
33660 check-execstack.h.
33661 (check-execstack.h): New target.
33662 (generated): Add check-execstack.h.
33663 * elf/check-execstack.c: Include "check-execstack.h".
33664 (main): Revert last change.
33665 (handle_file): Return zero if GNU_STACK is absent and
33666 DEFAULT_STACK_PERMS doesn't include PF_X.
33667
451f001b
UD
336682011-01-13 Ulrich Drepper <drepper@gmail.com>
33669
cfa28e56
UD
33670 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
33671 in child fails because the descriptor is already closed.
8cf8ce17
UD
33672 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
33673 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
33674 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 33675
1086d70d
UD
33676 [BZ #12397]
33677 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
33678 syscall.
33679
451f001b
UD
33680 [BZ #10484]
33681 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
33682 temporary buffer used to handle multi lookups locally.
a85b5cb4 33683 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 33684
08769175
UD
336852011-01-12 Ulrich Drepper <drepper@gmail.com>
33686
33687 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
33688 loader is ld.so.
33689
5e49c52e
UD
336902011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
33691
33692 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
33693 alignment for SSE2.
33694
60522a5f
UD
336952011-01-12 Ulrich Drepper <drepper@gmail.com>
33696
33697 [BZ #12394]
33698 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
33699 characters. When rounding increased number of integer digits recompute
33700 number of groups.
33701 * stdio-common/tst-grouping.c: New file.
33702 * stdio-common/Makefile: Add rules to build and run tst-grouping.
33703
f257bbd7
UD
337042011-01-09 Ulrich Drepper <drepper@gmail.com>
33705
33706 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
33707 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
33708
33709 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
33710 void.
33711 * bits/select.h: Likewise.
33712
fa9c15cb
UD
337132011-01-08 Ulrich Drepper <drepper@gmail.com>
33714
33715 * po/ja.po: Update from translation team.
33716
16c2895f
DM
337172011-01-04 David S. Miller <davem@sunset.davemloft.net>
33718
33719 [BZ #11155]
33720 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
33721 implementation just like for lxstat, fxstatat, et al.
33722
2543fef2
JM
337232010-12-27 Jim Meyering <meyering@redhat.com>
33724
33725 [BZ #12348]
33726 * posix/regexec.c (build_trtable): Return failure indication upon
33727 calloc failure. Otherwise, re_search_internal could infloop on OOM.
33728
98727dbe
UD
337292010-12-25 Ulrich Drepper <drepper@gmail.com>
33730
5bd6dc5c
UD
33731 [BZ #12201]
33732 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
33733 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
33734 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
33735 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
33736
97983464
UD
33737 [BZ #12207]
33738 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
33739
98727dbe
UD
33740 [BZ #12204]
33741 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
33742 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
33743
4a531bb0
L
337442010-12-15 H.J. Lu <hongjiu.lu@intel.com>
33745
33746 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
33747 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
33748 script has SORT_BY_INIT_PRIORITY.
33749 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
33750 NO_CTORS_DTORS_SECTIONS is defined.
33751 * elf/soinit.c: Likewise.
33752 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
33753 NO_CTORS_DTORS_SECTIONS is defined.
33754 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
33755 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
33756 * sysdeps/sh/init-first.c: Likewise.
33757 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
33758
07eb4b71
UD
337592010-12-24 Ulrich Drepper <drepper@gmail.com>
33760
33761 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
33762 always use the slow path.
33763
30950a5f
RA
337642010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
33765
33766 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
33767 similar rule which adds the sysdep directories to the header search in
33768 order to pick up the correct platform stackinfo.h.
33769 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
33770 perform test if it is, otherwise return successfully without testing.
33771 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
33772 DEFAULT_STACK_PERMS define in stackinfo.h.
33773 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
33774 defined in stackinfo.h.
33775 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
33776 DEFAULT_STACK_PERMS defined in stackinfo.h.
33777 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
33778 * sysdeps/ia64/stackinfo.h: Likewise.
33779 * sysdeps/s390/stackinfo.h: Likewise.
33780 * sysdeps/sh/stackinfo.h: Likewise.
33781 * sysdeps/sparc/stackinfo.h: Likewise.
33782 * sysdeps/x86_64/stackinfo.h: Likewise.
33783 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
33784 PF_X for powerpc64. Retain PF_X for powerpc32.
33785
db753e2c
UD
337862010-12-19 Ulrich Drepper <drepper@gmail.com>
33787
14b697f7
UD
33788 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
33789 accurately.
db753e2c
UD
33790 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
33791 GETDENTS_64BIT_ALIGNED.
33792
28300719
UD
337932010-12-14 Ulrich Drepper <dreper@gmail.com>
33794
14b697f7 33795 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 33796
4f197237
AS
337972010-12-10 Andreas Schwab <schwab@redhat.com>
33798
dbb0472f
AS
33799 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
33800 _GNU_SOURCE.
33801
4f197237
AS
33802 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
33803 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
33804 Remove __restrict.
33805 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
33806 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
33807
fb88ac72
UD
338082010-12-09 Ulrich Drepper <drepper@gmail.com>
33809
33810 [BZ #11655]
33811 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
33812 are initialized.
33813
42acbb92
JJ
338142010-12-09 Jakub Jelinek <jakub@redhat.com>
33815
33816 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
33817
c038d98d
UD
338182010-12-03 Ulrich Drepper <drepper@gmail.com>
33819
33820 * po/it.po: Update from translation team.
33821
3a4a2499
L
338222010-12-01 H.J. Lu <hongjiu.lu@intel.com>
33823
33824 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
33825 unused codes.
33826
1e24cf6e
UD
338272010-11-30 Ulrich Drepper <drepper@gmail.com>
33828
33829 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
33830
a7690819
AS
338312010-11-24 Andreas Schwab <schwab@redhat.com>
33832
33833 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
33834 specially.
33835 (gaih_getanswer_slice): Likewise.
33836
3bf8d1b1
JJ
338372010-10-20 Jakub Jelinek <jakub@redhat.com>
33838
33839 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
33840
6db52fbb
PB
338412010-05-31 Petr Baudis <pasky@suse.cz>
33842
33843 [BZ #11149]
33844 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
33845 silently even in the chroot mode.
33846
eaca7569
UD
338472010-11-22 Ulrich Drepper <drepper@gmail.com>
33848
33849 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
33850 last patch a bit. Pretty printing
33851
3056dcdb
UD
338522010-05-31 Petr Baudis <pasky@suse.cz>
33853
33854 [BZ #10085]
33855 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
33856 initialization of skip_initgroups_dyn.
33857
cf7c9078
UD
338582010-11-19 Ulrich Drepper <drepper@gmail.com>
33859
33860 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
33861 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33862
a1fb5e3e
UD
338632010-11-16 Ulrich Drepper <drepper@gmail.com>
33864
33865 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
33866
3540d66b
AS
338672010-11-11 Andreas Schwab <schwab@redhat.com>
33868
33869 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
33870 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
33871 (tst-fnmatch-ENV): Set MALLOC_TRACE.
33872 ($(objpfx)tst-fnmatch-mem): New rule.
33873 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
33874 * posix/tst-fnmatch.c (main): Call mtrace.
33875
13b69574
L
338762010-11-11 H.J. Lu <hongjiu.lu@intel.com>
33877
33878 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33879 Support Intel processor model 6 and model 0x2c.
33880
da93d214
LM
338812010-11-10 Luis Machado <luisgpm@br.ibm.com>
33882
33883 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
33884 signed comparison.
33885
8ca52c6e
L
338862010-11-09 H.J. Lu <hongjiu.lu@intel.com>
33887
33888 [BZ #12205]
33889 * string/test-strncasecmp.c (check_result): New function.
33890 (do_one_test): Use it.
33891 (check1): New function.
33892 (test_main): Use it.
33893 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
33894 Support strcasecmp and strncasecmp.
33895
69da074d
UD
338962010-11-08 Ulrich Drepper <drepper@gmail.com>
33897
33898 [BZ #12194]
33899 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
33900 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33901
ff02d528
L
339022010-11-07 H.J. Lu <hongjiu.lu@intel.com>
33903
33904 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
33905 IFUNC support.
33906 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33907 memset-x86-64.
33908 * sysdeps/x86_64/multiarch/bzero.S: New file.
33909 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
33910 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
33911 * sysdeps/x86_64/multiarch/memset.S: New file.
33912 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
33913 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33914 Set bit_Prefer_SSE_for_memop for Intel processors.
33915 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
33916 Define.
33917 (index_Prefer_SSE_for_memop): Define.
33918 (HAS_PREFER_SSE_FOR_MEMOP): Define.
33919
344d0b54
LM
339202010-11-04 Luis Machado <luisgpm@br.ibm.com>
33921
33922 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
33923 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
33924
c0dde15b
UD
339252010-11-03 H.J. Lu <hongjiu.lu@intel.com>
33926
33927 [BZ #12191]
33928 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33929 (__x86_64_raw_data_cache_size_half): Likewise.
33930 (__x86_64_raw_shared_cache_size): Likewise.
33931 (__x86_64_raw_shared_cache_size_half): Likewise.
33932
33933 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33934 (__x86_64_raw_data_cache_size_half): Likewise.
33935 (__x86_64_raw_shared_cache_size): Likewise.
33936 (__x86_64_raw_shared_cache_size_half): Likewise.
33937 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
33938 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
33939 and __x86_64_raw_shared_cache_size_half. Round
33940 __x86_64_data_cache_size_half, __x86_64_data_cache_size
33941 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
33942 to multiple of 256 bytes.
33943
0e516e0e
MS
339442010-11-03 Ulrich Drepper <drepper@gmail.com>
33945
33946 [BZ #12167]
33947 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
33948 of inacessible symlinks. Verify result of symlink before returning it.
33949 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
33950 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
33951
0e012e87
ER
339522010-10-28 Erich Ritz <erichritz@gmail.com>
33953
33954 * math/math.h (isinf): Fix typo in comment.
33955
de0ff7bc
UD
339562010-11-01 Ulrich Drepper <drepper@gmail.com>
33957
33958 * po/da.po: Update from translation team.
33959
fa41c84d
UD
339602010-10-26 Ulrich Drepper <drepper@gmail.com>
33961
33962 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
33963 is added to the list.
33964
f0967738
AK
339652010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33966 Ulrich Drepper <drepper@gmail.com>
33967
33968 * elf/dl-object.c (_dl_new_object): Don't append the new object to
33969 the global list here. Move code to...
33970 (_dl_add_to_namespace_list): ...here. New function.
33971 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
33972 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
33973 * elf/dl-load.c (lose): Don't remove the element from the list.
33974 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
33975 (_dl_map_object): Likewise.
33976
339772010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
33978
33979 [BZ #12159]
33980 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
33981 into all bytes of SSE register.
33982 Patch by Richard Li <richardpku@gmail.com>.
33983
f0967738 339842010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
33985
33986 [BZ #12140]
33987 * malloc/malloc.c (_int_free): Fill correct number of bytes when
33988 perturbing.
33989
d0b9e94f
MB
339902010-10-20 Michael B. Brutman <brutman@us.ibm.com>
33991
33992 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
33993 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
33994 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
33995 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
33996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
33997 submachine.
33998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
33999
8e9f92e9
AS
340002010-10-22 Andreas Schwab <schwab@redhat.com>
34001
34002 * include/dlfcn.h (__RTLD_SECURE): Define.
34003 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
34004 mode & __RTLD_SECURE instead.
34005 (open_path): Rename preloaded parameter to secure.
34006 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
34007 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
34008 * elf/dl-deps.c (openaux): Likewise.
34009 * elf/rtld.c (struct map_args): Remove is_preloaded.
34010 (map_doit): Don't use it.
34011 (dl_main): Likewise.
34012 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
34013 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
34014
bc96fbda
AS
340152010-09-09 Andreas Schwab <schwab@redhat.com>
34016
34017 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
34018 (sysd-rules-targets): Remove duplicates.
34019 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
34020 rtld-%.$o dependency.
34021
22cd1c9b
AS
340222010-10-18 Andreas Schwab <schwab@redhat.com>
34023
34024 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
34025 _dl_map_object do it.
34026
18edac48
UD
340272010-10-19 Ulrich Drepper <drepper@gmail.com>
34028
34029 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
34030 fast fma builtins, define the macros in the C99 standard.
34031 (FP_FAST_FMAF): Likewise.
34032 (FP_FAST_FMAL): Likewise.
34033 * sysdeps/x86_64/bits/mathdef.h: Likewise.
34034
34035 * bits/mathdef.h: Update copyright year.
34036 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34037
d2050124
MM
340382010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
34039
34040 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
34041 builtins, define the macros in the C99 standard.
34042 (FP_FAST_FMAF): Likewise.
34043 (FP_FAST_FMAL): Likewise.
34044 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
34045 multiply/add.
34046 (FP_FAST_FMAF): Likewise.
34047
475facd1
JJ
340482010-10-15 Jakub Jelinek <jakub@redhat.com>
34049
34050 [BZ #3268]
34051 * math/libm-test.inc (fma_test): Some new testcases.
34052 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
34053 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
34054 y and infinite z. Do multiplication by C already in long double.
34055 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
34056 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
34057 y and infinite z. Do bitwise or of inexact bit into u.d.
34058 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
34059 * sysdeps/i386/fpu/s_fmaf.S: Removed.
34060 * sysdeps/i386/fpu/s_fma.S: Removed.
34061 * sysdeps/i386/fpu/s_fmal.S: Removed.
34062
7c08a05c
JJ
340632010-10-16 Jakub Jelinek <jakub@redhat.com>
34064
34065 [BZ #3268]
34066 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
34067 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
34068 computation is not scheduled after fetestexcept. Fix value
34069 of minimum denormal long double.
34070
f3f7372d
JJ
340712010-10-14 Jakub Jelinek <jakub@redhat.com>
34072
34073 [BZ #3268]
34074 * math/libm-test.inc (fma_test): Add some more tests.
34075 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
34076 correctly.
34077
14d43591
AS
340782010-10-15 Andreas Schwab <schwab@redhat.com>
34079
34080 * scripts/data/localplt-s390-linux-gnu.data: New file.
34081 * scripts/data/localplt-s390x-linux-gnu.data: New file.
34082
5e908464
JJ
340832010-10-13 Jakub Jelinek <jakub@redhat.com>
34084
34085 [BZ #3268]
34086 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
34087 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
34088 instead of dbl-64.
34089 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
34090 inlines.
34091 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
34092 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
34093 if one of x and y is very large and the other is subnormal.
34094 * sysdeps/s390/fpu/s_fmaf.c: New file.
34095 * sysdeps/s390/fpu/s_fma.c: New file.
34096 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
34097 * sysdeps/powerpc/fpu/s_fma.S: New file.
34098 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
34099 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
34100 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
34101
341022010-10-12 Jakub Jelinek <jakub@redhat.com>
34103
34104 [BZ #3268]
34105 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
34106 fma tests.
34107 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
34108 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
34109 * sysdeps/i386/i686/multiarch/s_fma.c: Include
34110 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
34111 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
34112 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
34113 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
34114
b833d51f
UD
341152010-10-12 Ulrich Drepper <drepper@redhat.com>
34116
34117 [BZ #12078]
34118 * posix/regcomp.c (parse_branch): One more memory leak plugged.
34119 * posix/bug-regex31.input: Add test case.
34120
1751705d
UD
341212010-10-11 Ulrich Drepper <drepper@gmail.com>
34122
e9b9cbf5
UD
34123 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
34124 * posix/bug-regex31.input: New file.
34125
34126 [BZ #12078]
34127 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
34128 (parse_sub_exp): Fix last change, use postorder.
34129
ef06edbe
UD
34130 * posix/bug-regex31.c: New file.
34131 * posix/Makefile: Add rules to build and run bug-regex31.
34132
a129c80d
UD
34133 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
34134
34135 [BZ #12078]
34136 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
34137
b76b818e
UD
34138 [BZ #12108]
34139 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
34140 to have entries in sys_siglist.
34141
1751705d
UD
34142 [BZ #12093]
34143 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
34144 be NULL.
34145
9ff8d36f
JJ
341462010-10-07 Jakub Jelinek <jakub@redhat.com>
34147
34148 [BZ #3268]
34149 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
34150 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
34151 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
34152 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
34153 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34154 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
34155 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
34156 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
34157 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
34158 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
34159 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
34160 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
34161 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
34162 * math/ftestexcept.c (fetestexcept): Likewise.
34163 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
34164 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
34165 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
34166 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
34167 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
34168 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
34169 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34170
af325969
UD
341712010-10-11 Ulrich Drepper <drepper@gmail.com>
34172
c579b202 34173 [BZ #12107]
af325969
UD
34174 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
34175 newline.
34176
67a67b95
UD
341772010-10-06 Ulrich Drepper <drepper@gmail.com>
34178
34179 * string/bug-strstr1.c: New file.
34180 * string/Makefile: Add rules to build and run bug-strstr1.
34181
5fb308bc
EB
341822010-10-05 Eric Blake <eblake@redhat.com>
34183
34184 [BZ #12092]
34185 * string/str-two-way.h (two_way_long_needle): Always clear memory
34186 when skipping input due to the shift table.
34187
45db99c7
UD
341882010-10-03 Ulrich Drepper <drepper@gmail.com>
34189
3b111893
UD
34190 [BZ #12005]
34191 * malloc/mcheck.c: Handle large requests.
34192
45db99c7
UD
34193 [BZ #12077]
34194 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
34195 for strncmp and strncasecmp.
34196 * string/stratcliff.c: Add tests for strcmp and strncmp.
34197 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
34198
cf7a1eb8
NI
341992010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34200
34201 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
34202 __set_fpscr.
34203
6484ba5e
AJ
342042010-09-30 Andreas Jaeger <aj@suse.de>
34205
34206 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
34207 (CGROUP_SUPER_MAGIC): Define.
34208 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34209 Handle btrfs and cgroup file systems.
34210 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
34211 Likewise.
34212
91c42559
LM
342132010-09-27 Luis Machado <luisgpm@br.ibm.com>
34214
34215 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
34216 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
34217
87a97932
AK
342182010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34219
34220 [BZ #12067]
34221 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
34222 trying to locate the ELF header.
34223
c21cc9bc
AS
342242010-09-27 Andreas Schwab <schwab@redhat.com>
34225
34226 [BZ #11611]
34227 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
34228 Mask out sign-bit copies when constructing f_fsid.
34229
315970f6
PB
342302010-09-24 Petr Baudis <pasky@suse.cz>
34231
34232 * debug/stack_chk_fail_local.c: Add missing licence exception.
34233 * debug/warning-nop.c: Likewise.
34234
1ac7a2c7
JM
342352010-09-15 Joseph Myers <joseph@codesourcery.com>
34236
34237 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
34238 implementing getdents64 using getdents syscall, set d_type if
34239 __ASSUME_GETDENTS32_D_TYPE.
34240
56801c50
AS
342412010-09-16 Andreas Schwab <schwab@redhat.com>
34242
34243 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
34244 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
34245
dda51327
UD
342462010-09-21 Ulrich Drepper <drepper@redhat.com>
34247
34248 [BZ #12037]
34249 * posix/unistd.h: Undo change of feature selection for ftruncate from
34250 2010-01-11.
34251
8ffcee4a
UD
342522010-09-20 Ulrich Drepper <drepper@redhat.com>
34253
a545ecd9 34254 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
34255 detection.
34256
e24f0a8b
AS
342572010-09-20 Andreas Schwab <schwab@redhat.com>
34258
34259 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
34260 fanotify_mark.
34261 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34262
7291c56f
AS
342632010-09-14 Andreas Schwab <schwab@redhat.com>
34264
34265 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
34266 variables after CHECK_SP call.
34267 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
34268
bc5fb037
AS
342692010-09-13 Andreas Schwab <schwab@redhat.com>
34270 Ulrich Drepper <drepper@redhat.com>
34271
34272 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
34273 re-relocationg ld.so.
34274 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
34275 _dl_init_paths call.
34276 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
34277 here anymore.
34278
e66e7419
UD
342792010-09-14 Ulrich Drepper <drepper@redhat.com>
34280
34281 * resolv/res_init.c (__res_vinit): Count the default server we added.
34282
c044aa75
CLT
342832010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
34284 Ulrich Drepper <drepper@redhat.com>
34285
34286 [BZ #11968]
34287 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34288 (____longjmp_chk): Use %ebx for saving value across system call.
34289 Add unwind info.
34290
32cf4069
AS
342912010-09-06 Andreas Schwab <schwab@redhat.com>
34292
34293 * manual/Makefile: Don't mix pattern rules with normal rules.
34294
817328ee
AS
342952010-09-05 Andreas Schwab <schwab@linux-m68k.org>
34296
34297 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
34298 operation.
34299 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
34300 * libio/iofopncook.c (_IO_cookie_init): Likewise.
34301 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
34302 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
34303 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34304 Likewise.
34305
29fddf61
UD
343062010-09-04 Ulrich Drepper <drepper@redhat.com>
34307
34308 [BZ #11979]
34309 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
34310 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
34311
0959ffc9
UD
343122010-09-02 Ulrich Drepper <drepper@redhat.com>
34313
34314 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
34315 * sysdeps/x86_64/addmul_1.S: Likewise.
34316 * sysdeps/x86_64/lshift.S: Likewise.
34317 * sysdeps/x86_64/mul_1.S: Likewise.
34318 * sysdeps/x86_64/rshift.S: Likewise.
34319 * sysdeps/x86_64/sub_n.S: Likewise.
34320 * sysdeps/x86_64/submul_1.S: Likewise.
34321
ece29840
ST
343222010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
34323
0959ffc9
UD
34324 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
34325 Define __sched_param instead of SCHED_* and sched_param when
ece29840 34326 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 34327 * bits/sched.h [__need_schedparam]
ece29840 34328 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
34329 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
34330 (__defined_schedparam): Define to 1.
ece29840
ST
34331 (__sched_param): New structure, identical to sched_param.
34332 (__need_schedparam): Undefine.
34333
e53a31fe
MF
343342010-08-31 Mike Frysinger <vapier@gentoo.org>
34335
fdc0c10d
MF
34336 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
34337 (epoll_create1): Declare.
34338
e53a31fe
MF
34339 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
34340
a726d796
AS
343412010-08-31 Andreas Schwab <schwab@redhat.com>
34342
34343 [BZ #7066]
34344 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
34345 shifting retval into place.
34346
2f3e3dc7
UD
343472010-09-01 Ulrich Drepper <drepper@redhat.com>
34348
f2933da9
UD
34349 * nis/rpcsvc/nis.h: Update copyright notice.
34350 * nis/rpcsvc/nis.x: Likewise.
34351 * nis/rpcsvc/nis_callback.h: Likewise.
34352 * nis/rpcsvc/nis_callback.x: Likewise.
34353 * nis/rpcsvc/nis_object.x: Likewise.
34354 * nis/rpcsvc/nis_tags.h: Likewise.
34355 * nis/rpcsvc/yp.h: Likewise.
34356 * nis/rpcsvc/yp.x: Likewise.
34357 * nis/rpcsvc/ypupd.h: Likewise.
34358 * nis/yp_xdr.c: Likewise.
34359 * nis/ypupdate_xdr.c: Likewise.
34360
2f3e3dc7
UD
34361 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
34362 mainly the body of pmap_getport. Add parameters to specify timeouts.
34363 (pmap_getport): Use __libc_rpc_getport.
34364 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
34365 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
34366 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
34367
f3dcc2f9
AS
343682010-08-31 Andreas Schwab <schwab@linux-m68k.org>
34369
34370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
34371 fanotify_mark.
34372
6d34eb5b
RM
343732010-08-27 Roland McGrath <roland@redhat.com>
34374
34375 * sysdeps/i386/i686/multiarch/Makefile
34376 (CFLAGS-varshift.c): New variable.
34377
9ea3de11
UD
343782010-08-27 Ulrich Drepper <drepper@redhat.com>
34379
c96d23fc
UD
34380 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
34381 * sysdeps/i386/i686/multiarch/varshift.c: New file.
34382
9ea3de11
UD
34383 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
34384
34385 * sysdeps/x86_64/strlen.S: Minimal code improvement.
34386
623aac7f
L
343872010-08-26 H.J. Lu <hongjiu.lu@intel.com>
34388
34389 * sysdeps/x86_64/strlen.S: Unroll the loop.
34390 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34391 strlen-sse2 strlen-sse2-bsf.
34392 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
34393 __strlen_no_bsf if bit_Slow_BSF is set.
34394 (__strlen_sse42): Removed.
34395 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
34396 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
34397
8b2b7715
RM
343982010-08-25 Roland McGrath <roland@redhat.com>
34399
34400 * sysdeps/x86_64/multiarch/varshift.S: File removed.
34401 * sysdeps/x86_64/multiarch/varshift.c: New file.
34402 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
34403 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
34404 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
34405 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34406
e73015f2
L
344072010-08-25 H.J. Lu <hongjiu.lu@intel.com>
34408
34409 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34410 strlen-sse2 strlen-sse2-bsf.
34411 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
34412 __strlen_sse2_bsf if bit_Slow_BSF is unset.
34413 (__strlen_sse2): Removed.
34414 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
34415 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
34416 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
34417 bit_Slow_BSF for Atom.
34418 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
34419 (index_Slow_BSF): Define.
34420 (HAS_SLOW_BSF): Define.
34421
df24a73e
UD
344222010-08-25 Ulrich Drepper <drepper@redhat.com>
34423
34424 [BZ #10851]
34425 * resolv/res_init.c (__res_vinit): When no server address at all
34426 is given default to loopback.
34427
f2ac4868
RM
344282010-08-24 Roland McGrath <roland@redhat.com>
34429
09055553
RM
34430 * configure.in: Remove config-name.h generation.
34431 * configure: Regenerated.
34432 * config-name.in: File removed.
34433 * scripts/config-uname.sh: New file.
34434 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
34435 ($(objdir)config-name.h): New target.
34436
f2ac4868
RM
34437 * sunrpc/rpc_parse.h: Avoid nested comment.
34438
73f27d5e
RH
344392010-08-24 Richard Henderson <rth@redhat.com>
34440 Ulrich Drepper <drepper@redhat.com>
34441 H.J. Lu <hongjiu.lu@intel.com>
34442
34443 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
34444 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
34445 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
34446 Replace _mm_srli_si128 with __m128i_shift_right. Replace
34447 _mm_alignr_epi8 with _mm_loadu_si128.
34448 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
34449 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
34450 (__m128i_shift_right): Removed.
34451 * sysdeps/i386/i686/multiarch/varshift.h: New file.
34452 * sysdeps/i386/i686/multiarch/varshift.S: New file.
34453 * sysdeps/x86_64/multiarch/varshift.h: New file.
34454 * sysdeps/x86_64/multiarch/varshift.S: New file.
34455
84b9230c
MF
344562010-08-21 Mike Frysinger <vapier@gentoo.org>
34457
34458 * configure.in: Move assembler checks to before sysdep dir checking.
34459
9bbd0ddc
PB
344602010-08-20 Petr Baudis <pasky@suse.cz>
34461
34462 * LICENSES: Sync the sunrpc license.
34463
9da4bb31
UD
344642010-08-19 Ulrich Drepper <drepper@redhat.com>
34465
a7ab6ec8
UD
34466 * sunrpc/auth_des.c: Update copyright notice once again.
34467 * sunrpc/auth_none.c: Likewise.
34468 * sunrpc/auth_unix.c: Likewise.
34469 * sunrpc/authdes_prot.c: Likewise.
34470 * sunrpc/authuxprot.c: Likewise.
34471 * sunrpc/bindrsvprt.c: Likewise.
34472 * sunrpc/clnt_gen.c: Likewise.
34473 * sunrpc/clnt_perr.c: Likewise.
34474 * sunrpc/clnt_raw.c: Likewise.
34475 * sunrpc/clnt_simp.c: Likewise.
34476 * sunrpc/clnt_tcp.c: Likewise.
34477 * sunrpc/clnt_udp.c: Likewise.
34478 * sunrpc/clnt_unix.c: Likewise.
34479 * sunrpc/des_crypt.c: Likewise.
34480 * sunrpc/des_soft.c: Likewise.
34481 * sunrpc/get_myaddr.c: Likewise.
34482 * sunrpc/getrpcport.c: Likewise.
34483 * sunrpc/key_call.c: Likewise.
34484 * sunrpc/key_prot.c: Likewise.
34485 * sunrpc/openchild.c: Likewise.
34486 * sunrpc/pm_getmaps.c: Likewise.
34487 * sunrpc/pm_getport.c: Likewise.
34488 * sunrpc/pmap_clnt.c: Likewise.
34489 * sunrpc/pmap_prot.c: Likewise.
34490 * sunrpc/pmap_prot2.c: Likewise.
34491 * sunrpc/pmap_rmt.c: Likewise.
34492 * sunrpc/rpc/auth.h: Likewise.
34493 * sunrpc/rpc/auth_unix.h: Likewise.
34494 * sunrpc/rpc/clnt.h: Likewise.
34495 * sunrpc/rpc/des_crypt.h: Likewise.
34496 * sunrpc/rpc/key_prot.h: Likewise.
34497 * sunrpc/rpc/netdb.h: Likewise.
34498 * sunrpc/rpc/pmap_clnt.h: Likewise.
34499 * sunrpc/rpc/pmap_prot.h: Likewise.
34500 * sunrpc/rpc/pmap_rmt.h: Likewise.
34501 * sunrpc/rpc/rpc.h: Likewise.
34502 * sunrpc/rpc/rpc_des.h: Likewise.
34503 * sunrpc/rpc/rpc_msg.h: Likewise.
34504 * sunrpc/rpc/svc.h: Likewise.
34505 * sunrpc/rpc/svc_auth.h: Likewise.
34506 * sunrpc/rpc/types.h: Likewise.
34507 * sunrpc/rpc/xdr.h: Likewise.
34508 * sunrpc/rpc_clntout.c: Likewise.
34509 * sunrpc/rpc_cmsg.c: Likewise.
34510 * sunrpc/rpc_common.c: Likewise.
34511 * sunrpc/rpc_cout.c: Likewise.
34512 * sunrpc/rpc_dtable.c: Likewise.
34513 * sunrpc/rpc_hout.c: Likewise.
34514 * sunrpc/rpc_main.c: Likewise.
34515 * sunrpc/rpc_parse.c: Likewise.
34516 * sunrpc/rpc_parse.h: Likewise.
34517 * sunrpc/rpc_prot.c: Likewise.
34518 * sunrpc/rpc_sample.c: Likewise.
34519 * sunrpc/rpc_scan.c: Likewise.
34520 * sunrpc/rpc_scan.h: Likewise.
34521 * sunrpc/rpc_svcout.c: Likewise.
34522 * sunrpc/rpc_tblout.c: Likewise.
34523 * sunrpc/rpc_util.c: Likewise.
34524 * sunrpc/rpc_util.h: Likewise.
34525 * sunrpc/rpcinfo.c: Likewise.
34526 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
34527 * sunrpc/rpcsvc/key_prot.x: Likewise.
34528 * sunrpc/rpcsvc/klm_prot.x: Likewise.
34529 * sunrpc/rpcsvc/mount.x: Likewise.
34530 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
34531 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
34532 * sunrpc/rpcsvc/rex.x: Likewise.
34533 * sunrpc/rpcsvc/rstat.x: Likewise.
34534 * sunrpc/rpcsvc/rusers.x: Likewise.
34535 * sunrpc/rpcsvc/sm_inter.x: Likewise.
34536 * sunrpc/rpcsvc/spray.x: Likewise.
34537 * sunrpc/rpcsvc/yppasswd.x: Likewise.
34538 * sunrpc/rtime.c: Likewise.
34539 * sunrpc/svc.c: Likewise.
34540 * sunrpc/svc_auth.c: Likewise.
34541 * sunrpc/svc_authux.c: Likewise.
34542 * sunrpc/svc_raw.c: Likewise.
34543 * sunrpc/svc_run.c: Likewise.
34544 * sunrpc/svc_simple.c: Likewise.
34545 * sunrpc/svc_tcp.c: Likewise.
34546 * sunrpc/svc_udp.c: Likewise.
34547 * sunrpc/svc_unix.c: Likewise.
34548 * sunrpc/svcauth_des.c: Likewise.
34549 * sunrpc/xcrypt.c: Likewise.
34550 * sunrpc/xdr.c: Likewise.
34551 * sunrpc/xdr_array.c: Likewise.
34552 * sunrpc/xdr_float.c: Likewise.
34553 * sunrpc/xdr_mem.c: Likewise.
34554 * sunrpc/xdr_rec.c: Likewise.
34555 * sunrpc/xdr_ref.c: Likewise.
34556 * sunrpc/xdr_sizeof.c: Likewise.
34557 * sunrpc/xdr_stdio.c: Likewise.
34558
9da4bb31
UD
34559 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
34560 handling.
34561
bdaa77bc
AS
345622010-08-19 Andreas Schwab <schwab@redhat.com>
34563
34564 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
34565
fe2f79db
LM
345662010-08-19 Luis Machado <luisgpm@br.ibm.com>
34567
34568 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
34569 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
34570 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
34571 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
34572 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
34573 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
34574 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
34575 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
34576 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
34577 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
34578 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
34579 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
34580 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
34581 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
34582
b9b42ee0
AB
345832010-07-26 Anton Blanchard <anton@samba.org>
34584
34585 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
34586 * malloc/arena.c (heap_trim): Likewise.
34587
1c06ba31
UD
345882010-08-16 Ulrich Drepper <drepper@redhat.com>
34589
34590 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
34591 here. Not...
34592 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
34593 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
34594
f8392f40
L
345952010-08-12 H.J. Lu <hongjiu.lu@intel.com>
34596
34597 * sysdeps/i386/elf/Makefile: New file.
34598
3162f12e
AS
345992010-08-14 Andreas Schwab <schwab@linux-m68k.org>
34600
34601 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
34602 from fanotify_init.
34603 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
34604 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34605
28c90b2c
UD
346062010-08-15 Ulrich Drepper <drepper@redhat.com>
34607
34608 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
34609 of strncasecmp_l.
1feccb6c 34610 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 34611
ca6bb004
UD
346122010-08-14 Ulrich Drepper <drepper@redhat.com>
34613
e9f82e0d
UD
34614 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34615 strncase_l-nonascii.
34616 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34617 Add strncase_l-ssse3.
34618 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
34619 * sysdeps/x86_64/strcmp.S: Likewise.
34620 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
34621 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
34622 * sysdeps/x86_64/strncase.S: New file.
34623 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
34624 * sysdeps/x86_64/strncase_l.S: New file.
34625 * string/Makefile (strop-tests): Add strncasecmp.
34626 * string/test-strncasecmp.c: New file.
34627
34628 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
34629 warning.
34630
ca6bb004
UD
34631 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
34632 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
34633
052fa7b3
AS
346342010-08-14 Andreas Schwab <schwab@linux-m68k.org>
34635
34636 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
34637
962dba78
UD
346382010-08-12 Ulrich Drepper <drepper@redhat.com>
34639
34640 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
34641 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
34642 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
34643
bebff237
AM
346442010-05-01 Alan Modra <amodra@gmail.com>
34645
34646 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
34647 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
34648 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
34649 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
34650 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
34651 tidying. Don't tail-call __sigjmp_save for static lib.
34652 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
34653 save location.
34654 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
34655 (CALL_MCOUNT): Add eh info, and nop after bl.
34656 (TAIL_CALL_SYSCALL_ERROR): New macro.
34657 (PSEUDO_RET): Use it.
34658 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
34659 Correct save location of integer regs and cr.
34660 (_dl_profile_resolve): Correct cr save location. Delete nops
34661 after bl when SHARED. Reduce cfi size a little by better
34662 placement of cfi directives.
34663 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
34664 make a stack frame. Instead use parm save area as a temp.
34665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
34666 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
34667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
34668 Don't make a stack frame for parent, use parm save area.
34669 Increase child stack frame to 112 bytes. Don't save unused reg,
34670 and adjust reg usage. Set up cfi on error recovery and
34671 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
34672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34673 (__makecontext): Add dummy nop after jump to exit.
34674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
34675 Use correct parm save area and cr save, reduce stack frame.
34676 Correct cfi for possible PSEUDO_RET frame setup.
34677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
34678 Branch to local label emitted by PSEUDO_RET rather than
34679 __syscall_error.
34680
02637374
AS
346812010-08-12 Andreas Schwab <schwab@redhat.com>
34682
34683 [BZ #11904]
34684 * locale/programs/locale.c (print_assignment): New function.
34685 (show_locale_vars): Use it.
34686
c3e2f19b
UD
346872010-08-11 Ulrich Drepper <drepper@redhat.com>
34688
3cdaa6ad
UD
34689 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
34690 field.
34691 (struct statfs64): Likewise.
34692 (_STATFS_F_FLAGS): Define.
34693 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
34694 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34695 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
34696 (ST_VALID): Define locally.
34697 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
34698 __statvfs_getflags, use the provided value.
34699 * sysdeps/unix/sysv/linux/kernel-features.h: Define
34700 __ASSUME_STATFS_F_FLAGS.
34701
754f7da3
UD
34702 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
34703
10b3bedc
UD
34704 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
34705 Add sys/fanotify.h.
34706 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
34707 fanotify_mask for GLIBC_2.13.
34708 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
34709 fanotify_init and fanotify_mark.
34710 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34711 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
34712
c08fb0d7
UD
34713 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
34714 Add prlimit.
34715 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
34716 prlimit64 for GLIBC_2.13.
34717 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
34718 prlimit64.
34719 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
34720 syscall.
34721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
34722 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34723 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
34724 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
34725 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
34726 add prlimit alias.
34727 * sysdeps/unix/sysv/linux/prlimit.c: New file.
34728
15bac72b
UD
34729 [BZ #11903]
34730 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
34731 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
34732
c3e2f19b
UD
34733 * nss/Makefile: Add rules to build and run tst-nss-test1.
34734 * shlib-versions: Add entry for libnss_test1.
34735 * nss/nss_test1.c: New file.
34736 * nss/tst-nss-test1.c: New file.
34737
34738 * nss/nsswitch.c (__nss_database_custom): Define new variable.
34739 (__nss_configure_lookup): Set appropriate entry in
34740 __nss_configure_lookup to true.
34741 * nss/nsswitch.h: Define enum with indeces of databases in
34742 databases and __nss_database_custom arrays. Declare
34743 __nss_database_custom.
34744 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
34745 to avoid using nscd when custom rules are installed.
34746 * nss/getXXbyYY_r.c: Likewise.
34747 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
34748
34749 * nss/nss_files/files-parse.c: Whitespace fixes.
34750
f15ce4d8
UD
347512010-08-09 Ulrich Drepper <drepper@redhat.com>
34752
34753 [BZ #11883]
34754 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
34755 * posix/fnmatch_loop.c: Likewise.
34756
d22e4cc9
AK
347572010-07-17 Andi Kleen <ak@linux.intel.com>
34758
34759 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
34760 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
34761 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
34762 * Versions.def [GLIBC_2.13]: Add.
34763
805bc17d
UD
347642010-08-06 Ulrich Drepper <drepper@redhat.com>
34765
34766 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34767 Also fail if tpwd after pwuid call is NULL.
34768
5a42321d
ST
347692010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
34770
34771 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
34772 when converting to ms.
34773
fd3ebeda
ST
347742010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34775
34776 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
34777 EOPNOTSUPP errors with ENOTTY.
34778 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
34779 EOPNOTSUPP errors with ENOTTY.
34780
73507d3a
UD
347812010-07-31 Ulrich Drepper <drepper@redhat.com>
34782
34783 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34784 Add strcasecmp_l-ssse3.
34785 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
34786 strcasecmp.
34787 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
34788 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
34789 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
34790
fe36dd02
UD
347912010-07-30 Ulrich Drepper <drepper@redhat.com>
34792
66f6765a
UD
34793 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
34794
42e08a54
UD
34795 * string/Makefile (strop-tests): Add strcasecmp.
34796 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34797 strcasecmp_l-nonascii.
34798 (gen-as-const-headers): Add locale-defines.sym.
34799 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
34800 * sysdeps/x86_64/strcasecmp.S: New file.
34801 * sysdeps/x86_64/strcasecmp_l.S: New file.
34802 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
34803 * sysdeps/x86_64/locale-defines.sym: New file.
34804 * string/test-strcasecmp.c: New file.
34805
fe36dd02
UD
34806 * string/test-strcasestr.c: Test both ends of the range of characters.
34807 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
34808
48cbc0d6
RM
348092010-07-29 Roland McGrath <roland@redhat.com>
34810
76e6d6bc 34811 [BZ #11856]
48cbc0d6
RM
34812 * manual/locale.texi (Yes-or-No Questions): Fix example code.
34813
880113d9
UD
348142010-07-27 Ulrich Drepper <drepper@redhat.com>
34815
34816 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
34817 for ld.so.
34818
deb9cabb
AS
348192010-07-27 Andreas Schwab <schwab@redhat.com>
34820
34821 * manual/memory.texi (Malloc Tunable Parameters): Document
34822 M_PERTURB.
34823
1c7570ff
RM
348242010-07-26 Roland McGrath <roland@redhat.com>
34825
34826 [BZ #11840]
34827 * configure.in (-fgnu89-inline check): Set and substitute
34828 gnu89_inline, not libc_cv_gnu89_inline.
34829 * configure: Regenerated.
34830 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
34831
24fb0f88
UD
348322010-07-26 Ulrich Drepper <drepper@redhat.com>
34833
34834 * string/test-strnlen.c: New file.
34835 * string/Makefile (strop-tests): Add strnlen.
34836 * string/tester.c (test_strnlen): Add a few more test cases.
34837 * string/tst-strlen.c: Better error reporting.
34838
34839 * sysdeps/x86_64/strnlen.S: New file.
34840
8e96b93a
UD
348412010-07-24 Ulrich Drepper <drepper@redhat.com>
34842
34843 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
34844 lower-latency instructions.
34845
dbc676d4
UD
348462010-07-23 Ulrich Drepper <drepper@redhat.com>
34847
34848 * string/test-strcasestr.c: New file.
34849 * string/test-strstr.c: New file.
34850 * string/Makefile (strop-tests): Add strstr and strcasestr.
34851 * string/str-two-way.h: Don't undefine MAX.
34852 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
34853
f6a31e0e
AS
348542010-07-21 Andreas Schwab <schwab@redhat.com>
34855
34856 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34857 strcasestr-nonascii.
34858 (CFLAGS-strcasestr-nonascii.c): Define.
34859 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
34860 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
34861 Remove unused attribute.
34862
5dbc3b6c
RM
348632010-07-20 Roland McGrath <roland@redhat.com>
34864
34865 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
34866 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
34867 ld.so.cache was broken. With it, there is no way to disable dsocaps
34868 like LD_HWCAP_MASK can disable hwcaps.
34869
23d101d8
EPM
348702010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
34871
34872 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
34873
cc9f2e47
UD
348742010-07-16 Ulrich Drepper <drepper@redhat.com>
34875
34876 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
34877 call in strcasestr.
34878 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
34879 __strcasestr_sse42_nonascii.
34880 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
34881 strcasestr-nonascii.c.
34882 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
34883
77c1b069
LM
348842010-06-15 Luis Machado <luisgpm@br.ibm.com>
34885
34886 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
34887 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
34888 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
34889 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
34890
440566c3
UD
348912010-07-09 Ulrich Drepper <drepper@redhat.com>
34892
34893 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
34894 fcntl.
34895
5be9d05d
AS
348962010-07-06 Andreas Schwab <schwab@redhat.com>
34897
c30b7ee2 34898 [BZ #11577]
5be9d05d
AS
34899 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
34900 dl_signal_cerror.
34901
8a492a67
UD
349022010-07-06 Ulrich Drepper <drepper@redhat.com>
34903
34904 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
34905 _PC_PIPE_BUF using F_GETPIPE_SZ.
34906
713df3d5
RM
349072010-07-05 Roland McGrath <roland@redhat.com>
34908
34909 * manual/arith.texi (Rounding Functions): Fix rint description
34910 implicit in round description.
34911
702e8f14
UD
349122010-07-02 Ulrich Drepper <drepper@redhat.com>
34913
34914 * elf/Makefile: Fix linking for a few tests to make recent linker
34915 happy.
34916
52ed8be9
AS
349172010-06-30 Andreas Schwab <schwab@redhat.com>
34918
34919 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34920 $(common-objpfx)libc_nonshared.a.
34921
f47c9a11
LM
349222010-06-21 Luis Machado <luisgpm@br.ibm.com>
34923
34924 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
34925 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
34926 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34927 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34928 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
34929 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
34930 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34931 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
34933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
34934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
34935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
34937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
34939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
34940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
34941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
34942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
34944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
34946 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
34947 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
34948 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
34949 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
34950 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
34951 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
34952 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
34953 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
34954 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
34955 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
34956 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
34957 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
34958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
34959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
34960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
34961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
34962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
34963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
34964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
34965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
34966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
34967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
34968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
34969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
34970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
34971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
34972
6fb8cbcb
L
349732010-06-25 H.J. Lu <hongjiu.lu@intel.com>
34974
34975 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
34976 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
34977 * string/memmove.c (memmove): Renamed to ...
34978 (MEMMOVE): ...this. Default to memmove.
34979 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
34980 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
34981 (END_CHK): Define.
34982 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34983 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
34984 mempcpy-ssse3-back memmove-ssse3-back.
34985 * sysdeps/x86_64/multiarch/bcopy.S: New file .
34986 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
34987 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
34988 * sysdeps/x86_64/multiarch/memcpy.S: New file.
34989 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
34990 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
34991 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
34992 * sysdeps/x86_64/multiarch/memmove.c: New file.
34993 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
34994 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
34995 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
34996 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
34997 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
34998 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
34999 Define.
35000 (index_Fast_Copy_Backward): Define.
35001 (HAS_ARCH_FEATURE): Define.
35002 (HAS_FAST_REP_STRING): Define.
35003 (HAS_FAST_COPY_BACKWARD): Define.
35004
4e733bac 350052010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
35006
35007 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35008 Restore proper fallback handling.
35009
63c4ed22
UD
350102010-06-19 Ulrich Drepper <drepper@redhat.com>
35011
ac2b484c
UD
35012 [BZ #11701]
35013 * posix/group_member.c (__group_member): Correct checking loop.
35014
63c4ed22
UD
35015 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
35016 OOM in getpwuid_r correctly. Return error number when the caller
35017 should return, otherwise -1.
35018 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
35019 call returning > 0 value.
35020 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
35021
765ade4b
AS
350222010-06-07 Andreas Schwab <schwab@redhat.com>
35023
35024 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
35025 libc_nonshared.a from targets in modules-names.
35026
80da2e09
KS
350272010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
35028
35029 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
35030 requires it.
35031
158db122
LM
350322010-06-10 Luis Machado <luisgpm@br.ibm.com>
35033
35034 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
35035 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
35036 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
35037 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
35038
caa78cf8
AS
350392010-06-02 Andreas Schwab <schwab@redhat.com>
35040
35041 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
35042
b2ef2c01
UD
350432010-06-14 Ulrich Drepper <drepper@redhat.com>
35044
35045 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
35046 and F_GETPIPE_SZ.
35047 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35048 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35049 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35050 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35051 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35052 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
35053
fbd643b6
RM
350542010-06-14 Roland McGrath <roland@redhat.com>
35055
35056 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
35057
f32f2869
JJ
350582010-06-07 Jakub Jelinek <jakub@redhat.com>
35059
35060 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
35061 __REDIRECT followed by __THROW.
35062 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
35063 * posix/getopt.h (getopt): Likewise.
35064
2a50c078
EPM
350652010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
35066
35067 * hurd/lookup-at.c (__file_name_lookup_at): Accept
35068 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
35069 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
35070 in AT_FLAGS.
35071 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
35072 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
35073
eb5ad2eb
LM
350742010-05-28 Luis Machado <luisgpm@br.ibm.com>
35075
35076 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
35077
3c88fe1e
L
350782010-05-26 H.J. Lu <hongjiu.lu@intel.com>
35079
35080 [BZ #11640]
35081 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35082 Properly check family and model.
35083
d2f73151
TY
350842010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
35085
35086 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
35087
ebd2e13d
LM
350882010-05-24 Luis Machado <luisgpm@br.ibm.com>
35089
35090 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
35091
b32b8b45
UD
350922010-05-21 Ulrich Drepper <drepper@redhat.com>
35093
35094 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
35095 symbol reference.
35096
9acbe24d
AS
350972010-05-19 Andreas Schwab <schwab@redhat.com>
35098
35099 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
35100 symbol reference.
35101
f0ccf6ea
AS
351022010-05-21 Andreas Schwab <schwab@redhat.com>
35103
3d04ff3a
AS
35104 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
35105 and internal_recvmmsg.
35106 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
35107 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
35108 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
35109 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
35110
f0ccf6ea
AS
35111 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
35112 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35113 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35114
5b08ac57
AS
351152010-05-20 Andreas Schwab <schwab@redhat.com>
35116
35117 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
35118
4828935d
LM
351192010-05-17 Luis Machado <luisgpm@br.ibm.com>
35120
35121 POWER7 optimizations.
35122 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
35123 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
35124
373d545e
UD
351252010-05-19 Ulrich Drepper <drepper@redhat.com>
35126
35127 * version.h: Update for 2.13 development version.
35128
21a2b1ae
AS
351292010-05-12 Andrew Stubbs <ams@codesourcery.com>
35130
35131 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
35132 exceptions. Return 0.
35133
3f7dcb2b
RM
351342010-05-07 Roland McGrath <roland@redhat.com>
35135
35136 * elf/ldconfig.c (main): Add a const.
35137
5f24d53a 351382010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 35139
a160f8d8
UD
35140 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
35141 (args_options): Add no-idn option.
35142 (ahosts_keys_int): Add idn_flags to ai_flags.
35143 (parse_option): Handle 'i' option to clear idn_flags.
35144
5f24d53a
UD
35145 * malloc/malloc.c (_int_free): Possible race in the most recently
35146 added check. Only act on the data if no current modification
35147 happened.
265bb1ce
UD
35148
35149See ChangeLog.17 for earlier changes.