]> sourceware.org Git - glibc.git/blame - ChangeLog
Correct wae_CH to UTF-8 encoding.
[glibc.git] / ChangeLog
CommitLineData
66294491
JM
12013-11-16 Joseph Myers <joseph@codesourcery.com>
2
ce665817
JM
3 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
4 (NO_TEST_INLINE): Update value.
5 (ERRNO_UNCHANGED): Likewise.
6 (ERRNO_EDOM): Likewise.
7 (ERRNO_ERANGE): Likewise.
8 (IGNORE_RESULT): Likewise.
9 (check_float_internal): Check signs of NaN results if
10 TEST_NAN_SIGN used.
11 (check_complex): Pass TEST_NAN_SIGN flag through to second
12 check_float_internal call.
13 (copysign_test_data): Add tests with quiet NaNs as second
14 argument. Use TEST_NAN_SIGN.
15 (fabs_test_data): Add test of negative quiet NaN argument. Use
16 TEST_NAN_SIGN.
17 (signbit_test_data): Add tests of quiet NaN argument.
18 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
19
ee1466a9
JM
20 * math/gen-libm-test.pl (show_exceptions): Take extra argument
21 $ignore_result.
22 (parse_args): Handle function results specified as IGNORE.
23 * math/libm-test.inc (IGNORE_RESULT): New macro.
24 (check_float_internal): Do not check numerical result if flag
25 IGNORE_RESULT set.
26 (check_complex): Pass through IGNORE_RESULT to second
27 check_float_internal call.
28 (check_int): Do not check numerical result if flag IGNORE_RESULT
29 set.
30 (check_long): Likewise.
31 (check_bool): Likewise.
32 (check_longlong): Likewise.
33 (lrint_test_data): Add tests of infinite and NaN arguments.
34 (lrint_tonearest_test_data): Likewise.
35 (lrint_towardzero_test_data): Likewise.
36 (lrint_downward_test_data): Likewise.
37 (lrint_upward_test_data): Likewise.
38 (llrint_test_data): Likewise.
39 (llrint_tonearest_test_data): Likewise.
40 (llrint_towardzero_test_data): Likewise.
41 (llrint_downward_test_data): Likewise.
42 (llrint_upward_test_data): Likewise.
43 (lround_test_data): Likewise.
44 (llround_test_data): Likewise.
45
14407b7e
JM
46 * math/libm-test.inc (NO_TEST_INLINE): New macro.
47 (ERRNO_UNCHANGED): Update value.
48 (ERRNO_EDOM): Likewise.
49 (ERRNO_ERANGE): Likewise.
50 (NO_TEST_INLINE_FLOAT): New macro.
51 (NO_TEST_INLINE_DOUBLE): Likewise.
52 (enable_test): New function.
53 (RUN_TEST_f_f): Check enable_test before running test.
54 (RUN_TEST_2_f): Likewise.
55 (RUN_TEST_fff_f): Likewise.
56 (RUN_TEST_c_f): Likewise.
57 (RUN_TEST_f_f1): Likewise.
58 (RUN_TEST_fF_f1): Likewise.
59 (RUN_TEST_fI_f1): Likewise.
60 (RUN_TEST_ffI_f1): Likewise.
61 (RUN_TEST_c_c): Likewise.
62 (RUN_TEST_cc_c): Likewise.
63 (RUN_TEST_f_i): Likewise.
64 (RUN_TEST_f_i_tg): Likewise.
65 (RUN_TEST_ff_i_tg): Likewise.
66 (RUN_TEST_f_b): Likewise.
67 (RUN_TEST_f_b_tg): Likewise.
68 (RUN_TEST_f_l): Likewise.
69 (RUN_TEST_f_L): Likewise.
70 (RUN_TEST_fFF_11): Likewise.
71 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
72 conditionals.
73 (cosh_test_data): Likewise.
74 (exp_test_data): Likewise.
75 (expm1_test_data): Likewise.
76 (hypot_test_data): Likewise.
77 (pow_test_data): Likewise.
78 (sinh_test_data): Likewise.
79 (tanh_test_data): Likewise.
80 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
81 flags argument.
82
ca07f197
JM
83 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
84 tests with quiet NaN input and output.
85 (acosh_test_data): Likewise.
86 (asin_test_data): Likewise.
87 (asinh_test_data): Likewise.
88 (atan_test_data): Likewise.
89 (atanh_test_data): Likewise.
90 (atan2_test_data): Likewise.
91 (cbrt_test_data): Likewise.
92 (cos_test_data): Likewise.
93 (cosh_test_data): Likewise.
94 (erf_test_data): Likewise.
95 (erfc_test_data): Likewise.
96 (exp_test_data): Likewise.
97 (exp10_test_data): Likewise.
98 (exp2_test_data): Likewise.
99 (expm1_test_data): Likewise.
100 (hypot_test_data): Likewise.
101 (j0_test_data): Likewise.
102 (j1_test_data): Likewise.
103 (jn_test_data): Likewise.
104 (lgamma_test_data): Likewise.
105 (log_test_data): Likewise.
106 (log10_test_data): Likewise.
107 (log1p_test_data): Likewise.
108 (log2_test_data): Likewise.
109 (pow_test_data): Likewise.
110 (scalb_test_data): Likewise.
111 (sin_test_data): Likewise.
112 (sincos_test_data): Likewise.
113 (sinh_test_data): Likewise.
114 (tan_test_data): Likewise.
115 (tanh_test_data): Likewise.
116 (tgamma_test_data): Likewise.
117 (y0_test_data): Likewise.
118 (y1_test_data): Likewise.
119 (yn_test_data): Likewise.
120
66294491
JM
121 [BZ #16167]
122 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
123 argument being NaN and avoid computations with second argument in
124 that case.
125 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
126 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
127 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
128
1820b143
CL
1292013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
130
131 * locale/iso-639.def: Add Chitwani Tharu (the).
132
714bd261
AS
1332013-11-14 Andreas Schwab <schwab@suse.de>
134
135 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
136 word instead of empty string.
137
7ab44563
AZ
1382013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
139
140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
141 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
143 (__fe_nomask_env): Likewise.
144
e8470ea2
SE
1452013-11-13 Steve Ellcey <sellcey@mips.com>
146
147 * benchtests/bench-timing.h: Include time.h.
148
17c1d9f0
L
1492013-11-13 H.J. Lu <hongjiu.lu@intel.com>
150
151 [BZ #15997]
152 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
153 to 3.4.0 for x32.
154 * sysdeps/unix/sysv/linux/configure: Regenerated.
155
9310c284
JM
1562013-11-13 Joseph Myers <joseph@codesourcery.com>
157
158 [BZ #16151]
159 * stdlib/strtod_l.c (round_and_return): Do not consider
160 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
161 exponent one less than half the least subnormal exponent.
162 * stdlib/test-strtod-round-data: Add more tests.
163 * stdlib/tst-strtod-round.c (tests): Regenerated.
164
7a2ad8cf
AZ
1652013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
166
167 [BZ #14143]
168 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
169 (__fe_mask_env): Likewise.
170 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
171 libm_hidden_proto and add function prototype.
172 (__fe_mask_env): Add function prototype.
173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
174 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
176 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
178 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
179
50727aa7
MS
1802013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
181
182 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
183 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
184
a615be46
MS
1852013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
186
187 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
188 of htab_find_slot().
189
7ddace62
DM
1902013-11-11 David S. Miller <davem@davemloft.net>
191
192 [BZ #16150]
193 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
194 symbol in the non-vis3 case in static builds.
195 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
196 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
197 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
198 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
199
9182aa67
JK
2002013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
201
202 [BZ #387]
203 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
204 it is empty.
205
450a2e2d
AZ
2062013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
207
208 * benchtests/Makefile: Add bench-strtod.
209 * benchtests/bench-strtod.c: New file: strtod benchtest
210
8ec3f656
AS
2112013-11-11 Andreas Schwab <schwab@suse.de>
212
213 [BZ #16153]
214 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
215 terminating NUL in key length.
216
76a9b998
AZ
2172013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
218
219 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
220 Add artificial ODP entry for vDSO symbol for PPC64.
221 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
222 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
223
e4368156
OB
2242013-11-07 Ondřej Bílka <neleai@seznam.cz>
225
226 [BZ #15374]
227 * nss/getent.c (services_keys): Recognize services starting with digit.
228
8d6bb57c
DM
2292013-11-06 David S. Miller <davem@davemloft.net>
230
231 [BZ #15985]
232 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
233 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
234
e256c421
WN
2352013-11-06 Will Newton <will.newton@linaro.org>
236
237 * manual/memory.texi (Malloc Examples): Remove register
238 keyword from examples.
239
f6e12daa 2402013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 241
f6e12daa 242 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 243
9d880655
AS
2442013-11-04 Joseph Myers <joseph@codesourcery.com>
245
246 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
247 depending on [__GCC_IEC_559 > 0].
248 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
249 depending on [__GCC_IEC_559_COMPLEX > 0].
250
ae129d3c
CL
2512013-11-03 Chris Leonard <cjl@sugarlabs.org>
252
253 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
254 to iso-639.def.
255
4a15c2a4 2562013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
257
258 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
259
8b35e35d
OB
2602013-11-01 Ondřej Bílka <neleai@seznam.cz>
261
262 [BZ #16112]
263 * malloc/malloc (malloc_info): Do not handle first bin as
264 special case.
265
1d70fd6c
CL
2662013-11-01 Chris Leonard <cjl@sugarlabs.org>
267
268 * locale/iso-639.def: Add Central Nahuatl (nhn).
269
8c5c2600
BH
2702013-11-01 Bruno Haible <bruno@clisp.org>
271
272 [BZ #7003]
273 * manual/math.texi (BSD Random): Specify range upper bound as
274 in POSIX.
275
da5579c2
CL
2762013-10-31 Chris Leonard <cjl@sugarlabs.org>
277
278 * locale/iso-639.def: Add Meadow Mari (mhr).
279
5d30d853
OB
2802013-10-31 Ondřej Bílka <neleai@seznam.cz>
281
282 [BZ #14752], [BZ #15763]
283 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
284 Validate name.
285 * rt/tst_shm.c: Add test for escaping directory.
286
a4966c61
AS
2872013-10-31 Andreas Schwab <schwab@suse.de>
288
8a43e768 289 [BZ #15917]
a4966c61
AS
290 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
291 followed by 'x' as part of digit sequence.
292 * stdio-common/tst-sscanf.c (double_tests2): New tests.
293
28d708c4
MAP
2942013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
295
296 [BZ #16037]
297 * configure.ac: allow GNU Make 4.0 and greater.
298 * configure: Regenerated.
299
a56ee40b
WN
3002013-10-30 Will Newton <will.newton@linaro.org>
301
302 [BZ #16038]
303 * malloc/hooks.c (memalign_check): Limit alignment to the
304 maximum representable power of two.
305 * malloc/malloc.c (__libc_memalign): Likewise.
306 * malloc/tst-memalign.c (do_test): Add test for very
307 large alignment values.
308 * malloc/tst-posix_memalign.c (do_test): Likewise.
309
c6e4925d
OB
3102013-10-30 Ondřej Bílka <neleai@seznam.cz>
311
312 [BZ #11087]
313 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
314 (munmap_chunk): Likewise.
315 (mremap_chunk): Likewise.
316
3172013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 318
8a43e768 319 [BZ #15799]
bbea82f7
OB
320 * stdlib/div.c (div): Remove obsolete code.
321 * stdlib/ldiv.c (ldiv): Likewise.
322 * stdlib/lldiv.c (lldiv): Likewise.
323
977f4b31
SP
3242013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
325
326 [BZ #16071]
327 * nss/nss_files/files-XXX.c (get_contents_ret): New
328 enumerator.
329 (get_contents): New function.
330 (internal_getent): Use it. Expand size of LINEBUFLEN.
331
cb8a6dbd
MF
3322013-10-30 Mike Frysinger <vapier@gentoo.org>
333
334 * configure.in: Moved to ...
335 * configure.ac: ... here. Change reference to configure.in
336 to configure.ac.
337 * sysdeps/arm/preconfigure.ac: ... here.
338 configure.in to configure.ac.
339 * sysdeps/gnu/configure.in: Moved to ...
340 * sysdeps/gnu/configure.ac: ... here.
341 * sysdeps/i386/configure.in: Moved to ...
342 * sysdeps/i386/configure.ac: ... here.
343 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
344 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
345 * sysdeps/mach/configure.in: Moved to ...
346 * sysdeps/mach/configure.ac: ... here.
347 * sysdeps/mach/hurd/configure.in: Moved to ...
348 * sysdeps/mach/hurd/configure.ac: ... here.
349 * sysdeps/powerpc/configure.in: Moved to ...
350 * sysdeps/powerpc/configure.ac: ... here.
351 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
352 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
353 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
354 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
355 * sysdeps/s390/s390-32/configure.in: Moved to ...
356 * sysdeps/s390/s390-32/configure.ac: ... here.
357 * sysdeps/s390/s390-64/configure.in: Moved to ...
358 * sysdeps/s390/s390-64/configure.ac: ... here.
359 * sysdeps/sh/configure.in: Moved to ...
360 * sysdeps/sh/configure.ac: ... here.
361 * sysdeps/sparc/configure.in: Moved to ...
362 * sysdeps/sparc/configure.ac: ... here.
363 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
364 * sysdeps/unix/sysv/linux/configure.ac: ... here.
365 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
366 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
367 * sysdeps/x86_64/configure.in: Moved to ...
368 * sysdeps/x86_64/configure.ac: ... here.
369 * sysdeps/x86_64/preconfigure.in: Moved to ...
370 * sysdeps/x86_64/preconfigure.ac: ... here.
371 * aclocal.m4: Change reference to configure.in to configure.ac.
372 * config.h.in: Likewise.
373 * manual/install.texi: Likewise.
374 * manual/maint.texi: Likewise.
375 * Makefile: Likewise.
376 * malloc/Makefile: Likewise.
377 * nscd/Makefile: Likewise.
378 * Makeconfig: Change reference to configure.in and
379 preconfigure.in to configure.ac and preconfigure.ac
380 respectively.
381 * INSTALL: Regenerated.
382 * configure: Likewise.
383 * sysdeps/gnu/configure: Likewise.
384 * sysdeps/i386/configure: Likewise.
385 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
386 * sysdeps/mach/configure: Likewise.
387 * sysdeps/mach/hurd/configure: Likewise.
388 * sysdeps/powerpc/configure: Likewise.
389 * sysdeps/powerpc/powerpc32/configure: Likewise.
390 * sysdeps/powerpc/powerpc64/configure: Likewise.
391 * sysdeps/s390/s390-32/configure: Likewise.
392 * sysdeps/s390/s390-64/configure: Likewise.
393 * sysdeps/sh/configure: Likewise.
394 * sysdeps/sparc/configure: Likewise.
395 * sysdeps/unix/sysv/linux/configure: Likewise.
396 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
397 * sysdeps/x86_64/configure: Likewise.
398 * sysdeps/x86_64/preconfigure: Likewise.
399
36a4953a
AS
4002013-10-29 Andreas Schwab <schwab@suse.de>
401
402 * stdio-common/Makefile (tst-swscanf-ENV): Define.
403
c79a1204
SP
4042013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
405
dfa1b402
SP
406 * benchtests/pow-inputs: Add new inputs.
407
54f73d9c
SP
408 * benchtests/exp-inputs: Add new inputs.
409
c79a1204
SP
410 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
411 conditional check for return value.
412 (__cos32): Likewise.
413
67beb545 4142013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
415
416 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
417 to provide a boost for large inputs with word alignment.
418 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
419 implementation based on optimized PPC64 strcpy.
420 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
421 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
422 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
423 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
424
151659f6
OB
4252013-10-25 Ondřej Bílka <neleai@seznam.cz>
426
482a077e 427 [BZ #2801]
151659f6
OB
428 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
429
10b0f26b
OB
4302013-10-25 Ondřej Bílka <neleai@seznam.cz>
431
432 [BZ #14876]
433 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
434 * time/tst-strptime.c (day_tests): Add testcase.
435
ca42d35e
OB
4362013-10-25 Ondřej Bílka <neleai@seznam.cz>
437
482a077e 438 [BZ #14029]
ca42d35e
OB
439 * manual/pattern.texi: Acknowledge that fnmatch can fail.
440
52e6d801
FB
4412013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
442
443 [BZ #16074]
444 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
445 MAP_FAILED on error.
446
7cbcdb36
SP
4472013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
448
449 [BZ #16072]
450 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
451 heap for large requests.
452
894f3f10
AM
4532013-10-25 Aurelien Jarno <aurelien@aurel32.net>
454
455 [BZ #9954]
456 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
457 result if the result has no associated interface.
458 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
459 interface for all 127.X.Y.Z addresses.
460
b85545a6
CL
4612013-10-24 Chris Leonard <cjl@sugarlabs.org>
462
463 * locale/iso-639.def: Add Ligurian (lij)
464
d1f23d46
OB
4652013-10-21 Ondřej Bílka <neleai@seznam.cz>
466
467 [BZ #15825]
468 * sunrpc/rpc_main.c: Document rpcgen -5.
469
4db5b08f
MS
4702013-10-19 Michael Stahl <mstahl@redhat.com>
471
472 * elf/rtld.c (do_preload): Print the reason why preloading failed.
473
a471e96a
OB
4742013-10-19 Ondřej Bílka <neleai@seznam.cz>
475
d1f23d46 476 [BZ #10278]
a471e96a
OB
477 * posix/glob.c: Match only directories when trailing slash is present.
478 * posix/tst-gnuglob.c (my_opendir): Do not open files.
479 (main): Add testcase.
480
45c30c61
OB
4812013-10-19 Ondřej Bílka <neleai@seznam.cz>
482
483 [BZ #15670]
484 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
485
484c12fb
CD
4862013-10-18 Carlos O'Donell <carlos@redhat.com>
487
3d7dc513
CD
488 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
489 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
490 AUTH_DES and cindex for FIPS 140-2.
491 (DES Encryption): Add cindex FIPS 46-3.
492
484c12fb
CD
493 * locale/locarchive.h (struct locarhandle): Add fname.
494 * locale/programs/localedef.c (main): Pass ARGV[remaining]
495 if an optional argument was specified to --list-archive,
496 otherwise NULL.
497 * locale/programs/locarchive.c (show_archive_content): Take new
498 argument fname and pass it via ah.fname to open_archive.
499 * locale/programs/localedef.h: Update decl.
500 (open_archive): If AH->fname is non-null, open that file
501 rather than the default file name, and don't ignore ENOENT.
502 (create_archive): Set AH.fname to NULL.
503 (delete_locales_from_archive): Likewise.
504 (add_locales_to_archive): Likewise.
505 * locale/programs/locfile.c (write_all_categories): Likewise.
506
3c8325fb
JM
5072013-10-18 Joseph Myers <joseph@codesourcery.com>
508 Aldy Hernandez <aldyh@redhat.com>
509
510 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
511 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
512 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
513 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
514 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
515 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
516 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
517 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
518 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
519 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
520 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
521 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
522 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
523 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
524 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
525 Likewise.
526 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
527 Likewise.
528 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
529 Likewise.
530 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
531 Likewise.
532 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
533 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
534 Likewise.
535 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
536 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
537 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
538 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
539 Likewise.
540 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
541 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
542 * sysdeps/powerpc/preconfigure: Likewise.
543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
544 Likewise.
545 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
546 Replace contents of file by #include of <fenv_libc.h>.
547 * sysdeps/powerpc/soft-fp/sfp-machine.h
548 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
549 and <sys/prctl.h>.
550 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
551 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
552 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
553 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
554 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
555 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
556 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
557 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
558 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
559 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
560 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
561 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
563 Allow copysignl PLT reference to be missing.
564
5abe0682
RS
5652013-10-18 Richard Sandiford <richard@codesourcery.com>
566 Joseph Myers <joseph@codesourcery.com
567
568 [BZ #15948]
569 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
570 single character.
571 (add_to_tablewc): Assert sequence of wide characters is nonempty.
572
c7738d08
SP
5732013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
574
575 * elf/tst-tls-dlinfo.c: Don't include tls.h.
576 * elf/tst-tls1.c: Likewise.
577 * elf/tst-tls10.h: Likewise.
578 * elf/tst-tls14.c: Likewise.
579 * elf/tst-tls2.c: Likewise.
580 * elf/tst-tls3.c: Likewise.
581 * elf/tst-tls4.c: Likewise.
582 * elf/tst-tls5.c: Likewise.
583 * elf/tst-tls6.c: Likewise.
584 * elf/tst-tls7.c: Likewise.
585 * elf/tst-tls8.c: Likewise.
586 * elf/tst-tls9.c: Likewise.
587 * elf/tst-tlsmod1.c: Likewise.
588 * elf/tst-tlsmod13.c: Likewise.
589 * elf/tst-tlsmod13a.c: Likewise.
590 * elf/tst-tlsmod14a.c: Likewise.
591 * elf/tst-tlsmod16a.c: Likewise.
592 * elf/tst-tlsmod16b.c: Likewise.
593 * elf/tst-tlsmod2.c: Likewise.
594 * elf/tst-tlsmod3.c: Likewise.
595 * elf/tst-tlsmod4.c: Likewise.
596 * elf/tst-tlsmod5.c: Likewise.
597 * elf/tst-tlsmod6.c: Likewise.
598
0bfcf2c7
OB
5992013-10-18 Ondřej Bílka <neleai@seznam.cz>
600
601 [BZ #12486]
602 * malloc/malloc.c: remove checks for statistics.
603
264aad1e
OB
6042013-10-17 Ondřej Bílka <neleai@seznam.cz>
605
606 [BZ #15277]
607 * inet/inet_net.c (inet_network): Detect additional invalid strings.
608 * inet/tst-network.c: Add testcase.
609
b957ced8
AS
6102013-10-17 Andreas Schwab <schwab@suse.de>
611
612 [BZ #15218]
613 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
614 to determine canonical name.
615
c5d5d574
OB
6162013-10-17 Ondřej Bílka <neleai@seznam.cz>
617
618 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
619 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
620 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
621 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
622 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
623 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
624 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
625 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
626 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
627 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
628 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
629 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
630 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
631 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
632 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
633 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
634 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
635 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
636 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
637 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
638 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
639 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
640 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
641 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
642 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
643 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
644 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
645 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
646 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
647 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
648 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
649 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
650 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
651 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
652 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
653 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
654 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
655 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
656 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
657 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
658 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
659 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
660 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
661 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
662 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
663 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
664 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
665 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
666 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
667 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
668 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
669 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
670 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
671 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
672 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
673 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
674 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
675 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
676
e5c2c2d0
JM
6772013-10-17 Joseph Myers <joseph@codesourcery.com>
678
679 [BZ #16041]
680 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
681 make result into a quiet NaN.
682
51ca9e29
JM
6832013-10-16 Joseph Myers <joseph@codesourcery.com>
684
685 * soft-fp/adddf3.c: Fix horizontal whitespace.
686 * soft-fp/addsf3.c: Likewise.
687 * soft-fp/addtf3.c: Likewise.
688 * soft-fp/divdf3.c: Likewise.
689 * soft-fp/divsf3.c: Likewise.
690 * soft-fp/divtf3.c: Likewise.
691 * soft-fp/double.h: Likewise.
692 * soft-fp/eqdf2.c: Likewise.
693 * soft-fp/eqsf2.c: Likewise.
694 * soft-fp/eqtf2.c: Likewise.
695 * soft-fp/extenddftf2.c: Likewise.
696 * soft-fp/extended.h: Likewise.
697 * soft-fp/extendsfdf2.c: Likewise.
698 * soft-fp/extendsftf2.c: Likewise.
699 * soft-fp/extendxftf2.c: Likewise.
700 * soft-fp/fixdfdi.c: Likewise.
701 * soft-fp/fixdfsi.c: Likewise.
702 * soft-fp/fixdfti.c: Likewise.
703 * soft-fp/fixsfdi.c: Likewise.
704 * soft-fp/fixsfsi.c: Likewise.
705 * soft-fp/fixsfti.c: Likewise.
706 * soft-fp/fixtfdi.c: Likewise.
707 * soft-fp/fixtfsi.c: Likewise.
708 * soft-fp/fixtfti.c: Likewise.
709 * soft-fp/fixunsdfdi.c: Likewise.
710 * soft-fp/fixunsdfsi.c: Likewise.
711 * soft-fp/fixunsdfti.c: Likewise.
712 * soft-fp/fixunssfdi.c: Likewise.
713 * soft-fp/fixunssfsi.c: Likewise.
714 * soft-fp/fixunssfti.c: Likewise.
715 * soft-fp/fixunstfdi.c: Likewise.
716 * soft-fp/fixunstfsi.c: Likewise.
717 * soft-fp/fixunstfti.c: Likewise.
718 * soft-fp/floatdidf.c: Likewise.
719 * soft-fp/floatdisf.c: Likewise.
720 * soft-fp/floatditf.c: Likewise.
721 * soft-fp/floatsidf.c: Likewise.
722 * soft-fp/floatsisf.c: Likewise.
723 * soft-fp/floatsitf.c: Likewise.
724 * soft-fp/floattidf.c: Likewise.
725 * soft-fp/floattisf.c: Likewise.
726 * soft-fp/floattitf.c: Likewise.
727 * soft-fp/floatundidf.c: Likewise.
728 * soft-fp/floatundisf.c: Likewise.
729 * soft-fp/floatunditf.c: Likewise.
730 * soft-fp/floatunsidf.c: Likewise.
731 * soft-fp/floatunsisf.c: Likewise.
732 * soft-fp/floatunsitf.c: Likewise.
733 * soft-fp/floatuntidf.c: Likewise.
734 * soft-fp/floatuntisf.c: Likewise.
735 * soft-fp/floatuntitf.c: Likewise.
736 * soft-fp/fmadf4.c: Likewise.
737 * soft-fp/fmasf4.c: Likewise.
738 * soft-fp/fmatf4.c: Likewise.
739 * soft-fp/gedf2.c: Likewise.
740 * soft-fp/gesf2.c: Likewise.
741 * soft-fp/getf2.c: Likewise.
742 * soft-fp/ledf2.c: Likewise.
743 * soft-fp/lesf2.c: Likewise.
744 * soft-fp/letf2.c: Likewise.
745 * soft-fp/muldf3.c: Likewise.
746 * soft-fp/mulsf3.c: Likewise.
747 * soft-fp/multf3.c: Likewise.
748 * soft-fp/negdf2.c: Likewise.
749 * soft-fp/negsf2.c: Likewise.
750 * soft-fp/negtf2.c: Likewise.
751 * soft-fp/op-1.h: Likewise.
752 * soft-fp/op-2.h: Likewise.
753 * soft-fp/op-4.h: Likewise.
754 * soft-fp/op-8.h: Likewise.
755 * soft-fp/op-common.h: Likewise.
756 * soft-fp/quad.h: Likewise.
757 * soft-fp/single.h: Likewise.
758 * soft-fp/soft-fp.h: Likewise.
759 * soft-fp/sqrtdf2.c: Likewise.
760 * soft-fp/sqrtsf2.c: Likewise.
761 * soft-fp/sqrttf2.c: Likewise.
762 * soft-fp/subdf3.c: Likewise.
763 * soft-fp/subsf3.c: Likewise.
764 * soft-fp/subtf3.c: Likewise.
765 * soft-fp/truncdfsf2.c: Likewise.
766 * soft-fp/trunctfdf2.c: Likewise.
767 * soft-fp/trunctfsf2.c: Likewise.
768 * soft-fp/trunctfxf2.c: Likewise.
769 * soft-fp/unorddf2.c: Likewise.
770 * soft-fp/unordsf2.c: Likewise.
771 * soft-fp/unordtf2.c: Likewise.
772
9ebb0332
JM
7732013-10-15 Joseph Myers <joseph@codesourcery.com>
774
775 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
776 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
777
4b1a6d8b
OB
7782013-10-15 Ondřej Bílka <neleai@seznam.cz>
779
780 * elf/dl-libc.c: Clear initfini list after freeing.
781
1e145589
JM
7822013-10-14 Joseph Myers <joseph@codesourcery.com>
783
784 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
785 * soft-fp/addsf3.c: Likewise.
786 * soft-fp/addtf3.c: Likewise.
787 * soft-fp/divdf3.c: Likewise.
788 * soft-fp/divsf3.c: Likewise.
789 * soft-fp/divtf3.c: Likewise.
790 * soft-fp/double.h: Likewise.
791 * soft-fp/eqdf2.c: Likewise.
792 * soft-fp/eqsf2.c: Likewise.
793 * soft-fp/eqtf2.c: Likewise.
794 * soft-fp/extenddftf2.c: Likewise.
795 * soft-fp/extended.h: Likewise.
796 * soft-fp/extendsfdf2.c: Likewise.
797 * soft-fp/extendsftf2.c: Likewise.
798 * soft-fp/extendxftf2.c: Likewise.
799 * soft-fp/fixdfdi.c: Likewise.
800 * soft-fp/fixdfsi.c: Likewise.
801 * soft-fp/fixdfti.c: Likewise.
802 * soft-fp/fixsfdi.c: Likewise.
803 * soft-fp/fixsfsi.c: Likewise.
804 * soft-fp/fixsfti.c: Likewise.
805 * soft-fp/fixtfdi.c: Likewise.
806 * soft-fp/fixtfsi.c: Likewise.
807 * soft-fp/fixtfti.c: Likewise.
808 * soft-fp/fixunsdfdi.c: Likewise.
809 * soft-fp/fixunsdfsi.c: Likewise.
810 * soft-fp/fixunsdfti.c: Likewise.
811 * soft-fp/fixunssfdi.c: Likewise.
812 * soft-fp/fixunssfsi.c: Likewise.
813 * soft-fp/fixunssfti.c: Likewise.
814 * soft-fp/fixunstfdi.c: Likewise.
815 * soft-fp/fixunstfsi.c: Likewise.
816 * soft-fp/fixunstfti.c: Likewise.
817 * soft-fp/floatdidf.c: Likewise.
818 * soft-fp/floatdisf.c: Likewise.
819 * soft-fp/floatditf.c: Likewise.
820 * soft-fp/floatsidf.c: Likewise.
821 * soft-fp/floatsisf.c: Likewise.
822 * soft-fp/floatsitf.c: Likewise.
823 * soft-fp/floattidf.c: Likewise.
824 * soft-fp/floattisf.c: Likewise.
825 * soft-fp/floattitf.c: Likewise.
826 * soft-fp/floatundidf.c: Likewise.
827 * soft-fp/floatundisf.c: Likewise.
828 * soft-fp/floatunsidf.c: Likewise.
829 * soft-fp/floatunsisf.c: Likewise.
830 * soft-fp/floatuntidf.c: Likewise.
831 * soft-fp/floatuntisf.c: Likewise.
832 * soft-fp/floatuntitf.c: Likewise.
833 * soft-fp/fmadf4.c: Likewise.
834 * soft-fp/fmasf4.c: Likewise.
835 * soft-fp/fmatf4.c: Likewise.
836 * soft-fp/gedf2.c: Likewise.
837 * soft-fp/gesf2.c: Likewise.
838 * soft-fp/getf2.c: Likewise.
839 * soft-fp/ledf2.c: Likewise.
840 * soft-fp/lesf2.c: Likewise.
841 * soft-fp/letf2.c: Likewise.
842 * soft-fp/muldf3.c: Likewise.
843 * soft-fp/mulsf3.c: Likewise.
844 * soft-fp/multf3.c: Likewise.
845 * soft-fp/negdf2.c: Likewise.
846 * soft-fp/negsf2.c: Likewise.
847 * soft-fp/negtf2.c: Likewise.
848 * soft-fp/op-1.h: Likewise.
849 * soft-fp/op-2.h: Likewise.
850 * soft-fp/op-4.h: Likewise.
851 * soft-fp/op-8.h: Likewise.
852 * soft-fp/op-common.h: Likewise.
853 * soft-fp/quad.h: Likewise.
854 * soft-fp/single.h: Likewise.
855 * soft-fp/soft-fp.h: Likewise.
856 * soft-fp/sqrtdf2.c: Likewise.
857 * soft-fp/sqrtsf2.c: Likewise.
858 * soft-fp/sqrttf2.c: Likewise.
859 * soft-fp/subdf3.c: Likewise.
860 * soft-fp/subsf3.c: Likewise.
861 * soft-fp/subtf3.c: Likewise.
862 * soft-fp/truncdfsf2.c: Likewise.
863 * soft-fp/trunctfdf2.c: Likewise.
864 * soft-fp/trunctfsf2.c: Likewise.
865 * soft-fp/trunctfxf2.c: Likewise.
866 * soft-fp/unorddf2.c: Likewise.
867 * soft-fp/unordsf2.c: Likewise.
868 * soft-fp/unordtf2.c: Likewise.
869
17c48a60
OB
8702013-10-14 Ondřej Bílka <neleai@seznam.cz>
871
872 [BZ #15672]
873 * misc/error.c (error_tail): Fix possible buffer overflow.
874
cabba934
OB
8752013-10-14 Aurelien Jarno <aurelien@aurel32.net>
876
877 [BZ #13028]
878 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
879 address.
880
94bf958a
PM
8812013-10-14 P. J. McDermott <pj@pehjota.net>
882
883 [BZ #832]
884 * elf/ldd.bash.in (try_trace): New function. Delete previous code
885 testing pipefail option.
886
71b4dea7
JM
8872013-10-12 Joseph Myers <joseph@codesourcery.com>
888
889 * soft-fp/double.h: Indent preprocessor directives inside #if.
890 * soft-fp/extended.h: Likewise.
891 * soft-fp/op-2.h: Likewise.
892 * soft-fp/op-4.h: Likewise.
893 * soft-fp/op-common.h: Likewise.
894 * soft-fp/quad.h: Likewise.
895 * soft-fp/single.h: Likewise.
896 * soft-fp/soft-fp.h: Likewise.
897
55602758
YC
8982013-10-12 Yuri Chornoivan <yurchor@ukr.net>
899
900 * iconv/iconv_prog.c: Fix typos.
901 * stdio-common/psiginfo-data.h: Likewise.
902
9cd83302
RT
9032013-10-12 Reuben Thomas <rrt@sc3d.org>
904
905 [BZ #15764]
906 * locale/setlocale.c: Fix typo.
907
99fd9f47
JM
9082013-10-12 Joseph Myers <joseph@codesourcery.com>
909
b7ea74f0
JM
910 [BZ #16036]
911 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
912 signaling NaN arguments.
913 * soft-fp/unordsf2.c (__unordsf2): Likewise.
914 * soft-fp/unordtf2.c (__unordtf2): Likewise.
915
8a509447
JM
916 [BZ #14910]
917 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
918 unordered operands.
919 * soft-fp/gesf2.c (__gesf2): Likewise.
920 * soft-fp/getf2.c (__getf2): Likewise.
921 * soft-fp/ledf2.c (__ledf2): Likewise.
922 * soft-fp/lesf2.c (__lesf2): Likewise.
923 * soft-fp/letf2.c (__letf2): Likewise.
924
98998e9f
JM
925 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
926 * soft-fp/eqsf2.c (__eqsf2): Likewise.
927 * soft-fp/eqtf2.c (__eqtf2): Likewise.
928 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
929 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
930 * soft-fp/fixdfti.c (__fixdfti): Likewise.
931 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
932 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
933 * soft-fp/fixsfti.c (__fixsfti): Likewise.
934 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
935 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
936 * soft-fp/fixtfti.c (__fixtfti): Likewise.
937 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
938 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
939 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
940 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
941 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
942 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
943 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
944 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
945 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
946 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
947 * soft-fp/floatdisf.c (__floatdisf): Likewise.
948 * soft-fp/floatsisf.c (__floatsisf): Likewise.
949 * soft-fp/floattidf.c (__floattidf): Likewise.
950 * soft-fp/floattisf.c (__floattisf): Likewise.
951 * soft-fp/floattitf.c (__floattitf): Likewise.
952 * soft-fp/floatundidf.c (__floatundidf): Likewise.
953 * soft-fp/floatundisf.c (__floatundisf): Likewise.
954 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
955 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
956 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
957 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
958 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
959 * soft-fp/gesf2.c (__gesf2): Likewise.
960 * soft-fp/getf2.c (__getf2): Likewise.
961 * soft-fp/ledf2.c (__ledf2): Likewise.
962 * soft-fp/lesf2.c (__lesf2): Likewise.
963 * soft-fp/letf2.c (__letf2): Likewise.
964
8edc4a11
JM
965 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
966 Undefine and redefine.
967 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
968 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
969 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
970 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
971 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
972 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
973 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
974 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
975 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
976 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
977 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
978 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
979 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
980 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
981 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
982
8399acaf
JM
983 [BZ #16032]
984 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
985 without decrementing exponent if mantissa >= that for the
986 denominator, not >.
987 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
988 denominator, not >. Decrement exponent in < case instead of
989 incrementing in >= case.
990 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
991 without decrementing exponent if mantissa >= that for the
992 denominator, not >.
993
99fd9f47
JM
994 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
995 computing saturated result for unsigned overflow.
996
10e1cf6b
SP
9972013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
998 Jeff Law <law@redhat.com>
999
1000 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
1001 (atan2Mp): Add systemtap probe marker.
1002 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
1003 (__ieee754_log): Add systemtap probe marker.
1004 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
1005 (atanMp): Add systemtap probe marker.
1006 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
1007 (tanMp): Add systemtap probe marker.
1008 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
1009 (__slowexp): Add systemtap probe marker.
1010 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
1011 (__slowpow): Add systemtap probe marker.
1012 * manual/probes.texi: Document probes.
1013
3d110c7c
EB
10142013-10-11 Eric Biggers <ebiggers3@gmail.com>
1015
1016 [BZ #15362]
1017 * libio/fileops.c (_IO_new_file_write): Return count of bytes
1018 written.
1019 (_IO_new_file_xsputn): Don't return EOF if nothing has been
1020 written.
1021 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
1022 written to buffer but not flushed.
1023 * libio/iofwrite_u.c: Likewise.
1024 * libio/iopadn.c: Return bytes returned even if EOF was
1025 encountered.
1026 * libio/iowpadn.c: Likewise.
1027 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
1028 if _IO_padn does not write the whole buffer.
1029 [!COMPILE_WPRINTF] (PAD): Likewise.
1030
75b4202a
DM
10312013-10-10 David S. Miller <davem@davemloft.net>
1032
1033 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
1034 directory block.
1035
6c6352e6
JM
10362013-10-10 Joseph Myers <joseph@codesourcery.com>
1037
33b853c3
JM
1038 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
1039 instead of FSF address.
1040 * soft-fp/fixdfti.c: Likewise.
1041 * soft-fp/fixsfti.c: Likewise.
1042 * soft-fp/fixtfti.c: Likewise.
1043 * soft-fp/fixunsdfti.c: Likewise.
1044 * soft-fp/fixunssfti.c: Likewise.
1045 * soft-fp/fixunstfti.c: Likewise.
1046 * soft-fp/floattidf.c: Likewise.
1047 * soft-fp/floattisf.c: Likewise.
1048 * soft-fp/floattitf.c: Likewise.
1049 * soft-fp/floatuntidf.c: Likewise.
1050 * soft-fp/floatuntisf.c: Likewise.
1051 * soft-fp/floatuntitf.c: Likewise.
1052 * soft-fp/trunctfxf2.c: Likewise.
1053
6c6352e6
JM
1054 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
1055 * soft-fp/fixdfti.c: Likewise.
1056 * soft-fp/fixsfti.c: Likewise.
1057 * soft-fp/fixtfti.c: Likewise.
1058 * soft-fp/fixunsdfti.c: Likewise.
1059 * soft-fp/fixunssfti.c: Likewise.
1060 * soft-fp/fixunstfti.c: Likewise.
1061 * soft-fp/floattidf.c: Likewise.
1062 * soft-fp/floattisf.c: Likewise.
1063 * soft-fp/floattitf.c: Likewise.
1064 * soft-fp/floatuntidf.c: Likewise.
1065 * soft-fp/floatuntisf.c: Likewise.
1066 * soft-fp/floatuntitf.c: Likewise.
1067 * soft-fp/trunctfxf2.c: Likewise.
1068
3bf78b71
DM
10692013-10-10 David S. Miller <davem@davemloft.net>
1070
1071 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1072
6f10289e
JM
10732013-10-10 Joseph Myers <joseph@codsourcery.com>
1074
bd878fc0
JM
1075 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
1076 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
1077 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
1078 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
1079 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
1080 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
1081 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
1082
6f10289e
JM
1083 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
1084 for NaNs before doing comparisons on argument.
1085 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
1086 Likewise.
1087
321e2684
WN
10882013-10-10 Will Newton <will.newton@linaro.org>
1089
1090 * malloc/hooks.c (memalign_check): Ensure the value of bytes
1091 passed to _int_memalign does not overflow.
1092
40fefba1
TR
10932013-10-10 Torvald Riegel <triegel@redhat.com>
1094
1095 * scripts/bench.pl: Add include-sources directive.
1096 * benchtests/README: Update documentation.
1097
2ae21ed2
JM
10982013-10-10 Joseph Myers <joseph@codesourcery.com>
1099
dcc2dd3f
JM
1100 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
1101 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
1102 instead of FP_INIT_ROUNDMODE.
1103 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
1104 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
1105
2ae21ed2
JM
1106 [BZ #16034]
1107 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
1108 copy class of input value.
1109 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
1110 not handle exceptions.
1111 * soft-fp/negsf2.c (__negsf2): Likewise.
1112 * soft-fp/negtf2.c (__negtf2): Likewise.
1113 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
1114
cb8f9562
JM
11152013-10-09 Joseph Myers <joseph@codesourcery.com>
1116
1117 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
1118 semicolon. From Linux kernel.
1119
5b60c59d
AB
11202013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
1121
1122 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
1123
b86835ca
YC
11242013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
1125
1126 [BZ #156]
1127 * manual/socket.texi: Added statement about buffer
1128 for gethostbyname2_r.
1129
e7044ea7
OB
11302013-10-08 Ondřej Bílka <neleai@seznam.cz>
1131
1132 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
1133 Use .p2align directive instead, throughout.
1134 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1135 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1136 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
1137 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1138 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1139 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
1140 * sysdeps/x86_64/strchr.S: Likewise.
1141 * sysdeps/x86_64/strrchr.S: Likewise.
1142
09544cbc
SP
11432013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1144
88576635
SP
1145 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
1146
e7b2d1dd
SP
1147 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
1148
09544cbc
SP
1149 * sysdeps/generic/math_private.h (__mpsin1): Remove
1150 declaration.
1151 (__mpcos1): Likewise.
1152 (__mpsin): New argument __range_reduce.
1153 (__mpcos): Likewise.
1154 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1155 (slow): Use __mpsin and __mpcos.
1156 (slow1): Likewise.
1157 (slow2): Likewise.
1158 (sloww): Likewise.
1159 (sloww1): Likewise.
1160 (sloww2): Likewise.
1161 (bsloww): Likewise.
1162 (bsloww1): Likewise.
1163 (bsloww2): Likewise.
1164 (cslow2): Likewise.
1165 (csloww): Likewise.
1166 (csloww1): Likewise.
1167 (csloww2): Likewise.
1168 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
1169 range_reduce. Merge in __mpsin1.
1170 (__mpcos): Likewise.
1171 (__mpsin1): Remove.
1172 (__mpcos1): Likewise.
1173
7602d070
JM
11742013-10-07 Joseph Myers <joseph@codesourcery.com>
1175
1176 * locale/loadlocale.c (_nl_intern_locale_data): Use
1177 LOCFILE_ALIGNED_P.
1178 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
1179 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
1180 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
1181 obstack data is appropriately aligned.
1182 (obstack_int32_grow_fast): Likewise.
1183 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
1184 * locale/programs/locfile.c (add_locale_uint32): Likewise.
1185 (add_locale_uint32_array): Likewise.
1186
a357259b
SP
11872013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1188
1189 * benchtests/Makefile: Remove ARGLIST and RET variables.
1190 ($(objpfx)bench-%.c): Pass only function name to the script.
1191 * benchtests/README: Update documentation.
1192 * benchtests/acos-inputs: Add new directives.
1193 * benchtests/acosh-inputs: Likewise.
1194 * benchtests/asin-inputs: Likewise.
1195 * benchtests/asinh-inputs: Likewise.
1196 * benchtests/atan-inputs: Likewise.
1197 * benchtests/atanh-inputs: Likewise.
1198 * benchtests/cos-inputs: Likewise.
1199 * benchtests/cosh-inputs: Likewise.
1200 * benchtests/exp-inputs: Likewise.
1201 * benchtests/log-inputs: Likewise.
1202 * benchtests/pow-inputs: Likewise.
1203 * benchtests/rint-inputs: Likewise.
1204 * benchtests/sin-inputs: Likewise.
1205 * benchtests/sinh-inputs: Likewise.
1206 * benchtests/tan-inputs: Likewise.
1207 * benchtests/tanh-inputs: Likewise.
1208 * scripts/bench.pl: Add support for new directives.
1209
9ec1b13d
AM
12102013-10-07 Alan Modra <amodra@gmail.com>
1211
1212 * README: Fix careless merge.
1213
8b7d57cd
AM
12142013-10-05 Alan Modra <amodra@gmail.com>
1215
1216 * NEWS: Mention powerpc64le support and bugs fixed.
1217 * README: Both big-endian and little-endian powerpc64 supported.
1218
7b7bab13
ST
12192013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1220
1221 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
1222 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
1223 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
1224 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
1225
d39baad1
RA
12262013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
1227
1228 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
1229 match prototype.
1230
cd78f7e7
JM
12312013-10-04 Joseph Myers <joseph@codesourcery.com>
1232
29d73d86
JM
1233 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
1234 Move -mhard-float appending from
1235 ports/sysdeps/powerpc/powerpc32/Makefile.
1236 [$(with-fp) = yes] (ASFLAGS): Likewise.
1237 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
1238 * sysdeps/powerpc/nofpu: Move directory from
1239 ports/sysdeps/powerpc/nofpu.
1240 * sysdeps/powerpc/soft-fp: Move directory from
1241 ports/sysdeps/powerpc/soft-fp.
1242 * sysdeps/powerpc/powerpc32/405: Move directory from
1243 ports/sysdeps/powerpc/powerpc32/405.
1244 * sysdeps/powerpc/powerpc32/440: Move directory from
1245 ports/sysdeps/powerpc/powerpc32/440.
1246 * sysdeps/powerpc/powerpc32/464: Move directory from
1247 ports/sysdeps/powerpc/powerpc32/464.
1248 * sysdeps/powerpc/powerpc32/476: Move directory from
1249 ports/sysdeps/powerpc/powerpc32/476.
1250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
1251 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
1252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
1253 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
1254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
1255 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
1256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
1257 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
1258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
1259 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
1260 * README: Update for powerpc-*-linux-gnu software floating point
1261 support in libc.
1262
e246b347
JM
1263 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
1264 case to powerpc/powerpc32*.
1265 * sysdeps/unix/sysv/linux/configure: Regenerated.
1266
89c2003e
JM
1267 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
1268 (_FPU_MASK_OM): Define as 0x04.
1269 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
1270 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
1271 0x00c10080.
1272 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
1273 0x0000003c.
1274 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
1275
cd78f7e7
JM
1276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
1277 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1278 getcontext_e500.
1279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
1280 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1281 setcontext_e500.
1282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1283 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
1284 and setcontext_e500.
1285
c755294d
CL
12862013-10-04 Chris Leonard <cjl@sugarlabs,.org>
1287
1288 * locale/iso-3166.def: Update iso-1366.def and related occurrences
1289
e16d221c
SP
12902013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1291
1292 * manual/threads.texi (Default Thread Attributes): Fix typo.
1293
215c7d43
WN
12942013-10-04 Will Newton <will.newton@linaro.org>
1295
1296 * malloc/Makefile: Add tst-memalign.
1297 * malloc/tst-memalign.c: New file.
1298
27d0461b
WN
1299 * malloc/tst-posix_memalign.c: Add comments.
1300 (do_test): Add comments and call free on all potentially
1301 allocated pointers. Add space after cast.
1302
1bc92709
WN
1303 * malloc/tst-pvalloc.c: Add comments.
1304 (do_test): Add comments and call free on all potentially
1305 allocated pointers. Remove duplicate check for NULL pointer.
1306 Add space after cast.
1307
66a9be9d
WN
1308 * malloc/tst-valloc.c: Add comments.
1309 (do_test): Add comments and call free on all potentially
1310 allocated pointers. Remove duplicate check for NULL pointer.
1311 Add space after cast.
1312
4cb81307
AM
13132013-10-04 Alan Modra <amodra@gmail.com>
1314
1315 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1316 Use stdint types in rather than __attribute__((mode())).
1317 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1318
f8e3e9f3
AM
13192013-10-04 Alan Modra <amodra@gmail.com>
1320
1321 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1322 Correct handling of unaligned relocs for little-endian.
1323 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1324
8f9ebb08
AM
13252013-10-04 Alan Modra <amodra@gmail.com>
1326
1327 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
1328 * configure: Regenerate.
1329 * nptl/shlib-versions: Powerpc*le starts at 2.18.
1330 * shlib-versions: Likewise.
1331
0edf96c2
AM
13322013-10-04 Alan Modra <amodra@gmail.com>
1333
1334 * string/tester.c (test_memrchr): Increment reported test cycle.
1335
e0f7a380
AM
13362013-10-04 Alan Modra <amodra@gmail.com>
1337
1338 * string/test-memcpy.c (do_one_test): When reporting errors, print
1339 string address and don't overrun end of string.
1340
466b0393
AM
13412013-10-04 Alan Modra <amodra@gmail.com>
1342
1343 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
1344 insrdi. Make better use of reg selection to speed exit slightly.
1345 Schedule entry path a little better. Remove useless "are we done"
1346 checks on entry to main loop. Handle wrapping around zero address.
1347 Correct main loop count. Handle single left-over word from main
1348 loop inline rather than by using loop_small. Remove extra word
1349 case in loop_small caused by wrong loop count. Add little-endian
1350 support.
1351 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1352 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
1353 cache hint.
1354 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1355 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
1356 support. Avoid rlwimi.
1357 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
1358
3be87c77
AM
13592013-10-04 Alan Modra <amodra@gmail.com>
1360
1361 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 1362 insrdi. Formatting.
3be87c77
AM
1363 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
1364 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1365 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1366 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1367 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1368 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
1369
759cfef3
AM
13702013-10-04 Alan Modra <amodra@gmail.com>
1371
1372 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
1373 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1374 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1375 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
1376 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1377 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1378 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1379 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
1380 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
1381 use of regs. Use power7 mtocrf. Tidy function tails.
1382
fe6e95d7
AM
13832013-10-04 Alan Modra <amodra@gmail.com>
1384
1385 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
1386 Formatting. Consistently use rXXX register defines or rN defines.
1387 Use early exit labels that avoid restoring unused non-volatile regs.
1388 Make cr field use more consistent with rWORDn compares. Rename
1389 regs used as shift registers for unaligned loop, using rN defines
1390 for short lifetime/multiple use regs.
1391 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1392 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
1393 addi 1,1,64 to pop stack frame. Simplify return value code.
1394 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1395
664318c3
AM
13962013-10-04 Alan Modra <amodra@gmail.com>
1397
1398 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
1399 support. Correct typos, formatting. Optimize tail. Use insrdi
1400 rather than rlwimi.
1401 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
1402 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
1403 little-endian support. Correct typos.
1404 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
1405 rather than rlwimi.
1406 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
1407 in loop and entry code to keep "and." results.
1408 (strchr): Add little-endian support. Comment. Move cntlzd
1409 earlier in tail.
1410 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
1411
43b84013
AM
14122013-10-04 Alan Modra <amodra@gmail.com>
1413
1414 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
1415 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
1416 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
1417 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
1418
8a7413f9
AM
14192013-10-04 Alan Modra <amodra@gmail.com>
1420
1421 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
1422 (rTMP): Define as r11.
1423 (strcmp): Add little-endian support. Optimise tail.
1424 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
1425 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1426 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1427 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1428 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1429 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1430 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1431
33ee81de
AM
14322013-10-04 Alan Modra <amodra@gmail.com>
1433
1434 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
1435 little-endian support. Remove unnecessary "are we done" tests.
1436 Handle "s" wrapping around zero and extremely large "size".
1437 Correct main loop count. Handle single left-over word from main
1438 loop inline rather than by using small_loop. Correct comments.
1439 Delete "zero" tail, use "end_max" instead.
1440 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
1441
db9b4570
AM
14422013-10-04 Alan Modra <amodra@gmail.com>
1443
1444 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
1445 support. Don't branch over align.
1446 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
1447 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
1448 support. Rearrange tmp reg use to suit. Comment.
1449 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
1450
f7c399cf
AM
14512013-10-04 Alan Modra <amodra@gmail.com>
1452
1453 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
1454
0b2c2ace
AM
14552013-10-04 Alan Modra <amodra@gmail.com>
1456
1457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
1458 conditional form of branch and link when obtaining pc.
1459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1460
02f04a6c
AM
14612013-10-04 Alan Modra <amodra@gmail.com>
1462
1463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
1464 HIWORD/LOWORD.
1465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
1466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
1467
9b874b2f
AM
14682013-10-04 Alan Modra <amodra@gmail.com>
1469
1470 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
1471 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
1472 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1473 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
1474 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1475 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1476 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
1477 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1478 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1479 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
1480
be1e5d31
AB
14812013-10-04 Anton Blanchard <anton@au1.ibm.com>
1482 Alistair Popple <alistair@ozlabs.au.ibm.com>
1483 Alan Modra <amodra@gmail.com>
1484
1485 [BZ #15723]
1486 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
1487 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
1488 _dl_hwcap access for little-endian.
1489 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
1490 destroy vmx regs when saving unaligned.
1491 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
1492 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
1493 destroy vmx regs when saving unaligned.
1494
fef13a78
AM
14952013-10-04 Alan Modra <amodra@gmail.com>
1496
1497 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
1498 Don't use a union to pack hi/low value.
1499
76a66d51
AB
15002013-10-04 Anton Blanchard <anton@au1.ibm.com>
1501
1502 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
1503 for little-endian.
1504 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1505 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1506 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1507 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1508 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1509
6a31fe7f
AM
15102013-10-04 Alan Modra <amodra@gmail.com>
1511
1512 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
1513 constants to usual value for .cst8 section, and remove redundant
1514 high address load.
1515 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
1516 constant for 0x1p52. Load little-endian words of double from
1517 correct stack offsets.
1518
7b88401f
AM
15192013-10-04 Alan Modra <amodra@gmail.com>
1520
1521 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
1522 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
1523 words of double from correct stack offsets.
1524 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1525 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
1526 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1527 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1528 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1529 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1530 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1531 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1532 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1533 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1534 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1535 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1536 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1537 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1538 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1539 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
1540 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1541
9c008155
AM
15422013-10-04 Alan Modra <amodra@gmail.com>
1543
1544 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
1545 64-bit int/double union.
1546 (_FPU_SETCW): Likewise.
1547 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1548 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
1549
da13146d
AM
15502013-10-04 Alan Modra <amodra@gmail.com>
1551
1552 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
1553 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
1554
603e8410
AM
15552013-10-04 Alan Modra <amodra@gmail.com>
1556
1557 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
1558 use vector int constants.
1559 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
1560
4a28b3ca
AB
15612013-10-04 Anton Blanchard <anton@au1.ibm.com>
1562
1563 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
1564 array with long long.
1565 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
1566 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
1567 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
1568 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
1569 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
1570 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
1571 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
1572 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
1573 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
1574 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
1575 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
1576 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
1577 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
1578
2ca85d2b
AB
15792013-10-04 Anton Blanchard <anton@au1.ibm.com>
1580
1581 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
1582 (__signbit): Likewise. Correct for little-endian.
1583 (__signbitl): Call __signbit.
1584 (lrint): Correct for little-endian.
1585 (lrintf): Call lrint.
1586
62a728ae
AM
15872013-10-04 Alan Modra <amodra@gmail.com>
1588
1589 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
1590 union 32-bit int array member with 64-bit int array.
1591 (t515, tm256): Double rather than long double.
1592 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
1593
32c301df
AM
15942013-10-04 Alan Modra <amodra@gmail.com>
1595
1596 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
1597 Delete.
1598 (IEEE854_LONG_DOUBLE_BIAS): Delete.
1599 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
1600 version of math_ldbl.h.
1601
650ef4bd
AM
16022013-10-04 Alan Modra <amodra@gmail.com>
1603
1604 [BZ #15734], [BZ #15735]
1605 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
1606 all uses of ieee875 long double macros and unions. Simplify test
1607 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
1608 ldbl_extract_mantissa value for ix,iy exponents. Properly
1609 normalize after ldbl_extract_mantissa, and don't add hidden bit
1610 already handled. Don't treat low word of ieee854 mantissa like
1611 low word of IBM long double and mask off bit when testing for
1612 zero.
1613 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
1614 all uses of ieee875 long double macros and unions. Simplify tests
1615 for 0.0L and inf. Correct double adjustment of k. Delete dead code
1616 adjusting ha,hb. Simplify code setting kld. Delete two600 and
1617 two1022, instead use their values. Recognise that tests for large
1618 "a" and small "b" are mutually exclusive. Rename vars. Comment.
1619 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
1620 Rewrite all uses of ieee875 long double macros and unions. Simplify
1621 test for 0.0L and nan. Correct negation.
1622 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
1623 ieee875 long double macros and unions. Correct output for large
1624 magnitude x. Correct absolute value calculation.
1625 (__erfcl): Likewise.
1626 * math/libm-test.inc: Add tests for errors discovered in IBM long
1627 double versions of fmodl, remainderl, erfl and erfcl.
1628
765714ca
AM
16292013-10-04 Alan Modra <amodra@gmail.com>
1630
1631 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
1632 all uses of ieee854 long double macros and unions. Simplify tests
1633 for long doubles that are fully specified by the high double.
1634 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1635 Likewise.
1636 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
1637 Remove dead code too.
1638 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1639 (__ieee754_ynl): Likewise.
1640 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
1641 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
1642 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
1643 Remove dead code too.
1644 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
1645 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
1646 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
1647 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
1648 Simplify.
1649 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
1650 Simplify.
1651 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
1652 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
1653 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
1654 Comment on variable precision.
1655 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
1656 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1657 Likewise.
1658 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1659 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1660 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1661 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
1662 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
1663
4ebd120c
AM
16642013-10-04 Alan Modra <amodra@gmail.com>
1665
1666 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
1667 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
1668 all uses of ieee854 long double macros and unions.
1669 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
1670 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1671 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
1672 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
1673 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
1674 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1675 Likewise.
1676 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
1677 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1678 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
1679 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1680 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
1681 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
1682 Simplify sign and nan test too.
1683 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
1684 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
1685 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
1686 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
1687 Likewise.
1688 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1689 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
1690 Likewise.
1691 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1692 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
1693 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
1694 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
1695 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
1696 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
1697
1b6adf88
AM
16982013-10-04 Alan Modra <amodra@gmail.com>
1699
1700 * stdio-common/printf_size.c (__printf_size): Don't use
1701 union ieee854_long_double in fpnum union.
1702 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
1703 signbit macro to retrieve sign from long double.
1704 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
1705 retrieve sign from long double.
1706 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
1707 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
1708 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
1709 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1710 * math/test-misc.c (main): Don't use union ieee854_long_double.
1711
4cf69995
AM
17122013-10-04 Alan Modra <amodra@gmail.com>
1713
1714 [BZ #15680]
1715 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
1716 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
1717 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
1718 calculation. Remove unnecessary test for denormal exponent.
1719 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
1720 Correct handling of denormals. Avoid undefined shift behaviour.
1721 Correct normalisation of low mantissa when low double is denormal.
1722 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
1723 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
1724 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
1725 Correct normalisation of low mantissa. Test for overflow of high
1726 mantissa and normalise.
1727 (ldbl_nearbyint): Use more readable constant for two52.
1728 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
1729 (__mpn_construct_long_double): Fix test for overflow of high
1730 mantissa and correct normalisation. Avoid undefined shift.
1731
9605ca6c
AM
17322013-10-04 Alan Modra <amodra@gmail.com>
1733
1734 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1735 (union ibm_extended_long_double): Define as an array of ieee754_double.
1736 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
1737 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
1738 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
1739 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1740 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1741 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
1742 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1743 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1744 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1745 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
1746 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1747
975569d0
JM
17482013-10-03 Joseph Myers <joseph@codesourcery.com>
1749
d3d23756
JM
1750 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
1751 page size instead of calling getpagesize.
1752
975569d0
JM
1753 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
1754 (LOCFILE_ALIGN_MASK): Likewise.
1755 (LOCFILE_ALIGN_UP): Likewise.
1756 (LOCFILE_ALIGNED_P): Likewise.
1757 * locale/programs/ld-collate.c (collate_output): Use the new
1758 macros instead of __alignof__ (int32_t).
1759 * locale/weight.h (findidx): Likewise.
1760
b1fe1f2b
OB
17612013-10-03 Ondřej Bílka <neleai@seznam.cz>
1762
1763 [BZ #431]
1764 * manual/string.texi: Fix strncat and wcsncat.
1765
5f855e35
BM
17662013-10-03 Brooks Moses <bmoses@google.com>
1767
1768 [BZ #15915]
1769 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
1770 * Makerules: ...here, and adjust associated comments.
1771
3cef6009
WN
17722013-10-02 Will Newton <will.newton@linaro.org>
1773
1774 * malloc/Makefile: Add tst-pvalloc.
1775 * malloc/tst-pvalloc.c: New file.
1776
7815420b
WN
17772013-10-02 Will Newton <will.newton@linaro.org>
1778
1779 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
1780 improve test coverage.
1781
4868b204
WN
17822013-10-02 Will Newton <will.newton@linaro.org>
1783
1784 * malloc/Makefile: Add tst-posix_memalign.
1785 * malloc/tst-posix_memalign.c: New file.
1786
29c793b3
EB
17872013-10-01 Eric Blake <eblake@redhat.com>
1788
1789 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
1790 Use __THROWNL rather than __THROW on static functions.
1791
fd967522
PM
17922013-09-30 Petr Machata <pmachata@redhat.com>
1793
1794 * elf/elf.h (R_AARCH64_ABS16): New macro.
1795 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
1796 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
1797 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
1798 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
1799 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
1800 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
1801 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
1802 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
1803 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
1804 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
1805 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
1806 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
1807 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
1808 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
1809 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
1810 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
1811 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
1812 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
1813 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
1814 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
1815 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
1816 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
1817 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
1818 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
1819 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
1820 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
1821 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
1822 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
1823 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
1824 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
1825 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
1826 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
1827 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
1828 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
1829 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
1830 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
1831 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
1832 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
1833 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
1834 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
1835 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
1836 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
1837 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
1838 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
1839 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
1840 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
1841 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
1842 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
1843 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
1844 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
1845 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
1846 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
1847 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
1848 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
1849 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
1850 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
1851 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
1852 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
1853 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
1854 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
1855 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
1856 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
1857 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
1858 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
1859 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
1860 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
1861 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
1862 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
1863 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
1864 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
1865 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
1866 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
1867 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
1868 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
1869 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
1870 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
1871 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
1872 (R_AARCH64_TLSDESC_LDR): Likewise.
1873 (R_AARCH64_TLSDESC_ADD): Likewise.
1874 (R_AARCH64_TLSDESC_CALL): Likewise.
1875
b2179107
AS
18762013-09-30 Andreas Schwab <schwab@suse.de>
1877
1878 [BZ #15048]
1879 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
1880 the nss database lookup.
1881 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1882 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1883
47f28d0a
MF
18842013-09-28 Mike Frysinger <vapier@gentoo.org>
1885
1886 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
1887
18882013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
1889
1890 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
1891 ${Bash-specific parameter/pattern/string} parameter expansion.
1892 * sysdeps/unix/make-syscalls.sh: Likewise.
1893
f4518a17
KK
18942013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1895
1896 * sysdeps/sh/stackguard-macros.h: New file.
1897
dc1a95c7
OB
18982013-09-26 Ondřej Bílka <neleai@seznam.cz>
1899
1900 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1901 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
1902 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
1903 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
1904 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1905 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
1906
5ebbff8f
AZ
19072013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1908
1909 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
1910 Fix thread ID register.
1911
4fd2cf9f
JM
19122013-09-25 Joseph Myers <joseph@codesourcery.com>
1913
1914 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
1915 [POSIX || UNIX98]: Require rather than permitting all symbols from
1916 <time.h>.
1917 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
1918 element of struct sched_param.
1919 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
1920 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
1921 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
1922 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
1923 constant.
1924
12c22bc4
OL
19252013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
1926
1927 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
1928 argument calculation.
1929
a03d8ea7
JM
19302013-09-24 Joseph Myers <joseph@codesourcery.com>
1931
1932 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
1933 Expect macro.
1934 [POSIX] (pthread_attr_t): Do not require type.
1935 [POSIX] (pthread_cond_t): Likewise.
1936 [POSIX] (pthread_condattr_t): Likewise.
1937 [POSIX] (pthread_key_t): Likewise.
1938 [POSIX] (pthread_mutex_t): Likewise.
1939 [POSIX] (pthread_mutexattr_t): Likewise.
1940 [POSIX] (pthread_once_t): Likewise.
1941 [POSIX] (pthread_t): Likewise.
1942 [POSIX-based standards] (pthread_atfork): Expect function.
1943
6055173a
JM
19442013-09-24 Joseph Myers <joseph@codesourcery.com>
1945 Richard Sandiford <richard@codesourcery.com>
1946
1947 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
1948 (swap_endianness_p): New extern variable.
1949 (set_big_endian): New inline function.
1950 (maybe_swap_uint32): Likewise.
1951 (maybe_swap_uint32_array): Likewise.
1952 (maybe_swap_uint32_obstack): Likewise.
1953 * locale/programs/locfile.c: Include <stdbool.h>.
1954 (swap_endianness_p): New variable.
1955 (add_locale_uint32): Call maybe_swap_uint32.
1956 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
1957 (write_locale_data): Call maybe_swap_uint32_array.
1958 * locale/programs/ld-collate.c (obstack_int32_grow): Call
1959 maybe_swap_uint32.
1960 (obstack_int32_grow_fast): Likewise.
1961 (output_weightwc): Call maybe_swap_uint32_obstack.
1962 (collate_output): Likewise.
1963 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
1964 (OPT_LITTLE_ENDIAN): Likewise.
1965 (options): Add --little-endian and --big-endian options.
1966 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
1967 * locale/programs/locarchive.c: Include "locfile.h".
1968 (GET): New macro.
1969 (SET): Likewise.
1970 (INC): Likewise.
1971 (create_archive): Use the new macros to access fields of
1972 structures directly mapped from or written to locale archives.
1973 (oldlocrecentcmp): Likewise.
1974 (enlarge_archive): Likewise.
1975 (insert_name): Likewise.
1976 (add_alias): Likewise.
1977 (add_locale): Likewise.
1978 (delete_locales_from_archive): Likewise.
1979 (show_archive_content): Likewise.
1980 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
1981 locale data.
1982
39bf0bb4
RM
19832013-09-24 Roland McGrath <roland@hack.frob.com>
1984
1985 * manual/freemanuals.texi: Updated from (newly) canonical copy at
1986 http://www.gnu.org/doc/freemanuals.texi.
1987 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
1988
f02eed10
WN
19892013-09-24 Will Newton <will.newton@linaro.org>
1990
1991 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
1992 macro.
1993
a3a6c312
JM
19942013-09-23 Joseph Myers <joseph@codesourcery.com>
1995
1996 * locale/hashval.h (compute_hashval): Interpret bytes of key as
1997 unsigned char.
1998
107375ac
MR
19992013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
2000
2001 * manual/threads.texi (POSIX Threads): Fix a typo.
2002
141f3a77
SP
20032013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2004
303e567a
SP
2005 [BZ #14547]
2006 * string/tst-strcoll-overflow.c: New test case.
2007 * string/Makefile (xtests): Add tst-strcoll-overflow.
2008 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
2009 cache if string sizes may cause integer overflow.
2010
141f3a77
SP
2011 [BZ #14547]
2012 * string/strcoll_l.c (coll_seq): New members rule, idx,
2013 save_idx and back_us.
2014 (get_next_seq_nocache): New function.
2015 (do_compare_nocache): New function.
2016 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
2017 when malloc fails.
2018
c61b4d41
CD
20192013-09-23 Carlos O'Donell <carlos@redhat.com>
2020
0b1f8e35
CD
2021 [BZ #15754]
2022 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
2023 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
2024 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
2025
c61b4d41
CD
2026 [BZ #15754]
2027 * elf/Makefile (tests): Add tst-ptrguard1.
2028 (tests-static): Add tst-ptrguard1-static.
2029 (tst-ptrguard1-ARGS): Define.
2030 (tst-ptrguard1-static-ARGS): Define.
2031 * elf/tst-ptrguard1.c: New file.
2032 * elf/tst-ptrguard1-static.c: New file.
2033 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
2034 * sysdeps/i386/stackguard-macros.h: Likewise.
2035 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
2036 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
2037 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
2038 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
2039 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
2040 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
2041
20422013-09-23 Hector Marco <hecmargi@upv.es>
2043 Ismael Ripoll <iripoll@disca.upv.es>
2044 Carlos O'Donell <carlos@redhat.com>
2045
2046 [BZ #15754]
2047 * sysdeps/generic/stackguard-macros.h: Define
2048 __pointer_chk_guard_local and POINTER_CHK_GUARD.
2049 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
2050 Define __pointer_chk_guard_local.
2051 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
2052 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
2053
f5f4e7b4
VV
20542013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
2055
2056 [BZ #15859]
2057 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
2058
5bb43a43
AS
20592013-09-20 Andreas Schwab <schwab@linux-m68k.org>
2060
2061 * include/string.h (__ffs): Declare as hidden.
2062 * string/ffs.c (__ffs): Define as hidden.
2063 * sysdeps/i386/ffs.c (__ffs): Likewise.
2064 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
2065 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
2066 * sysdeps/s390/ffs.c (__ffs): Likewise.
2067 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
2068
3ea5be54
AO
20692013-09-20 Alexandre Oliva <aoliva@redhat.com>
2070
ffb89e53
AO
2071 * NEWS: Mention malloc probes.
2072
322dea08
AO
2073 * malloc/arena.c (new_heap): New memory_heap_new probe.
2074 (grow_heap): New memory_heap_more probe.
2075 (shrink_heap): New memory_heap_less probe.
2076 (heap_trim): New memory_heap_free probe.
2077 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
2078 (systrim): New memory_sbrk_less probe.
2079 * manual/probes.texi: Document them.
2080
655673f3
AO
2081 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
2082 * manual/probes.texi: Document it.
2083
35fed6f1
AO
2084 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
2085 (__libc_realloc): Add memory_realloc_retry probe.
2086 (__libc_memalign): Add memory_memalign_retry probe.
2087 (__libc_valloc): Add memory_valloc_retry probe.
2088 (__libc_pvalloc): Add memory_pvalloc_retry probe.
2089 (__libc_calloc): Add memory_calloc_retry probe.
2090 * manual/probes.texi: Document them.
2091
6999d38c
AO
2092 * malloc/arena.c (get_free_list): Add probe
2093 memory_arena_reuse_free_list.
2094 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
2095 and memory_arena_reuse.
2096 (arena_get2) [!PER_THREAD]: Likewise.
2097 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
2098 memory_arena_reuse_realloc.
2099 * manual/probes.texi: Document them.
2100
0653427f
AO
2101 * malloc/malloc.c (__libc_free): Add
2102 memory_mallopt_free_dyn_thresholds probe.
2103 (__libc_mallopt): Add multiple memory_mallopt probes.
2104 * manual/probes.texi: Document them.
2105
3ea5be54
AO
2106 * malloc/malloc.c: Include stap-probe.h.
2107 (__libc_mallopt): Add memory_mallopt probe.
2108 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
2109 * manual/probes.texi: New.
2110 * manual/Makefile (chapters): Add probes.
2111 * manual/threads.texi: Set next node.
2112
e35696c3 21132013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 2114
e35696c3
CL
2115 [BZ #15963, #13985]
2116 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
2117 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
2118 Add `Chinese' to `nan' entry name.
2119
4aafb73c
SP
21202013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2121
2122 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
2123 (POLYNOMIAL): Likewise.
2124 (TAYLOR_SINCOS): Likewise.
2125 (TAYLOR_SLOW): Likewise.
2126 (__sin): Use TAYLOR_SINCOS.
2127 (__cos): Likewise.
2128 (slow): Use TAYLOR_SLOW.
2129 (sloww): Likewise.
2130 (bsloww): Likewise.
2131 (csloww): Likewise.
2132
d84f25c7
LD
21332013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2134
2135 * stdlib/strtod_l.c: Fix buffer overrun.
2136
5eea0404
SP
21372013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2138
7849ff93
SP
2139 * benchtests/Makefile (bench): Add sincos.
2140 * benchtests/bench-sincos.c: New file.
2141
cfa3c886
SP
2142 * math/libm-test.inc (cos_test_data): New test inputs.
2143 (sin_test_data): Likewise.
2144
b348e1e3
SP
2145 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
2146 macro.
2147 (__sin): Use it.
2148 (__cos): Likewise.
2149 (slow1): Likewise.
2150 (slow2): Likewise.
2151 (sloww1): Likewise.
2152 (sloww2): Likewise.
2153 (bsloww1): Likewise.
2154 (bsloww2): Likewise.
2155 (cslow2): Likewise.
2156 (csloww1): Likewise.
2157 (csloww2): Likewise.
2158
6cce25f8
SP
2159 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
2160 function.
2161 (__sin): Use it.
2162 (__cos): Likewise.
2163
5eea0404
SP
2164 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
2165 gotos.
2166 (__cos): Likewise.
2167
9c21573c
MR
21682013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
2169
2170 * config.h.in (HAVE_MIPS_NAN2008): New macro.
2171 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
2172 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
2173 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
2174 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
2175 * elf/cache.c (print_entry): Handle the new cache flags.
2176
24d22e65
JM
21772013-09-18 Joseph Myers <joseph@codesourcery.com>
2178 Aldy Hernandez <aldyh@redhat.com>
2179
2180 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
2181 Change condition to [_SOFT_FLOAT].
2182 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
2183 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
2184 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
2185 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
2186 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
2187 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
2188 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
2189 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
2190 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
2191 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
2192 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
2193 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
2194 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
2195 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
2196 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
2197 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
2198 declaration.
2199
d13ef066
JM
22002013-09-18 Joseph Myers <joseph@codesourcery.com>
2201
2e071de0
JM
2202 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
2203 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2204 (__longjmp): Use LOAD_GP to load saved GPRs.
2205 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
2206 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2207 (__sigsetjmp): Use SAVE_GP to save GPRs.
2208
d13ef066
JM
2209 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
2210 Do not append -msoft-float.
2211 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
2212
97a0650b
SP
22132013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2214
2215 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
2216
11ca09e9
JM
22172013-09-17 Joseph Myers <joseph@codesourcery.com>
2218
2219 [BZ #15966]
2220 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
2221 (_FPU_GETCW): Use initial "__" on variable and field names but not
2222 on macro parameter name.
2223 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
2224 parentheses around reference to macro parameter.
2225
08ffcf34
RS
22262013-09-13 Richard Sandiford <richard@codesourcery.com>
2227
2228 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
2229 prototype.
2230 (ctype_startup): Use uint32_t in cast and sizeof for
2231 ctype->charnames.
2232
ae7080d3
JL
22332013-09-11 Jia Liu <proljc@gmail.com>
2234
2235 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
2236 __daddr_t_defined.
2237 [__FreeBSD__]: Likewise.
2238
5905e7b3
OB
22392013-09-11 Ondřej Bílka <neleai@seznam.cz>
2240
2241 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2242 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
2243 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
2244 (strchr): Remove __strchr_sse42 ifunc selection.
2245 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
2246 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
2247
b987c776
WN
22482013-09-11 Will Newton <will.newton@linaro.org>
2249
2250 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
2251 parameter to RES. Remove hardcoded 1000 value.
2252 * benchtests/bench-skeleton.c (main): Pass RES parameter
2253 to TIMING_INIT and multiply result by 1000.
2254
ddf985af
AZ
22552013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2256
2257 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2258
ffdd3181
AS
22592013-09-11 Andreas Schwab <schwab@suse.de>
2260
2261 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
2262 if not defined.
2263 (O_TMPFILE) [__USE_GNU]: Define.
2264 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
2265 Define.
2266
b73ed247
WN
22672013-09-11 Will Newton <will.newton@linaro.org>
2268
2269 [BZ #15857]
2270 * malloc/malloc.c (__libc_memalign): Check the value of bytes
2271 does not overflow.
2272
55e17aad
WN
22732013-09-11 Will Newton <will.newton@linaro.org>
2274
2275 [BZ #15856]
2276 * malloc/malloc.c (__libc_valloc): Check the value of bytes
2277 does not overflow.
2278
1159a193
WN
22792013-09-11 Will Newton <will.newton@linaro.org>
2280
2281 [BZ #15855]
2282 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
2283 does not overflow.
2284
5905e7b3 22852013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
2286
2287 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
2288 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2289 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2290 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2291 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2292
cdfc721b
AM
22932013-09-10 Allan McRae <allan@archlinux.org>
2294
aa04af00
AM
2295 [BZ #15748]
2296 * manual/arith.texi (Parsing of Floats): Clarify
2297 cross-reference.
2298
cdfc721b
AM
2299 [BZ #15849]
2300 * manual/install.texi (Running make install): Mention
2301 --enable-pt-chown.
2302 * INSTALL: Regenerated.
2303
95e7cf29
MR
23042013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2305
2306 * csu/init-first.c (_init): Remove the !SHARED condition around
2307 FPU control word initialization.
2308 * elf/dl-support.c (_dl_fpu_control): New variable.
2309 (_dl_aux_init) <AT_FPUCW>: Initialize it.
2310 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
2311 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
2312 * math/test-fpucw-static.c: New file.
2313 * math/test-fpucw-ieee.c: New file.
2314 * math/test-fpucw-ieee-static.c: New file.
2315 * math/Makefile (tests): Add `test-fpucw-ieee' and
2316 `$(tests-static)'.
2317 (tests-static): New variable.
2318 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
2319 dependency to...
2320 [($(build-shared),yes)]
2321 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2322 ... this.
2323 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
2324 New dependency.
2325
83e43bf0
AM
23262013-09-09 Allan McRae <allan@archlinux.org>
2327
a9f5ce09
AM
2328 [BZ #15939]
2329 * manual/string.texi (Collation Functions): Fix typo in
2330 strcoll example.
2331 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
2332
34829bc2
AM
2333 [BZ #15893]
2334 * stdlib/isomac.c (get_null_defines): Fix memory leak.
2335
3932737d
AM
2336 [BZ #15892]
2337 * libio/memstream.c (open_memstream): Fix memory leak.
2338 * libio/wmemstream.c (open_wmemstream): Likewise.
2339
83e43bf0
AM
2340 [BZ #15895]
2341 * nscd/netgroupcache.c: Fix nesting of ifdefs.
2342
0c66b8e9
WN
23432013-09-09 Will Newton <will.newton@linaro.org>
2344
2345 * malloc/Makefile: Add tst-realloc to tests.
2346 * malloc/tst-realloc.c: New file.
2347
f6b00fd1
AM
23482013-09-09 Allan McRae <allan@archlinux.org>
2349
2350 [BZ #15844]
2351 * COPYING: Update from GNU website to fix FSF address.
2352 * COPYING.LIB: Likewise.
2353
eec55e16
DM
23542013-09-06 David S. Miller <davem@davemloft.net>
2355
2356 * po/zh_TW.po: Update Chinese (traditional) translation from
2357 translation project.
2358
1ecbb381
RS
23592013-09-06 Richard Sandiford <richard@codesourcery.com>
2360 Joseph Myers <joseph@codesourcery.com>
2361
2362 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
2363 "localeinfo.h".
2364 (obstack_chunk_alloc): New macro.
2365 (obstack_chunk_free): Likewise.
2366 (record_offset): New function.
2367 (init_locale_data): Likewise.
2368 (align_locale_data): Likewise.
2369 (add_locale_empty): Likewise.
2370 (add_locale_raw_data): Likewise.
2371 (add_locale_raw_obstack): Likewise.
2372 (add_locale_string): Likewise.
2373 (add_locale_wstring): Likewise.
2374 (add_locale_uint32): Likewise.
2375 (add_locale_uint32_array): Likewise.
2376 (add_locale_char): Likewise.
2377 (start_locale_structure): Likewise.
2378 (end_locale_structure): Likewise.
2379 (start_locale_prelude): Likewise.
2380 (end_locale_prelude): Likewise.
2381 (write_locale_data): Take locale_file structure rather than an
2382 iovec.
2383 * locale/programs/locfile.h: Include "obstack.h".
2384 (struct locale_file): Change to store locale file contents instead
2385 of header.
2386 (init_locale_data): New prototype.
2387 (align_locale_data): Likewise.
2388 (add_locale_empty): Likewise.
2389 (add_locale_raw_data): Likewise.
2390 (add_locale_raw_obstack): Likewise.
2391 (add_locale_string): Likewise.
2392 (add_locale_wstring): Likewise.
2393 (add_locale_uint32): Likewise.
2394 (add_locale_uint32_array): Likewise.
2395 (add_locale_char): Likewise.
2396 (start_locale_structure): Likewise.
2397 (end_locale_structure): Likewise.
2398 (start_locale_prelude): Likewise.
2399 (end_locale_prelude): Likewise.
2400 (write_locale_data): Update prototype.
2401 * locale/programs/3level.h (struct TABLE): Remove result field.
2402 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
2403 Use new locale_file interface.
2404 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
2405 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
2406 * locale/programs/ld-address.c (address_output): Use new
2407 locale_file interface.
2408 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
2409 NO_ADD_LOCALE.
2410 (collate_finish): Don't call collseq_table_finalize.
2411 (collate_output): Use new locale_file interface.
2412 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
2413 in file.
2414 (NO_FINALIZE): Change to NO_ADD_LOCALE.
2415 (TABLE): Move defines earlier in file.
2416 (ELEMENT): Likewise.
2417 (DEFAULT): Likewise.
2418 (wctrans_table_add): Move macro and inline function earlier in
2419 file.
2420 (struct wctype_table): Move type earlier in file.
2421 (add_locale_wctype_table): New static prototype.
2422 (struct locale_ctype_t): Use logical types instead of struct iovec
2423 pointers for members.
2424 (ctype_output): Use new locale_file interface.
2425 (wctype_table_finalize): Change to add_locale_wctype_table. Use
2426 new locale_file interface.
2427 (allocate_arrays): Update for use of new locale_file interface.
2428 * locale/programs/ld-identification.c (identification_output): Use
2429 new locale_file interface.
2430 * locale/programs/ld-measurement.c (measurement_output): Likewise.
2431 * locale/programs/ld-messages.c (messages_output): Likewise.
2432 * locale/programs/ld-monetary.c (monetary_output): Likewise.
2433 * locale/programs/ld-name.c (name_output): Likewise.
2434 * locale/programs/ld-numeric.c (numeric_output): Likewise.
2435 * locale/programs/ld-paper.c (paper_output): Likewise.
2436 * locale/programs/ld-telephone.c (telephone_output): Likewise.
2437 * locale/programs/ld-time.c (time_output): Likewise.
2438
e029e2e5
AZ
24392013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2440
2441 * benchtests/Makefile: Add memrchr benchmark.
2442 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
2443 benchmark as memrchr.
2444 * benchtests/bench-memrchr-ifunc.c: New file.
2445 * benchtests/bench-memrchr.c: New file.
2446
bbf6e8e4
WN
24472013-09-06 Will Newton <will.newton@linaro.org>
2448
2449 * benchtests/Makefile (string-bench): Add memcpy.
2450
6c82a2f8
CD
24512013-09-05 Carlos O'Donell <carlos@redhat.com>
2452 Cong Wang <amwang@redhat.com>
2453
2454 * sysdeps/unix/sysv/linux/bits/in.h
2455 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
2456 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
2457 before __USE_KERNEL_IPV6_DEFS uses.
2458 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
2459 IPPROTO_BEETPH.
2460 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
2461 sockaddr_in6, or ipv6_mreq.
2462
5430fc65
AZ
24632013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2464
2465 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
2466 memory access for final bytes in some large inputs.
2467 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
2468
4660856c
AZ
24692013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2470
2471 * string/test-memrchr.c: New file.
2472 * string/test-memrchr-ifunc.c: New file.
2473 * string/Makefile: Add new memrchr testcase.
2474
bb8ea713
MF
24752013-09-05 Mike Frysinger <vapier@gentoo.org>
2476
2477 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
2478 fanotify_init returns EPERM.
2479
b92a20b5
JM
24802013-09-04 Joseph Myers <joseph@codesourcery.com>
2481
2482 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
2483 errors.
2484 (top level): Treat second token from macro or constant entries for
2485 allowed headers as allowed.
2486 * include/complex.h: Condition internal declarations on
2487 [!_ISOMAC].
2488 * include/fenv.h: Condition include of <stdbool.h> and internal
2489 declarations on [!_ISOMAC].
7447ccd9
CL
2490
24912013-09-04 Chris Leonard <cjl@sugarlabs,.org>
2492
3e181dda 2493 [BZ #15923]
7447ccd9
CL
2494 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
2495
3f2e46a4
JM
24962013-09-04 Joseph Myers <joseph@codesourcery.com>
2497
2498 * configure.in (--enable-versioning): Remove configure option.
2499 (libc_cv_asm_symver_directive): Remove configure test.
2500 (libc_cv_ld_version_script_option): Likewise.
2501 (VERSIONING): Remove variable and AC_SUBST.
2502 (DO_VERSIONING): Remove AC_DEFINE.
2503 * configure: Regenerated.
2504 * config.h.in (DO_VERSIONING): Remove macro.
2505 * Makerules [$(versioning) = yes]: Change conditionals to
2506 [$(build-shared) = yes].
2507 * config.make.in (versioning): Remove variable.
2508 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
2509 [$(build-shared) = yes].
2510 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
2511 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
2512 * elf/Makefile [$(versioning) = yes]: Change conditionals to
2513 [$(build-shared) = yes].
2514 * extra-lib.mk [$(versioning) = yes]: Likewise.
2515 * hurd/Makefile [$(versioning) = yes]: Likewise.
2516 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
2517 [SHARED].
2518 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
2519 [SHARED].
2520 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2521 [SHARED && !NO_HIDDEN].
2522 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
2523 [SHARED].
2524 [SHARED && DO_VERSIONING]: Likewise..
2525 * libio/Makefile [$(versioning) = yes]: Change conditionals to
2526 [$(build-shared) = yes].
2527 * manual/install.texi (--disable-versioning): Remove
2528 documentation.
2529 * INSTALL: Regenerated.
2530 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
2531 to [SHARED].
2532 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
2533 [$(build-shared) = yes].
2534 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
2535 * sysdeps/i386/i686/multiarch/strstr-c.c
2536 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2537 [SHARED && !NO_HIDDEN].
2538 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
2539 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
2540 * sysdeps/powerpc/powerpc32/dl-machine.c
2541 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
2542 * sysdeps/powerpc/powerpc32/sysdep.h
2543 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
2544 to [SHARED && PIC && !NO_HIDDEN].
2545 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
2546 conditional to [SHARED].
2547
44558701
WN
25482013-09-04 Will Newton <will.newton@linaro.org>
2549
2550 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
2551 * benchtests/bench-string.h: Include bench-timing.h instead
2552 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
2553 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
2554 call to HP_TIMING_DIFF_INIT.
2555 * benchtests/bench-memccpy.c: Use bench-timing.h macros
2556 instead of hp-timing.h macros.
2557 * benchtests/bench-memchr.c: Likewise.
2558 * benchtests/bench-memcmp.c: Likewise.
2559 * benchtests/bench-memcpy.c: Likewise.
2560 * benchtests/bench-memmem.c: Likewise.
2561 * benchtests/bench-memmove.c: Likewise.
2562 * benchtests/bench-memset.c: Likewise.
2563 * benchtests/bench-rawmemchr.c: Likewise.
2564 * benchtests/bench-strcasecmp.c: Likewise.
2565 * benchtests/bench-strcasestr.c: Likewise.
2566 * benchtests/bench-strcat.c: Likewise.
2567 * benchtests/bench-strchr.c: Likewise.
2568 * benchtests/bench-strcmp.c: Likewise.
2569 * benchtests/bench-strcpy.c: Likewise.
2570 * benchtests/bench-strcpy_chk.c: Likewise.
2571 * benchtests/bench-strlen.c: Likewise.
2572 * benchtests/bench-strncasecmp.c: Likewise.
2573 * benchtests/bench-strncat.c: Likewise.
2574 * benchtests/bench-strncmp.c: Likewise.
2575 * benchtests/bench-strncpy.c: Likewise.
2576 * benchtests/bench-strnlen.c: Likewise.
2577 * benchtests/bench-strpbrk.c: Likewise.
2578 * benchtests/bench-strrchr.c: Likewise.
2579 * benchtests/bench-strspn.c: Likewise.
2580 * benchtests/bench-strstr.c: Likewise.
2581
cae16d66
WN
25822013-09-04 Will Newton <will.newton@linaro.org>
2583
2584 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
2585
ffa3cd7f
JM
25862013-09-03 Joseph Myers <joseph@codesourcery.com>
2587
2588 [BZ #15427]
2589 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2590 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
2591 * math/libm-test.inc (lgamma_test_data): Add more tests.
2592 * sysdeps/i386/fpu/libm-test-ulps: Update.
2593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2594
8f02859f
OB
25952013-09-03 Ondřej Bílka <neleai@seznam.cz>
2596
2597 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
2598 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2599 Add ifunc.
2600 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2601 Add strcmp-sse2-unaligned
2602 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
2603
18d43716
MF
26042013-09-02 Mike Frysinger <vapier@gentoo.org>
2605
2606 * Versions.def (libc): Add GLIBC_2.19.
2607
ac444012
MF
26082013-09-02 Mike Frysinger <vapier@gentoo.org>
2609
2610 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
2611 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
2612
b7835e32
JM
26132013-09-02 Joseph Myers <joseph@codesourcery.com>
2614
2615 [BZ #14155]
2616 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
2617 intermediate calculations in recurrence.
2618 (__ieee754_ynf): Likewise.
2619 * math/libm-test.inc (jn_test_data): Do not allow spurious
2620 underflow exception. Add more tests.
2621 (yn_test_data): Add more tests.
2622 * sysdeps/i386/fpu/libm-test-ulps: Update.
2623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2624
8220f4f0
OB
26252013-09-02 Ondřej Bílka <neleai@seznam.cz>
2626
2627 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
2628
f24a6d08
OB
26292013-08-30 Ondřej Bílka <neleai@seznam.cz>
2630
2631 * csu/init-first.c: Fix then/than typos.
2632 * locale/programs/ld-collate.c: Likewise.
2633 * locale/programs/linereader.h: Likewise.
2634 * manual/charset.texi: Likewise.
2635 * manual/filesys.texi: Likewise.
2636 * manual/stdio.texi: Likewise.
2637 * manual/string.texi: Likewise.
2638 * stdlib/fmtmsg.c: Likewise.
2639 * sysdeps/i386/stpncpy.S: Likewise.
2640 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2641 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2642 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2643 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2644
382466e0
OB
26452013-08-30 Ondřej Bílka <neleai@seznam.cz>
2646
2647 * elf/dl-open.c: Fix typos.
2648 * iconvdata/gbbig5.c: Likewise.
2649 * iconvdata/iso-2022-jp.c: Likewise.
2650 * iconv/gconv_int.h: Likewise.
2651 * iconv/loop.c: Likewise.
2652 * nis/rpcsvc/nis.h: Likewise.
2653 * resolv/ns_name.c: Likewise.
2654 * stdio-common/vfscanf.c: Likewise.
2655 * streams/stropts.h: Likewise.
2656 * sunrpc/rpc_thread.c: Likewise.
2657 * sysdeps/i386/strpbrk.S: Likewise.
2658 * sysdeps/ieee754/k_standard.c: Likewise.
2659 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2660 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2661 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2662 * sysdeps/mach/hurd/profil.c: Likewise.
2663 * sysdeps/s390/dl-procinfo.h: Likewise.
2664 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2665 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2666 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
2667 * sysdeps/x86_64/dl-trampoline.S: Likewise.
2668 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2669
0186c6e9
OB
26702013-08-30 Ondřej Bílka <neleai@seznam.cz>
2671
2672 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
2673 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
2674
d4e16af1
OB
26752013-08-29 Ondřej Bílka <neleai@seznam.cz>
2676
2677 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
2678 aix specific files.
2679 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
2680 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
2681 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
2682 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
2683 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
2684 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
2685 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
2686 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
2687
88335980
TS
26882013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2689 Roland McGrath <roland@hack.frob.com>
2690
2691 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
2692 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2693
ed479b02
ST
26942013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
2695
2696 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
2697 __executable_start symbol instead of _start.
2698
f1cc4c86
TS
26992013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2700
d821f07c
TS
2701 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
2702 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
2703 Move macros to...
2704 * sysdeps/gnu/ldsodefs.h: ... this new file.
2705
c54290cf
TS
2706 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
2707 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
2708 instead of ELFOSABI_LINUX.
2709
0007fc9b 2710 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
2711 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
2712 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
2713 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
2714 Likewise.
2715 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
2716 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
2717 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
2718 Likewise.
2719 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2720 (ibm_extended_long_double): Add ieee_nan member.
2721 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
2722 (do_test): New function.
2723
f1cc4c86
TS
2724 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
2725 TEST_TRUNC.
2726 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
2727 functions, renamed from truncdfsf_test, trunctfsf_test,
2728 trunctfdf_test.
2729 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
2730 functions.
2731 (do_test): Run all these.
2732
6f65e668
OB
27332013-08-29 Ondřej Bílka <neleai@seznam.cz>
2734
2735 * argp/argp-help.c: Fix typos.
2736 * argp/argp-parse.c: Likewise.
2737 * debug/backtracesyms.c: Likewise.
2738 * elf/elf.h: Likewise.
2739 * malloc/malloc.c: Likewise.
2740 * nis/nis_print.c: Likewise.
2741 * resolv/res_comp.c: Likewise.
2742 * stdlib/stdlib.h: Likewise.
2743 * sunrpc/clnt_tcp.c: Likewise.
2744 * sunrpc/clnt_udp.c: Likewise.
2745 * sunrpc/clnt_unix.c: Likewise.
2746 * sysdeps/unix/bsd/ptsname.c: Likewise.
2747 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2748 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
2749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
2750 Likewise.
2751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2752 Likewise.
2753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2754 Likewise.
6f65e668
OB
2755 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2756
3a309239
SP
27572013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2758
2759 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
2760 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2761
3b813b29
MF
27622013-08-27 Mike Frysinger <vapier@gentoo.org>
2763
2764 [BZ #15897]
2765 * dlfcn/Makefile (tests): Add bug-dl-leaf.
2766 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
2767 ($(objpfx)bug-dl-leaf): New rule.
2768 ($(objpfx)bug-dl-leaf.so): Likewise.
2769 ($(objpfx)bug-dl-leaf.out): Likewise.
2770 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
2771 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
2772 * dlfcn/bug-dl-leaf.c: New test.
2773 * dlfcn/bug-dl-leaf-lib.c: Likewise.
2774 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
2775 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
2776 (dlclose): Likewise.
2777 (dlmopen): Likewise.
2778
8cc3269f
RM
27792013-08-27 Roland McGrath <roland@hack.frob.com>
2780
7f9d0034
RM
2781 * include/netdb.h [!_ISOMAC]:
2782 Don't include <tls.h>.
2783 (h_errno, __libc_h_errno): Move declaration and macros out of
2784 [_LIBC_REENTRANT].
2785
fb431262
RM
2786 * include/resolv.h [_RESOLV_H_]:
2787 Don't include <tls.h>.
2788 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
2789 * resolv/res_libc.c: Don't include <tls.h>.
2790 (_res): Use __attribute__ ((nocommon)) in place of
2791 __attribute__ ((section (".bss"))).
2792
bd81123a
RM
2793 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
2794 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
2795
c4e42566
RM
2796 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
2797
f890a59b
RM
2798 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
2799 only under [SIOCGIFCONF && SIOCGIFNETMASK].
2800
2801 * resolv/res_mkquery.c: Include <sys/time.h>.
2802
5d1f0a09
RM
2803 * inet/ifreq.c: Moved to ...
2804 * sysdeps/unix/ifreq.c: ... here.
2805 * inet/ifreq.c: New file, true stub version.
2806
6fcf28b3
RM
2807 * socket/sa_len.c: New file.
2808 * socket/Makefile (aux): Add it.
2809 * sysdeps/unix/sysv/linux/Makefile
2810 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
2811 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
2812 and #include <socket/sa_len.c>.
2813 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
2814 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
2815
e041fb8b
RM
2816 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
2817 * bits/socket.h: ... here.
2818
8cc3269f
RM
2819 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
2820 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
2821 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
2822
5d228a43
AS
28232013-08-27 Andreas Schwab <schwab@suse.de>
2824
45b8accc
AS
2825 [BZ #15736]
2826 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
2827 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
2828 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
2829 * string/test-strcasecmp.c (test_main): Run tests in several
2830 locales.
2831 * string/test-strncasecmp.c (test_main): Likewise.
2832
5d228a43
AS
2833 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
2834 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
2835 to __strcasecmp_nonascii and __strncasecmp_nonascii.
2836 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
2837 (__strncasecmp_ssse3) [PIC]: Likewise.
2838
59d112a4
RM
28392013-08-26 Roland McGrath <roland@hack.frob.com>
2840
53234cc3
RM
2841 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
2842
59d112a4
RM
2843 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
2844 instead of explicitly declaring xdecrypt.
2845 * nis/nss_nis/nis-publickey.c: Likewise.
2846
595aba70
SP
28472013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2848
2849 [BZ #15890]
2850 * nscd/aicache.c: Include res_hconf.h.
2851 (addhstaiX): Initialize res_hconf.
2852
ffabd393
AS
28532013-08-26 Andreas Schwab <schwab@suse.de>
2854
2855 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
2856 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
2857
e0a69f5c
SP
28582013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2859
2860 * nscd/aicache.c (addhstaiX): Fix indentation.
2861
8c12f01d
MF
28622013-08-25 Mike Frysinger <vapier@gentoo.org>
2863
2864 * configure.ac: Quote $build_pt_chown test.
2865 * configure: Regenerated.
2866
8fe89494
JM
28672013-08-23 Joseph Myers <joseph@codesourcery.com>
2868
2869 [BZ #15532]
2870 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
2871 * math/s_cexpf.c (__cexpf): Likewise.
2872 * math/s_cexpl.c (__cexpl): Likewise.
2873 * math/libm-test.inc (cexp_test_data): Correct expected return
2874 value for NaN + i0. Add another test.
2875
75b181d6
DM
28762013-08-22 David S. Miller <davem@davemloft.net>
2877
2878 * po/ca.po: Update Catalan translation from translation project.
936241e4 2879 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 2880
acd06bb1
JM
28812013-08-21 Joseph Myers <joseph@codesourcery.com>
2882
2883 [BZ #15797]
2884 * math/s_fdim.c (__fdim): Check for infinite arguments if result
2885 is infinite, not alongside NaN test.
2886 * math/s_fdimf.c (__fdimf): Likewise.
2887 * math/s_fdiml.c (__fdiml): Likewise.
2888 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
2889 errno is unchanged.
2890
c0c3f78a
OB
28912013-08-21 Ondřej Bílka <neleai@seznam.cz>
2892
2893 * argp/argp-help.c: Fix typos.
2894 * crypt/speeds.c: Likewise.
2895 * csu/check_fds.c: Likewise.
2896 * elf/dl-load.c: Likewise.
2897 * elf/dl-open.c: Likewise.
2898 * elf/reldep3.c: Likewise.
2899 * elf/reldep.c: Likewise.
2900 * elf/sprof.c: Likewise.
2901 * iconv/iconv_charmap.c: Likewise.
2902 * iconv/skeleton.c: Likewise.
2903 * iconv/strtab.c: Likewise.
2904 * io/lockf64.c: Likewise.
2905 * libio/libioP.h: Likewise.
2906 * resolv/gai_notify.c: Likewise.
2907 * resolv/ns_name.c: Likewise.
2908 * resolv/ns_samedomain.c: Likewise.
2909 * resolv/res_send.c: Likewise.
2910 * stdlib/random.c: Likewise.
2911 * sunrpc/rpc/xdr.h: Likewise.
2912 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
2913 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2914 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2915 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2916 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2917 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2918 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2919 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2920 * sysdeps/mach/hurd/check_fds.c: Likewise.
2921 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2922 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2923 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2924 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2925 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2926 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2927 * sysdeps/pthread/aio_notify.c: Likewise.
2928 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
2929 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
2930 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
2931 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2932 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2933
46ed1038
LD
29342013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2935
2936 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
2937 version if bit_Slow_SSE4_2 is set.
2938 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2939 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2940
d400dcac
AZ
29412013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2942
2943 [BZ #15867]
2944 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
2945 trampoline stack frame information.
2946 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
2947 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
2948 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
2949 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
2950 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
2951 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2952 (_libc_vdso_platform_setup): Initialize the signal trampolines.
2953 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
2954 sa_flags value.
2955 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
2956 interrupting a syscall and set with option SA_SIGINFO.
2957
42c8fdd8
JM
29582013-08-20 Joseph Myers <joseph@codesourcery.com>
2959
c980f2f4
JM
2960 [BZ #15531]
2961 * math/s_cproj.c (__cproj): Only return an infinity if one part of
2962 argument is infinite.
2963 * math/s_cprojf.c (__cprojf): Likewise.
2964 * math/s_cprojl.c (__cprojl): Likewise.
2965 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
2966 * math/libm-test.inc (cproj_test_data): Add more tests.
2967
0716c4fc
JM
2968 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
2969
42c8fdd8
JM
2970 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
2971 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
2972 size. Use __ffs to determine corresponding shift.
2973
b31469d0
JM
29742013-08-20 Joseph Myers <joseph@codesourcery.com>
2975 Roland McGrath <roland@hack.frob.com>
2976
2977 * Makefile (INSTALL): Remove trailing blank lines from output of
2978 makeinfo.
2979
4e39af6e
AK
29802013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2981
2982 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
2983 Align 32 bit compat elf_greg to 8 bytes.
2984
f315524e
AA
29852013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
2986
2987 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
2988
1326ba1a
SP
29892013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2990
2991 * string/strcoll_l.c (coll_seq): New structure.
2992 (get_next_seq_cached): New function.
2993 (get_next_seq): New function.
2994 (do_compare): New function.
2995 (STRCOLL): Use GNU style definition. Simplify implementation
2996 by using get_next_seq, get_next_seq_cached and do_compare.
2997
91ce4085
FW
29982013-08-16 Florian Weimer <fweimer@redhat.com>
2999
3000 [BZ #14699]
3001 CVE-2013-4237
3002 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
3003 member.
3004 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
3005 member.
3006 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
3007 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
3008 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
3009 conditional.
3010 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
3011 GETDENTS_64BIT_ALIGNED.
3012 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
3013 * manual/filesys.texi (Reading/Closing Directory): Document
3014 ENAMETOOLONG return value of readdir_r. Recommend readdir more
3015 strongly.
3016 * manual/conf.texi (Limits for Files): Add portability note to
3017 NAME_MAX, PATH_MAX.
3018 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
3019
ca0a6bc4
AS
30202013-08-13 Andreas Schwab <schwab@suse.de>
3021
3022 [BZ #15749]
3023 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
3024 of fabs.
3025 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
3026 LDBL_MAX_EXP >= 16384]: Add tests for it.
3027
6c1fd795
DM
30282013-08-12 David S. Miller <davem@davemloft.net>
3029
3030 * version.h (RELEASE): Set to "development".
3031 (VERSION): Set to "2.18.90".
3032 * NEWS: Add 2.19 section.
3033
31ad488d
DM
30342013-08-03 David S. Miller <davem@davemloft.net>
3035
3036 * po/ko.po: Update Korean translation from translation project.
3037
db24e684
DM
30382013-08-01 David S. Miller <davem@davemloft.net>
3039
3040 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
3041 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
3042 Bilka.
3043
f723285b
DM
30442013-07-30 David S. Miller <davem@davemloft.net>
3045
3046 * po/fr.po: Update French translation from translation project.
3047
3cbc52db
DM
30482013-07-28 David S. Miller <davem@davemloft.net>
3049
30bbc0cc
DM
3050 * po/cs.po: Update Czech translation from translation project.
3051
3cbc52db
DM
3052 * po/sv.po: Update Swedish translation from translation project.
3053
d492e6d0
DM
30542013-07-27 David S. Miller <davem@davemloft.net>
3055
f1a7f492
DM
3056 * po/eo.po: Update Esperanto translation from translation project.
3057
90e62a4a
DM
3058 * po/vi.po: Update Vietnamese translation from translation project.
3059
d492e6d0
DM
3060 * po/de.po: Update German translation from translation project.
3061
d4baa62d
DM
30622013-07-26 David S. Miller <davem@davemloft.net>
3063
641aa7b4
DM
3064 * po/bg.po: Update Bulgarian translation from translation project.
3065
d4baa62d
DM
3066 * po/nl.po: Update Dutch translation from translation project.
3067 * po/pl.po: Update Polish translation from translation project.
3068 * po/ru.po: Update Russian translation from translation project.
3069
61a9dcb9
DM
30702013-07-24 David S. Miller <davem@davemloft.net>
3071
3072 * po/libc.pot: Update.
3073
7b1f8b58
AZ
30742013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3075
3076 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
3077 variable page size.
3078 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
3079 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
3080 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
3081
a8fc7a03
AK
30822013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3083
3084 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
3085
e4608715
CD
30862013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3087 Andreas Schwab <schwab@suse.de>
3088 Roland McGrath <roland@hack.frob.com>
3089 Joseph Myers <joseph@codesourcery.com>
3090 Carlos O'Donell <carlos@redhat.com>
3091
3092 [BZ #15755]
3093 * config.h.in: Define HAVE_PT_CHOWN.
3094 * config.make.in (build-pt-chown): New variable.
3095 * configure.in (--enable-pt_chown): New configure option.
3096 * configure: Regenerate.
3097 * login/Makefile: Include Makeconfig. Build pt_chown only if
3098 build-pt-chown is enabled.
3099 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
3100 pt_chown to fix pty ownership.
3101 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
3102 CLOSE_ALL_FDS.
3103 * manual/install.texi (Configuring and compiling): Mention
3104 --enable-pt_chown. Add @findex for grantpt.
3105 * INSTALL: Regenerate.
3106
da2d62df
DM
31072013-07-20 David S. Miller <davem@davemloft.net>
3108
3109 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
3110 difference between 32-bit and 64-bit.
3111
d7e06450
CD
31122013-07-15 Carlos O'Donell <carlos@redhat.com>
3113
3114 [BZ #15711]
3115 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
3116 Avoid system header dependency with -ffreestanding.
3117 ($(objpfx)bits/syscall%d): Likewise.
3118
f959cfd7
DM
31192013-07-13 David S. Miller <davem@davemloft.net>
3120
3121 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
3122 underflows from atanl/atan2l due to bug 15319.
3123 (casinh_test_data): Likewise.
3124
c61f8513
DM
31252013-07-07 David S. Miller <davem@davemloft.net>
3126
3127 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3128
72c90ed0
JA
31292013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
3130
3131 * sysdeps/i386/fpu/libm-test-ulps: Update.
3132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3133
52dfbe13
SP
31342013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3135
3136 * configure.in (--enable-lock-elision): Fix message text.
3137 * INSTALL: Regenerate.
3138 * configure: Regenerate.
3139
3f169543
AZ
31402013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3141
3142 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3143
521c6785
AJ
31442013-07-03 Andreas Jaeger <aj@suse.de>
3145
3146 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
3147 define.
3148 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
3149 (ptrace_peeksiginfo_args): Add.
3150 (__ptrace_peeksiginfo_flags): Add.
3151 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3152 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3153 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3154
d2cc15cb
AM
31552013-07-03 Allan McRae <allan@archlinux.org>
3156
3157 * sysdeps/i386/fpu/libm-test-ulps: Update.
3158
3aaeeca7
DM
31592013-07-02 David S. Miller <davem@davemloft.net>
3160
3161 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3162
5314ed1a
MT
31632013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
3164
3165 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3166
67338156
JM
31672013-07-02 Joseph Myers <joseph@codesourcery.com>
3168
3169 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3171
1717da59
AK
31722013-07-02 Andi Kleen <ak@linux.intel.com>
3173
3174 * config.h.in (ENABLE_LOCK_ELISION): Add.
3175 * configure.in (--enable-lock-elision): Add option.
3176 * manual/install.texi: Document --enable lock elision.
3177 * configure: Regenerate
3178 * INSTALL: Regenerate.
3179
1c81621c
L
31802013-07-02 H.J. Lu <hongjiu.lu@intel.com>
3181
3182 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
3183 SSE4.2 strcasecmp for libc.a.
3184 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3185
77f01ab5
JM
31862013-07-02 Joseph Myers <joseph@codesourcery.com>
3187
3188 [BZ #13304]
3189 * soft-fp/op-common.h (_FP_FMA): New macro.
3190 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
3191 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
3192 (_FP_MUL_MEAT_1_imm): ... here.
3193 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
3194 (_FP_MUL_MEAT_1_wide): ... here.
3195 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
3196 (_FP_MUL_MEAT_1_hard): ... here.
3197 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
3198 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
3199 (_FP_MUL_MEAT_2_wide): ... here.
3200 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
3201 (_FP_MUL_MEAT_2_wide_3mul): ... here.
3202 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
3203 (_FP_MUL_MEAT_2_gmp): ... here.
3204 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
3205 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
3206 (_FP_MUL_MEAT_4_wide): ... here.
3207 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
3208 (_FP_MUL_MEAT_4_gmp): ... here.
3209 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
3210 (_FP_WFRACBITS_DW_S): Likewise.
3211 (_FP_WFRACXBITS_DW_S): Likewise.
3212 (_FP_HIGHBIT_DW_S): Likewise.
3213 (FP_FMA_S): Likewise.
3214 (_FP_FRAC_HIGH_DW_S): Likewise.
3215 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
3216 (_FP_WFRACBITS_DW_D): Likewise.
3217 (_FP_WFRACXBITS_DW_D): Likewise.
3218 (_FP_HIGHBIT_DW_D): Likewise.
3219 (FP_FMA_D): Likewise.
3220 (_FP_FRAC_HIGH_DW_D): Likewise.
3221 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
3222 (_FP_WFRACBITS_DW_E): Likewise.
3223 (_FP_WFRACXBITS_DW_E): Likewise.
3224 (_FP_HIGHBIT_DW_E): Likewise.
3225 (FP_FMA_E): Likewise.
3226 (_FP_FRAC_HIGH_DW_E): Likewise.
3227 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
3228 (_FP_WFRACBITS_DW_Q): Likewise.
3229 (_FP_WFRACXBITS_DW_Q): Likewise.
3230 (_FP_HIGHBIT_DW_Q): Likewise.
3231 (FP_FMA_Q): Likewise.
3232 (_FP_FRAC_HIGH_DW_Q): Likewise.
3233 * soft-fp/fmasf4.c: New file.
3234 * soft-fp/fmadf4.c: Likewise.
3235 * soft-fp/fmatf4.c: Likewise.
3236
6308fd9a
LD
32372013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3238
3239 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
3240 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
3241 Silvermont.
3242 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
3243 macro.
3244 (index_Slow_SSE4_2): Likewise.
3245 (index_Prefer_PMINUB_for_stringop): Likewise.
3246 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
3247 bit_Slow_SSE4_2 is set.
3248 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3249 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3250
89cd9569
RA
32512013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3252
3253 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
3254 rtld_global._dl_hwcap2.
3255 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
3256 POWER8.
3257 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
3258 POWER8 feature descriptions defined in _dl_hwcap2.
3259 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
3260 string handling for POWER8 feature bits.
3261 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
3262 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
3263 _dl_powerpc_cap_flags.
3264 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
3265 * sysdeps/powerpc/rtld-global-offsets.sym
3266 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
3267 _dl_hwcap2 in the rtld_global_ro structure.
3268
1ae8bfe0
RA
32692013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3270
3271 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
3272 hardware capabilities in support of AT_HWCAP2.
3273 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
3274 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
3275 GLRO(dl_hwcap2).
3276 (_dl_show_auxv): Add support for calling _dl_procinfo to display
3277 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
3278 explicitly the unknown a_type display mechanism is used.
3279 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
3280 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
3281 struct member.
3282 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
3283 to macro prototype for AT_HWCAP2 support.
3284 * sysdeps/i386/dl-procinfo.h: Likewise.
3285 * sysdeps/s390/dl-procinfo.h: Likewise.
3286 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
3287 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
3288 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
3289 return -1 for unknown a_type display fallback.
3290 * sysdeps/sparc/dl-procinfo.h: Likewise.
3291 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
3292 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3293
8fbec010
JM
32942013-06-28 Joseph Myers <joseph@codesourcery.com>
3295
3296 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
3297 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
3298
0432680e
PY
32992013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
3300
3301 [BZ #12492]
3302 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
3303 mprotect making __stack_prot writable.
3304
ce61a2ad
NF
33052013-06-28 Nathan Froyd <froydnj@codesourcery.com>
3306 Joseph Myers <joseph@codesourcery.com>
3307
3308 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
3309 as being properly aligned.
3310
f91f1c0f
MR
33112013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
3312
3d0f5d0c
MR
3313 * dlfcn/modstatic5.c: New file.
3314 * dlfcn/tststatic5.c: New file.
3315 * dlfcn/Makefile (tests): Add tststatic5.
3316 (tests-static): Likewise.
3317 (modules-names): Add modstatic5.
3318 (tststatic5-ENV): New variable.
3319 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
3320
f91f1c0f
MR
3321 [BZ #15022]
3322 * elf/dl-support.c (_dl_main_map): New variable.
3323 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
3324 (_dl_nns, _dl_load_adds): Set to 1.
3325 (_dl_initial_searchlist): Refer to _dl_main_map.
3326 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
3327 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
3328 call to _dl_get_origin.
3329 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
3330 around call_map.
3331 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
3332 * dlfcn/modstatic3.c: New file.
3333 * dlfcn/tststatic3.c: New file.
3334 * dlfcn/tststatic4.c: New file.
3335 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
3336 (tests-static): Likewise.
3337 (modules-names): Add modstatic3.
3338 (tststatic3-ENV, tststatic4-ENV): New variables.
3339 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
3340 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
3341
cbe7d24b
JM
33422013-06-26 Joseph Myers <joseph@codesourcery.com>
3343
3344 * configure.in (CC): Require GCC version 4.4 or later.
3345 * configure: Regenerated.
3346 * manual/install.texi (Tools for Compilation): Update GCC version
3347 requirement.
3348 * INSTALL: Regenerated.
3349
11b8a0e1
LD
33502013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3351
3352 [BZ #15674]
bb5bb87c
L
3353 * string/test-memcmp.c (check2): New.
3354 (main): Call check2.
3355
11b8a0e1
LD
3356 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
3357
b0037103
MR
33582013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
3359
3360 [BZ #15022]
3361 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
3362 over to...
3363 (dl_open_worker) [!SHARED]: ... here.
3364
c18c701d
RA
33652013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3366
3367 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
3368
1d17fa5f
RH
33692013-06-25 Richard Henderson <rth@redhat.com>
3370
3371 * locale/programs/locarchive.c: Include <libc-internal.h>
3372
8fcb833a
JM
33732013-06-25 Joseph Myers <joseph@codesourcery.com>
3374
3375 * manual/texinfo.tex: Update to version 2013-06-21.17, with
3376 trailing whitespace removed.
3377
17db6e8d
MF
33782013-06-24 Mike Frysinger <vapier@gentoo.org>
3379
3380 [BZ #10283]
17db6e8d
MF
3381 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
3382 * locale/programs/locarchive.c: Include libc-mmap.h.
3383 (prepare_address_space): Take two new outputs (the mmap base and len).
3384 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
3385 values.
3386 (create_archive): Declare new mmap base and len values for
3387 prepare_address_space, and store the result in ah.
3388 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
3389 (enlarge_archive): If ah->mmap_base is not NULL, use that and
3390 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3391 Declare new mmap base and len values for
3392 prepare_address_space, and store the result in new_ah.
3393 (open_archive): Declare new mmap base and len values for
3394 prepare_address_space, and store the result in ah.
3395 (close_archive): If ah->mmap_base is not NULL, use that and
3396 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3397 * sysdeps/generic/libc-mmap.h: New file.
3398
d605071e
MF
33992013-06-24 Mike Frysinger <vapier@gentoo.org>
3400
3401 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
3402 (ALIGN_UP): Likewise.
3403 (PTR_ALIGN_DOWN): Likewise.
3404 (PTR_ALIGN_UP): Likewise.
3405
2f063a6e
RA
34062013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3407
3408 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
3409 entry mapped to PPC_PLATFORM_POWER8.
3410 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
3411 POWER8.
3412 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
3413 (_dl_string_platform): Add case for exporting platform position for
3414 POWER8.
3415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
3416 search path to sysdeps/powerpc/powerpc32/power8 directory.
3417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
3418 search path to sysdeps/powerpc/powerpc64/power8 directory.
3419 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
3420 power7 directories.
3421 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
3422 power7 directories.
3423
a31ee4b3
SP
34242013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3425
a74ca98f
SP
3426 * INSTALL: Regenerate.
3427
a31ee4b3
SP
3428 * nscd/connections.c (nscd_init): Fix comment.
3429
695c378f
JM
34302013-06-22 Joseph Myers <joseph@codesourcery.com>
3431
d8412221
JM
3432 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
3433
695c378f
JM
3434 [BZ #15667]
3435 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
3436 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
3437
d1d54715
MR
34382013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
3439
3440 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
3441 DL_DST_REQ_STATIC.
3442 (DL_DST_REQ_STATIC): Remove macro.
3443
8fdda7af
JM
34442013-06-21 Joseph Myers <joseph@codesourcery.com>
3445
3446 [BZ #7006]
3447 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
3448 with a shift of 0 bits.
3449
f3bc5e5a
MR
34502013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
3451
3452 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
3453 $(tststatic-ENV).
3454
be09e8c9
KK
34552013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3456
3457 [BZ #15655]
3458 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
3459
85c2e611
AZ
34602013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3461
3462 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
3463 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
3464 accepts -fno-tree-loop-distribute-patterns.
3465 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
3466 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
3467 recursive call.
3468 * string/memset.c (memset): Likewise.
3469 * string/test-memmove.c (simple_memmove): Disable loop transformation
3470 to library calls.
3471 * string/test-memset.c (simple_memset): Likewise.
3472 * benchtests/bench-memmove.c (simple_memmove): Likewise.
3473 * benchtests/bench-memset.c (simple_memset): Likewise.
3474 * configure: Regenerated.
3475
c91e0825
JM
34762013-06-20 Joseph Myers <joseph@codesourcery.com>
3477
b8c792af
JM
3478 * math/test-misc.c (main): Ignore fesetround failure when failures
3479 of subsequent rounding tests would be ignored.
3480
c91e0825
JM
3481 [BZ #15654]
3482 * math/fedisblxcpt.c (fedisableexcept): Return 0.
3483 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
3484 * math/fegetenv.c (__fegetenv): Return 0.
3485 * math/fegetexcept.c (fegetexcept): Return 0.
3486 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
3487 FE_TONEAREST.
3488 * math/feholdexcpt.c (feholdexcept): Return 0.
3489 * math/fesetenv.c (__fesetenv): Return 0.
3490 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
3491 argument FE_TONEAREST.
3492 * math/feupdateenv.c (__feupdateenv): Return 0.
3493 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
3494
bfcacbde
RM
34952013-06-18 Roland McGrath <roland@hack.frob.com>
3496
3497 * elf/rtld-Rules (rtld-compile-command.S): New variable.
3498 (rtld-compile-command.s, rtld-compile-command.c): New variables.
3499 ($(objpfx)rtld-%.os rules): Use them.
3500
e55a9b25
AZ
35012013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3502
3503 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
3504 fields.
3505
346d65b3
RM
35062013-06-17 Roland McGrath <roland@hack.frob.com>
3507
12086fb4
RM
3508 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
3509 length of target pattern, then descending length of dependency pattern.
3510 * configure.in (AWK): Require gawk 3.1.2 or newer.
3511 * manual/install.texi (Tools for Compilation): Say that we do.
3512 * configure: Regenerated.
3513
346d65b3
RM
3514 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
3515 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
3516 * scripts/sysd-rules.awk: ... this new script.
3517 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
3518 than a glob-style pattern.
3519
1a846317
JM
35202013-06-17 Joseph Myers <joseph@codesourcery.com>
3521
3522 * math/test-misc.c (main): Do not treat incorrectly rounded
3523 conversions as failure unless ROUNDING_TESTS passes.
3524
8fc75e6f
JM
35252013-06-15 Joseph Myers <joseph@codesourcery.com>
3526
3711a167
JM
3527 [BZ #15631]
3528 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
3529 restore exception state around main square root computation, then
3530 check for inexactness explicitly.
3531
8fc75e6f
JM
3532 * math/libm-test.inc (fma_test_data): Add another test.
3533
61dd6208
SP
35342013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3535
adf23d2c
SP
3536 * manual/threads.texi (Non-POSIX Extensions): New document
3537 node. Document pthread_getattr_default_np and
3538 pthread_setattr_default_np.
3539
61dd6208
SP
3540 * Versions.def (libpthread): Add GLIBC_2.18.
3541 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
3542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3543 Likewise.
3544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3545 Likewise.
3546 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3547 Likewise.
3548 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3549 Likewise.
3550 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
3551 Likewise.
3552 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3553 Likewise.
3554 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3555 Likewise.
3556 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3557 Likewise.
3558 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3559 Likewise.
3560
d086fc7b
LD
35612013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3562
3563 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3564 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
3565
747ef469
SP
35662013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3567 H.J. Lu <hjl.tools@gmail.com>
3568
3569 [BZ #15627]
3570 * sysdeps/x86_64/rtld-memset.c: Remove file.
3571 * sysdeps/x86_64/rtld-memset.S: New file.
3572
1b2feed2
JM
35732013-06-14 Joseph Myers <joseph@codesourcery.com>
3574
3575 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
3576 (test_in_one_mode): Take arguments for whether the rounding mode
3577 is supported for each floating-point type.
3578 (do_test): Pass new arguments to test_in_one_mode using
3579 ROUNDING_TESTS.
3580
a58ad3f8
RM
35812013-06-13 Roland McGrath <roland@hack.frob.com>
3582
3583 * posix/tst-waitid.c (do_test): Distinguish different instances of
3584 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
3585 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
3586 before entering the kernel for waitpid.
3587
c204ab28
SP
35882013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3589
3590 * NEWS: Fix note on clock function precision. Text by Roland
3591 McGrath.
3592
f4a29fba
RM
35932013-06-13 Roland McGrath <roland@hack.frob.com>
3594
3595 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
3596 it into place only when and if the sanity check passes.
3597
1f24b9ad
JM
35982013-06-13 Joseph Myers <joseph@codesourcery.com>
3599
3600 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
3601 output for whether conversion result is exact. Take argument
3602 indicating whether type is IBM long double.
3603 (round_for_all): Change need_exact field to ibm_ld.
3604 * stdlib/tst-strtod-round.c (struct exactness): New type.
3605 (struct test): Change bool ld_ok field to struct exactness exact.
3606 (TEST): Update all definitions for change to field.
3607 (tests): Regenerate array contents.
3608 (test_in_one_mode): Take pointer to new field instead of old ld_ok
3609 field value. Check for IBM long double here.
3610 (do_test): Update calls to test_in_one_mode.
3611
58206c68
SP
36122013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3613
3614 [BZ #12515]
3615 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
3616 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
3617
2d6f4c5b 36182013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
3619
3620 [BZ #15605]
3621 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
3622 generated by the compiler on loop optimizations.
3623 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
3624 general definitions.
3625
94f2c076
JM
36262013-06-12 Joseph Myers <joseph@codesourcery.com>
3627
3628 * math/bug-nextafter.c: Include <math-tests.h>.
3629 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3630 the relevant type.
3631 * math/bug-nexttoward.c: Include <math-tests.h>.
3632 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3633 the relevant type.
3634 * math/test-misc.c: Include <math-tests.h>.
3635 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3636 the relevant type.
3637
e0e50a0a
AJ
36382013-06-12 Andreas Jaeger <aj@suse.de>
3639
3640 * po/ia.po: Update Interlingua translation from translation
3641 project.
3642
25061094
SP
36432013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3644
3645 * include/fenv.h: Include stdbool.h.
3646 (struct rm_ctx): New structure.
3647 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
3648 Define macro.
3649 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
3650 (SET_RESTORE_ROUNDF): Likewise.
3651 (SET_RESTORE_ROUNDL): Likewise.
3652 (SET_RESTORE_ROUND_NOEX): Likewise.
3653 (SET_RESTORE_ROUND_NOEXF): Likewise.
3654 (SET_RESTORE_ROUND_NOEXL): Likewise.
3655 (SET_RESTORE_ROUND_53BIT): Likewise.
3656 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
3657 (libc_feresetround_noexf_ctx): Likewise.
3658 (libc_feresetround_noexl_ctx): Likewise.
3659 (libc_feholdsetround_53bit_ctx): Likewise.
3660 (libc_feresetround_53bit_ctx): Likewise.
3661 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
3662 (libc_feholdexcept_setround_sse_ctx): New function.
3663 (libc_fesetenv_sse_ctx): Likewise.
3664 (libc_feupdateenv_sse_ctx): Likewise.
3665 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
3666 (libc_feholdexcept_setround_387_ctx): Likewise.
3667 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
3668 (libc_feholdsetround_387_prec_ctx): Likewise.
3669 (libc_feholdsetround_387_ctx): Likewise.
3670 (libc_feholdsetround_387_53bit_ctx): Likewise.
3671 (libc_feholdsetround_sse_ctx): Likewise.
3672 (libc_feresetround_sse_ctx): Likewise.
3673 (libc_feresetround_387_ctx): Likewise.
3674 (libc_feupdateenv_387_ctx): Likewise.
3675 (libc_feholdexcept_setroundf_ctx): Define macro.
3676 (libc_fesetenvf_ctx): Likewise.
3677 (libc_feupdateenvf_ctx): Likewise.
3678 (libc_feholdsetroundf_ctx): Likewise.
3679 (libc_feresetroundf_ctx): Likewise.
3680 (libc_feholdexcept_setround_ctx): Likewise.
3681 (libc_fesetenv_ctx): Likewise.
3682 (libc_feupdateenv_ctx): Likewise.
3683 (libc_feholdsetround_ctx): Likewise.
3684 (libc_feresetround_ctx): Likewise.
3685 (libc_feholdexcept_setroundl_ctx): Likewise.
3686 (libc_feupdateenvl_ctx): Likewise.
3687 (libc_feholdsetroundl_ctx): Likewise.
3688 (libc_feresetroundl_ctx): Likewise.
3689 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
3690 (libc_feresetround_53bit_ctx): Likewise.
3691
59b30555
SP
36922013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3693
3694 * locale/iso-639.def: Convert to UTF-8.
3695
f1d73d30
JM
36962013-06-11 Joseph Myers <joseph@codesourcery.com>
3697
3698 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
3699 (EXCEPTION_TESTS_double): Likewise.
3700 (EXCEPTION_TESTS_long_double): Likewise.
3701 (EXCEPTION_TESTS): Likewise.
3702 * math/libm-test.inc (test_exceptions): Only test exceptions if
3703 EXCEPTION_TESTS (FLOAT).
3704
94aca5e7
SP
37052013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3706
3707 * benchtests/Makefile (string-bench): Add strcpy_chk and
3708 stpcpy_chk.
3709 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
3710 * benchtests/bench-stpcpy_chk.c: New file.
3711 * benchtests/bench-strcpy_chk-ifunc.c: New file.
3712 * benchtests/bench-strcpy_chk.c: New file.
3713 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
3714 code.
3715 (do_test): Likewise.
3716
fac0c5f2
RA
37172013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3718
3719 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
3720 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
3721 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
3722 with tabs where appropriate.
3723 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
3724 dl-procinfo.h.
3725 [PPC_PLATFORM_PPC440]: Likewise.
3726 [PPC_PLATFORM_PPC464]: Likewise.
3727 [PPC_PLATFORM_PPC476]: Likewise.
3728 (_dl_string_platform): Add support for detecting ppc405, ppc440,
3729 ppc464, and ppc476 platform strings merging from ports/
3730 dl-procinfo.h.
3731
f22bc486
AS
37322013-06-11 Andreas Schwab <schwab@suse.de>
3733
3734 [BZ #14991]
3735 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
3736 (from_ucs4_idx): Regenerate.
3737 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
3738 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
3739 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
3740 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
3741 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
3742 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
3743 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
3744 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
3745 from FROM_LOOP and TO_LOOP specific macros.
3746 (BODY): Handle combining characters.
3747 * iconvdata/BIG5HKSCS.irreversible: Update.
3748 * iconvdata/BIG5HKSCS.precomposed: New file.
3749 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
3750 characters.
3751 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
3752
c1f75dc3
SP
37532013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3754
4eacded2
SP
3755 * include/sys/time.h: Fix indentation and add copyright header.
3756
fec799f8
SP
3757 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
3758 (do_test): Likewise.
3759 * string/test-memchr.c (do_one_test): Likewise.
3760 (do_test): Likewise.
3761 * string/test-memcmp.c (do_one_test): Likewise.
3762 (do_test): Likewise.
3763 * string/test-memcpy.c (do_one_test): Likewise.
3764 (do_test): Likewise.
3765 * string/test-memmem.c (do_one_test): Likewise.
3766 (do_test): Likewise.
3767 (do_random_tests): Likewise.
3768 * string/test-memmove.c (do_one_test): Likewise.
3769 (do_test): Likewise.
3770 * string/test-memset.c (do_one_test): Likewise.
3771 (do_test): Likewise.
3772 * string/test-rawmemchr.c (do_one_test): Likewise.
3773 (do_test): Likewise.
3774 * string/test-strcasecmp.c (do_one_test): Likewise.
3775 (do_test): Likewise.
3776 * string/test-strcasestr.c (do_one_test): Likewise.
3777 (do_test): Likewise.
3778 * string/test-strcat.c (do_one_test): Likewise.
3779 (do_test): Likewise.
3780 * string/test-strchr.c (do_one_test): Likewise.
3781 (do_test): Likewise.
3782 * string/test-strcmp.c (do_one_test): Likewise.
3783 (do_test): Likewise.
3784 * string/test-strcpy.c (do_one_test): Likewise.
3785 (do_test): Likewise.
3786 * string/test-string.h: Likewise.
3787 (test_init): Likewise.
3788 * string/test-strlen.c (do_one_test): Likewise.
3789 (do_test): Likewise.
3790 * string/test-strncasecmp.c (do_one_test): Likewise.
3791 (do_test): Likewise.
3792 * string/test-strncat.c (do_one_test): Likewise.
3793 (do_test): Likewise.
3794 * string/test-strncmp.c (do_one_test): Likewise.
3795 (do_test_limit): Likewise.
3796 (do_test): Likewise.
3797 * string/test-strncpy.c (do_one_test): Likewise.
3798 (do_test): Likewise.
3799 * string/test-strnlen.c (do_one_test): Likewise.
3800 (do_test): Likewise.
3801 * string/test-strpbrk.c (do_one_test): Likewise.
3802 (do_test): Likewise.
3803 * string/test-strrchr.c (do_one_test): Likewise.
3804 (do_test): Likewise.
3805 * string/test-strspn.c (do_one_test): Likewise.
3806 (do_test): Likewise.
3807 * string/test-strstr.c (do_one_test): Likewise.
3808 (do_test): Likewise.
3809
97020474
SP
3810 * benchtests/Makefile (string-bench): Add string benchmarks.
3811 * benchtests/bench-bcopy-ifunc.c: New file.
3812 * benchtests/bench-bcopy.c: New file.
3813 * benchtests/bench-bzero-ifunc.c: New file.
3814 * benchtests/bench-bzero.c: New file.
3815 * benchtests/bench-memccpy-ifunc.c: New file.
3816 * benchtests/bench-memccpy.c: New file.
3817 * benchtests/bench-memchr-ifunc.c: New file.
3818 * benchtests/bench-memchr.c: New file.
3819 * benchtests/bench-memcmp-ifunc.c: New file.
3820 * benchtests/bench-memcmp.c: New file.
3821 * benchtests/bench-memmem-ifunc.c: New file.
3822 * benchtests/bench-memmem.c: New file.
3823 * benchtests/bench-memmove-ifunc.c: New file.
3824 * benchtests/bench-memmove.c: New file.
3825 * benchtests/bench-mempcpy-ifunc.c: New file.
3826 * benchtests/bench-mempcpy.c: New file.
3827 * benchtests/bench-memset-ifunc.c: New file.
3828 * benchtests/bench-memset.c: New file.
3829 * benchtests/bench-rawmemchr-ifunc.c: New file.
3830 * benchtests/bench-rawmemchr.c: New file.
3831 * benchtests/bench-stpcpy-ifunc.c: New file.
3832 * benchtests/bench-stpcpy.c: New file.
3833 * benchtests/bench-stpncpy-ifunc.c: New file.
3834 * benchtests/bench-stpncpy.c: New file.
3835 * benchtests/bench-strcasecmp-ifunc.c: New file.
3836 * benchtests/bench-strcasecmp.c: New file.
3837 * benchtests/bench-strcasestr-ifunc.c: New file.
3838 * benchtests/bench-strcasestr.c: New file.
3839 * benchtests/bench-strcat-ifunc.c: New file.
3840 * benchtests/bench-strcat.c: New file.
3841 * benchtests/bench-strchr-ifunc.c: New file.
3842 * benchtests/bench-strchr.c: New file.
3843 * benchtests/bench-strchrnul-ifunc.c: New file.
3844 * benchtests/bench-strchrnul.c: New file.
3845 * benchtests/bench-strcmp-ifunc.c: New file.
3846 * benchtests/bench-strcmp.c: New file.
3847 * benchtests/bench-strcpy-ifunc.c: New file.
3848 * benchtests/bench-strcpy.c: New file.
3849 * benchtests/bench-strcspn-ifunc.c: New file.
3850 * benchtests/bench-strcspn.c: New file.
3851 * benchtests/bench-strlen-ifunc.c: New file.
3852 * benchtests/bench-strlen.c: New file.
3853 * benchtests/bench-strncasecmp-ifunc.c: New file.
3854 * benchtests/bench-strncasecmp.c: New file.
3855 * benchtests/bench-strncat-ifunc.c: New file.
3856 * benchtests/bench-strncat.c: New file.
3857 * benchtests/bench-strncmp-ifunc.c: New file.
3858 * benchtests/bench-strncmp.c: New file.
3859 * benchtests/bench-strncpy-ifunc.c: New file.
3860 * benchtests/bench-strncpy.c: New file.
3861 * benchtests/bench-strnlen-ifunc.c: New file.
3862 * benchtests/bench-strnlen.c: New file.
3863 * benchtests/bench-strpbrk-ifunc.c: New file.
3864 * benchtests/bench-strpbrk.c: New file.
3865 * benchtests/bench-strrchr-ifunc.c: New file.
3866 * benchtests/bench-strrchr.c: New file.
3867 * benchtests/bench-strspn-ifunc.c: New file.
3868 * benchtests/bench-strspn.c: New file.
3869 * benchtests/bench-strstr-ifunc.c: New file.
3870 * benchtests/bench-strstr.c: New file.
3871
c1f75dc3
SP
3872 * benchtests/Makefile: Disable parallel execution of targets.
3873 (string-bench): Add memcpy.
3874 (benchset): New variable to store a list of benchmark sets.
3875 (bench-func): Renamed from bench.
3876 (bench-set): New target.
3877 (bench): Depend on bench-func and bench-set.
3878 * benchtests/README: Add section on benchmark sets.
3879 * benchtests/bench-memcpy-ifunc.c: New file.
3880 * benchtests/bench-memcpy.c: New file.
3881 * benchtests/bench-string.h: New file.
3882
50fd745b
AS
38832013-06-11 Andreas Schwab <schwab@suse.de>
3884
3885 [BZ #15577]
3886 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
3887 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
3888 values in the triple.
3889 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
3890 terminator in the group key.
3891
3ee7e9fe
AJ
38922013-06-11 Andreas Jaeger <aj@suse.de>
3893
3894 * po/zh_TW.po: Update Chinese (traditional) translation from
3895 translation project.
3896
89fb6835
SP
38972013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3898
3899 * include/time.h (__clock_gettime): Add libc_hidden_proto.
3900 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
3901 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
3902 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3903 (clock_getcpuclockid): Likewise.
3904 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
3905 Add weak_alias and libc_hidden_def.
3906 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
3907 * rt/clock_gettime.c (clock_gettime): Rename to
3908 __clock_gettime. Add weak_alias and libc_hidden_def.
3909 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
3910 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
3911 __clock_nanosleep. Add weak_alias and libc_hidden_def.
3912 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
3913 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
3914 Likewise.
3915 * rt/clock_settime.c (clock_settime): Rename to
3916 __clock_settime. Add weak_alias and libc_hidden_def.
3917 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
3918
0efa6f8b
JM
39192013-06-10 Joseph Myers <joseph@codesourcery.com>
3920
b8c61b4b
JM
3921 * mach/err_boot.sub: Remove trailing whitespace.
3922 * mach/err_ipc.sub: Likewise.
3923 * mach/err_mach.sub: Likewise.
3924
0efa6f8b
JM
3925 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
3926 (ROUNDING_TESTS_double): Likewise.
3927 (ROUNDING_TESTS_long_double): Likewise.
3928 (ROUNDING_TESTS): Likewise.
3929 * math/libm-test.inc: Include <math-tests.h>.
3930 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
3931 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3932 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3933 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3934
50b818bf
SP
39352013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3936
3937 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
3938 of assigning.
3939
60d2f8f3
JM
39402013-06-08 Joseph Myers <joseph@codesourcery.com>
3941
4902d2c3
JM
3942 * sysdeps/gnu/errlist.awk: Do not generate space at end of
3943 otherwise empty TRANS lines.
3944 * sysdeps/gnu/errlist.c: Regenerated.
3945
60d2f8f3
JM
3946 * catgets/gencat.c (error_print): Use (void) in function
3947 definition.
3948 * crypt/crypt_util.c (__init_des): Likewise.
3949 * crypt/speeds.c (Stop): Likewise.
3950 (main): Likewise.
3951 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
3952 * inet/ruserpass.c (token): Likewise.
3953 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
3954 * intl/localealias.c (extend_alias_table): Likewise.
3955 * intl/plural-exp.c (init_germanic_plural): Likewise.
3956 * libio/fcloseall.c (__fcloseall): Likewise.
3957 * libio/genops.c (_IO_flush_all): Likewise.
3958 (_IO_flush_all_linebuffered): Likewise.
3959 (_IO_cleanup): Likewise.
3960 (_IO_iter_begin): Likewise.
3961 (_IO_iter_end): Likewise.
3962 (_IO_list_lock): Likewise.
3963 (_IO_list_unlock): Likewise.
3964 (_IO_list_resetlock): Likewise.
3965 * libio/getchar.c (getchar): Likewise.
3966 * libio/getchar_u.c (getchar_unlocked): Likewise.
3967 * libio/getwchar.c (getwchar): Likewise.
3968 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
3969 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
3970 * login/getpt.c (__getpt): Likewise.
3971 * login/tst-utmp.c (main): Likewise.
3972 * malloc/hooks.c (__malloc_check_init): Likewise.
3973 * malloc/malloc.c (__malloc_stats): Likewise.
3974 * malloc/mtrace.c (tr_break): Likewise.
3975 (mtrace): Likewise.
3976 (muntrace): Likewise.
3977 * misc/fstab.c (endfsent): Likewise.
3978 * misc/getclktck.c (__getclktck): Likewise.
3979 * misc/getdtsz.c (__getdtablesize): Likewise.
3980 * misc/gethostid.c (gethostid): Likewise.
3981 * misc/getpagesize.c (__getpagesize): Likewise.
3982 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
3983 (__get_nprocs): Likewise.
3984 (__get_phys_pages): Likewise.
3985 (__get_avphys_pages): Likewise.
3986 * misc/getttyent.c (getttyent): Likewise.
3987 (setttyent): Likewise.
3988 (endttyent): Likewise.
3989 * misc/getusershell.c (getusershell): Likewise.
3990 (endusershell): Likewise.
3991 (setusershell): Likewise.
3992 (initshells): Likewise.
3993 * misc/hsearch.c (__hdestroy): Likewise.
3994 * misc/sync.c (sync): Likewise.
3995 * misc/syslog.c (closelog_internal): Likewise.
3996 (closelog): Likewise.
3997 * misc/ttyslot.c (ttyslot): Likewise.
3998 * misc/vhangup.c (vhangup): Likewise.
3999 * posix/fork.c (__fork): Likewise.
4000 * posix/getegid.c (__getegid): Likewise.
4001 * posix/geteuid.c (__geteuid): Likewise.
4002 * posix/getgid.c (__getgid): Likewise.
4003 * posix/getpid.c (__getpid): Likewise.
4004 * posix/getppid.c (__getppid): Likewise.
4005 * posix/getuid.c (__getuid): Likewise.
4006 * posix/pause.c (pause): Likewise.
4007 * posix/setpgrp.c (setpgrp): Likewise.
4008 * posix/setsid.c (__setsid): Likewise.
4009 * posix/test-vfork.c (noop): Likewise.
4010 * resolv/gethnamaddr.c (_endhtent): Likewise.
4011 (_gethtent): Likewise.
4012 (ht_endhostent): Likewise.
4013 (gethostent): Likewise.
4014 (dns_service): Likewise.
4015 * stdlib/drand48.c (drand48): Likewise.
4016 * stdlib/lrand48.c (lrand48): Likewise.
4017 * stdlib/mrand48.c (mrand48): Likewise.
4018 * stdlib/rand.c (rand): Likewise.
4019 * stdlib/random.c (__random): Likewise.
4020 * stdlib/setenv.c (clearenv): Likewise.
4021 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
4022 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
4023 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
4024 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
4025 (__get_nprocs): Likewise.
4026 (__get_phys_pages): Likewise.
4027 (__get_avphys_pages): Likewise.
4028 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
4029 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
4030 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
4031 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
4032 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
4033 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
4034 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
4035 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
4036 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
4037 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
4038 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
4039 * sysdeps/mach/hurd/sync.c (sync): Likewise.
4040 * sysdeps/posix/clock.c (clock): Likewise.
4041 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
4042 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
4043 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
4044 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
4045 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
4046 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
4047 (__get_nprocs_conf): Likewise.
4048 (__get_phys_pages): Likewise.
4049 (__get_avphys_pages): Likewise.
4050 * time/clock.c (clock): Likewise.
4051 * time/tzset.c (__tzname_max): Likewise.
4052
2e09a79a
JM
40532013-06-07 Joseph Myers <joseph@codesourcery.com>
4054
4055 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
4056 (__bswap_32): Do not use "register".
4057 * crypt/crypt.c (_ufc_doit_r): Likewise.
4058 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
4059 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
4060 * gmon/gmon.c (__monstartup): Likewise.
4061 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
4062 * hurd/hurdmalloc.c (more_memory): Likewise.
4063 (malloc): Likewise.
4064 (free): Likewise.
4065 (realloc): Likewise.
4066 (malloc_fork_prepare): Likewise.
4067 (malloc_fork_parent): Likewise.
4068 (malloc_fork_child): Likewise.
4069 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
4070 (_svcauth_des): Likewise.
4071 * inet/inet_lnaof.c (inet_lnaof): Likewise.
4072 * inet/inet_net.c (inet_network): Likewise.
4073 * inet/inet_netof.c (inet_netof): Likewise.
4074 * inet/rcmd.c (__validuser2_sa): Likewise.
4075 * io/fts.c (fts_open): Likewise.
4076 (fts_load): Likewise.
4077 (fts_close): Likewise.
4078 (fts_read): Likewise.
4079 (fts_children): Likewise.
4080 (fts_build): Likewise.
4081 (fts_stat): Likewise.
4082 (fts_sort): Likewise.
4083 (fts_alloc): Likewise.
4084 (fts_lfree): Likewise.
4085 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
4086 (_IO_file_xsgetn): Likewise.
4087 (_IO_file_xsgetn_mmap): Likewise.
4088 * libio/iofopncook.c (_IO_cookie_read): Likewise.
4089 (_IO_cookie_write): Likewise.
4090 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
4091 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
4092 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
4093 * malloc/obstack.c (_obstack_begin): Likewise.
4094 (_obstack_begin_1): Likewise.
4095 (_obstack_newchunk): Likewise.
4096 (_obstack_allocated_p): Likewise.
4097 (obstack_free): Likewise.
4098 (_obstack_memory_used): Likewise.
4099 * misc/getttyent.c (getttynam): Likewise.
4100 (getttyent): Likewise.
4101 (skip): Likewise.
4102 (value): Likewise.
4103 * misc/getusershell.c (initshells): Likewise.
4104 * misc/syslog.c (__vsyslog_chk): Likewise.
4105 * misc/ttyslot.c (ttyslot): Likewise.
4106 * nis/nis_hash.c (__nis_hash): Likewise.
4107 * posix/fnmatch_loop.c (FCT): Likewise.
4108 * posix/getconf.c (print_all): Likewise.
4109 (main): Likewise.
4110 * posix/getopt.c (exchange): Likewise.
4111 * posix/glob.c (globfree): Likewise.
4112 (prefix_array): Likewise.
4113 (__glob_pattern_type): Likewise.
4114 * resolv/arpa/nameser.h (NS_GET16): Likewise.
4115 (NS_GET32): Likewise.
4116 (NS_PUT16): Likewise.
4117 (NS_PUT32): Likewise.
4118 * resolv/gethnamaddr.c (getanswer): Likewise.
4119 (gethostbyname2): Likewise.
4120 (gethostbyaddr): Likewise.
4121 (_gethtent): Likewise.
4122 (_gethtbyname2): Likewise.
4123 (_gethtbyaddr): Likewise.
4124 * resolv/ns_print.c (dst_s_get_int16): Likewise.
4125 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4126 * resolv/res_init.c (__res_vinit): Likewise.
4127 (net_mask): Likewise.
4128 * resolv/res_mkquery.c (outchar): Likewise.
4129 (PRINT): Likewise.
4130 * stdio-common/printf_fp.c (outchar): Likewise.
4131 (PRINT): Likewise.
4132 * stdio-common/printf_fphex.c (outchar): Likewise.
4133 (PRINT): Likewise.
4134 * stdio-common/printf_size.c (outchar): Likewise.
4135 (PRINT): Likewise.
4136 * stdio-common/test_rdwr.c (main): Likewise.
4137 * stdio-common/tfformat.c (matches): Likewise.
4138 * stdio-common/vfprintf.c (outchar): Likewise.
4139 (printf_unknown): Likewise.
4140 (buffered_vfprintf): Likewise.
4141 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4142 * stdio-common/xbug.c (AppendToBuffer): Likewise.
4143 (ReadFile): Likewise.
4144 * stdlib/qsort.c (SWAP): Likewise.
4145 (_quicksort): Likewise.
4146 * stdlib/setenv.c (__add_to_environ): Likewise.
4147 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4148 * stdlib/strtol_l.c (__strtol_l): Likewise.
4149 * stdlib/tst-strtod.c (main): Likewise.
4150 * stdlib/tst-strtol.c (main): Likewise.
4151 * stdlib/tst-strtoll.c (main): Likewise.
4152 * string/bits/string2.h (__strcmp_cc): Likewise.
4153 (__strcmp_cg): Likewise.
4154 (__strcspn_c1): Likewise.
4155 (__strcspn_c2): Likewise.
4156 (__strcspn_c3): Likewise.
4157 (__strspn_c1): Likewise.
4158 (__strspn_c2): Likewise.
4159 (__strspn_c3): Likewise.
4160 (__strsep_1c): Likewise.
4161 (__strsep_2c): Likewise.
4162 (__strsep_3c): Likewise.
4163 * string/memccpy.c (__memccpy): Likewise.
4164 * string/stpcpy.c (__stpcpy): Likewise.
4165 * string/strcmp.c (strcmp): Likewise.
4166 * string/strrchr.c (strrchr): Likewise.
4167 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
4168 Likewise.
4169 * sysdeps/mach/hurd/getcwd.c
4170 (_hurd_canonicalize_directory_name_internal): Likewise.
4171 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
4172 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
4173 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
4174 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
4175 Likewise, in both definitions.
4176 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
4177 definitions.
4178 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
4179 64] (__bswap_64): Likewise.
4180 * time/test_time.c (main): Likewise.
4181 * time/tzfile.c (__tzfile_read): Likewise.
4182 (__tzfile_compute): Likewise.
4183 * time/tzset.c (__tzset_parse_tz): Likewise.
4184 (tzset_internal): Likewise.
4185 (compute_change): Likewise.
4186 * wcsmbs/wcscat.c (__wcscat): Likewise.
4187 * wcsmbs/wcschr.c (wcschr): Likewise.
4188 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
4189 * wcsmbs/wcscspn.c (wcscspn): Likewise.
4190 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
4191 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
4192 * wcsmbs/wcsspn.c (wcsspn): Likewise.
4193 * wcsmbs/wcsstr.c (wcsstr): Likewise.
4194 * wcsmbs/wmemchr.c (wmemchr): Likewise.
4195 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4196 * wcsmbs/wmemset.c (wmemset): Likewise.
4197
9e54314b
JM
41982013-06-06 Joseph Myers <joseph@codesourcery.com>
4199
4200 * scripts/config.guess: Update to version 2013-05-16.
4201 * scripts/config.sub: Update to version 2013-04-24.
4202 * scripts/install-sh: Update to version 2011-11-20.07.
4203 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
4204 * scripts/move-if-change: Update to version 2012-01-06 07:23.
4205
350635a5
OB
42062013-06-06 Ondřej Bílka <neleai@seznam.cz>
4207
4208 * debug/fgetws_u_chk.c: Fix leading whitespaces.
4209 * elf/sln.c: Likewise.
4210 * hurd/hurd/ioctl.h: Likewise.
4211 * hurd/hurdmalloc.c: Likewise.
4212 * hurd/xattr.c: Likewise.
4213 * include/shlib-compat.h: Likewise.
4214 * inet/ruserpass.c: Likewise.
4215 * libio/iofgets_u.c: Likewise.
4216 * libio/iofgetws_u.c: Likewise.
4217 * locale/programs/ld-identification.c: Likewise.
4218 * locale/programs/ld-time.c: Likewise.
4219 * mach/msg-destroy.c: Likewise.
4220 * nss/nss_files/files-netgrp.c: Likewise.
4221 * resolv/res_data.c: Likewise.
4222 * soft-fp/op-1.h: Likewise.
4223 * soft-fp/op-2.h: Likewise.
4224 * soft-fp/op-4.h: Likewise.
4225 * soft-fp/op-common.h: Likewise.
4226 * stdio-common/printf_fphex.c: Likewise.
4227 * stdlib/strtod_l.c: Likewise.
4228 * sunrpc/rpc/clnt.h: Likewise.
4229 * sysdeps/generic/framestate.c: Likewise.
4230 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4231 * sysdeps/i386/bsd-setjmp.S: Likewise.
4232 * sysdeps/i386/__longjmp.S: Likewise.
4233 * sysdeps/i386/setjmp.S: Likewise.
4234 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4235 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4236 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4237 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4238 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4239 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4240 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4241 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4242 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4243 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4244 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4245 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4246 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4247 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4248 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4249 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4250 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4251 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
4252 * sysdeps/ieee754/support.c: Likewise.
4253 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4254 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
4255 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
4256 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
4257 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
4258 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
4259 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
4260 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
4261 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
4262 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
4263 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
4264 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
4265 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
4266 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
4267 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
4268 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
4269 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4271
44a988af
OB
42722013-06-05 Ondřej Bílka <neleai@seznam.cz>
4273
25506f09 4274 * posix/transbug.c: Remove executable mode.
44a988af 4275
9c84384c
JM
42762013-06-05 Joseph Myers <joseph@codesourcery.com>
4277
4278 * crypt/speeds.c: Remove trailing whitespace.
4279 * dlfcn/default.c: Likewise.
4280 * elf/ifuncdep2.c: Likewise.
4281 * elf/ifuncmain1.c: Likewise.
4282 * elf/ifuncmain1vis.c: Likewise.
4283 * elf/testobj.h: Likewise.
4284 * elf/tst-stackguard1.c: Likewise.
4285 * gmon/sys/gmon.h: Likewise.
4286 * hurd/hurdmsg.c: Likewise.
4287 * hurd/new-fd.c: Likewise.
4288 * hurd/ports-get.c: Likewise.
4289 * iconvdata/ibm1008_420.c: Likewise.
4290 * inet/tst-getni1.c: Likewise.
4291 * inet/tst-getni2.c: Likewise.
4292 * libio/ioungetc.c: Likewise.
4293 * libio/wfiledoalloc.c: Likewise.
4294 * manual/libm-err-tab.pl: Likewise.
4295 * math/w_dremf.c: Likewise.
4296 * misc/ftruncate.c: Likewise.
4297 * posix/bug-glob2.c: Likewise.
4298 * posix/tst-pcre.c: Likewise.
4299 * posix/wait4.c: Likewise.
4300 * resolv/README: Likewise.
4301 * resolv/res_debug.h: Likewise.
4302 * resolv/tst-inet_ntop.c: Likewise.
4303 * setjmp/bug269-setjmp.c: Likewise.
4304 * soft-fp/extended.h: Likewise.
4305 * soft-fp/op-1.h: Likewise.
4306 * soft-fp/op-2.h: Likewise.
4307 * soft-fp/op-4.h: Likewise.
4308 * soft-fp/op-8.h: Likewise.
4309 * soft-fp/testit.c: Likewise.
4310 * stdio-common/bug16.c: Likewise.
4311 * stdlib/random.c: Likewise.
4312 * sunrpc/rpcsvc/rquota.x: Likewise.
4313 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
4314 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4315 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4316 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4317 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4318 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4319 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4320 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4321 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4322 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4323 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4324 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4325 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4326 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4327 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4328 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4329 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4330 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4331 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4332 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4333 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4334 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4335 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4336 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4337 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4338 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4339 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4340 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4341 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4342 * sysdeps/ieee754/s_lib_version.c: Likewise.
4343 * sysdeps/mach/hurd/check_fds.c: Likewise.
4344 * sysdeps/mach/hurd/getsockname.c: Likewise.
4345 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
4346 * sysdeps/mach/hurd/recvfrom.c: Likewise.
4347 * sysdeps/powerpc/bits/link.h: Likewise.
4348 * sysdeps/powerpc/dl-procinfo.c: Likewise.
4349 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
4350 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
4351 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
4352 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4353 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4354 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
4355 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4356 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
4357 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4358 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4359 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4360 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
4361 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4362 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4363 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4364 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4365 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4366 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4367 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4368 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4369 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
4370 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4371 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4372 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
4373 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4374 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4375 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4376 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4377 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4378 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4379 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4380 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4381 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4382 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
4383 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4384 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
4385 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4386 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4387 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
4388 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
4389 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
4390 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
4391 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
4392 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4393 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
4394 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
4395 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4396 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
4397 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
4398 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4399 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4400 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4401 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4402 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
4403 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4404 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4405 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4406 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
4407 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4408 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
4409 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
4410 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
4411 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4412 * sysdeps/powerpc/sysdep.h: Likewise.
4413 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4414 * sysdeps/s390/s390-64/sub_n.S: Likewise.
4415 * sysdeps/sh/dl-trampoline.S: Likewise.
4416 * sysdeps/sh/memset.S: Likewise.
4417 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
4418 * sysdeps/sh/strlen.S: Likewise.
4419 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
4420 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
4421 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
4422 * sysdeps/sparc/sparc32/rem.S: Likewise.
4423 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
4424 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
4425 * sysdeps/sparc/sparc32/strchr.S: Likewise.
4426 * sysdeps/sparc/sparc32/udiv.S: Likewise.
4427 * sysdeps/sparc/sparc32/urem.S: Likewise.
4428 * sysdeps/sparc/sparc64/add_n.S: Likewise.
4429 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4430 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
4431 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
4432 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
4433 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
4434 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4435 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
4436 * sysdeps/unix/bsd/times.c: Likewise.
4437 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
4438 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
4439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4442 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
4443 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4444 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
4445 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
4446 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
4447 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
4448 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
4449 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
4450 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4451 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
4452 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4453 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
4454 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
4455 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
4456 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
4457 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
4458 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
4459 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4460 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
4461 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
4462 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4463 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
4464 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4465 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
4466 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
4467 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
4468 * sysdeps/x86_64/strcspn.S: Likewise.
4469
869378a5
RA
44702013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4471
4472 * locale/C-translit.h: Revert #include <stdint.h> because this is a
4473 generated file. Regenerate properly from gen-translit.pl.
4474 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
4475 locale/C-translit.h.
4476
840e2943
AS
44772013-06-05 Andreas Schwab <schwab@suse.de>
4478
4479 [BZ #15100]
4480 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
4481 week as 6 instead of -1.
4482 * time/tst-strptime.c (day_tests): Add test case.
4483
4c60cb0c
SP
44842013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4485
4486 * sysdeps/generic/math_private.h
4487 (libc_feholdexcept_setround_53bit): Replace with
4488 libc_feholdsetround_53bit.
4489 (libc_feupdateenv_53bit): Replace with
4490 libc_feresetround_53bit.
4491 (SET_RESTORE_ROUND_53BIT): Adjust.
4492
d180203e
SP
44932013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4494
96df079a
SP
4495 * string/test-strchrnul.c: Add copyright header.
4496
d180203e
SP
4497 * posix/tst-getaddrinfo4.c: Increase test timeout.
4498
8b0ccb2d
CD
44992013-06-03 Carlos O'Donell <carlos@redhat.com>
4500
4501 [BZ #15536]
4502 * math/libm-test.inc (MAX_EXP): Remove
4503 (MIN_EXP): Define.
4504 (ulp): Use MIN_EXP - MANT_DIG.
4505 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
4506
3b3c4d40
CD
45072013-05-31 Carlos O'Donell <carlos@redhat.com>
4508
4509 * po/be.po: Revert last change.
4510 * po/zh_CN.po: Likewise.
4511 * po/header.pot: Likewise.
4512
fab7ce3f
JM
45132013-05-31 Joseph Myers <joseph@codesourcery.com>
4514
4515 * Makefile ($(common-objpfx)linkobj/libc.so): Define
4516 link-libc-deps to empty as target-specific variable.
4517 * Makerules (link-libc-args): New variable.
4518 (libc-for-link): Likewise.
4519 (link-libc-deps): Likewise.
4520 (lib%.so): Depend on $(link-libc-deps). Link with
4521 $(link-libc-args).
4522 (build-module): Link with $(link-libc-args).
4523 (build-module-asneeded): Likewise.
4524 (build-module-helper-objlist): Filter out $(link-libc-deps) from
4525 list of objects.
4526 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
4527 target-specific variable.
4528 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
4529 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
4530 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
4531 libc.
4532 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
4533 libc and ld.so.
4534 ($(objpfx)libpcprofile.so): Likewise.
4535 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
4536 libc_nonshared.a.
4537 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
4538 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
4539 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
4540 $(link-libc-deps).
4541 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
4542 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
4543 * login/Makefile ($(objpfx)libutil.so): Likewise.
4544 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
4545 * math/Makefile ($(objpfx)libm.so): Likewise.
4546 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
4547 $(objpfx)libnsl.so): Define libc-for-link as target-specific
4548 variable instead of depending directly on libc.
4549 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
4550 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
4551 $(link-libc-deps).
4552 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
4553 libc.
4554 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
4555 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
4556 ($(objpfx)libanl.so): Likewise.
4557 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
4558 ld.so.
4559 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
4560 $(link-libc-deps).
4561 * sysdeps/i386/fpu/Makefile: Remove file.
4562 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
4563 ($(objpfx)libm.so): Remove dependency on ld.so.
4564
eca5920c
PF
45652013-05-30 Patsy Franklin <pfrankli@redhat.com>
4566
4567 [BZ # 15553]
4568 * nis/yp_xdr.c (XDRMAXNAME): Define.
4569 (XDRMAXRECORD): Define.
4570 (xdr_domainname): Use XDRMAXNAME.
4571 (xdr_mapname): Likewise.
4572 (xdr_peername): Likewise.
4573 (xdr_keydat): Use XDRMAXRECORD.
4574 (xdr_valdat): Likewise.
4575
45762013-05-30 Jeff Law <law@redhat.com>
96945714
JL
4577
4578 [BZ #14256]
4579 * manual/errno.texi (ESTALE): Update to account for more than
4580 just NFS file systems.
4581 * sysdeps/gnu/errlist.c: Regenerated.
4582
b9375348
SP
45832013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4584
4585 [BZ #15465]
4586 * elf/Makefile (tests): Add tst-null-argv.
4587 (modules-names): Add tst-null-argv-lib.
4588 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
4589 (tst-null-argv-ENV): Set environment for tst-null-argv.
4590 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
4591 (RTLD_PROGNAME): New macro.
4592 * elf/tst-null-argv.c: New test case.
4593 * elf/tst-null-argv-lib.c: Library for test case.
4594 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
4595 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4596 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
4597 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
4598 * elf/dl-init.c (call_init): Likewise.
4599 (_dl_init): Likewise.
4600 * elf/dl-load.c (print_search_path): Likewise.
4601 (_dl_map_object): Likewise.
4602 * elf/dl-lookup.c (do_lookup_x): Likewise.
4603 (add_dependency): Likewise.
4604 (_dl_lookup_symbol_x): Likewise.
4605 (_dl_debug_bindings): Likewise.
4606 * elf/dl-open.c (_dl_show_scope): Likewise.
4607 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4608 * elf/dl-version.c (match_symbol): Likewise.
4609 (_dl_check_map_versions): Likewise.
4610 * elf/rtld.c (dl_main): Likewise.
4611 (print_unresolved): Use RTLD_PROGNAME.
4612 (print_missing_version): Likewise.
4613 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
4614 (elf_machine_rela): Likewise.
4615 * sysdeps/powerpc/powerpc32/dl-machine.c
4616 (__process_machine_rela): Likewise.
4617 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4618 Likewise.
4619 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
4620 Likewise.
4621 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4622 Likewise.
4623 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4624 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
4625 Likewise.
4626 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
4627 Likewise.
4628 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4629
8a9f20c8
CD
46302013-05-28 Carlos O'Donell <carlos@redhat.com>
4631
4632 * po/be.po: Add descriptive title.
4633 * po/zh_CN.po: Likewise.
4634 * po/header.pot: Likewise.
4635
0e60d68e
MF
46362013-05-28 Mike Frysinger <vapier@gentoo.org>
4637
4638 * locale/programs/locarchive.c (create_archive): Inlucde fname in
4639 error message.
4640 (enlarge_archive): Likewise.
4641
56b672e9
BN
46422013-05-28 Ben North <ben@redfrontdoor.org>
4643
4644 * manual/arith.texi (frexp): It is the magnitude of the return
4645 value which lies in [0.5, 1), not the return value itself.
4646
5e056687
AZ
46472013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4648
4649 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4650
2b66ef5d
TS
46512013-05-26 Thomas Schwinge <thomas@codesourcery.com>
4652
528c2405
TS
4653 * stdio-common/bug26.c (main): Correct fscanf template.
4654
07b4c13d
TS
4655 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
4656 declare _dl_skip_args.
4657
ec9dd97c
TS
4658 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
4659 Don't declare.
4660
2b66ef5d
TS
4661 * manual/platform.texi: Add missing @end deftypefun.
4662
4f8dfe27
JM
46632013-05-24 Joseph Myers <joseph@codesourcery.com>
4664
0323d086
JM
4665 [BZ #15529]
4666 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
4667 bit of mantissa of 2^16382.
4668 * math/libm-test.inc (hypot_test_data): Add more tests.
4669
dd4259b9
JM
4670 * math/libm-test.inc: Add drem and pow10 to list of tested
4671 functions.
4672 (pow10_test): New function.
4673 (drem_test): Likewise.
4674 (drem_test_tonearest): Likewise.
4675 (drem_test_towardzero): Likewise.
4676 (drem_test_downward): Likewise.
4677 (drem_test_upward): Likewise.
4678 (main): Call the new functions.
4679
4f8dfe27
JM
4680 * math/libm-test.inc (finite_test_data): Remove.
4681 (finite_test): Run tests from isfinite_test_data.
4682 (gamma_test_data): Remove.
4683 (gamma_test): Run tests from lgamma_test_data.
4684 * sysdeps/i386/fpu/libm-test-ulps: Update.
4685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4686
d116b7c4
AZ
46872013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4688
4689 * manual/platform.texi: Add PowerPC PPR function set documentation.
4690 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
4691 implementation.
4692
e96e3767
CD
46932013-05-24 Carlos O'Donell <carlos@redhat.com>
4694
4695 * math/libm-test.inc (MAX_EXP): Define.
4696 (ULPDIFF): Define.
4697 (ulp): New function.
4698 (check_float_internal): Use ULPDIFF.
4699 (cpow_test): Disable failing test.
4700 (check_ulp): Test ulp() implemetnation.
4701 (main): Call check_ulp before starting tests.
4702
b679a606
JM
47032013-05-24 Joseph Myers <joseph@codesourcery.com>
4704
e8bdba36
JM
4705 * math/gen-libm-test.pl (generate_testfile): Do not handle
4706 START_DATA and END_DATA.
4707 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
4708 END_DATA.
4709 (acos_tonearest_test_data): Likewise.
4710 (acos_towardzero_test_data): Likewise.
4711 (acos_downward_test_data): Likewise.
4712 (acos_upward_test_data): Likewise.
4713 (acosh_test_data): Likewise.
4714 (asin_test_data): Likewise.
4715 (asin_tonearest_test_data): Likewise.
4716 (asin_towardzero_test_data): Likewise.
4717 (asin_downward_test_data): Likewise.
4718 (asin_upward_test_data): Likewise.
4719 (asinh_test_data): Likewise.
4720 (atan_test_data): Likewise.
4721 (atanh_test_data): Likewise.
4722 (atan2_test_data): Likewise.
4723 (cabs_test_data): Likewise.
4724 (cacos_test_data): Likewise.
4725 (cacosh_test_data): Likewise.
4726 (carg_test_data): Likewise.
4727 (casin_test_data): Likewise.
4728 (casinh_test_data): Likewise.
4729 (catan_test_data): Likewise.
4730 (catanh_test_data): Likewise.
4731 (cbrt_test_data): Likewise.
4732 (ccos_test_data): Likewise.
4733 (ccosh_test_data): Likewise.
4734 (ceil_test_data): Likewise.
4735 (cexp_test_data): Likewise.
4736 (cimag_test_data): Likewise.
4737 (clog_test_data): Likewise.
4738 (clog10_test_data): Likewise.
4739 (conj_test_data): Likewise.
4740 (copysign_test_data): Likewise.
4741 (cos_test_data): Likewise.
4742 (cos_tonearest_test_data): Likewise.
4743 (cos_towardzero_test_data): Likewise.
4744 (cos_downward_test_data): Likewise.
4745 (cos_upward_test_data): Likewise.
4746 (cosh_test_data): Likewise.
4747 (cosh_tonearest_test_data): Likewise.
4748 (cosh_towardzero_test_data): Likewise.
4749 (cosh_downward_test_data): Likewise.
4750 (cosh_upward_test_data): Likewise.
4751 (cpow_test_data): Likewise.
4752 (cproj_test_data): Likewise.
4753 (creal_test_data): Likewise.
4754 (csin_test_data): Likewise.
4755 (csinh_test_data): Likewise.
4756 (csqrt_test_data): Likewise.
4757 (ctan_test_data): Likewise.
4758 (ctan_tonearest_test_data): Likewise.
4759 (ctan_towardzero_test_data): Likewise.
4760 (ctan_downward_test_data): Likewise.
4761 (ctan_upward_test_data): Likewise.
4762 (ctanh_test_data): Likewise.
4763 (ctanh_tonearest_test_data): Likewise.
4764 (ctanh_towardzero_test_data): Likewise.
4765 (ctanh_downward_test_data): Likewise.
4766 (ctanh_upward_test_data): Likewise.
4767 (erf_test_data): Likewise.
4768 (erfc_test_data): Likewise.
4769 (exp_test_data): Likewise.
4770 (exp_tonearest_test_data): Likewise.
4771 (exp_towardzero_test_data): Likewise.
4772 (exp_downward_test_data): Likewise.
4773 (exp_upward_test_data): Likewise.
4774 (exp10_test_data): Likewise.
4775 (exp2_test_data): Likewise.
4776 (expm1_test_data): Likewise.
4777 (fabs_test_data): Likewise.
4778 (fdim_test_data): Likewise.
4779 (finite_test_data): Likewise.
4780 (floor_test_data): Likewise.
4781 (fma_test_data): Likewise.
4782 (fma_towardzero_test_data): Likewise.
4783 (fma_downward_test_data): Likewise.
4784 (fma_upward_test_data): Likewise.
4785 (fmax_test_data): Likewise.
4786 (fmin_test_data): Likewise.
4787 (fmod_test_data): Likewise.
4788 (fpclassify_test_data): Likewise.
4789 (frexp_test_data): Likewise.
4790 (gamma_test_data): Likewise.
4791 (hypot_test_data): Likewise.
4792 (ilogb_test_data): Likewise.
4793 (isfinite_test_data): Likewise.
4794 (isgreater_test_data): Likewise.
4795 (isgreaterequal_test_data): Likewise.
4796 (isinf_test_data): Likewise.
4797 (isless_test_data): Likewise.
4798 (islessequal_test_data): Likewise.
4799 (islessgreater_test_data): Likewise.
4800 (isnan_test_data): Likewise.
4801 (isnormal_test_data): Likewise.
4802 (issignaling_test_data): Likewise.
4803 (isunordered_test_data): Likewise.
4804 (j0_test_data): Likewise.
4805 (j1_test_data): Likewise.
4806 (jn_test_data): Likewise.
4807 (ldexp_test_data): Likewise.
4808 (lgamma_test_data): Likewise.
4809 (lrint_test_data): Likewise.
4810 (lrint_tonearest_test_data): Likewise.
4811 (lrint_towardzero_test_data): Likewise.
4812 (lrint_downward_test_data): Likewise.
4813 (lrint_upward_test_data): Likewise.
4814 (llrint_test_data): Likewise.
4815 (llrint_tonearest_test_data): Likewise.
4816 (llrint_towardzero_test_data): Likewise.
4817 (llrint_downward_test_data): Likewise.
4818 (llrint_upward_test_data): Likewise.
4819 (log_test_data): Likewise.
4820 (log10_test_data): Likewise.
4821 (log1p_test_data): Likewise.
4822 (log2_test_data): Likewise.
4823 (logb_test_data): Likewise.
4824 (logb_downward_test_data): Likewise.
4825 (lround_test_data): Likewise.
4826 (llround_test_data): Likewise.
4827 (modf_test_data): Likewise.
4828 (nearbyint_test_data): Likewise.
4829 (nextafter_test_data): Likewise.
4830 (nexttoward_test_data): Likewise.
4831 (pow_test_data): Likewise.
4832 (pow_tonearest_test_data): Likewise.
4833 (pow_towardzero_test_data): Likewise.
4834 (pow_downward_test_data): Likewise.
4835 (pow_upward_test_data): Likewise.
4836 (remainder_test_data): Likewise.
4837 (remainder_tonearest_test_data): Likewise.
4838 (remainder_towardzero_test_data): Likewise.
4839 (remainder_downward_test_data): Likewise.
4840 (remainder_upward_test_data): Likewise.
4841 (remquo_test_data): Likewise.
4842 (rint_test_data): Likewise.
4843 (rint_tonearest_test_data): Likewise.
4844 (rint_towardzero_test_data): Likewise.
4845 (rint_downward_test_data): Likewise.
4846 (rint_upward_test_data): Likewise.
4847 (round_test_data): Likewise.
4848 (scalb_test_data): Likewise.
4849 (scalbn_test_data): Likewise.
4850 (scalbln_test_data): Likewise.
4851 (signbit_test_data): Likewise.
4852 (sin_test_data): Likewise.
4853 (sin_tonearest_test_data): Likewise.
4854 (sin_towardzero_test_data): Likewise.
4855 (sin_downward_test_data): Likewise.
4856 (sin_upward_test_data): Likewise.
4857 (sincos_test_data): Likewise.
4858 (sinh_test_data): Likewise.
4859 (sinh_tonearest_test_data): Likewise.
4860 (sinh_towardzero_test_data): Likewise.
4861 (sinh_downward_test_data): Likewise.
4862 (sinh_upward_test_data): Likewise.
4863 (sqrt_test_data): Likewise.
4864 (tan_test_data): Likewise.
4865 (tan_tonearest_test_data): Likewise.
4866 (tan_towardzero_test_data): Likewise.
4867 (tan_downward_test_data): Likewise.
4868 (tan_upward_test_data): Likewise.
4869 (tanh_test_data): Likewise.
4870 (tgamma_test_data): Likewise.
4871 (trunc_test_data): Likewise.
4872 (y0_test_data): Likewise.
4873 (y1_test_data): Likewise.
4874 (yn_test_data): Likewise.
4875 (significand_test_data): Likewise.
4876
b679a606
JM
4877 * math/gen-libm-test.pl (@functions): Remove variable.
4878 (generate_testfile): Don't handle START and END lines.
4879 * math/libm-test.inc (START): New macro.
4880 (END): Likewise.
4881 (END_COMPLEX): Likewise.
4882 (acos_test): Use END macro without arguments.
4883 (acos_test_tonearest): Likewise.
4884 (acos_test_towardzero): Likewise.
4885 (acos_test_downward): Likewise.
4886 (acos_test_upward): Likewise.
4887 (acosh_test): Likewise.
4888 (asin_test): Likewise.
4889 (asin_test_tonearest): Likewise.
4890 (asin_test_towardzero): Likewise.
4891 (asin_test_downward): Likewise.
4892 (asin_test_upward): Likewise.
4893 (asinh_test): Likewise.
4894 (atan_test): Likewise.
4895 (atanh_test): Likewise.
4896 (atan2_test): Likewise.
4897 (cabs_test): Likewise.
4898 (cacos_test): Use END_COMPLEX macro without arguments.
4899 (cacosh_test): Likewise.
4900 (carg_test): Use END macro without arguments.
4901 (casin_test): Use END_COMPLEX macro without arguments.
4902 (casinh_test): Likewise.
4903 (catan_test): Likewise.
4904 (catanh_test): Likewise.
4905 (cbrt_test): Use END macro without arguments.
4906 (ccos_test): Use END_COMPLEX macro without arguments.
4907 (ccosh_test): Likewise.
4908 (ceil_test): Use END macro without arguments.
4909 (cexp_test): Use END_COMPLEX macro without arguments.
4910 (cimag_test): Use END macro without arguments.
4911 (clog_test): Use END_COMPLEX macro without arguments.
4912 (clog10_test): Likewise.
4913 (conj_test): Likewise.
4914 (copysign_test): Use END macro without arguments.
4915 (cos_test): Likewise.
4916 (cos_test_tonearest): Likewise.
4917 (cos_test_towardzero): Likewise.
4918 (cos_test_downward): Likewise.
4919 (cos_test_upward): Likewise.
4920 (cosh_test): Likewise.
4921 (cosh_test_tonearest): Likewise.
4922 (cosh_test_towardzero): Likewise.
4923 (cosh_test_downward): Likewise.
4924 (cosh_test_upward): Likewise.
4925 (cpow_test): Use END_COMPLEX macro without arguments.
4926 (cproj_test): Likewise.
4927 (creal_test): Use END macro without arguments.
4928 (csin_test): Use END_COMPLEX macro without arguments.
4929 (csinh_test): Likewise.
4930 (csqrt_test): Likewise.
4931 (ctan_test): Likewise.
4932 (ctan_test_tonearest): Likewise.
4933 (ctan_test_towardzero): Likewise.
4934 (ctan_test_downward): Likewise.
4935 (ctan_test_upward): Likewise.
4936 (ctanh_test): Likewise.
4937 (ctanh_test_tonearest): Likewise.
4938 (ctanh_test_towardzero): Likewise.
4939 (ctanh_test_downward): Likewise.
4940 (ctanh_test_upward): Likewise.
4941 (erf_test): Use END macro without arguments.
4942 (erfc_test): Likewise.
4943 (exp_test): Likewise.
4944 (exp_test_tonearest): Likewise.
4945 (exp_test_towardzero): Likewise.
4946 (exp_test_downward): Likewise.
4947 (exp_test_upward): Likewise.
4948 (exp10_test): Likewise.
4949 (exp2_test): Likewise.
4950 (expm1_test): Likewise.
4951 (fabs_test): Likewise.
4952 (fdim_test): Likewise.
4953 (finite_test): Likewise.
4954 (floor_test): Likewise.
4955 (fma_test): Likewise.
4956 (fma_test_towardzero): Likewise.
4957 (fma_test_downward): Likewise.
4958 (fma_test_upward): Likewise.
4959 (fmax_test): Likewise.
4960 (fmin_test): Likewise.
4961 (fmod_test): Likewise.
4962 (fpclassify_test): Likewise.
4963 (frexp_test): Likewise.
4964 (gamma_test): Likewise.
4965 (hypot_test): Likewise.
4966 (ilogb_test): Likewise.
4967 (isfinite_test): Likewise.
4968 (isgreater_test): Likewise.
4969 (isgreaterequal_test): Likewise.
4970 (isinf_test): Likewise.
4971 (isless_test): Likewise.
4972 (islessequal_test): Likewise.
4973 (islessgreater_test): Likewise.
4974 (isnan_test): Likewise.
4975 (isnormal_test): Likewise.
4976 (issignaling_test): Likewise.
4977 (isunordered_test): Likewise.
4978 (j0_test): Likewise.
4979 (j1_test): Likewise.
4980 (jn_test): Likewise.
4981 (ldexp_test): Likewise.
4982 (lgamma_test): Likewise.
4983 (lrint_test): Likewise.
4984 (lrint_test_tonearest): Likewise.
4985 (lrint_test_towardzero): Likewise.
4986 (lrint_test_downward): Likewise.
4987 (lrint_test_upward): Likewise.
4988 (llrint_test): Likewise.
4989 (llrint_test_tonearest): Likewise.
4990 (llrint_test_towardzero): Likewise.
4991 (llrint_test_downward): Likewise.
4992 (llrint_test_upward): Likewise.
4993 (log_test): Likewise.
4994 (log10_test): Likewise.
4995 (log1p_test): Likewise.
4996 (log2_test): Likewise.
4997 (logb_test): Likewise.
4998 (logb_test_downward): Likewise.
4999 (lround_test): Likewise.
5000 (llround_test): Likewise.
5001 (modf_test): Likewise.
5002 (nearbyint_test): Likewise.
5003 (nextafter_test): Likewise.
5004 (nexttoward_test): Likewise.
5005 (pow_test): Likewise.
5006 (pow_test_tonearest): Likewise.
5007 (pow_test_towardzero): Likewise.
5008 (pow_test_downward): Likewise.
5009 (pow_test_upward): Likewise.
5010 (remainder_test): Likewise.
5011 (remainder_test_tonearest): Likewise.
5012 (remainder_test_towardzero): Likewise.
5013 (remainder_test_downward): Likewise.
5014 (remainder_test_upward): Likewise.
5015 (remquo_test): Likewise.
5016 (rint_test): Likewise.
5017 (rint_test_tonearest): Likewise.
5018 (rint_test_towardzero): Likewise.
5019 (rint_test_downward): Likewise.
5020 (rint_test_upward): Likewise.
5021 (round_test): Likewise.
5022 (scalb_test): Likewise.
5023 (scalbn_test): Likewise.
5024 (scalbln_test): Likewise.
5025 (signbit_test): Likewise.
5026 (sin_test): Likewise.
5027 (sin_test_tonearest): Likewise.
5028 (sin_test_towardzero): Likewise.
5029 (sin_test_downward): Likewise.
5030 (sin_test_upward): Likewise.
5031 (sincos_test): Likewise.
5032 (sinh_test): Likewise.
5033 (sinh_test_tonearest): Likewise.
5034 (sinh_test_towardzero): Likewise.
5035 (sinh_test_downward): Likewise.
5036 (sinh_test_upward): Likewise.
5037 (sqrt_test): Likewise.
5038 (tan_test): Likewise.
5039 (tan_test_tonearest): Likewise.
5040 (tan_test_towardzero): Likewise.
5041 (tan_test_downward): Likewise.
5042 (tan_test_upward): Likewise.
5043 (tanh_test): Likewise.
5044 (tgamma_test): Likewise.
5045 (trunc_test): Likewise.
5046 (y0_test): Likewise.
5047 (y1_test): Likewise.
5048 (yn_test): Likewise.
5049 (significand_test): Likewise.
5050
bae143d2
OB
50512013-05-24 Ondřej Bílka <neleai@seznam.cz>
5052
5053 [BZ #15381]
5054 * libio/genops.c (_IO_no_init): Initialize wide struct info.
5055
9323d39b
EM
50562013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
5057
d4ea44a0 5058 [BZ #14894]
9323d39b
EM
5059 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
5060 __ppc_mdoio and __ppc_mdoom.
5061 * manual/platform.texi: Document new functions __ppc_yield,
5062 __ppc_mdoio and __ppc_mdoom.
5063
13e23af7
CD
50642013-05-22 Carlos O'Donell <carlos@redhat.com>
5065
5066 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
5067 (main): Mention "tls" pseudo-hwcap is legacy.
5068 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
5069
351fe550
JM
50702013-05-22 Joseph Myers <joseph@codesourcery.com>
5071
5072 * math/gen-libm-test.pl (parse_args): Output only string of
5073 arguments as text for test name, not full call or descriptions of
5074 tests for extra outputs.
5075 (generate_testfile): Do not pass function name to parse_args.
5076 Generate this_func variable from START.
5077 * math/libm-test.inc (struct test_f_f_data): Rename test_name
5078 field to arg_str.
5079 (struct test_ff_f_data): Likewise.
5080 (test_ff_f_data_nexttoward): Likewise.
5081 (struct test_fi_f_data): Likewise.
5082 (struct test_fl_f_data): Likewise.
5083 (struct test_if_f_data): Likewise.
5084 (struct test_fff_f_data): Likewise.
5085 (struct test_c_f_data): Likewise.
5086 (struct test_f_f1_data): Likewise. Remove field extra_name.
5087 (struct test_fF_f1_data): Likewise.
5088 (struct test_ffI_f1_data): Likewise.
5089 (struct test_c_c_data): Rename test_name field to arg_str.
5090 (struct test_cc_c_data): Likewise.
5091 (struct test_f_i_data): Likewise.
5092 (struct test_ff_i_data): Likewise.
5093 (struct test_f_l_data): Likewise.
5094 (struct test_f_L_data): Likewise.
5095 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
5096 and extra2_name.
5097 (COMMON_TEST_SETUP): New macro.
5098 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
5099 (COMMON_TEST_CLEANUP): Likewise.
5100 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
5101 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
5102 macros.
5103 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
5104 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
5105 macros.
5106 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
5107 (RUN_TEST_fff_f): Take argument string. Call new setup and
5108 cleanup macros.
5109 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
5110 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
5111 macros.
5112 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
5113 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
5114 macros.
5115 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5116 (RUN_TEST_fF_f1): Take argument string. Call new setup and
5117 cleanup macros.
5118 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5119 (RUN_TEST_fI_f1): Take argument string. Call new setup and
5120 cleanup macros.
5121 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5122 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
5123 cleanup macros.
5124 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5125 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
5126 macros.
5127 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
5128 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
5129 macros.
5130 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
5131 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
5132 macros.
5133 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
5134 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
5135 cleanup macros.
5136 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
5137 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
5138 cleanup macros.
5139 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
5140 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
5141 macros.
5142 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
5143 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
5144 cleanup macros.
5145 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
5146 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
5147 macros.
5148 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
5149 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
5150 macros.
5151 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
5152 (RUN_TEST_fFF_11): Take argument string. Call new setup and
5153 cleanup macros.
5154 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
5155
85118d4d
EBM
51562013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5157
5158 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
5159 to _sifields.sigfault.
5160 (si_addr_lsb): Define new macro.
5161 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5162 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5163 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
5164
7a44c18f
CD
51652013-05-03 Carlos O'Donell <carlos at redhat.com>
5166
5167 [BZ #15441]
5168 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
5169 returns -1.
5170 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
5171 null return -1.
5172 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
5173 loading the domain.
5174
b50a7181
JM
51752013-05-22 Joseph Myers <joseph@codesourcery.com>
5176
5177 * math/gen-libm-test.pl (parse_args): Do not include expected
5178 result in test name.
5179 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
5180 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5181 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5182 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5183 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5185
051063c8
SP
51862013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5187
3ce9e010
SP
5188 * benchtests/Makefile: Sort function entries.
5189
051063c8
SP
5190 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
5191 tanh, asinh, acosh, atanh.
5192 * benchtests/acos-inputs: New file.
5193 * benchtests/acosh-inputs: New file.
5194 * benchtests/asin-inputs: New file.
5195 * benchtests/asinh-inputs: New file.
5196 * benchtests/atanh-inputs: New file.
5197 * benchtests/cosh-inputs: New file.
5198 * benchtests/log-inputs: New file.
5199 * benchtests/sinh-inputs: New file.
5200 * benchtests/tanh-inputs: New file.
5201
47c22455
DL
52022013-05-21 Dmitry V. Levin <ldv@altlinux.org>
5203
5204 [BZ #15339]
5205 * posix/tst-getaddrinfo4.c: New test.
5206 * posix/Makefile (tests): Add it.
5207
3d04f5db
SP
52082013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5209
5210 [BZ #15339]
5211 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
5212 when no services were used.
5213 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
5214 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
5215
d5dd6189
AS
52162013-05-21 Andreas Schwab <schwab@suse.de>
5217
5218 [BZ #15014]
5219 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
5220 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
5221 successful.
5222 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
5223 redundant variable declarations and reallocation of buffer when
5224 parsing as IPv6 address. Always set NSS status when called from
5225 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
5226 buffer too small. Correct computation of needed size.
5227 * nss/Makefile (tests): Add test-digits-dots.
5228 * nss/test-digits-dots.c: New test.
5229
fef94eab
SP
52302013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5231
5232 * benchtests/Makefile: Remove instructions for adding
5233 benchmark tests.
5234 * benchtests/README: New file to explain how to execute and
5235 enhance the benchmark tests.
5236
e39adf43
AS
52372013-05-21 Andreas Schwab <schwab@suse.de>
5238
5239 [BZ #15493]
5240 * setjmp/Makefile (tests): Add tst-sigsetjmp.
5241 * setjmp/tst-sigsetjmp.c: New test.
5242
b2b671b6
OB
52432013-05-20 Ondřej Bílka <neleai@seznam.cz>
5244
5245 * sysdeps/x86_64/memset.S (memset): New implementation.
5246 (__bzero): Likewise.
5247 (__memset_tail): New function.
5248
2d48b41c
OB
52492013-05-20 Ondřej Bílka <neleai@seznam.cz>
5250
5251 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
5252 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
5253 __memcpy_sse2_unaligned ifunc selection.
5254 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5255 Add memcpy-sse2-unaligned.S.
5256 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5257 Add: __memcpy_sse2_unaligned.
5258
f16cc3eb
JM
52592013-05-19 Joseph Myers <joseph@codesourcery.com>
5260
3e694268
JM
5261 [BZ #15490]
5262 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
5263 math_force_eval before restoring floating-point envrionment.
5264 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
5265 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
5266 Likewise.
5267 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
5268 <math_private.h>.
5269 (__nearbyintl): Use math_force_eval before restoring
5270 floating-point environment.
5271 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
5272
db62a907
JM
5273 * math/gen-libm-test.pl (special_functions): Remove.
5274 (parse_args): Don't handle TEST_extra. Handle functions with no
5275 return value.
5276 * math/libm-test.inc (struct test_sincos_data): Replace with
5277 struct test_fFF_11_data.
5278 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
5279 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
5280 (sincos_test_data): Change element type to struct
5281 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
5282 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
5283 RUN_TEST_LOOP_sincos.
5284 * math/README.libm-test: Don't mention special handling of
5285 individual functions.
5286 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
5287 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5288 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5289 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5290 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5292
f16cc3eb
JM
5293 * math/gen-libm-test.pl (get_variable): Remove function.
5294 (parse_args): Don't show pointer parameters to call in test
5295 names. Use "extra output N" in test names for extra outputs
5296 rather than naming variables.
5297
3779b5b6
JM
52982013-05-18 Joseph Myers <joseph@codesourcery.com>
5299
2ee094ff
JM
5300 [BZ #15488]
5301 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
5302 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
5303 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
5304 double tests.
5305 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
5306 disable.
5307 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
5308 check_long_double.
5309
3779b5b6
JM
5310 * math/gen-libm-test.pl (@tests): Remove variable.
5311 ($count): Likewise.
5312 (new_test): Remove function.
5313 (show_exceptions): New function.
5314 (special_functions): Use show_exceptions instead of new_test.
5315 (parse_args): Likewise.
5316 (generate_testfile): Pass only function name in generated call to
5317 print_max_error or print_complex_max_error.
5318 (get_ulps): Do not handle complex tests specially.
5319 (output_test): Rename to ...
5320 (get_all_ulps_for_test): ... this. Return a string rather than
5321 printing to a file. Require ulps to be present.
5322 (output_ulps): Generate arrays rather than #defines.
5323 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
5324 (struct ulp_data): New type.
5325 (BUILD_COMPLEX_ULP): Remove macro.
5326 (compare_ulp_data): New function.
5327 (find_ulps): Likewise.
5328 (find_test_ulps): Likewise.
5329 (find_function_ulps): Likewise.
5330 (find_complex_function_ulps): Likewise.
5331 (print_max_error): Determine allowed ulps using
5332 find_function_ulps.
5333 (print_complex_max_error): Determine allowed ulps using
5334 find_complex_function_ulps.
5335 (check_float_internal): Determine max ulps using find_test_ulps.
5336 (check_float): Do not take max_ulp parameter. Update call to
5337 check_float_internal.
5338 (check_complex): Likewise.
5339 (check_int): Do not take max_ulp parameter.
5340 (check_long): Likewise.
5341 (check_bool): Likewise.
5342 (check_longlong): Likewise.
5343 (struct test_f_f_data): Remove max_ulp field.
5344 (struct test_ff_f_data): Likewise.
5345 (struct test_ff_f_data_nexttoward): Likewise.
5346 (struct test_fi_f_data): Likewise.
5347 (struct test_fl_f_data): Likewise.
5348 (struct test_if_f_data): Likewise.
5349 (struct test_fff_f_data): Likewise.
5350 (struct test_c_f_data): Likewise.
5351 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
5352 (struct test_fF_f1_data): Likewise.
5353 (struct test_ffI_f1_data): Likewise.
5354 (struct test_c_c_data): Remove max_ulp field.
5355 (struct test_cc_c_data): Likewise.
5356 (struct test_f_i_data): Likewise.
5357 (struct test_ff_i_data): Likewise.
5358 (struct test_f_l_data): Likewise.
5359 (struct test_f_L_data): Likewise.
5360 (struct test_sincos_data): Likewise.
5361 (RUN_TEST_f_f): Do not handle ulps.
5362 (RUN_TEST_LOOP_f_f): Likewise.
5363 (RUN_TEST_2_f): Likewise.
5364 (RUN_TEST_LOOP_2_f): Likewise.
5365 (RUN_TEST_fff_f): Likewise.
5366 (RUN_TEST_LOOP_fff_f): Likewise.
5367 (RUN_TEST_c_f): Likewise.
5368 (RUN_TEST_LOOP_c_f): Likewise.
5369 (RUN_TEST_f_f1): Likewise.
5370 (RUN_TEST_LOOP_f_f1): Likewise.
5371 (RUN_TEST_fF_f1): Likewise.
5372 (RUN_TEST_LOOP_fF_f1): Likewise.
5373 (RUN_TEST_fI_f1): Likewise.
5374 (RUN_TEST_LOOP_fI_f1): Likewise.
5375 (RUN_TEST_ffI_f1): Likewise.
5376 (RUN_TEST_LOOP_ffI_f1): Likewise.
5377 (RUN_TEST_c_c): Likewise.
5378 (RUN_TEST_LOOP_c_c): Likewise.
5379 (RUN_TEST_cc_c): Likewise.
5380 (RUN_TEST_LOOP_cc_c): Likewise.
5381 (RUN_TEST_f_i): Likewise.
5382 (RUN_TEST_LOOP_f_i): Likewise.
5383 (RUN_TEST_f_i_tg): Likewise.
5384 (RUN_TEST_LOOP_f_i_tg): Likewise.
5385 (RUN_TEST_ff_i_tg): Likewise.
5386 (RUN_TEST_LOOP_ff_i_tg): Likewise.
5387 (RUN_TEST_f_b): Likewise.
5388 (RUN_TEST_LOOP_f_b): Likewise.
5389 (RUN_TEST_f_b_tg): Likewise.
5390 (RUN_TEST_LOOP_f_b_tg): Likewise.
5391 (RUN_TEST_f_l): Likewise.
5392 (RUN_TEST_LOOP_f_l): Likewise.
5393 (RUN_TEST_f_L): Likewise.
5394 (RUN_TEST_LOOP_f_L): Likewise.
5395 (RUN_TEST_sincos): Likewise.
5396 (RUN_TEST_LOOP_sincos): Likewise.
5397
8269107f
JM
53982013-05-17 Joseph Myers <joseph@codesourcery.com>
5399
bb38759d
JM
5400 [BZ #15480]
5401 [BZ #15485]
5402 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
5403 main case of finite arguments, set rounding mode to FE_TONEAREST
5404 and discard exceptions.
5405 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
5406 exceptions.
5407 (remainder_tonearest_test_data): New variable.
5408 (remainder_test_tonearest): New function.
5409 (remainder_towardzero_test_data): New variable.
5410 (remainder_test_towardzero): New function.
5411 (remainder_downward_test_data): New variable.
5412 (remainder_test_downward): New function.
5413 (remainder_upward_test_data): New variable.
5414 (remainder_test_upward): New function.
5415 (main): Call the new test functions.
5416
a00bdcf0
JM
5417 * math/libm-test.inc (struct test_f_f1_data): Remove field
5418 extra_init.
5419 (struct test_fF_f1_data): Likewise.
5420 (struct test_ffI_f1_data): Likewise.
5421 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
5422 based on value of EXTRA_EXPECTED.
5423 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5424 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
5425 EXTRA_VAR based on value of EXTRA_EXPECTED.
5426 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5427 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
5428 EXTRA_VAR based on value of EXTRA_EXPECTED.
5429 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5430 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
5431 EXTRA_VAR based on value of EXTRA_EXPECTED.
5432 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5433 * math/gen-libm-test.pl (parse_args): Don't output initializers
5434 for extra output values.
5435
de407f79
JM
5436 * math/libm-test.inc (check_int): Expect result to be exactly
5437 equal to expected value and do not handle ulps.
5438 (check_long): Likewise.
5439 (check_longlong): Likewise.
5440
8269107f
JM
5441 * math/libm-test.inc (ceil_test_data): Test for "inexact"
5442 exceptions.
5443 (cimag_test_data): Likewise.
5444 (conj_test_data): Likewise.
5445 (copysign_test_data): Likewise.
5446 (cproj_test_data): Likewise.
5447 (creal_test_data): Likewise.
5448 (fabs_test_data): Likewise.
5449 (fdim_test_data): Likewise.
5450 (finite_test_data): Likewise.
5451 (floor_test_data): Likewise.
5452 (fmax_test_data): Likewise.
5453 (fmin_test_data): Likewise.
5454 (fmod_test_data): Likewise.
5455 (fpclassify_test_data): Likewise.
5456 (frexp_test_data): Likewise.
5457 (ilogb_test_data): Likewise.
5458 (isfinite_test_data): Likewise.
5459 (isgreater_test_data): Likewise.
5460 (isgreaterequal_test_data): Likewise.
5461 (isinf_test_data): Likewise.
5462 (isless_test_data): Likewise.
5463 (islessequal_test_data): Likewise.
5464 (islessgreater_test_data): Likewise.
5465 (isnan_test_data): Likewise.
5466 (isnormal_test_data): Likewise.
5467 (issignaling_test_data): Likewise.
5468 (isunordered_test_data): Likewise.
5469 (ldexp_test_data): Likewise.
5470 (lrint_test_data): Likewise.
5471 (lrint_test_data) [TEST_FLOAT]: Disable one test.
5472 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
5473 (lrint_tonearest_test_data): Test for "inexact" exceptions.
5474 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5475 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
5476 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5477 test input.
5478 (lrint_towardzero_test_data): Test for "inexact" exceptions.
5479 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5480 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
5481 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
5482 that test input.
5483 (lrint_downward_test_data): Test for "inexact" exceptions.
5484 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5485 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
5486 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5487 test input.
5488 (lrint_upward_test_data): Test for "inexact" exceptions.
5489 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
5490 test input.
5491 (llrint_test_data): Test for "inexact" exceptions.
5492 (llrint_test_data) [TEST_FLOAT]: Disable one test.
5493 (llrint_tonearest_test_data): Test for "inexact" exceptions.
5494 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5495 (llrint_towardzero_test_data): Test for "inexact" exceptions.
5496 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5497 (llrint_downward_test_data): Test for "inexact" exceptions.
5498 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5499 (llrint_upward_test_data): Test for "inexact" exceptions.
5500 (logb_test_data): Likewise.
5501 (logb_downward_test_data): Likewise.
5502 (nextafter_test_data): Likewise.
5503 (nexttoward_test_data): Likewise.
5504 (remainder_test_data): Likewise.
5505 (remquo_test_data): Likewise.
5506 (scalbn_test_data): Likewise.
5507 (scalbln_test_data): Likewise.
5508 (signbit_test_data): Likewise.
5509 (sqrt_test_data): Likewise.
5510 (significand_test_data): Likewise.
5511
48a18de1
SP
55122013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5513
5514 [BZ #15424]
5515 * benchtests/bench-modf.c (struct args): Mark arg0 as
5516 volatile.
5517 * scripts/bench.pl: Mark members of struct args as volatile.
5518
13d3b41a
AZ
55192013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5520
68191c1d 5521 [BZ # 15497]
13d3b41a
AZ
5522 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
5523 negative infinity on POWER6 or lower.
5524 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
5525
2848b105
MR
55262013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5527
5528 [BZ #15442]
5529 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
5530 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
5531 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
5532 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
5533 (_FP_SETQNAN): New macro.
5534 (_FP_SETQNAN_SEMIRAW): Likewise.
5535 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
5536 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
5537 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
5538 (FP_EXTEND): Use _FP_FRAC_SNANP.
5539 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
5540 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
5541 into account.
5542 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5543 New macro.
5544 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5545 Likewise.
5546
323e5cb7
JM
55472013-05-16 Joseph Myers <joseph@codesourcery.com>
5548
c58b274f
JM
5549 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
5550 with DIVIDE_BY_ZERO_EXCEPTION.
5551 (gamma_test_data): Likewise.
5552 (lgamma_test_data): Likewise.
5553 (log_test_data): Likewise.
5554 (log10_test_data): Likewise.
5555 (log2_test_data): Likewise.
5556 (tgamma_test_data): Likewise.
5557
0ab34904
JM
5558 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
5559 (acos_test_tonearest): Likewise.
5560 (acos_test_towardzero): Likewise.
5561 (acos_test_downward): Likewise.
5562 (acos_test_upward): Likewise.
5563 (acosh_test): Likewise.
5564 (asin_test): Likewise.
5565 (asin_test_tonearest): Likewise.
5566 (asin_test_towardzero): Likewise.
5567 (asin_test_downward): Likewise.
5568 (asin_test_upward): Likewise.
5569 (asinh_test): Likewise.
5570 (atan_test): Likewise.
5571 (atanh_test): Likewise.
5572 (atan2_test): Likewise.
5573 (cabs_test): Likewise.
5574 (cacos_test): Likewise.
5575 (cacosh_test): Likewise.
5576 (casin_test): Likewise.
5577 (casinh_test): Likewise.
5578 (catan_test): Likewise.
5579 (catanh_test): Likewise.
5580 (cbrt_test): Likewise.
5581 (ccos_test): Likewise.
5582 (ccosh_test): Likewise.
5583 (cexp_test): Likewise.
5584 (clog_test): Likewise.
5585 (clog10_test): Likewise.
5586 (cos_test): Likewise.
5587 (cos_test_tonearest): Likewise.
5588 (cos_test_towardzero): Likewise.
5589 (cos_test_downward): Likewise.
5590 (cos_test_upward): Likewise.
5591 (cosh_test): Likewise.
5592 (cosh_test_tonearest): Likewise.
5593 (cosh_test_towardzero): Likewise.
5594 (cosh_test_downward): Likewise.
5595 (cosh_test_upward): Likewise.
5596 (cpow_test): Likewise.
5597 (csin_test): Likewise.
5598 (csinh_test): Likewise.
5599 (csqrt_test): Likewise.
5600 (ctan_test): Likewise.
5601 (ctan_test_tonearest): Likewise.
5602 (ctan_test_towardzero): Likewise.
5603 (ctan_test_downward): Likewise.
5604 (ctan_test_upward): Likewise.
5605 (ctanh_test): Likewise.
5606 (ctanh_test_tonearest): Likewise.
5607 (ctanh_test_towardzero): Likewise.
5608 (ctanh_test_downward): Likewise.
5609 (ctanh_test_upward): Likewise.
5610 (erf_test): Likewise.
5611 (erfc_test): Likewise.
5612 (exp_test): Likewise.
5613 (exp_test_tonearest): Likewise.
5614 (exp_test_towardzero): Likewise.
5615 (exp_test_downward): Likewise.
5616 (exp_test_upward): Likewise.
5617 (exp10_test): Likewise.
5618 (exp2_test): Likewise.
5619 (expm1_test): Likewise.
5620 (fmod_test): Likewise.
5621 (gamma_test): Likewise.
5622 (hypot_test): Likewise.
5623 (j0_test): Likewise.
5624 (j1_test): Likewise.
5625 (jn_test): Likewise.
5626 (lgamma_test): Likewise.
5627 (log_test): Likewise.
5628 (log10_test): Likewise.
5629 (log1p_test): Likewise.
5630 (log2_test): Likewise.
5631 (logb_test_downward): Likewise.
5632 (pow_test): Likewise.
5633 (pow_test_tonearest): Likewise.
5634 (pow_test_towardzero): Likewise.
5635 (pow_test_downward): Likewise.
5636 (pow_test_upward): Likewise.
5637 (remainder_test): Likewise.
5638 (remquo_test): Likewise.
5639 (sin_test): Likewise.
5640 (sin_test_tonearest): Likewise.
5641 (sin_test_towardzero): Likewise.
5642 (sin_test_downward): Likewise.
5643 (sin_test_upward): Likewise.
5644 (sincos_test): Likewise.
5645 (sinh_test): Likewise.
5646 (sinh_test_tonearest): Likewise.
5647 (sinh_test_towardzero): Likewise.
5648 (sinh_test_downward): Likewise.
5649 (sinh_test_upward): Likewise.
5650 (sqrt_test): Likewise.
5651 (tan_test): Likewise.
5652 (tan_test_tonearest): Likewise.
5653 (tan_test_towardzero): Likewise.
5654 (tan_test_downward): Likewise.
5655 (tan_test_upward): Likewise.
5656 (tanh_test): Likewise.
5657 (tgamma_test): Likewise.
5658 (y0_test): Likewise.
5659 (y1_test): Likewise.
5660 (yn_test): Likewise.
5661
323e5cb7
JM
5662 * math/gen-libm-test.pl (adjust_arg): Remove function.
5663 (special_function): Remove argument $in_func. Only handle
5664 generating output for tables of tests, not inside functions.
5665 (parse_args): Likewise.
5666 (generate_testfile): Remove variable $in_func. Update call to
5667 parse_args.
5668 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
5669 (MINUS_ZERO_INIT): Rename macro to minus_zero.
5670 (PLUS_INFTY_INIT): Rename macro to plus_infty.
5671 (MINUS_INFTY_INIT): Rename macro to minus_infty.
5672 (QNAN_VALUE_INIT): Rename macro to qnan_value.
5673 (MAX_VALUE_INIT): Rename macro to max_value.
5674 (MIN_VALUE_INIT): Rename macro to min_value.
5675 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
5676 (plus_zero): Remove variable.
5677 (minus_zero): Likewise.
5678 (plus_infty): Likewise.
5679 (minus_infty): Likewise.
5680 (qnan_value): Likewise.
5681 (max_value): Likewise.
5682 (min_value): Likewise.
5683 (min_subnorm_value): Likewise.
5684
e054f494
RA
56852013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5686
5687 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
5688 uint64_t or uint32_t usage.
5689 * crypt/sha256-block.c: Likewise.
5690 * crypt/sha256-crypt.c: Likewise.
5691 * crypt/sha256.c: Likewise.
5692 * crypt/sha512-block.c: Likewise.
5693 * crypt/sha512-crypt.c: Likewise.
5694 * crypt/sha512.c: Likewise.
5695 * debug/backtrace-tst.c: Likewise.
5696 * debug/pcprofiledump.c: Likewise.
5697 * elf/cache.c: Likewise.
5698 * elf/dl-cache.c: Likewise.
5699 * elf/dl-misc.c: Likewise.
5700 * elf/dl-profile.c: Likewise.
5701 * elf/dl-support.c: Likewise.
5702 * elf/ldconfig.c: Likewise.
5703 * elf/sprof.c: Likewise.
5704 * iconv/dummy-repertoire.c: Likewise.
5705 * iconv/iconv_charmap.c: Likewise.
5706 * iconv/skeleton.c: Likewise.
5707 * iconvdata/8bit-generic.c: Likewise.
5708 * iconvdata/cp737.h: Likewise.
5709 * iconvdata/cp775.h: Likewise.
5710 * iconvdata/ibm1008.h: Likewise.
5711 * iconvdata/ibm1025.h: Likewise.
5712 * iconvdata/ibm1046.h: Likewise.
5713 * iconvdata/ibm1097.h: Likewise.
5714 * iconvdata/ibm1112.h: Likewise.
5715 * iconvdata/ibm1122.h: Likewise.
5716 * iconvdata/ibm1123.h: Likewise.
5717 * iconvdata/ibm1124.h: Likewise.
5718 * iconvdata/ibm1129.h: Likewise.
5719 * iconvdata/ibm1130.h: Likewise.
5720 * iconvdata/ibm1132.h: Likewise.
5721 * iconvdata/ibm1133.h: Likewise.
5722 * iconvdata/ibm1137.h: Likewise.
5723 * iconvdata/ibm1140.h: Likewise.
5724 * iconvdata/ibm1141.h: Likewise.
5725 * iconvdata/ibm1142.h: Likewise.
5726 * iconvdata/ibm1143.h: Likewise.
5727 * iconvdata/ibm1144.h: Likewise.
5728 * iconvdata/ibm1145.h: Likewise.
5729 * iconvdata/ibm1146.h: Likewise.
5730 * iconvdata/ibm1147.h: Likewise.
5731 * iconvdata/ibm1148.h: Likewise.
5732 * iconvdata/ibm1149.h: Likewise.
5733 * iconvdata/ibm1153.h: Likewise.
5734 * iconvdata/ibm1154.h: Likewise.
5735 * iconvdata/ibm1155.h: Likewise.
5736 * iconvdata/ibm1156.h: Likewise.
5737 * iconvdata/ibm1157.h: Likewise.
5738 * iconvdata/ibm1158.h: Likewise.
5739 * iconvdata/ibm1160.h: Likewise.
5740 * iconvdata/ibm1161.h: Likewise.
5741 * iconvdata/ibm1162.h: Likewise.
5742 * iconvdata/ibm1163.h: Likewise.
5743 * iconvdata/ibm1164.h: Likewise.
5744 * iconvdata/ibm1166.h: Likewise.
5745 * iconvdata/ibm1167.h: Likewise.
5746 * iconvdata/ibm12712.h: Likewise.
5747 * iconvdata/ibm1390.h: Likewise.
5748 * iconvdata/ibm1399.h: Likewise.
5749 * iconvdata/ibm16804.h: Likewise.
5750 * iconvdata/ibm4517.h: Likewise.
5751 * iconvdata/ibm4899.h: Likewise.
5752 * iconvdata/ibm4909.h: Likewise.
5753 * iconvdata/ibm4971.h: Likewise.
5754 * iconvdata/ibm5347.h: Likewise.
5755 * iconvdata/ibm803.h: Likewise.
5756 * iconvdata/ibm856.h: Likewise.
5757 * iconvdata/ibm901.h: Likewise.
5758 * iconvdata/ibm902.h: Likewise.
5759 * iconvdata/ibm9030.h: Likewise.
5760 * iconvdata/ibm9066.h: Likewise.
5761 * iconvdata/ibm921.h: Likewise.
5762 * iconvdata/ibm922.h: Likewise.
5763 * iconvdata/ibm9448.h: Likewise.
5764 * iconvdata/isiri-3342.h: Likewise.
5765 * iconvdata/jis0201.h: Likewise.
5766 * include/link.h: Likewise.
5767 * include/netdb.h: Likewise.
5768 * inet/check_native.c: Likewise.
5769 * inet/check_pf.c: Likewise.
5770 * inet/getipv4sourcefilter.c: Likewise.
5771 * inet/getnameinfo.c: Likewise.
5772 * inet/getsourcefilter.c: Likewise.
5773 * inet/htonl.c: Likewise.
5774 * inet/setipv4sourcefilter.c: Likewise.
5775 * inet/setsourcefilter.c: Likewise.
5776 * inet/test-inet6_opt.c: Likewise.
5777 * inet/tst-network.c: Likewise.
5778 * locale/C-collate.c: Likewise.
5779 * locale/C-ctype.c: Likewise.
5780 * locale/C-time.c: Likewise.
5781 * locale/C-translit.h: Likewise.
5782 * locale/loadarchive.c: Likewise.
5783 * locale/programs/3level.h: Likewise.
5784 * locale/programs/charmap.c: Likewise.
5785 * locale/programs/charmap.h: Likewise.
5786 * locale/programs/ld-address.c: Likewise.
5787 * locale/programs/ld-collate.c: Likewise.
5788 * locale/programs/ld-ctype.c: Likewise.
5789 * locale/programs/ld-identification.c: Likewise.
5790 * locale/programs/ld-measurement.c: Likewise.
5791 * locale/programs/ld-messages.c: Likewise.
5792 * locale/programs/ld-monetary.c: Likewise.
5793 * locale/programs/ld-name.c: Likewise.
5794 * locale/programs/ld-numeric.c: Likewise.
5795 * locale/programs/ld-paper.c: Likewise.
5796 * locale/programs/ld-telephone.c: Likewise.
5797 * locale/programs/ld-time.c: Likewise.
5798 * locale/programs/linereader.c: Likewise.
5799 * locale/programs/locale.c: Likewise.
5800 * locale/programs/locarchive.c: Likewise.
5801 * locale/programs/locfile.h: Likewise.
5802 * locale/programs/repertoire.c: Likewise.
5803 * locale/programs/simple-hash.c: Likewise.
5804 * locale/programs/simple-hash.h: Likewise.
5805 * malloc/memusage.c: Likewise.
5806 * malloc/memusagestat.c: Likewise.
5807 * nis/nis_defaults.c: Likewise.
5808 * nis/nis_hash.c: Likewise.
5809 * nis/nis_print.c: Likewise.
5810 * nis/nis_xdr.c: Likewise.
5811 * nscd/connections.c: Likewise.
5812 * nscd/hstcache.c: Likewise.
5813 * nscd/nscd_gethst_r.c: Likewise.
5814 * nscd/nscd_getserv_r.c: Likewise.
5815 * nscd/nscd_helper.c: Likewise.
5816 * nscd/servicescache.c: Likewise.
5817 * nss/makedb.c: Likewise.
5818 * nss/nss_db/db-XXX.c: Likewise.
5819 * nss/nss_db/db-initgroups.c: Likewise.
5820 * nss/nss_db/db-netgrp.c: Likewise.
5821 * nss/nss_files/files-network.c: Likewise.
5822 * nss/nss_files/files-parse.c: Likewise.
5823 * posix/bug-regex5.c: Likewise.
5824 * posix/fnmatch_loop.c: Likewise.
5825 * posix/regcomp.c: Likewise.
5826 * posix/regexec.c: Likewise.
5827 * posix/tst-rfc3484-2.c: Likewise.
5828 * posix/tst-rfc3484-3.c: Likewise.
5829 * posix/tst-rfc3484.c: Likewise.
5830 * resolv/nss_dns/dns-canon.c: Likewise.
5831 * resolv/nss_dns/dns-network.c: Likewise.
5832 * resolv/res_init.c: Likewise.
5833 * resolv/res_mkquery.c: Likewise.
5834 * resolv/tst-aton.c: Likewise.
5835 * stdlib/cxa_atexit.c: Likewise.
5836 * stdlib/cxa_finalize.c: Likewise.
5837 * stdlib/gen-fpioconst.c: Likewise.
5838 * stdlib/strtol_l.c: Likewise.
5839 * string/tst-endian.c: Likewise.
5840 * sunrpc/auth_des.c: Likewise.
5841 * sunrpc/clnt_udp.c: Likewise.
5842 * sunrpc/rtime.c: Likewise.
5843 * sunrpc/svcauth_des.c: Likewise.
5844 * sunrpc/xdr.c: Likewise.
5845 * sunrpc/xdr_intXX_t.c: Likewise.
5846 * sunrpc/xdr_rec.c: Likewise.
5847 * sysdeps/generic/ldconfig.h: Likewise.
5848 * sysdeps/generic/ldsodefs.h: Likewise.
5849 * sysdeps/generic/memusage.h: Likewise.
5850 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5851 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
5852 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
5853 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5854 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5855 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5856 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5857 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5858 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5859 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5860 * sysdeps/posix/getaddrinfo.c: Likewise.
5861 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5862 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5863 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5864 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5865 * sysdeps/powerpc/test-gettimebase.c: Likewise.
5866 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5867 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
5868 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
5869 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
5870 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
5871 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5872 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5873 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
5874 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
5875 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
5876 * sysdeps/x86_64/dl-tls.h: Likewise.
5877 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
5878 * time/alt_digit.c: Likewise.
5879 * time/era.c: Likewise.
5880 * wcsmbs/tst-c16c32-1.c: Likewise.
5881
8c75f674
JM
58822013-05-16 Joseph Myers <joseph@codesourcery.com>
5883
5884 * math/libm-test.inc (struct test_sincos_data): New type.
5885 (RUN_TEST_LOOP_sincos): New macro.
5886 (sincos_test_data): New variable.
5887 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
5888
e6e49e59
RH
58892013-05-16 Richard Henderson <rth@redhat.com>
5890
5891 * math/atest-exp2.c (LIMB64): New macro.
5892 (CONSTSZ): New macro.
5893 (mp_exp1, mp_exp_m1, mp_log2): New variables.
5894 (hexdig): Move ...
5895 (print_mpn_fp): ... to function scope.
5896 (read_mpn_hex): Remove.
5897 (get_log2): Remove.
5898 (exp2_mpn): Use mp_log2.
5899 (main): Use mp_exp1.
5900
15c7c18d
JM
59012013-05-16 Joseph Myers <joseph@codesourcery.com>
5902
105a07df
JM
5903 * math/libm-test.inc: Remove comment about not testing "inexact"
5904 exceptions.
5905 (INEXACT_EXCEPTION): New macro.
5906 (NO_INEXACT_EXCEPTION): Likewise.
5907 (INVALID_EXCEPTION_OK): Update value.
5908 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5909 (OVERFLOW_EXCEPTION_OK): Likewise.
5910 (UNDERFLOW_EXCEPTION_OK): Likewise.
5911 (IGNORE_ZERO_INF_SIGN): Likewise.
5912 (ERRNO_UNCHANGED): Likewise.
5913 (ERRNO_EDOM): Likewise.
5914 (ERRNO_ERANGE): Likewise.
5915 (test_exceptions): Handle testing "inexact" exceptions.
5916 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
5917 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
5918 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
5919 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
5920 INEXACT_EXCEPTION.
5921 (rint_towardzero_test_data): Likewise.
5922 (rint_downward_test_data): Likewise.
5923 (rint_upward_test_data): Likewise.
5924
e9eee333
JM
5925 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
5926 with OVERFLOW_EXCEPTION.
5927 (exp10_test_data): Likewise.
5928 (exp2_test_data): Likewise.
5929 (expm1_test_data): Likewise.
5930 (lgamma_test_data): Likewise.
5931 (pow_test_data): Likewise.
5932 (tgamma_test_data): Likewise.
5933 (yn_test_data): Remove duplicate test of overflow.
5934
1c38ff73
JM
5935 * math/libm-test.inc (struct test_cc_c_data): New type.
5936 (RUN_TEST_LOOP_cc_c): New macro.
5937 (cpow_test_data): New variable.
5938 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
5939
15c7c18d
JM
5940 * math/libm-test.inc (struct test_f_L_data): New type.
5941 (RUN_TEST_LOOP_f_L): New macro.
5942 (llrint_test_data): New variable.
5943 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
5944 (llrint_tonearest_test_data): New variable.
5945 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
5946 (llrint_towardzero_test_data): New variable.
5947 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
5948 (llrint_downward_test_data): New variable.
5949 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
5950 (llrint_upward_test_data): New variable.
5951 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
5952 (llround_test_data): New variable.
5953 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
5954
f137ff13
PC
59552013-05-13 Peter Collingbourne <pcc@google.com>
5956
5957 * math/atest-exp2.c (get_log2): Remove const attribute.
5958
3608cb24
JM
59592013-05-15 Joseph Myers <joseph@codesourcery.com>
5960
5961 * math/libm-test.inc (struct test_f_l_data): New type.
5962 (RUN_TEST_LOOP_f_l): New macro.
5963 (lrint_test_data): New variable.
5964 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
5965 (lrint_tonearest_test_data): New variable.
5966 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
5967 (lrint_towardzero_test_data): New variable.
5968 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
5969 (lrint_downward_test_data): New variable.
5970 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
5971 (lrint_upward_test_data): New variable.
5972 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
5973 (lround_test_data): New variable.
5974 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
5975
39b1f617
PC
59762013-05-15 Peter Collingbourne <pcc@google.com>
5977
1deff3dc
PC
5978 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
5979 (EXTRACT_WORDS64) Use where appropriate.
5980 (INSERT_WORDS64) Likewise.
5981
791f3ba0
PC
5982 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
5983 constraints with x constraints.
5984 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
5985
39b1f617
PC
5986 * malloc/obstack.c (_obstack_compat): Add initializer.
5987
12fba011
EM
59882013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
5989
5990 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
5991 si_trapno and add si_addr_lsb to _sifields.sigfault.
5992 (si_trapno): Remove macro.
5993 (si_addr_lsb): Define new macro.
5994 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5995
d369f531
JM
59962013-05-15 Joseph Myers <joseph@codesourcery.com>
5997
b861c6c4
JM
5998 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
5999 instead of TEST_f_l.
6000 (llrint_test_tonearest): Likewise.
6001 (llrint_test_towardzero): Likewise.
6002 (llrint_test_downward): Likewise.
6003 (llrint_test_upward): Likewise.
6004 (llround_test): Likewise.
6005
7abeee12
JM
6006 * math/libm-test.inc (struct test_f_i_data): Add comment.
6007 (RUN_TEST_LOOP_f_b): New macro.
6008 (RUN_TEST_LOOP_f_b_tg): Likewise.
6009 (finite_test_data): New variable.
6010 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
6011 (isfinite_test_data): New variable.
6012 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6013 (isinf_test_data): New variable.
6014 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6015 (isnan_test_data): New variable.
6016 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6017 (isnormal_test_data): New variable.
6018 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6019 (issignaling_test_data): New variable.
6020 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6021 (signbit_test_data): New variable.
6022 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
6023
cbe8c4d3
JM
6024 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
6025 with INVALID_EXCEPTION.
6026 (acosh_test_data): Likewise.
6027 (asin_test_data): Likewise.
6028 (atanh_test_data): Likewise.
6029 (fmod_test_data): Likewise.
6030 (log_test_data): Likewise.
6031 (log10_test_data): Likewise.
6032 (log2_test_data): Likewise.
6033 (pow_test_data): Likewise.
6034 (sqrt_test_data): Likewise.
6035 (y0_test_data): Likewise.
6036 (y1_test_data): Likewise.
6037 (yn_test_data): Likewise.
6038
5575c0e5
JM
6039 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
6040 function contents.
6041
d369f531
JM
6042 * math/libm-test.inc (struct test_ff_i_data): New type.
6043 (RUN_TEST_LOOP_ff_i_tg): New macro.
6044 (isgreater_test_data): New variable.
6045 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6046 (isgreaterequal_test_data): New variable.
6047 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6048 (isless_test_data): New variable.
6049 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6050 (islessequal_test_data): New variable.
6051 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6052 (islessgreater_test_data): New variable.
6053 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6054 (isunordered_test_data): New variable.
6055 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
6056
781fd748
DM
60572013-05-14 David S. Miller <davem@davemloft.net>
6058
6059 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6060
87aa21df
JM
60612013-05-14 Joseph Myers <joseph@codesourcery.com>
6062
5e908270
JM
6063 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
6064
f71172e5
JM
6065 * math/libm-test.inc (struct test_fF_f1_data): Change type of
6066 extra_test to int.
6067 (struct test_f_i_data): Change type of max_ulp to int.
6068
8cfa635a
JM
6069 * math/libm-test.inc (test_ffI_f1_data): New type.
6070 (RUN_TEST_LOOP_ffI_f1): New macro.
6071 (remquo_test_data): New variable.
6072 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
6073
2bcb36b2
JM
6074 * setjmp/tst-setjmp-fp.c: New file.
6075 * setjmp/Makefile (tests): Add tst-setjmp-fp.
6076 (link-libm): New variable.
6077 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
6078
acbd839a
JM
6079 * math/libm-test.inc (struct test_f_i_data): New type.
6080 (RUN_TEST_LOOP_f_i): New macro.
6081 (RUN_TEST_LOOP_f_i_tg): Likewise.
6082 (fpclassify_test_data): New variable.
6083 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
6084 (ilogb_test_data): New variable.
6085 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
6086
e414d745
JM
6087 * math/libm-test.inc (scalbln_test): Correct function name in END
6088 call.
6089
d9c2a0fd
JM
6090 * math/libm-test.inc (struct test_f_f1_data): Add comment.
6091 (RUN_TEST_LOOP_fI_f1): New macro.
6092 (frexp_test_data): New variable.
6093 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
6094
9dc9095d
JM
6095 * math/libm-test.inc (struct test_fF_f1_data): New type.
6096 (RUN_TEST_LOOP_fF_f1): New macro.
6097 (modf_test_data): New variable.
6098 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
6099
87aa21df
JM
6100 * math/libm-test.inc (struct test_f_f1_data): New type.
6101 (RUN_TEST_LOOP_f_f1): New macro.
6102 (gamma_test_data): New variable.
6103 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6104 (lgamma_test_data): New variable.
6105 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
6106
141af660
CD
61072013-05-13 Carlos O'Donell <carlos@redhat.com>
6108
6109 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
6110 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
6111 (main): Comment "tls" pseudo-hwcap.
6112
6d33265c
JM
61132013-05-13 Joseph Myers <joseph@codesourcery.com>
6114
68fc074c
JM
6115 * math/libm-test.inc (struct test_fl_f_data): New type.
6116 (RUN_TEST_LOOP_fl_f): New variable.
6117 (scalbln_test_data): New variable.
6118 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
6119
243216e1
JM
6120 * math/libm-test.inc (struct test_fi_f_data): New type.
6121 (RUN_TEST_LOOP_fi_f): New macro.
6122 (ldexp_test_data): New variable.
6123 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
6124 (scalbn_test_data): New variable.
6125 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
6126
6a1992e2
JM
6127 * math/libm-test.inc (struct test_c_f_data): New type.
6128 (RUN_TEST_LOOP_c_f): New macro.
6129 (cabs_test_data): New variable.
6130 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
6131 (carg_test_data): New variable.
6132 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
6133 (cimag_test_data): New variable.
6134 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
6135 (creal_test_data): New variable.
6136 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
6137
0e400df5
JM
6138 * math/libm-test.inc (struct test_if_f_data): New type.
6139 (RUN_TEST_LOOP_if_f): New macro.
6140 (jn_test_data): New variable.
6141 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
6142 (yn_test_data): New variable.
6143 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
6144
6d33265c
JM
6145 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
6146
f98ece5f
AZ
61472013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6148
6149 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
6150 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
6151
0f7d347b
SP
61522013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6153
43fe811b
SP
6154 * benchtests/Makefile (CPPFLAGS-nonlib): Add
6155 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
6156 (bench-deps): Add bench-timing.h.
6157 * benchtests-bench-skeleton.c: Include bench-timing.h.
6158 (main): Use TIMING_* macros instead of clock_gettime.
6159 * benchtests/bench-timing.h: New file.
6160
0f7d347b
SP
6161 [BZ #14582]
6162 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
6163 Renamed from _LIB_VERSION.
6164 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
6165
601a3a5f
JM
61662013-05-12 Joseph Myers <joseph@codesourcery.com>
6167
4f184d30
JM
6168 * math/libm-test.inc (struct test_fff_f_data): New type.
6169 (RUN_TEST_LOOP_fff_f): New macro.
6170 (fma_test_data): New variable.
6171 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
6172 (fma_towardzero_test_data): New variable.
6173 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
6174 (fma_downward_test_data): New variable.
6175 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
6176 (fma_upward_test_data): New variable.
6177 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
6178
08198877
JM
6179 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
6180 (struct test_c_c_data): New type.
6181 (RUN_TEST_LOOP_c_c): New macro.
6182 (cacos_test_data): New variable.
6183 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
6184 (cacosh_test_data): New variable.
6185 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
6186 (casin_test_data): New variable.
6187 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
6188 (casinh_test_data): New variable.
6189 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
6190 (catan_test_data): New variable.
6191 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
6192 (catanh_test_data): New variable.
6193 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
6194 (ccos_test_data): New variable.
6195 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
6196 (ccosh_test_data): New variable.
6197 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
6198 (cexp_test_data): New variable.
6199 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
6200 (clog_test_data): New variable.
6201 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
6202 (clog10_test_data): New variable.
6203 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
6204 (conj_test_data): New variable.
6205 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
6206 (cproj_test_data): New variable.
6207 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
6208 (csin_test_data): New variable.
6209 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
6210 (csinh_test_data): New variable.
6211 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
6212 (csqrt_test_data): New variable.
6213 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
6214 (ctan_test_data): New variable.
6215 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
6216 (ctan_tonearest_test_data): New variable.
6217 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6218 (ctan_towardzero_test_data): New variable.
6219 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6220 (ctan_downward_test_data): New variable.
6221 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6222 (ctan_upward_test_data): New variable.
6223 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6224 (ctanh_test_data): New variable.
6225 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
6226 (ctanh_tonearest_test_data): New variable.
6227 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6228 (ctanh_towardzero_test_data): New variable.
6229 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6230 (ctanh_downward_test_data): New variable.
6231 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6232 (ctanh_upward_test_data): New variable.
6233 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6234 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
6235 of BUILD_COMPLEX.
6236
601a3a5f
JM
6237 * math/libm-test.inc (struct test_ff_f_data): New type.
6238 (struct test_ff_f_data_nexttoward): Likewise.
6239 (RUN_TEST_LOOP_2_f): New macro.
6240 (RUN_TEST_LOOP_ff_f): Likewise.
6241 (atan2_test_data): New variable.
6242 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
6243 (copysign_test_data): New variable.
6244 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
6245 (fdim_test_data): New variable.
6246 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
6247 (fmax_test_data): New variable.
6248 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
6249 (fmin_test_data): New variable.
6250 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
6251 (fmod_test_data): New variable.
6252 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
6253 (hypot_test_data): New variable.
6254 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
6255 (nextafter_test_data): New variable.
6256 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
6257 (nexttoward_test_data): New variable.
6258 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
6259 (pow_test_data): New variable.
6260 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
6261 (pow_tonearest_test_data): New variable.
6262 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
6263 (pow_towardzero_test_data): New variable.
6264 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
6265 (pow_downward_test_data): New variable.
6266 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
6267 (pow_upward_test_data): New variable.
6268 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
6269 (remainder_test_data): New variable.
6270 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
6271 (scalb_test_data): New variable.
6272 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
6273 * sysdeps/i386/fpu/libm-test-ulps: Update.
6274
74c57478
JM
62752013-05-11 Joseph Myers <joseph@codesourcery.com>
6276
8329e4da
JM
6277 * math/libm-test.inc (fma_test): Use max_value instead of local
6278 variable fltmax.
6279 (nextafter_test): Likewise.
6280
74c57478
JM
6281 * math/libm-test.inc (acos_towardzero_test_data): New variable.
6282 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6283 (acos_downward_test_data): New variable.
6284 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6285 (acos_upward_test_data): New variable.
6286 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6287 (acosh_test_data): New variable.
6288 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
6289 (asin_test_data): New variable.
6290 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
6291 (asin_tonearest_test_data): New variable.
6292 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6293 (asin_towardzero_test_data): New variable.
6294 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6295 (asin_downward_test_data): New variable.
6296 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6297 (asin_upward_test_data): New variable.
6298 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6299 (asinh_test_data): New variable.
6300 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
6301 (atan_test_data): New variable.
6302 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
6303 (atanh_test_data): New variable.
6304 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
6305 (cbrt_test_data): New variable.
6306 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
6307 (ceil_test_data): New variable.
6308 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
6309 (cos_test_data): New variable.
6310 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
6311 (cos_tonearest_test_data): New variable.
6312 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6313 (cos_towardzero_test_data): New variable.
6314 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6315 (cos_downward_test_data): New variable.
6316 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6317 (cos_upward_test_data): New variable.
6318 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6319 (cosh_test_data): New variable.
6320 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
6321 (cosh_tonearest_test_data): New variable.
6322 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6323 (cosh_towardzero_test_data): New variable.
6324 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6325 (cosh_downward_test_data): New variable.
6326 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6327 (cosh_upward_test_data): New variable.
6328 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6329 (erf_test_data): New variable.
6330 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
6331 (erfc_test_data): New variable.
6332 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
6333 (exp_test_data): New variable.
6334 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
6335 (exp_tonearest_test_data): New variable.
6336 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6337 (exp_towardzero_test_data): New variable.
6338 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6339 (exp_downward_test_data): New variable.
6340 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6341 (exp_upward_test_data): New variable.
6342 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6343 (exp10_test_data): New variable.
6344 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
6345 (exp2_test_data): New variable.
6346 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
6347 (expm1_test_data): New variable.
6348 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
6349 (fabs_test_data): New variable.
6350 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
6351 (floor_test_data): New variable.
6352 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
6353 (j0_test_data): New variable.
6354 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
6355 (j1_test_data): New variable.
6356 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
6357 (log_test_data): New variable.
6358 (log_test): Run tests with RUN_TEST_LOOP_f_f.
6359 (log10_test_data): New variable.
6360 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
6361 (log1p_test_data): New variable.
6362 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
6363 (log2_test_data): New variable.
6364 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
6365 (logb_test_data): New variable.
6366 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
6367 (logb_downward_test_data): New variable.
6368 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6369 (nearbyint_test_data): New variable.
6370 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
6371 (rint_test_data): New variable.
6372 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
6373 (rint_tonearest_test_data): New variable.
6374 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6375 (rint_towardzero_test_data): New variable.
6376 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6377 (rint_downward_test_data): New variable.
6378 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6379 (rint_upward_test_data): New variable.
6380 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6381 (round_test_data): New variable.
6382 (round_test): Run tests with RUN_TEST_LOOP_f_f.
6383 (sin_test_data): New variable.
6384 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
6385 (sin_tonearest_test_data): New variable.
6386 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6387 (sin_towardzero_test_data): New variable.
6388 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6389 (sin_downward_test_data): New variable.
6390 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6391 (sin_upward_test_data): New variable.
6392 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6393 (sinh_test_data): New variable.
6394 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
6395 (sinh_tonearest_test_data): New variable.
6396 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6397 (sinh_towardzero_test_data): New variable.
6398 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6399 (sinh_downward_test_data): New variable.
6400 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6401 (sinh_upward_test_data): New variable.
6402 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6403 (sqrt_test_data): New variable.
6404 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
6405 (tan_test_data): New variable.
6406 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
6407 (tan_tonearest_test_data): New variable.
6408 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6409 (tan_towardzero_test_data): New variable.
6410 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6411 (tan_downward_test_data): New variable.
6412 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6413 (tan_upward_test_data): New variable.
6414 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6415 (tanh_test_data): New variable.
6416 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
6417 (tgamma_test_data): New variable.
6418 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
6419 (trunc_test_data): New variable.
6420 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
6421 (y0_test_data): New variable.
6422 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
6423 (y1_test_data): New variable.
6424 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
6425 (significand_test_data): New variable.
6426 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
6427
7187d844
CG
64282013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
6429
6430 [BZ #12387]
6431 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
6432
f63fae73
PT
64332013-05-10 Pino Toscano <toscano.pino@tiscali.it>
6434
6435 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
6436
8a67a4b3
AJ
64372013-05-10 Andreas Jaeger <aj@suse.de>
6438
6439 [BZ #15448]
6440 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
6441 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
6442
51df539d
JM
64432013-05-10 Joseph Myers <joseph@codesourcery.com>
6444
6445 * math/gen-libm-test.pl (adjust_arg): New function.
6446 (special_functions): Handle generating output in both functions
6447 and arrays.
6448 (parse_args): Likewise.
6449 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
6450 $in_func argument to parse_args.
6451 * math/libm-test.inc (struct test_f_f_data): New type.
6452 (IF_ROUND_INIT_): New macro.
6453 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
6454 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6455 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6456 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6457 (ROUND_RESTORE_): Likewise.
6458 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
6459 (ROUND_RESTORE_FE_TONEAREST): Likewise.
6460 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
6461 (ROUND_RESTORE_FE_UPWARD): Likewise.
6462 (RUN_TEST_LOOP_f_f): New macro.
6463 (acos_test_data): New variable.
6464 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
6465 (acos_tonearest_test_data): New variable.
6466 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6467
5c637fe5
SP
64682013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6469
6470 * benchtests/bench-skeleton.c (startup): Fix coding style.
6471
ab2b9461
JM
64722013-05-10 Joseph Myers <joseph@codesourcery.com>
6473
6474 [BZ #6809]
6475 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
6476 negative infinity argument.
6477 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
6478 negative infinity argument.
6479 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
6480 negative infinity argument.
6481 * math/libm-test.inc (tgamma_test): Expect errno to be set for
6482 domain errors.
6483
4c0fe6fe
FW
64842013-05-10 Florian Weimer <fweimer@redhat.com>
6485
6486 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
6487 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
6488 * iconv/iconv_prog.c (main): Likewise.
6489 * locale/programs/charmap-dir.c (charmap_readdir)
6490 (fopen_uncompressed): Likewise.
6491 * locale/programs/locfile.c (siblings_uncached)
6492 (write_locale_data): Use lstat64 instead of lstat.
6493 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
6494 stat.
6495
a3375d29
AJ
64962013-05-10 Andreas Jaeger <aj@suse.de>
6497
6498 [BZ #15395]
6499 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
6500 localization.
6501 Include <locale.h>.
6502
36129722
CD
65032013-05-09 Carlos O'Donell <carlos@redhat.com>
6504
6505 * elf/dl-close.c (_dl_close_worker): Add comments.
6506
faa7f811
JM
65072013-05-09 Joseph Myers <joseph@codesourcery.com>
6508
ed41ffef
JM
6509 [BZ #15359]
6510 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
6511 high part of pi/2.
6512 (__ieee754_rem_pio2l): Update comments.
6513
d0213cd0
JM
6514 [BZ #15429]
6515 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
6516 high part of pi/2.
6517 (__ieee754_rem_pio2l): Update comments.
6518
0d3e777a
JM
6519 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
6520 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
6521
24f56066
JM
6522 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
6523 M_PI_4l.
6524
faa7f811
JM
6525 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
6526 (M_PI_34_LOG10El): Likewise.
6527 (M_PI2_LOG10El): Likewise.
6528 (M_PI4_LOG10El): Likewise.
6529 (M_PI_LOG10El): Likewise.
6530
e9a5e0fd
AZ
65312013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6532
6533 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6534
d8cd06db
JM
65352013-05-08 Joseph Myers <joseph@codesourcery.com>
6536
a0d9f9d7
JM
6537 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
6538 (MINUS_ZERO_INIT): Likewise.
6539 (PLUS_INFTY_INIT): Likewise.
6540 (MINUS_INFTY_INIT): Likewise.
6541 (QNAN_VALUE_INIT): Likewise.
6542 (MAX_VALUE_INIT): Likewise.
6543 (MIN_VALUE_INIT): Likewise.
6544 (MIN_SUBNORM_VALUE_INIT): Likewise.
6545 (plus_zero): Initialize with PLUS_ZERO_INIT.
6546 (minus_zero): Initialize with MINUS_ZERO_INIT.
6547 (plus_infty): Initialize with PLUS_INFTY_INIT.
6548 (minus_infty): Initialize with MINUS_INFTY_INIT.
6549 (qnan_value): Initialize with QNAN_VALUE_INIT.
6550 (max_value): Initialize with MAX_VALUE_INIT.
6551 (min_value): Initialize with MIN_VALUE_INIT.
6552 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
6553
ae08db3b
JM
6554 * math/libm-test.inc (RUN_TEST_if_f): New macro.
6555 (jn_test): Use TEST_if_f instead of TEST_ff_f.
6556 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
6557 (yn_test): Use TEST_if_f instead of TEST_ff_f.
6558
f44bf14a
JM
6559 * math/libm-test.inc (RUN_TEST_f_f): New macro.
6560 (RUN_TEST_2_f): Likewise.
6561 (RUN_TEST_ff_f): Likewise.
6562 (RUN_TEST_fi_f): Likewise.
6563 (RUN_TEST_fl_f): Likewise.
6564 (RUN_TEST_fff_f): Likewise.
6565 (RUN_TEST_c_f): Likewise.
6566 (RUN_TEST_f_f1): Likewise.
6567 (RUN_TEST_fF_f1): Likewise.
6568 (RUN_TEST_fI_f1): Likewise.
6569 (RUN_TEST_ffI_f1): Likewise.
6570 (RUN_TEST_c_c): Likewise.
6571 (RUN_TEST_cc_c): Likewise.
6572 (RUN_TEST_f_i): Likewise.
6573 (RUN_TEST_f_i_tg): Likewise.
6574 (RUN_TEST_ff_i_tg): Likewise.
6575 (RUN_TEST_f_b): Likewise.
6576 (RUN_TEST_f_b_tg): Likewise.
6577 (RUN_TEST_f_l): Likewise.
6578 (RUN_TEST_f_L): Likewise.
6579 (RUN_TEST_sincos): Likewise.
6580 * math/gen-libm-test.pl (new_test): Take new argument to indicate
6581 whether to show exceptions. Do not include ");\n" in return
6582 value.
6583 (special_functions): Output call to RUN_TEST_sincos instead of
6584 check_float calls. Update calls to new_test.
6585 (parse_args): Output call to single RUN_TEST_* macro instead of
6586 check_* calls and other assignments. Update calls to new_test.
6587
d8cd06db
JM
6588 [BZ #2546]
6589 [BZ #2560]
6590 [BZ #5159]
6591 [BZ #15426]
6592 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
6593 input to result for tgamma overflow.
6594 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
6595 (gamma_coeff): New variable.
6596 (NCOEFF): New macro.
6597 (gamma_positive): New function.
6598 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
6599 underflow here. Use gamma_positive instead of exp (lgamma) for
6600 other arguments.
6601 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
6602 (gamma_coeff): New variable.
6603 (NCOEFF): New macro.
6604 (gammaf_positive): New function.
6605 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
6606 underflow here. Use gamma_positive instead of exp (lgamma) for
6607 other arguments.
6608 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
6609 (gamma_coeff): New variable.
6610 (NCOEFF): New macro.
6611 (gammal_positive): New function.
6612 (__ieee754_gammal_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-128ibm/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, overflow and
6620 underflow here. Handle NaN the same as positive infinity. Remove
6621 check x < 0xffffffff for negative integers. Use gamma_positive
6622 instead of exp (lgamma) for other arguments.
6623 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
6624 (gamma_coeff): New variable.
6625 (NCOEFF): New macro.
6626 (gammal_positive): New function.
6627 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
6628 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
6629 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6630 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
6631 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
6632 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6633 * sysdeps/generic/math_private.h (__gamma_productf): New
6634 prototype.
6635 (__gamma_product): Likewise.
6636 (__gamma_productl): Likewise.
6637 * math/Makefile (libm-calls): Add gamma_product.
6638 * math/libm-test.inc (tgamma_test): Add more tests.
6639 * sysdeps/i386/fpu/libm-test-ulps: Update.
6640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6641
bb7cf681
OB
66422013-05-08 Ondřej Bílka <neleai@seznam.cz>
6643
6644 * benchtests/bench-skeleton.c (main): Preheat CPU.
6645
ba853947
AJ
66462013-05-07 Aurelien Jarno <aurelien@aurel32.net>
6647
6648 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
6649
8347c74c
RM
66502013-05-07 Roland McGrath <roland@hack.frob.com>
6651
6652 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
6653 and _dl_skip_args_internal.
6654
e8dd4791
CD
66552013-05-07 Carlos O'Donell <carlos@redhat.com>
6656
6657 * manual/message.texi (Message Translation): Talk about users.
6658 Message to key mapping impacts design.
6659
c7405830
RM
66602013-05-06 Roland McGrath <roland@hack.frob.com>
6661
a9173057
RM
6662 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
6663
976e2f03
RM
6664 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
6665
9723ffc5
RM
6666 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
6667 * sysdeps/wordsize-64/glob64.c: ... here.
6668
962e6658
RM
6669 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
6670 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
6671 New macros.
6672
ee586a6d
RM
6673 * debug/getlogin_r_chk.c: Moved to ...
6674 * login/getlogin_r_chk.c: ... here.
6675 * debug/Makefile (routines): Move getlogin_r_chk to ...
6676 * login/Makefile (routines): ... here.
6677 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
6678 * login/Versions (libc: GLIBC_2.4): ... here.
6679
355f9165
RM
6680 * io/poll.c (__poll): Renamed from poll.
6681 Add libc_hidden_def.
6682 (poll): Define as weak alias.
6683
bd9ffde6
RM
6684 * debug/ptsname_r_chk.c: Moved to ...
6685 * login/ptsname_r_chk.c: ... here.
6686 * debug/Makefile (routines): Move ptsname_r_chk to ...
6687 * login/Makefile (routines): ... here.
6688 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
6689 * login/Versions (libc: GLIBC_2.4): ... here.
6690
8fb16a04
RM
6691 * posix/getlogin.c: Moved to ...
6692 * login/getlogin.c: ... here.
6693 * posix/getlogin_r.c: Moved to ...
6694 * login/getlogin_r.c: ... here.
6695 * posix/getlogin_r.c: Moved to ...
6696 * login/getlogin_r.c: ... here.
6697 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
6698 * login/Makefile (routines): ... here.
6699 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
6700 * login/Versions (libc: GLIBC_2.0): ... here.
6701
b99b892f
RM
6702 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
6703 (setrlimit): Define as weak alias.
6704
c7405830
RM
6705 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
6706 Call __ names for open, ftruncate, and close.
6707 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
6708 (truncate): Define as weak alias.
6709
5bf96de5
JM
67102013-05-06 Joseph Myers <joseph@codesourcery.com>
6711
9ea3513c
JM
6712 * math/gen-libm-test.pl (parse_args): Initialize x before each
6713 test of frexp, modf and remquo.
6714
5bf96de5
JM
6715 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
6716 test signgam value.
6717
16e616a7
AZ
67182013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6719
6720 [BZ #15418]
6721 [BZ #15419]
6722 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
6723 internal tests.
6724 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6725
d5e82754
RM
67262013-05-06 Roland McGrath <roland@hack.frob.com>
6727
6728 * elf/dl-writev.h: New file.
6729 * elf/dl-misc.c: Include it.
6730 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
6731 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
6732
a7548d41
JM
67332013-05-04 Joseph Myers <joseph@codesourcery.com>
6734
b7dab1e4
JM
6735 * math/libm-test.inc (noXFails): Remove variable.
6736 (noXPasses): Likewise.
6737 (BUILD_COMPLEX_INT): Remove macro.
6738 (print_screen): Remove xfail argument.
6739 (print_screen_max_error): Likewise.
6740 (update_stats): Likewise.
6741 (print_max_error): Likewise. Update calls to other affected
6742 functions.
6743 (print_complex_max_error): Likewise.
6744 (test_single_exception): Update calls to print_screen.
6745 (test_single_errno): Likewise.
6746 (check_float_internal): Remove xfail argument. Update calls to
6747 other affected functions.
6748 (check_float): Likewise.
6749 (check_complex): Likewise.
6750 (check_int): Likewise.
6751 (check_long): Likewise.
6752 (check_bool): Likewise.
6753 (check_longlong): Likewise.
6754 (main): Don't print noXFails and noXPasses.
6755 * math/gen-libm-test.pl (top level): Don't mention expected
6756 failure handling in comment.
6757 (new_test): Don't handle expected failures.
6758 (parse_args): Don't mention expected failure handling in comment.
6759 (generate_testfile): Don't handle expected failures.
6760 (parse_ulps): Likewise.
6761 (print_ulps_file): Likewise.
6762 (get_failure): Remove function.
6763 (output_test): Don't handle expected failures.
6764 * make/README.libm-test: Don't mention expected failure handling.
6765
a7548d41
JM
6766 * math/libm-test.inc (plus_zero): Make const. Add initializer.
6767 (minus_zero): Likewise.
6768 (plus_infty): Likewise.
6769 (minus_infty): Likewise.
6770 (qnan_value): Likewise.
6771 (max_value): Likewise.
6772 (min_value): Likewise.
6773 (min_subnorm_value): Likewise.
6774 (initialize): Do not initialize those variables dynamically.
6775
60bfd54c
RM
67762013-05-03 Roland McGrath <roland@hack.frob.com>
6777
cc0e6ed8
RM
6778 * io/open.c (__open_2): Moved to ...
6779 * io/open_2.c: ... this new file.
6780 * io/open64.c (__open64_2): Moved to ...
6781 * io/open64_2.c: ... this new file.
6782 * io/openat.c (__openat_2): Moved to ...
6783 * io/openat_2.c: ... this new file.
6784 * io/openat64.c (__openat64_2): Moved to ...
6785 * io/openat64_2.c: ... this new file.
6786 * io/Makefile (routines): Add them.
6787 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
6788 * sysdeps/unix/sysv/linux/open_2.c: File removed.
6789 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
6790 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
6791 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
6792 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
6793 (__openat64): Add hidden_ver.
6794 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
6795 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
6796
60bfd54c
RM
6797 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
6798 Separately conditionalize setting of GLRO(dl_sysinfo) so
6799 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
6800 as well, but the actual setting is only under [NEED_DL_SYSINFO].
6801
83e7640f
AZ
68022013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6803
6804 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
6805 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
6806 definition.
6807 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
6808 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6809 (_libc_vdso_platform_setup): Add __vdso_time initialization.
6810 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
6811 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
6812
d5dc2af3
JM
68132013-05-03 Joseph Myers <joseph@codesourcery.com>
6814
c31a5b1e
JM
6815 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
6816 test signgam value.
6817
d5dc2af3
JM
6818 * math/libm-test.inc (hypot_test): Do not use
6819 IGNORE_ZERO_INF_SIGN.
6820
164fd39d
AJ
68212013-05-03 Andreas Jaeger <aj@suse.de>
6822
6823 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
6824 Linux 3.9.
6825 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
6826 (PF_MAX): Adjust for VSOCK change.
6827
8237f48c
AZ
68282013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6829
6830 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6831
9df02941
CD
68322013-05-02 Carlos O'Donell <carlos@redhat.com>
6833
6834 [BZ #15264]
6835 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
6836 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
6837 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
6838
d422395e
DM
68392013-05-02 David S. Miller <davem@davemloft.net>
6840
6841 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6842
a07c5731
OB
68432013-05-01 Ondřej Bílka <neleai@seznam.cz>
6844
6845 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
6846
1324e37f
RM
68472013-05-01 Roland McGrath <roland@hack.frob.com>
6848
6849 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
6850
0695940b
RS
68512013-05-01 Richard Smith <richard@metafoo.co.uk>
6852
bb5f27ad 6853 [BZ #14952]
0695940b
RS
6854 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
6855 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6856 Use __attribute__ ((__gnu_inline__)).
6857 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6858 Don't use __attribute__ ((__gnu_inline__)).
6859
10de07f5
JM
68602013-05-01 Joseph Myers <joseph@codesourcery.com>
6861
6862 [BZ #15423]
6863 * math/s_catan.c (__catan): Handle small real or imaginary part of
6864 input specially to avoid spurious underflow.
6865 * math/s_catanf.c (__catanf): Likewise.
6866 * math/s_catanh.c (__catanh): Likewise.
6867 * math/s_catanhf.c (__catanhf): Likewise.
6868 * math/s_catanhl.c (__catanhl): Likewise.
6869 * math/s_catanl.c (__catanl): Likewise.
6870 * math/libm-test.inc (catan_test): Add more tests.
6871 (catanh_test): Likewise.
6872 * sysdeps/i386/fpu/libm-test-ulps: Update.
6873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6874
cb4d5414
AZ
68752013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6876
6877 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6878
caf84319
JM
68792013-04-30 Joseph Myers <joseph@codesourcery.com>
6880
6881 [BZ #15416]
6882 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
6883 accurately for denominator in atan2.
6884 * math/s_catanf.c (__catanf): Likewise.
6885 * math/s_catanh.c (__catanh): Likewise.
6886 * math/s_catanhf.c (__catanhf): Likewise.
6887 * math/s_catanhl.c (__catanhl): Likewise.
6888 * math/s_catanl.c (__catanl): Likewise.
6889 * math/libm-test.inc (catan_test): Add more tests.
6890 (catanh_test): Likewise.
6891 * sysdeps/i386/fpu/libm-test-ulps: Update.
6892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6893
d569c6ee
SP
68942013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6895
6dbe713d
SP
6896 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
6897
f0ee064b
SP
6898 * benchtests/Makefile (bench): Remove slow benchmarks.
6899 * benchtests/atan-inputs: Add slow benchmark inputs.
6900 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
6901 (BENCH_FUNC): Accept variant offset.
6902 (VARIANT): Define.
6903 * benchtests/bench-skeleton.c (main): Run benchmark for each
6904 variant.
6905 * benchtests/cos-inputs: Add slow benchmark inputs.
6906 * benchtests/exp-inputs: Likewise.
6907 * benchtests/pow-inputs: Likewise.
6908 * benchtests/sin-inputs: Likewise.
6909 * benchtests/slowatan-inputs: Remove.
6910 * benchtests/slowatan.c: Remove.
6911 * benchtests/slowcos-inputs: Remove.
6912 * benchtests/slowcos.c: Remove.
6913 * benchtests/slowexp-inputs: Remove.
6914 * benchtests/slowexp.c: Remove.
6915 * benchtests/slowpow-inputs: Remove.
6916 * benchtests/slowpow.c: Remove.
6917 * benchtests/slowsin-inputs: Remove.
6918 * benchtests/slowsin.c: Remove.
6919 * benchtests/slowtan-inputs: Remove.
6920 * benchtests/slowtan.c: Remove.
6921 * benchtests/tan-inputs: Add slow benchmark inputs.
6922 * scripts/bench.pl: Parse comments and directives.
6923
d569c6ee
SP
6924 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
6925 in CPPFLAGS.
6926 ($(objpfx)bench-%.c): Remove *-ITER.
6927 * benchtests/bench-modf.c: Remove definition of ITER.
6928 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
6929 (main): Loop for DURATION seconds instead of fixed number of
6930 iterations.
6931 * scripts/bench.pl: Don't expect iterations in parameters.
6932
a6a242fe
RM
69332013-04-29 Roland McGrath <roland@hack.frob.com>
6934
6935 * io/fchdir.c (__fchdir): Renamed from fchdir.
6936 (fchdir): Define as weak alias.
6937
f2da7793
JM
69382013-04-29 Joseph Myers <joseph@codesourcery.com>
6939
6940 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
6941 (ERRNO_EDOM): Likewise.
6942 (ERRNO_ERANGE): Likewise.
6943 (noErrnoTests): New variable.
6944 (init_max_error): Set errno to 0.
6945 (test_single_errno): New function.
6946 (test_errno): Likewise.
6947 (check_float_internal): Call test_errno. Set errno to 0.
6948 (check_complex): Refer to errno tests in comment.
6949 (check_int): Call test_errno. Set errno to 0.
6950 (check_long): Likewise.
6951 (check_bool): Likewise.
6952 (check_longlong): Likewise.
6953 (cos_test): Use ERRNO_* flags for errno tests instead of
6954 check_int.
6955 (expm1_test): Likewise.
6956 (fmod_test): Likewise.
6957 (ilogb_test): Likewise.
6958 (lgamma_test): Likewise.
6959 (pow_test): Likewise.
6960 (remainder_test): Likewise.
6961 (sin_test): Likewise.
6962 (tan_test): Likewise.
6963 (yn_test): Likewise.
6964 (initialize): Set errno to 0.
6965 (main): Print number of errno tests.
6966 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
6967
b1a36ceb
AJ
69682013-04-29 Andreas Jaeger <aj@suse.de>
6969
c3ed8088
AJ
6970 [BZ #15084]
6971 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
6972 and RES_USEVC.
6973
f1a24198
AJ
6974 [BZ #15085]
6975 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
6976 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
6977 unimplemented.
6978
9ce3b2cb
AJ
6979 [BZ #15380]
6980 * stdlib/random.c (__initstate): Return NULL if
6981 __initstate fails.
6982
f1a24198 6983 [BZ #15086]
b1a36ceb
AJ
6984 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
6985 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
6986 RES_SNGLKUPREOP.
6987
7e7b6f36
AZ
69882013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6989
6990 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6991
4d14f449
JM
69922013-04-29 Joseph Myers <joseph@codesourcery.com>
6993
6994 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
6995 of individual tests.
6996 (casin_test): Likewise.
6997 (casinh_test): Likewise.
6998
5b4217d7
JM
69992013-04-27 Joseph Myers <joseph@codesourcery.com>
7000
7001 [BZ #15409]
7002 * math/s_catan.c (__catan): Handle arguments with large real or
7003 imaginary part separately without squaring.
7004 * math/s_catanf.c (__catanf): Likewise.
7005 * math/s_catanh.c (__catanh): Likewise.
7006 * math/s_catanhf.c (__catanhf): Likewise.
7007 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7008 and redefine.
7009 (__catanhl): Handle arguments with large real or imaginary part
7010 separately without squaring.
7011 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
7012 and redefine.
7013 (__catanl): Handle arguments with large real or imaginary part
7014 separately without squaring.
7015 * math/libm-test.inc (catan_test): Add more tests.
7016 (catanh_test): Likewise.
7017 * sysdeps/i386/fpu/libm-test-ulps: Update.
7018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7019
4220c3ef
AJ
70202013-04-27 Andreas Jaeger <aj@suse.de>
7021
7022 [BZ #15007]
7023 * stdlib/stdlib.h: Update guards for qecvt.
7024 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
7025 <stdlib.h>.
7026
4721b2d1
AM
70272013-04-27 Allan McRae <allan@archlinux.org>
7028
7029 * sysdeps/i386/fpu/libm-test-ulps: Update.
7030
f0302940
JM
70312013-04-26 Joseph Myers <joseph@codesourcery.com>
7032
9457fd95
JM
7033 [BZ #15406]
7034 * math/s_catan.c: Include <float.h>.
7035 (__catan): Ensure underflow exception occurs for underflowed
7036 result.
7037 * math/s_catanf.c: Include <float.h>.
7038 (__catanf): Ensure underflow exception occurs for underflowed
7039 result.
7040 * math/s_catanh.c: Include <float.h>.
7041 (__catanh): Ensure underflow exception occurs for underflowed
7042 result.
7043 * math/s_catanhf.c: Include <float.h>.
7044 (__catanhf): Ensure underflow exception occurs for underflowed
7045 result.
7046 * math/s_catanhl.c: Include <float.h>.
7047 (__catanhl): Ensure underflow exception occurs for underflowed
7048 result.
7049 * math/s_catanl.c: Include <float.h>.
7050 (__catanl): Ensure underflow exception occurs for underflowed
7051 result.
7052 * math/libm-test.inc (catan_test): Add more tests.
7053 (catanh_test): Likewise.
7054
f0302940
JM
7055 [BZ #15405]
7056 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
7057 underflowed result.
7058 * math/s_ccoshf.c (__ccoshf): Likewise.
7059 * math/s_ccoshl.c (__ccoshl): Likewise.
7060 * math/s_csin.c (__csin): Likewise.
7061 * math/s_csinf.c (__csinf): Likewise.
7062 * math/s_csinh.c (__csinh): Likewise.
7063 * math/s_csinhf.c (__csinhf): Likewise.
7064 * math/s_csinhl.c (__csinhl): Likewise.
7065 * math/s_csinl.c (__csinl): Likewise.
7066 * math/libm-test.inc (ccos_test): Add more tests.
7067 (ccosh_test): Likewise.
7068 (csin_test): Likewise.
7069 (csinh_test): Likewise.
7070
aa630f59
AZ
70712013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7072
7073 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
7074 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
7075 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
7076 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
7077 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
7078 powerpc/power5+/fpu folders.
7079 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
7080
7081
1b835983
MT
70822013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
7083
7084 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7085
73709b26
JM
70862013-04-25 Joseph Myers <joseph@codesourcery.com>
7087
7088 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
7089 additions to variable.
7090 [$(config-machine) = x86_64] (modules-names): Likewise.
7091 ($(objpfx)tst-audit3): Remove dependency.
7092 ($(objpfx)tst-audit3.out): Likewise.
7093 ($(objpfx)tst-audit4): Likewise.
7094 ($(objpfx)tst-audit4.out): Likewise.
7095 ($(objpfx)tst-audit5): Likewise.
7096 ($(objpfx)tst-audit5.out): Likewise.
7097 ($(objpfx)tst-audit6): Likewise.
7098 ($(objpfx)tst-audit6.out): Likewise.
7099 ($(objpfx)tst-audit7): Likewise.
7100 ($(objpfx)tst-audit7.out): Likewise.
7101 (tst-audit3-ENV): Remove variable.
7102 (tst-audit4-ENV): Likewise.
7103 (tst-audit5-ENV): Likewise.
7104 (tst-audit6-ENV): Likewise.
7105 (tst-audit7-ENV): Likewise.
7106 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
7107 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
7108 addition to variable.
7109 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
7110 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
7111 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
7112 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
7113 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
7114 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
7115 tst-audit3, tst-audit4 and tst-audit5.
7116 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
7117 tst-audit6 and tst-audit7.
7118 [$(subdir) = elf] (modules-names): Add audit modules for those
7119 tests.
7120 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
7121 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
7122 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
7123 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
7124 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
7125 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
7126 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
7127 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
7128 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
7129 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
7130 [$(subdir) = elf] (tst-audit3-ENV): New variable.
7131 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
7132 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
7133 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
7134 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
7135 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
7136 Likewise.
7137 [$(subdir) = elf && $(config-cflags-avx) = yes]
7138 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
7139 [$(subdir) = elf && $(config-cflags-avx) = yes]
7140 (CFLAGS-tst-auditmod4a.c): Likewise.
7141 [$(subdir) = elf && $(config-cflags-avx) = yes]
7142 (CFLAGS-tst-auditmod4b.c): Likewise.
7143 [$(subdir) = elf && $(config-cflags-avx) = yes]
7144 (CFLAGS-tst-auditmod6b.c): Likewise.
7145 [$(subdir) = elf && $(config-cflags-avx) = yes]
7146 (CFLAGS-tst-auditmod6c.c): Likewise.
7147 [$(subdir) = elf && $(config-cflags-avx) = yes]
7148 (CFLAGS-tst-auditmod7b.c): Likewise.
7149 * elf/tst-audit3.c: Move to ...
7150 * sysdeps/x86_64/tst-audit3.c: ... here.
7151 * elf/tst-audit4.c: Move to ...
7152 * sysdeps/x86_64/tst-audit4.c: ... here.
7153 * elf/tst-audit5.c: Move to ...
7154 * sysdeps/x86_64/tst-audit5.c: ... here.
7155 * elf/tst-audit6.c: Move to ...
7156 * sysdeps/x86_64/tst-audit6.c: ... here.
7157 * elf/tst-audit7.c: Move to ...
7158 * sysdeps/x86_64/tst-audit7.c: ... here.
7159 * elf/tst-auditmod3a.c: Move to ...
7160 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
7161 * elf/tst-auditmod3b.c: Move to ...
7162 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
7163 * elf/tst-auditmod4a.c: Move to ...
7164 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
7165 * elf/tst-auditmod4b.c: Move to ...
7166 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
7167 * elf/tst-auditmod5a.c: Move to ...
7168 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
7169 * elf/tst-auditmod5b.c: Move to ...
7170 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
7171 * elf/tst-auditmod6a.c: Move to ...
7172 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
7173 * elf/tst-auditmod6b.c: Move to ...
7174 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
7175 * elf/tst-auditmod6c.c: Move to ...
7176 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
7177 * elf/tst-auditmod7a.c: Move to ...
7178 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
7179 * elf/tst-auditmod7b.c: Move to ...
7180 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
7181
1ef74943
PP
71822013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
7183
7184 [BZ #15366]
7185 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
7186 define unconditionally.
7187 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
7188 define unconditionally.
7189 (INT8_C, INT16_C, etc.): Likewise.
7190
93fd48c5
MR
71912013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
7192
ae9552cf
MR
7193 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
7194 __ehdr_start with hidden visibility.
7195
93fd48c5
MR
7196 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
7197
418601aa
CD
71982013-04-24 Carlos O'Donell <carlos@redhat.com>
7199
7200 * math/libm-test.inc (cos_test): Use accurate hex constants.
7201 (sincost_test): Likewise.
7202
2f38fbfe
JM
72032013-04-24 Joseph Myers <joseph@codesourcery.com>
7204
5e221800
JM
7205 * math/libm-test.inc (catan_test): Add more tests.
7206 (catanh_test): Likewise.
7207
77f143fd
JM
7208 * math/s_catanf.c (__catanf): Use suffixed floating-point
7209 constants.
7210 * math/s_catanhf.c (__catanhf): Likewise.
7211 * math/s_catanhl.c (__catanhl): Likewise.
7212 * math/s_catanl.c (__catanl): Likewise.
7213
2f38fbfe
JM
7214 [BZ #15394]
7215 * math/s_catan.c (__catan): Calculate imaginary part of result
7216 with log1p not log unless computing log of number close to 0.
7217 * math/s_catanf.c (__catanf): Likewise.
7218 * math/s_catanl.c (__catanl): Likewise.
7219 * math/s_catanh.c (__catanh): Calculate real part of result with
7220 log1p not log unless computing log of number close to 0.
7221 * math/s_catanhf.c (__catanhf): Likewise.
7222 * math/s_catanhl.c (__catanhl): Likewise.
7223 * math/libm-test.inc (catan_test): Add more tests.
7224 (catanh_test): Likewise.
7225 * sysdeps/i386/fpu/libm-test-ulps: Update.
7226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7227
45d69176
SP
72282013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7229
7230 * benchtests/Makefile: Mention files in which fast and slow
7231 paths of math functions are implemented.
7232
87f51853
RM
72332013-04-23 Roland McGrath <roland@hack.frob.com>
7234
7235 * sysdeps/posix/timespec_get.c: New file.
7236
3c026539
AZ
72372013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7238
7239 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
7240 POWER.
7241 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
7242 for POWER.
7243 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
7244 powerpc/power5/fpu folders.
7245 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
7246 * benchtests/Makefile: Add modf testcase.
7247 * benchtests/bench-modf.c: New file: Benchmark test for mo
7248
ff491d14
SP
72492013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7250
7251 [BZ #14888]
7252 * time/Makefile (tests): Add tst-strptime-whitespace.
7253 * time/strptime_l.c (get_number): Use ISSPACE.
7254 (__strptime_internal): Likewise.
7255 * time/tst-strptime-whitespace.c: New test case.
7256
7ed3f4e8
AS
72572013-04-23 Andreas Schwab <schwab@linux-m68k.org>
7258
7259 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
7260 member.
7261 (_nss_files_init): Set it here.
7262
5c95f7b6
HC
72632013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
7264
7265 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
7266 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
7267 unsigned.
7268
d34c9158
JBG
72692013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
7270
7271 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
7272
2169712d
SP
72732013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7274
7275 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
7276 size just once.
7277
29c5de99
DM
72782013-04-21 David S. Miller <davem@davemloft.net>
7279
7280 * po/ru.po: Update Russion translation from translation project.
7281
ccdad15d
AC
72822013-04-17 Adam Conrad <adconrad@0c3.net>
7283
7284 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
7285 and setfsgid.
7286
0f122b8d
CD
72872013-04-17 Carlos O'Donell <carlos@redhat.com>
7288
5c5b07da 7289 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 7290 * configure: Regenerate.
5c5b07da 7291 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
7292 Add example to error message.
7293 * sysdeps/i386/configure: Regenerate.
7294
037714dd
SP
72952013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7296
7297 * benchtests/Makefile (bench): Add cos, tan, slowcos and
7298 slowtan.
7299 * benchtests/cos-inputs: New file.
7300 * benchtests/slowcos-inputs: New file.
7301 * benchtests/slowcos.c: New file.
7302 * benchtests/slowtan-inputs: New file.
7303 * benchtests/slowtan.c: New file.
7304 * benchtests/tan-inputs: New file.
7305
e913141d
RM
73062013-04-16 Roland McGrath <roland@hack.frob.com>
7307
7308 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
7309 considered kosher.
7310
a2964074
SP
73112013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7312
4856bcd2
SP
7313 * benchtests/Makefile: Include cppflags-iterator.mk to add
7314 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
7315
a2964074
SP
7316 * Makefile.in (bench-clean): New target.
7317 * benchtests/Makefile (bench-clean): Likewise.
7318
9fbf9aca
DH
73192013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
7320
7321 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
7322
207d1e2a
TS
73232013-04-15 Thomas Schwinge <thomas@codesourcery.com>
7324
7325 * stdio-common/tstdiomisc.c: Fix coding-style violation.
7326
306dfba9
AS
73272013-04-15 Andreas Schwab <schwab@suse.de>
7328
7329 * nscd/grpcache.c (cache_addgr): Properly check for short write.
7330 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7331 * nscd/pwdcache.c (cache_addpw): Likewise.
7332 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
7333 more than recsize.
7334
206a6699
SP
73352013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7336
7337 * benchtests/Makefile (bench): Write all output to
7338 bench-out.tmp together.
7339
0582f6b3
AS
73402013-04-15 Andreas Schwab <schwab@suse.de>
7341
7342 * nscd/nscd.c (main): Don't fork again after closing files.
7343
acb4325f
SP
73442013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7345
5cb26d0a
SP
7346 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
7347
acb4325f
SP
7348 * benchtests/Rules (bench-deps): Collect dependencies into a
7349 single variable. Add Makefile to dependencies.
7350 ($(objpfx)bench-%.c): Depend on bench-deps.
7351
47792506
RM
73522013-04-12 Roland McGrath <roland@hack.frob.com>
7353 Xavier Roche <roche+kml2@exalead.com>
7354
7355 [BZ #15361]
7356 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
7357 just that it's a file descriptor.
7358 * manual/llio.texi (Synchronizing AIO Operations): Update description
7359 for EBADF error from aio_fsync.
7360
8fc1bee5
SP
73612013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7362
7363 * Rules (bench): Move target definition...
7364 * benchtests/Makefile: ... here.
7365
aba5e333
CD
73662013-04-11 Carlos O'Donell <carlos@redhat.com>
7367
7368 * math/libm-test.inc (cos_test): Fix PI/2 test.
7369 (sincos_test): Likewise.
7370 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7371 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
7372
273cdee8
AS
73732013-04-11 Andreas Schwab <schwab@suse.de>
7374
6ecec3b6
AS
7375 [BZ #13988]
7376 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
7377 accept exponent character only when digits were seen.
7378 * stdio-common/Makefile (tests): Add bug26.
7379 * stdio-common/bug26.c: New file.
7380
273cdee8
AS
7381 [BZ #14293]
7382 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
7383 non-freeable.
7384
8da491f5
SP
73852013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7386
01dc6df9
SP
7387 * Makeconfig (rtld-prefix): Define built linker prefix.
7388 * Rules (run-bench): Use it.
7389 * math/Makefile (run-regen-ulps): Likewise.
7390
8da491f5
SP
7391 * Rules (bench): Remove eval.
7392
abe7f530
SP
73932013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7394 Roland McGrath <roland@hack.frob.com>
7395 Ondrej Bilka <neleai@seznam.cz>
7396
7397 [BZ #15346]
7398 * time/getdate.c: Include ctype.h and alloca.h.
7399 (__getdate_r): Trim leading and trailing spaces of input.
7400 * time/tst-getdate.c (tests): Add tests with leading and
7401 trailing spaces.
7402
61c23e62
RM
74032013-04-08 Roland McGrath <roland@hack.frob.com>
7404
7405 [BZ #14280]
7406 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
7407 when computing value.
7408
7208a313
CD
74092013-04-06 Carlos O'Donell <carlos@redhat.com>
7410
085b2d41
CD
7411 * math/README.libm-test (How can I generate "libm-test-ulps"?):
7412 Use testrun.sh to run libm tests.
7413
7208a313
CD
7414 [BZ #15309]
7415 * elf/dl-open.c (dl_open_worker): memset all of seen array.
7416
872c0acd
MM
74172013-04-06 Marko Myllynen <myllynen@redhat.com>
7418
7419 [BZ #15264]
7420 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
7421
26510bdd
CD
74222013-04-06 Carlos O'Donell <carlos@redhat.com>
7423
7424 * Makefile.in (regen-ulps): New target.
7425 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
7426 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
7427 [ifneq (no,$(PERL)] (regen-ulps): New target.
7428 [ifeq (no,$(PERL)] (regen-ulps): New target.
7429 * math/libm-test.inc (ulps_file_name): Define.
7430 (output_dir): New variable.
7431 (options): Add "output-dir" option.
7432 (parse_opt): Handle 'o' case.
7433 (main): If output_dir is non-NULL use it as a prefix
7434 otherwise use "".
7435 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
7436
a01f19c8
CD
74372013-04-06 Carlos O'Donell <carlos@redhat.com>
7438
7439 [BZ #10060, #10062]
7440 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
7441 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
7442 fail configure if __sync_val_compare_and_swap is not inlined.
7443 * sysdeps/i386/configure: Regenerate.
7444 * configure.in: Build for i686 when configured for i386.
7445 * configure: Regenerate.
7446 * README: Remove i386 reference.
7447
b7a329a5
CD
74482013-04-06 Carlos O'Donell <carlos@redhat.com>
7449
7450 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
7451 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7452
bf0f50df
TS
74532013-04-05 Thomas Schwinge <thomas@codesourcery.com>
7454
ee091edf
TS
7455 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
7456 (lmsnanval): New variables.
7457 (F): Add conversion tests.
7458 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
7459 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
7460
a8b792d6
TS
7461 * stdio-common/tstdiomisc.c (F): Properly collect individual
7462 tests' results.
7463
a1cbf437
TS
7464 [BZ #14686, #15336]
7465 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
7466 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
7467 Instead, use input NaN values or generate a qNaN by arithmetic
7468 operation. Also fix bugs to comply with the standard.
7469 * math/libm-test.inc (remainder_test): Add more tests.
7470
8b43a0c9
TS
7471 [BZ #15335, #15342]
7472 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
7473 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
7474 input NaN values or generate a qNaN by arithmetic operation.
7475
d91da4ce
TS
7476 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
7477 unreachable code.
7478
bf0f50df
TS
7479 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
7480 definitions.
7481
05e166c8
JM
74822013-04-03 Joseph Myers <joseph@codesourcery.com>
7483
7484 [BZ #14478]
7485 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
7486 underflowed result.
7487 * math/s_cexpf.c (__cexpf): Likewise.
7488 * math/s_cexpl.c (__cexpl): Likewise.
7489 * math/libm-test.inc (cexp_test): Add more tests.
7490
1cef1b19
AS
74912013-04-03 Andreas Schwab <schwab@suse.de>
7492
7493 [BZ #15330]
7494 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
7495 order arrays from heap if bigger than alloca cutoff.
7496
74d87055
TS
74972013-04-03 Thomas Schwinge <thomas@codesourcery.com>
7498
7499 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
7500 (SNAN_TESTS_double): Refer to GCC PR56831.
7501 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
7502 GCC PR56828.
7503
d755bba4
SP
75042013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7505
90d5d5bb
SP
7506 * Rules (bench): Move bench.out after the run is complete.
7507
73e0cd5d
SP
7508 * Rules (bench): Echo currently running benchmark.
7509
64aabd4b
SP
7510 * benchtests/Makefile (bench): Add atan and slowatan.
7511 * benchtests/atan-inputs: New file.
7512 * benchtests/slowatan-inputs: New file.
7513 * benchtests/slowatan.c: New file.
7514
c871eccd
SP
7515 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
7516 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
7517 its value.
7518
d755bba4
SP
7519 [BZ #15305]
7520 * sysdeps/unix/sysv/linux/kernel-features.h
7521 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
7522 __ASSUME_XFS_RESTRICTED_CHOWN.
7523 * sysdeps/unix/sysv/linux/pathconf.c
7524 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7525 Save and restore errno.
7526
52ce4860
JM
75272013-04-02 Joseph Myers <joseph@codesourcery.com>
7528
7529 [BZ #15327]
7530 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
7531 arguments using __kernel_casinh.
7532 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
7533 arguments using __kernel_casinhf.
7534 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
7535 arguments using __kernel_casinhl.
7536 * math/libm-test.inc (cacosh_test): Add more tests.
7537 * sysdeps/i386/fpu/libm-test-ulps: Update.
7538 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7539
81f311c2
SP
75402013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7541
e7906a47
SP
7542 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
7543 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
7544
92e3664b
SP
7545 * bench/Makefile (bench): Add sin and slowsin.
7546 * benchtests/sin-inputs: New file.
7547 * benchtests/slowsin-inputs: New file.
7548 * benchtests/slowsin.c: New file.
7549
81f311c2
SP
7550 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
7551 (bench): Add slowexp and slowpow.
7552 (exp-ITER): Increase iterations.
7553 (pow-ITER): Likewise.
7554 * benchtests/exp-inputs: Change input.
7555 * benchtests/pow-inputs: Likewise.
7556 * benchtests/slowexp-inputs: New file.
7557 * benchtests/slowexp.c: New file.
7558 * benchtests/slowpow-inputs: New file.
7559 * benchtests/slowpow.c: New file.
7560
ab0f1aa9
AZ
75612013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7562
7563 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
7564 instructions.
7565 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7566 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
7567 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
7568 * benchtests/Makefile: Add rint benchtest.
7569 * benchtests/rint-inputs: Input for rint benchtest.
7570
57267616
TS
75712013-04-02 Thomas Schwinge <thomas@codesourcery.com>
7572
7573 * Versions.def (libm): Add GLIBC_2.18.
7574 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
7575 hidden libm prototypes.
7576 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
7577 * math/Makefile (libm-calls): Add s_issignaling.
7578 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
7579 __issignalingf, __issignalingl. Adjust all libm.abilist files.
7580 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
7581 declaration.
7582 * math/math.h [__USE_GNU] (issignaling): New macro.
7583 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
7584 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
7585 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
7586 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
7587 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
7588 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
7589 * manual/arith.texi (issignaling): New section.
7590 * manual/libm-err-tab.pl (@all_functions): Update comment.
7591 * math/gen-libm-test.pl (parse_args): Apply special handling for
7592 issignaling.
7593 * math/libm-test.inc (print_float, issignaling_test): New
7594 functions.
7595 (check_float_internal): Add issignaling checks.
7596 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
7597 default definition.
7598 * sysdeps/powerpc/math-tests.h: New file.
7599 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
7600 tests.
7601 * math/test-snan.c (TEST_FUNC): Likewise.
7602
6142896d
DM
76032013-03-30 David S. Miller <davem@davemloft.net>
7604
7605 * po/de.po: Update from translation team.
7606
ccc8cadf
JM
76072013-03-30 Joseph Myers <joseph@codesourcery.com>
7608
7609 [BZ #10357]
7610 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7611 imaginary part less than 1.0 and real part less than 0.5
7612 specially.
7613 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7614 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7615 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
7616 (cacos_test): Add more tests.
7617 (casin_test): Likewise.
7618 (casinh_test): Likewise.
7619 * sysdeps/i386/fpu/libm-test-ulps: Update.
7620 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7621
0f6a8d4b
SP
76222013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7623
0d1029de
SP
7624 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
7625 ONE with its value.
7626
c2d94018
SP
7627 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
7628 (__pow_mp): Replace ONE and MONE with their values.
7629 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7630 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
7631 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7632 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
7633 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7634 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7635
27ec37f1
SP
7636 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
7637
a64d7e0e
SP
7638 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
7639 (__pow_mp): Replace ZERO and MZERO with their values.
7640 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7641 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7642 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7643 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7644 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7645 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
7646 (__sqr): Likewise.
7647
d26dd3eb
SP
7648 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
7649
0f6a8d4b
SP
7650 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
7651
e57b0c61
RM
76522013-03-28 Roland McGrath <roland@hack.frob.com>
7653
7654 * include/stdlib.h [!SHARED] (__call_tls_dtors):
7655 Declare with __attribute__ ((weak)).
7656 * stdlib/exit.c (__libc_atexit) [!SHARED]:
7657 Call __call_tls_dtors only if it's not NULL.
7658
356b3480
RM
76592013-03-28 Roland McGrath <roland@hack.frob.com>
7660
288f7d79
RM
7661 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
7662 didn't do it already, then set _dl_phdr and _dl_phnum based on the
7663 magic __ehdr_start linker symbol if it's defined.
7664 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
7665 them up here if it was already done.
7666
dc0a0263
RM
7667 * elf/dl-support.c (_dl_phdr): Make pointer to const.
7668 (_dl_aux_init): Use const in cast when setting it.
7669 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
7670 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
7671 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
7672
3d3436ae
RM
7673 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
7674 Declare them here.
7675 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
7676 * csu/libc-tls.c: Nor here.
7677 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
7678
356b3480
RM
7679 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
7680 (__libc_message): Never call vsyslog.
7681
b0f1246a
AM
76822013-03-28 Alan Modra <amodra@gmail.com>
7683
7684 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
7685 Define as empty.
7686 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
7687 Likewise.
7688
fbbe2b9a
AZ
76892013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7690
7691 [BZ #15214]
7692 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
7693 underflow.
7694 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7695
1728ab37
SP
76962013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7697
7a86be6e
SP
7698 [BZ #15304]
7699 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7700 Don't add gid passed as argument.
7701
1728ab37
SP
7702 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
7703
3a7182a1
JM
77042013-03-27 Joseph Myers <joseph@codesourcery.com>
7705
7706 [BZ #15307]
7707 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7708 imaginary part between 1.0 and 1.5 and real part less than 0.5
7709 specially.
7710 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7711 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7712 * math/libm-test.inc (cacos_test): Add more tests.
7713 (casin_test): Likewise.
7714 (casinh_test): Likewise.
7715 * sysdeps/i386/fpu/libm-test-ulps: Update.
7716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7717
6f2e90e7
SP
77182013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7719
5739f705
SP
7720 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
7721 constants.
7722 (norm): Likewise.
7723 (denorm): Likewise.
7724 (__dbl_mp): Likewise.
7725 (add_magnitudes): Likewise.
7726 (sub_magnitudes): Likewise.
7727 (__add): Likewise.
7728 (__sub): Likewise.
7729 (__mul): Likewise.
7730 (__sqr): Likewise.
7731 (__inv): Likewise.
7732 (__dvd): Likewise.
7733
e375e83d
SP
7734 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
7735 commented code.
7736 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
7737 (__dubcos): Likewise.
7738 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
7739 (__ieee754_acos): Likewise.
7740 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7741 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
7742 (__exp1): Likewise.
7743 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7744 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7745 (log1): Likewise.
7746 (my_log2): Likewise.
7747 (checkint): Likewise.
7748 * sysdeps/ieee754/dbl-64/e_remainder.c
7749 (__ieee754_remainder): Likewise.
7750 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7751 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
7752 (bsloww): Likewise.
7753 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7754
6f2e90e7
SP
7755 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7756 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
7757 MANTISSA_STORE_T to store computations on mantissa. Use
7758 macros for rounding and division.
7759 (denorm): Likewise.
7760 (__dbl_mp): Likewise.
7761 (add_magnitudes): Likewise.
7762 (sub_magnitudes): Likewise.
7763 (__mul): Likewise.
7764 (__sqr): Likewise.
7765 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
7766 powers of two in terms of TWOPOW macro.
7767 (mp_no): Make type of mantissa as MANTISSA_T.
7768 [!RADIXI]: Define RADIXI.
7769 [!TWO52]: Define TWO52.
7770 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7771
fce14d4e
AZ
77722013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7773
7774 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
7775 llroundl symbol when building for PPC32.
7776
9ad027fb
MW
77772013-03-24 Mark H Weaver <mhw@netris.org>
7778
7779 * manual/arith.texi (Normalization Functions): Fix prototypes for
7780 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
7781
e42a38dd
AZ
77822013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7783
7784 [BZ #13889]
7785 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
7786 high value to check if expl overflow.
7787 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
7788 to check for underflow and overflow.
7789 * math/libm-test.inc: Add exp test.
7790
2e0fb521
DL
77912013-03-21 Dmitry V. Levin <ldv@altlinux.org>
7792
7793 [BZ #11120]
7794 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
7795 with NOT_IN_libc.
7796
b5784d95
AZ
77972013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7798
7799 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
7800 symbol.
7801
5aa4a1a1
TS
78022013-03-21 Thomas Schwinge <thomas@codesourcery.com>
7803
bdef0be7
TS
7804 * math/gen-libm-test.pl (parse_args, special_functions): Properly
7805 wrap blocks consisting of several statements.
7806
5aa4a1a1
TS
7807 * sysdeps/generic/math-tests.h: New file.
7808 * sysdeps/i386/fpu/math-tests.h: Likewise.
7809 * math/test-snan.c: Include it.
7810 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
7811
98c48fe5
JM
78122013-03-21 Joseph Myers <joseph@codesourcery.com>
7813
7814 [BZ #15285]
7815 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
7816 (__ieee754_j0l): Do not improve calculations using cos of twice
7817 input for inputs above LDBL_MAX / 2.0L.
7818 (__ieee754_y0l): Likewise.
7819 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
7820 (__ieee754_j1l): Do not improve calculations using cos of twice
7821 input for inputs above LDBL_MAX / 2.0L.
7822 (__ieee754_y1l): Likewise.
7823 * math/libm-test.inc (j0_test): Add another test.
7824 (j1_test): Likewise.
7825 (y0_test): Likewise.
7826 (y1_test): Likewise.
7827 * sysdeps/i386/fpu/libm-test-ulps: Update.
7828
3775a8bc
SP
78292013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7830
7831 * Rules ($(objpfx)bench-%.c): Include code from a C source
7832 file.
7833
0a1b2ae6
JM
78342013-03-21 Joseph Myers <joseph@codesourcery.com>
7835
7836 [BZ #15287]
7837 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7838 imaginary part 1.0 and real part less than 0.5 specially.
7839 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7840 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7841 * math/libm-test.inc (cacos_test): Add more tests.
7842 (casin_test): Likewise.
7843 (casinh_test): Likewise.
7844 * sysdeps/i386/fpu/libm-test-ulps: Update.
7845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7846
b33d4ce4
SP
78472013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7848
7849 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
7850 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
7851
bef0b507
JM
78522013-03-20 Joseph Myers <joseph@codesourcery.com>
7853
7854 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
7855 * config.make.in (config-cflags-sse4): Remove variable.
7856 (config-cflags-avx): Likewise.
7857 (config-cflags-sse2avx): Likewise.
7858 (config-cflags-novzeroupper): Likewise.
7859 (config-asflags-i686): Likewise.
7860 (have-mfma4): Likewise.
7861 (have-as-vis3): Likewise.
7862 (MIG): Likewise.
7863 * configure.in (MIG): Do not AC_SUBST.
7864 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
7865 (libc_cv_cc_sse4): Do not AC_SUBST.
7866 (libc_cv_cc_avx): Likewise.
7867 (libc_cv_cc_sse2avx): Likewise.
7868 (libc_cv_cc_novzeroupper): Likewise.
7869 (libc_cv_cc_fma4): Likewise.
7870 (libc_cv_as_i686): Likewise.
7871 (libc_cv_sparc_as_vis3): Likewise.
7872 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
7873 LIBC_CONFIG_VAR.
7874 (config-asflags-i686): Likewise.
7875 (config-cflags-avx): Likewise.
7876 (config-cflags-sse2avx): Likewise.
7877 (have-mfma4): Likewise.
7878 (config-cflags-novzeroupper): Likewise.
7879 * sysdeps/mach/configure.in (MIG): Likewise.
7880 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
7881 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
7882 LIBC_CONFIG_VAR.
7883 (config-cflags-avx): Likewise.
7884 (config-cflags-sse2avx): Likewise.
7885 (have-mfma4): Likewise.
7886 (config-cflags-novzeroupper): Likewise.
7887 * configure: Regenerated.
7888 * sysdeps/i386/configure: Likewise.
7889 * sysdeps/mach/configure: Likewise.
7890 * sysdeps/sparc/configure: Likewise.
7891 * sysdeps/x86_64/configure: Likewise.
7892
912cc4b3
RM
78932013-03-20 Roland McGrath <roland@hack.frob.com>
7894
7895 [BZ #14812]
7896 * locale/programs/localedef.c (options): Put N_ translation marker
7897 on argument names, not just descriptions.
7898
04eed2b0
MS
78992013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7900
7901 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
7902
a065ceff
OB
79032013-03-20 Ondřej Bílka <neleai@seznam.cz>
7904
9bb2a810 7905 [BZ #14176]
a065ceff
OB
7906 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
7907
a600e5ce
RM
79082013-03-19 Roland McGrath <roland@hack.frob.com>
7909
7910 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
7911 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
7912 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
7913 [!BEFORE_ABORT] (before_abort): New function.
7914 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
7915 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
7916 (writev_for_fatal): New function.
7917 (WRITEV_FOR_FATAL): New macro; call that.
7918 (backtrace_and_maps): New function.
7919 (BEFORE_ABORT): New macro; call that.
7920 (struct str_list): Type removed.
7921 (__libc_message, __libc_fatal): Functions removed.
7922 Include <sysdeps/posix/libc_fatal.c> instead.
7923
6b18bea6
JM
79242013-03-19 Joseph Myers <joseph@codesourcery.com>
7925
7926 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
7927 constants.
7928 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
7929 double constants.
7930
aaa8cb4b
AS
79312013-03-19 Andreas Schwab <schwab@suse.de>
7932
44673770
AS
7933 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
7934 * sysdeps/gnu/configure: Regenerate.
7935
aaa8cb4b
AS
7936 * configure.in: Substitute libc_cv_rtlddir.
7937 * configure: Regenerate.
7938 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
7939 * Makeconfig (rtlddir, inst_rtlddir): New variables.
7940 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
7941 * elf/Makefile (install-others, CFLAGS-interp.c)
7942 (ldso_install, common-ldd-rewrite): Likewise.
7943 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
7944 $(inst_slibdir)/$(rtld-installed-name).
7945 * scripts/rellns-sh: Add -p option.
7946 * Makerules (make-shlib-link): Use rellns-sh to get relative name
7947 for source.
7948
d3cfc668
SP
79492013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7950
7951 * manual/nptl.texi: Renamed to ...
7952 * manual/threads.texi: ... this.
7953 * manual/Makefile (chapters): Update.
7954
0e2b9cdd
RM
79552013-03-18 Roland McGrath <roland@hack.frob.com>
7956
7957 [BZ #14812]
7958 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
7959 on argument names, not just descriptions.
0e2b9cdd
RM
7960 * malloc/memusagestat.c (options): Likewise.
7961 * nss/getent.c (options): Likewise.
63270c24
RM
7962
79632013-03-18 Benno Schulenberg <bensberg@justemail.net>
7964
7965 [BZ #14812]
7966 * iconv/iconv_prog.c (options): Put N_ translation marker
7967 on argument names, not just descriptions.
7968 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 7969
b2e1393c
OB
79702013-03-18 Ondrej Bilka <neleai@seznam.cz>
7971
7972 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
7973 implementation which is faster on all x86_64 architectures.
7974 Tested on AMD, Intel Nehalem, SNB, IVB.
7975 * sysdeps/x86_64/strnlen.S: Likewise.
7976
7977 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7978 Remove all multiarch strlen and strnlen versions.
7979 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7980 Remove strlen and strnlen related parts.
7981
7982 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
7983 Inline strlen part.
7984 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
7985
7986 * sysdeps/x86_64/multiarch/strlen.S: Remove.
7987 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
7988 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
7989 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
7990 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7991 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
7992
ec4ff04d
CD
79932013-03-17 Carlos O'Donell <carlos@redhat.com>
7994
7995 * manual/memory.texi (Malloc Tunable Parameters):
7996 Sort parameters alphabetically. Add comments for missing entries.
7997
cd18e90a
DM
79982013-03-17 David S. Miller <davem@davemloft.net>
7999
8000 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8001
2a185d32
JM
80022013-03-16 Joseph Myers <joseph@codesourcery.com>
8003
d2f9799e
JM
8004 [BZ #15283]
8005 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
8006 for arguments at most half maximum finite value.
8007 * math/libm-test.inc (j0_test): Add more tests.
8008 (j1_test): Likewise.
8009 (y0_test): Likewise.
8010 (y1_test): Likewise.
8011 * sysdeps/i386/fpu/libm-test-ulps: Update.
8012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8013
2a185d32
JM
8014 [BZ #14155]
8015 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
8016 1 / x and functions P and Q for arguments above 0x1p256L.
8017 (__ieee754_y0l): Likewise.
8018 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
8019 (__ieee754_y1l): Likewise.
8020 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
8021 (j1_test): Likewise.
8022 (y0_test): Likewise.
8023 (y1_test): Likewise.
8024
6cbec759
TS
80252013-03-16 Thomas Schwinge <thomas@codesourcery.com>
8026
8027 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
8028 variable.
8029
bc16e260
RM
80302013-03-15 Roland McGrath <roland@hack.frob.com>
8031
aefc9b8c
RM
8032 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
8033 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
8034 zero since it's initialized to EXEC_PAGESIZE.
8035
bc16e260
RM
8036 * sysdeps/unix/sysv/linux/ldsodefs.h
8037 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
8038 * sysdeps/generic/ldsodefs.h: ... here.
8039
a57da955
TS
80402013-03-15 Thomas Schwinge <thomas@codesourcery.com>
8041
af00a34d
TS
8042 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
8043
495ded2c
TS
8044 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
8045 math/test-snan.c.
8046 * math/test-snan.c: Renamed from
8047 sysdeps/powerpc/fpu/test-powerpc-snan.c.
8048 * math/Makefile (tests): Add test-snan.
8049 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
8050 test-powerpc-snan.
8051
777b0332
TS
8052 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
8053 SUFFIX. Initialize qNaN_var with __builtin_nan family of
8054 functions.
8055 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
8056 __builtin_nan family of functions.
8057 * math/libm-test.inc (initialize): Initialize qnan_value with
8058 __builtin_nan family of functions.
8059 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
8060 Remove variables.
8061 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
8062 Remove functions.
8063 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
8064 storage class. Initialize qNaN_var and sNaN_var with
8065 __builtin_nan and __builtin_nans families of functions,
8066 respectively.
8067
64d063b8
TS
8068 * math/libm-test.inc (acosh_test): Also test with qNaN input.
8069 (sqrt_test): Remove duplicate test with qNaN input.
8070 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
8071 (round_test, signbit_test, significand_test): Note missing +/-Inf
8072 as well as qNaN tests.
8073
67e971f1
TS
8074 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
8075 qNaN_var. Fix a few strings, too.
8076 * math/libm-test.inc (nan_value): Rename to qnan_value.
8077 * math/gen-libm-test.pl (%beautify): Adjust to that.
8078 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
8079 * math/test-misc.c (main): Likewise.
8080 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
8081 to __qnan_bytes, and __qnan_union, respectively.
8082 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
8083 Likewise.
8084 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
8085 and lqnanval, respectively.
8086 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
8087 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
8088 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
8089 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
8090
64487e12
TS
8091 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
8092 * math/test-misc.c (main) [__x86_64__]: Enable test for long
8093 doubles.
8094
e015e27b
TS
8095 * math/test-misc.c (main): Fix copy'n'pastos.
8096 * misc/tst-efgcvt.c (special): Likewise.
8097
a57da955
TS
8098 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
8099 Remove declarations.
8100
1e380345
SP
81012013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8102
8103 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
8104 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
8105 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
8106 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
8107
ef26eece
AZ
81082013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8109
8110 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
8111 macro to return vdso values correctly in IFUNC implementations.
8112 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8113 Optimization by using IFUNC.
8114
8cfdb7e0
SP
81152013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8116 Richard Henderson <rth@redhat.com>
8117 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8118
8119 * Makefile.in (bench): New target.
8120 * NEWS: Mention the benchmark framework.
8121 * Rules (bench): Likewise.
8122 (binaries-bench): Generate binaries for functions to
8123 benchmark.
8124 * benchtests/Makefile: New makefile for benchmark tests.
8125 * benchtests/bench-skeleton.c: New skeleton file for benchmark
8126 programs.
8127 * benchtests/exp-inputs: New input file for EXP function.
8128 * benchtests/pow-inputs: New input file for POW function.
8129 * scripts/bench.pl: New script to generate source files for
8130 benchmark programs.
8131
bcda9880
SP
81322013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8133
d22ca8cd
SP
8134 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8135 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
8136 computations on mantissa. Use macros for rounding and
8137 division.
8138 (denorm): Likewise.
8139 (__dbl_mp): Likewise.
8140 (add_magnitudes): Likewise.
8141 (sub_magnitudes): Likewise.
8142 (__mul): Likewise.
8143 (__sqr): Likewise.
8144 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
8145 powers of two in terms of TWOPOW macro.
8146 (mp_no): Make type of mantissa as MANTISSA_T.
8147 [!RADIXI]: Define RADIXI.
8148 [!TWO52]: Define TWO52.
8149 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8150
bcda9880
SP
8151 * manual/nptl.texi (cindex): Modify threads to pthreads.
8152
06d5adfb
JM
81532013-03-15 Joseph Myers <joseph@codesourcery.com>
8154
8155 * sysdeps/x86_64/preconfigure: Regenerated.
8156
41c7328e
JM
81572013-03-14 Joseph Myers <joseph@codesourcery.com>
8158
8159 [BZ #14155]
8160 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
8161 0x1p28 and above.
8162 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
8163 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
8164 0x1p28 and above.
8165 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
8166 * math/libm-test.inc (j0_test): Do not allow one spurious
8167 underflow exception.
8168 (y1_test): Likewise.
8169
e25cfa60
SP
81702013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8171
0409959c
SP
8172 * manual/Makefile (chapters): Add nptl.
8173 * manual/debug.texi (Debugging Support): Add link to Threads
8174 chapter.
8175 * manual/nptl.texi: New file.
8176
e25cfa60
SP
8177 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
8178
58a1335e
PB
81792013-03-14 Petr Baudis <pasky@ucw.cz>
8180
8181 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
8182 for non-NULL pointer before the memory validity test. Pointed
8183 out by Holger Brunck <holger.brunck@keymile.com>.
8184
9dc7c64f
AS
81852013-03-13 Andreas Schwab <schwab@suse.de>
8186
8187 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
8188 instead of .os.
8189
54206aa6
JM
81902013-03-13 Joseph Myers <joseph@codesourcery.com>
8191
8192 * timezone/zic.c: Update from tzcode 2013b.
8193
e98cdb38
CD
81942013-03-12 Carlos O'Donell <carlos@redhat.com>
8195
8196 * manual/install.texi (Configuring and compiling):
8197 Mention i686 and i586.
8198 * INSTALL: Regenerate.
8199
9967e003
RM
82002013-03-12 Roland McGrath <roland@hack.frob.com>
8201
8202 * sysdeps/init_array/elf-init.c: New file.
8203 * csu/elf-init.c
8204 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
8205 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
8206
8207 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
8208 __gmon_start__ as global, but as static with a .preinit_array pointer.
8209 * sysdeps/init_array/gmon-start.c: New file. Use that.
8210 * sysdeps/init_array/crti.S: New file, empty except for comments.
8211 * sysdeps/init_array/crtn.S: Likewise.
8212
e6b5a293 82132013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
8214
8215 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
8216 definining bcopy.
80f844c9
OB
8217 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8218 Remove Prefer_SSE_for_memop.
8219 * sysdeps/x86_64/multiarch/init-arch.h: Remove
8220 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
8221 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
8222 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8223 memset-x86-64.
80f844c9 8224 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 8225 Remove bzero, memset ifunc support.
80f844c9
OB
8226 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
8227 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
8228 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8229 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8230
fb6b0fcb
AS
82312013-03-11 Andreas Schwab <schwab@suse.de>
8232
8233 [BZ #15234]
8234 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
8235 by SHLIB_COMPAT.
8236 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
8237 (GLIBC_2.16): Remove pthread_atfork.
8238
3e6bd4b1
PP
82392013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
8240
8241 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
8242 (ptestcases.h): Likewise.
8243
222d7f00
RM
82442013-03-08 Roland McGrath <roland@hack.frob.com>
8245
8246 * Makeconfig ($(common-objpfx)config.status): Depend on
8247 sysdeps/*/preconfigure{,.in} too.
8248
1ba4f030
JM
82492013-03-08 Joseph Myers <joseph@codesourcery.com>
8250
a222d91a
JM
8251 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
8252 (__free_hook): Use void * instead of __malloc_ptr_t.
8253 (__malloc_hook): Likewise.
8254 (__realloc_hook): Likewise.
8255 (__memalign_hook): Likewise.
8256 (__after_morecore_hook): Likewise.
8257 * malloc/arena.c (save_malloc_hook): Likewise.
8258 (save_free_hook): Likewise.
8259 * malloc/hooks.c (malloc_hook_ini): Likewise.
8260 (realloc_hook_ini): Likewise.
8261 (memalign_hook_ini): Likewise.
8262 * malloc/malloc.c (malloc_hook_ini): Likewise.
8263 (realloc_hook_ini): Likewise.
8264 (memalign_hook_ini): Likewise.
8265 (__free_hook): Likewise.
8266 (__malloc_hook): Likewise.
8267 (__realloc_hook): Likewise.
8268 (__memalign_hook): Likewise.
8269 (__libc_malloc): Likewise.
8270 (__libc_free): Likewise.
8271 (__libc_realloc): Likewise.
8272 (__libc_memalign): Likewise.
8273 (__libc_valloc): Likewise.
8274 (__libc_pvalloc): Likewise.
8275 (__libc_calloc): Likewise.
8276 (__posix_memalign): Likewise.
8277 * malloc/morecore.c (__sbrk): Likewise.
8278 (__default_morecore): Likewise.
8279
5cc45e10
JM
8280 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
8281
dd54b864
JM
8282 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
8283 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
8284 __malloc_ptrdiff_t.
8285
1ba4f030
JM
8286 * malloc/malloc.h (__malloc_size_t): Remove macro.
8287 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
8288 __malloc_size_t.
8289 (old_memalign_hook): Likewise.
8290 (old_realloc_hook): Likewise.
8291 (struct hdr): Likewise.
8292 (flood): Likewise.
8293 (mallochook): Likewise.
8294 (memalignhook): Likewise.
8295 (reallochook): Likewise.
8296 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
8297 (tr_old_realloc_hook): Likewise.
8298 (tr_old_memalign_hook): Likewise.
8299 (tr_mallochook): Likewise.
8300 (tr_reallochook): Likewise.
8301 (tr_memalignhook): Likewise.
8302
edf66e57
AZ
83032013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8304
8305 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
8306 default_ldbl_pack and using as default implementation.
8307 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
8308 implementation.
8309 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
8310 redundant definition.
8311 (ldbl_insert_mantissa): Likewise.
8312 (ldbl_canonicalize): Likewise.
8313 (ldbl_nearbyint): Likewise.
8314 (ldbl_pack): Rename to ldbl_pack_ppc.
8315 (ldbl_unpack): Rename to ldbl_unpack_ppc.
8316 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
8317 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
8318
6d9145d8
SP
83192013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8320
8321 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
8322 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
8323 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
8324 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
8325 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
8326 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
8327 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
8328 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
8329
4dd4e157
AJ
83302013-03-07 Andreas Jaeger <aj@suse.de>
8331
8332 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8333 bits/mman-linux.h.
8334
adbb8027
SP
83352013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8336
ce544b5b
SP
8337 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
8338 Include mpa.h and declare __MPEXP.
8339 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
8340 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8341 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8342 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
8343 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8344 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8345 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
8346
4cc149fd
SP
8347 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
8348 (__slowpow): Use long double EXPL and LOGL functions to
8349 compute POW.
8350 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8351 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8352 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
8353 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8354 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8355 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
8356
e6ebd4a7
SP
8357 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
8358 intermediate variable to calculate exponent.
8359 (__sqr): Likewise.
8360 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8361 Likewise.
8362 (__sqr): Likewise.
8363
82a9811d
SP
8364 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
8365 [!NO__SQR]: Define __sqr.
8366 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
8367 and NO__SQR. Remove all code except __mul and __sqr. Include
8368 sysdeps/ieee754/dbl-64/mpa.c.
8369 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8370
adbb8027
SP
8371 [BZ #12723]
8372 * posix/Makefile (tests): Add tst-pathconf.
8373 * posix/tst-pathconf.c: New test case.
8374 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
8375 _PC_PIPE_BUF.
8376 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
8377
39120df9
PF
83782013-03-06 Patsy Franklin <pfrankli@redhat.com>
8379
8380 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
8381
67525cb8
AJ
83822013-03-06 Andreas Jaeger <aj@suse.de>
8383
664a9ce4
AJ
8384 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
8385 definition via __MAP_ANONYMOUS.
8386
8e39047d
AJ
8387 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
8388 it's not part of Linux headers.
8389
67525cb8
AJ
8390 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
8391 (MAP_HUGE_MASK): Define.
8392
8393 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8394 Define.
8395 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8396 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8397 Define.
8398 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8399 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8400 Define.
8401 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8402 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
8403 Define.
8404 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8405
8406 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
8407 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
8408 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
8409 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
8410 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
8411 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
8412
8413 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
8414 Handle f2fs.
8415
8416 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8417 Handle f2fs and efivarfs.
8418
8419 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
8420 f2fs.
8421
8422 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
8423 (EFIVARFS_MAGIC): Add.
8424 (F2FS_LINK_MAX): Add.
8425
e1b42695
PP
84262013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8427
8428 * stdio-common/vfprintf.c: Replace __builtin_expect with
8429 __glibc_unlikely.
8430
2d67d91a
JM
84312013-03-06 Joseph Myers <joseph@codesourcery.com>
8432
8433 [BZ #13550]
8434 * sysdeps/generic/bp-sym.h: Remove file.
8435 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
8436 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
8437 <bp-sym.h> and <bp-asm.h>.
8438 (__longjmp): Don't use BP_SYM.
8439 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
8440 and <bp-asm.h>.
8441 (memcpy): Don't use BP_SYM.
8442 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
8443 <bp-sym.h> and <bp-asm.h>.
8444 (memcpy): Don't use BP_SYM.
8445 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
8446 <bp-asm.h>.
8447 (memcpy): Don't use BP_SYM.
8448 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
8449 <bp-asm.h>.
8450 (memset): Don't use BP_SYM.
8451 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8452 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8453 (__bzero): Don't use BP_SYM.
8454 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8455 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8456 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
8457 <bp-sym.h> and <bp-asm.h>.
8458 (memcmp): Don't use BP_SYM. Remove comment about bounded
8459 pointers.
8460 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
8461 <bp-sym.h> and <bp-asm.h>.
8462 (memcpy): Don't use BP_SYM.
8463 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
8464 <bp-sym.h> and <bp-asm.h>.
8465 (memset): Don't use BP_SYM.
8466 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8467 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8468 (__bzero): Don't use BP_SYM.
8469 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8470 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8471 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
8472 <bp-sym.h> and <bp-asm.h>.
8473 (strncmp): Don't use BP_SYM. Remove comment about bounded
8474 pointers.
8475 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
8476 <bp-sym.h> and <bp-asm.h>.
8477 (memcpy): Don't use BP_SYM.
8478 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
8479 <bp-sym.h> and <bp-asm.h>.
8480 (memset): Don't use BP_SYM.
8481 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8482 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8483 (__bzero): Don't use BP_SYM.
8484 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8485 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8486 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
8487 <bp-sym.h> and <bp-asm.h>.
8488 (__memchr): Don't use BP_SYM.
8489 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
8490 <bp-sym.h> and <bp-asm.h>.
8491 (memcmp): Don't use BP_SYM. Remove comment about bounded
8492 pointers.
8493 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
8494 <bp-sym.h> and <bp-asm.h>.
8495 (memcpy): Don't use BP_SYM.
8496 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
8497 <bp-sym.h> and <bp-asm.h>.
8498 (__mempcpy): Don't use BP_SYM.
8499 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
8500 <bp-sym.h> and <bp-asm.h>.
8501 (__memrchr): Don't use BP_SYM.
8502 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
8503 <bp-sym.h> and <bp-asm.h>.
8504 (memset): Don't use BP_SYM.
8505 (__bzero): Likewise.
8506 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
8507 <bp-sym.h> and <bp-asm.h>.
8508 (__rawmemchr): Don't use BP_SYM.
8509 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
8510 <bp-sym.h> and <bp-asm.h>.
8511 (__STRCMP): Don't use BP_SYM.
8512 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
8513 <bp-sym.h> and <bp-asm.h>.
8514 (strchr): Don't use BP_SYM.
8515 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
8516 <bp-sym.h> and <bp-asm.h>.
8517 (__strchrnul): Don't use BP_SYM.
8518 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
8519 <bp-sym.h> and <bp-asm.h>.
8520 (strlen): Don't use BP_SYM.
8521 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
8522 <bp-sym.h> and <bp-asm.h>.
8523 (strncmp): Don't use BP_SYM. Remove comment about bounded
8524 pointers.
8525 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
8526 <bp-sym.h> and <bp-asm.h>.
8527 (__strnlen): Don't use BP_SYM.
8528 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
8529 <bp-sym.h> and <bp-asm.h>.
8530 (__GI__setjmp): Don't use BP_SYM.
8531 (_setjmp): Likewise.
8532 (__sigsetjmp): Likewise.
8533 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
8534 (L(start_addresses)): Don't use BP_SYM.
8535 (_start): Likewise.
8536 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
8537 <bp-asm.h>.
8538 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
8539 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
8540 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8541 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8542 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
8543 <bp-asm.h>.
8544 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
8545 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
8546 about bounded pointers.
8547 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8548 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8549 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
8550 <bp-asm.h>.
8551 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
8552 about bounded pointers. Remove GKM FIXME comments.
8553 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8554 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
8555 <bp-asm.h>.
8556 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
8557 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
8558 Remove GKM FIXME comments.
8559 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8560 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8561 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
8562 <bp-asm.h>.
8563 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
8564 about bounded pointers. Remove GKM FIXME comment.
8565 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
8566 and <bp-asm.h>.
8567 (strncmp): Don't use BP_SYM. Remove comment about bounded
8568 pointers.
8569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
8570 <bp-sym.h> and <bp-asm.h>.
8571 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
8573 <bp-sym.h> and <bp-asm.h>.
8574 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
8575 comment.
8576
cdcf361f
PP
85772013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8578
8579 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
8580 call free(NULL).
8581
3c4a2b15
DM
85822013-03-05 David S. Miller <davem@davemloft.net>
8583
8584 * po/es.po: Update from translation team.
8585
cdcf361f 85862013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
8587
8588 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
8589 <bits/mman-linux.h>.
8590 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8591 is fine.
8592 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
8593 <bits/mman-linux.h> to end of file.
8594 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8595 is fine.
8596 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
8597 <bits/mman-linux.h> to end of file.
8598 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8599 is fine.
8600 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
8601 <bits/mman-linux.h> to end of file.
8602
8603 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
8604 (MCL_CURRENT, MCL_FUTURE): Define here.
8605
5f67c04f
AK
86062013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8607
8a4473cc 8608 [BZ #15232]
5f67c04f
AK
8609 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
8610 attribute_hidden.
8611 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8612
c3e94a95
AK
86132013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8614
8615 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
8616 fourth parameter needed for rt_sigprocmask syscall.
8617 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8618 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8619 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
8620 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8621 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8622 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
8623
cfb6382a
JM
86242013-03-04 Joseph Myers <joseph@codesourcery.com>
8625
8626 [BZ #13550]
8627 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
8628 comment about bounded pointers.
8629 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
8630 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
8631
539d8e01
AJ
86322013-03-04 Andreas Jaeger <aj@suse.de>
8633
8634 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
8635 common definitions.
8636
8637 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
8638 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
8639 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
8640 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8641 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
8642 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8643
2e167a70 86442013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
8645
8646 [BZ #15055]
8647 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8648 __ieee754_sqrl instead of __sqrl.
8649
68508633
JM
86502013-03-01 Joseph Myers <joseph@codesourcery.com>
8651
8652 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
8653 * sysdeps/powerpc/fpu_control.h: ... here.
8654 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
8655 * sysdeps/powerpc/bits/fenvinline.h: ... here.
8656 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
8657 * sysdeps/powerpc/bits/mathinline.h: ... here.
8658
7775448e
RM
86592013-03-01 Roland McGrath <roland@hack.frob.com>
8660
8661 * elf/dl-hwcaps.c (_dl_important_hwcaps):
8662 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
8663 to just [NEED_DL_SYSINFO_DSO].
8664 * elf/dl-support.c: Likewise.
8665 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8666 * elf/rtld.c (dl_main): Likewise.
8667 * elf/setup-vdso.h (setup_vdso): Likewise.
8668 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
8669 * sysdeps/unix/sysv/linux/dl-sysdep.c
8670 (_dl_discover_osversion): Likewise.
8671
4e9b5995
CD
86722013-03-01 Carlos O'Donell <carlos@redhat.com>
8673
8674 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
8675 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8676
e23872c8
SP
86772013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8678
e5c74c63
SP
8679 * NEWS: Mention libm performance improvements and non-x86 PI
8680 futex support.
8681
e23872c8
SP
8682 * csu/libc-start.c (__pthread_initialize_minimal): Change
8683 function arguments.
8684 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8685
b5510883
JM
86862013-02-28 Joseph Myers <joseph@codesourcery.com>
8687
8688 [BZ #13550]
8689 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
8690 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
8691 <bp-sym.h> and <bp-asm.h>.
8692 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8693 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
8694 and <bp-asm.h>.
8695 (memcpy): Don't use BP_SYM.
8696 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
8697 <bp-asm.h>.
8698 (__mpn_add_n): Don't use BP_SYM.
8699 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
8700 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
8701 and <bp-asm.h>.
8702 (__mpn_addmul_1): Don't use BP_SYM.
8703 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8704 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
8705 <bp-sym.h>.
8706 (_setjmp): Don't use BP_SYM.
8707 (__novmx_setjmp): Likewise.
8708 (__GI__setjmp): Likewise.
8709 (__vmx_setjmp): Likewise.
8710 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
8711 <bp-sym.h>.
8712 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
8713 (__bzero): Don't use BP_SYM.
8714 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8715 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8716 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
8717 <bp-sym.h> and <bp-asm.h>.
8718 (memcpy): Don't use BP_SYM.
8719 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
8720 <bp-sym.h> and <bp-asm.h>.
8721 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8722 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
8723 <bp-sym.h> and <bp-asm.h>.
8724 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8725 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
8726 <bp-asm.h>.
8727 (__mpn_lshift): Don't use BP_SYM.
8728 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8729 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
8730 <bp-asm.h>.
8731 (memset): Don't use BP_SYM.
8732 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8733 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8734 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
8735 <bp-asm.h>.
8736 (__mpn_mul_1): Don't use BP_SYM.
8737 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8738 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
8739 <bp-sym.h> and <bp-asm.h>.
8740 (memcmp): Don't use BP_SYM.
8741 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
8742 <bp-sym.h> and <bp-asm.h>.
8743 (memcpy): Don't use BP_SYM.
8744 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
8745 <bp-sym.h> and <bp-asm.h>.
8746 (memset): Don't use BP_SYM.
8747 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
8748 <bp-sym.h> and <bp-asm.h>.
8749 (strncmp): Don't use BP_SYM.
8750 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
8751 <bp-sym.h> and <bp-asm.h>.
8752 (memcpy): Don't use BP_SYM.
8753 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
8754 <bp-sym.h> and <bp-asm.h>.
8755 (memset): Don't use BP_SYM.
8756 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
8757 <bp-sym.h> and <bp-asm.h>.
8758 (__memchr): Don't use BP_SYM.
8759 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
8760 <bp-sym.h> and <bp-asm.h>.
8761 (memcmp): Don't use BP_SYM.
8762 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
8763 <bp-sym.h> and <bp-asm.h>.
8764 (memcpy): Don't use BP_SYM.
8765 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
8766 <bp-sym.h> and <bp-asm.h>.
8767 (__mempcpy): Don't use BP_SYM.
8768 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
8769 <bp-sym.h> and <bp-asm.h>.
8770 (__memrchr): Don't use BP_SYM.
8771 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
8772 <bp-sym.h> and <bp-asm.h>.
8773 (memset): Don't use BP_SYM.
8774 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
8775 <bp-sym.h> and <bp-asm.h>.
8776 (__rawmemchr): Don't use BP_SYM.
8777 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
8778 <bp-sym.h> and <bp-asm.h>.
8779 (__STRCMP): Don't use BP_SYM.
8780 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
8781 <bp-sym.h> and <bp-asm.h>.
8782 (strchr): Don't use BP_SYM.
8783 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
8784 <bp-sym.h> and <bp-asm.h>.
8785 (__strchrnul): Don't use BP_SYM.
8786 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
8787 <bp-sym.h> and <bp-asm.h>.
8788 (strlen): Don't use BP_SYM.
8789 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
8790 <bp-sym.h> and <bp-asm.h>.
8791 (strncmp): Don't use BP_SYM.
8792 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
8793 <bp-sym.h> and <bp-asm.h>.
8794 (__strnlen): Don't use BP_SYM.
8795 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
8796 <bp-asm.h>.
8797 (__mpn_rshift): Don't use BP_SYM.
8798 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8799 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
8800 <bp-sym.h> and <bp-asm.h>.
8801 (__sigsetjmp): Don't use BP_SYM.
8802 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
8803 (L(start_addresses)): Don't use BP_SYM.
8804 (_start): Likewise.
8805 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
8806 <bp-asm.h>.
8807 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
8808 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8809 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8810 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
8811 <bp-asm.h>.
8812 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
8813 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8814 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8815 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
8816 <bp-asm.h>.
8817 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
8818 comments.
8819 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8820 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
8821 <bp-asm.h>.
8822 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
8823 FIXME comments.
8824 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8825 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8826 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
8827 <bp-asm.h>.
8828 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
8829 comment.
8830 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
8831 and <bp-asm.h>.
8832 (strncmp): Don't use BP_SYM,
8833 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
8834 <bp-asm.h>.
8835 (__mpn_sub_n): Don't use BP_SYM.
8836 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8837 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
8838 and <bp-asm.h>.
8839 (__mpn_submul_1): Don't use BP_SYM.
8840 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
8842 <bp-sym.h> and <bp-asm.h>.
8843 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
8845 <bp-sym.h> and <bp-asm.h>.
8846 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
8847 comment.
8848
8d19fe64
SP
88492013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8850
8851 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
8852 Use ZK to minimize writes to Z.
8853 (sub_magnitudes): Simplify code a bit.
8854 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
8855 Use ZK to minimize writes to Z.
8856 (sub_magnitudes): Simplify code a bit.
8857
85bd816a
RM
88582013-02-27 Roland McGrath <roland@hack.frob.com>
8859
8860 * csu/gmon-start.c: Add special exception to license text.
8861
b5977bf2
RH
88622013-02-27 Richard Henderson <rth@redhat.com>
8863
8864 * scripts/config.guess: Update from config.git.
8865 * scripts/config.sub: Likewise.
8866
11d6e2f2
SP
88672013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8868
09c14ed2
SP
8869 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
8870
a688864e
SP
8871 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
8872
6295157a
SP
8873 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
8874
b8de2202
SP
8875 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
8876
11d6e2f2
SP
8877 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
8878
7e80ddb8
RM
88792013-02-26 Roland McGrath <roland@hack.frob.com>
8880
8881 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
8882 [$(build-shared = yes].
7e80ddb8 8883
7da6d9ed
SP
88842013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8885
45f05884
SP
8886 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
8887 (__mul): Reduce iterations for calculating mantissa.
8888
2236d359
SP
8889 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
8890 MPTWO.
8891 (__mpranred): Likewise.
8892
7da6d9ed
SP
8893 [BZ #15160]
8894 * malloc/memusagestat.c (main): Draw graphs for heap and stack
8895 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
8896
b7688c42
PE
88972013-02-26 Paul Eggert <eggert@cs.ucla.edu>
8898
8899 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
8900 Define __attribute__.
8901
53a5c423
SP
89022013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8903
8904 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
8905 unused.
8906 * posix/regex_internal.h (__attribute): Remove.
8907 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
8908 (re_string_context_at): Likewise.
8909 (bitset_not): Use __attribute__ and mark function as possibly
8910 unused.
8911 (bitset_merge): Likewise.
8912 (bitset_mask): Likewise.
8913 (re_string_char_size_at): Likewise.
8914 (re_string_wchar_at): Likewise.
8915 (re_string_elem_size_at): Likewise.
8916
60f5a8b5
SP
89172013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8918
2a983a2e
SP
8919 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
8920 code.
8921 (cc32): Likewise.
8922
e69804d1
SP
8923 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
8924 (__acr): Likewise.
8925 (__cpy): Likewise.
8926 (norm): Likewise.
8927 (denorm): Likewise.
8928 (__dbl_mp): Likewise.
8929 (add_magnitudes): Likewise.
8930 (sub_magnitudes): Likewise.
8931 (__mul): Likewise.
8932 (__inv): Likewise.
8933
2f22a1e8
SP
8934 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
8935 style.
8936
8930ddc7
SP
8937 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
8938 style.
8939
dc60cb11
SP
8940 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
8941 code.
8942
60f5a8b5
SP
8943 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
8944 up changes with default code.
8945 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
8946 Likewise.
8947
b4d1fd33
AM
89482013-02-24 Allan McRae <allan@archlinux.org>
8949
faf6f8bc
AM
8950 * manual/socket.texi (The Internet Namespace): Order menu items
8951 to match that in the file.
8952
b4d1fd33
AM
8953 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
8954 node listing of the info page menu.
8955
2366713d
JM
89562013-02-21 Joseph Myers <joseph@codesourcery.com>
8957
8958 [BZ #13550]
8959 * sysdeps/i386/bp-asm.h: Remove file.
8960 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8961 (PARMS): Do not use macros from bp-asm.h.
8962 (S1): Likewise.
8963 (S2): Likewise.
8964 (SIZE): Likewise.
8965 (__mpn_add_n): Do not use BP_SYM
8966 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
8967 "bp-asm.h".
8968 (PARMS): Do not use macros from bp-asm.h.
8969 (S1): Likewise.
8970 (SIZE): Likewise.
8971 (__mpn_addmul_1): Do not use BP_SYM
8972 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
8973 "bp-asm.h".
8974 (PARMS): Do not use macros from bp-asm.h.
8975 (SIGMSK): Likewise.
8976 (_setjmp): Likewise. Do not use BP_SYM.
8977 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
8978 "bp-asm.h".
8979 (PARMS): Do not use macros from bp-asm.h.
8980 (SIGMSK): Likewise.
8981 (setjmp): Likewise. Do not use BP_SYM.
8982 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
8983 "bp-asm.h".
8984 (PARMS): Do not use macros from bp-asm.h.
8985 (__frexp): Do not use BP_SYM.
8986 (frexp): Likewise.
8987 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
8988 "bp-asm.h".
8989 (PARMS): Do not use macros from bp-asm.h.
8990 (__frexpf): Do not use BP_SYM.
8991 (frexpf): Likewise.
8992 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
8993 "bp-asm.h".
8994 (PARMS): Do not use macros from bp-asm.h.
8995 (__frexpl): Do not use BP_SYM.
8996 (frexpl): Likewise.
8997 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
8998 "bp-asm.h".
8999 (PARMS): Do not use macros from bp-asm.h.
9000 (__remquo): Do not use BP_SYM.
9001 (remquo): Likewise.
9002 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
9003 "bp-asm.h".
9004 (PARMS): Do not use macros from bp-asm.h.
9005 (__remquof): Do not use BP_SYM.
9006 (remquof): Likewise.
9007 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
9008 "bp-asm.h".
9009 (PARMS): Do not use macros from bp-asm.h.
9010 (__remquol): Do not use BP_SYM.
9011 (remquol): Likewise.
9012 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
9013 "bp-asm.h".
9014 (PARMS): Do not use macros from bp-asm.h.
9015 (DEST): Likewise.
9016 (SRC): Likewise.
9017 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
9018 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
9019 "bp-asm.h".
9020 (PARMS): Do not use macros from bp-asm.h.
9021 (strlen): Do not use BP_SYM.
9022 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
9023 "bp-asm.h".
9024 (PARMS): Do not use macros from bp-asm.h.
9025 (S1): Likewise.
9026 (S2): Likewise.
9027 (SIZE): Likewise.
9028 (__mpn_add_n): Do not use BP_SYM.
9029 * sysdeps/i386/i586/addmul_1.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 (SIZE): Likewise.
9034 (__mpn_addmul_1): Do not use BP_SYM.
9035 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
9036 weak_alias.
9037 (bzero): Likewise.
9038 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
9039 "bp-asm.h".
9040 (PARMS): Do not use macros from bp-asm.h.
9041 (S): Likewise.
9042 (SIZE): Likewise.
9043 (__mpn_lshift): Do not use BP_SYM.
9044 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
9045 "bp-asm.h".
9046 (PARMS): Do not use macros from bp-asm.h.
9047 (DEST): Likewise.
9048 (SRC): Likewise.
9049 (LEN): Likewise.
9050 (memcpy): Likewise. Do not use BP_SYM.
9051 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
9052 libc_hidden_def and weak_alias.
9053 (mempcpy): Do not use BP_SYM in weak_alias.
9054 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
9055 "bp-asm.h".
9056 (PARMS): Do not use macros from bp-asm.h.
9057 (DEST): Likewise.
9058 (LEN): Likewise.
9059 [!BZERO_P] (CHR): Likewise.
9060 (memset): Likewise. Do not use BP_SYM.
9061 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
9062 "bp-asm.h".
9063 (PARMS): Do not use macros from bp-asm.h.
9064 (S1): Likewise.
9065 (SIZE): Likewise.
9066 (__mpn_mul_1): Do not use BP_SYM.
9067 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
9068 "bp-asm.h".
9069 (PARMS): Do not use macros from bp-asm.h.
9070 (S): Likewise.
9071 (SIZE): Likewise.
9072 (__mpn_rshift): Do not use BP_SYM.
9073 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
9074 "bp-asm.h".
9075 (PARMS): Do not use macros from bp-asm.h.
9076 (STR): Likewise.
9077 (CHR): Likewise.
9078 (strchr): Likewise. Do not use BP_SYM.
9079 (index): Do not use BP_SYM in weak_alias.
9080 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
9081 "bp-asm.h".
9082 (PARMS): Do not use macros from bp-asm.h.
9083 (DEST): Likewise.
9084 (SRC): Likewise.
9085 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
9086 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
9087 "bp-asm.h".
9088 (PARMS): Do not use macros from bp-asm.h.
9089 (strlen): Do not use BP_SYM.
9090 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
9091 "bp-asm.h".
9092 (PARMS): Do not use macros from bp-asm.h.
9093 (S1): Likewise.
9094 (S2): Likewise.
9095 (SIZE): Likewise.
9096 (__mpn_sub_n): Do not use BP_SYM.
9097 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
9098 "bp-asm.h".
9099 (PARMS): Do not use macros from bp-asm.h.
9100 (S1): Likewise.
9101 (SIZE): Likewise.
9102 (__mpn_submul_1): Do not use BP_SYM.
9103 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
9104 "bp-asm.h".
9105 (PARMS): Do not use macros from bp-asm.h.
9106 (S1): Likewise.
9107 (S2): Likewise.
9108 (SIZE): Likewise.
9109 (__mpn_add_n): Do not use BP_SYM.
9110 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
9111 weak_alias.
9112 (bzero): Likewise.
9113 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
9114 "bp-asm.h".
9115 (PARMS): Do not use macros from bp-asm.h.
9116 (BLK2): Likewise.
9117 (LEN): Likewise.
9118 (memcmp): Do not use BP_SYM.
9119 (bcmp): Do not use BP_SYM in weak_alias.
9120 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
9121 "bp-asm.h".
9122 (PARMS): Do not use macros from bp-asm.h.
9123 (DEST): Likewise.
9124 (SRC): Likewise.
9125 (LEN): Likewise.
9126 (memcpy): Likewise. Do not use BP_SYM.
9127 * sysdeps/i386/i686/memmove.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 (memmove): Likewise. Do not use BP_SYM.
9134 * sysdeps/i386/i686/mempcpy.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 (__mempcpy): Likewise. Do not use BP_SYM.
9141 (mempcpy): Do not use BP_SYM in weak_alias.
9142 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
9143 "bp-asm.h".
9144 (PARMS): Do not use macros from bp-asm.h.
9145 (DEST): Likewise.
9146 (LEN): Likewise.
9147 [!BZERO_P] (CHR): Likewise.
9148 (memset): Likewise. Do not use BP_SYM.
9149 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
9150 "bp-asm.h".
9151 (PARMS): Do not use macros from bp-asm.h.
9152 (STR2): Likewise.
9153 (strcmp): Do not use BP_SYM.
9154 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
9155 "bp-asm.h".
9156 (PARMS): Do not use macros from bp-asm.h.
9157 (STR): Likewise.
9158 (DELIM): Likewise.
9159 [USE_AS_STRTOK_R] (SAVE): Likewise.
9160 (FUNCTION): Likewise. Do not use BP_SYM.
9161 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
9162 aliases.
9163 (strtok_r): Likewise.
9164 (__GI___strtok_r): Likewise.
9165 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9166 (PARMS): Do not use macros from bp-asm.h.
9167 (S): Likewise.
9168 (SIZE): Likewise.
9169 (__mpn_lshift): Do not use BP_SYM.
9170 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9171 (PARMS): Do not use macros from bp-asm.h.
9172 (STR): Likewise.
9173 (CHR): Likewise.
9174 (__memchr): Do not use BP_SYM.
9175 (memchr): Do not use BP_SYM in weak_alias.
9176 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9177 (PARMS): Do not use macros from bp-asm.h.
9178 (BLK2): Likewise.
9179 (LEN): Likewise.
9180 (memcmp): Do not use BP_SYM.
9181 (bcmp): Do not use BP_SYM in weak_alias.
9182 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
9183 (PARMS): Do not use macros from bp-asm.h.
9184 (S1): Likewise.
9185 (SIZE): Likewise.
9186 (__mpn_mul_1): Do not use BP_SYM.
9187 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
9188 "bp-asm.h".
9189 (PARMS): Do not use macros from bp-asm.h.
9190 (STR): Likewise.
9191 (CHR): Likewise.
9192 (__rawmemchr): Do not use BP_SYM.
9193 (rawmemchr): Do not use BP_SYM in weak_alias.
9194 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9195 (PARMS): Do not use macros from bp-asm.h.
9196 (S): Likewise.
9197 (SIZE): Likewise.
9198 (__mpn_rshift): Do not use BP_SYM.
9199 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9200 (PARMS): Do not use macros from bp-asm.h.
9201 (SIGMSK): Likewise.
9202 (__sigsetjmp): Likewise. Do not use BP_SYM.
9203 * sysdeps/i386/start.S: Do not include "bp-sym.h".
9204 (_start): Do not use BP_SYM.
9205 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
9206 (PARMS): Do not use macros from bp-asm.h.
9207 (DEST): Likewise.
9208 (SRC): Likewise.
9209 (__stpcpy): Likewise. Do not use BP_SYM.
9210 (stpcpy): Do not use BP_SYM in weak_alias.
9211 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
9212 "bp-asm.h".
9213 (PARMS): Do not use macros from bp-asm.h.
9214 (DEST): Likewise.
9215 (SRC): Likewise.
9216 (LEN): Likewise.
9217 (__stpncpy): Likewise. Do not use BP_SYM.
9218 (stpncpy): Do not use BP_SYM in weak_alias.
9219 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9220 (PARMS): Do not use macros from bp-asm.h.
9221 (STR): Likewise.
9222 (CHR): Likewise.
9223 (strchr): Likewise. Do not use BP_SYM.
9224 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
9225 "bp-asm.h".
9226 (PARMS): Do not use macros from bp-asm.h.
9227 (STR): Likewise.
9228 (CHR): Likewise.
9229 (__strchrnul): Likewise. Do not use BP_SYM.
9230 (strchrnul): Do not use BP_SYM in weak_alias.
9231 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
9232 "bp-asm.h".
9233 (PARMS): Do not use macros from bp-asm.h.
9234 (STOP): Likewise.
9235 (strcspn): Do not use BP_SYM.
9236 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
9237 "bp-asm.h".
9238 (PARMS): Do not use macros from bp-asm.h.
9239 (STR): Likewise.
9240 (STOP): Likewise.
9241 (strpbrk): Likewise. Do not use BP_SYM.
9242 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
9243 "bp-asm.h".
9244 (PARMS): Do not use macros from bp-asm.h.
9245 (STR): Likewise.
9246 (CHR): Likewise.
9247 (strrchr): Likewise. Do not use BP_SYM.
9248 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
9249 (PARMS): Do not use macros from bp-asm.h.
9250 (SKIP): Likewise.
9251 (strspn): Do not use BP_SYM.
9252 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
9253 (PARMS): Do not use macros from bp-asm.h.
9254 (STR): Likewise.
9255 (DELIM): Likewise.
9256 (SAVE): Likewise.
9257 (FUNCTION): Likewise. Do not use BP_SYM.
9258 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
9259 aliases.
9260 (strtok_r): Likewise.
9261 (__GI___strtok_r): Likewise.
9262 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9263 (PARMS): Do not use macros from bp-asm.h.
9264 (S1): Likewise.
9265 (S2): Likewise.
9266 (SIZE): Likewise.
9267 (__mpn_sub_n): Do not use BP_SYM.
9268 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
9269 "bp-asm.h".
9270 (PARMS): Do not use macros from bp-asm.h.
9271 (S1): Likewise.
9272 (SIZE): Likewise.
9273 (__mpn_submul_1): Do not use BP_SYM.
9274 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
9275 <bp-sym.h>.
9276 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
9277 and <bp-asm.h>.
9278 (PARMS): Do not use macros from bp-asm.h.
9279 (FLAGS): Likewise.
9280 (PTID): Likewise.
9281 (TLS): Likewise.
9282 (CTID): Likewise.
9283 (__clone): Do not use BP_SYM.
9284 (clone): Do not use BP_SYM in weak_alias.
9285 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
9286 and <bp-asm.h>.
9287 (PARMS): Do not use macros from bp-asm.h.
9288 (LEN): Likewise.
9289 (__mmap64): Do not use BP_SYM.
9290 (mmap64): Do not use BP_SYM in weak_alias.
9291 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9292 <bp-sym.h> and <bp-asm.h>.
9293 (PARMS): Do not use macros from bp-asm.h.
9294 (__posix_fadvise64_l64): Do not use BP_SYM.
9295 * sysdeps/unix/sysv/linux/i386/semtimedop.S
9296 (PARMS): Do not use macros from bp-asm.h.
9297 (NSOPS): Likewise.
9298 (semtimedop): Do not use BP_SYM.
9299 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
9300 and <bp-asm.h>.
9301
582a3cff
AM
93022013-02-21 Allan McRae <allan@archlinux.org>
9303
9304 * manual/message.texi (Charset conversion in gettext):
9305 Move @end statement to beginning of line.
9306
bab8a695
SP
93072013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9308
80945231
SP
9309 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
9310 static.
9311 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9312 Likewise.
9313
bab8a695
SP
9314 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
9315 (denorm): Likewise.
9316 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
9317 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
9318
e21d7aa7
AK
93192013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9320
9321 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
9322 tail-call to the resolved function if pltexit isn't needed.
9323
4c7a4263
SP
93242013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9325
9326 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
9327 or Y being zero as being unlikely.
9328 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9329 Likewise.
9330
41f49342
CD
93312013-02-20 Carlos O'Donell <carlos@redhat.com>
9332
9333 * manual/nss.texi (System Databases and Name Service Switch):
9334 Remove frobnicate @pxref.
9335
50022a93
TS
93362013-02-20 Thomas Schwinge <thomas@codesourcery.com>
9337
9338 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9339 __attribute__ ((unused)) to __attribute__ ((__unused__)).
9340
08cbd996
PM
93412013-02-20 Petr Machata <pmachata@redhat.com>
9342
9343 * elf/elf.h (R_ARM_TARGET1): New macro.
9344 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
9345 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
9346 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
9347 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
9348 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
9349 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
9350 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
9351 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
9352 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
9353 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
9354 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
9355 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
9356 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
9357 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
9358 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
9359 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
9360 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
9361 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
9362 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
9363 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
9364 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
9365 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
9366 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
9367 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
9368 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
9369 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
9370 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
9371 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
9372 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
9373 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
9374 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
9375 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
9376 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
9377 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
9378 (R_ARM_THM_GOT_BREL12): Likewise.
9379 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
9380 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
9381 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
9382 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
9383 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
9384 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
9385 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
9386 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
9387 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
9388
c7b275d6
TS
93892013-02-20 Thomas Schwinge <thomas@codesourcery.com>
9390
9391 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9392 __attribute_used__ to __attribute__ ((unused)).
9393
20cd7fb3
SP
93942013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9395
9396 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
9397 powerpc mpa.c.
9398 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
9399 comment formatting.
9400 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
9401
92945b52
JM
94022013-02-19 Joseph Myers <joseph@codesourcery.com>
9403
9404 [BZ #13550]
9405 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
9406 Remove macro.
9407 (ENTER): Remove both macro definitions.
9408 (LEAVE): Likewise.
9409 (CHECK_BOUNDS_LOW): Likewise.
9410 (CHECK_BOUNDS_HIGH): Likewise.
9411 (CHECK_BOUNDS_BOTH): Likewise.
9412 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
9413 (RETURN_BOUNDED_POINTER): Likewise.
9414 (RETURN_NULL_BOUNDED_POINTER): Likewise.
9415 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
9416 (POP_ERRNO_LOCATION_RETURN): Likewise.
9417 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
9418 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9419 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
9420 macros.
9421 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9422 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
9423 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
9424 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
9425 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
9426 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
9427 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
9428 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
9429 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
9430 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
9431 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
9432 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
9433 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9434 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
9435 removed macros.
9436 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9437 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
9438 macros.
9439 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9440 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
9441 * sysdeps/i386/i586/memset.S (memset): Likewise.
9442 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
9443 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9444 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
9445 macros.
9446 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9447 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
9448 Change uses of L(2) to L(out).
9449 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
9450 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
9451 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
9452 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9453 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
9454 removed macros.
9455 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9456 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
9457 macros.
9458 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9459 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
9460 (RETURN): Do not use macro LEAVE.
9461 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
9462 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
9463 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
9464 * sysdeps/i386/i686/memset.S (memset): Likewise.
9465 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
9466 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
9467 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9468 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
9469 Likewise.
9470 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9471 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
9472 L(1_2) and L(1_3) into L(1).
9473 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9474 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
9475 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9476 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
9477 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9478 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
9479 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
9480 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9481 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
9482 macros.
9483 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
9484 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9485 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
9486 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
9487 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
9488 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9489 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
9490 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
9491 * sysdeps/i386/strcspn.S (strcspn): Likewise.
9492 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
9493 * sysdeps/i386/strrchr.S (strrchr): Likewise.
9494 * sysdeps/i386/strspn.S (strspn): Likewise.
9495 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
9496 conditional code.
9497 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9498 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
9499 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9500 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
9501 L(1_3) into L(1_1).
9502 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
9503 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9504 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
9505 macros.
9506 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9507
2389741a
JJ
95082013-02-19 Jakub Jelinek <jakub@redhat.com>
9509
9510 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
9511 macro.
9512
2016b3cd
SP
95132013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9514
e4f22324
SP
9515 * math/atest-exp.c (exp_mpn): Remove ROUND.
9516 * math/atest-exp2.c (exp_mpn): Likewise.
9517 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
9518
2016b3cd
SP
9519 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
9520 * stdlib/tst-tls-atexit-lib.c: Likewise.
9521 * stdlib/tst-tls-atexit.c: Likewise.
9522
4be9b544
MF
95232013-02-18 Mike Frysinger <vapier@gentoo.org>
9524
9525 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
9526 and __attribute_alloc_size__.
9527
2f62b9ee
MF
95282013-02-18 Mike Frysinger <vapier@gentoo.org>
9529
9530 * include/programs/xmalloc.h: Change __attribute_alloc_size to
9531 __attribute_alloc_size__.
9532 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
9533 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
9534
6ff444c4
MF
95352013-02-18 Mike Frysinger <vapier@gentoo.org>
9536
9537 * include/programs/xmalloc.h: New file.
9538 * catgets/gencat.c: Include it.
9539 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
9540 * elf/pldd.c: Likewise.
9541 * iconv/iconv_charmap.c: Likewise.
9542 * iconv/iconvconfig.c: Likewise.
9543 * iconv/strtab.c: Likewise.
9544 * locale/programs/locale.c: Likewise.
9545 * locale/programs/localedef.h: Likewise.
9546 * locale/programs/simple-hash.c: Likewise.
9547 * nscd/nscd.h: Likewise.
9548 * nss/makedb.c: Likewise.
9549 * sysdeps/generic/ldconfig.h: Likewise.
9550
be179c8a
SP
95512013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9552
ba384f6e
SP
9553 * Versions.def: Add GLIBC_2.18.
9554 * include/link.h (struct link_map): New member l_tls_dtor_count.
9555 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
9556 (__call_tls_dtors): Likewise.
9557 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
9558 __cxa_thread_atexit_impl.
9559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9560 Likewise.
9561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9562 Likewise.
9563 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9564 Likewise.
9565 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9566 Likewise.
9567 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9568 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
9569 Likewise.
9570 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
9571 Likewise.
9572 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9573 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9574 Likewise.
9575 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
9576 (tests): Add test case tst-tls-atexit.
9577 (modules-names): Add shared library for tst-tls-atexit.
85891aca 9578 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
9579 (GLIBC_PRIVATE): Add __call_tls_dtors.
9580 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
9581 for libstdc++.
9582 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
9583 * stdlib/tst-tls-atexit.c: New test case.
9584 * stdlib/tst-tls-atexit-lib.c: New test case.
9585
ffaa74cf 9586 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 9587
be179c8a
SP
9588 * elf/Versions (ld): Add _dl_find_dso_for_object.
9589 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
9590 * elf/dl-open.c (_dl_find_dso_for_object): New function.
9591 (dl_open_worker): Use _dl_find_dso_for_object.
9592 * elf/dl-sym.c (do_sym): Likewise.
9593 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
9594
f78b5caa
AK
95952013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9596
9597 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
9598 Syntactic changes only.
9599 (_dl_runtime_profile): Do a tail-call to the resolved function.
9600
29691210
JM
96012013-02-17 Joseph Myers <joseph@codesourcery.com>
9602
9603 [BZ #13550]
9604 * sysdeps/x86_64/bp-asm.h: Remove file.
9605 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
9606 <bp-sym.h> and <bp-asm.h>.
9607 (__clone): Do not use BP_SYM.
9608 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
9609 <bp-sym.h> and <bp-asm.h>.
9610 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9611 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
9612 "bp-asm.h".
9613 (_setjmp): Do not use BP_SYM.
9614 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
9615 "bp-asm.h".
9616 (setjmp): Do not use BP_SYM.
9617 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
9618 libc_hidden_def.
9619 (mempcpy): Do not use BP_SYM in weak_alias.
9620 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
9621 "bp-asm.h".
9622 (strchr): Do not use BP_SYM.
9623 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
9624 "bp-asm.h".
9625 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
9626 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
9627 (_start): Do not use BP_SYM.
9628 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
9629 "bp-asm.h".
9630 (strcat): Do not use BP_SYM.
9631 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
9632 "bp-asm.h".
9633 (STRCMP): Do not use BP_SYM.
9634 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
9635 "bp-asm.h".
9636 (STRCPY): Do not use BP_SYM.
9637 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
9638 "bp-asm.h".
9639 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
9640 "bp-asm.h".
9641 (FUNCTION): Do not use BP_SYM.
9642 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
9643 weak_alias.
9644 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
9645
f238fd19
AJ
96462013-02-17 Andreas Jaeger <aj@suse.de>
9647
9648 * time/Versions: Sort entries.
9649 * string/Versions: Likewise.
9650 * resolv/Versions: Likewise.
9651 * posix/Versions: Likewise.
9652 * iconv/Versions: Likewise.
9653 * elf/Versions: Likewise.
9654 * wcsmbs/Versions: Likewise.
9655
bd07f23c 96562013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 9657
22af19f9
SP
9658 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
9659 loop termination condition.
9660
4709fe76
SP
9661 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
9662 variable to calculate EZ.
9663 (__sqr): Likewise.
2d0e0f29
SP
9664
9665 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
9666 the lower precision input.
9667
daaa7713
JM
96682013-02-15 Joseph Myers <joseph@codesourcery.com>
9669
9670 [BZ #13550]
9671 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
9672 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
9673 (run-via-rtld-prefix): Do not handle %-bp tests.
9674 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
9675 (all-object-suffixes): Remove .ob.
9676 (bppfx): Remove variable.
9677 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
9678 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
9679 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
9680 [$(build-bounded) = yes] (libtype.ob): Likewise.
9681 * Makerules (elide-routines.ob): Remove variable.
9682 (do-tests-clean): Do not handle *-bp.out.
9683 (common-mostlyclean): Do not handle *-bp and *-bp.out.
9684 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
9685 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
9686 (tests): Do not include $(tests-bp.out).
9687 (xtests): Do not include $(xtests-bp.out).
9688 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
9689 [$(build-bounded) = yes] ($(addprefix
9690 $(objpfx),$(binaries-bounded))): Remove rule.
9691 ($(objpfx)%-bp.out): Remove rule.
9692 * config.make.in (build-bounded): Remove variable.
9693 * crypt/Makefile [$(build-bounded) = yes]
9694 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
9695 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
9696 append to variable.
9697 [$(build-bounded) = yes] (install-lib): Likewise.
9698 [$(build-bounded) = yes] (generated): Likewise.
9699 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
9700 Remove rule.
9701 * intl/Makefile [$(build-bounded) = yes]
9702 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
9703 * math/Makefile [$(build-bounded) = yes]
9704 ($(tests:%=$(objpfx)%-bp): Likewise.
9705 * misc/Makefile [$(build-bounded) = yes]
9706 ($(objpfx)tst-tsearch-bp): Likewise.
9707 * nptl/Makeconfig (bounded-thread-library): Remove variable.
9708 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
9709 Remove dependency.
9710 * string/Makefile (o-objects.ob): Remove variable.
9711 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
9712 (CFLAGS-.ob): Remove variable.
9713 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
9714 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
9715 both definitions of variable.
9716 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
9717 (ASFLAGS-.ob): Remove variable.
9718
e97ed6dd
JM
97192013-02-14 Joseph Myers <joseph@codesourcery.com>
9720
2bdd4ca6
JM
9721 [BZ #13550]
9722 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
9723 Remove __BOUNDED_POINTERS__ from condition.
9724 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
9725 * string/bits/string2.h [!__NO_STRING_INLINES &&
9726 !__BOUNDED_POINTERS__]: Likewise.
9727 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
9728 Likewise.
9729 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
9730 Remove conditional code.
9731 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
9732 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
9733 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
9734 condition.
9735
e97ed6dd
JM
9736 [BZ #13550]
9737 * csu/libc-start.c: Do not include <bp-sym.h>.
9738 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
9739 * elf/dl-open.c: Do not include <bp-sym.h>.
9740 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
9741 * math/fegetenv.c: Do not include <bp-sym.h>.
9742 (fegetenv): Do not use BP_SYM in versioned symbols.
9743 * nptl/sysdeps/pthread/bits/libc-lockP.h
9744 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
9745 <bp-sym.h>.
9746 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9747 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
9748 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9749 (__pthread_mutex_destroy): Likewise.
9750 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9751 (__pthread_mutex_lock): Likewise.
9752 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9753 (__pthread_mutex_trylock): Likewise.
9754 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9755 (__pthread_mutex_unlock): Likewise.
9756 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9757 (__pthread_mutexattr_init): Likewise.
9758 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9759 (__pthread_mutexattr_destroy): Likewise.
9760 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9761 (__pthread_mutexattr_settype): Likewise.
9762 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9763 (__pthread_rwlock_init): Likewise.
9764 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9765 (__pthread_rwlock_destroy): Likewise.
9766 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9767 (__pthread_rwlock_rdlock): Likewise.
9768 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9769 (__pthread_rwlock_tryrdlock): Likewise.
9770 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9771 (__pthread_rwlock_wrlock): Likewise.
9772 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9773 (__pthread_rwlock_trywrlock): Likewise.
9774 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9775 (__pthread_rwlock_unlock): Likewise.
9776 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9777 (__pthread_key_create): Likewise.
9778 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9779 (__pthread_setspecific): Likewise.
9780 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9781 (__pthread_getspecific): Likewise.
9782 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
9783 Likewise.
9784 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9785 (_pthread_cleanup_push_defer): Likewise.
9786 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9787 (_pthread_cleanup_pop_restore): Likewise.
9788 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9789 (pthread_setcancelstate): Likewise.
9790 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
9791 <bp-sym.h>.
9792 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
9793 (memchr): Do not use BP_SYM in weak_alias.
9794 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
9795 (fegetenv): Do not use BP_SYM in versioned symbols.
9796 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
9797 (fesetenv): Do not use BP_SYM in versioned symbols.
9798 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9799 (feupdateenv): Do not use BP_SYM in versioned symbols.
9800 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9801 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9802 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
9803 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
9804 (open64): Do not use BP_SYM in weak_alias.
9805 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
9806 (fegetenv): Do not use BP_SYM in versioned symbols.
9807 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
9808 (fesetenv): Do not use BP_SYM in versioned symbols.
9809 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9810 (feupdateenv): Do not use BP_SYM in versioned symbols.
9811 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
9812 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
9813 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
9814 (feraiseexcept): Do not use BP_SYM in versioned symbols.
9815 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9816 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9817 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
9818 <bp-sym.h>.
9819 (__libc_start_main): Do not use BP_SYM.
9820
d6752ccd
SP
98212013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9822
cb57ce60
SP
9823 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
9824 redundant return line.
9825 (norm): Likewise.
9826 (denorm): Likewise.
9827 (dbl_mp): Likewise.
9828 (sub_magnitudes): Likewise.
9829 (__add): Likewise.
9830 (__sub): Likewise.
9831 (__mul): Likewise.
9832 (__inv): Likewise.
9833 (__dvd): Likewise.
9834 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
9835 (norm): Likewise.
9836 (denorm): Likewise.
9837 (dbl_mp): Likewise.
9838 (sub_magnitudes): Likewise.
9839 (__add): Likewise.
9840 (__sub): Likewise.
9841 (__mul): Likewise.
9842 (__inv): Likewise.
9843 (__dvd): Likewise.
9844
f414520d
SP
9845 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
9846 instead of __mul.
9847 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9848 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
9849 (cc32): Likewise.
9850
d6752ccd
SP
9851 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
9852 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
9853 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
9854 of __mul for squares.
9855 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
9856 function
9857 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
9858 Likewise.
9859 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
9860 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9861
70d9946a
JM
98622013-02-13 Joseph Myers <joseph@codesourcery.com>
9863
9864 [BZ #13550]
9865 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
9866 code.
9867 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
9868 prototype or function definition. Rename ubp_* variables and
9869 parameters. Remove argv definitions conditional on
9870 [__BOUNDED_POINTERS__].
9871 * debug/backtrace.c (__backtrace): Do not use __unbounded.
9872 * elf/dl-runtime.c (_dl_fixup): Likewise.
9873 * include/set-hooks.h (RUN_HOOK): Likewise.
9874 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
9875 definition.
9876 * string/strcpy.c (strcpy): Do not use __unbounded.
9877 * sysdeps/generic/frame.h (struct layout): Likewise.
9878 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
9879 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
9880 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
9881 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
9882 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
9883 (__backtrace): Likewise.
9884 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
9885 use __ptrvalue.
9886 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
9887 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9888 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
9889 Likewise.
9890 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
9891 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
9892 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9893 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9894 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
9895 Do not use __unbounded.
9896 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
9897 Rename __unboundedrlimits parameter to rlimits in prototype.
9898 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
9899 Do not use __unbounded.
9900 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
9901 not use __ptrvalue.
9902 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9903 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
9904 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9905 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
9906 __ptrvalue or __unbounded.
9907 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
9908 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
9909 use __unbounded.
9910 (__new_msgctl): Do not use __ptrvalue.
9911 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
9912 __unbounded.
9913 (__libc_msgrcv): Do not use __ptrvalue.
9914 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
9915 startup_info): Do not use __unbounded.
9916 (__libc_start_main): Likewise. Rename ubp_* variables and
9917 parameters. Remove argv definitions conditional on
9918 [__BOUNDED_POINTERS__].
9919 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
9920 __ptrvalue.
9921 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
9922 use __unbounded.
9923 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
9924 or __ptrvalue.
9925 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
9926 use __unbounded.
9927 (__new_shmctl): Do not use __ptrvalue.
9928 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
9929 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
9930 Likewise.
9931 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
9932 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
9933 (__libc_sigaction): Likewise.
9934 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
9935 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
9936 Likewise.
9937 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9938
cc7834d6
OB
99392013-02-13 Ondřej Bílka <neleai@seznam.cz>
9940
ffb1ec7b 9941 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
9942
9943 * string/mempcpy.c: Implement by calling memcpy.
9944
bdf02814
SP
99452013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9946
c2af38aa
SP
9947 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
9948
4e92d59e
SP
9949 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
9950 evaluation.
9951
909279a5
SP
9952 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
9953 values in the mantissa.
9954
bdf02814
SP
9955 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
9956 minimize writes to Z.
9957 (sub_magnitudes): Simplify code a bit.
9958
cd525923
RM
99592013-02-12 Roland McGrath <roland@hack.frob.com>
9960
9961 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
9962 from the message. The linker prefixes all warnings with that already.
9963
7e2f0d2d
AS
99642013-02-12 Andreas Schwab <schwab@suse.de>
9965
a445af0b
AS
9966 [BZ #15078]
9967 * posix/regexec.c (extend_buffers): Add parameter min_len.
9968 (check_matching): Pass minimum needed length.
9969 (clean_state_log_if_needed): Likewise.
9970 (get_subexp): Likewise.
9971 * posix/Makefile (tests): Add bug-regex34.
9972 (bug-regex34-ENV): Define.
9973 * posix/bug-regex34.c: New file.
9974
7e2f0d2d
AS
9975 [BZ #11561]
9976 * posix/regcomp.c (parse_bracket_exp): When looking up collating
9977 elements compare against the byte sequence of it, not its name.
9978 * posix/Makefile (tests): Add bug-regex35.
9979 (bug-regex35-ENV): Define.
9980 * posix/bug-regex35.c: New file.
9981
a175b684
TV
99822013-02-11 Tom de Vries <tom@codesourcery.com>
9983
9984 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
9985 comment.
9986 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
9987 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
9988 (CHECK_EOL): Add undef.
9989
310998fe 99902013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
9991
9992 * bits/stdlib-bsearch.h: New file.
9993 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 9994 * stdlib/stdlib.h: Likewise.
41eda41d 9995
8ded91fb
RM
99962013-02-11 Roland McGrath <roland@hack.frob.com>
9997
9998 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
9999 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
10000 declaration.
10001 * manual/search.texi (Array Search Function): Add missing const in
10002 lfind prototype.
10003 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
10004 declaration to use rlim_t.
10005 (Basic Scheduling Functions): Remove erroneous const from
10006 sched_getparam prototype. Remove erroneous * from
10007 sched_get_priority_max and sched_get_priority_min prototypes.
10008 (Resource Usage): Fix summary @comment on vtimes to refer to
10009 sys/vtimes.h rather than vtimes.h.
10010 Add missing *s in vtimes prototype.
10011 (Limits on Resources): Fix ulimit prototype to return long int.
10012 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
10013 prototypes to use long int rather than double.
10014 (BSD Random): Fix initstate and setstate to use char *, not void *.
10015 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
10016 prototype to make second argument 'struct aiocb64 *const[]'.
10017 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
10018 (Status of AIO Operations): Remove erroneous const in aio_return and
10019 aio_return64 prototypes.
10020 (Synchronizing I/O): Fix sync prototype to return void.
10021 * manual/startup.texi (Suboptions): Remove an erroneous const in
10022 getsubopt prototype.
10023 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
10024 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
10025 use size_t rather than int.
10026 (Scanning All Users): Likewise for getpwent_r.
10027 (Setting Groups): Add missing const to setgroups prototype.
10028 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
10029 * manual/socket.texi (Host Names): Fix gethostbyaddr and
10030 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
10031 'const void *' rather than 'const char *'.
10032 (Host Address Functions): Likewise for inet_ntop.
10033 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
10034 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
10035 ssize_t for return value.
10036 (Sending Data): Likewise for send, sendto, sendmsg.
10037 (Socket Option Functions): Add a missing const in setsockopt prototype.
10038 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
10039 use wchar_t for the argument.
10040 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
10041 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
10042 take no arguments.
10043 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
10044 double/float/long double for second argument.
10045 Fix return types of significand, significandf, significandl.
10046 * manual/filesys.texi (Setting Permissions): Use mode_t for second
10047 argument in fchmod prototype.
10048 (File Owner): Use uid_t and gid_t in fchown prototype.
10049 (File Times): Add const to utimes, futimes, and lutimes prototypes.
10050 (Making Special Files): Use mode_t and dev_t in mknod prototype.
10051 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
10052 use 'const struct dirent **' as argument types to CMP function pointer
10053 argument.
10054 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
10055 (File Times): Fix summary magic @comment for struct utimbuf and utime
10056 to refer to utime.h, not time.h.
10057 * manual/string.texi (Argz Functions): Add missing const in
10058 argz_extract and argz_next prototypes.
10059 (Finding Tokens in a String): Likewise for basename.
10060 (String/Array Comparison): Fix typo in wcscasecmp prototype.
10061 (Copying and Concatenation): Fix typo in wmemmove prototype.
10062 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
10063 (Signal Stack): Remove erroneous const in sigstack prototype.
10064 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
10065 prototype.
10066 (Simple Calendar Time): Likewise for stime.
10067 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
10068 prototype.
10069 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
10070 say sys/sysctl.h instead.
10071 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
10072 and vsyslog prototypes.
10073
fe77fe6d
TV
100742013-02-11 Tom de Vries <tom@codesourcery.com>
10075
10076 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
10077 Remove.
10078
3a09b620
RM
100792013-02-11 Roland McGrath <roland@hack.frob.com>
10080
10081 * misc/sys/mman.h: Fix typo in mremap comment.
10082
550a0b89
RM
100832013-02-08 Roland McGrath <roland@hack.frob.com>
10084
10085 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
10086 the '\0' terminator.
10087
a2da1673
JM
100882013-02-08 Joseph Myers <joseph@codesourcery.com>
10089
10090 [BZ #13550]
10091 * debug/segfault.c: Don't include <bp-checks.h>.
10092 * sysdeps/generic/bp-checks.h: Remove file.
10093 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
10094 (__GETDENTS): Don't use CHECK_N.
10095 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
10096 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10097 (__getgroups): Don't use CHECK_N.
10098 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
10099 (setgroups): Don't use CHECK_N.
10100 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
10101 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
10102 (__libc_msgrcv): Don't use CHECK_N.
10103 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
10104 (__libc_msgsnd): Don't use CHECK_N.
10105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
10106 <bp-checks.h>.
10107 (__libc_pread): Don't use CHECK_N.
10108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
10109 include <bp-checks.h>.
10110 (__libc_pread64): Don't use CHECK_N.
10111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
10112 include <bp-checks.h>.
10113 (__libc_pwrite): Don't use CHECK_N.
10114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
10115 include <bp-checks.h>.
10116 (__libc_pwrite64): Don't use CHECK_N.
10117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
10118 <bp-checks.h>.
10119 (__libc_pread): Don't use CHECK_N.
10120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
10121 include <bp-checks.h>.
10122 (__libc_pread64): Don't use CHECK_N.
10123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
10124 include <bp-checks.h>.
10125 (__libc_pwrite): Don't use CHECK_N.
10126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
10127 include <bp-checks.h>.
10128 (__libc_pwrite64): Don't use CHECK_N.
10129 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
10130 (do_pread): Don't use CHECK_N.
10131 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
10132 (do_pread64): Don't use CHECK_N.
10133 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
10134 (do_pwrite): Don't use CHECK_N.
10135 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
10136 (do_pwrite64): Don't use CHECK_N.
10137 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
10138 (__libc_readv): Don't use CHECK_N.
10139 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
10140 (semop): Don't use CHECK_N.
10141 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
10142 <bp-checks.h>.
10143 (semtimedop): Don't use CHECK_N.
10144 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
10145 (__libc_pread): Don't use CHECK_N.
10146 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
10147 <bp-checks.h>.
10148 (__libc_pread64): Don't use CHECK_N.
10149 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
10150 <bp-checks.h>.
10151 (__libc_pwrite): Don't use CHECK_N.
10152 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
10153 <bp-checks.h>.
10154 (__libc_pwrite64): Don't use CHECK_N.
10155 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
10156 <bp-checks.h>.
10157 (__libc_msgrcv): Don't use CHECK_N.
10158 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
10159 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
10160 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
10161 (__libc_writev): Don't use CHECK_N.
10162
b84660a8
RM
101632013-02-08 Roland McGrath <roland@hack.frob.com>
10164
7f3e75f8
RM
10165 * string/strcpy.c: Removed unused variable.
10166
b84660a8
RM
10167 * Makeconfig (+sysdep-includes): Define with := rather than =.
10168 Use an existing include/ subdir of each sysdeps dir before it.
10169
471514d3
CD
101702013-02-08 Carlos O'Donell <carlos@redhat.com>
10171
10172 * nscd/connection.c (register_traced_file): Comment function.
10173 [HAVE_INOTIFY] (union __inev): Define.
10174 [HAVE_INOTIFY] (inotify_check_files): New function.
10175 [HAVE_INOTIFY] (clear_db_cache): Likewise.
10176 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
10177 clear_db_cache.
10178 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
10179
b2d3c3be
CD
101802013-02-08 Carlos O'Donell <carlos@redhat.com>
10181
10182 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
10183 loaded if not already and that a failure is permanent.
10184
b39949d2
CD
101852013-02-08 Carlos O'Donell <carlos@redhat.com>
10186
ddacd1db 10187 [BZ #15006]
b39949d2
CD
10188 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
10189 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
10190
b2c9eff4
JM
101912013-02-08 Joseph Myers <joseph@codesourcery.com>
10192
f3aae3f3
JM
10193 [BZ #13550]
10194 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
10195 (CHECK_1_NULL_OK): Likewise.
10196 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
10197 (__fxstat): Do not use CHECK_1.
10198 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
10199 <bp-checks.h>.
10200 (___fxstat64): Do not use CHECK_1.
10201 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10202 <bp-checks.h>.
10203 (__fxstatat): Do not use CHECK_1.
10204 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10205 <bp-checks.h>.
10206 (__fxstatat64): Do not use CHECK_1.
10207 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
10208 <bp-checks.h>.
10209 (__fxstat): Do not use CHECK_1.
10210 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10211 <bp-checks.h>.
10212 (__fxstatat): Do not use CHECK_1.
10213 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10214 <bp-checks.h>.
10215 (__getresgid): Do not use CHECK_1.
10216 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10217 <bp-checks.h>.
10218 (__getresuid): Do not use CHECK_1.
10219 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
10220 <bp-checks.h>.
10221 (__lxstat): Do not use CHECK_1.
10222 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10223 <bp-checks.h>.
10224 (__old_msgctl): Do not use CHECK_1.
10225 (__new_msgctl): Likewise.
10226 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
10227 <bp-checks.h>.
10228 (__new_setrlimit): Do not use CHECK_1.
10229 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10230 <bp-checks.h>.
10231 (__old_shmctl): Do not use CHECK_1.
10232 (__new_shmctl): Likewise.
10233 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
10234 <bp-checks.h>.
10235 (__xstat): Do not use CHECK_1.
10236 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
10237 (__lxstat): Do not use CHECK_1.
10238 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
10239 <bp-checks.h>.
10240 (___lxstat64): Do not use CHECK_1.
10241 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
10242 (__old_msgctl): Do not use CHECK_1.
10243 (__new_msgctl): Likewise.
10244 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
10245 <bp-checks.h>.
10246 (__gettimeofday): Do not use CHECK_1.
10247 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
10248 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
10249 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
10250 <bp-checks.h>.
10251 (__gettimeofday): Do not use CHECK_1.
10252 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
10253 (__old_shmctl): Do not use CHECK_1_NULL_OK.
10254 (__new_shmctl): Do not use CHECK_1.
10255 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
10256 <bp-checks.h>.
10257 (do_sigtimedwait): Do not use CHECK_1.
10258 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
10259 <bp-checks.h>.
10260 (do_sigwaitinfo): Do not use CHECK_1.
10261 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
10262 <bp-checks.h>.
10263 (msgctl): Do not use CHECK_1.
10264 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
10265 <bp-checks.h>.
10266 (shmctl): Do not use CHECK_1.
10267 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
10268 (ustat): Do not use CHECK_1.
10269 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
10270 <bp-checks.h>.
10271 (__fxstat): Do not use CHECK_1.
10272 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10273 <bp-checks.h>.
10274 (__fxstatat): Do not use CHECK_1.
10275 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
10276 <bp-checks.h>.
10277 (__lxstat): Do not use CHECK_1.
10278 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
10279 <bp-checks.h>.
10280 (__xstat): Do not use CHECK_1.
10281 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
10282 (__xstat): Do not use CHECK_1.
10283 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
10284 (___xstat64): Do not use CHECK_1.
10285
b2c9eff4
JM
10286 [BZ #13550]
10287 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
10288 definitions.
10289 (CHECK_BOUNDS_HIGH): Likewise.
10290 * string/strcpy.c: Do not include <bp-checks.h>.
10291 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
10292
f1d70dad
RM
102932013-02-07 Roland McGrath <roland@hack.frob.com>
10294
10295 * nscd/nscd-client.h (__nscd_drop_map_ref):
10296 Add __attribute__ ((unused)).
10297 * nis/nss-nisplus.h (niserr2nss): Likewise.
10298
10299 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
10300 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
10301
10302 * csu/libc-tls.c (init_static_tls, init_slotinfo):
10303 Remove inline keyword.
10304 * include/rounding-mode.h (round_away): Likewise.
10305 * libio/wfileops.c (adjust_wide_data): Likewise.
10306 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
10307 (__m128i_strloadu_tolower): Likewise.
10308 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
10309 (__m128i_strloadu_tolower): Likewise.
10310 * time/mktime.c (ydhms_diff): Likewise.
10311 * locale/elem-hash.h (elem_hash): Likewise.
10312 * locale/setlocale.c (setdata): Likewise.
10313 * posix/regex_internal.h (re_string_char_size_at): Likewise.
10314 (re_string_wchar_at): Likewise.
10315 (bitset_not, bitset_merge, bitset_mask): Likewise.
10316 [!(__GNUC__ > 3)] (inline): Remove macro.
10317 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
10318 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
10319 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
10320 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
10321 * string/memcmp.c (memcmp_bytes): Likewise.
10322 * locale/programs/locarchive.c (compute_hashval): Likewise.
10323 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
10324 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
10325 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
10326 * nss/getent.c (print_rpc, print_protocols): Likewise.
10327 (print_passwd, print_group, print_aliases): Likewise.
10328 * nis/nss-nisplus.h (niserr2nss): Likewise.
10329 * nscd/connections.c (restart_p): Likewise.
10330 Change return type to bool.
10331
eab55bfb
RM
103322013-02-05 Roland McGrath <roland@hack.frob.com>
10333
7bd642f5
RM
10334 * Makeconfig (all-Depend-files): Add existing
10335 $(sorted-subdirs:=/Depend) files.
10336 (all-subdirs): Remove nss.
10337 * sysdeps/unix/inet/Subdirs: Add it here instead.
10338 * hesiod/Depend: New file.
10339
573c29b2
RM
10340 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
10341 instead of calling alloca.
10342
b2e25af0
RM
10343 * io/lseek.c (__lseek): Rename to __libc_lseek.
10344 Define __lseek as an alias.
10345
eab55bfb
RM
10346 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
10347
9a0d1941
CD
103482013-02-04 Carlos O'Donell <carlos@redhat.com>
10349
10350 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
10351 else clause and remove check for non-standard endianness.
10352
b83bbec4
DM
103532013-02-04 David S. Miller <davem@davemloft.net>
10354
10355 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10356
6277fdab
JM
103572013-02-04 Joseph Myers <joseph@codesourcery.com>
10358
10359 [BZ #13550]
10360 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
10361 (__ubp_memchr): Remove prototype.
10362 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
10363 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10364 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
10365 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10366 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
10367 Remove alias.
10368 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
10369 (__ubp_memchr): Likewise.
10370 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
10371 (__ubp_memchr): Likewise.
10372 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
10373 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
10374 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
10375 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
10376 CHECK_STRING.
10377 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10378 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
10379 (__getcwd): Do not use CHECK_STRING.
10380 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10381 <bp-checks.h>.
10382 (__real_chown): Do not use CHECK_STRING.
10383 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
10384 <bp-checks.h>.
10385 (fchownat): Do not use CHECK_STRING.
10386 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
10387 CHECK_STRING.
10388 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10389 <bp-checks.h>.
10390 (__lchown): Do not use CHECK_STRING.
10391 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10392 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10393 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10394 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10396 include <bp-checks.h>.
10397 (truncate64): Do not use CHECK_STRING.
10398 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10399 <bp-checks.h>.
10400 (__real_chown): Do not use CHECK_STRING.
10401 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10402 <bp-checks.h>.
10403 (__lchown): Do not use CHECK_STRING.
10404 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10405 <bp-checks.h>.
10406 (__chown): Do not use CHECK_STRING.
10407 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
10408 <bp-checks.h>.
10409 (truncate64): Do not use CHECK_STRING.
10410 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
10411 Likewise.
10412 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
10413 (__xmknod): Do not use CHECK_STRING.
10414 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10415 <bp-checks.h>.
10416 (__xmknodat): Do not use CHECK_STRING.
10417 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10418 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
10419
903ae060
AS
104202013-02-04 Andreas Schwab <schwab@suse.de>
10421
10422 [BZ #14142]
10423 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
10424 * include/netdb.h: Likewise for h_errno.
10425 * elf/tst-stackguard1.c: Include <tls.h>.
10426
542f9466
JK
104272013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10428
10429 * elf/link.h (struct link_map): Extend the l_addr comment.
10430 * include/link.h (struct link_map): Likewise.
10431
e782a927
JM
104322013-02-01 Joseph Myers <joseph@codesourcery.com>
10433
10434 [BZ #13550]
10435 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
10436 (BOUNDED_1): Remove macro.
10437 * debug/backtrace.c: Don't include <bp-checks.h>.
10438 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
10439 (__backtrace): Likewise.
10440 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
10441 <bp-checks.h>.
10442 (__backtrace): Don't use BOUNDED_1.
10443 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
10444 <bp-checks.h>.
10445 (__backtrace): Don't use BOUNDED_1.
10446 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
10447 (__backtrace): Don't use BOUNDED_1.
10448 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
10449 (shmat): Don't use BOUNDED_N.
10450
8cf28c5e
JM
104512013-01-31 Joseph Myers <joseph@codesourcery.com>
10452
3a7ac8a0
JM
10453 [BZ #13550]
10454 * sysdeps/generic/bp-start.h: Remove file.
10455 * csu/libc-start.c: Don't include <bp-start.h>.
10456 (LIBC_START_MAIN): Set up __environ directly instead of using
10457 INIT_ARGV_and_ENVIRON.
10458 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
10459 <bp-start.h>.
10460
f3499f95
JM
10461 [BZ #13550]
10462 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
10463 definitions.
10464 (CHECK_FCNTL): Likewise.
10465 (CHECK_N_PAGES): Likewise.
10466
32a45bea
JM
10467 [BZ #13550]
10468 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
10469 definitions.
10470 (CHECK_SIGSET_NULL_OK): Likewise.
10471 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
10472 <bp-checks.h>.
10473 (sigpending): Don't use CHECK_SIGSET.
10474 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
10475 <bp-checks.h>.
10476 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10477 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
10478 <bp-checks.h>.
10479 (do_sigsuspend): Don't use CHECK_SIGSET.
10480 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
10481 use CHECK_SIGSET.
10482 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
10483 (do_sigwait): Don't use CHECK_SIGSET.
10484 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
10485 use CHECK_SIGSET.
10486 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
10487 include <bp-checks.h>.
10488 (sigpending): Don't use CHECK_SIGSET.
10489 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
10490 include <bp-checks.h>.
10491 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10492 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
10493 <bp-checks.h>.
10494 (sigpending): Don't use CHECK_SIGSET.
10495 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
10496 <bp-checks.h>.
10497 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10498
2e8a5c8c
JM
10499 [BZ #13550]
10500 * sysdeps/generic/bp-semctl.h: Remove file.
10501 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
10502 <bp-checks.h> and <bp-semctl.h>.
10503 (__old_semctl): Don't use CHECK_SEMCTL.
10504 (__new_semctl): Likewise.
10505 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
10506 and <bp-semctl.h>.
10507 (__old_semctl): Don't use CHECK_SEMCTL.
10508 (__new_semctl): Likewise.
10509 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
10510 <bp-checks.h> and <bp-semctl.h>.
10511 (__old_semctl): Don't use CHECK_SEMCTL.
10512 (__new_semctl): Likewise.
10513 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
10514 <bp-checks.h> and <bp-semctl.h>.
10515 (semctl): Don't use CHECK_SEMCTL.
10516
c2d54929
JM
10517 [BZ #13550]
10518 * Makerules (elide-bp-thunks): Remove variable.
10519 (elide-routines.oS): Don't use $(elide-bp-thunks).
10520 (elide-routines.os): Likewise.
10521 (elide-routines.o): Likewise.
10522 (elide-routines.op): Likewise.
10523 (elide-routines.og): Likewise.
10524 (objects): Don't use $(bp-thunks).
10525 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
10526 include.
10527 (common-generated): Do not add s-proto-bp.d.
10528 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
10529 (int): Likewise.
10530 (typ): Likewise.
10531 Do not generate makefile rules for bounded-pointer thunks.
10532 * sysdeps/generic/bp-thunks.h: Remove file.
10533 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
10534 * sysdeps/unix/s-proto-bp.S: Likewise.
10535
8cf28c5e
JM
10536 [BZ #15062]
10537 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
10538 parts of result separately when argument is not close to line from
10539 -i to i and one part of argument is small.
10540 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10541 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10542 * math/libm-test.inc (cacos_test): Add more tests.
10543 (casin_test): Likewise.
10544 (casinh_test): Likewise.
10545 * sysdeps/i386/fpu/libm-test-ulps: Update.
10546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10547
c4e33b8d
DM
105482013-01-31 David S. Miller <davem@davemloft.net>
10549
10550 * po/de.po: Update from translation team.
10551
3b60b421
MK
105522013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
10553
10554 * time/tzfile.c: Include stdint.h for SIZE_MAX.
10555
bb931195
TS
105562013-01-25 Thomas Schwinge <thomas@codesourcery.com>
10557
b5a5da23
TS
10558 * configure.in (_AC_PROG_CC_C89): New definition.
10559 * configure: Regenerate.
10560
bb931195
TS
10561 * configure.in (AC_PROG_CPP): New definition.
10562 * configure: Regenerate.
10563
8c53a12c
JM
105642013-01-23 Joseph Myers <joseph@codesourcery.com>
10565
10566 * debug/tst-backtrace.h: New file.
10567 * debug/tst-backtrace2.c: Include tst-backtrace.h.
10568 (ret): Remove variable.
10569 (x): Likewise.
10570 (FAIL): Remove macro.
10571 (NO_INLINE): Likewise.
10572 (fn1): Use match function instead of strstr.
10573 * debug/tst-backtrace3.c: Include tst-backtrace.h.
10574 (ret): Remove variable.
10575 (x): Likewise.
10576 (FAIL): Remove macro.
10577 (NO_INLINE): Likewise.
10578 (fn): Use match function instead of strstr.
10579 * debug/tst-backtrace4.c: Include tst-backtrace.h.
10580 (ret): Remove variable.
10581 (x): Likewise.
10582 (FAIL): Remove macro.
10583 (NO_INLINE): Likewise.
10584 (handle_signal): Use match function instead of strstr.
10585 * debug/tst-backtrace5.c: Include tst-backtrace.h.
10586 (ret): Remove variable.
10587 (x): Likewise.
10588 (FAIL): Remove macro.
10589 (NO_INLINE): Likewise.
10590 (handle_signal): Use match function instead of strstr.
10591
4858fa2a
RM
105922013-01-23 Roland McGrath <roland@hack.frob.com>
10593
10594 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
10595
bae8e7f5
DM
105962013-01-23 David S. Miller <davem@davemloft.net>
10597
10598 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
10599 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
10600 argument of CAS if possible.
10601 * sysdeps/sparc/sparc64/bits/atomic.h
10602 (__arch_compare_and_exchange_val_32_acq): Likewise.
10603 (__arch_compare_and_exchange_val_64_acq): Likewise.
10604
9cbbc4ae
PT
106052013-01-23 Pino Toscano <toscano.pino@tiscali.it>
10606
10607 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
10608 * sysdeps/posix/ulimit.c: ... this.
92a601b8 10609 Include <limits.h>.
67b3f58c 10610 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 10611
5655a0b5
AC
106122013-01-23 Adam Conrad <adconrad@0c3.net>
10613
10614 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
10615 (LDFLAGS-tst-array5): Likewise.
10616
052aff95
JM
106172013-01-23 Joseph Myers <joseph@codesourcery.com>
10618
10619 [BZ #15036]
10620 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
10621 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
10622 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
10623 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
10624
7c1e01aa
DM
106252013-01-21 David S. Miller <davem@davemloft.net>
10626
10627 * sysdeps/sparc/backtrace.c: New file.
10628 * sysdeps/sparc/sparc32/backtrace.h: New file.
10629 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
10630 * sysdeps/sparc/sparc64/backtrace.h: New file.
10631 * sysdeps/sparc/sparc64/backtrace.c: Delete.
10632 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
10633 -funwind-tables.
10634
ab087e0a
AS
106352013-01-21 Andreas Schwab <schwab@suse.de>
10636
10637 [BZ #15020]
10638 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
10639 closed its stdout.
10640
ed689c2f
AS
106412013-01-20 Andreas Schwab <schwab@linux-m68k.org>
10642
10643 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
10644 "mpa2.h".
10645 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10646
31d470ac
JM
106472013-01-18 Joseph Myers <joseph@codesourcery.com>
10648 Mark Mitchell <mark@codesourcery.com>
10649 Tom de Vries <tom@codesourcery.com>
10650 Paul Pluzhnikov <ppluzhnikov@google.com>
10651
10652 * debug/tst-backtrace2.c: New file.
10653 * debug/tst-backtrace3.c: Likewise.
10654 * debug/tst-backtrace4.c: Likewise.
10655 * debug/tst-backtrace5.c: Likewise.
10656 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
10657 (CFLAGS-tst-backtrace3.c): Likewise.
10658 (CFLAGS-tst-backtrace4.c): Likewise.
10659 (CFLAGS-tst-backtrace5.c): Likewise.
10660 (LDFLAGS-tst-backtrace2): Likewise.
10661 (LDFLAGS-tst-backtrace3): Likewise.
10662 (LDFLAGS-tst-backtrace4): Likewise.
10663 (LDFLAGS-tst-backtrace5): Likewise.
10664 (tests): Add new tests tst-backtrace2, tst-backtrace3,
10665 tst-backtrace4 and tst-backtrace5.
10666
90567f30 106672013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
10668 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10669
10670 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
10671 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
10672 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
10673 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
10674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10675 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
10676 "+r" and remove output regs list as redundant. Add explicit inline
10677 asm to specify register of return val to work around compiler codegen
10678 bug. Remove (int) cast on return value. Add return type parameter to
10679 use in macro so that this macro does not truncate return value for
10680 64-bit values.
10681 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
10682 pass to INTERNAL_VSYSCALL_NCS.
10683 (INLINE_VSYSCALL): Add 'long int' as return type to
10684 INTERNAL_VSYSCALL_NCS macro invocation.
10685 (INTERNAL_VSYSCALL): Add 'long int' as return type to
10686 INTERNAL_VSYSCALL_NCS macro invocation.
10687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10688
d3b9ea61
SP
106892013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10690
0b57daeb
SP
10691 [BZ #14496]
10692 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
10693 Fix application of SIMD FP exception mask.
10694
caa99d06
SP
10695 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
10696 mp_no from a power of two.
10697 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
10698 __mpexp_twomm1. Use __pow_mp.
10699
d3b9ea61
SP
10700 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
10701 multiplication.
10702
1dbaee3c
DM
107032013-01-17 David S. Miller <davem@davemloft.net>
10704
10705 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10706
728d7b43
JM
107072013-01-17 Joseph Myers <joseph@codesourcery.com>
10708
10709 [BZ #15023]
10710 * include/complex.h: Condition contents on [!_COMPLEX_H].
10711 (__kernel_casinhf): New prototype.
10712 (__kernel_casinh): Likewise.
10713 (__kernel_casinhl): Likewise.
10714 * math/Makefile (libm_calls): Add k_casinh.
10715 * math/k_casinh.c: New file.
10716 * math/k_casinhf.c: Likewise.
10717 * math/k_casinhl.c: Likewise.
10718 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
10719 finite nonzero arguments.
10720 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
10721 finite nonzero arguments.
10722 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
10723 finite nonzero arguments.
10724 * math/s_casinh.c: Do not include <float.h>.
10725 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
10726 * math/s_casinhf.c: Do not include <float.h>.
10727 (__casinhf): Move code for finite nonzero arguments to
10728 k_casinhf.c.
10729 * math/s_casinhl.c: Do not include <float.h>.
10730 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
10731 redefine.
10732 (__casinhl): Move code for finite nonzero arguments to
10733 k_casinhl.c.
10734 * math/libm-test.inc (cacos_test): Add more tests.
10735 * sysdeps/i386/fpu/libm-test-ulps: Update.
10736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10737
2a26ef3a
PT
107382013-01-17 Pino Toscano <toscano.pino@tiscali.it>
10739
10740 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
10741 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
10742 [!HAVE_MREMAP]: Remove [defined linux] case.
10743 * malloc/arena.c: Do not include <malloc-sysdep.h>.
10744
a897655d
SP
107452013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10746
10747 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
10748
881ebe89 107492013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
10750
10751 * elf/elf.h (R_386_SIZE32): New relocation.
10752 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
10753 R_386_SIZE32.
10754 (elf_machine_rela): Likewise.
10755 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10756 R_X86_64_SIZE64 and R_X86_64_SIZE32.
10757
59981e9b
JM
107582013-01-17 Joseph Myers <joseph@codesourcery.com>
10759
10760 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
10761 (FP_FAST_FMA): Do not define.
10762 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
10763 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
10764 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
10765 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
10766 !_SOFT_FLOAT]: Likewise.
10767 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
10768 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
10769 value.
10770 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
10771 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
10772 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
10773 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
10774 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
10775 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
10776 file.
10777
cfa8054f
AS
107782013-01-16 Andreas Schwab <schwab@suse.de>
10779
10780 [BZ #14327]
10781 * include/stdlib.h (__mktemp): Add declaration.
10782 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
10783 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
10784
dd930cc5
SP
107852013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10786
881ebe89
SP
10787 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
10788 definitions.
10789 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10790 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
10791 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
10792 definitions here.
10793 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
10794 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
10795 definitions.
10796 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
10797 and ONE.
10798 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
10799 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
10800 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
10801 definitions.
10802 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
10803 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
10804 definitions.
10805 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 10806
dd930cc5
SP
10807 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
10808
c19a9f89
DM
108092013-01-15 David S. Miller <davem@davemloft.net>
10810
1aa61767
DM
10811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10812 trunc{,f} to libm-sysdep_routes.
10813 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
10815 file.
10816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
10817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
10818 file.
10819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
10820 file.
10821 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
10822 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
10823 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
10824 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
10825 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
10826 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
10827 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
10828 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
10829
c42d5e98
DM
10830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10831 nearbyint{,f} to libm-sysdep_routes.
10832 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
10834 New file.
10835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
10836 file.
10837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
10838 New file.
10839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
10840 file.
10841 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
10842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
10843 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
10844 file.
10845 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
10846 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
10847 file.
10848 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
10849 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
10850 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
10851
c19a9f89
DM
10852 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10853 libc_feholdexcept and libc_fesetenv.
10854
357679d2
MF
108552013-01-15 Mike Frysinger <vapier@gentoo.org>
10856
10857 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
10858
65a82e3d
DM
108592013-01-14 David S. Miller <davem@davemloft.net>
10860
8b954ab9
DM
10861 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
10862 (SPARC_ASM_VIS2_IFUNC): Likewise.
10863 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
10864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
10865 use of 'siam' instruction.
10866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
10867 Likewise.
10868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
10869 Likewise.
10870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
10871 Likewise.
10872 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
10873 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
10874 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
10875 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
10876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
10877 file.
10878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
10879 file.
10880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
10881 file.
10882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
10883 file.
10884 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
10885 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
10886 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
10887 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
10888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
10889 new VIS2 routines.
10890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10893 Likewise.
10894 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10895 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10896 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10897 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
10899 routines to libm-sysdep_routines.
10900 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10901
65a82e3d
DM
10902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10903 fdim/fdimf to libm-sysdep_routines.
10904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
10905 file.
10906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
10907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
10908 file.
10909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
10910 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
10911 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
10912 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
10913 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
10914 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
10915 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
10916
e34ab705
SP
109172013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10918
2a91b573
SP
10919 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
10920 to optimize copies.
10921
1066a534
SP
10922 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
10923 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10924 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10925
e34ab705
SP
10926 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
10927 local variable MPTWO.
10928 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10929 Likewise.
10930
aba5e596
MF
109312013-01-13 Mike Frysinger <vapier@gentoo.org>
10932
10933 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
10934 GLOB_NOESCAPE.
10935
e557e9e5
MF
109362013-01-13 Mike Frysinger <vapier@gentoo.org>
10937
10938 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
10939
0428cec9
MF
109402013-01-13 Mike Frysinger <vapier@gentoo.org>
10941
10942 * manual/pattern.texi (glob_t): Document gl_flags.
10943 (glob64_t): Likewise.
10944
8794a964
DM
109452013-01-11 David S. Miller <davem@davemloft.net>
10946
66438c3f
RM
10947 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
10948 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
10949 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
10950 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
10951 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
10952 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
10953 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
10954 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
10955 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
10956 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
10957 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
10958 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
10959 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
10960
4ae4244d
DM
10961 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10962 sparc V9 rather than using V8 code.
10963 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10964 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10965
8794a964
DM
10966 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10967 Move to...
10968 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
10969 Here.
10970
6270516e
RM
109712013-01-11 Roland McGrath <roland@hack.frob.com>
10972
10973 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
10974 not in the main loop.
10975 * configure: Regenerated.
10976
6a57d931
JM
109772013-01-11 Joseph Myers <joseph@codesourcery.com>
10978
10979 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
10980 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
10981 to just #else.
10982 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
10983 [!__GLIBC_HAVE_LONG_LONG] case.
10984 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
10985 condition to just #else.
10986 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
10987 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
10988 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
10989 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
10990 unconditional.
10991 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
10992 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10993 #elif condition to just #else.
10994 * sysdeps/unix/sysv/linux/sys/sysmacros.h
10995 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
10996 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10997 #elif condition to just #else.
10998
0e8529e9
SE
109992013-01-11 Steve Ellcey <sellcey@mips.com>
11000
11001 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
11002 (EF_MIPS_ARCH_64): Fix value.
11003 (EF_MIPS_ARCH_32R2): New.
11004 (EF_MIPS_ARCH_64R2): New.
11005
740b3dbe
L
110062013-01-11 H.J. Lu <hongjiu.lu@intel.com>
11007
11008 * Makeconfig (+link-pie-before-libc): New.
11009 (+link-pie-after-libc): Likewise.
11010 (+link-pie-tests): Likewise.
11011 (+link-pie): Rewritten.
11012 (link-before-libc): Remove $(config-LDFLAGS).
11013 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
11014 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
11015 (config-LDFLAGS): Renamed to ...
11016 (rtld-LDFLAGS): This.
11017 (rtld-tests-LDFLAGS): New macro.
11018 (link-libc-rpath-link): Likewise.
11019 (link-libc-tests-rpath-link): Likewise.
11020 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
11021 (link-libc): Prepand $(link-libc-rpath-link).
11022 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
11023 (test-program-prefix): New macro.
11024 (test-via-rtld-prefix): Likewise.
11025 (test-program-cmd): Likewise.
11026 (host-test-program-cmd): Likewise.
11027 * Makefile ($(common-objpfx)testrun.sh): Replace
11028 $(run-program-prefix) with $(test-program-prefix).
11029 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
11030 $(rtld-LDFLAGS).
11031 ($(common-objpfx)shlib.lds): Likewise.
11032 (build-module-helper): Likewise.
11033 ($(common-objpfx)format.lds): Likewise.
11034 * Rules (binaries-pie-tests): New.
11035 (binaries-pie-notests): Likewise.
11036 (binaries-pie): Rewritten.
11037 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
11038 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
11039 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
11040 (make-test-out): Replace $(host-built-program-cmd) with
11041 $(host-test-program-cmd).
11042 * config.make.in (build-hardcoded-path-in-tests): New variable.
11043 * configure.in (--enable-hardcoded-path-in-tests): New configure
11044 option.
11045 (hardcoded_path_in_tests): New AC_SUBST.
11046 * configure: Regenerated.
11047 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
11048 $(built-program-cmd) with $(test-program-cmd).
11049 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
11050 (test_program_cmd): This.
11051 * elf/Makefile ($(objpfx)order.out): Run test with
11052 $(test-program-prefix).
11053 ($(objpfx)order2.out): Likewise.
11054 ($(objpfx)tst-initorder.out): Likewise.
11055 ($(objpfx)tst-initorder2.out): Likewise.
11056 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
11057 $(test-program-cmd).
11058 ($(objpfx)tst-array1-static.out): Likewise.
11059 ($(objpfx)tst-array2.out): Likewise.
11060 ($(objpfx)tst-array3.out): Likewise.
11061 ($(objpfx)tst-array4.out): Likewise.
11062 ($(objpfx)tst-array5.out): Likewise.
11063 ($(objpfx)tst-array5-static.out): Likewise.
11064 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
11065 $(test-program-cmd).
11066 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
11067 $(run-program-prefix) with $(test-program-prefix).
11068 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
11069 (test_program_prefix): This.
11070 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
11071 $(run-program-prefix) with $(test-program-prefix).
11072 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
11073 (test_program_prefix): This.
11074 * iconvdata/tst-tables.sh: Likewise.
11075 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
11076 $(run-program-prefix) with $(test-program-prefix).
11077 ($(objpfx)tst-translit.out): Likewise.
11078 ($(objpfx)tst-gettext2.out): Likewise.
11079 ($(objpfx)tst-gettext4.out): Likewise.
11080 ($(objpfx)tst-gettext6.out): Likewise.
11081 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
11082 (test_program_prefix): This.
11083 * intl/tst-gettext2.sh: Likewise.
11084 * intl/tst-gettext4.sh Likewise.
11085 * intl/tst-gettext6.sh: Likewise.
11086 * intl/tst-translit.sh: Likewise.
11087 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
11088 with $(test-program-cmd).
11089 * libio/Makefile ($(objpfx)test-freopen.out): Replace
11090 $(run-program-prefix) with $(test-program-prefix).
11091 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
11092 (test_program_prefix): This.
11093 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
11094 $(run-program-prefix) with $(test-program-prefix).
11095 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
11096 (test_program_prefix): This.
11097 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
11098 * posix/Makefile ($(objpfx)globtest.out): Replace
11099 $(run-via-rtld-prefix) and $(test-wrapper) with
11100 $(test-program-prefix) and $(test-via-rtld-prefix).
11101 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
11102 $(test-program-prefix).
11103 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
11104 $(host-test-program-cmd).
11105 (tst-spawn-ARGS): Likewise.
11106 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
11107 $(test-program-prefix).
11108 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
11109 (test_via_rtld_prefix): This.
11110 (test_wrapper): Renamed to ...
11111 (test_program_prefix): This.
11112 (run_program_prefix): Replaced by test_program_prefix.
11113 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
11114 (test_program_prefix): This.
11115 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
11116 with $(host-test-program-cmd).
11117 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
11118 $(run-program-prefix) with $(test-program-prefix).
11119 ($(objpfx)tst-printf.out): Likewise.
11120 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
11121 $(test-program-cmd).
11122 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
11123 (test_program_prefix): This.
11124 * stdio-common/tst-unbputc.sh: Likewise.
11125 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
11126 $(run-program-prefix) with $(test-program-prefix).
11127 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
11128 (test_program_prefix): This.
11129 * string/Makefile ($(objpfx)tst-svc.out): Replace
11130 $(built-program-cmd) with $(test-program-cmd).
11131
c6fe55cf
AJ
111322013-01-11 Andreas Jaeger <aj@suse.de>
11133
11134 [BZ #15003]
11135 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
11136 value. Sync with Linux 3.7.
11137
9e6919c8
DM
111382013-01-10 David S. Miller <davem@davemloft.net>
11139
11140 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
11141 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11142 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11143
1c9f1a02
RM
111442013-01-10 Roland McGrath <roland@hack.frob.com>
11145
11146 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
11147 never set.
11148 * configure: Regenerated.
11149
b9de2dde
DM
111502013-01-10 David S. Miller <davem@davemloft.net>
11151
11152 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11153 sparc V9 rather than using V8 code.
11154 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11155 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11156
e7f68ef4
RM
111572013-01-10 Roland McGrath <roland@hack.frob.com>
11158
11159 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
11160 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
11161 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
11162 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
11163 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
11164 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
11165 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
11166 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
11167 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
11168 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
11169 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
11170 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
11171 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
11172 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
11173 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
11174 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
11175 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
11176 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
11177 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
11178 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
11179 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
11180 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
11181 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
11182 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
11183 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
11184 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
11185 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
11186
5a47cc9c
DM
111872013-01-10 David S. Miller <davem@davemloft.net>
11188
11189 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11190
4cf8f209
L
111912013-01-10 H.J. Lu <hongjiu.lu@intel.com>
11192
11193 * posix/Makefile (tests-static): New variable.
11194 (tests): Add $(tests-static).
11195 (tst-exec-static-ARGS): New variable.
11196 (tst-spawn-static-ARGS): Likewise.
11197 * posix/tst-exec-static.c: New file.
11198 * posix/tst-spawn-static.c: Likewise.
11199 * posix/tst-exec.c: Support run directly.
11200 * posix/tst-spawn.c: Likewise.
11201
fed0faa1
JM
112022013-01-10 Joseph Myers <joseph@codesourcery.com>
11203
828beb13
JM
11204 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
11205 long.
11206 * math/bits/mathcalls.h (llrint): Likewise.
11207 (llround): Likewise.
11208 * stdlib/stdlib.h (struct drand48_data): Likewise.
11209 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
11210 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
11211 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
11212 Likewise.
11213 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
11214 Likewise.
11215 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
11216 (elf_greg_t): Likewise.
11217 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
11218 (__jmp_buf): Likewise.
11219 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
11220 definitions.
11221 (llrint): Likewise, for all definitions.
11222 (llrintl): Likewise.
11223
fed0faa1
JM
11224 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
11225 Remove [__GNUC__] condition.
11226 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
11227 condition to just [__USE_ISOC99].
11228 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
11229
1a20cb20
L
112302013-01-10 H.J. Lu <hongjiu.lu@intel.com>
11231
11232 [BZ #14200]
11233 * sysdeps/unix/sysv/linux/x86/bits/environments.h
11234 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
11235 defined.
11236 (_POSIX_V6_ILP32_OFF32): Likewise.
11237 (_XBS5_ILP32_OFF32): Likewise.
11238 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
11239 (__ILP32_OFFBIG_LDFLAGS): Likewise.
11240
751b85f7
SP
112412013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11242
7490eb81
SP
11243 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
11244
751b85f7
SP
11245 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
11246 doubles __mpexp_twomm1. Adjust usage.
11247 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
11248 Remove.
11249
988197f0
AS
112502013-01-10 Andreas Schwab <schwab@suse.de>
11251
11252 [BZ #14964]
11253 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
11254 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
11255
e83d7298
DM
112562013-01-09 David S. Miller <davem@davemloft.net>
11257
034ed64b 11258 [BZ #15003]
e83d7298
DM
11259 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
11260 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
11261 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
11262 TCP_FASTOPEN): Define.
11263 (tcp_repair_opt): New structure.
11264 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
11265 enum values.
11266 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
11267 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
11268 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
11269 (tcp_cookie_transactions): New structure.
11270
d5e0b9bd
AB
112712013-01-09 Anton Blanchard <anton@samba.org>
11272
11273 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
11274 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
11275 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
11276 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
11277
0c07e3ea
JM
112782013-01-09 Joseph Myers <joseph@codesourcery.com>
11279
11280 * include/features.h (__USE_ANSI): Remove.
11281
232f7002
RM
112822013-01-09 Roland McGrath <roland@hack.frob.com>
11283
ad98e30c
RM
11284 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
11285
232f7002
RM
11286 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
11287
950c99ca
SP
112882013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
11289
b5792741
SP
11290 * sysdeps/s390/fpu/libm-test-ulps: Update.
11291
47cf2278
SP
11292 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11293
950c99ca
SP
11294 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
11295 (__acr): Likewise.
11296 (__cpy): Likewise.
11297 (norm): Likewise.
11298 (denorm): Likewise.
11299 (__mp_dbl): Likewise.
11300 (__dbl_mp): Likewise.
11301 (add_magnitudes): Likewise.
11302 (sub_magnitudes): Likewise.
11303 (__add): Likewise.
11304 (__sub): Likewise.
11305 (__mul): Likewise.
11306 (__inv): Likewise.
11307 (__dvd): Likewise.
11308 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
11309 (__acr): Likewise.
11310 (__cpy): Likewise.
11311 (norm): Likewise.
11312 (denorm): Likewise.
11313 (__mp_dbl): Likewise.
11314 (__dbl_mp): Likewise.
11315 (add_magnitudes): Likewise.
11316 (sub_magnitudes): Likewise.
11317 (__add): Likewise.
11318 (__sub): Likewise.
11319 (__mul): Likewise.
11320 (__inv): Likewise.
11321 (__dvd): Likewise.
11322 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
11323 (__acr): Likewise.
11324 (__cpy): Likewise.
11325 (norm): Likewise.
11326 (denorm): Likewise.
11327 (__mp_dbl): Likewise.
11328 (__dbl_mp): Likewise.
11329 (add_magnitudes): Likewise.
11330 (sub_magnitudes): Likewise.
11331 (__add): Likewise.
11332 (__sub): Likewise.
11333 (__mul): Likewise.
11334 (__inv): Likewise.
11335 (__dvd): Likewise.
11336
eede9df9
JM
113372013-01-08 Joseph Myers <joseph@codesourcery.com>
11338
11339 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
11340 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
11341 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
11342 2 && __USE_EXTERN_INLINES]: Likewise.
11343
c40ea3d9
AJ
113442013-01-08 Andreas Jaeger <aj@suse.de>
11345
11346 [BZ# 14985]
11347 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
11348 Remove.
11349 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11350 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11351
2ccdea26
AB
113522013-01-07 Anton Blanchard <anton@samba.org>
11353
11354 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
11355 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11356 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
11357 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11358 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11359 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11360 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
11361 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11362 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11363 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11364 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11365 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11366 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11367 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11368 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11369 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11370 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11371 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11372 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11373 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11374 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11375 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
11376 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11377 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11378 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
11379 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11380 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11381 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11382 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
11383 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11384 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11385 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11386 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11387 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11388 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11389 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11390 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11391 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
11392 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
11393 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11394 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
11395 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11396 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11397
a9708fed
JM
113982013-01-07 Joseph Myers <joseph@codesourcery.com>
11399
375607b9
JM
11400 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
11401 (__MALLOC_PMT): Likewise.
11402 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
11403 [__GNUC__], only on [_LIBC].
11404 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11405 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
11406 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11407 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
11408 forward declaration.
11409 (realloc_hook_ini): Likewise.
11410 (memalign_hook_ini): Likewise.
11411 (__libc_memalign): Do not use __MALLOC_PMT in variable
11412 declaration.
11413 (__libc_valloc): Likewise.
11414 (__libc_pvalloc): Likewise.
11415 (__libc_calloc): Likewise.
11416 (__posix_memalign): Likewise.
11417
a9708fed
JM
11418 [BZ #14996]
11419 * math/s_casinh.c: Include <float.h>.
11420 (__casinh): Do not do computation with squaring and square root
11421 for large arguments.
11422 * math/s_casinhf.c: Include <float.h>.
11423 (__casinhf): Do not do computation with squaring and square root
11424 for large arguments.
11425 * math/s_casinhl.c: Include <float.h>.
11426 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
11427 (__casinhl): Do not do computation with squaring and square root
11428 for large arguments.
11429 * math/libm-test.inc (casin_test): Add more tests.
11430 (casinh_test): Likewise.
11431 * sysdeps/i386/fpu/libm-test-ulps: Update.
11432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11433
afec409a
L
114342013-01-04 H.J. Lu <hongjiu.lu@intel.com>
11435
11436 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
11437 (__x86_64_raw_data_cache_size): Likewise.
11438 (__x86_64_data_cache_size_half): Likewise.
11439 (__x86_64_raw_data_cache_size_half): Likewise.
11440 (__x86_64_shared_cache_size): Likewise.
11441 (__x86_64_raw_shared_cache_size): Likewise.
11442 (__x86_64_shared_cache_size_half): Likewise.
11443 (__x86_64_raw_shared_cache_size_half): Likewise.
11444 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
11445 to ...
11446 (__x86_data_cache_size): This.
11447 (__x86_64_raw_data_cache_size): Renamed to ...
11448 (__x86_raw_data_cache_size): This.
11449 (__x86_64_data_cache_size_half): Renamed to ...
11450 (__x86_data_cache_size_half): This.
11451 (__x86_64_raw_data_cache_size_half): Renamed to ...
11452 (__x86_raw_data_cache_size_half): This.
11453 (__x86_64_shared_cache_size): Renamed to ...
11454 (__x86_shared_cache_size): This.
11455 (__x86_64_raw_shared_cache_size): Renamed to ...
11456 (__x86_raw_shared_cache_size): This.
11457 (__x86_64_shared_cache_size_half): Renamed to ...
11458 (__x86_shared_cache_size_half): This.
11459 (__x86_64_raw_shared_cache_size_half): Renamed to ...
11460 (__x86_raw_shared_cache_size_half): This.
11461 * sysdeps/x86_64/memcpy.S: Updated.
11462 * sysdeps/x86_64/memset.S: Likewise.
11463 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11464 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11465 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11466
0b3986d0
DM
114672013-01-04 David S. Miller <davem@davemloft.net>
11468
11469 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11470
e47686e9
AS
114712013-01-04 Andreas Schwab <schwab@linux-m68k.org>
11472
d643bac1
AS
11473 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
11474 1 to avoid redefinition warning.
11475 (__USE_GNU): Don't define.
11476 (init_signaling_nan): Protoize.
11477
e47686e9
AS
11478 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11479
b18decba
SP
114802013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11481
fffb407f
SP
11482 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
11483 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
11484 (__cpymn): Likewise.
11485 (norm): Remove commented code.
11486 (denorm): Likewise.
11487 (__mp_dbl): Likewise.
11488 (__inv): Likewise.
11489 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
11490 (__cpymn): Likewise.
11491 (norm): Remove commented code.
11492 (denorm): Likewise.
11493 (__mp_dbl): Likewise.
11494 (__inv): Likewise.
11495
b18decba
SP
11496 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
11497 mp_no value for 1.0 and 2.0.
11498 (norm): Use RADIXI instead of radixi.d.
11499 (denorm): Likewise.
11500 (__mul): Use 0.0 instead of zero.d.
11501 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
11502 mp_no value for 1.0 and 2.0.
11503 (norm): Use RADIXI instead of radixi.d.
11504 (denorm): Likewise.
11505 (__mul): Use 0.0 instead of zero.d.
11506
cdc1c96f
JM
115072013-01-04 Joseph Myers <joseph@codesourcery.com>
11508
11509 [BZ #14994]
11510 * math/s_casinh.c (__casinh): Reduce finite argument to first
11511 quadrant then set signs of results at the end.
11512 * math/s_casinhf.c (__casinhf): Likewise.
11513 * math/s_casinhl.c (__casinhl): Likewise.
11514 * math/libm-test.inc (casin_test): Add more tests.
11515 (casinh_test): Likewise.
11516 * sysdeps/i386/fpu/libm-test-ulps: Update.
11517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11518
302913e1
SP
115192013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11520
6420d207
SP
11521 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
11522
a9e48ab4
SP
11523 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
11524
b7837264
SP
11525 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
11526 declarations.
11527 (denorm): Likewise.
11528 (__mp_dbl): Likewise.
11529 (__inv): Likewise.
11530
f8af25d2
SP
11531 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
11532 and adjust the header comment.
11533
302913e1
SP
11534 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
11535 variable name from declaration.
11536
5d7dd1ca
L
115372013-01-03 H.J. Lu <hongjiu.lu@intel.com>
11538
11539 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11540 Initialize COMMON_CPUID_INDEX_7 element.
11541 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
11542 (CPUID_RTM): Likewise.
11543 (HAS_RTM): Likewise.
11544 (COMMON_CPUID_INDEX_7): New enum.
11545
2f5f40f4
AS
115462013-01-03 Andreas Schwab <schwab@linux-m68k.org>
11547
11548 [BZ #14981]
11549 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
11550 size is zero, record memory as freed.
11551
4056f4a0
AJ
115522013-01-03 Andreas Jaeger <aj@suse.de>
11553
11554 * po/ia.po: Add new Interlingua translation.
11555
ab15736f 115562012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
11557
11558 * locale/programs/localedef.c: Fix description of '--posix' flag.
11559
568035b7
JM
115602013-01-02 Joseph Myers <joseph@codesourcery.com>
11561
e6898b8d
JM
11562 * NEWS: Update dates in second copyright notice.
11563 * README: Update copyright dates in example.
11564 * manual/libc.texinfo: Update copyright dates.
11565 * scripts/test-installation.pl: Update copyright date in --version
11566 output.
11567
0e2f9562
JM
11568 * hurd/ctty-input.c: Fix copyright notice formatting.
11569 * hurd/ctty-output.c: Likewise.
11570 * hurd/dtable.c: Likewise.
11571 * hurd/hurd-raise.c: Likewise.
11572 * hurd/hurdprio.c: Likewise.
11573 * hurd/msgportdemux.c: Likewise.
11574 * misc/sys/file.h: Likewise.
11575 * misc/sys/ioctl.h: Likewise.
11576 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11577 * sysdeps/mach/hurd/chdir.c: Likewise.
11578 * sysdeps/mach/hurd/fchdir.c: Likewise.
11579 * sysdeps/mach/hurd/rename.c: Likewise.
11580 * sysdeps/mach/hurd/rmdir.c: Likewise.
11581 * sysdeps/mach/hurd/seekdir.c: Likewise.
11582 * sysdeps/mach/hurd/setsid.c: Likewise.
11583 * sysdeps/posix/wait3.c: Likewise.
11584
568035b7
JM
11585 * All files with FSF copyright notices: Update copyright dates
11586 using scripts/update-copyrights.
11587 * intl/plural.c: Regenerated.
11588 * locale/programs/charmap-kw.h: Likewise.
11589 * locale/programs/locfile-kw.h: Likewise.
11590
da08f647
SP
115912013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11592
0f5477af
SP
11593 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
11594 four values.
11595
44e0d4c2
SP
11596 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
11597 calculation loop and add branch prediction.
11598
4d55b4e5
SP
11599 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
11600 check access beyond bounds of m1np.
11601
da08f647
SP
11602 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11603 MPTWO.
11604 (__inv): Remove local variable MPTWO to use the global
11605 constant.
11606 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
11607 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11608 variable MPTWO.
11609 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
11610 MP3HALFS static const.
11611
8e051029
DM
116122013-01-01 David S. Miller <davem@davemloft.net>
11613
11614 * po/ca.po: Update from translation team.
11615
f4cf5f2d
JM
116162013-01-01 Joseph Myers <joseph@codesourcery.com>
11617
11618 * scripts/update-copyrights: New file.
11619 * Makeconfig: Reformat copyright notice.
11620 * ctype/ctype.h: Likewise.
11621 * debug/swprintf_chk.c: Likewise.
11622 * elf/dl-cache.c: Likewise.
11623 * elf/dl-debug.c: Likewise.
11624 * elf/dl-object.c: Likewise.
11625 * grp/initgroups.c: Likewise.
11626 * hurd/Makefile: Likewise.
11627 * hurd/hurd/signal.h: Likewise.
11628 * hurd/hurdfault.c: Likewise.
11629 * hurd/hurdioctl.c: Likewise.
11630 * hurd/hurdlookup.c: Likewise.
11631 * hurd/intr-msg.c: Likewise.
11632 * iconv/gconv_open.c: Likewise.
11633 * libio/swprintf.c: Likewise.
11634 * locale/lc-ctype.c: Likewise.
11635 * locale/nl_langinfo.c: Likewise.
11636 * mach/Machrules: Likewise.
11637 * mach/Makefile: Likewise.
11638 * malloc/obstack.h: Likewise.
11639 * manual/Makefile: Likewise.
11640 * manual/tsort.awk: Likewise.
11641 * misc/bits/stab.def: Likewise.
11642 * nis/nis_print_group_entry.c: Likewise.
11643 * nis/nis_table.c: Likewise.
11644 * nis/nss_compat/compat-pwd.c: Likewise.
11645 * nis/nss_compat/compat-spwd.c: Likewise.
11646 * po/Makefile: Likewise.
11647 * posix/fnmatch.c: Likewise.
11648 * posix/regex.h: Likewise.
11649 * resolv/Makefile: Likewise.
11650 * resolv/nss_dns/dns-network.c: Likewise.
11651 * resolv/res_hconf.c: Likewise.
11652 * scripts/gen-sorted.awk: Likewise.
11653 * soft-fp/soft-fp.h: Likewise.
11654 * stdio-common/printf.h: Likewise.
11655 * stdlib/monetary.h: Likewise.
11656 * stdlib/random.c: Likewise.
11657 * stdlib/random_r.c: Likewise.
11658 * sysdeps/generic/Makefile: Likewise.
11659 * sysdeps/gnu/Makefile: Likewise.
11660 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11661 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11662 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11663 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11664 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11665 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11666 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11667 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11668 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11669 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11670 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11671 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11672 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11673 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11674 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
11675 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11676 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11677 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11678 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11679 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11680 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11681 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11682 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11683 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11684 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
11685 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11686 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11687 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
11688 * sysdeps/mach/hurd/errnos.awk: Likewise.
11689 * sysdeps/mach/hurd/fork.c: Likewise.
11690 * sysdeps/mach/hurd/getcwd.c: Likewise.
11691 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
11692 * sysdeps/mach/hurd/mmap.c: Likewise.
11693 * sysdeps/mach/hurd/utimes.c: Likewise.
11694 * sysdeps/mach/hurd/xmknod.c: Likewise.
11695 * sysdeps/posix/profil.c: Likewise.
11696 * sysdeps/posix/readdir_r.c: Likewise.
11697 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11698 * sysdeps/powerpc/bits/setjmp.h: Likewise.
11699 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
11700 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11701 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11702 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11703 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11704 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11705 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11706 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11707 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11708 * sysdeps/pthread/lio_listio.c: Likewise.
11709 * sysdeps/sparc/dl-procinfo.h: Likewise.
11710 * sysdeps/unix/i386/sysdep.S: Likewise.
11711 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
11712 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
11713 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
11714 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
11715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11716 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11717 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11718 * sysdeps/unix/sysv/linux/speed.c: Likewise.
11719 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
11720 * sysdeps/wordsize-32/divdi3.c: Likewise.
11721 * time/sys/time.h: Likewise.
11722 * wcsmbs/Makefile: Likewise.
11723
0549fbba
DM
117242013-01-01 David S. Miller <davem@davemloft.net>
11725
a141f1a7
DM
11726 * po/fr.po: Update from translation team.
11727
0549fbba
DM
11728 * catgets/gencat.c: Update copyright year.
11729 * csu/version.c: Likewise.
11730 * debug/catchsegv.sh: Likewise.
11731 * debug/pcprofiledump.c: Likewise.
11732 * debug/xtrace.sh: Likewise.
11733 * elf/ldconfig.c: Likewise.
11734 * elf/ldd.bash.in: Likewise.
11735 * elf/pldd.c: Likewise.
11736 * elf/sotruss.ksh: Likewise.
11737 * elf/sprof.c: Likewise.
11738 * iconv/iconv_prog.c: Likewise.
11739 * iconv/iconvconfig.c: Likewise.
11740 * locale/programs/locale.c: Likewise.
11741 * locale/programs/localedef.c: Likewise.
11742 * login/programs/pt_chown.c: Likewise.
11743 * malloc/memusage.sh: Likewise.
11744 * malloc/memusagestat.c: Likewise.
11745 * malloc/mtrace.pl: Likewise.
11746 * nscd/nscd.c: Likewise.
11747 * nss/getent.c: Likewise.
11748 * nss/makedb.c: Likewise.
11749 * posix/getconf.c: Likewise.
11750
18ea052c
SP
117512012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11752
11753 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
11754 numbers.
11755
9c89fca6
MF
117562012-12-30 Mike Frysinger <vapier@gentoo.org>
11757
11758 * math/bits/mathcalls.h (modf): Use __nonnull.
11759
085ec079
SP
117602012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11761
11762 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
11763 (split): Use macro CN instead of the bare value.
11764 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
11765 could be used.
11766 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
11767 instead of the bare value.
11768 (power1): Likewise.
11769
6d9f97e1
SP
117702012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11771
d63f73be
SP
11772 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
11773 __ATAN_TWOM.
11774 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11775
6d9f97e1
SP
11776 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
11777 their values.
11778 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11779 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11780 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
11781 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
11782
4c4febf5
AJ
117832012-12-28 Andreas Jaeger <aj@suse.de>
11784
af5843ef
AJ
11785 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
11786 values are from Linux 3.7.
11787
4c4febf5
AJ
11788 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
11789 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
11790
99136f82
SP
117912012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11792
2f216c3c 11793 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
11794 TRUE case.
11795
99136f82
SP
11796 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
11797 (norm): Likewise.
11798 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
11799 variables with preprocessor constants.
11800 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11801 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11802 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11803
7fffbdff
BH
118042012-12-27 Bruno Haible <bruno@clisp.org>
11805
11806 [BZ #14317]
11807 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
11808 only if needed.
11809
b76eb5f0
SP
118102012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11811
31a7fe5c
SP
11812 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
11813 and use variable directly.
11814 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
11815
b76eb5f0
SP
11816 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11817 MPONE.
11818 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
11819 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11820 variable MPONE.
11821 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11822 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11823 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
11824 include directive. Remove local variable MPONE.
11825 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
11826 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
11827 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11828
2c8bfe7d
DM
118292012-12-25 David S. Miller <davem@davemloft.net>
11830
11831 * version.h (RELEASE): Set to "development".
11832 (VERSION): Set to "2.17.90".
11833 * NEWS: Add 2.18 section.
11834
147d03b0
DM
118352012-12-21 David S. Miller <davem@davemloft.net>
11836
11837 * po/hr.po: Update from translation team.
11838
a8ebb2b9
AK
118392012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11840
11841 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
11842
95b4f1b6
SE
118432012-12-19 Steve Ellcey <sellcey@mips.com>
11844
b2d94007 11845 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 11846
cedb2a90
MS
118472012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11848
11849 * manual/contrib.texi (Contributors): Spelling correction.
11850
bbf527d6
DM
118512012-12-15 David S. Miller <davem@davemloft.net>
11852
11853 * po/ru.po: Update from translation team.
11854
bc38c906
DM
118552012-12-13 David S. Miller <davem@davemloft.net>
11856
85429b1a
DM
11857 * NEWS: Mention IFUNC testsuite enhancements.
11858
d283e353
DM
11859 * po/pl.po: Update from translation team.
11860 * po/bg.po: Likewise.
11861
bc38c906
DM
11862 * manual/contrib.texi (Contributors): Update entries for Hongjiu
11863 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
11864
a181b0d7
DM
118652012-12-11 David S. Miller <davem@davemloft.net>
11866
4641d57e
DM
11867 * po/sv.po: Update from translation team.
11868
f7bc6495
DM
11869 * po/vi.po: Update from translation team.
11870
6fc9048f
DM
11871 * po/cs.po: Update from translation team.
11872
a181b0d7
DM
11873 * po/de.po: Update from translation team.
11874 * po/eo.po: Likewise.
11875 * po/nl.po: Likewise.
11876
f70bfe80
SP
118772012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11878
3c8b4190
SP
11879 [BZ #14246]
11880 * manual/argp.texi (Argp Helper Functions): Move node to follow
11881 Argp Parsing State.
11882
f70bfe80
SP
11883 [BZ #14872]
11884 * manual/conf.texi (Limits on File System Capacity): Mention if
11885 terminating null is included in the max size.
11886
188f0adf
AJ
118872012-12-10 Andreas Jaeger <aj@suse.de>
11888
11889 * po/cs.po: Update from translation team.
11890
56e7d3ad
SP
118912012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11892
11893 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
11894 void pointer and cast to uintptr_t.
11895 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
11896 path.
11897 * sysdeps/s390/s390-64/memcpy.S: Likewise.
11898 * sysdeps/s390/s390-64/memset.S: Likewise.
11899
76f2d2ea 119002012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
11901
11902 [BZ #14833]
11903 * menual/message.texi (Message Translation): Fix typos.
11904 (Helper programs for gettext): Likewise.
11905
67cbf9a2
AS
119062012-12-07 Andreas Schwab <schwab@linux-m68k.org>
11907
11908 [BZ #14898]
11909 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
11910 Change to -1.
11911
682d0e9a
DM
119122012-12-07 David S. Miller <davem@davemloft.net>
11913
11914 * po/libc.pot: Update.
11915
573cd484
RH
119162012-12-07 Richard Henderson <rth@redhat.com>
11917
7e9da188 11918 [BZ #10114]
573cd484
RH
11919 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
11920 normal/normal case to before the switch.
11921 (_FP_DIV): Likewise.
11922
e933a943
MF
119232012-12-06 Carlos O'Donell <carlos@systemhalted.org>
11924 Mike Frysinger <vapier@gentoo.org>
11925
11926 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
11927 check for __NR_fadvise64_64.
11928
82123268
CM
119292012-12-06 Chris Metcalf <cmetcalf@tilera.com>
11930
11931 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
11932 0, not just to plain "0" as a statement.
11933 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
11934 with cw.
11935
d9814526
JM
119362012-12-06 Joseph Myers <joseph@codesourcery.com>
11937
11938 * NEWS: Use sourceware.org in Bugzilla URL.
11939
7728c574
SP
119402012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11941
f16946dd
SP
11942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11943 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11944
5704bbcb
SP
11945 * stdio-common/tst-put-error.c (do_test): Add newline to the
11946 padded test to ensure flush.
11947
17aa0516
JL
119482012-12-05 Jeff Law <law@redhat.com>
11949
11950 * sunrpc/etc.rpc (fedfs_admin): Add entry.
11951
363313b5
JM
119522012-12-05 Joseph Myers <joseph@codesourcery.com>
11953
effbd42a
JM
11954 * README: Don't refer to ports add-on as distributed separately.
11955 Mention AArch64 in list of systems supported in the ports add-on.
11956
87600365
JM
11957 * LICENSES: Add more non-FSF copyright and license notices.
11958
a0d7066a
JM
11959 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
11960 ((unused)).
11961
66ca5a5b
JM
11962 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
11963
363313b5
JM
11964 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
11965 10000 as width of padded output.
11966
b37984ad
JM
119672012-12-04 Joseph Myers <joseph@codesourcery.com>
11968
9003570a
JM
11969 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
11970
b37984ad
JM
11971 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
11972 variable LX with __attribute__ ((unused)).
11973 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11974 Likewise.
11975 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11976 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11977 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
11978 with __attribute__ ((unused)).
11979
c8df52ec
DM
119802012-12-04 David S. Miller <davem@abraco.davemloft.net>
11981
11982 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
11983
b3b099af
JM
119842012-12-04 Joseph Myers <joseph@codesourcery.com>
11985
c33aa6e3
JM
11986 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
11987 (CFLAGS-nldbl-acos.c): New variable.
11988 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
11989 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
11990 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
11991 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
11992 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
11993 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
11994 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
11995 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
11996 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
11997 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
11998 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
11999 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
12000 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
12001 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
12002 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
12003 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
12004 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
12005 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
12006 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
12007 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
12008 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
12009 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
12010 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
12011 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
12012 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
12013 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
12014 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
12015 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
12016 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
12017 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
12018 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
12019 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
12020 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
12021 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
12022 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
12023 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
12024 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
12025 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
12026 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
12027 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
12028 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
12029 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
12030 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
12031 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
12032 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
12033 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
12034 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
12035 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
12036 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
12037 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
12038 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
12039 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
12040 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
12041 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
12042 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
12043 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
12044 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
12045 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
12046 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
12047 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
12048 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
12049 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
12050 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
12051 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
12052 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
12053 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
12054 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
12055 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
12056 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
12057 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
12058 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
12059 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
12060 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
12061 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
12062 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
12063 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
12064 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
12065 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
12066 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
12067 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
12068 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
12069 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
12070 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
12071 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
12072 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
12073 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
12074 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
12075 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
12076 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
12077 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
12078 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
12079 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
12080 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
12081 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
12082 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
12083 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
12084 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
12085
20f0018d
JM
12086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12087 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
12088
b3b099af
JM
12089 [BZ #14914]
12090 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
12091 whole low double instead of just low 47 bits when splitting values
12092 into two parts.
12093
029264d1
AM
120942012-12-03 Allan McRae <allan@archlinux.org>
12095
12096 * manual/stdio.texi (Predefined Printf Handlers): Remove
12097 @hsep and @vsep usage.
12098
c9d6789e
MF
120992012-12-03 Mike Frysinger <vapier@gentoo.org>
12100
12101 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
12102 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
12103
4b7634a5
JL
121042012-12-03 Jeff Law <law@redhat.com>
12105
12106 * time/sys/time.h (settimeofday): Do not mark TV argument
12107 as __nonnull.
12108
eb6cbd24
MF
121092012-12-01 Mike Frysinger <vapier@gentoo.org>
12110
12111 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
12112 when currently writing and seek to current position when not.
12113 * libio/Makefile (tests): Remove bug-fclose1.
12114 * libio/bug-fclose1.c: Delete.
12115
f638872a
JM
121162012-12-01 Joseph Myers <joseph@codesourcery.com>
12117
12118 * manual/arith.texi (feenableexcept): Fix typo.
12119 (fedisableexcept): Likewise.
12120
48085d14
RM
121212012-11-30 Roland McGrath <roland@hack.frob.com>
12122
12123 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
12124 second, differently-typed declaration, rather than a cast.
12125
1a538b9f
SP
121262012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12127
12128 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
12129 * include/rpc/svc.h: ... here.
12130
d07f2ff1 121312012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
12132
12133 [BZ #13013]
12134 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
12135 depending n and resplen2 to catch cases where answer
12136 equals answerp2.
12137
c93ec1f0
CD
121382012-11-29 Carlos O'Donell <carlos@systemhalted.org>
12139
12140 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
12141 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
12142
37db69de
MF
121432012-11-29 Mike Frysinger <vapier@gentoo.org>
12144
12145 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
12146
e10c4e4f
RM
121472012-11-29 Roland McGrath <roland@hack.frob.com>
12148
12149 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
12150
2af1b328
JL
121512012-11-28 Jeff Law <law@redhat.com>
12152
12153 [BZ #13761]
12154 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
12155 dataset_temporary. Track alloca usage into alloca_used.
12156 If dataset is large allocate and release it via malloc/free.
12157
111db5b1
FW
121582012-06-04 Florian Weimer <fweimer@redhat.com>
12159
f06cc227 12160 [BZ #14197]
111db5b1
FW
12161 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
12162
dd694abd
DM
121632012-11-28 David S. Miller <davem@davemloft.net>
12164
12165 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12166
9984dd01
JM
121672012-11-28 Joseph Myers <joseph@codesourcery.com>
12168
12169 [BZ #14803]
12170 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
12171 of pi/2 rounded to nearest to 64 bits.
12172 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
12173 nearest to 64 bits.
12174 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
12175 bits.
12176
14bc93a9
JL
121772012-11-28 Jeff Law <law@redhat.com>
12178 Martin Osvald <mosvald@redhat.com>
12179
12180 [BZ #14889]
12181 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
12182 * sunrpc/svc.c: Include time.h.
12183 (__svc_accept_failed): New function.
12184 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
12185 any reason other than EINTR, call __svc_accept_failed.
12186 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
12187 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
12188
e3c6aa3a
AS
121892012-11-28 Andreas Schwab <schwab@suse.de>
12190
12191 * scripts/abilist.awk: Also handle indirect functions in .opd
12192 section.
12193
1bead169
JM
121942012-11-28 Joseph Myers <joseph@codesourcery.com>
12195
12196 [BZ #13881]
12197 * sysdeps/x86/fpu/powl_helper.c: New file.
12198 * sysdeps/x86/fpu/Makefile: Likewise.
12199 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
12200 (p3): New object.
12201 (__ieee754_powl): Use __powl_helper for finite arguments except
12202 integer exponents below 8.
12203 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
12204 (p3): New object.
12205 (__ieee754_powl): Use __powl_helper for finite arguments except
12206 integer exponents below 8.
12207 * math/libm-test.inc (pow_test): Add more tests and enable some
12208 previously disabled tests.
12209 * sysdeps/i386/fpu/libm-test-ulps: Update.
12210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12211
0817d63d
SP
122122012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12213 Carlos O'Donell <carlos_odonell@mentor.com>
12214
12215 * nss/makedb.c (is_prime): Assert that input is odd and greater
12216 than 4. Note that fact in a comment too.
12217 (next_prime): Add 4 to input.
12218
de2fd463
SP
122192012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12220
12221 [BZ #11741]
12222 * libio/Makefile (tests): Add test case tst-fwrite-error.
12223 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
12224 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
12225 * libio/tst-fwrite-error.c: New test case.
12226
c515fb51
L
122272012-11-26 H.J. Lu <hongjiu.lu@intel.com>
12228
12229 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
12230 before casting to void *.
12231 * include/libc-internal.h (__pointer_type): New macro.
12232 (__integer_if_pointer_type_sub): Likewise.
12233 (__integer_if_pointer_type): Likewise.
12234 (cast_to_integer): Likewise.
12235 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
12236 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
12237 before casting to atomic64_t.
12238 (atomic_exchange_acq): Likewise.
12239 (__arch_exchange_and_add_body): Likewise.
12240 (__arch_add_body): Likewise.
12241 (atomic_add_negative): Likewise.
12242 (atomic_add_zero): Likewise.
12243
4cf77aa9
JM
122442012-11-26 Joseph Myers <joseph@codesourcery.com>
12245
12246 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
12247 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
12248 (add_fdes): Likewise.
12249 (linear_search_fdes): Likewise.
12250 (binary_search_unencoded_fdes): Likewise.
12251
d260b3b4
AS
122522012-11-26 Andreas Schwab <schwab@linux-m68k.org>
12253
12254 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
12255
67060746
AC
122562012-11-24 Adam Conrad <adconrad@0c3.net>
12257
12258 * configure.in: Autodetect C++ header directories.
12259 * configure: Regenerated.
12260
800938a1
MF
122612012-11-23 Mike Frysinger <vapier@gentoo.org>
12262
12263 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
12264
4e6e34e6
AS
122652012-11-23 Andreas Schwab <schwab@linux-m68k.org>
12266
12267 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12268
7c7feb47
JM
122692012-11-22 Joseph Myers <joseph@codesourcery.com>
12270
7184dcdf
JM
12271 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
12272 LDBL_MANT_DIG == 106]: Disable some tests.
12273 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12274 Likewise.
12275 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12276 Likewise.
12277
0a42601f
JM
12278 [BZ #14871]
12279 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
12280 input for small inputs. Return +/- pi/2 for large inputs.
12281 * math/libm-test.inc (atan_test): Add more tests.
12282
79c9b9fe
JM
12283 * sysdeps/generic/unwind-dw2-fde-glibc.c
12284 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
12285 __attribute__ ((unused)).
12286
c60d3bf2
JM
12287 [BZ #14645]
12288 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
12289 x * y if x and y are nonzero and z is zero.
12290
ef1e0867
JM
12291 [BZ #14811]
12292 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
12293 nonzero exponents with absolute value below 0x1p-117 to +/-
12294 0x1p-117.
12295
1468ded3
JM
12296 [BZ #14869]
12297 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
12298 up arguments below 2**-450, not just those below 2**-500.
12299 * math/libm-test.inc (hypot_test): Add another test.
12300
8e27e3cc
JM
12301 [BZ #14868]
12302 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12303 Return a+b for ratio over 2**120, not 2**60.
12304 * math/libm-test.inc (hypot_test): Add another test.
12305
c9c0279b
JM
12306 * math/libm-test.inc (clog_test): Use
12307 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
12308 (clog10_test): Likewise.
12309
7c7feb47
JM
12310 [BZ #6778]
12311 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
12312
fff1530e
AS
123132012-11-22 Andreas Schwab <schwab@suse.de>
12314
12315 * sysdeps/i386/fpu/libm-test-ulps: Update.
12316
94558d30
PT
123172012-11-22 Pino Toscano <toscano.pino@tiscali.it>
12318
12319 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
12320 printf output with newline.
12321
7e1be741
L
123222012-11-21 H.J. Lu <hongjiu.lu@intel.com>
12323
6bfea974
L
12324 [BZ #14865]
12325 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
12326 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
12327 -z nodlopen, -z initfirst and -z execstack support.
12328 * configure: Regenerated.
12329
7e1be741
L
12330 * elf/elf.h (DF_1_NODIRECT): New macro.
12331 (DF_1_IGNMULDEF): Likewise.
12332 (DF_1_NOKSYMS): Likewise.
12333 (DF_1_NOHDR): Likewise.
12334 (DF_1_EDITED): Likewise.
12335 (DF_1_NORELOC): Likewise.
12336 (DF_1_SYMINTPOSE): Likewise.
12337 (DF_1_GLOBAUDIT): Likewise.
12338 (DF_1_SINGLETON): Likewise.
12339 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
12340 DT_1_SUPPORTED_MASK bits.
12341 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
12342
105ce2ce
CD
123432012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
12344
12345 * sysdeps/unix/make-syscalls.sh: Document prefixes.
12346
123be9de
TS
123472012-11-20 Thomas Schwinge <thomas@codesourcery.com>
12348
d072f3f7
TS
12349 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
12350 macro.
12351
123be9de
TS
12352 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
12353 (sendmmsg): Move declarations...
12354 * socket/sys/socket.h: ... here.
12355 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
12356 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
12357 include it from...
12358 * socket/recvmmsg.c: ... this new file.
12359 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
12360 (sendmmsg): Rename to __sendmmsg, create weak alias and make
12361 definition of __sendmmsg hidden.
12362 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
12363 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
12364 Move ENOSYS stub into and include it from...
12365 * socket/sendmmsg.c: ... this new file.
12366 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
12367 (sysdep_routines): Move recvmmsg and sendmmsg...
12368 * socket/Makefile (routines): ... here.
12369 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
12370 (GLIBC_PRIVATE): Add __sendmmsg.
12371 * include/sys/socket.h (__sendmmsg): Add declarations.
12372 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
12373 sendmmsg.
12374
cf9a5d18
JM
123752012-11-20 Joseph Myers <joseph@codesourcery.com>
12376
12377 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
12378 variable I1 with __attribute__ ((unused)).
12379 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12380
ecd4caf9
JM
123812012-11-19 Joseph Myers <joseph@codesourcery.com>
12382
be14d48f
JM
12383 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
12384 DUMMY variables with __attribute__ ((unused)).
12385
ecd4caf9
JM
12386 * bits/byteswap.h: Include <bits/types.h>.
12387 (__bswap_64): Use __uint64_t instead of unsigned long long int.
12388
986cab95
PT
123892012-11-19 Pino Toscano <toscano.pino@tiscali.it>
12390
12391 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
12392 string_t. Do not manually set errno.
12393 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
12394 length with __strnlen. Make sure to both set errno and return it on
12395 failure.
12396
6d33cc9d
DM
123972012-11-19 David S. Miller <davem@davemloft.net>
12398
12399 With help from Joseph Myers.
12400 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
12401 very large arguments properly.
12402 * math/libm-test.inc (atan_test): New tests.
12403 (atan2_test): New tests.
12404 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12405 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12406
ee663277
JM
124072012-11-19 Joseph Myers <joseph@codesourcery.com>
12408
877f2d8e
JM
12409 [BZ #14856]
12410 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
12411 Define to 3.
12412
116fc08a
JM
12413 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
12414 [POSIX] (EADDRNOTAVAIL): Likewise.
12415 [POSIX] (EAFNOSUPPORT): Likewise.
12416 [POSIX] (EALREADY): Likewise.
12417 [POSIX] (ECONNABORTED): Likewise.
12418 [POSIX] (ECONNREFUSED): Likewise.
12419 [POSIX] (ECONNRESET): Likewise.
12420 [POSIX] (EDESTADDRREQ): Likewise.
12421 [POSIX] (EDQUOT): Likewise.
12422 [POSIX] (EHOSTUNREACH): Likewise.
12423 [POSIX] (EIDRM): Likewise.
12424 [POSIX] (EISCONN): Likewise.
12425 [POSIX] (ELOOP): Likewise.
12426 [POSIX] (EMULTIHOP): Likewise.
12427 [POSIX] (ENETDOWN): Likewise.
12428 [POSIX] (ENETUNREACH): Likewise.
12429 [POSIX] (ENOBUFS): Likewise.
12430 [POSIX] (ENODATA): Likewise.
12431 [POSIX] (ENOLINK): Likewise.
12432 [POSIX] (ENOMSG): Likewise.
12433 [POSIX] (ENOPROTOOPT): Likewise.
12434 [POSIX] (ENOSR): Likewise.
12435 [POSIX] (ENOSTR): Likewise.
12436 [POSIX] (ENOTCONN): Likewise.
12437 [POSIX] (ENOTSOCK): Likewise.
12438 [POSIX] (EOPNOTSUPP): Likewise.
12439 [POSIX] (EOVERFLOW): Likewise.
12440 [POSIX] (EPROTO): Likewise.
12441 [POSIX] (EPROTONOSUPPORT): Likewise.
12442 [POSIX] (EPROTOTYPE): Likewise.
12443 [POSIX] (ESTALE): Likewise.
12444 [POSIX] (ETIME): Likewise.
12445 [POSIX] (ETXTBSY): Likewise.
12446 [POSIX] (EWOULDBLOCK): Likewise.
12447 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
12448 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
12449 [POSIX] (SEEK_CUR): Likewise.
12450 [POSIX] (SEEK_END): Likewise.
12451 [POSIX || UNIX98] (mode_t): Do not require.
12452 [POSIX] (off_t): Likewise.
12453 [POSIX] (pid_t): Likewise.
12454 [POSIX] (sys/stat.h): Do not allow header.
12455 [POSIX] (unistd.h): Likewise.
12456 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
12457 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
12458 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
12459 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
12460 require.
12461 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
12462 sigevent): Specify elements.
12463 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
12464 entry.
12465 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
12466 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
12467
a483863f
JM
12468 * conform/data/cpio.h-data [POSIX]: Disable whole file.
12469 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
12470 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
12471 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
12472 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
12473 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
12474 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
12475 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
12476 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
12477 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
12478 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
12479 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
12480 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
12481 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
12482 Likewise.
12483 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
12484 Likewise.
12485 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
12486 Likewise.
12487 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
12488 Likewise.
12489 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
12490 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
12491 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
12492 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
12493 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
12494 Specify lower bound on value.
12495 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
12496 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
12497 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
12498 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
12499 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
12500 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
12501 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
12502 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
12503 value.
12504 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
12505 as optional.
12506 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
12507 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
12508 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
12509 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
12510 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
12511 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
12512 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
12513 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
12514 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
12515 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
12516 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
12517 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
12518 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
12519 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
12520 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
12521 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
12522 entry.
12523 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
12524 optional.
12525 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
12526 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
12527 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
12528 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
12529 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
12530 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
12531 Likewise.
12532 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
12533 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
12534 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
12535 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
12536 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
12537 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
12538 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
12539 as optional.
12540 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
12541 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
12542 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
12543 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
12544 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
12545 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
12546 specify as optional.
12547 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
12548 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
12549 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
12550 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
12551 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
12552 [XPG3] (NL_LANGMAX): Likewise.
12553 [POSIX || XPG3] (NL_MSGMAX): Likewise.
12554 [POSIX || XPG3] (NL_NMAX): Likewise.
12555 [POSIX || XPG3] (NL_SETMAX): Likewise.
12556 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
12557 [XPG3] (NZERO): Likewise.
12558 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
12559 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
12560 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
12561 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
12562 (REG_ERANGE): Expect.
12563 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
12564 optional-constant.
12565 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
12566 Use (void) in prototype.
12567 [POSIX] (*_t): Allow.
12568 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
12569 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
12570 (WRDE_BADVAL): Expect.
12571
5ba924e3
JM
12572 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
12573 expect.
12574 [XPG3 || XPG4] (O_RSYNC): Likewise.
12575 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
12576 Likewise.
12577 [XPG3 || XPG4] (pthread_sigmask): Likewise.
12578 [XPG3 || XPG4] (sigqueue): Likewise.
12579 [XPG3 || XPG4] (sigtimedwait): Likewise.
12580 [XPG3 || XPG4] (sigwaitinfo): Likewise.
12581 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
12582 [XPG3 || XPG4] (vsnprintf): Likewise.
12583 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
12584 Likewise.
12585 [XPG3 || XPG4] (blksize_t): Likewise.
12586 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
12587 Likewise.
12588 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
12589 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12590 [XPG3 || XPG4] (struct itimerspec): Likewise.
12591 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
12592 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
12593 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
12594 [XPG3 || XPG4] (clockid_t): Likewise.
12595 [XPG3 || XPG4] (timer_t): Likewise.
12596 [XPG3 || XPG4] (clock_getres): Likewise.
12597 [XPG3 || XPG4] (clock_gettime): Likewise.
12598 [XPG3 || XPG4] (clock_settime): Likewise.
12599 [XPG3 || XPG4] (nanosleep): Likewise.
12600 [XPG3 || XPG4] (timer_create): Likewise.
12601 [XPG3 || XPG4] (timer_delete): Likewise.
12602 [XPG3 || XPG4] (timer_gettime): Likewise.
12603 [XPG3 || XPG4] (timer_getoverrun): Likewise.
12604 [XPG3 || XPG4] (timer_settime): Likewise.
12605 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
12606 [XPG3 || XPG4] (getlogin_r): Likewise.
12607 [XPG3 || XPG4] (pread): Likewise.
12608 [XPG3 || XPG4] (pthread_atfork): Likewise.
12609 [XPG3 || XPG4] (pwrite): Likewise.
12610
ee663277
JM
12611 [BZ #14835]
12612 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
12613 <bits/siginfo.h>.
12614
942caa16
PT
126152012-11-19 Pino Toscano <toscano.pino@tiscali.it>
12616
e19af380
PT
12617 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
12618 finalizing MALLSTREAM.
12619
942caa16
PT
12620 * sysdeps/mach/hurd/syncfs.c: New file.
12621
cfde9b46
SP
126222012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12623
12624 [BZ #14719]
12625 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
12626 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
12627 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
12628 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
12629 (_nss_dns_gethostbyname4_r): Likewise.
12630 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
12631 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
12632
f6da27e5
PH
126332012-11-19 Peng Haitao <penght@cn.fujitsu.com>
12634
12635 [BZ #13763]
12636 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
12637
6665d4a2
SM
126382012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
12639
1f51ee92
SM
12640 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
12641 * elf/cache.c (print_entry): Print ",AArch64" for
12642 FLAG_AARCH64_LIB64
12643
6665d4a2
SM
12644 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
12645 * elf/cache.c (print_entry): Print ",hard-float" for
12646 FLAG_ARM_LIBHF.
12647
05b227bd
DM
126482012-11-18 David S. Miller <davem@davemloft.net>
12649
12650 With help from Joseph Myers.
12651 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
12652 cutoff to 2**-13.
12653 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
12654 cutoff to 2**-25.
12655 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
12656 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
12657 small.
12658 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
12659 * math/libm-test.inc (y0_test): New tests.
12660 (y1_test): New tests.
12661 * sysdeps/i386/fpu/libm-test-ulps: Update.
12662 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12663 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12664
786b0b67
AS
126652012-11-18 Andreas Schwab <schwab@linux-m68k.org>
12666
12667 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
12668 64-bit targets.
12669 * configure: Regenerated.
12670
8e18b86d
DM
126712012-11-17 David S. Miller <davem@davemloft.net>
12672
12673 [BZ #14811]
12674 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
12675 nonzero exponents with absolute value below 0x1p-128 to +/-
12676 0x1p-128.
12677
531f1ae0
JM
126782012-11-17 Joseph Myers <joseph@codesourcery.com>
12679
12df29e2
JM
12680 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
12681
150dc1a0
JM
12682 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
12683
531f1ae0
JM
12684 * posix/getconf-speclist.c: New file.
12685 * posix/posix-envs.def: Likewise.
12686 * posix/confstr.c (START_ENV_GROUP): New macro.
12687 (END_ENV_GROUP): Likewise.
12688 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12689 (KNOWN_PRESENT_ENV_STRING): Likewise.
12690 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12691 (UNKNOWN_ENVIRONMENT): Likewise.
12692 (confstr): Include posix-envs.def instead of handling
12693 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
12694 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
12695 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
12696 (END_ENV_GROUP): Likewise.
12697 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12698 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12699 (UNKNOWN_ENVIRONMENT): Likewise.
12700 (__sysconf): Include posix-envs.def instead of handling associated
12701 cases directly here.
12702 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
12703 preprocessing getconf-speclist.c rather than running getconf or
12704 generating empty file.
12705
a93f9cbc
PT
127062012-11-16 Pino Toscano <toscano.pino@tiscali.it>
12707
12708 * scripts/check-local-headers.sh: Ignore 'mach' headers.
12709
d64d9f87
AL
127102012-11-16 Andrej Lajovic <natrij@gmail.com>
12711
12712 [BZ #14672]
12713 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
12714
447885eb
DM
127152012-11-16 David S. Miller <davem@davemloft.net>
12716
12717 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
12718 smaller than LDBL_EPSILON/2.0L, just return xm1.
12719
bcbf9830
L
127202012-11-16 H.J. Lu <hongjiu.lu@intel.com>
12721
12722 * elf/tst-array1.c (init): Set constructor priority to 1000.
12723 (fini): Set destructor priority to 1000.
12724 * elf/tst-array2dep.c: Likewise.
12725
2b766585
SP
127262012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12727
12728 [BZ #11741]
12729 * libio/fileops.c (_IO_new_file_write): Correctly return error.
12730 (_IO_new_file_xsputn): Also return EOF if none of the input
12731 data was written when overflow failed.
12732 * libio/iopadn.c (_IO_padn): Likewise.
12733 * libio/iowpadn.c (_IO_wpadn): Likewise.
12734 * stdio-common/tst-put-error.c: Add copyright notice.
12735 (do_test): Add case for printing padded string.
12736 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
12737 _IO_padn returned error.
12738 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
12739 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
12740 return EOF.
12741
b1848fde
SP
127422012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12743
12744 * libio/libioP.h: Add comment note that the references to C++
12745 bits are now obsolete.
12746
2fd89785
MS
127472012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12748
12749 * math/libm-test.inc (check_complex): Use asprintf.
12750
e3ea5409
JM
127512012-11-14 Joseph Myers <joseph@codesourcery.com>
12752
12753 * debug/pcprofiledump.c (print_version): Update copyright year.
12754 * malloc/memusagestat.c (print_version): Likewise.
12755
2e64d265
L
127562012-11-14 H.J. Lu <hongjiu.lu@intel.com>
12757
12758 [BZ #14831]
12759 * elf/Makefile (tests): Add tst-audit8.
12760 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
12761 ($(objpfx)tst-audit8.out): New target.
12762 (tst-audit8-ENV): New variable.
12763 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
12764 audit if l_reloc_result is NULL.
12765 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
12766 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
12767 * elf/tst-audit8.c: New file.
12768
c485e4d2
MS
127692012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12770
12771 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
12772 * misc/Makefile (CFLAGS-select.c): Define.
12773 * posix/Makefile (CFLAGS-pause.c): Define.
12774
3a0d900a
DM
127752012-11-13 David S. Miller <davem@davemloft.net>
12776
12777 * crypt/Makefile: Move test targets after toplevel Rules
12778 inclusion. Grab any necessary sysdep routines when linking.
12779 * crypt/md5.c (md5_process_block): Remove define, we will always
12780 name it __md5_process_block.
12781 (md5_finish_ctx): Update md5_process_block call.
12782 (md5_stream): Likewise.
12783 (md5_process_bytes): Likewise.
12784 (md5_process_block): Rename to __md5_process_block and move to ...
12785 * crypt/md5-block.c: ... here.
12786 * crypt/sha256.c (sha256_process_block): Move to ...
12787 * crypt/sha256-block.c: ... here.
12788 * crypt/sha512.c (sha512_process_block): Move to ...
12789 * crypt/sha512-block.c: ... here.
12790 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
12791 path.
12792 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
12793 * sysdeps/sparc/sparc64/multiarch/Makefile
12794 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
12795 crypt subdir.
12796 (localedef-aux): Add md5 crypto assembler when in locale subdir.
12797 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
12798 multiarch changes.
12799 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
12800 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
12801 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
12802 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
12803 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
12804 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
12805 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
12806 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
12807 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
12808 file.
12809 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
12810 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
12811 file.
12812 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
12813
8ca89318
JM
128142012-11-13 Joseph Myers <joseph@codesourcery.com>
12815
e27d476a
JM
12816 * timezone/tzselect.ksh: Update from tzcode git revision
12817 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
12818 * timezone/zdump.c: Likewise.
12819 * timezone/zic.c: Likewise.
12820 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
12821 in TZVERSION setting, not $(PKGVERSION).
12822 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
12823 REPORT_BUGS_TO settings.
12824
8ca89318
JM
12825 [BZ #14838]
12826 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
12827 macro.
12828
47594329
MS
128292012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12830
12831 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
12832 detection to immediately after _FP_ROUND().
12833 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
12834 bits are 0.
12835
640ac3f1
DM
128362012-11-11 David S. Miller <davem@davemloft.net>
12837
12838 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
12839 inttypes.h
12840 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
12841 __close rather than their public counterparts.
12842
3d2577bb
JM
128432012-11-10 Joseph Myers <joseph@codesourcery.com>
12844
12845 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
12846 file.
12847 [UNIX98] (sem_timedwait): Do not expect.
12848 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
12849 [XPG4 || UNIX98] (sockatmark): Do not expect.
12850 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
12851 (clock_getcpuclockid): Do not expect.
12852 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
12853 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
12854 Do not expect.
12855 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
12856 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
12857 [UNIX98] (vwscanf): Likewise.
12858 [UNIX98] (vswscanf): Likewise.
12859
fb1ae1ee
JM
128602012-11-09 Joseph Myers <joseph@codesourcery.com>
12861
9ec6f8bd
JM
12862 * timezone/version.h: Remove file.
12863 * timezone/README: Do not refer to version.h.
12864 * timezone/Makefile ($(objpfx)zic.o): New dependency on
12865 $(objpfx)version.h.
12866 ($(objpfx)zdump.o): Likewise.
c3f81911 12867 ($(objpfx)version.h): New target.
9ec6f8bd 12868
0aa8f8a1
JM
12869 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
12870 2012i.
12871 * timezone/README: Don't mention modification to tzselect.ksh.
12872 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
12873 work on unmodified tzselect.ksh. Substitute version numbers in
12874 tzselect.ksh.
12875
4e87147f
JM
12876 * Makefile (format-me): Remove.
12877 (INSTALL): Adjust indentation. Use commands directly instead of
12878 using $(format-me).
12879
8b748aed
JM
12880 * aclocal.m4 (ACX_PKGVERSION): New macro.
12881 (ACX_BUGURL): Likewise.
12882 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
12883 (PKGVERSION): New AC_DEFINE_UNQUOTED.
12884 (REPORT_BUGS_TO): Likewise.
12885 * configure: Regenerated.
12886 * config.h.in (PKGVERSION): New macro.
12887 (REPORT_BUGS_TO): Likewise.
12888 * config.make.in (PKGVERSION): New variable.
12889 (PKGVERSION_TEXI): Likewise.
12890 (REPORT_BUGS_TO): Likewise.
12891 (REPORT_BUGS_TEXI): Likewise.
12892 * Makefile (format-me): Use -I$(common-objpfx)manual.
12893 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
12894 ($(common-objpfx)manual/%): New target.
12895 (manual/%): Remove target.
12896 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
12897 (print_version): Use PKGVERSION.
12898 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
12899 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
12900 and REPORT_BUGS_TO.
12901 ($(objpfx)xtrace): Likewise.
12902 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
12903 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
12904 (print_version): Use PKGVERSION.
12905 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
12906 (do_version): Use PKGVERSION.
12907 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
12908 REPORT_BUGS_TO.
12909 (common-ldd-rewrite): Likewise.
12910 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
12911 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
12912 (print_version): Use PKGVERSION.
12913 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
12914 * elf/pldd.c (argp_program_bug_address): Remove variable.
12915 (more_help): New function.
12916 (argp): Use more_help.
12917 (print_version): Use PKGVERSION.
12918 * elf/sln.c (main): Use PKGVERSION.
12919 (usage): Use REPORT_BUGS_TO.
12920 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
12921 (top level): Use PKGVERSION.
12922 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
12923 (print_version): Use PKGVERSION.
12924 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
12925 (print_version): Use PKGVERSION.
12926 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
12927 (print_version): Use PKGVERSION.
12928 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
12929 (print_version): Use PKGVERSION.
12930 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
12931 (print_version): Use PKGVERSION.
12932 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
12933 (print_version): Use PKGVERSION.
12934 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
12935 and BUGURL.
12936 ($(objpfx)memusage): Likewise.
12937 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
12938 (do_version): Use PKGVERSION.
12939 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
12940 (print_version): Use PKGVERSION.
12941 * malloc/mtrace.pl ($PACKAGE): Remove variable.
12942 ($PKGVERSION): New variable.
12943 ($REPORT_BUGS_TO): Likewise.
12944 (usage): Use $REPORT_BUGS_TO.
12945 (top level): Use $PKGVERSION.
12946 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
12947 ($(objpfx)pkgvers.texi): New rule.
12948 ($(objpfx)stamp-pkgvers): Likewise.
12949 * manual/install.texi: Include pkgvers.texi.
12950 (--with-pkgversion): Document new configure option.
12951 (--with-bugurl): Likewise.
12952 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
12953 than necessarily for this particular distribution. Use
12954 REPORT_BUGS_TO for where to report bugs.
12955 * INSTALL: Regenerated.
12956 * manual/libc.texinfo: Include pkgvers.texi.
12957 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
12958 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
12959 (print_version): Use PKGVERSION.
12960 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
12961 (print_version): Use PKGVERSION.
12962 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
12963 (print_version): Use PKGVERSION.
12964 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
12965 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
12966 macro.
12967 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
12968 (print_version): Use PKGVERSION.
12969 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
12970 (print_version): Use PKGVERSION.
12971 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
12972 and PKGVERSION.
12973
92e4b6a9
JM
12974 * timezone/checktab.awk: Update from tzcode 2012i.
12975 * timezone/ialloc.c: Likewise.
12976 * timezone/private.h: Likewise.
12977 * timezone/scheck.c: Likewise.
12978 * timezone/tzfile.h: Likewise.
12979 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
12980 (TZVERSION): Hardcode tzcode version number.
12981 * timezone/zdump.c: Update from tzcode 2012i.
12982 * timezone/zic.c: Likewise.
12983 * timezone/version.h: New file.
12984 * timezone/README: Describe version.h. Update upstream location.
12985
9bde902c
JM
12986 [BZ #14824]
12987 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
12988 (mktemp): Enable declaration.
12989 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
12990 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
12991 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
12992 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
12993 Likewise.
12994 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
12995 Likewise.
12996 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
12997 Likewise.
12998 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
12999 Likewise.
13000 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
13001 Likewise.
13002 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
13003 Likewise.
13004
fb1ae1ee
JM
13005 [BZ #14821]
13006 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
13007 offset in buffer as u_int32_t not u_long. Consistently use memcpy
13008 for copies of such integer values.
13009 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
13010 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
13011
2c1adbcb
AJ
130122012-11-09 Andreas Jaeger <aj@suse.de>
13013
13014 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
13015 definitions and declarations that are provided by
13016 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13017
d0f8457e
AK
130182012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13019
3a235abb 13020 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
13021 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
13022 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
13023 definition.
13024
57241e26
MS
130252012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13026
13027 * elf/elf.h: Update comment before AArch64 relocations.
13028
60e8270d
DM
130292012-11-07 David S. Miller <davem@davemloft.net>
13030
13031 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
13032 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
13033 (__start_context): Declare.
13034 (__makecontext_ret): Delete.
13035 (__makecontext): Hook up __start_context instead of
13036 __makecontext_ret.
13037 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
13038 (sysdep_routines): Add __start_context when in stdlib.
13039
0fbb0fbc
JM
130402012-11-07 Joseph Myers <joseph@codesourcery.com>
13041
13042 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
13043 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
13044 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
13045 hardcoded "nm".
13046 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
13047 (READELF): New variable. Use it instead of hardcoded "readelf".
13048
eb48db7e
L
130492012-11-07 H.J. Lu <hongjiu.lu@intel.com>
13050
13051 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
13052 * sysdeps/x86/Makefile: Here.
13053 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
13054 * sysdeps/x86/tst-xmmymm.sh: This.
13055
05bcf62a
JM
130562012-11-07 Joseph Myers <joseph@codesourcery.com>
13057
c4b6cf53
JM
13058 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
13059 expectations.
13060 [UNIX98] (pthread_barrier_t): Do not expect.
13061 [UNIX98] (pthread_barrierattr_t): Likewise.
13062 [UNIX98] (pthread_spinlock_t): Likewise.
13063 [UNIX98] (pthread_barrier_destroy): Likewise.
13064 [UNIX98] (pthread_barrier_init): Likewise.
13065 [UNIX98] (pthread_barrier_wait): Likewise.
13066 [UNIX98] (pthread_barrierattr_destroy): Likewise.
13067 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
13068 [UNIX98] (pthread_barrierattr_init): Likewise.
13069 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
13070 [UNIX98] (pthread_getcpuclockid): Likewise.
13071 [UNIX98] (pthread_mutex_timedlock): Likewise.
13072 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
13073 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
13074 [UNIX98] (pthread_sigmask): Likewise.
13075 [UNIX98] (pthread_spin_destroy): Likewise.
13076 [UNIX98] (pthread_spin_init): Likewise.
13077 [UNIX98] (pthread_spin_lock): Likewise.
13078 [UNIX98] (pthread_spin_trylock): Likewise.
13079 [UNIX98] (pthread_spin_unlock): Likewise.
13080 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
13081 Do not expect.
13082 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
13083 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
13084 [XPG3 || XPG4] (pthread_cond_t): Likewise.
13085 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
13086 [XPG3 || XPG4] (pthread_key_t): Likewise.
13087 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
13088 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
13089 [XPG3 || XPG4] (pthread_once_t): Likewise.
13090 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
13091 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
13092 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
13093 [XPG3 || XPG4] (pthread_t): Likewise.
13094
cbe6e120
JM
13095 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
13096 not expect.
13097 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
13098
1b126443
JM
13099 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
13100 Change function return type to int.
13101
b961a573
JM
13102 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
13103 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
13104 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
13105 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
13106 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
13107 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
13108 [!POSIX] (posix_madvise): Likewise.
13109 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
13110 && !UNIX98].
13111 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
13112 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
13113 (mode_t): Likewise.
13114 (posix_mem_offset): Likewise.
13115 (posix_typed_mem_get_info): Likewise.
13116 (posix_typed_mem_open): Likewise.
13117
9e188909
JM
13118 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
13119 Change condition to [XOPEN2K8].
13120
05bcf62a
JM
13121 * conform/conformtest.pl: Preprocess allow-header data with -x c
13122 instead of from stdin.
13123 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
13124 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
13125 [C99-based standards] (cerfc): Likewise.
13126 [C99-based standards] (cexp2): Likewise.
13127 [C99-based standards] (cexpm1): Likewise.
13128 [C99-based standards] (clog10): Likewise.
13129 [C99-based standards] (clog1p): Likewise.
13130 [C99-based standards] (clog2): Likewise.
13131 [C99-based standards] (clgamma): Likewise.
13132 [C99-based standards] (ctgamma): Likewise.
13133 [C99-based standards] (cerff): Likewise.
13134 [C99-based standards] (cerfcf): Likewise.
13135 [C99-based standards] (cexp2f): Likewise.
13136 [C99-based standards] (cexpm1f): Likewise.
13137 [C99-based standards] (clog10f): Likewise.
13138 [C99-based standards] (clog1pf): Likewise.
13139 [C99-based standards] (clog2f): Likewise.
13140 [C99-based standards] (clgammaf): Likewise.
13141 [C99-based standards] (ctgammaf): Likewise.
13142 [C99-based standards] (cerfl): Likewise.
13143 [C99-based standards] (cerfcl): Likewise.
13144 [C99-based standards] (cexp2l): Likewise.
13145 [C99-based standards] (cexpm1l): Likewise.
13146 [C99-based standards] (clog10l): Likewise.
13147 [C99-based standards] (clog1pl): Likewise.
13148 [C99-based standards] (clog2l): Likewise.
13149 [C99-based standards] (clgammal): Likewise.
13150 [C99-based standards] (ctgammal): Likewise.
13151 * conform/data/inttypes.h-data [C99-based standards]: Include
13152 stdint.h-data. Remove all expectations for stdint.h contents.
13153 [C99-based standards] (PRI*): Do not allow.
13154 [C99-based standards] (SCN*): Likewise.
13155 [C99-based standards] (*_t): Likewise.
13156 [C99-based-standards] (PRId8): Expect macro.
13157 [C99-based-standards] (PRIi8): Likewise.
13158 [C99-based-standards] (PRIo8): Likewise.
13159 [C99-based-standards] (PRIu8): Likewise.
13160 [C99-based-standards] (PRIx8): Likewise.
13161 [C99-based-standards] (PRIX8): Likewise.
13162 [C99-based-standards] (SCNd8): Likewise.
13163 [C99-based-standards] (SCNi8): Likewise.
13164 [C99-based-standards] (SCNo8): Likewise.
13165 [C99-based-standards] (SCNu8): Likewise.
13166 [C99-based-standards] (SCNx8): Likewise.
13167 [C99-based-standards] (PRIdLEAST8): Likewise.
13168 [C99-based-standards] (PRIiLEAST8): Likewise.
13169 [C99-based-standards] (PRIoLEAST8): Likewise.
13170 [C99-based-standards] (PRIuLEAST8): Likewise.
13171 [C99-based-standards] (PRIxLEAST8): Likewise.
13172 [C99-based-standards] (PRIXLEAST8): Likewise.
13173 [C99-based-standards] (SCNdLEAST8): Likewise.
13174 [C99-based-standards] (SCNiLEAST8): Likewise.
13175 [C99-based-standards] (SCNoLEAST8): Likewise.
13176 [C99-based-standards] (SCNuLEAST8): Likewise.
13177 [C99-based-standards] (SCNxLEAST8): Likewise.
13178 [C99-based-standards] (PRIdFAST8): Likewise.
13179 [C99-based-standards] (PRIiFAST8): Likewise.
13180 [C99-based-standards] (PRIoFAST8): Likewise.
13181 [C99-based-standards] (PRIuFAST8): Likewise.
13182 [C99-based-standards] (PRIxFAST8): Likewise.
13183 [C99-based-standards] (PRIXFAST8): Likewise.
13184 [C99-based-standards] (SCNdFAST8): Likewise.
13185 [C99-based-standards] (SCNiFAST8): Likewise.
13186 [C99-based-standards] (SCNoFAST8): Likewise.
13187 [C99-based-standards] (SCNuFAST8): Likewise.
13188 [C99-based-standards] (SCNxFAST8): Likewise.
13189 [C99-based-standards] (PRId16): Likewise.
13190 [C99-based-standards] (PRIi16): Likewise.
13191 [C99-based-standards] (PRIo16): Likewise.
13192 [C99-based-standards] (PRIu16): Likewise.
13193 [C99-based-standards] (PRIx16): Likewise.
13194 [C99-based-standards] (PRIX16): Likewise.
13195 [C99-based-standards] (SCNd16): Likewise.
13196 [C99-based-standards] (SCNi16): Likewise.
13197 [C99-based-standards] (SCNo16): Likewise.
13198 [C99-based-standards] (SCNu16): Likewise.
13199 [C99-based-standards] (SCNx16): Likewise.
13200 [C99-based-standards] (PRIdLEAST16): Likewise.
13201 [C99-based-standards] (PRIiLEAST16): Likewise.
13202 [C99-based-standards] (PRIoLEAST16): Likewise.
13203 [C99-based-standards] (PRIuLEAST16): Likewise.
13204 [C99-based-standards] (PRIxLEAST16): Likewise.
13205 [C99-based-standards] (PRIXLEAST16): Likewise.
13206 [C99-based-standards] (SCNdLEAST16): Likewise.
13207 [C99-based-standards] (SCNiLEAST16): Likewise.
13208 [C99-based-standards] (SCNoLEAST16): Likewise.
13209 [C99-based-standards] (SCNuLEAST16): Likewise.
13210 [C99-based-standards] (SCNxLEAST16): Likewise.
13211 [C99-based-standards] (PRIdFAST16): Likewise.
13212 [C99-based-standards] (PRIiFAST16): Likewise.
13213 [C99-based-standards] (PRIoFAST16): Likewise.
13214 [C99-based-standards] (PRIuFAST16): Likewise.
13215 [C99-based-standards] (PRIxFAST16): Likewise.
13216 [C99-based-standards] (PRIXFAST16): Likewise.
13217 [C99-based-standards] (SCNdFAST16): Likewise.
13218 [C99-based-standards] (SCNiFAST16): Likewise.
13219 [C99-based-standards] (SCNoFAST16): Likewise.
13220 [C99-based-standards] (SCNuFAST16): Likewise.
13221 [C99-based-standards] (SCNxFAST16): Likewise.
13222 [C99-based-standards] (PRId32): Likewise.
13223 [C99-based-standards] (PRIi32): Likewise.
13224 [C99-based-standards] (PRIo32): Likewise.
13225 [C99-based-standards] (PRIu32): Likewise.
13226 [C99-based-standards] (PRIx32): Likewise.
13227 [C99-based-standards] (PRIX32): Likewise.
13228 [C99-based-standards] (SCNd32): Likewise.
13229 [C99-based-standards] (SCNi32): Likewise.
13230 [C99-based-standards] (SCNo32): Likewise.
13231 [C99-based-standards] (SCNu32): Likewise.
13232 [C99-based-standards] (SCNx32): Likewise.
13233 [C99-based-standards] (PRIdLEAST32): Likewise.
13234 [C99-based-standards] (PRIiLEAST32): Likewise.
13235 [C99-based-standards] (PRIoLEAST32): Likewise.
13236 [C99-based-standards] (PRIuLEAST32): Likewise.
13237 [C99-based-standards] (PRIxLEAST32): Likewise.
13238 [C99-based-standards] (PRIXLEAST32): Likewise.
13239 [C99-based-standards] (SCNdLEAST32): Likewise.
13240 [C99-based-standards] (SCNiLEAST32): Likewise.
13241 [C99-based-standards] (SCNoLEAST32): Likewise.
13242 [C99-based-standards] (SCNuLEAST32): Likewise.
13243 [C99-based-standards] (SCNxLEAST32): Likewise.
13244 [C99-based-standards] (PRIdFAST32): Likewise.
13245 [C99-based-standards] (PRIiFAST32): Likewise.
13246 [C99-based-standards] (PRIoFAST32): Likewise.
13247 [C99-based-standards] (PRIuFAST32): Likewise.
13248 [C99-based-standards] (PRIxFAST32): Likewise.
13249 [C99-based-standards] (PRIXFAST32): Likewise.
13250 [C99-based-standards] (SCNdFAST32): Likewise.
13251 [C99-based-standards] (SCNiFAST32): Likewise.
13252 [C99-based-standards] (SCNoFAST32): Likewise.
13253 [C99-based-standards] (SCNuFAST32): Likewise.
13254 [C99-based-standards] (SCNxFAST32): Likewise.
13255 [C99-based-standards] (PRId64): Likewise.
13256 [C99-based-standards] (PRIi64): Likewise.
13257 [C99-based-standards] (PRIo64): Likewise.
13258 [C99-based-standards] (PRIu64): Likewise.
13259 [C99-based-standards] (PRIx64): Likewise.
13260 [C99-based-standards] (PRIX64): Likewise.
13261 [C99-based-standards] (SCNd64): Likewise.
13262 [C99-based-standards] (SCNi64): Likewise.
13263 [C99-based-standards] (SCNo64): Likewise.
13264 [C99-based-standards] (SCNu64): Likewise.
13265 [C99-based-standards] (SCNx64): Likewise.
13266 [C99-based-standards] (PRIdLEAST64): Likewise.
13267 [C99-based-standards] (PRIiLEAST64): Likewise.
13268 [C99-based-standards] (PRIoLEAST64): Likewise.
13269 [C99-based-standards] (PRIuLEAST64): Likewise.
13270 [C99-based-standards] (PRIxLEAST64): Likewise.
13271 [C99-based-standards] (PRIXLEAST64): Likewise.
13272 [C99-based-standards] (SCNdLEAST64): Likewise.
13273 [C99-based-standards] (SCNiLEAST64): Likewise.
13274 [C99-based-standards] (SCNoLEAST64): Likewise.
13275 [C99-based-standards] (SCNuLEAST64): Likewise.
13276 [C99-based-standards] (SCNxLEAST64): Likewise.
13277 [C99-based-standards] (PRIdFAST64): Likewise.
13278 [C99-based-standards] (PRIiFAST64): Likewise.
13279 [C99-based-standards] (PRIoFAST64): Likewise.
13280 [C99-based-standards] (PRIuFAST64): Likewise.
13281 [C99-based-standards] (PRIxFAST64): Likewise.
13282 [C99-based-standards] (PRIXFAST64): Likewise.
13283 [C99-based-standards] (SCNdFAST64): Likewise.
13284 [C99-based-standards] (SCNiFAST64): Likewise.
13285 [C99-based-standards] (SCNoFAST64): Likewise.
13286 [C99-based-standards] (SCNuFAST64): Likewise.
13287 [C99-based-standards] (SCNxFAST64): Likewise.
13288 [C99-based-standards] (PRIdMAX): Likewise.
13289 [C99-based-standards] (PRIiMAX): Likewise.
13290 [C99-based-standards] (PRIoMAX): Likewise.
13291 [C99-based-standards] (PRIuMAX): Likewise.
13292 [C99-based-standards] (PRIxMAX): Likewise.
13293 [C99-based-standards] (PRIXMAX): Likewise.
13294 [C99-based-standards] (SCNdMAX): Likewise.
13295 [C99-based-standards] (SCNiMAX): Likewise.
13296 [C99-based-standards] (SCNoMAX): Likewise.
13297 [C99-based-standards] (SCNuMAX): Likewise.
13298 [C99-based-standards] (SCNxMAX): Likewise.
13299 [C99-based-standards] (PRIdPTR): Likewise.
13300 [C99-based-standards] (PRIiPTR): Likewise.
13301 [C99-based-standards] (PRIoPTR): Likewise.
13302 [C99-based-standards] (PRIuPTR): Likewise.
13303 [C99-based-standards] (PRIxPTR): Likewise.
13304 [C99-based-standards] (PRIXPTR): Likewise.
13305 [C99-based-standards] (SCNdPTR): Likewise.
13306 [C99-based-standards] (SCNiPTR): Likewise.
13307 [C99-based-standards] (SCNoPTR): Likewise.
13308 [C99-based-standards] (SCNuPTR): Likewise.
13309 [C99-based-standards] (SCNxPTR): Likewise.
13310 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
13311 allow.
13312 * conform/data/stdint.h-data: Update comments to clarify
13313 requirements.
13314 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
13315 type.
13316 [C99-based standards] (INT8_MAX): Likewise.
13317 [C99-based standards] (INT16_MIN): Likewise.
13318 [C99-based standards] (INT16_MAX): Likewise.
13319 [C99-based standards] (INT32_MIN): Likewise.
13320 [C99-based standards] (INT32_MAX): Likewise.
13321 [C99-based standards] (INT64_MIN): Likewise.
13322 [C99-based standards] (INT64_MAX): Likewise.
13323 [C99-based standards] (UINT8_MAX): Likewise.
13324 [C99-based standards] (UINT16_MAX): Likewise.
13325 [C99-based standards] (UINT32_MAX): Likewise.
13326 [C99-based standards] (UINT64_MAX): Likewise.
13327 [C99-based standards] (INT_LEAST8_MIN): Likewise.
13328 [C99-based standards] (INT_LEAST8_MAX): Likewise.
13329 [C99-based standards] (INT_LEAST16_MIN): Likewise.
13330 [C99-based standards] (INT_LEAST16_MAX): Likewise.
13331 [C99-based standards] (INT_LEAST32_MIN): Likewise.
13332 [C99-based standards] (INT_LEAST32_MAX): Likewise.
13333 [C99-based standards] (INT_LEAST64_MIN): Likewise.
13334 [C99-based standards] (INT_LEAST64_MAX): Likewise.
13335 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
13336 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
13337 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
13338 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
13339 [C99-based standards] (INT_FAST8_MIN): Likewise.
13340 [C99-based standards] (INT_FAST8_MAX): Likewise.
13341 [C99-based standards] (INT_FAST16_MIN): Likewise.
13342 [C99-based standards] (INT_FAST16_MAX): Likewise.
13343 [C99-based standards] (INT_FAST32_MIN): Likewise.
13344 [C99-based standards] (INT_FAST32_MAX): Likewise.
13345 [C99-based standards] (INT_FAST64_MIN): Likewise.
13346 [C99-based standards] (INT_FAST64_MAX): Likewise.
13347 [C99-based standards] (UINT_FAST8_MAX): Likewise.
13348 [C99-based standards] (UINT_FAST16_MAX): Likewise.
13349 [C99-based standards] (UINT_FAST32_MAX): Likewise.
13350 [C99-based standards] (UINT_FAST64_MAX): Likewise.
13351 [C99-based standards] (INTPTR_MIN): Likewise.
13352 [C99-based standards] (INTPTR_MAX): Likewise.
13353 [C99-based standards] (UINTPTR_MAX): Likewise.
13354 [C99-based standards] (INTMAX_MIN): Likewise.
13355 [C99-based standards] (INTMAX_MAX): Likewise.
13356 [C99-based standards] (UINTMAX_MAX): Likewise.
13357 [C99-based standards] (PTRDIFF_MIN): Likewise.
13358 [C99-based standards] (PTRDIFF_MAX): Likewise.
13359 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
13360 [C99-based standards] (SIZE_MAX): Likewise.
13361 [C99-based standards] (WCHAR_MAX): Likewise.
13362 [C99-based standards] (WINT_MAX): Likewise.
13363 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
13364 constraint on value.
13365 [C99-based standards] (WCHAR_MIN): Likewise.
13366 [C99-based standards] (WINT_MIN): Likewise.
13367 [C99-based standards] (*_t): Allow.
13368 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
13369 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
13370 Include math.h-data and complex.h-data. Remove all expectations
13371 of math.h and complex.h contents.
13372 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
13373 at end of line.
13374 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
13375 (struct tm): Expect tag.
13376 [C99-based-standards] (wcstof): Expect function.
13377 [C99-based-standards] (wcstold): Likewise.
13378 [C99-based-standards] (wcstoll): Likewise.
13379 [C99-based-standards] (wcstoull): Likewise.
13380 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
13381 macro-int-constant. Specify type.
13382 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
13383 constraint on value.
13384 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13385 Specify type.
13386 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
13387 Specify value.
13388 [ISO C standards]: Do not allow headers.
13389 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
13390 wcs[abcdefghijklmnopqrstuvwxyz]*.
13391 [ISO C standards] (*_t): Do not allow.
13392 * conform/data/wctype.h-data [C99-based standards] (iswblank):
13393 Expect function.
13394 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
13395 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13396 Specify type.
13397 [ISO C standards]: Do not allow headers.
13398 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
13399 is[abcdefghijklmnopqrstuvwxyz]*.
13400 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
13401 to[abcdefghijklmnopqrstuvwxyz]*.
13402 [ISO C standards] (*_t): Do not allow.
13403 * conform/data/stdalign.h-data: New file.
13404 * conform/data/stdbool.h-data: Likewise.
13405 * conform/data/stdnoreturn.h-data: Likewise.
13406
7514feb8
RM
134072012-11-07 Roland McGrath <roland@hack.frob.com>
13408
13409 [BZ #14815]
13410 * manual/filesys.texi (Directory Entries): Typo fix.
13411 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
13412
19b2ecfc
MS
134132012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13414
13415 * elf/elf.h (EM_AARCH64): New macro.
13416 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
13417 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
13418 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
13419 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
13420 (R_AARCH64_TLSDESC): Likewise.
13421 (NT_ARM_TLS): Likewise.
13422 (NT_ARM_HW_BREAK): Likewise.
13423 (NT_ARM_HW_WATCH): Likewise.
13424
60e235ee
JM
134252012-11-07 Joseph Myers <joseph@codesourcery.com>
13426
13427 [BZ #14811]
13428 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
13429 (__ieee754_powl): Saturate nonzero exponents with absolute value
13430 below 0x1p-79 to +/- 0x1p-79.
13431 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
13432 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
13433 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
13434 nonzero exponents with absolute value below 0x1p-32 to +/-
13435 0x1p-32.
13436 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
13437 (__ieee754_powl): Saturate nonzero exponents with absolute value
13438 below 0x1p-79 to +/- 0x1p-79.
13439 * math/libm-test.inc (pow_test): Add more tests.
13440
0ab234b7
AK
134412012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13442
13443 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
13444 _dl_s390_cap_flags with kernel. Increase string length.
13445 (_dl_s390_platforms): Add z196 and zEC12.
13446
45832f74
JM
134472012-11-07 Joseph Myers <joseph@codesourcery.com>
13448
13449 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
13450 Change XOPEN21K to XOPEN2K.
13451
19218757
MK
134522012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
13453
13454 * string/memmove.c: Use memcpy when possible.
13455
c5f45721
AJ
134562012-11-06 Andreas Jaeger <aj@suse.de>
13457
13458 * po/eo.po: Update from translation team.
13459
82477c28
JM
134602012-11-06 Joseph Myers <joseph@codesourcery.com>
13461
13462 [BZ #14793]
13463 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
13464 exponent and small x and y exponents, scale x or y up. Increase
13465 by 2 the exponent used in scaling up.
13466 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13467 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13468 * math/libm-test.inc (fma_test): Add more tests.
13469 (fma_test_towardzero): Likewise.
13470 (fma_test_downward): Likewise.
13471 (fma_test_upward): Likewise.
13472
99252c8c
JM
134732012-11-05 Joseph Myers <joseph@codesourcery.com>
13474
acfa885f
JM
13475 [BZ #14805]
13476 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
13477 fenv_t *.
13478
99252c8c
JM
13479 [BZ #14801]
13480 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
13481 namespace for names of struct fields.
13482 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
13483 fenv_t fields.
13484 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
13485 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
13486
d6d98dea
ST
134872012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13488
13489 [BZ #3665]
13490 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
13491
e10bb107
TS
134922012-11-04 Thomas Schwinge <thomas@codesourcery.com>
13493
13494 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
13495 PTR_DEMANGLE.
13496
13497 [BZ #5246]
13498 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
13499 PTR_DEMANGLE.
13500
a0c2940d
JM
135012012-11-04 Joseph Myers <joseph@codesourcery.com>
13502
13503 [BZ #14797]
13504 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
13505 definitely overflow as x * y not x * y + z.
13506 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13507 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13508 * math/libm-test.inc (fma_test): Add more tests.
13509 (fma_test_towardzero): Likewise.
13510 (fma_test_downward): Likewise.
13511 (fma_test_upward): Likewise.
13512
b830319d
TS
135132012-11-04 Thomas Schwinge <thomas@codesourcery.com>
13514
13515 [BZ #157]
13516
13517 * include/stub-tag.h: Remove file.
13518 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
13519 '#include' of it.
13520 * manual/maint.texi (Porting): Don't reference it.
13521 * Makerules ($(objpfx)stubs): Likewise.
13522 * dirent/closedir.c: Don't include <stub-tag.h>.
13523 * dirent/dirfd.c: Likewise.
13524 * dirent/fdopendir.c: Likewise.
13525 * dirent/getdents.c: Likewise.
13526 * dirent/getdents64.c: Likewise.
13527 * dirent/opendir.c: Likewise.
13528 * dirent/readdir.c: Likewise.
13529 * dirent/readdir64.c: Likewise.
13530 * dirent/readdir64_r.c: Likewise.
13531 * dirent/readdir_r.c: Likewise.
13532 * dirent/rewinddir.c: Likewise.
13533 * dirent/seekdir.c: Likewise.
13534 * dirent/telldir.c: Likewise.
13535 * gmon/profil.c: Likewise.
13536 * grp/setgroups.c: Likewise.
13537 * inet/if_index.c: Likewise.
13538 * io/access.c: Likewise.
13539 * io/chdir.c: Likewise.
13540 * io/chmod.c: Likewise.
13541 * io/chown.c: Likewise.
13542 * io/close.c: Likewise.
13543 * io/dup.c: Likewise.
13544 * io/dup2.c: Likewise.
13545 * io/dup3.c: Likewise.
13546 * io/euidaccess.c: Likewise.
13547 * io/faccessat.c: Likewise.
13548 * io/fchdir.c: Likewise.
13549 * io/fchmod.c: Likewise.
13550 * io/fchmodat.c: Likewise.
13551 * io/fchown.c: Likewise.
13552 * io/fchownat.c: Likewise.
13553 * io/fcntl.c: Likewise.
13554 * io/flock.c: Likewise.
13555 * io/fstatfs.c: Likewise.
13556 * io/fstatfs64.c: Likewise.
13557 * io/fstatvfs.c: Likewise.
13558 * io/fstatvfs64.c: Likewise.
13559 * io/futimens.c: Likewise.
13560 * io/fxstat.c: Likewise.
13561 * io/fxstat64.c: Likewise.
13562 * io/fxstatat.c: Likewise.
13563 * io/fxstatat64.c: Likewise.
13564 * io/getcwd.c: Likewise.
13565 * io/isatty.c: Likewise.
13566 * io/lchmod.c: Likewise.
13567 * io/lchown.c: Likewise.
13568 * io/link.c: Likewise.
13569 * io/linkat.c: Likewise.
13570 * io/lseek.c: Likewise.
13571 * io/lseek64.c: Likewise.
13572 * io/lxstat64.c: Likewise.
13573 * io/mkdir.c: Likewise.
13574 * io/mkdirat.c: Likewise.
13575 * io/mkfifo.c: Likewise.
13576 * io/mkfifoat.c: Likewise.
13577 * io/open.c: Likewise.
13578 * io/open64.c: Likewise.
13579 * io/openat.c: Likewise.
13580 * io/openat64.c: Likewise.
13581 * io/pipe.c: Likewise.
13582 * io/pipe2.c: Likewise.
13583 * io/poll.c: Likewise.
13584 * io/posix_fadvise.c: Likewise.
13585 * io/posix_fadvise64.c: Likewise.
13586 * io/posix_fallocate.c: Likewise.
13587 * io/posix_fallocate64.c: Likewise.
13588 * io/read.c: Likewise.
13589 * io/readlink.c: Likewise.
13590 * io/readlinkat.c: Likewise.
13591 * io/rmdir.c: Likewise.
13592 * io/sendfile.c: Likewise.
13593 * io/sendfile64.c: Likewise.
13594 * io/statfs.c: Likewise.
13595 * io/statfs64.c: Likewise.
13596 * io/statvfs.c: Likewise.
13597 * io/statvfs64.c: Likewise.
13598 * io/symlink.c: Likewise.
13599 * io/symlinkat.c: Likewise.
13600 * io/ttyname.c: Likewise.
13601 * io/ttyname_r.c: Likewise.
13602 * io/umask.c: Likewise.
13603 * io/unlink.c: Likewise.
13604 * io/unlinkat.c: Likewise.
13605 * io/utime.c: Likewise.
13606 * io/utimensat.c: Likewise.
13607 * io/write.c: Likewise.
13608 * io/xmknod.c: Likewise.
13609 * io/xmknodat.c: Likewise.
13610 * io/xstat.c: Likewise.
13611 * io/xstat64.c: Likewise.
13612 * login/getpt.c: Likewise.
13613 * login/grantpt.c: Likewise.
13614 * login/unlockpt.c: Likewise.
13615 * math/e_acoshl.c: Likewise.
13616 * math/e_acosl.c: Likewise.
13617 * math/e_asinl.c: Likewise.
13618 * math/e_atan2l.c: Likewise.
13619 * math/e_atanhl.c: Likewise.
13620 * math/e_coshl.c: Likewise.
13621 * math/e_expl.c: Likewise.
13622 * math/e_fmodl.c: Likewise.
13623 * math/e_gammal_r.c: Likewise.
13624 * math/e_hypotl.c: Likewise.
13625 * math/e_j0l.c: Likewise.
13626 * math/e_j1l.c: Likewise.
13627 * math/e_jnl.c: Likewise.
13628 * math/e_lgammal_r.c: Likewise.
13629 * math/e_log10l.c: Likewise.
13630 * math/e_log2l.c: Likewise.
13631 * math/e_logl.c: Likewise.
13632 * math/e_powl.c: Likewise.
13633 * math/e_rem_pio2l.c: Likewise.
13634 * math/e_sinhl.c: Likewise.
13635 * math/e_sqrtl.c: Likewise.
13636 * math/fclrexcpt.c: Likewise.
13637 * math/fedisblxcpt.c: Likewise.
13638 * math/feenablxcpt.c: Likewise.
13639 * math/fegetenv.c: Likewise.
13640 * math/fegetexcept.c: Likewise.
13641 * math/fegetround.c: Likewise.
13642 * math/feholdexcpt.c: Likewise.
13643 * math/fesetenv.c: Likewise.
13644 * math/fesetround.c: Likewise.
13645 * math/feupdateenv.c: Likewise.
13646 * math/fgetexcptflg.c: Likewise.
13647 * math/fraiseexcpt.c: Likewise.
13648 * math/fsetexcptflg.c: Likewise.
13649 * math/ftestexcept.c: Likewise.
13650 * math/k_cosl.c: Likewise.
13651 * math/k_rem_pio2l.c: Likewise.
13652 * math/k_sinl.c: Likewise.
13653 * math/k_tanl.c: Likewise.
13654 * math/s_asinhl.c: Likewise.
13655 * math/s_atanl.c: Likewise.
13656 * math/s_cbrtl.c: Likewise.
13657 * math/s_erfl.c: Likewise.
13658 * math/s_expm1l.c: Likewise.
13659 * math/s_log1pl.c: Likewise.
13660 * math/s_tanhl.c: Likewise.
13661 * misc/acct.c: Likewise.
13662 * misc/brk.c: Likewise.
13663 * misc/chflags.c: Likewise.
13664 * misc/chroot.c: Likewise.
13665 * misc/fchflags.c: Likewise.
13666 * misc/fgetxattr.c: Likewise.
13667 * misc/flistxattr.c: Likewise.
13668 * misc/fremovexattr.c: Likewise.
13669 * misc/fsetxattr.c: Likewise.
13670 * misc/fsync.c: Likewise.
13671 * misc/ftruncate.c: Likewise.
13672 * misc/futimes.c: Likewise.
13673 * misc/futimesat.c: Likewise.
13674 * misc/getdomain.c: Likewise.
13675 * misc/getdtsz.c: Likewise.
13676 * misc/gethostid.c: Likewise.
13677 * misc/gethostname.c: Likewise.
13678 * misc/getloadavg.c: Likewise.
13679 * misc/getpagesize.c: Likewise.
13680 * misc/getsysstats.c: Likewise.
13681 * misc/getxattr.c: Likewise.
13682 * misc/gtty.c: Likewise.
13683 * misc/ioctl.c: Likewise.
13684 * misc/lgetxattr.c: Likewise.
13685 * misc/listxattr.c: Likewise.
13686 * misc/llistxattr.c: Likewise.
13687 * misc/lremovexattr.c: Likewise.
13688 * misc/lsetxattr.c: Likewise.
13689 * misc/lutimes.c: Likewise.
13690 * misc/madvise.c: Likewise.
13691 * misc/mincore.c: Likewise.
13692 * misc/mlock.c: Likewise.
13693 * misc/mlockall.c: Likewise.
13694 * misc/mmap.c: Likewise.
13695 * misc/mprotect.c: Likewise.
13696 * misc/msync.c: Likewise.
13697 * misc/munlock.c: Likewise.
13698 * misc/munlockall.c: Likewise.
13699 * misc/munmap.c: Likewise.
13700 * misc/preadv.c: Likewise.
13701 * misc/preadv64.c: Likewise.
13702 * misc/ptrace.c: Likewise.
13703 * misc/pwritev.c: Likewise.
13704 * misc/pwritev64.c: Likewise.
13705 * misc/readv.c: Likewise.
13706 * misc/reboot.c: Likewise.
13707 * misc/remap_file_pages.c: Likewise.
13708 * misc/removexattr.c: Likewise.
13709 * misc/revoke.c: Likewise.
13710 * misc/select.c: Likewise.
13711 * misc/setdomain.c: Likewise.
13712 * misc/setegid.c: Likewise.
13713 * misc/seteuid.c: Likewise.
13714 * misc/sethostid.c: Likewise.
13715 * misc/sethostname.c: Likewise.
13716 * misc/setregid.c: Likewise.
13717 * misc/setreuid.c: Likewise.
13718 * misc/setxattr.c: Likewise.
13719 * misc/sstk.c: Likewise.
13720 * misc/stty.c: Likewise.
13721 * misc/swapoff.c: Likewise.
13722 * misc/swapon.c: Likewise.
13723 * misc/sync.c: Likewise.
13724 * misc/syncfs.c: Likewise.
13725 * misc/syscall.c: Likewise.
13726 * misc/truncate.c: Likewise.
13727 * misc/ualarm.c: Likewise.
13728 * misc/usleep.c: Likewise.
13729 * misc/ustat.c: Likewise.
13730 * misc/utimes.c: Likewise.
13731 * misc/vhangup.c: Likewise.
13732 * misc/writev.c: Likewise.
13733 * posix/_exit.c: Likewise.
13734 * posix/alarm.c: Likewise.
13735 * posix/execve.c: Likewise.
13736 * posix/fexecve.c: Likewise.
13737 * posix/fork.c: Likewise.
13738 * posix/fpathconf.c: Likewise.
13739 * posix/getaddrinfo.c: Likewise.
13740 * posix/getegid.c: Likewise.
13741 * posix/geteuid.c: Likewise.
13742 * posix/getgid.c: Likewise.
13743 * posix/getgroups.c: Likewise.
13744 * posix/getlogin.c: Likewise.
13745 * posix/getlogin_r.c: Likewise.
13746 * posix/getpgid.c: Likewise.
13747 * posix/getpid.c: Likewise.
13748 * posix/getppid.c: Likewise.
13749 * posix/getresgid.c: Likewise.
13750 * posix/getresuid.c: Likewise.
13751 * posix/getsid.c: Likewise.
13752 * posix/getuid.c: Likewise.
13753 * posix/glob64.c: Likewise.
13754 * posix/nanosleep.c: Likewise.
13755 * posix/pathconf.c: Likewise.
13756 * posix/pause.c: Likewise.
13757 * posix/posix_madvise.c: Likewise.
13758 * posix/pread.c: Likewise.
13759 * posix/pread64.c: Likewise.
13760 * posix/pwrite.c: Likewise.
13761 * posix/pwrite64.c: Likewise.
13762 * posix/sched_getaffinity.c: Likewise.
13763 * posix/sched_getp.c: Likewise.
13764 * posix/sched_gets.c: Likewise.
13765 * posix/sched_primax.c: Likewise.
13766 * posix/sched_primin.c: Likewise.
13767 * posix/sched_rr_gi.c: Likewise.
13768 * posix/sched_setaffinity.c: Likewise.
13769 * posix/sched_setp.c: Likewise.
13770 * posix/sched_sets.c: Likewise.
13771 * posix/sched_yield.c: Likewise.
13772 * posix/setgid.c: Likewise.
13773 * posix/setlogin.c: Likewise.
13774 * posix/setpgid.c: Likewise.
13775 * posix/setresgid.c: Likewise.
13776 * posix/setresuid.c: Likewise.
13777 * posix/setsid.c: Likewise.
13778 * posix/setuid.c: Likewise.
13779 * posix/sleep.c: Likewise.
13780 * posix/spawni.c: Likewise.
13781 * posix/sysconf.c: Likewise.
13782 * posix/times.c: Likewise.
13783 * posix/wait.c: Likewise.
13784 * posix/wait3.c: Likewise.
13785 * posix/wait4.c: Likewise.
13786 * posix/waitpid.c: Likewise.
13787 * resolv/gai_sigqueue.c: Likewise.
13788 * resource/getpriority.c: Likewise.
13789 * resource/getrlimit.c: Likewise.
13790 * resource/getrusage.c: Likewise.
13791 * resource/nice.c: Likewise.
13792 * resource/setpriority.c: Likewise.
13793 * resource/setrlimit.c: Likewise.
13794 * resource/ulimit.c: Likewise.
13795 * rt/aio_cancel.c: Likewise.
13796 * rt/aio_fsync.c: Likewise.
13797 * rt/aio_read.c: Likewise.
13798 * rt/aio_sigqueue.c: Likewise.
13799 * rt/aio_suspend.c: Likewise.
13800 * rt/aio_write.c: Likewise.
13801 * rt/clock_getres.c: Likewise.
13802 * rt/clock_gettime.c: Likewise.
13803 * rt/clock_nanosleep.c: Likewise.
13804 * rt/clock_settime.c: Likewise.
13805 * rt/lio_listio.c: Likewise.
13806 * rt/mq_close.c: Likewise.
13807 * rt/mq_getattr.c: Likewise.
13808 * rt/mq_notify.c: Likewise.
13809 * rt/mq_open.c: Likewise.
13810 * rt/mq_receive.c: Likewise.
13811 * rt/mq_send.c: Likewise.
13812 * rt/mq_setattr.c: Likewise.
13813 * rt/mq_timedreceive.c: Likewise.
13814 * rt/mq_timedsend.c: Likewise.
13815 * rt/mq_unlink.c: Likewise.
13816 * rt/shm_open.c: Likewise.
13817 * rt/shm_unlink.c: Likewise.
13818 * rt/timer_create.c: Likewise.
13819 * rt/timer_delete.c: Likewise.
13820 * rt/timer_getoverr.c: Likewise.
13821 * rt/timer_gettime.c: Likewise.
13822 * rt/timer_settime.c: Likewise.
13823 * setjmp/__longjmp.c: Likewise.
13824 * setjmp/setjmp.c: Likewise.
13825 * signal/kill.c: Likewise.
13826 * signal/killpg.c: Likewise.
13827 * signal/raise.c: Likewise.
13828 * signal/sigaction.c: Likewise.
13829 * signal/sigaltstack.c: Likewise.
13830 * signal/sigblock.c: Likewise.
13831 * signal/sigignore.c: Likewise.
13832 * signal/sigintr.c: Likewise.
13833 * signal/signal.c: Likewise.
13834 * signal/sigpause.c: Likewise.
13835 * signal/sigpending.c: Likewise.
13836 * signal/sigqueue.c: Likewise.
13837 * signal/sigreturn.c: Likewise.
13838 * signal/sigset.c: Likewise.
13839 * signal/sigsetmask.c: Likewise.
13840 * signal/sigstack.c: Likewise.
13841 * signal/sigsuspend.c: Likewise.
13842 * signal/sigtimedwait.c: Likewise.
13843 * signal/sigvec.c: Likewise.
13844 * signal/sigwait.c: Likewise.
13845 * signal/sigwaitinfo.c: Likewise.
13846 * signal/sysv_signal.c: Likewise.
13847 * socket/accept.c: Likewise.
13848 * socket/accept4.c: Likewise.
13849 * socket/bind.c: Likewise.
13850 * socket/connect.c: Likewise.
13851 * socket/getpeername.c: Likewise.
13852 * socket/getsockname.c: Likewise.
13853 * socket/getsockopt.c: Likewise.
13854 * socket/isfdtype.c: Likewise.
13855 * socket/listen.c: Likewise.
13856 * socket/recv.c: Likewise.
13857 * socket/recvfrom.c: Likewise.
13858 * socket/recvmsg.c: Likewise.
13859 * socket/send.c: Likewise.
13860 * socket/sendmsg.c: Likewise.
13861 * socket/sendto.c: Likewise.
13862 * socket/setsockopt.c: Likewise.
13863 * socket/shutdown.c: Likewise.
13864 * socket/sockatmark.c: Likewise.
13865 * socket/socket.c: Likewise.
13866 * socket/socketpair.c: Likewise.
13867 * stdio-common/ctermid.c: Likewise.
13868 * stdio-common/cuserid.c: Likewise.
13869 * stdio-common/remove.c: Likewise.
13870 * stdio-common/rename.c: Likewise.
13871 * stdio-common/renameat.c: Likewise.
13872 * stdio-common/tempname.c: Likewise.
13873 * stdlib/getcontext.c: Likewise.
13874 * stdlib/makecontext.c: Likewise.
13875 * stdlib/setcontext.c: Likewise.
13876 * stdlib/swapcontext.c: Likewise.
13877 * stdlib/system.c: Likewise.
13878 * streams/fattach.c: Likewise.
13879 * streams/fdetach.c: Likewise.
13880 * streams/getmsg.c: Likewise.
13881 * streams/getpmsg.c: Likewise.
13882 * streams/putmsg.c: Likewise.
13883 * streams/putpmsg.c: Likewise.
13884 * sysdeps/unix/bsd/getpt.c: Likewise.
13885 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
13886 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
13887 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13889 Likewise.
13890 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
13891 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13892 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
13893 * sysvipc/msgctl.c: Likewise.
13894 * sysvipc/msgget.c: Likewise.
13895 * sysvipc/msgrcv.c: Likewise.
13896 * sysvipc/msgsnd.c: Likewise.
13897 * sysvipc/semctl.c: Likewise.
13898 * sysvipc/semget.c: Likewise.
13899 * sysvipc/semop.c: Likewise.
13900 * sysvipc/semtimedop.c: Likewise.
13901 * sysvipc/shmat.c: Likewise.
13902 * sysvipc/shmctl.c: Likewise.
13903 * sysvipc/shmdt.c: Likewise.
13904 * sysvipc/shmget.c: Likewise.
13905 * termios/tcdrain.c: Likewise.
13906 * termios/tcflow.c: Likewise.
13907 * termios/tcflush.c: Likewise.
13908 * termios/tcgetattr.c: Likewise.
13909 * termios/tcgetpgrp.c: Likewise.
13910 * termios/tcsendbrk.c: Likewise.
13911 * termios/tcsetattr.c: Likewise.
13912 * termios/tcsetpgrp.c: Likewise.
13913 * time/adjtime.c: Likewise.
13914 * time/clock.c: Likewise.
13915 * time/getitimer.c: Likewise.
13916 * time/gettimeofday.c: Likewise.
13917 * time/setitimer.c: Likewise.
13918 * time/settimeofday.c: Likewise.
13919 * time/stime.c: Likewise.
13920 * time/time.c: Likewise.
13921
139222012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 13923
a20492cf
PT
13924 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
13925 /usr/old/bin.
13926
72e182e3
PT
13927 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
13928 instead of spaces.
13929 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
13930
fbeafede
JM
139312012-11-03 Joseph Myers <joseph@codesourcery.com>
13932
5b5b04d6
JM
13933 [BZ #14796]
13934 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
13935 FE_TONEAREST before applying Dekker multiplication and Knuth
13936 addition. Clear inexact exceptions and check for exact zero
13937 results afterwards.
13938 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13939 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13940 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13941 * math/libm-test.inc (fma_test): Add more tests.
13942 (fma_test_towardzero): Likewise.
13943 (fma_test_downward): Likewise.
13944 (fma_test_upward): Likewise.
13945 * sysdeps/generic/math_private.h (default_libc_fesetround): New
13946 function.
13947 (libc_fesetround): New macro.
13948 (libc_fesetroundf): Likewise.
13949 (libc_fesetroundl): Likewise.
13950 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
13951 function.
13952 (libc_fesetround_387): Likewise.
13953 (libc_fesetroundf): New macro.
13954 (libc_fesetround): Likewise.
13955 (libc_fesetroundl): Likewise.
13956 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
13957 function.
13958 (libc_fesetroundf): New macro.
13959 (libc_fesetround): Likewise.
13960 (libc_fesetroundl): Likewise.
13961 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
13962 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
13963 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
13964 libm_hidden_ver.
13965 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
13966 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
13967 libm_hidden_def.
13968 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
13969 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
13970 libm_hidden_ver.
13971 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
13972 libm_hidden_def.
13973
fbeafede
JM
13974 [BZ #3439]
13975 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
13976 integer constant usable in #if and use that to give value to enum
13977 constant.
13978 (FE_DIVBYZERO): Likewise.
13979 (FE_UNDERFLOW): Likewise.
13980 (FE_OVERFLOW): Likewise.
13981 (FE_INVALID): Likewise.
13982 (FE_INVALID_SNAN): Likewise.
13983 (FE_INVALID_ISI): Likewise.
13984 (FE_INVALID_IDI): Likewise.
13985 (FE_INVALID_ZDZ): Likewise.
13986 (FE_INVALID_IMZ): Likewise.
13987 (FE_INVALID_COMPARE): Likewise.
13988 (FE_INVALID_SOFTWARE): Likewise.
13989 (FE_INVALID_SQRT): Likewise.
13990 (FE_INVALID_INTEGER_CONVERSION): Likewise.
13991 (FE_TONEAREST): Likewise.
13992 (FE_TOWARDZERO): Likewise.
13993 (FE_UPWARD): Likewise.
13994 (FE_DOWNWARD): Likewise.
13995 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
13996 (FE_DIVBYZERO): Likewise.
13997 (FE_OVERFLOW): Likewise.
13998 (FE_UNDERFLOW): Likewise.
13999 (FE_INEXACT): Likewise.
14000 (FE_TONEAREST): Likewise.
14001 (FE_DOWNWARD): Likewise.
14002 (FE_UPWARD): Likewise.
14003 (FE_TOWARDZERO): Likewise.
14004 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
14005 (FE_UNDERFLOW): Likewise.
14006 (FE_OVERFLOW): Likewise.
14007 (FE_DIVBYZERO): Likewise.
14008 (FE_INVALID): Likewise.
14009 (FE_TONEAREST): Likewise.
14010 (FE_TOWARDZERO): Likewise.
14011 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
14012 (FE_OVERFLOW): Likewise.
14013 (FE_UNDERFLOW): Likewise.
14014 (FE_DIVBYZERO): Likewise.
14015 (FE_INEXACT): Likewise.
14016 (FE_TONEAREST): Likewise.
14017 (FE_TOWARDZERO): Likewise.
14018 (FE_UPWARD): Likewise.
14019 (FE_DOWNWARD): Likewise.
14020 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
14021 (FE_DIVBYZERO): Likewise.
14022 (FE_OVERFLOW): Likewise.
14023 (FE_UNDERFLOW): Likewise.
14024 (FE_INEXACT): Likewise.
14025 (FE_TONEAREST): Likewise.
14026 (FE_DOWNWARD): Likewise.
14027 (FE_UPWARD): Likewise.
14028 (FE_TOWARDZERO): Likewise.
14029
105ca950
CM
140302012-11-02 Chris Metcalf <cmetcalf@tilera.com>
14031
14032 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
14033
a542b389
AS
140342012-11-03 Andreas Schwab <schwab@linux-m68k.org>
14035
14036 * scripts/cross-test-ssh.sh (command): Use newlines to separate
14037 commands. Quote $PWD.
14038 (blacklist_exports): Don't use remove_newlines. Replace "declare
14039 -x" by "export".
14040 (remove_newlines): Remove.
14041
f62c8abc
L
140422012-11-02 H.J. Lu <hongjiu.lu@intel.com>
14043
14044 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
14045 * stdlib/stdlib.h (atof): Moved to ...
14046 * include/bits/stdlib-float.h: Here. New file.
14047 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
14048 * stdlib/bits/stdlib-float.h: New file.
14049 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
14050 -mno-sse -mno-mmx.
14051 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
14052 <xmmintrin.h>.
14053
0155d5b2
JM
140542012-11-02 Joseph Myers <joseph@codesourcery.com>
14055
a68d0680
JM
14056 * conform/conformtest.pl (@headers): Add fenv.h.
14057 * conform/data/fenv.h-data: New file.
14058 * include/fenv.h [_ISOMAC]: Disable all contents of file except
14059 include of <math/fenv.h>.
14060
caf7f573
JM
14061 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
14062 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
14063 && !UNIX98]. Enables tests for XOPEN2K8.
14064 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
14065 POSIX2008]: Likewise.
14066
6c073ad6
JM
14067 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
14068 (struct rusage): Do not expect type or its members.
14069
0155d5b2
JM
14070 [BZ #3439]
14071 * math/math.h (FP_NAN): Define macro to integer constant usable in
14072 #if and use that to give value to enum constant.
14073 (FP_INFINITE): Likewise.
14074 (FP_ZERO): Likewise.
14075 (FP_SUBNORMAL): Likewise.
14076 (FP_NORMAL): Likewise.
14077
b5dcacb4
AS
140782012-11-02 Andreas Schwab <schwab@linux-m68k.org>
14079
14080 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
14081 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
14082 arguments.
14083
f7934be8
RM
140842012-11-02 Roland McGrath <roland@hack.frob.com>
14085
14086 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
14087 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
14088 autoconf-time if not.
14089 * configure.in: Remove AC_PREREQ.
14090
d7d08bde
TMQMF
140912012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14092
14093 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
14094 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
14095 of the internal implementation.
14096
dcdae19a
JM
140972012-11-02 Joseph Myers <joseph@codesourcery.com>
14098
14099 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
14100 except include of <misc/sys/syslog.h>.
14101
d6cffd3e
AS
141022012-11-01 Andreas Schwab <schwab@linux-m68k.org>
14103
14104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
14105 function returns with a NULL context exit with zero.
14106
b3563932
TMQMF
141072012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14108
14109 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
14110
b288a93d
L
141112012-11-01 H.J. Lu <hongjiu.lu@intel.com>
14112
14113 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
14114 (run_program_cmd): This.
14115 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
14116 (tst_langinfo): New variable. Use it.
14117
a2421a68
SAS
141182012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
14119
14120 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
14121 floating point opcodes.
14122
6f796e1b
TS
141232012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14124
7402596b
TS
14125 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
14126 variable.
14127
d0d4f868
TS
14128 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
14129
6f796e1b
TS
14130 * sysdeps/mach/hurd/powerpc: Remove directory.
14131 * sysdeps/mach/powerpc: Likewise.
14132
4da224a2
AS
141332012-11-01 Andreas Schwab <schwab@linux-m68k.org>
14134
14135 * scripts/check-local-headers.sh: Ignore c++ headers.
14136
341dd673
TS
141372012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14138
14139 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
14140 __libc_cleanup_region_start argument.
14141
473611b2
JM
141422012-11-01 Joseph Myers <joseph@codesourcery.com>
14143
14144 [BZ #14784]
14145 [BZ #14785]
14146 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
14147 x * y using scaling, not as x * y + z.
14148 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14149 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14150 * math/libm-test.inc (fma_test): Add more tests.
14151 (fma_test_towardzero): Likewise.
14152 (fma_test_downward): Likewise.
14153 (fma_test_upward): Likewise.
14154
4078da3d
TS
141552012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14156
14157 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
14158
903252aa
JM
141592012-10-31 Joseph Myers <joseph@codesourcery.com>
14160
14161 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
14162 New variable.
14163
cbc818d0
TS
141642012-10-31 Thomas Schwinge <thomas@codesourcery.com>
14165
14166 * rt/tst-shm.c (worker): Correct checking for mmap failure.
14167
5a03cb1e
AS
141682012-10-31 Andreas Schwab <schwab@linux-m68k.org>
14169
14170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14171 Fix sort order.
14172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14173 Likewise.
14174
90aff2ff
TMQMF
141752012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14176
14177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14178 Fix the order of the list for glibc 2.17.
14179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14180 Likewise.
14181
1818fcb7
AS
141822012-10-31 Andreas Schwab <schwab@linux-m68k.org>
14183
14184 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14185
ef82f4da
JM
141862012-10-31 Joseph Myers <joseph@codesourcery.com>
14187
16a0e2ec
JM
14188 [BZ #14610]
14189 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
14190 for low part of x being zero before using __atanl (y).
14191 * math/libm-test.inc (atan2_test): Add another test.
14192
0eb69512
JM
14193 * manual/install.texi (Configuring and compiling): Document
14194 general use of test-wrapper and test-wrapper-env.
14195 * INSTALL: Regenerated.
14196
ef82f4da
JM
14197 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
14198 (__fma): Do not extract and scale down low bits on after-rounding
14199 systems when result rounded to normal precision would have normal
14200 exponent.
14201 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
14202 (__fmal): Do not extract and scale down low bits on after-rounding
14203 systems when result rounded to normal precision would have normal
14204 exponent.
14205 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
14206 (__fmal): Do not extract and scale down low bits on after-rounding
14207 systems when result rounded to normal precision would have normal
14208 exponent.
14209 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
14210 macro.
14211 (fma_test): Add more tests.
14212 (fma_test_towardzero): Likewise.
14213 (fma_test_downward): Likewise.
14214 (fma_test_upward): Likewise.
14215
954ef0d9
L
142162012-10-30 H.J. Lu <hongjiu.lu@intel.com>
14217
14218 * sysdeps/i386/tininess.h: Renamed to ...
14219 * sysdeps/x86/tininess.h: This.
14220 * sysdeps/x86_64/tininess.h: Removed.
14221
df61ffb2
JM
142222012-10-30 Joseph Myers <joseph@codesourcery.com>
14223
14224 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
14225 input. Use $(build-program-cmd).
14226 ($(objpfx)tst-array1-static.out): Likewise.
14227 ($(objpfx)tst-array2.out): Likewise.
14228 ($(objpfx)tst-array3.out): Likewise.
14229 ($(objpfx)tst-array4.out): Likewise.
14230 ($(objpfx)tst-array5.out): Likewise.
14231 ($(objpfx)tst-array5-static.out): Likewise.
14232
01767843
CM
142332012-10-30 Chris Metcalf <cmetcalf@tilera.com>
14234
47cc1490
CM
14235 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
14236 if defined.
14237
01767843
CM
14238 * nss/nsswitch.h (nss_interface_function): Provide new
14239 macro for use with NSS functions.
14240 * grp/initgroups.c: Use new macro.
14241 * nss/getXXbyYY.c: Likewise.
14242 * nss/getXXbyYY_r.c: Likewise.
14243 * nss/getXXent.c: Likewise.
14244 * nss/getXXent_r.c: Likewise.
14245 * sysdeps/posix/getaddrinfo.c: Likewise.
14246
8321aa97
AJ
142472012-10-30 Andreas Jaeger <aj@suse.de>
14248
14249 * po/ru.po: Update Russion translation from translation project.
14250
2a27fd6d
JM
142512012-10-30 Joseph Myers <joseph@codesourcery.com>
14252
8627a232
JM
14253 [BZ #14152]
14254 [BZ #14783]
14255 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
14256 result and shift together with sticky bit instead of replicating
14257 round-to-nearest rounding.
14258 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14259 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14260 * math/libm-test.inc (fma_test): Add more tests. Do not permit
14261 missing underflow exceptions.
14262 (fma_test_towardzero): Add more tests.
14263 (fma_test_downward): Likewise.
14264 (fma_test_upward): Likewise.
14265
2a27fd6d
JM
14266 [BZ #14047]
14267 * sysdeps/generic/tininess.h: New file.
14268 * sysdeps/i386/tininess.h: Likewise.
14269 * sysdeps/sh/tininess.h: Likewise.
14270 * sysdeps/x86_64/tininess.h: Likewise.
14271 * stdlib/tst-strtod-underflow.c: Likewise.
14272 * stdlib/tst-tininess.c: Likewise.
14273 * stdlib/strtod_l.c: Include <tininess.h>.
14274 (round_and_return): Do not set errno for exact underflow cases.
14275 Force an underflow exception when setting errno for underflow.
14276 Determine underflow based on rounding to normal precision if
14277 TININESS_AFTER_ROUNDING.
14278 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
14279 ERANGE for exact underflow cases.
14280 * stdlib/Makefile (tests): Add tst-tininess and
14281 tst-strtod-underflow.
14282 ($(objpfx)tst-tininess): Use $(link-libm).
14283 ($(objpfx)tst-strtod-underflow): Likewise.
14284
e7170363
AJ
142852012-10-30 Andreas Jaeger <aj@suse.de>
14286
e5088dc6
AJ
14287 [BZ#14767]
14288 * elf/Makefile (tests): Remove conditional for have-initfini-array
14289 since this is now always required and the variable does not exist
14290 anymore.
14291 (tests-static): Likewise.
14292 (modules-names): Likewise.
14293
e7170363 14294 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
14295
14296 * elf/tst-array1.c (fini_array): Make writeable so that it can be
14297 merged with constructor/destructor.
14298 (init_array): Likewise.
14299 * elf/tst-array2dep.c (fini_array): Likewise.
14300 (init_array): Likewise.
14301
60457d8a
MF
143022012-10-29 Mike Frysinger <vapier@gentoo.org>
14303
14304 * manual/message.texi: Delete @cartouche tags.
14305
8bece752
PT
143062012-10-29 Pino Toscano <toscano.pino@tiscali.it>
14307
94ce799f
PT
14308 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
14309 EOPNOTSUPP.
14310 * sysdeps/mach/hurd/fsync.c: Likewise.
14311
8bece752
PT
14312 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
14313 [_POSIX_REALTIME_SIGNALS]: Change condition to
14314 [_POSIX_REALTIME_SIGNALS > 0].
14315
86ebe6b1
AJ
143162012-10-27 Andreas Jaeger <aj@suse.de>
14317
14318 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
14319 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
14320 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
14321 [__WORDSIZE != 64]: Likewise.
14322
54399c08
L
143232012-10-26 H.J. Lu <hongjiu.lu@intel.com>
14324
14325 * iconvdata/tst-table.sh: Remove ${SHELL}.
14326 * iconvdata/tst-tables.sh: Likewise.
14327
e2211bed
DM
143282012-10-25 David S. Miller <davem@davemloft.net>
14329
14330 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14331 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
14332 of strtoull.
14333
f303f97c
DM
14334 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
14335 ifunc-impl-list.c
14336 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14337 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
14338 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
14339 file.
14340
1e9d84cd
RM
143412012-10-25 Roland McGrath <roland@hack.frob.com>
14342
14343 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14344 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
14345 __getdirentries.
14346
df381762
JM
143472012-10-25 Joseph Myers <joseph@codesourcery.com>
14348 Jim Blandy <jimb@codesourcery.com>
14349
14350 * scripts/cross-test-ssh.sh: New file.
14351 * manual/install.texi (Configuring and compiling): Document use of
14352 cross-test-ssh.sh.
14353 * INSTALL: Regenerated.
14354
bff64913
PT
143552012-10-25 Pino Toscano <toscano.pino@tiscali.it>
14356
14357 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
14358 EOPNOTSUPP.
14359
25fe8932
JM
143602012-10-25 Joseph Myers <joseph@codesourcery.com>
14361
14362 * Makeconfig (run-program-prefix): Fix comment.
14363
cc1290d0
JM
143642012-10-24 Joseph Myers <joseph@codesourcery.com>
14365 Jim Blandy <jimb@codesourcery.com>
14366
14367 * Makeconfig (test-wrapper): New variable,
14368 (test-wrapper-env): Likewise.
14369 [$(cross-compiling) = yes && $(test-wrapper) != ""]
14370 (run-built-tests): Define to yes.
14371 (run-program-prefix): Use $(test-wrapper).
14372 (built-program-cmd): Likewise.
14373 * Rules (make-test-out): Use $(test-wrapper-env) and
14374 $(host-built-program-cmd).
14375 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
14376 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
14377 tst-pathopt.sh.
14378 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
14379 $(test-wrapper-env) to tst-rtld-load-self.sh.
14380 ($(objpfx)order2.out): Use $(test-wrapper).
14381 ($(objpfx)tst-initorder.out): Likewise.
14382 ($(objpfx)tst-initorder2.out): Likewise.
14383 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
14384 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
14385 (test_wrapper_env): New variable. Use it to run ld.so.
14386 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
14387 Use it to run ld.so.
14388 (test_wrapper_env): Likewise.
14389 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
14390 $(test-wrapper) to run-iconv-test.sh.
14391 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
14392 (ICONV): Use $test_wrapper.
14393 * posix/Makefile ($(objpfx)globtest.out): Pass
14394 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
14395 globtest.sh, not $(run-program-prefix).
14396 * posix/globtest.sh (run_via_rtld_prefix): New variable.
14397 (test_wrapper): Likewise.
14398 (test_wrapper_env): Likewise. Use it to run globtest with HOME
14399 set together with run_via_rtld_prefix.
14400 (run_program_prefix): Define in terms of test_wrapper and
14401 run_via_rtld_prefix.
14402
6e6249d0
RM
144032012-10-24 Roland McGrath <roland@hack.frob.com>
14404
14405 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
14406 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
14407 Targets removed.
14408
14409 [BZ #14743]
14410 * include/time.h: Remove librt_hidden_proto (clock_gettime).
14411 Declare __clock_getres, __clock_gettime, __clock_settime,
14412 __clock_nanosleep, and __clock_getcpuclockid.
14413 * rt/clock_gettime.c: Define __clock_gettime as an alias.
14414 Remove librt_hidden_def (clock_gettime).
14415 * sysdeps/unix/clock_gettime.c: Likewise.
14416 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
14417 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14418 * rt/clock_getres.c: Define __clock_getres as an alias.
14419 * sysdeps/posix/clock_getres.c: Likewise.
14420 * rt/clock_settime.c: Define __clock_settime as an alias.
14421 * sysdeps/unix/clock_settime.c: Likewise.
14422 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
14423 * sysdeps/unix/clock_nanosleep.c: Likewise.
14424 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14425 * rt/clock-compat.c: New file.
14426 * rt/Makefile (librt-routines): Add clock-compat and move
14427 $(clock-routines) to ...
14428 (routines): ... here, new variable.
14429 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
14430 Don't add get_clockfreq here.
14431 * rt/Versions (libc: GLIBC_2.17): New version set.
14432 Add clock_* symbols here.
14433 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
14434 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
14435 (GLIBC_2.17): Add clock_* symbols.
14436 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14437 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14438 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14440 Likewise.
14441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14442 Likewise.
14443 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14444 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
14445 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14446 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14447 * NEWS: Mention the move.
14448
14449 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
14450 Use __open, __read, __close rather than their public counterparts.
14451 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14452 (__get_clockfreq_via_cpuinfo): Likewise.
14453 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
14454 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
14455
14456 * config.h.in (HAVE_IFUNC): New #undef.
14457 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
14458 was successful.
14459 * configure: Regenerated.
14460
0cae3f4b
MF
144612012-10-24 Mike Frysinger <vapier@gentoo.org>
14462
14463 * configure.in: Move READELF check to start of file.
14464 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
14465 libc_cv_asm_gnu_indirect_function in the process.
14466 * configure: Regenerated.
14467
8175a253
MF
144682012-10-24 Mike Frysinger <vapier@gentoo.org>
14469
14470 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
14471 send the output to /dev/null.
14472 (libc_cv_cc_with_libunwind): Likewise.
14473 (libc_cv_as_noexecstack): Likewise.
14474 * configure: Regenerate.
14475
0708a7d1
JM
144762012-10-24 Joseph Myers <joseph@codesourcery.com>
14477
10b40d85
JM
14478 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
14479
0708a7d1
JM
14480 * posix/globtest.sh (TMPDIR): Do not set.
14481 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
14482 (testout): Likewise.
14483
9fddec1a
AJ
144842012-10-24 Andreas Jaeger <aj@suse.de>
14485
3a8db22f
AJ
14486 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
14487 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
14488 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
14489 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
14490 posix_fadvise64, posix_fallocate64.
14491
9fddec1a
AJ
14492 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
14493 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
14494 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
14495 Likewise.
14496 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
14497 Likewise.
14498 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
14499
14500 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
14501 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
14502 <bits/fcntl-linux.h>.
14503 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
14504
14505 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
14506 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
14507 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
14508 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
14509 [__WORDSIZE != 64]: Likewise.
14510
ebfd1bbd
JM
145112012-10-23 Joseph Myers <joseph@codesourcery.com>
14512
03ac099f
JM
14513 * Makeconfig (run-built-tests): New variable.
14514 * Rules [$(cross-compiling) = yes]: Change condition to
14515 [$(run-built-tests) = no].
14516 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
14517 to [$(run-built-tests) = yes].
14518 * elf/Makefile [$(cross-compiling) = no]: Likewise
14519 * grp/Makefile [$(cross-compiling) = no]: Likewise.
14520 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
14521 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
14522 * intl/Makefile [$(cross-compiling) = no]: Likewise.
14523 * io/Makefile [$(cross-compiling) = no]: Likewise.
14524 * libio/Makefile [$(cross-compiling) = no]: Likewise.
14525 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
14526 * misc/Makefile [$(cross-compiling) = no]: Likewise.
14527 * posix/Makefile [$(cross-compiling) = no]: Likewise.
14528 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
14529 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
14530 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
14531 * string/Makefile [$(cross-compiling) = no]: Likewise.
14532
ebfd1bbd
JM
14533 * posix/Makefile ($(objpfx)globtest.out): Pass
14534 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
14535 $(rtld-installed-name).
14536 * posix/globtest.sh (elf_objpfx): Remove variable.
14537 (rtld_installed_name): Likewise.
14538 (library_path): Likewise.
14539 (run_program_prefix): New variable. Use for running globtest
14540 binary.
14541
166bca24
JB
145422012-10-23 Jim Blandy <jimb@codesourcery.com>
14543 Joseph Myers <joseph@codesourcery.com>
14544
14545 * Makeconfig (host-built-program-cmd): New variable.
14546 * elf/Makefile (tst-stackguard1-ARGS): Use
14547 $(host-built-program-cmd).
14548 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
14549 (tst-spawn-ARGS): Likewise.
14550 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
14551
88866099
JM
145522012-10-23 Joseph Myers <joseph@codesourcery.com>
14553 Jim Blandy <jimb@codesourcery.com>
14554
14555 * Makeconfig (run-via-rtld-prefix): New variable.
14556 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
14557 (built-program-cmd): Likewise.
14558
b4b4c296
AJ
145592012-10-22 Andreas Jaeger <aj@suse.de>
14560
14561 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
14562 __O_RSYNC if it exists, otherwise to O_SYNC.
14563
6fb54a22
JB
145642012-10-22 Jim Blandy <jimb@codesourcery.com>
14565 Joseph Myers <joseph@codesourcery.com>
14566
14567 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
14568 /dev/null.
14569 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
14570 from /dev/null
14571 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
14572 /dev/null.
14573
481b90b9
AJ
145742012-10-22 Andreas Jaeger <aj@suse.de>
14575
2a0e2669
AJ
14576 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
14577 Define always.
14578 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
14579
76e38f9a
AJ
14580 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14581 bits/fcntl-linux.h.
14582
7cd37b43
AJ
14583 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
14584 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
14585
481b90b9
AJ
14586 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
14587 to __O_LARGEFILE.
14588 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
14589 to __O_LARGEFILE.
14590
aba75984
JB
145912012-10-21 Jim Blandy <jimb@codesourcery.com>
14592 Joseph Myers <joseph@codesourcery.com>
14593
14594 * config.make.in (NM): New variable.
14595
88d4247f
AJ
145962012-10-21 Andreas Jaeger <aj@suse.de>
14597
14598 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
14599 definitions and declarations that are provided by
14600 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14601
f2eed205
L
146022012-10-20 H.J. Lu <hongjiu.lu@intel.com>
14603
14604 [BZ #14683]
14605 * elf/Makefile (tests-static): Add tst-leaks1-static.
14606 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
14607 ($(objpfx)tst-leaks1-static): New rule.
14608 ($(objpfx)tst-leaks1-static-mem): Likewise.
14609 (tst-leaks1-static-ENV): New macro.
14610 * elf/dl-open.c (dl_open_worker): Check the main application
14611 only if SHARED is defined.
14612 * elf/tst-leaks1-static.c: New file.
14613
335e6931
AJ
146142012-10-20 Andreas Jaeger <aj@suse.de>
14615
14616 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
14617 generic values for Linux.
14618 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
14619 and declarations that are provided by <bits/fcntl-linux.h> and
14620 include <bits/fcntl-linux.h>.
14621 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14622 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14623
ac5c94d3
RM
146242012-10-20 Roland McGrath <roland@hack.frob.com>
14625
14626 * io/fcntl.h: Move include of <bits/types.h> to the top and
14627 include it unconditionally.
14628
de54b33a
L
146292012-10-20 H.J. Lu <hongjiu.lu@intel.com>
14630
228cfb01
L
14631 * wcsmbs/Makefile (tests-ifunc): New variable.
14632 (tests): Add $(tests-ifunc).
14633 * wcsmbs/test-wcschr-ifunc.c: New file.
14634 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
14635 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
14636 * wcsmbs/test-wcslen-ifunc.c: Likewise.
14637 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
14638 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
14639
69f07e5f
L
14640 * string/Makefile (tests-ifunc): New variable.
14641 (tests): Add $(tests-ifunc).
14642 * string/test-memccpy.c (TEST_NAME): New macro.
14643 * string/test-memchr.c (TEST_NAME): Likewise.
14644 * string/test-memcmp.c (TEST_NAME): Likewise.
14645 * string/test-memcpy.c (TEST_NAME): Likewise.
14646 * string/test-memmem.c (TEST_NAME): Likewise.
14647 * string/test-memmove.c (TEST_NAME): Likewise.
14648 * string/test-memset.c (TEST_NAME): Likewise.
14649 * string/test-rawmemchr.c (TEST_NAME): Likewise.
14650 * string/test-stpcpy.c (TEST_NAME): Likewise.
14651 * string/test-stpncpy.c (TEST_NAME): Likewise.
14652 * string/test-strcasecmp.c (TEST_NAME): Likewise.
14653 * string/test-strcasestr.c (TEST_NAME): Likewise.
14654 * string/test-strcat.c (TEST_NAME): Likewise.
14655 * string/test-strchr.c (TEST_NAME): Likewise.
14656 * string/test-strcmp.c(TEST_NAME): Likewise.
14657 * string/test-strcpy.c (TEST_NAME): Likewise.
14658 * string/test-strcspn.c (TEST_NAME): Likewise.
14659 * string/test-strlen.c (TEST_NAME): Likewise.
14660 * string/test-strncasecmp.c (TEST_NAME): Likewise.
14661 * string/test-strncmp.c (TEST_NAME): Likewise.
14662 * string/test-strncpy.c (TEST_NAME): Likewise.
14663 * string/test-strnlen.c (TEST_NAME): Likewise.
14664 * string/test-strpbrk.c (TEST_NAME): Likewise.
14665 * string/test-strrchr.c (TEST_NAME): Likewise.
14666 * string/test-strspn.c (TEST_NAME): Likewise.
14667 * string/test-strstr.c (TEST_NAME): Likewise.
14668 * string/test-bcopy-ifunc.c: New file.
14669 * string/test-bzero-ifunc.c: Likewise.
14670 * string/test-memccpy-ifunc.c: Likewise.
14671 * string/test-memchr-ifunc.c: Likewise.
14672 * string/test-memcmp-ifunc.c: Likewise.
14673 * string/test-memcpy-ifunc.c: Likewise.
14674 * string/test-memmem-ifunc.c: Likewise.
14675 * string/test-memmove-ifunc.c: Likewise.
14676 * string/test-mempcpy-ifunc.c: Likewise.
14677 * string/test-memset-ifunc.c: Likewise.
14678 * string/test-rawmemchr-ifunc.c: Likewise.
14679 * string/test-stpcpy-ifunc.c: Likewise.
14680 * string/test-stpncpy-ifunc.c: Likewise.
14681 * string/test-strcasecmp-ifunc.c: Likewise.
14682 * string/test-strcasestr-ifunc.c: Likewise.
14683 * string/test-strcat-ifunc.c: Likewise.
14684 * string/test-strchr-ifunc.c: Likewise.
14685 * string/test-strchrnul-ifunc.c: Likewise.
14686 * string/test-strcmp-ifunc.c: Likewise.
14687 * string/test-strcpy-ifunc.c: Likewise.
14688 * string/test-strcspn-ifunc.c: Likewise.
14689 * string/test-strlen-ifunc.c: Likewise.
14690 * string/test-strncasecmp-ifunc.c: Likewise.
14691 * string/test-strncat-ifunc.c: Likewise.
14692 * string/test-strncmp-ifunc.c: Likewise.
14693 * string/test-strncpy-ifunc.c: Likewise.
14694 * string/test-strnlen-ifunc.c: Likewise.
14695 * string/test-strpbrk-ifunc.c: Likewise.
14696 * string/test-strrchr-ifunc.c: Likewise.
14697 * string/test-strspn-ifunc.c: Likewise.
14698 * string/test-strstr-ifunc.c: Likewise.
14699
de54b33a
L
14700 * debug/Makefile (tests-ifunc): New variable.
14701 (tests): Add $(tests-ifunc).
14702 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
14703 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
14704 * debug/test-stpcpy_chk-ifunc.c: New file.
14705 * debug/test-strcpy_chk-ifunc.c: Likewise.
14706
88481c16
SP
147072012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14708
14709 [BZ #13601]
14710 * elf/dl-load.c (open_verify): Retry read if the entire ELF
14711 header is not read in.
14712
135948bd
JM
147132012-10-19 Joseph Myers <joseph@codesourcery.com>
14714
89f1c388
JM
14715 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
14716 script to $(SHELL) as $<. Pass $(common-objpfx) to script
14717 directly. Pass built executable to script as
14718 $(built-program-cmd).
14719 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
14720 $testprogram without using LD_LIBRARY_PATH and $ldso.
14721
e40a0d21
JM
14722 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
14723 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
14724 $(rtld-installed-name).
14725 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
14726 (rtld_installed_name): Likewise.
14727 (library_path): Likewise.
14728 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
14729 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
14730 $(run-program-prefix) to tst-tables.sh.
14731 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
14732 it to run tst-table-from and tst-table-to.
14733 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
14734 Pass it to tst-table.sh.
14735 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
14736 $(run-program-prefix) to tst-gettext.sh.
14737 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
14738 tst-translit.sh.
14739 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
14740 tst-gettext2.sh.
14741 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
14742 to run tst-gettext.
14743 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
14744 to run tst-gettext2.
14745 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
14746 to run tst-translit.
14747 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
14748 $(run-program-prefix) to tst-mtrace.sh.
14749 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
14750 to run tst-mtrace.
14751 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
14752 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
14753 $(rtld-installed-name).
14754 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
14755 (rtld_installed_name): Likewise.
14756 (run_program_prefix): New variable. Use it to run wordexp-test.
14757
728e272a
JM
14758 * Makeconfig (ARCH): Remove all definitions.
14759 (machine): Likewise.
14760 [ARCH]: Remove conditional code.
14761 [!objdir]: Give error.
14762 [!objdir] (objpfx): Remove.
14763 [!objdir] (common-objpfx): Likewise.
14764 [!objdir] (common-objdir): Likewise.
14765 * configure.in (config_makefile): Remove. Hardcode Makefile in
14766 AC_CONFIG_FILES call.
14767 * configure: Regenerated.
14768
d528cdcf
JM
14769 [BZ #13888]
14770 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
14771 or TMPDIR.
14772 (testout): Likewise.
14773
135948bd
JM
14774 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
14775 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
14776 $(rtld-installed-name).
14777 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
14778 (rtld_installed_name): Likwise.
14779 (runit): Remove function.
14780 (run_getconf): New variable, Use it for running getconf binary.
14781
38c78296
L
147822012-10-18 H.J. Lu <hongjiu.lu@intel.com>
14783
14784 [BZ #14716]
14785 * string/test-memmem.c (check_result): New function.
14786 (do_one_test): Use it.
14787 (check1): New function.
14788 (test_main): Use it.
14789
d077f65f
MT
147902012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
14791
14792 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
14793
ced52c71
JM
147942012-10-18 Joseph Myers <joseph@codesourcery.com>
14795
14796 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
14797 (_G_LSEEK64): Likewise.
14798 (_G_MMAP64): Likewise.
14799 (_G_FSTAT64): Likewise.
14800 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
14801 (_G_LSEEK64): Likewise.
14802 (_G_MMAP64): Likewise.
14803 (_G_FSTAT64): Likewise.
14804 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
14805 unconditional. Call __mmap64 directly.
14806 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
14807 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
14808 __lseek64 directly.
14809 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
14810 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
14811 __mmap64 directly.
14812 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
14813 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
14814 __lseek64 directly.
14815 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
14816 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
14817 __lseek64 directly.
14818 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
14819 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
14820 __lseek64 directly.
14821 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
14822 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
14823 __fxstat64 directly.
14824 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
14825 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
14826 unconditional.
14827 (freopen64) [!_G_OPEN64]: Remove conditional code.
14828 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
14829 unconditional.
14830 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
14831 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
14832 unconditional.
14833 (ftello64) [!_G_LSEEK64]: Remove conditional code.
14834 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
14835 unconditional.
14836 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14837 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
14838 unconditional.
14839 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
14840 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
14841 unconditional.
14842 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14843 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
14844 unconditional.
14845 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14846 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
14847 unconditional.
14848 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14849
b741de23
SP
148502012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14851
14852 [BZ #12140]
14853 * manual/memory.texi (Malloc Tunable Parameters): Add note
14854 about free list pointers overwriting some perturb bytes.
14855 Wording suggested by Roland McGrath.
14856
f9b9d9c9
JM
148572012-10-17 Joseph Myers <joseph@codesourcery.com>
14858
14859 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
14860 (lgamma_test): Likewise.
14861 (tgamma_test): Likewise.
14862
172a631a
FW
148632012-10-16 Florian Weimer <fweimer@redhat.com>
14864
14865 [BZ #14700]
14866 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
14867 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
14868
e9f37252
MK
148692012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
14870
14871 * NEWS: Mention BZ #14716.
14872 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
14873 when removing AVAILABLE1_USES_J macro.
14874
d394eb74
L
148752012-10-12 H.J. Lu <hongjiu.lu@intel.com>
14876
14877 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
14878 (__bswap_64): __uint64_t for unsigned 64-bit int.
14879
ca38dc17
AS
148802012-10-12 Andreas Schwab <schwab@linux-m68k.org>
14881
14882 * include/string.h (memmem): Declare libc hidden alias.
14883 * string/memmem.c (memmem): Define libc hidden alias.
14884 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
14885 __read, __close instead of open, read, close.
14886
9a387d1f
L
148872012-10-11 H.J. Lu <hongjiu.lu@intel.com>
14888
ac49ecaf
L
14889 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
14890 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
14891 global and hidden.
14892 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
14893 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
14894 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
14895 Likewise.
14896 (__rawmemchr_sse2): Likewise.
14897 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
14898 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
14899 (__strchr_sse2): Likewise.
14900 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
14901 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
14902 (__strcasecmp_sse2): Likewise.
14903 (__strncasecmp_sse2): Likewise.
14904 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
14905 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
14906 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
14907 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
14908 (__strrchr_sse2): Likewise.
14909 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
14910 ifunc-impl-list.c.
14911 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14912 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14913 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14914 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14915 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14916 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14917 * sysdeps/x86_64/multiarch/memset.S: Likewise.
14918 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14919 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
14920 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
14921 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
14922 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
14923 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
14924 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14925 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14926 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14927 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14928 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14929 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
14930 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
14931 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
14932 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
14933 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
14934 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
14935 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
14936 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14937 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14938 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14939 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14940 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14941
b090e8ea
L
14942 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
14943 global and hidden.
14944 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
14945 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
14946 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
14947 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
14948 Likewise.
14949 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
14950 Likewise.
14951 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
14952 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
14953 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
14954 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
14955 ifunc-impl-list.c.
14956 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14957 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14958 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14959 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14960 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14961 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14962 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14963 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14964 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14965 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14966 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14967 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14968 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14969 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
14970 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
14971 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14972 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
14973 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
14974 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14975 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14976 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14977 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14978 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14979 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14980 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14981 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
14982 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
14983 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
14984 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
14985 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14986 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
14987 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14988 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14989 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
14990 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14991 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14992 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14993 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14994 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14995 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14996 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
14997
11dd4af6
L
14998 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
14999 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
15000 * include/ifunc-impl-list.h: New file.
15001 * misc/ifunc-impl-list.c: Likewise.
15002 * misc/Makefile (routines): Add ifunc-impl-list.
15003 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
15004 * string/test-string.h: Include <ifunc-impl-list.h>.
15005 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
15006 impl_array): New variables.
15007 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
15008 are defined.
15009 (test_init): Call __libc_ifunc_impl_list to initialize
15010 func_list if TEST_IFUNC and TEST_NAME are defined.
15011
9a387d1f
L
15012 * string/Makefile (strop-tests): Add bcopy and bzero.
15013 * string/test-bcopy.c: New file.
15014 * string/test-bzero.c: Likewise.
15015 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
15016 defined.
15017 * string/test-memset.c: Support bzero test if TEST_BZERO is
15018 defined.
15019 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
15020 __libc_memmove.
15021 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
15022 __libc_memset.
15023 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
15024 of memset.
15025
472371b9
JM
150262012-10-10 Joseph Myers <joseph@codesourcery.com>
15027
1e4a9536
JM
15028 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
15029 * configure: Regenerated.
15030
d173d12e
JM
15031 * Makeconfig (+link-static-before-libc): Don't include
15032 $(link-static-libc).
15033
472371b9
JM
15034 * libio/libio.h (_IO_pos_t): Remove.
15035
89a3ad0b
AO
150362012-10-10 Alexandre Oliva <aoliva@redhat.com>
15037
15038 * NEWS: Add note about FIPS mode. Wording suggested by Roland
15039 McGrath.
15040
e7451425
AO
150412012-10-10 Alexandre Oliva <aoliva@redhat.com>
15042
15043 * crypt/crypt-entry.c: Include fips-private.h.
15044 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
15045 * crypt/md5c-test.c (main): Tolerate disabled MD5.
15046 * sysdeps/unix/sysv/linux/fips-private.h: New file.
15047 * sysdeps/generic/fips-private.h: New file, dummy fallback.
15048
4ba74a35
AO
150492012-10-10 Alexandre Oliva <aoliva@redhat.com>
15050
15051 * crypt/crypt-private.h: Include stdbool.h.
15052 (_ufc_setup_salt_r): Return bool.
15053 * crypt/crypt-entry.c: Include errno.h.
15054 (__crypt_r): Return NULL with EINVAL for bad salt.
15055 * crypt/crypt_util.c (bad_for_salt): New.
15056 (_ufc_setup_salt_r): Check that salt is long enough and within
15057 the specified alphabet.
15058 * crypt/badsalttest.c: New file.
15059 * crypt/Makefile (tests): Add it.
15060 ($(objpfx)badsalttest): New.
15061
f96f1242
MK
150622012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
15063
15064 * NEWS: Add entry for BZ #14602.
15065
0e8e0c1c
JM
150662012-10-09 Joseph Myers <joseph@codesourcery.com>
15067
15068 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
15069 type-generic.
15070 * math/libm-test.inc: Update comment listing what functions and
15071 macros are tested.
15072 (isgreater_test): New function.
15073 (isgreaterequal_test): Likewise.
15074 (isless_test): Likewise.
15075 (islessequal_test): Likewise.
15076 (islessgreater_test): Likewise.
15077 (isunordered_test): Likewise.
15078 (main): Call the new functions.
15079
273edc5e
RM
150802012-10-09 Roland McGrath <roland@hack.frob.com>
15081
b8493de0
RM
15082 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
15083 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
15084 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
15085 * sysdeps/i386/configure: Regenerated.
15086 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
15087 * sysdeps/mach/configure: Regenerated.
15088 * sysdeps/mach/hurd/configure: Regenerated.
15089 * sysdeps/powerpc/configure: Regenerated.
15090 * sysdeps/powerpc/powerpc32/configure: Regenerated.
15091 * sysdeps/powerpc/powerpc64/configure: Regenerated.
15092 * sysdeps/s390/s390-32/configure: Regenerated.
15093 * sysdeps/s390/s390-64/configure: Regenerated.
15094 * sysdeps/sh/configure: Regenerated.
15095 * sysdeps/sparc/configure: Regenerated.
15096 * sysdeps/unix/sysv/linux/configure: Regenerated.
15097 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
15098 * sysdeps/x86_64/configure: Regenerated.
15099
273edc5e
RM
15100 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
15101 defined. Don't check if MAP is NULL.
15102
c8450f70
JM
151032012-10-09 Joseph Myers <joseph@codesourcery.com>
15104
15105 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
15106 (_G_stat64): Likewise.
15107 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
15108 (_G_stat64): Likewise.
15109 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
15110 instead of struct _G_stat64.
15111 * libio/fileops.c (mmap_remap_check): Likewise.
15112 (decide_maybe_mmap): Likewise.
15113 (_IO_new_file_seekoff): Likewise.
15114 (_IO_file_stat): Likewise.
15115 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
15116 _G_off64_t.
15117 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
15118 instead of struct _G_stat64.
15119 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15120
57e605ba
MK
151212012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
15122
15123 [BZ #14602]
15124 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15125 Replace with ...
15126 (CHECK_EOL): New macro.
15127 (two_way_short_needle): Check beginning of haystack for EOL. Use
15128 CHECK_EOL.
15129 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15130 Replace with CHECK_EOL.
15131 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15132 Replace with CHECK_EOL.
15133
ef1bb361
JM
151342012-10-08 Joseph Myers <joseph@codesourcery.com>
15135
15136 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
15137 type-generic.
15138 * math/libm-test.inc: Update comment listing what functions and
15139 macros are tested.
15140 (finite_test): New function.
15141 (isinf_test): Likewise.
15142 (isnan_test): Likewise.
15143 (fpclassify_test): Test subnormal input.
15144 (isfinite_test): Likewise.
15145 (isnormal_test): Likewise.
15146 (main): Call the new functions.
15147
55f11534
JN
151482012-10-08 Jonathan Nieder <jrnieder@gmail.com>
15149
15150 [BZ #14660]
15151 * Makerules (%.dynsym): Force C locale when running
15152 $(OBJDUMP) --dynamic-syms.
15153
1ab29350
AS
151542012-10-08 Andreas Schwab <schwab@linux-m68k.org>
15155
15156 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
15157 <stdint.h>.
15158
f1ecb7ef
DM
151592012-10-06 David S. Miller <davem@davemloft.net>
15160
15161 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
15162 upper 32-bits of the length value in %o2 since we use branch-on-register
15163 tests which consider the entire 64-bit register.
15164
5d41d91a
L
151652012-10-06 H.J. Lu <hongjiu.lu@intel.com>
15166
15167 * string/test-strstr.c (check2): Add a test for page boundary.
15168
3baddb72
DM
151692012-10-05 David S. Miller <davem@davemloft.net>
15170
15171 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
15172 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
15173 file.
15174 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15175 sysdep_routines.
15176 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15177 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
15178 and bzero when HWCAP_SPARC_CRYPTO is present.
15179
9cee5585
L
151802012-10-05 H.J. Lu <hongjiu.lu@intel.com>
15181
d7e0dab9
L
15182 [BZ #14602]
15183 * string/test-strstr.c (check2): New function.
15184 (test_main): Call check2.
15185
03759f47
L
15186 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
15187 and bug-strchr1.
15188 * string/bug-strcasestr1.c (do_test): Moved to ...
15189 * string/test-strcasestr.c (check1): Here. New function.
15190 (do_one_test): Break out result checking code into ...
15191 (check_result): This. New function.
15192 (do_one_test): Call check_result.
15193 (test_main): Call check1.
15194 * string/bug-strchr1.c (do_test): Moved to ...
15195 * string/test-strchr.c (check1): Here. New function.
15196 (do_one_test): Break out result checking code into ...
15197 (check_result): This. New function.
15198 (do_one_test): Call check_result.
15199 (test_main): Call check1.
15200 * string/bug-strstr1.c (main): Moved to ...
046f153e 15201 * string/test-strstr.c (check1): Here. New function.
03759f47
L
15202 (do_one_test): Break out result checking code into ...
15203 (check_result): This. New function.
15204 (do_one_test): Call check_result.
15205 (test_main): Call check1.
15206 * string/bug-strcasestr1.c: Removed.
15207 * string/bug-strchr1.c: Likewise.
15208 * string/bug-strstr1.c: Likewise.
15209
53cea63e
L
15210 * elf/Makefile (dl-routines): Add hwcaps.
15211 * elf/dl-support.c (_dl_important_hwcaps): Removed.
15212 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
15213 (_dl_important_hwcaps): Moved to ...
15214 * elf/dl-hwcaps.c: Here. New file.
15215 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
15216
9cee5585 15217 [BZ #14557]
bb859b06
L
15218 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
15219 if IS_IN_rtld isn't defined.
15220
9cee5585
L
15221 * elf/dl-support.c (_dl_sysinfo_map): New.
15222 Include "get-dynamic-info.h" and "setup-vdso.h".
15223 (_dl_non_dynamic_init): Call setup_vdso.
15224 * elf/dynamic-link.h: Don't include <assert.h>.
15225 (elf_get_dynamic_info): Moved to ...
15226 * elf/get-dynamic-info.h: Here. New file.
15227 * elf/dynamic-link.h: Include "get-dynamic-info.h".
15228 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
15229 * elf/setup-vdso.h: Here. New file.
15230 * elf/rtld.c: Include "setup-vdso.h".
15231 (dl_main): Call setup_vdso.
15232
23c31b76
JM
152332012-10-05 Joseph Myers <joseph@codesourcery.com>
15234
28234b07
JM
15235 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
15236 creal in comment listing functions tested. List finite, isinf,
15237 isnan, isless, islessequal, isgreater, isgreaterequal,
15238 islessgreater, isunordered, lgamma_r and pow10 as functions and
15239 macros not tested. Mention which functions not tested are aliases
15240 for other functions. Fix typo. Note that signs of NaNs are not
15241 tested.
15242
23c31b76
JM
15243 * scripts/config.guess: Update from config.git.
15244 * scripts/config.sub: Likewise.
15245
9043e228
RM
152462012-10-04 Roland McGrath <roland@hack.frob.com>
15247
15248 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
15249 * misc/madvise.c (madvise): Renamed to __madvise.
15250 Make madvise a weak alias.
15251 * include/sys/mman.h: Declare __madvise.
15252 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
15253 * sysdeps/unix/syscalls.list
15254 (madvise): Make __madvise the strong name, and madvise a weak alias.
15255 * sysdeps/unix/sysv/linux/syscalls.list
15256 (madvise, mmap): Remove redundant entries.
15257 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
15258 * malloc/malloc.c (mtrim): Likewise.
15259 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
15260
f57f8055
RM
152612012-10-03 Roland McGrath <roland@hack.frob.com>
15262
15263 * sysdeps/mach/hurd/dl-cache.c: File removed.
15264 * config.h.in (USE_LDCONFIG): New #undef.
15265 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
15266 * configure: Regenerated.
15267 * elf/Makefile (dl-routines): Add dl-cache only under
15268 [$(use-ldconfig) = yes].
15269 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
15270 cache on [USE_LDCONFIG].
15271 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
15272 [USE_LDCONFIG].
15273 * elf/rtld.c (dl_main): Likewise.
15274
5bb0c10a
PT
152752012-10-03 Pino Toscano <toscano.pino@tiscali.it>
15276
15277 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
15278 _SC_LEVEL4_CACHE_LINESIZE.
15279
010188c6
RM
152802012-10-03 Roland McGrath <roland@hack.frob.com>
15281
15282 * sysdeps/unix/bsd/confstr.h: File removed.
15283
b6c5ec07
AO
152842012-10-02 Alexandre Oliva <aoliva@redhat.com>
15285
15286 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
15287 sys/sdt-config.h.
15288
408223d4
RM
152892012-10-02 Roland McGrath <roland@hack.frob.com>
15290
15291 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
15292 Make 'mapoff' field ElfW(Off) rather than off_t.
15293
bb9510dc
DL
152942012-10-02 Dmitry V. Levin <ldv@altlinux.org>
15295
fc997c6e
DL
15296 * nscd/Makefile: Remove nscd-cflags and all its users.
15297 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
15298 (CFLAGS-nonlib): Add compiler flags for nscd modules.
15299
bb9510dc
DL
15300 [BZ #10631]
15301 * malloc.c (malloc_printerr): Clarify error message.
15302
05699367
L
153032012-10-02 H.J. Lu <hongjiu.lu@intel.com>
15304
15305 [BZ #14648]
15306 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15307 Set bit_FMA_Usable if FMA is supported.
15308 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
15309 macro.
15310 (bit_FMA4_Usable): Updated.
15311 (index_FMA_Usable): New macro.
15312 (CPUID_FMA): Likewise
15313 (HAS_FMA): Defined with bit_FMA_Usable.
15314
51367701
RM
153152012-10-01 Roland McGrath <roland@hack.frob.com>
15316
15317 * bits/types.h (__swblk_t): Type removed.
15318 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
15319 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
15320 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15321 (__SWBLK_T_TYPE): Likewise.
15322 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15323 (__SWBLK_T_TYPE): Likewise.
15324 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15325 (__SWBLK_T_TYPE): Likewise.
15326 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15327 (__SWBLK_T_TYPE): Likewise.
15328
4d57bf63 153292012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 15330 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
15331
15332 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
15333 (xdr_mapname): Use YPMAXMAP as maxsize.
15334 (xdr_peername): Use YPMAXPEER as maxsize.
15335 (xdr_keydat): Use YPAXRECORD as maxsize.
15336 (xdr_valdat): Use YPMAXRECORD as maxsize.
15337
93c65d43
RM
153382012-10-01 Roland McGrath <roland@hack.frob.com>
15339
497a03d6
RM
15340 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
15341
93c65d43
RM
15342 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
15343 * csu/init-first.c: ... here.
15344 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
15345 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
15346 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
15347 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15348 * sysdeps/i386/init-first.c: File removed.
15349 * sysdeps/sh/init-first.c: File removed.
15350
bec749fd
JM
153512012-10-01 Joseph Myers <joseph@codesourcery.com>
15352
15353 [BZ #14645]
15354 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
15355 if x * y might underflow to zero and z is zero.
15356 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15357 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15358 * math/libm-test.inc (min_subnorm_value): New variable.
15359 (fma_test): Add more tests.
15360 (fma_test_towardzero): Likewise.
15361 (fma_test_downward): Likewise
15362 (fma_test_upward): Likewise.
15363 (initialize): Set min_subnorm_value.
15364
8ec5b013
JM
153652012-09-29 Joseph Myers <joseph@codesourcery.com>
15366
15367 [BZ #14638]
15368 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
15369 0 + 0.
15370 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
15371 mode for addition resulting in exact zero.
15372 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
15373 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
15374 exact 0 + 0.
15375 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15376 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15377 * math/libm-test.inc (fma_test): Add more tests.
15378 (fma_test_towardzero): New function.
15379 (fma_test_downward): Likewise.
15380 (fma_test_upward): Likewise.
15381 (main): Call the new functions.
15382
b1fa802e
DM
153832012-09-28 David S. Miller <davem@davemloft.net>
15384
15385 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
15386
d3b9fd9e
RM
153872012-09-28 Roland McGrath <roland@hack.frob.com>
15388
ea4d37b3
RM
15389 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
15390 instead of SIGALRM.
15391
ac51c949
RM
15392 * sysdeps/gnu/_G_config.h: Moved to ...
15393 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
15394 * sysdeps/mach/hurd/_G_config.h: Moved to ...
15395 * sysdeps/generic/_G_config.h: ... here.
15396
28c195f7
RM
15397 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
15398
848917f9
RM
15399 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
15400
6bacf05b
RM
15401 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
15402 Conditionalize target on [libnss_test1.so-version].
15403
91363dbb
RM
15404 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
15405
cc87f7d8
RM
15406 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
15407 (elfobjdir): Move out of conditionals.
15408
b1c608fe
RM
15409 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
15410 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
15411 (__nss_lookup_function): Conditionalize label remove_from_tree on
15412 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 15413
1d9a6d96
DM
154142012-09-28 David S. Miller <davem@davemloft.net>
15415
15416 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
15417 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
15418 file.
15419 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15420 sysdep_routines.
15421 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15422 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
15423 when HWCAP_SPARC_CRYPTO is present.
15424
72581615
PT
154252012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15426
15427 * io/tst-mknodat.c: Create a FIFO instead of a socket.
15428
715a900c
JL
154292012-09-28 Andreas Schwab <schwab@linux-m68k.org>
15430
15431 [BZ #6530]
15432 * stdio-common/vfprintf.c (process_string_arg): Revert
15433 2000-07-22 change.
15434
154352011-09-28 Jonathan Nieder <jrnieder@gmail.com>
15436
15437 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
15438 for testcase.
15439 * stdio-common/tst-sprintf.c: Include <locale.h>
15440 (main): Test sprintf's handling of incomplete multibyte
15441 characters.
15442
9bac1d86
L
154432012-09-28 H.J. Lu <hongjiu.lu@intel.com>
15444
15445 * elf/dl-runtime.c (VERSYMIDX): Removed.
15446 * elf/dl-version.c (VERSYMIDX): Likewise.
15447 * elf/do-rel.h (VERSYMIDX): Likewise.
15448 (VALIDX): Likewise.
15449 * elf/dynamic-link.h (VERSYMIDX): Likewise.
15450 * elf/rtld.c (VALIDX): Likewise.
15451 (ADDRIDX): Likewise.
9bac1d86
L
15452 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
15453 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
15454 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
15455 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
15456 (VALIDX): Likewise.
15457 (ADDRIDX): Likewise.
9bac1d86 15458
b31606c0
PT
154592012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15460
15461 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
15462
11541177
JL
154632012-09-28 Dmitry V. Levin <ldv@altlinux.org>
15464
15465 [BZ #11438]
15466 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
15467 to global scope.
15468 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
15469 addresses are in the same scope as 192.0.2/24.
15470 * posix/gai.conf: Document new scope table defaults.
15471
adb26fae
SP
154722012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15473
15474 [BZ #5298]
15475 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
15476 for ftell. Compute offsets from write pointers instead.
15477 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15478
4573c6b0
SP
154792012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15480
15481 [BZ #14543]
15482 * libio/Makefile (tests): New test case tst-fseek.
15483 * libio/tst-fseek.c: New test case to verify that fseek/ftell
15484 combination works in wide mode.
15485 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
15486 state when the external buffer state changes.
15487
aa9bbfe6
DM
154882012-09-27 David S. Miller <davem@davemloft.net>
15489
15490 [BZ #14376]
15491 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
15492 pass reloc->r_addend in as the 'high' argument to
15493 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
15494
784421e7
DM
15495 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15496
c39bc8b8
PT
154972012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15498
15499 * rt/tst-aio2.c: Include <pthread.h>.
15500 * rt/tst-aio3.c: Likewise.
15501
1ccc2399
SE
155022012-09-27 Steve Ellcey <sellcey@mips.com>
15503
15504 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
15505
31ed4153
L
155062012-09-27 H.J. Lu <hongjiu.lu@intel.com>
15507
25f5f885
L
15508 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
15509 contents on [SHARED].
31ed4153 15510
b7bfe116
MP
155112012-09-26 Marek Polacek <polacek@redhat.com>
15512
15513 [BZ #14530]
15514 [BZ #13741]
15515 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
15516 for C++ and GCC <4.3 as well as for non GCC compilers.
15517
43c4edba
MT
155182012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15519
15520 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15521
6a1bf82f
RM
155222012-09-25 Roland McGrath <roland@hack.frob.com>
15523
15524 * Makefile.in (all, install): Declare with .PHONY.
15525 Reported by Michael Hope <michael.hope@linaro.org>.
15526
8ad11b9a
TMQMF
155272012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15528
15529 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
15530 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
15531 system header.
15532 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
15533 Likewise.
15534 (sydep_routines): Add the new and the internal functions.
15535 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
15536 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
15537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
15538 (GLIBC_2.17): Add the new function.
15539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15540 (GLIBC_2.17): Likewise.
15541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
15542 (GLIBC_2.17): Likewise.
15543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
15544 (GLIBC_2.17): Likewise.
15545 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
15546
7e2fca8d
AM
155472012-09-25 Alan Modra <amodra@gmail.com>
15548
15549 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
15550 Add release barrier before setting once_control to say
15551 initialisation is done. Add hints on lwarx. Use macro in
15552 place of isync.
15553 (clear_once_control): Add release barrier.
15554
b87c4b24
JM
155552012-09-25 Joseph Myers <joseph@codesourcery.com>
15556
d032e0d2
JM
15557 [BZ #13629]
15558 * math/s_clog.c (__clog): Handle more values close to |z| = 1
15559 specially.
15560 * math/s_clog10.c (__clog10): Likewise.
15561 * math/s_clog10f.c (__clog10f): Likewise.
15562 * math/s_clog10l.c (__clog10l): Likewise.
15563 * math/s_clogf.c (__clogf): Likewise.
15564 * math/s_clogl.c (__clogl): Likewise.
15565 * math/Makefile (libm-calls): Add x2y2m1.
15566 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
15567 (__x2y2m1): Likewise.
15568 (__x2y2m1l): Likewise.
15569 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
15570 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
15571 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15572 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15573 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
15574 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
15575 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
15576 * sysdeps/i386/fpu/libm-test-ulps: Update.
15577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15578
b87c4b24
JM
15579 [BZ #14621]
15580 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
15581 int as type of variable DEPTH.
15582 (glob): Use size_t instead of int as type of variables NEWCOUNT
15583 and OLD_PATHC.
15584
6d3bf199
LD
155852012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15586
22bf5c17
LD
15587 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15588 Add s_sincosf-sse2.
15589 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
15590 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
15591 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
15592 macros for using routine as __sincosf_ia32.
15593 Use macro for function declaration and weak_alias.
15594 * sysdeps/i386/fpu/libm-test-ulps: Update.
15595
15596 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
15597 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15598
15599 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
15600 subnormal argument.
15601 * math/s_cexpf.c (__cexpf): Likewise.
15602 * math/s_csinf.c (__csinf): Likewise.
15603 * math/s_csinhf.c (__csinhf): Likewise.
15604 * math/s_ctanf.c (__ctanf): Likewise.
15605 * math/s_ctanhf.c (__ctanhf): Likewise.
15606 * math/s_ccosh.c (__ccoshf): Likewise.
15607 * math/s_cexp.c (__cexpl): Likewise.
15608 * math/s_csin.c (__csin): Likewise.
15609 * math/s_csinh.c (__csinh): Likewise.
15610 * math/s_ctan.c (__ctan): Likewise.
15611 * math/s_ctanh.c (ctanh): Likewise.
15612 * math/s_ccoshl.c (__ccoshl): Likewise.
15613 * math/s_cexpl.c (__cexpl): Likewise.
15614 * math/s_csinl.c (__csinl): Likewise.
15615 * math/s_csinhl.c (__csinhl): Likewise.
15616 * math/s_ctanl.c (__ctanl): Likewise.
15617 * math/s_ctanhl.c (__ctanhl): Likewise.
15618
203e5603
JM
156192012-09-25 Joseph Myers <joseph@codesourcery.com>
15620
15621 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
15622 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
15623 (_IO_off_t): Define to __off_t, not _G_off_t.
15624 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
15625 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
15626 (_IO_wint_t): Define to wint_t, not _G_wint_t.
15627 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
15628 type of __dummy and __dummy2 fields.
15629 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
15630 (_G_ssize_t): Likewise.
15631 (_G_off_t): Likewise.
15632 (_G_pid_t): Likewise.
15633 (_G_uid_t): Likewise.
15634 (_G_wchar_t): Likewise.
15635 (_G_wint_t): Likewise.
15636 * sysdeps/gnu/_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/mach/hurd/_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
9fab36eb
SP
156512012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15652
15653 * malloc/arena.c: Include malloc-sysdep.h.
15654 (shrink_heap): Use check_may_shrink_heap to decide if madvise
15655 is sufficient to shrink the heap or an unmap is needed.
15656 * sysdeps/generic/malloc-sysdep.h: New file. Define
15657 new function check_may_shrink_heap.
15658 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
15659 new function check_may_shrink_heap.
15660
2b4f00d1
SP
156612012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15662
15663 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
15664 comments.
15665
9a9028b1
DL
156662012-09-24 Dmitry V. Levin <ldv@altlinux.org>
15667
57c69bef
DL
15668 * catgets/test-gencat.sh: Add "set -e".
15669 * elf/tst-pathopt.sh: Likewise.
15670 * grp/tst_fgetgrent.sh: Likewise.
15671 * iconvdata/run-iconv-test.sh: Likewise.
15672 * intl/tst-gettext.sh: Likewise.
15673 * intl/tst-gettext2.sh: Likewise.
15674 * intl/tst-gettext4.sh: Likewise.
15675 * intl/tst-gettext6.sh: Likewise.
15676 * intl/tst-translit.sh: Likewise.
15677 * io/ftwtest-sh: Likewise.
15678 * libio/test-freopen.sh: Likewise.
15679 * malloc/tst-mtrace.sh: Likewise.
15680 * posix/globtest.sh: Likewise.
15681 * posix/tst-getconf.sh: Likewise.
15682 * posix/wordexp-tst.sh: Likewise.
15683 * stdio-common/tst-printf.sh: Likewise.
15684 * stdio-common/tst-unbputc.sh: Likewise.
15685 * stdlib/tst-fmtmsg.sh: Likewise.
15686 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15687 * catgets/Makefile: Do not specify -e option when running
15688 testsuite shell scripts.
15689 * elf/Makefile: Likewise.
15690 * grp/Makefile: Likewise.
15691 * iconvdata/Makefile: Likewise.
15692 * intl/Makefile: Likewise.
15693 * io/Makefile: Likewise.
15694 * libio/Makefile: Likewise.
15695 * malloc/Makefile: Likewise.
15696 * posix/Makefile: Likewise.
15697 * stdio-common/Makefile: Likewise.
15698 * stdlib/Makefile: Likewise.
15699 * sysdeps/x86_64/Makefile: Likewise.
15700
9a9028b1
DL
15701 * io/ftwtest-sh: Add copyright header.
15702 * posix/globtest.sh: Likewise.
15703 * posix/tst-getconf.sh: Likewise.
15704 * posix/wordexp-tst.sh: Likewise.
15705 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15706
ced6f16e
L
157072012-09-24 H.J. Lu <hongjiu.lu@intel.com>
15708
94b32c39
L
15709 [BZ #13679]
15710 * Makeconfig (+link): Defined as $(+link-static) if
15711 $(build-shared) isn't yes.
15712 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
15713 isn't yes.
15714 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
15715
189e935b
L
15716 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
15717
ced6f16e
L
15718 [BZ #14562]
15719 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
15720 new chunk size with MALLOC_ALIGN_MASK.
15721
a9f8e53a
JM
157222012-09-24 Joseph Myers <joseph@codesourcery.com>
15723
15724 [BZ #5044]
15725 * stdio-common/printf_fphex.c: Include <stdbool.h> and
15726 <rounding-mode.h>.
15727 (__printf_fphex): Determine rounding using get_rounding_mode and
15728 round_away.
15729 * stdio-common/tst-printf-round.c (struct hex_test): New
15730 structure.
15731 (hex_tests): New variable.
15732 (test_hex_in_one_mode): New function.
15733 (do_test): Also run tests for hex float output.
15734
43153109
JM
157352012-09-21 Joseph Myers <joseph@codesourcery.com>
15736
15737 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15738 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15739 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
15740 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15741 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15742 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
15743 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15744 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15745
8a26625d
JM
157462012-09-20 Joseph Myers <joseph@codesourcery.com>
15747
15748 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
15749 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
15750 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
15751 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
15752
f3fd569c
DL
157532012-09-19 Dmitry V. Levin <ldv@altlinux.org>
15754
15755 [BZ #14579]
15756 * elf/rtld.c (dl_main): Limit the check for self loading to normal
15757 mode only.
15758 * elf/tst-rtld-load-self.sh: New test.
15759 * elf/Makefile: Run it.
15760
63bbedd4
JM
157612012-09-18 Joseph Myers <joseph@codesourcery.com>
15762
15763 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
15764 (tst-writev-ENV): Remove.
15765 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
15766
626f8b6a
CM
157672012-09-17 Chris Metcalf <cmetcalf@tilera.com>
15768
15769 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
15770
b7aaa4d6
JM
157712012-09-17 Joseph Myers <joseph@codesourcery.com>
15772
15773 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
15774 unconditional.
15775 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
15776 Likewise.
15777 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
15778 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
15779 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
15780 Likewise.
15781
65513990
L
157822012-09-14 H.J. Lu <hongjiu.lu@intel.com>
15783
15784 [BZ #14587]
15785 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
15786 * config.make.in (have-cpp-asm-debuginfo): Removed.
15787 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
15788 * configure: Regenerated.
15789
784761be
JM
157902012-09-14 Joseph Myers <joseph@codesourcery.com>
15791
15792 [BZ #5044]
15793 * stdio-common/printf_fp.c: Include <stdbool.h> and
15794 <rounding-mode.h>.
15795 (___printf_fp): Determine rounding using get_rounding_mode and
15796 round_away.
15797 * stdio-common/tst-printf-round.c: New file.
15798 * stdio-common/Makefile (tests): Add tst-printf-round.
15799 (link-libm): New variable.
15800 ($(objpfx)tst-printf-round): Depend in $(link-libm).
15801
9503345f
L
158022012-09-13 H.J. Lu <hongjiu.lu@intel.com>
15803
15804 [BZ #14576]
15805 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
15806 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
15807 Likewise.
15808 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
15809 Likewise.
15810
ad35fc00
JM
158112012-09-13 Joseph Myers <joseph@codesourcery.com>
15812
15813 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
15814 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15815 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15816 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15817
6c9b0f68
JM
158182012-09-12 Joseph Myers <joseph@codesourcery.com>
15819
15820 [BZ #14518]
15821 * include/rounding-mode.h: New file.
15822 * sysdeps/generic/get-rounding-mode.h: Likewise.
15823 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
15824 * stdlib/strtod_l.c: Include <rounding-mode.h>.
15825 (MAX_VALUE): New macro.
15826 (MIN_VALUE): Likewise.
15827 (overflow_value): New function.
15828 (underflow_value): Likewise.
15829 (round_and_return): Use overflow_value and underflow_value to
15830 determine return values in overflow and underflow cases. Use
15831 round_away to determine rounding depending on rounding mode.
15832 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
15833 determine return values in overflow and underflow cases.
15834 * stdlib/tst-strtod-round.c: Include <fenv.h>.
15835 (struct test_results): New structure.
15836 (struct test): Use struct test_results to store expected results
15837 for all rounding modes.
15838 (TEST): Include expected results for all rounding modes.
15839 (test_in_one_mode): New function.
15840 (do_test): Use test_in_one_mode to compute and check results.
15841 Check results for all rounding modes.
15842 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
15843 $(link-libm).
15844
19fcedd5
AM
158452012-12-09 Allan McRae <allan@archlinux.org>
15846
1e9d84cd 15847 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 15848
8bbfd2f1
JM
158492012-09-11 Joseph Myers <joseph@codesourcery.com>
15850
15851 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
15852 (_G_int32_t): Likewise.
15853 (_G_uint16_t): Likewise.
15854 (_G_uint32_t): Likewise.
15855 (_G_HAVE_BOOL): Likewise.
15856 (_G_HAVE_ATEXIT): Likewise.
15857 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15858 (_G_HAVE_IO_FILE_OPEN): Likewise.
15859 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
15860 (_G_int32_t): Likewise.
15861 (_G_uint16_t): Likewise.
15862 (_G_uint32_t): Likewise.
15863 (_G_HAVE_BOOL): Likewise.
15864 (_G_HAVE_ATEXIT): Likewise.
15865 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15866 (_G_HAVE_IO_FILE_OPEN): Likewise.
15867 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
15868 (_G_int32_t): Likewise.
15869 (_G_uint16_t): Likewise.
15870 (_G_uint32_t): Likewise.
15871 (_G_HAVE_BOOL): Likewise.
15872 (_G_HAVE_ATEXIT): Likewise.
15873 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15874 (_G_HAVE_IO_FILE_OPEN): Likewise.
15875
b1dc5912
L
158762012-09-11 H.J. Lu <hongjiu.lu@intel.com>
15877
15878 * csu/libc-tls.c: Update copyright years.
15879
0e886ef9
JM
158802012-09-10 Joseph Myers <joseph@codesourcery.com>
15881
28361c5e
JM
15882 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
15883 [!_G_USING_THUNKS]: Remove conditional code.
15884 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
15885 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
15886
0e886ef9
JM
15887 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
15888 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
15889 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15890 (_G_VTABLE_LABEL_PREFIX): Likewise.
15891 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15892 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15893 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15894 (_G_VTABLE_LABEL_PREFIX): Likewise.
15895 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15896 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15897 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15898 (_G_VTABLE_LABEL_PREFIX): Likewise.
15899 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15900
bcba7aa2
L
159012012-09-10 H.J. Lu <hongjiu.lu@intel.com>
15902
15903 * libio/Makefile: Include ../Makeconfig before tests.
15904 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
15905 only if $(build-shared) is yes.
15906
06585ee8
L
15907 * iconv/gconv_db.c: Update copyright years.
15908
80ccd52c
LD
159092012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15910
15911 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
15912 unwind info if defined PIC. Fix special cases description.
15913 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
15914
15915 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
15916 DP_HI_MASK entry.
15917 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
15918
691bc9c1
L
159192012-09-07 H.J. Lu <hongjiu.lu@intel.com>
15920
3d9b46b3
L
15921 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
15922
de2139a9
L
15923 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
15924 is NULL.
15925
5ca78dd0
L
15926 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
15927 (LDLIBS-tst-chk4): This.
15928 (LDFLAGS-tst-chk5): Renamed to ...
15929 (LDLIBS-tst-chk5): This.
15930 (LDFLAGS-tst-chk6): Renamed to ...
15931 (LDLIBS-tst-chk6): This.
15932 (LDFLAGS-tst-lfschk4): Renamed to ...
15933 (LDLIBS-tst-lfschk4): This.
15934 (LDFLAGS-tst-lfschk5): Renamed to ...
15935 (LDLIBS-tst-lfschk5): This.
15936 (LDFLAGS-tst-lfschk6): Renamed to ...
15937 (LDLIBS-tst-lfschk6): This.
15938
691bc9c1
L
15939 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
15940 on $(common-objpfx)soversions.mk.
15941
65cafb1c
JM
159422012-09-07 Joseph Myers <joseph@codesourcery.com>
15943
15944 [BZ #10014]
15945 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
15946 example host name.
15947
c78ab094
SP
159482012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15949
15950 * malloc/arena.c (arena_get_retry): New function that gets
15951 another arena for the caller to try its request on.
15952 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
15953 current arena cannot fulfill the request.
15954 (__libc_memalign): Likewise.
15955 (__libc_memalign): Likewise.
15956 (__libc_pvalloc): Likewise.
15957 (__libc_calloc): Likewise.
15958
01f49f59
JT
159592012-09-05 John Tobey <john.tobey@gmail.com>
15960
15961 [BZ #13542]
15962 * manual/arith.texi (Operations on Complex): Fix description
15963 of carg branch cut.
15964
4c23fed5
JM
159652012-09-06 Joseph Myers <joseph@codesourcery.com>
15966
1d3c8572
JM
15967 [BZ #10014]
15968 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
15969 host name.
15970
4c23fed5
JM
15971 [BZ #10038]
15972 * manual/memory.texi (Memory): Make order of menu items match
15973 order of sections.
15974
04570aaa
L
159752012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15976
15977 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
15978 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
15979 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
15980
b80af2f4
L
159812012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15982
15983 * csu/libc-tls.c (static_dtv): Renamed to ...
15984 (_dl_static_dtv): This. Make it global.
15985 (_dl_initial_dtv): Removed.
15986 (__libc_setup_tls): Updated.
15987 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
15988 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
15989 DL_INITIAL_DTV.
15990
2abe9f15
PM
159912012-09-06 Petr Machata <pmachata@redhat.com>
15992
15993 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
15994 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
15995 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
15996 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
15997
0948c3af
L
159982012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15999
16000 [BZ #14545]
16001 * csu/libc-tls.c (_dl_initial_dtv): New variable.
16002 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
16003 freeing dtv[-1].
16004
a5055ad1
L
160052012-09-06 H.J. Lu <hongjiu.lu@intel.com>
16006
16007 [BZ #14544]
16008 * Makeconfig (link-static-before-libc): Replace $(+prector)
16009 with $(+prectorT).
16010 (link-static-after-libc): Replace $(+postctor) with
16011 $(+postctorT).
16012 (link-bounded): Replace $(+prector)/$(+postctor) with
16013 $(+prectorT)/$(+postctorT).
16014 (+prectorT): New macro.
16015 (+postctorT): Likewise.
16016
ed8c2ecd
JM
160172012-09-06 Joseph Myers <joseph@codesourcery.com>
16018
16019 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
16020 (round_str): Handle values above the maximum for IBM long double
16021 as inexact.
16022 * stdlib/tst-strtod-round.c (tests): Regenerated.
16023
14c996c8
AK
160242012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16025
16026 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
16027 assembler flag.
16028 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
16029 zarch_nohighgprs around the zarch optimized routines.
16030 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
16031 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
16032 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
16033 for zarch.
16034
430d6ce6
DM
160352012-09-05 David S. Miller <davem@davemloft.net>
16036
16037 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16038
ff04dda4
DM
16039 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
16040 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
16041 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
16042 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
16043 entries.
16044
24d4e01b
AO
160452012-09-05 Alexandre Oliva <aoliva@redhat.com>
16046
16047 * malloc/arena.c: Fold copyright years.
16048 * malloc/mcheck.c, malloc/memusage.c: Likewise.
16049
61d58174
AO
160502012-09-05 Alexandre Oliva <aoliva@redhat.com>
16051
16052 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
16053
20196a5e
AO
160542012-09-05 Alexandre Oliva <aoliva@redhat.com>
16055
16056 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
16057
5c447383
AO
160582012-09-05 Alexandre Oliva <aoliva@redhat.com>
16059
16060 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
16061 change internal state upon failure.
16062
fad64255
AO
160632012-09-05 Alexandre Oliva <aoliva@redhat.com>
16064
16065 * malloc/mcheck.c (mcheck_check_all): Fix typo.
16066 * malloc/memusage.c (mmap): Likewise.
16067 (mmap64, mremap): Likewise. Adjust name in comment.
16068
1ffb8c90
SP
160692012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16070
16071 * libio/fileops.c: Fix typos in comments.
16072 * libio/oldfileops.c: Likewise.
16073 * libio/wfileops.c: Likewise.
16074
6ef9cc37
SP
160752012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16076
16077 [BZ #1349]
16078 * malloc/Makefile (tests): Add tst-malloc-usable test case.
16079 (tst-malloc-usable-ENV): Set environment for test case.
16080 * malloc/hooks.c (malloc_check_get_size): New function to get
16081 requested size.
16082 * malloc/malloc.c (musable): Use malloc_check_get_size.
16083 * malloc/tst-malloc-usable.c: New test case.
16084
4d038ae3
AS
160852012-09-05 Andreas Schwab <schwab@linux-m68k.org>
16086
16087 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
16088
c4e85184
AM
160892012-09-05 Allan McRae <allan@archlinux.org>
16090
b9dafc56 16091 [BZ #13966]
c4e85184
AM
16092 * configure.in (CXX_SYSINCLUDES): Use compiler output to
16093 determine header location.
16094 * configure: Regenerated.
16095
e1343020
AS
160962012-09-05 Andreas Schwab <schwab@linux-m68k.org>
16097
16098 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
16099 float format.
16100 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
16101 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
16102 format.
e1343020
AS
16103 (test): Regenerate.
16104
0a9f1987
DM
161052012-09-04 David S. Miller <davem@davemloft.net>
16106
16107 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
16108 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
16109 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
16110
29237804
FW
161112012-09-04 Florian Weimer <fweimer@redhat.com>
16112
16113 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
16114 failures.
16115
edb3cb88
FW
16116 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
16117
60160d83
JM
161182012-09-04 Joseph Myers <joseph@codesourcery.com>
16119
16120 [BZ #9914]
16121 * libio/iogetdelim.c: Include <limits.h>.
16122 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
16123 + len + 1 would overflow.
16124
bcd6c8dc
AJ
161252012-09-03 Andreas Jaeger <aj@suse.de>
16126
16127 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16128 * sysdeps/i386/fpu/libm-test-ulps: Update.
16129
4ffffbd2
LD
161302012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16131
16132 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16133 Add s_sinf-sse2, s_conf-sse2.
16134
16135 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
16136 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
16137 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
16138 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
16139
16140 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
16141 for using routine as __sinf_ia32.
16142 Use macro for function declaration and weak_alias.
16143 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
16144 for using routine as __cosf_ia32.
16145 Use macro for function declaration and weak_alias.
16146
16147 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
16148 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
16149
16150 * sysdeps/x86_64/fpu/s_sinf.S: New file.
16151 * sysdeps/x86_64/fpu/s_cosf.S: New file.
16152 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16153
16154 * math/libm-test.inc (cos_test): Add more test cases.
16155 (sin_test): Likewise.
16156 (sincos_test): Likewise.
16157
511fa286
AK
161582012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16159
16160 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
16161 (IFUNC_RESOLVE): Make pointers to the specialized implementations
16162 hidden.
16163 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16164
5f30cfec
L
161652012-09-02 H.J. Lu <hongjiu.lu@intel.com>
16166
16167 [BZ #14538]
16168 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
16169 first element of the GOT.
16170 (elf_machine_load_address): Return the difference between
16171 the runtime address of _DYNAMIC and elf_machine_dynamic ().
16172
0786794f
AM
161732012-09-01 Allan McRae <allan@archlinux.org>
16174
5f30cfec
L
16175 [BZ #13412]
16176 * configure.in (AWK): Require gawk version 3.0 or later.
16177 * configure: Regenerated.
0786794f 16178
26889eac
JM
161792012-09-01 Joseph Myers <joseph@codesourcery.com>
16180
16181 * sysdeps/unix/sysv/linux/kernel-features.h
16182 (__ASSUME_POSIX_CPU_TIMERS): Remove.
16183 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16184 [__NR_clock_getres]: Make code unconditional.
16185 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
16186 (clock_getcpuclockid): Remove code left unreachable by removal of
16187 conditionals.
16188 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
16189 code unconditional.
16190 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16191 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16192 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
16193 Make code unconditional.
16194 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16195 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16196 * sysdeps/unix/sysv/linux/clock_settime.c
16197 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
16198 conditional code.
16199 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
16200 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16201
d22e28b0
L
162022012-08-29 H.J. Lu <hongjiu.lu@intel.com>
16203
16204 [BZ #14476]
16205 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
16206 scripts/test-installation.pl.
16207
16208 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
16209 and $ld_so_version if it is set.
16210
050af9c4
SP
162112012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16212
16213 [BZ #14516]
16214 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
16215 failure if reading from procfs failed.
16216 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
16217
ad845c0b
JM
162182012-08-27 Joseph Myers <joseph@codesourcery.com>
16219
16220 * sysdeps/unix/sysv/linux/kernel-features.h
16221 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
16222 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16223 Remove conditional code.
16224 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16225 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
16226 Remove conditional code.
16227 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16228 * sysdeps/unix/sysv/linux/i386/fxstat.c
16229 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16230 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16231 * sysdeps/unix/sysv/linux/i386/fxstatat.c
16232 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16233 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16234 * sysdeps/unix/sysv/linux/i386/lxstat.c
16235 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16236 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16237 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
16238 Remove conditional code.
16239 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16240 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16241 Remove conditional code.
16242 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16243 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
16244 <kernel-features.h>.
16245 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
16246 Remove.
16247 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
16248 Remove conditional code.
16249 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16250 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
16251 Remove conditional.
16252
5dbf56af
MF
162532012-08-27 Mike Frysinger <vapier@gentoo.org>
16254
16255 [BZ #5400]
16256 * NEWS: Add fixed bug number.
16257
d6e70f43
JM
162582012-08-27 Joseph Myers <joseph@codesourcery.com>
16259
7efb4737
JM
16260 [BZ #14519]
16261 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
16262 underflowing exponent in case of negative sign.
16263 * stdlib/tst-strtod-round-data: Add more tests.
16264 * stdlib/tst-strtod-round.c (tests): Regenerated.
16265
af92131a
JM
16266 [BZ #3479]
16267 * stdlib/strtod_l.c (NDIG): Remove.
16268 (HEXNDIG): Likewise.
16269 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
16270 smallest representable value.
16271 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
16272 lie within an exact representation of 1/2 ulp of the result.
16273 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
16274 unconditionally.
16275 (TENS_P9_IDX): Define unconditionally.
16276 (TENS_P9_SIZE): Likewise.
16277 (TENS_P10_IDX): Likewise.
16278 (TENS_P10_SIZE): Likewise.
16279 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
16280 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
16281 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
16282 entries for 10^2^13 and 10^2^14.
16283 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
16284 (TENS_P13_IDX): Define.
16285 (TENS_P13_SIZE): Likewise.
16286 (TENS_P14_IDX): Likewise.
16287 (TENS_P14_SIZE): Likewise.
16288 (_fpioconst_pow10): Change array size to
16289 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
16290 unconditional.
16291 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
16292 1024]: Add entries for 10^2^13 and 10^2^14.
16293 [LAST_POW10 > _LAST_POW10]: Remove #error.
16294 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
16295 (_fpioconst_pow10): Change array size to
16296 FPIOCONST_POW10_ARRAY_SIZE.
16297 * stdlib/gen-fpioconst.c: New file.
16298 * stdlib/gen-tst-strtod-round.c: Likewise.
16299 * stdlib/tst-strtod-round-data: Likewise.
16300 * stdlib/tst-strtod-round.c: Likewise.
16301 * stdlib/Makefile (tests): Add tst-strtod-round.
16302
d6e70f43
JM
16303 [BZ #14459]
16304 * stdlib/strtod_l.c: Include <stdint.h>.
16305 (NDEBUG): Do not define.
16306 (round_and_return): Change EXPONENT parameter to type intmax_t.
16307 Rearrange calculations to avoid internal overflow possibilities.
16308 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
16309 Rearrange calculations to avoid internal overflow possibilities.
16310 Assert that number fits inside MPNSIZE limbs.
16311 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
16312 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
16313 calculations and add assertions to avoid internal overflow
16314 possibilities. Add casts to avoid signed/unsigned operations.
16315 * stdlib/tst-strtod-overflow.c: New file.
16316 * stdlib/Makefile (tests): Add tst-strtod-overflow.
16317
1f529f7d
MP
163182012-08-25 Marek Polacek <polacek@redhat.com>
16319
16320 * time/time.h: Fix some typos in comments.
16321
59a629f1
RM
163222012-08-23 Roland McGrath <roland@hack.frob.com>
16323
16324 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
16325 * posix/tst-rfc3484-2.c: Likewise.
16326 * posix/tst-rfc3484-3.c: Likewise.
16327
d3bafbc9
SM
163282012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
16329
16330 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
16331 (EF_ARM_ABI_FLOAT_HARD): Likewise.
16332
4efcc022
JM
163332012-08-23 Joseph Myers <joseph@codesourcery.com>
16334
16335 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
16336 #include of fxstatat64.c.
16337
3cc3ef96
RM
163382012-08-22 Roland McGrath <roland@hack.frob.com>
16339
f04e2132
RM
16340 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
16341 * shadow/getspent_r.c: Likewise.
16342 * shadow/getspnam.c: Likewise.
16343 * shadow/getspnam_r.c: Likewise.
16344 * gshadow/getsgent.c: Likewise.
16345 * gshadow/getsgent_r.c: Likewise.
16346 * gshadow/getsgnam.c: Likewise.
16347 * gshadow/getsgnam_r.c: Likewise.
16348 * inet/getnetbyad.c: Likewise.
16349 * inet/getnetbyad_r.c: Likewise.
16350 * inet/getnetbynm.c: Likewise.
16351 * inet/getnetbynm_r.c: Likewise.
16352 * inet/getnetent.c: Likewise.
16353 * inet/getnetent_r.c: Likewise.
16354 * inet/getproto.c: Likewise.
16355 * inet/getproto_r.c: Likewise.
16356 * inet/getprtent.c: Likewise.
16357 * inet/getprtent_r.c: Likewise.
16358 * inet/getprtname.c: Likewise.
16359 * inet/getprtname_r.c: Likewise.
16360 * inet/getrpcbyname.c: Likewise.
16361 * inet/getrpcbyname_r.c: Likewise.
16362 * inet/getrpcbynumber.c: Likewise.
16363 * inet/getrpcbynumber_r.c: Likewise.
16364 * inet/getrpcent.c: Likewise.
16365 * inet/getrpcent_r.c: Likewise.
16366 * inet/getaliasent.c: Likewise.
16367 * inet/getaliasent_r.c: Likewise.
16368 * inet/getaliasname.c: Likewise.
16369 * inet/getaliasname_r.c: Likewise.
16370 * nscd/getgrgid_r.c: Likewise.
16371 * nscd/getgrnam_r.c: Likewise.
16372 * nscd/gethstbyad_r.c: Likewise.
16373 * nscd/gethstbynm3_r.c: Likewise.
16374 * nscd/getpwnam_r.c: Likewise.
16375 * nscd/getpwuid_r.c: Likewise.
16376 * nscd/getsrvbynm_r.c: Likewise.
16377 * nscd/getsrvbypt_r.c: Likewise.
16378 * nscd/gai.c: Likewise.
16379
c53d909c
RM
16380 * configure.in (build_nscd): New substituted variable, set
16381 by --disable-build-nscd and defaults to $use_nscd.
16382 * configure: Regenerated.
16383 * config.make.in (build-nscd): New substituted variable.
16384 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
16385 Change conditional to require [$(build-nscd) = yes] as well.
16386 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
16387
3cc3ef96
RM
16388 [BZ# 13696]
16389 * configure.in (use_nscd): New substituted variable, set by
16390 --disable-nscd. If enabled, define USE_NSCD.
16391 * configure: Regenerated.
16392 * config.h.in: Add USE_NSCD.
16393 * config.make.in (use-nscd): New substituted variable.
16394 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
16395 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
16396 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
16397 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
16398 (CFLAGS-getgrnam_r.c): Likewise.
16399 (CFLAGS-initgroups.c): Likewise.
16400 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
16401 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
16402 Variables removed.
16403 * inet/getnetgrent_r.c
16404 (nscd_setnetgrent): New function, broken out of ...
16405 (setnetgrent): ... here. Call it.
16406 (innetgr): Conditionalize nscd bits on [USE_NSCD].
16407 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
16408 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
16409 * nscd/Makefile (routines, aux): Move definitions after include of
16410 Makeconfig. Conditionalize on [$(use-nscd) != no].
16411 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
16412 Conditionalize on [USE_NSCD].
16413 (is_nscd, nscd_init_cb): Likewise.
16414 (nss_load_library): Conditionalize init callback on [USE_NSCD].
16415 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
16416 * nss/nss_db/db-init.c: Likewise.
16417 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
16418 [USE_NSCD].
16419 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
16420 (make_request): Use it.
16421 (cache_valid_p): New function.
16422 (__check_pf): Use it.
16423 * NEWS: Add item for --disable-nscd.
16424
07e51550
DL
164252012-08-22 Dmitry V. Levin <ldv@altlinux.org>
16426
16427 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
16428 to support sed >= 4.2.1-20-ga9bf076.
16429 * configure: Regenerated.
16430
35a5b08b
RM
164312012-08-22 Roland McGrath <roland@hack.frob.com>
16432
16433 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
16434 Conditionalize whole body on [IREL].
16435
8479f23a
JL
164362012-08-22 Jeff Law <law@redhat.com>
16437
16438 [BZ #14505]
16439 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
16440 if the family is PF_UNSPEC.
16441
48da0b21
MF
164422012-08-22 Mike Frysinger <vapier@gentoo.org>
16443
16444 * Makerules (lib-version): Rename from V.
16445 (install-lib-nosubdir): Change V to lib-version.
16446
15d0da8c
WS
164472012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
16448
16449 [BZ #14252]
16450 * powerpc32/power6/wcschr.c: New file.
16451 * powerpc32/power6/wcscpy.c: New file.
16452 * powerpc32/power6/wcsrchr.c: New file.
16453 * powerpc64/power6/wcschr.c: New file.
16454 * powerpc64/power6/wcscpy.c: New file.
16455 * powerpc64/power6/wcsrchr.c: New file.
16456
bcca0895
MK
164572012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
16458
16459 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
16460 (two_way_short_needle): Use it.
5a4aaa33
RM
16461 * string/strstr.c (AVAILABLE1_USES_J): Define.
16462 * string/strcasestr.c: Likewise.
99677e57
MK
16463
16464 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
16465 array references.
16466 * string/strcasestr.c (TOLOWER): Make side-effect safe.
16467
400726de
MK
16468 [BZ #11607]
16469 * NEWS: Add an entry.
16470 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
16471 define their defaults.
16472 (two_way_short_needle): Detect end-of-string on-the-fly.
16473 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
16474 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
16475 * string/bug-strcasestr1.c: New test.
16476 * string/Makefile: Run it.
16477
20a71f2c
MK
164782012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
16479
16480 [BZ #11607]
16481 * string/str-two-way.h (two_way_short_needle): Optimize matching of
16482 the first character.
16483
21ad0558
RM
164842012-08-21 Roland McGrath <roland@hack.frob.com>
16485
16486 * csu/elf-init.c (__libc_csu_irel): Function removed.
16487 * csu/libc-start.c (apply_irel): New function.
16488 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
16489
0e1d9911
JM
164902012-08-21 Joseph Myers <joseph@codesourcery.com>
16491
16492 * sysdeps/unix/sysv/linux/kernel-features.h
16493 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
16494 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16495 <kernel-features.h>.
16496 [__NR_fadvise64_64]: Make code unconditional.
16497 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
16498 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16499 !__NR_fadvise64_64)]: Likewise.
16500 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16501 !__NR_fadvise64_64))]: Likewise.
16502 [__NR_fadvise64]: Make code unconditional.
16503 [!__NR_fadvise64]: Remove conditional code.
16504 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
16505 <kernel-features.h>.
16506 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16507 unconditional.
16508 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16509 conditional code.
16510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
16511 not include <kernel-features.h>.
16512 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16513 unconditional.
16514 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16515 conditional code.
16516 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
16517 include <kernel-features.h>.
16518 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16519 unconditional.
16520 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16521 conditional code.
16522
14a50c9d
WS
165232012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16524
16525 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
16526 slight instruction rearrangements per scrollpipe analysis.
16527 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16528
c0f4faf0
RM
165292012-08-20 Roland McGrath <roland@hack.frob.com>
16530
696da859
RM
16531 * manual/syslog.texi (syslog; vsyslog, closelog):
16532 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
16533 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
16534
c0f4faf0
RM
16535 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
16536 DSOCAPS to match condition on defining it.
16537
348363b2
JM
165382012-08-20 Joseph Myers <joseph@codesourcery.com>
16539
a35cbf28
JM
16540 * sysdeps/unix/sysv/linux/kernel-features.h
16541 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
16542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
16543 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16544 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
16546 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16547 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
16549 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16550 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16551
445f7ecd
JM
16552 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
16553 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
16554
348363b2
JM
16555 * sysdeps/unix/sysv/linux/kernel-features.h
16556 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
16557 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
16558 unconditional.
16559 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16560 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
16561 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16562 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16563 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
16564 Make code unconditional.
16565 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16566 (__mmap64) [!__NR_mmap2]: Likewise.
16567 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
16568 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16569 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16570 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
16571 [__NR_mmap2]: Make code unconditional.
16572 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16573 (__mmap64) [!__NR_mmap2]: Likewise.
16574
bc5bc0e5
AK
165752012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16576
16577 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
16578
88d506de
AJ
165792012-08-18 Andreas Jaeger <aj@suse.de>
16580
16581 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
16582
493387d2
MF
165832012-08-18 Mike Frysinger <vapier@gentoo.org>
16584
16585 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
16586 * include/unistd.h (__have_sock_cloexec): Likewise.
16587 (__have_pipe2): Likewise.
16588 (__have_dup3): Likewise.
16589
a277af22
MF
165902012-08-18 Mike Frysinger <vapier@gentoo.org>
16591
16592 [BZ #9685]
16593 * include/unistd.h (__have_pipe2): Change define into an extern int.
16594 (__have_dup3): Likewise.
16595 * socket/have_sock_cloexec.c: Include fcntl.h.
16596 (__have_pipe2): New variable.
16597 (__have_dup3): Likewise.
16598
fdab8fd3
MF
165992012-08-17 Mike Frysinger <vapier@gentoo.org>
16600
16601 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
16602
31035e80
MP
166032012-08-17 Marek Polacek <polacek@redhat.com>
16604
16605 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
16606 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
16607
3bd9e993
RM
166082012-08-17 Roland McGrath <roland@hack.frob.com>
16609
c91c505f
RM
16610 * configure.in: Add AC_SUBST for sysheaders.
16611 * configure: Regenerated.
16612 * config.make.in (sysheaders): New substituted variable.
16613
7c6f9d53
RM
16614 * sysdeps/unix/mkfifo.c: Moved ...
16615 * sysdeps/posix/mkfifo.c: ... here.
16616 * sysdeps/unix/mkfifoat.c: Moved ...
16617 * sysdeps/posix/mkfifoat.c: ... here.
16618
16619 * sysdeps/unix/utime.c: Moved ...
16620 * sysdeps/posix/utime.c: ... here.
16621
16622 * sysdeps/unix/time.c: Moved ...
16623 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
16624 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
16625 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
16626
16627 * sysdeps/unix/nice.c: Moved ...
16628 * sysdeps/posix/nice.c: ... here.
16629
16630 * sysdeps/unix/alarm.c: Moved ...
16631 * sysdeps/posix/alarm.c: ... here.
16632
3bd9e993
RM
16633 * intl/Makefile ($(codeset_mo)): Depend on the input file.
16634
d1f09384
JL
166352012-08-17 Jeff Law <law@redhat.com>
16636
16637 * intl/Makefile (codeset_mo): New variable.
16638 ($(codeset_mo)): New target.
16639 (tst-codeset.out): Depend on that. Remove explicit rule.
16640 (tst-gettext3.out, tst-gettext5.out): Likewise.
16641 (LOCPATH-ENV, tst-codeset-ENV): New variables.
16642 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
16643 * intl/tst-codeset.sh: Remove.
16644 * intl/tst-gettext3.sh: Likewise.
16645 * intl/tst-gettext5.sh: Likewise.
16646
2ae1ae5c
RM
166472012-08-17 Roland McGrath <roland@hack.frob.com>
16648
c31fdb83
RM
16649 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
16650 * sysdeps/unix/syscalls.list: ... here.
16651
a0844057
RM
16652 * sysdeps/posix/getaddrinfo.c
16653 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
16654 (gaiconf_init, gaiconf_reload): Use them.
16655 [!_STATBUF_ST_NSEC]
16656 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
16657 Define using time_t rather than struct timespec.
16658
750c1f2a
RM
16659 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
16660 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
16661 Macros removed.
16662 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
16663 [!NO_THREADS].
16664 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
16665 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
16666 Likewise.
16667
2ae1ae5c
RM
16668 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
16669 __libc_cleanup_push argument.
16670
e66a42f5
RM
16671 * bits/param.h: New file.
16672 * misc/sys/param.h: New file.
16673 * include/sys/param.h: New file.
16674 * misc/Makefile (headers): Add bits/param.h.
16675 * sysdeps/generic/sys/param.h: File removed.
16676 * sysdeps/unix/sysv/linux/bits/param.h: New file.
16677 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
16678 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 16679 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 16680
b7c08a66
RM
16681 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
16682 last change.
16683
b2e1c562
RM
16684 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
16685 [_IO_MTSAFE_IO].
16686 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
16687 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
16688 New macros.
16689
c75ccd4c
RM
16690 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
16691 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
16692 rather than -D_IO_MTSAFE_IO conditionally.
16693 * stdio-common/Makefile (CPPFLAGS): Likewise.
16694 * wcsmbs/Makefile (CPPFLAGS): Likewise.
16695 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
16696 Use $(libio-mtsafe).
16697 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
16698 of -D_IO_MTSAFE_IO.
16699 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
16700 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
16701 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
16702 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
16703 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
16704 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
16705 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
16706 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
16707 (CFLAGS-fread_u_chk.c): Likewise.
16708 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
16709 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
16710 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
16711 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
16712 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
16713 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
16714 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
16715 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
16716 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
16717
16718 * libio/Makefile: Test [$(libc-reentrant) = yes]
16719 instead of [$(filter %REENTRANT, $(defines)) nonempty].
16720
16721 * Makeconfig
16722 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
16723 * sysdeps/pthread/configure: File removed.
16724 * sysdeps/pthread/Makeconfig: New file.
16725 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
16726 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
16727
d9195db8
GB
167282012-08-16 Gary Benson <gbenson@redhat.com>
16729
16730 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
16731 unmapping the first object in a namespace.
16732
86466cd9
RM
167332012-08-16 Roland McGrath <roland@hack.frob.com>
16734
16735 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
16736 (__internal_setnetgrent): ... this. Add internal_function to
16737 definition. Add libc_hidden_def.
16738 (setnetgrent): Update caller.
16739 (internal_endnetgrent): Renamed to ...
16740 (__internal_endnetgrent): ... this. Add internal_function to
16741 definition. Add libc_hidden_def.
16742 (endnetgrent): Update caller.
16743 (internal_getnetgrent_r): Renamed to ...
16744 (__internal_getnetgrent_r): ... this. Add internal_function to
16745 definition. Add libc_hidden_def.
16746 (__getnetgrent_r): Update caller.
16747 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
16748
c3c8283c
JM
167492012-08-16 Joseph Myers <joseph@codesourcery.com>
16750
16751 * stdlib/longlong.h: Update from GCC.
16752
db1ee0a8
RM
167532012-08-16 Roland McGrath <roland@hack.frob.com>
16754
16755 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
16756 on _QL, which is set by umul_ppmm but never used.
16757 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
16758 variables, which are set by GMP macros but never used.
16759 * stdio-common/_itowa.c (_itowa): Likewise.
16760 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
16761 * stdlib/mod_1.c (mpn_mod_1): Likewise.
16762
30f69637
CD
167632012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
16764
16765 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
16766 struct La_sh_regs is not constant.
16767 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
16768 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
16769 and struct La_sparc64_regs are not constant.
16770
93a78ac4
JM
167712012-08-16 Joseph Myers <joseph@codesourcery.com>
16772
16773 * sysdeps/unix/sysv/linux/kernel-features.h
16774 (__ASSUME_POSIX_TIMERS): Remove.
16775 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16776 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16777 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
16778 Make code unconditional.
16779 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16780 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
16781 Make code unconditional.
16782 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16783 * sysdeps/unix/sysv/linux/clock_nanosleep.c
16784 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
16785 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16786 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
16787 Make code unconditional.
16788 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16789 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
16790 (__libc_missing_posix_timers): Remove.
16791
dd924cd7
RM
167922012-08-15 Roland McGrath <roland@hack.frob.com>
16793
4b4f2771
RM
16794 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
16795 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
16796
601c888b
RM
16797 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
16798
176790a7
RM
16799 * elf/dl-sym.c: Include <stdlib.h>.
16800
329bc018
RM
16801 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
16802 constants, which avoids warnings in 32-bit builds.
16803
e04e272d
RM
16804 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
16805 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
16806
952bf94a
RM
16807 * misc/lseek.c: File moved to ...
16808 * io/lseek.c: ... here.
16809
7c99b50a
RM
16810 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
16811
dd924cd7
RM
16812 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
16813 shifting LEN more than 31 bits at once.
16814
b3f479a8
LD
168152012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16816
16817 [BZ #14195]
8c4ae0d4
RM
16818 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
16819 segmentation fault for a case of two empty input strings.
b3f479a8
LD
16820 * string/test-strncasecmp.c (check1): Renamed to...
16821 (bz12205): ...this.
16822 (bz14195): Add new testcase for two empty input strings and N > 0.
16823 (test_main): Call new testcase, adapt for renamed function.
16824
9c55864e
AJ
168252012-08-15 Andreas Jaeger <aj@suse.de>
16826
16827 [BZ #14090]
16828 * crypt/md5test2.c: New test, based on test supplied by Serge
16829 Belyshev <belyshev@depni.sinp.msu.ru>.
16830 * crypt/Makefile (xtests): Add md5test-giant..
16831 * crypt/Makefile ($(objpfx)md5test-giant): Add.
16832
02dcb6c5
PE
168332012-08-15 Paul Eggert <eggert@cs.ucla.edu>
16834
16835 [BZ #14090]
16836 * crypt/md5.c (md5_process_block): Don't assume the buffer
16837 length is less than 2**32.
16838 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
16839 length is less than 2**64.
16840
a3f95dcc
RM
168412012-08-15 Roland McGrath <roland@hack.frob.com>
16842
be75d758
RM
16843 * string/str-two-way.h: Include <sys/param.h>.
16844 (MAX): Macro removed.
16845
7312ca90
RM
16846 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
16847 Move #define and #undef of memmove to just before and after
16848 including <string.h>.
16849
9a0a5486
RM
16850 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
16851 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
16852 and after including <string.h>. Move declarations of
16853 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
16854 to before #include "string/memmove.c".
16855
67cc348d
RM
16856 * include/dirent.h: Declare __getdirentries.
16857
a3f95dcc
RM
16858 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
16859 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
16860
ca98e171
MF
168612012-08-14 Mike Frysinger <vapier@gentoo.org>
16862
16863 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
16864 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
16865 * sysdeps/i386/configure: Regenerated.
16866 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
16867 STABS_CURRENT_FILE, and STABS_FUN.
16868 (END): Remove call to STABS_FUN_END.
16869 (STABS_CURRENT_FILE1): Delete.
16870 (STABS_CURRENT_FILE): Likewise.
16871 (STABS_FUN): Likewise.
16872 (STABS_FUN_END): Likewise.
16873 (STABS_FUN2): Likewise.
16874 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
16875 * sysdeps/x86_64/configure: Regenerated.
16876
5908bf46
RM
168772012-08-14 Roland McGrath <roland@hack.frob.com>
16878
16879 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 16880 * elf/dl-lookup.c: Likewise.
5908bf46 16881
f2c05b9e
JM
168822012-08-14 Joseph Myers <joseph@codesourcery.com>
16883
16884 * sysdeps/unix/sysv/linux/kernel-features.h
16885 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
16886 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
16887 unconditionally.
16888 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
16889 unconditionally.
16890 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
16891 condition on __ASSUME_CLONE_THREAD_FLAGS.
16892
e11f5155
AJ
168932012-08-14 Andreas Jaeger <aj@suse.de>
16894
16895 * sysdeps/i386/fpu/libm-test-ulps: Update.
16896
51a9ba86
MK
168972012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
16898
2fdd4f78
AJ
16899 * include/atomic.h (atomic_exchange_and_add): Split into ...
16900 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
16901 New atomic macros.
51a9ba86 16902
ba6cba9e
MT
169032012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
16904
16905 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16906
42443a47
JL
169072012-08-13 Jeff Law <law@redhat.com>
16908
16909 * manual/stdio.texi (snprintf): Clarify handling of the trailing
16910 null byte in the output string.
16911
121dce05
JM
169122012-08-10 Joseph Myers <joseph@codesourcery.com>
16913
16914 * sysdeps/unix/sysv/linux/kernel-features.h
16915 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
16916 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
16917 (__ASSUME_ARG_MAX_STACK_BASED): Define.
16918 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
16919 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
16920 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
16921 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
16922
bf51f568
JL
169232012-08-09 Jeff Law <law@redhat.com>
16924
16925 [BZ #13939]
16926 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
16927 When avoid_arena is set, don't retry in the that arena. Pick the
16928 next one, whatever it might be.
16929 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
16930 (arena_lock): Pass in new parameter to arena_get2.
16931 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
16932 arena_get2.
16933 (__libc_malloc): Unify retrying after main arena failure with
16934 __libc_memalign version.
16935 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
16936
f85fa270
L
169372012-08-09 H.J. Lu <hongjiu.lu@intel.com>
16938
16939 [BZ #14166]
16940 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
16941 to __redirect_strstr.
16942 (__strstr_sse42): Use typeof __redirect_strstr.
16943 (__strstr_ia32): Likewise.
16944 (__libc_strstr): New prototype.
16945 (strstr): Renamed to ...
16946 (__libc_strstr): This.
16947 (strstr): New strong alias of __libc_strstr.
16948 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16949 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
16950 __redirect_time.
16951 Include <time.h>.
16952 (__libc_time): New prototype.
16953 (time_ifunc): Replace time with __libc_time.
16954 (time): New strong alias and hidden definition of __libc_time.
16955 (__GI_time): Remove strong alias.
16956 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
16957 Include <stddef.h>.
16958 (memmove): Redefined to __redirect_memmove.
16959 (__memmove_sse2): Use typeof __redirect_memmove.
16960 (__memmove_ssse3): Likewise.
16961 (__memmove_ssse3_back): Likewise.
16962 (__libc_memmove): New prototype.
16963 (memmove): Renamed to ...
16964 (__libc_memmove): This.
16965 (memmove): New strong alias of __libc_memmove.
16966
33b4a91e
MS
169672012-08-08 Mark Salter <msalter@redhat.com>
16968
16969 * elf/elf.h
16970 (R_MN10300_TLS_GD): Define.
16971 (R_MN10300_TLS_LD): Likewise.
16972 (R_MN10300_TLS_LDO): Likewise.
16973 (R_MN10300_TLS_GOTIE): Likewise.
16974 (R_MN10300_TLS_IE): Likewise.
16975 (R_MN10300_TLS_LE): Likewise.
16976 (R_MN10300_TLS_DTPMOD): Likewise.
16977 (R_MN10300_TLS_DTPOFF): Likewise.
16978 (R_MN10300_TLS_TPOFF): Likewise.
16979 (R_MN10300_SYM_DIFF): Likewise.
16980 (R_MN10300_ALIGN): Likewise.
16981 (R_MN10300_NUM): Update.
16982
b36137f1
JM
169832012-08-08 Joseph Myers <joseph@codesourcery.com>
16984
16985 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
16986 Remove.
16987
cdd915fd
RM
169882012-08-08 Roland McGrath <roland@hack.frob.com>
16989
a2433aac
RM
16990 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
16991
cdd915fd
RM
16992 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
16993 sysdeps/unix -> sysdeps/posix move.
16994 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16995
bf9b740a
AM
169962012-08-07 Allan McRae <allan@archlinux.org>
16997
16998 [BZ #14303]
16999 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
17000 (SUNOS_CPP): Likewise.
17001 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
17002 not found.
17003 (open_input): Call CPP using execvp.
17004
93df14ee
JM
170052012-08-07 Joseph Myers <joseph@codesourcery.com>
17006
17007 * sysdeps/unix/sysv/linux/kernel-features.h
17008 (__ASSUME_PROT_GROWSUPDOWN): Remove.
17009 (__ASSUME_NO_CLONE_DETACHED): Likewise.
17010 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17011 (__ASSUME_WAITID_SYSCALL): Likewise.
17012 * sysdeps/unix/sysv/linux/dl-execstack.c
17013 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
17014 code unconditional.
17015 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
17016 conditional code.
17017 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
17018 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
17019 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
17020 code.
17021 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
17022 unconditional.
17023 [__ASSUME_WAITID_SYSCALL]: Likewise.
17024 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
17025
d34689de
RM
170262012-08-07 Roland McGrath <roland@hack.frob.com>
17027
a281decc
RM
17028 * sysdeps/unix/closedir.c: Renamed to ...
17029 * sysdeps/posix/closedir.c: ... here.
17030 * sysdeps/unix/dirfd.c: Renamed to ...
17031 * sysdeps/posix/dirfd.c: ... here.
17032 * sysdeps/unix/dirstream.h: Renamed to ...
17033 * sysdeps/posix/dirstream.h: ... here.
17034 * sysdeps/unix/fdopendir.c: Renamed to ...
17035 * sysdeps/posix/fdopendir.c: ... here.
17036 * sysdeps/unix/opendir.c: Renamed to ...
17037 * sysdeps/posix/opendir.c: ... here.
17038 * sysdeps/unix/readdir.c: Renamed to ...
17039 * sysdeps/posix/readdir.c: ... here.
17040 * sysdeps/unix/readdir_r.c: Renamed to ...
17041 * sysdeps/posix/readdir_r.c: ... here.
17042 * sysdeps/unix/rewinddir.c: Renamed to ...
17043 * sysdeps/posix/rewinddir.c: ... here.
17044 * sysdeps/unix/seekdir.c: Renamed to ...
17045 * sysdeps/posix/seekdir.c: ... here.
17046 * sysdeps/unix/telldir.c: Renamed to ...
17047 * sysdeps/posix/telldir.c: ... here.
17048 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
17049 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
17050 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
17051 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
17052
22895b47
RM
17053 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
17054 * bits/fcntl.h: ... here.
17055
707a53b6
RM
17056 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
17057 not 0.
17058 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
17059 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
17060 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
17061 (struct flock): Move l_start, l_len to the beginning.
17062 Use __pid_t for l_pid.
17063 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
17064 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
17065 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
17066 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
17067 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
17068 [__USE_LARGEFILE64] (struct flock64): New type.
17069 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
17070
f0bd3e25
RM
17071 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
17072 * bits/dirent.h: ... here.
17073
d34689de
RM
17074 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
17075 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
17076
6dad2c06
JM
170772012-08-07 Joseph Myers <joseph@codesourcery.com>
17078
17079 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17080 Change from 2.6.0 to 2.6.16.
17081 * sysdeps/unix/sysv/linux/configure: Regenerated.
17082 * sysdeps/unix/sysv/linux/kernel-features.h
17083 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
17084 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
17085 version.
17086 (__ASSUME_UTIMES): Likewise.
17087 (__ASSUME_CLONE_STOPPED): Remove.
17088 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
17089 architectures, not kernel version.
17090 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
17091 (__ASSUME_NO_CLONE_DETACHED): Likewise.
17092 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
17093 (__ASSUME_WAITID_SYSCALL): Likewise.
17094 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
17095 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
17096 * README: State 2.6.16 as minimum Linux kernel version. Do not
17097 refer to older versions.
17098
03af9520
RM
170992012-08-06 Roland McGrath <roland@hack.frob.com>
17100
8e49df1d
RM
17101 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
17102 Define alphasort64 as an alias.
17103 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
17104 Define versionsort64 as an alias.
17105 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
17106 Define scandir64 as an alias.
17107 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
17108 Define scandirat64 as an alias.
17109 * dirent/alphasort64.c (alphasort64):
17110 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
17111 * dirent/versionsort64.c: Likewise.
17112 * dirent/scandir64.c: Likewise.
17113 * dirent/scandirat64.c: Likewise.
17114 * sysdeps/wordsize-64/alphasort.c: File removed.
17115 * sysdeps/wordsize-64/alphasort64.c: File removed.
17116 * sysdeps/wordsize-64/scandir.c: File removed.
17117 * sysdeps/wordsize-64/scandir64.c: File removed.
17118 * sysdeps/wordsize-64/scandirat.c: File removed.
17119 * sysdeps/wordsize-64/scandirat64.c: File removed.
17120 * sysdeps/wordsize-64/versionsort.c: File removed.
17121 * sysdeps/wordsize-64/versionsort64.c: File removed.
17122 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
17123 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
17124 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
17125 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
17126 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
17127 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
17128 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
17129 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
17130
17131 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
17132 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17133 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
17134 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17135 [defined __arch64__ || defined __sparcv9]
17136 (__INO_T_MATCHES_INO64_T): New macro.
17137 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17138 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
17139 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
17140 * sysdeps/unix/sysv/linux/bits/dirent.h
17141 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
17142 (_DIRENT_MATCHES_DIRENT64): New macro.
17143
03af9520
RM
17144 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
17145 Define lockf64 as an alias.
17146 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
17147 Define fseeko64 as an alias.
17148 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
17149 Define ftello64 as an alias.
17150 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
17151 Define _IO_fgetpos64 and fgetpos64 as aliases.
17152 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
17153 Define _IO_fsetpos64 and fsetpos64 as aliases.
17154 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
17155 Conditionalize body on this.
17156 * libio/fseeko64.c: Likewise.
17157 * libio/ftello64.c: Likewise.
17158 * libio/iofgetpos64.c: Likewise.
17159 * libio/iofsetpos64.c: Likewise.
17160 * sysdeps/wordsize-64/lockf.c: File removed.
17161 * sysdeps/wordsize-64/lockf64.c: File removed.
17162 * sysdeps/wordsize-64/fseeko.c: File removed.
17163 * sysdeps/wordsize-64/fseeko64.c: File removed.
17164 * sysdeps/wordsize-64/ftello.c: File removed.
17165 * sysdeps/wordsize-64/ftello64.c: File removed.
17166 * sysdeps/wordsize-64/iofgetpos.c: File removed.
17167 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
17168 * sysdeps/wordsize-64/iofsetpos.c: File removed.
17169 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
17170 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
17171 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
17172 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
17173 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
17174 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
17175 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
17176 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
17177 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
17178 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
17179 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
17180
17181 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17182 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17183 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
17184 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17185 [defined __arch64__ || defined __sparcv9]
17186 (__OFF_T_MATCHES_OFF64_T): New macro.
17187 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17188 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17189 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17190 (__OFF_T_MATCHES_OFF64_T): New macro.
17191
c5757acd
L
171922012-08-06 H.J. Lu <hongjiu.lu@intel.com>
17193
17194 * stdlib/secure-getenv.c (__secure_getenv): Replace
17195 GLIBC_2_16 with GLIBC_2_17.
17196
3a31811e
L
171972012-08-06 H.J. Lu <hongjiu.lu@intel.com>
17198
17199 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
17200 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17201
faa2bccb
DM
172022012-08-03 David S. Miller <davem@davemloft.net>
17203
17204 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17205
85fe1997
JM
172062012-08-03 Joseph Myers <joseph@codesourcery.com>
17207
17208 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
17209 Remove.
17210 (__ASSUME_CORRECT_SI_PID): Likewise.
17211 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
17212 (__ASSUME_TMPFS_NAME): Likewise.
17213 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
17214 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
17215 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
17216 (HAVE_AUX_SECURE): Make definition unconditional.
17217 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
17218 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
17219
4f75b7a0
RM
172202012-08-03 Roland McGrath <roland@hack.frob.com>
17221
17222 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
17223 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
17224 * sysdeps/mach/hurd/eloop-threshold.h: New file.
17225 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17226 __eloop_threshold instead of SYMLOOP_MAX.
17227
17228 * sysdeps/generic/eloop-threshold.h: New file.
17229 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
17230 of MAXSYMLINKS.
17231 * elf/chroot_canon.c (chroot_canon): Likewise.
17232
7aab07e4
JM
172332012-08-03 Joseph Myers <joseph@codesourcery.com>
17234
17235 [BZ #13717]
17236 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17237 Change to 2.6.0 everywhere.
17238 * sysdeps/unix/sysv/linux/configure: Regenerated.
17239 * sysdeps/unix/sysv/linux/kernel-features.h
17240 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
17241 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
17242 kernel versions.
17243 (__ASSUME_POSIX_TIMERS): Define unconditionally.
17244 (__ASSUME_FUTEX_REQUEUE): Remove.
17245 (__ASSUME_STATFS64): Define unconditionally.
17246 (__ASSUME_AT_SECURE): Likewise.
17247 (__ASSUME_CORRECT_SI_PID): Likewise.
17248 (__ASSUME_TGKILL): Define without depending on kernel version for
17249 i386.
17250 (__ASSUME_UTIMES): Likewise.
17251 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
17252 kernel version.
17253 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
17254 (__ASSUME_TMPFS_NAME): Likewise.
17255 * README: Update reference to Linux kernel versions.
17256
b67e9372
MP
172572012-08-02 Marek Polacek <polacek@redhat.com>
17258
1f529f7d 17259 [BZ# 14150]
b67e9372
MP
17260 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
17261 libc_cv_asm_type_prefix with %.
17262 * configure: Regenerated.
d2441631
RM
17263 * include/libc-symbols.h: Remove comment about
17264 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
17265 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
17266 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
17267 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
17268 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
17269 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17270 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
17271 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
17272 * elf/tst-unique2mod1.c: Likewise.
17273 * elf/tst-unique1mod2.c: Likewise.
17274 * elf/tst-unique1mod1.c: Likewise.
17275 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
17276 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
17277 Replace ASM_TYPE_DIRECTIVE with .type.
17278 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17279 * sysdeps/i386/sysdep.h: Likewise.
17280 * sysdeps/x86_64/sysdep.h: Likewise.
17281 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
17282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17283 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 17284 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
17285 * sysdeps/powerpc/powerpc32/sysdep.h:
17286 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
17287 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17288 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17289 * sysdeps/i386/fpu/e_powf.S: Likewise.
17290 * sysdeps/i386/fpu/e_expl.S: Likewise.
17291 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17292 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17293 * sysdeps/i386/fpu/e_pow.S: Likewise.
17294 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17295 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17296 * sysdeps/i386/fpu/s_expm1.S: Likewise.
17297 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17298 * sysdeps/i386/fpu/e_log2.S: Likewise.
17299 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17300 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17301 * sysdeps/i386/fpu/e_powl.S: Likewise.
17302 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17303 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17304 * sysdeps/i386/fpu/e_logl.S: Likewise.
17305 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17306 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17307 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17308 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17309 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17310 * sysdeps/i386/fpu/e_log.S: Likewise.
17311 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17312 * sysdeps/i386/fpu/e_logf.S: Likewise.
17313 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17314 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17315 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17316 * sysdeps/i386/fpu/e_log10.S: Likewise.
17317 * sysdeps/i386/fpu/s_frexp.S: Likewise.
17318 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17319 * sysdeps/i386/fpu/s_asinh.S: Likewise.
17320 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17321 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17322 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
17323 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17324 * sysdeps/i386/i686/strtok.S: Likewise.
17325 * sysdeps/i386/i386-mcount.S: Likewise.
17326 * sysdeps/i386/strtok.S: Likewise.
17327 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
17328 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17329 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17330 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17331 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17332 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17333 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17334 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17335 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17336 * sysdeps/x86_64/_mcount.S: Likewise.
17337 * sysdeps/x86_64/strtok.S: Likewise.
17338 * sysdeps/sh/_mcount.S: Likewise.
17339
2747bf9a
RM
173402012-08-01 Roland McGrath <roland@hack.frob.com>
17341
17342 * libio/iofopen.c: Include <fcntl.h>.
17343 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
17344 (_IO_fopen64, fopen64): Define as aliases.
17345 * libio/iofopen64.c: Include <fcntl.h>.
17346 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
17347 Conditionalize body on this.
17348 * sysdeps/wordsize-64/iofopen.c: File removed.
17349 * sysdeps/wordsize-64/iofopen64.c: File removed.
17350
3fb791b8
MP
173512012-08-01 Marek Polacek <polacek@redhat.com>
17352
17353 * libc/Makeconfig: Use elf in place of binfmt-subdir.
17354 Use dlfcn directly instead of a variable.
17355 (binfmt-subdir): Do not define.
17356 (dlfcn): Likewise.
17357
a9f1039f
JM
173582012-08-01 Joseph Myers <joseph@codesourcery.com>
17359
23bddc06
JM
17360 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
17361 Remove all definitions.
17362 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
17363 <kernel-features.h>.
17364 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17365 (miss_F_GETOWN_EX): Remove all definitions.
17366 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
17367 macro definition.
17368 [!__ASSUME_FCNTL64]: Remove conditional code.
17369 [__ASSUME_FCNTL64]: Make code unconditional.
17370 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
17371 <kernel-features.h>.
17372 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17373 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
17374 (lockf64) [__NR_fcntl64]: Make code unconditional.
17375 (lockf64) [__ASSUME_FCNTL64]: Likewise.
17376
a9f1039f
JM
17377 * sysdeps/unix/sysv/linux/kernel-features.h
17378 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
17379 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
17380 Make code unconditional.
17381 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17382 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
17384 [__NR_vfork]: Make code unconditional.
17385 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17386 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
17388 [__NR_vfork]: Make code unconditional.
17389 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17390 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17391
09c0ee5f
RM
173922012-08-01 Roland McGrath <roland@hack.frob.com>
17393
48aec5b9
RM
17394 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
17395 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
17396
cd97c966
RM
17397 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17398 Define mkstemp64 as an alias.
3f55550c
RM
17399 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17400 Define mkstemps64 as an alias.
cd97c966
RM
17401 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17402 Define mkostemp64 as an alias.
b8625cfc
RM
17403 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17404 Define mkostemps64 as an alias.
cd97c966
RM
17405 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
17406 Conditionalize body on this.
17407 * misc/mkostemp64.c: Likewise.
b8625cfc 17408 * misc/mkostemps64.c: Likewise.
3f55550c 17409 * misc/mkstemps64.c: Likewise.
cd97c966
RM
17410 * sysdeps/wordsize-64/mkstemp64.c: File removed.
17411 * sysdeps/wordsize-64/mkostemp64.c: File removed.
17412 * sysdeps/wordsize-64/mkostemp.c: File removed.
17413 * sysdeps/wordsize-64/mkstemp.c: File removed.
17414 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
17415 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
17416 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
17417 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
17418
09c0ee5f
RM
17419 [BZ #14138]
17420 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
17421 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
17422 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
17423 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
17424
17425 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
17426 compat_symbol macros from <shlib-compat.h> rather than the underlying
17427 default_symbol_version and symbol_version macros, so that DEFAULT
17428 lines in shlib-versions are respected.
17429 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
17430
7e66ee51
FW
174312012-08-01 Florian Weimer <fweimer@redhat.com>
17432
17433 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
17434 Declare with warn_unused_result.
17435 (setgid, setregid, setegid, setresgid): Likewise.
17436 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
17437 Likewise.
17438 * WUR-REPORT: Remove set*id functions.
17439
d2a54255
PT
174402012-07-31 Pino Toscano <toscano.pino@tiscali.it>
17441
17442 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
17443
7ecdb005
RM
174442012-07-31 Roland McGrath <roland@hack.frob.com>
17445
b4180a5e 17446 [BZ #10191]
789bd351
RM
17447 * include/sys/socket.h (__libc_accept, __libc_accept4):
17448 Add attribute_hidden.
17449 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
17450
40ce302d
RM
17451 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
17452 use of PTR_MANGLE.
17453 * inet/getnetgrent_r.c (setup): Likewise.
17454
7ecdb005
RM
17455 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
17456
e2eabb2c
DM
174572012-07-31 David S. Miller <davem@davemloft.net>
17458
17459 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17460
d0419dbf
JM
174612012-07-31 Joseph Myers <joseph@codesourcery.com>
17462
17463 [BZ #13629]
17464 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
17465 value between 1.0 and 2.0 and smaller part has absolute value less
17466 than 1.0.
17467 * math/s_clog10.c (__clog10): Likewise.
17468 * math/s_clog10f.c (__clog10f): Likewise.
17469 * math/s_clog10l.c (__clog10l): Likewise.
17470 * math/s_clogf.c (__clogf): Likewise.
17471 * math/s_clogl.c (__clogl): Likewise.
17472 * math/libm-test.inc (clog_test): Add more tests.
17473 (clog10_test): Likewise.
17474 * sysdeps/i386/fpu/libm-test-ulps: Update.
17475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17476
2bc13872
FW
174772012-07-31 Florian Weimer <fweimer@redhat.com>
17478
17479 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
17480 Exit with zero in case no suitable GID is found, and write a
17481 message to standard error.
17482
bea9b193
RM
174832012-07-30 Roland McGrath <roland@hack.frob.com>
17484
17485 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
17486 rather than to 1.
17487 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
17488 (MAXPATHLEN): Removed.
17489 (NOGROUP, NODEV): New macros.
17490 (setbit, clrbit, isset, isclr): New macros.
17491 (howmany, roundup, powerof2): New macros.
17492 (DEV_BSIZE): New macro.
17493
17494 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
17495 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
17496
17497 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
17498 definition on [!__NO_LONG_DOUBLE_MATH].
17499
17500 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
17501 PTR_MANGLE and PTR_DEMANGLE.
17502
17503 * socket/accept4.c (accept4): Rename to __libc_accept4.
17504 Define accept4 as a weak alias.
17505
17506 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
17507 on [_DIRENT_HAVE_D_TYPE].
17508 * io/ftw.c (ftw_dir): Likewise.
17509
17510 * io/xmknod.c (__xmknod): Don't check PATH for being null.
17511
17512 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
17513
17514 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
17515 Use the BSD numbers rather than the arbitrary ones we had.
17516 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
17517 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
17518 (SIGXCPU, SIGXFSZ): New macros.
17519 (_NSIG): Now 32.
17520
17521 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
17522 initializer on [_LIBC_REENTRANT].
17523
17524 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
17525 definitions inside [_POSIX_MAPPED_FILES].
17526
17527 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
17528
17529 * dirent/opendir.c: Include <fcntl.h>.
17530
17531 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
17532 (__libc_getspecific): Likewise.
17533 (__libc_key_create): Likewise.
17534
17535 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
17536 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
17537 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
17538 (tmpfile64): Define as alias.
17539 * sysdeps/wordsize-64/tmpfile.c: File removed.
17540 * sysdeps/wordsize-64/tmpfile64.c: File removed.
17541 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
17542 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
17543
17544 * stdio-common/vfscanf.c: Include <stdbool.h>.
17545 * nss/makedb.c: Likewise.
17546 * stdio-common/_i18n_number.h: Likewise.
17547 * argp/argp-help.c: Likewise.
17548 * posix/wordexp.c: Likewise.
17549 * sysdeps/posix/spawni.c: Likewise.
17550 * nss/nss_files/files-initgroups.c: Likewise.
17551 * stdio-common/reg-modifier.c: Include <stdlib.h>.
17552 * nss/nss_files/files-initgroups.c: Likewise.
17553 * nss/nss_db/db-netgrp.c: Likewise.
17554 * nss/nss_db/db-initgroups.c: Likewise.
17555 * io/fchmodat.c: Include <sys/stat.h>.
17556
17557 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
17558 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
17559
17560 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
17561 [HAVE_MMAP].
17562
17563 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
17564 Add multiple inclusion protection.
17565
e5abc686
DM
175662012-07-27 David S. Miller <davem@davemloft.net>
17567
17568 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17569
815e6fa3
GB
175702012-07-27 Gary Benson <gbenson@redhat.com>
17571
17572 [BZ #14298]
17573 * elf/rtld.c: Include <stap-probe.h>.
17574 (dl_main): Added static probes "init_start" and "init_complete".
17575 * elf/dl-load.c: Include <stap-probe.h>.
17576 (lose): Take new parameter "nsid".
17577 Added static probe "map_failed".
17578 (_dl_map_object_from_fd): Pass namespace id to lose.
17579 Added static probe "map_start".
17580 (open_verify): Pass namespace id to lose.
17581 * elf/dl-open.c: Include <stap-probe.h>.
17582 (dl_open_worker) Added static probes "map_complete", "reloc_start"
17583 and "reloc_complete".
17584 * elf/dl-close.c: Include <stap-probe.h>.
17585 (_dl_close_worker): Added static probes "unmap_start" and
17586 "unmap_complete".
17587 * elf/rtld-debugger-interface.txt: New file documenting the above.
17588
9f98c16c
RM
175892012-07-26 Roland McGrath <roland@hack.frob.com>
17590
17591 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
17592 rather than a string variable.
17593 * sunrpc/rpc_main.c (h_output): Likewise.
17594 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
17595
f3c22df3
PT
175962012-07-26 Pino Toscano <toscano.pino@tiscali.it>
17597
17598 * inet/check_native.c: New file.
17599
3129cfc6
JM
176002012-07-26 Joseph Myers <joseph@codesourcery.com>
17601
da865e95
JM
17602 [BZ #13629]
17603 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
17604 if larger part has absolute value 1.0.
17605 * math/s_clog10.c (__clog10): Likewise.
17606 * math/s_clog10f.c (__clog10f): Likewise.
17607 * math/s_clog10l.c (__clog10l): Likewise.
17608 * math/s_clogf.c (__clogf): Likewise.
17609 * math/s_clogl.c (__clogl): Likewise.
17610 * math/libm-test.inc (clog_test): Add more tests.
17611 (clog10_test): Likewise.
17612 * sysdeps/i386/fpu/libm-test-ulps: Update.
17613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17614
3129cfc6
JM
17615 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
17616 (pltexit): Likewise.
17617 (La_regs): Likewise.
17618 (La_retval): Likewise.
17619 (int_retval): Likewise.
17620 Update #error for removed macros to refer only to definitions in
17621 tst-audit.h.
17622 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
17623 macro.
17624 (pltexit): Likewise.
17625 (La_regs): Likewise.
17626 (La_retval): Likewise.
17627 (int_retval): Likewise.
17628 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
17629 macro.
17630 (pltexit): Likewise.
17631 (La_regs): Likewise.
17632 (La_retval): Likewise.
17633 (int_retval): Likewise.
17634 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
17635 macro.
17636 (pltexit): Likewise.
17637 (La_regs): Likewise.
17638 (La_retval): Likewise.
17639 (int_retval): Likewise.
17640 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
17641 macro.
17642 (pltexit): Likewise.
17643 (La_regs): Likewise.
17644 (La_retval): Likewise.
17645 (int_retval): Likewise.
17646 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
17647 macro.
17648 (pltexit): Likewise.
17649 (La_regs): Likewise.
17650 (La_retval): Likewise.
17651 (int_retval): Likewise.
17652 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
17653 macro.
17654 (pltexit): Likewise.
17655 (La_regs): Likewise.
17656 (La_retval): Likewise.
17657 (int_retval): Likewise.
17658 * sysdeps/generic/tst-audit.h: Update comment to refer only to
17659 macro definitions in tst-audit.h.
17660 * sysdeps/i386/tst-audit.h: New file.
17661 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
17662 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
17663 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
17664 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
17665 * sysdeps/sh/tst-audit.h: Likewise.
17666 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
17667 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
17668 * sysdeps/x86_64/tst-audit.h: Likewise.
17669
bfc07087
AJ
176702012-07-26 Andreas Jaeger <aj@suse.de>
17671
b1b2aaf8
AJ
17672 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
17673 ptrace.
17674
17675 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
17676 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
17677 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
17678 PTRACE_O_MASK.
17679 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
17680 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
17681 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
17682
bfc07087
AJ
17683 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
17684 value.
17685
17686 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
17687 _sigsys.
17688 (si_call_addr, si_syscall, si_arch): Define new macro.
17689 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
17690 _sigsys.
17691 (si_call_addr, si_syscall, si_arch): Define new marcro.
17692 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
17693 _sigsys.
17694 (si_call_addr, si_syscall, si_arch): Define new macro.
17695 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
17696 _sigsys.
17697 (si_call_addr, si_syscall, si_arch): Define new macro.
17698
89b4b02f
JM
176992012-07-25 Joseph Myers <joseph@codesourcery.com>
17700
17701 [BZ #13717]
17702 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17703 Change to 2.4.21 where previously 2.4.1.
17704 * sysdeps/unix/sysv/linux/configure: Regenerated.
17705 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
17706 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
17707 Linux kernel version.
17708 (__ASSUME_STD_AUXV): Remove.
17709 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
17710 kernel version.
17711 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
17712 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
17713 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
17714 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
17715 (__ASSUME_NETLINK_SUPPORT): Likewise.
17716 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
17717 (__no_netlink_support): Remove conditional definition.
17718 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
17719 Remove.
17720 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17721 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
17722 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
17723 (if_nameindex_ioctl): Remove.
17724 (if_nameindex_netlink): Do not handle __no_netlink_support.
17725 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17726 code.
17727 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
17728 Remove conditional code.
17729 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17730 code.
17731 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
17732 unconditional.
17733 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17734 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
17735 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
17736 Remove.
17737 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
17738 [!__ASSUME_STD_AUXV]: Remove conditional code.
17739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
17740 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
17741 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
17742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
17743 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
17744 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17745 code.
17746 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17748 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
17749 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17750 conditional code.
17751 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17753 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17754 code.
17755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17756 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17757 conditional code.
17758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
17759 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17760 code unconditional.
17761 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17762 conditional code.
17763 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17764 unconditional.
17765 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17766 conditional code.
17767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17768 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17769 unconditional.
17770 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17771 conditional code.
17772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
17773 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17774 code unconditional.
17775 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17776 conditional code.
17777 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17778 unconditional.
17779 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17780 conditional code.
17781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
17782 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17783 code unconditional.
17784 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17785 conditional code.
17786 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17787 unconditional.
17788 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17789 conditional code.
17790
842a39cd
AS
177912012-07-25 Andreas Schwab <schwab@linux-m68k.org>
17792
17793 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
17794 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
17795 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17796 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
17797 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
17798 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
17799 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17800 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
17801 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
17802 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
17803 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
17804 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
17805 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
17806 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17807 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
17808 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
17809 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
17810 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
17811 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
17812 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
17813 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
17814 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
17815 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17816
84b3fd84
FW
178172012-07-25 Florian Weimer <fweimer@redhat.com>
17818
17819 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
17820 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
17821 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
17822 Introduce __libc_secure_getenv.
0c7936d5
FW
17823 * stdlib/Versions (2.17): Add secure_getenv
17824 (GLIBC_PRIVATE): Add __libc_secure_getenv.
17825 * stdlib/secure-getenv.c: Rename __secure_getenv to
17826 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
17827 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
17828 * stdlib/tst-secure-getenv.c: New.
17829 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
17830 * manual/startup.texi (Environment Access): Document
17831 secure_getenv.
84b3fd84
FW
17832 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
17833 __libc_secure_getenv.
17834 * inet/ruserpass.c (ruserpass): Likewise.
17835 * malloc/mtrace.c (mtrace): Likewise.
17836 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 17837 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
17838 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
17839 * sysdeps/posix/tempname.c: Likewise. Evaluate
17840 HAVE_SECURE_GETENV.
17841 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 17842 __secure_getenv to __libc_secure_getenv.
84b3fd84 17843 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
17844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17845 Likewise.
17846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17847 Likewise.
17848 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17849 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17850 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17851 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17852 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17853 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17854 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 17855
56e49b71
JM
178562012-07-25 Joseph Myers <joseph@codesourcery.com>
17857
17858 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
17859 (struct La_i86_retval): Likewise.
17860 (struct La_x86_64_regs): Likewise.
17861 (struct La_x86_64_retval): Likewise.
17862 (struct La_x32_regs): Likewise.
17863 (struct La_x32_retval): Likewise.
17864 (struct La_ppc32_regs): Likewise.
17865 (struct La_ppc32_retval): Likewise.
17866 (struct La_ppc64_regs): Likewise.
17867 (struct La_ppc64_retval): Likewise.
17868 (struct La_sh_regs): Likewise.
17869 (struct La_sh_retval): Likewise.
17870 (struct La_s390_32_regs): Likewise.
17871 (struct La_s390_32_retval): Likewise.
17872 (struct La_s390_64_regs): Likewise.
17873 (struct La_s390_64_retval): Likewise.
17874 (struct La_sparc32_regs): Likewise.
17875 (struct La_sparc32_retval): Likewise.
17876 (struct La_sparc64_regs): Likewise.
17877 (struct La_sparc64_retval): Likewise.
17878 (struct audit_ifaces): Remove architecture-specific pltenter and
17879 pltexit members.
17880 * sysdeps/i386/ldsodefs.h: New file.
17881 * sysdeps/powerpc/ldsodefs.h: Likewise.
17882 * sysdeps/s390/ldsodefs.h: Likewise.
17883 * sysdeps/sh/ldsodefs.h: Likewise.
17884 * sysdeps/sparc/ldsodefs.h: Likewise.
17885 * sysdeps/x86_64/ldsodefs.h: Likewise.
17886
354691b7
MP
178872012-07-25 Marek Polacek <polacek@redhat.com>
17888
17889 [BZ #6808]
17890 * math/libm-test.inc (yn_test): Add another test.
17891 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
17892 to ERANGE when the result is +-Inf.
17893 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17894 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
17895 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
17896 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
17897
bf9e2071
JM
178982012-07-24 Joseph Myers <joseph@codesourcery.com>
17899
17900 * conform/data/time.h-data (NULL): Use macro-constant. Require
17901 equal to 0.
17902 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
17903 clock_t.
17904 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
17905
57633811
TS
179062012-07-23 Thomas Schwinge <thomas@codesourcery.com>
17907
17908 * configure.in <sysdeps resolving>: Correct printing
17909 Implies_before.
17910 * configure: Regenerate.
17911
c23c33b0
TS
179122012-07-22 Thomas Schwinge <thomas@codesourcery.com>
17913
17914 * math/w_ilogb.c: Include <limits.h>.
17915 * math/w_ilogbl.c: Likewise.
17916
b5982523
JM
179172012-07-20 Joseph Myers <joseph@codesourcery.com>
17918
17919 * manual/lang.texi (__va_copy): Document primarily as ISO C99
17920 va_copy. Document allowing for unavailable va_copy only as
17921 pre-C99 compatibility.
17922 * manual/string.texi (Copying and Concatenation): Use va_copy
17923 instead of __va_copy in concat example.
17924
ac4ea442
PT
179252012-07-20 Pino Toscano <toscano.pino@tiscali.it>
17926
17927 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
17928 (__sendto): Use create_address_port. Initialize APORT and deallocate
17929 it if not null.
17930
f98eafbd
PT
17931 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
17932 with O_NOLINK passed to __file_name_lookup.
17933
898c7aab
PT
17934 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
17935 with O_NOLINK passed to __file_name_lookup.
17936
0ced335a
PT
17937 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
17938 negative N or less than NGIDS.
17939
b3404dbd
PT
17940 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
17941 type to string_t. Set ERANGE as errno and return it if NAME is not big
17942 enough. Use memcpy instead of strncpy.
17943
0f48659e
JM
179442012-07-20 Joseph Myers <joseph@codesourcery.com>
17945
17946 * elf/Makefile (check-data): Remove.
17947 (localplt.data): New vpath directive.
17948 ($(objpfx)check-localplt.out): Use localplt.data from vpath
17949 instead of $(check-data).
17950 * scripts/data/localplt-generic.data: Move to ...
17951 * sysdeps/generic/localplt.data: ... here.
17952 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
17953 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
17954 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
17955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
17956 ... here.
17957 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
17958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
17959 ... here.
17960 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
17961 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
17962 ... here.
17963 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
17964 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
17965 ... here.
17966 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
17967 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
17968 ... here.
17969 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
17970 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
17971 ... here.
17972
d37cbdaa
AZ
179732012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17974
17975 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
17976 PPC32 and PPC64 files.
17977 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
17978 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
17979
46f85fc2
AK
179802012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17981
17982 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
17983 __makecontext_ret to ...
17984 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
17985 ... here and call exit if uc_link is NULL. New file.
17986 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
17987 __makecontext_ret.S.
17988 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
17989 __makecontext_ret to ...
17990 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
17991 ... here and call exit if uc_link is NULL. New file.
17992 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
17993 __makecontext_ret.S.
17994
08f43f9b
AK
179952012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17996
17997 * elf/elf.h (R_390_IRELATIVE): New definition.
17998 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
17999 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
18000 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
18001 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
18002 (elf_machine_lazy_rel): Likewise.
18003 * sysdeps/s390/dl-irel.h: New file.
18004 * sysdeps/s390/s390-64/memcpy.S: New asm code.
18005 * sysdeps/s390/s390-64/memset.S: New asm code.
18006 * sysdeps/s390/s390-64/memcmp.S: New asm code.
18007 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
18008 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
18009 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
18010 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
18011 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
18012 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
18013 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
18014 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
18015 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
18016 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
18017 * sysdeps/s390/s390-32/memcpy.S: New asm code.
18018 * sysdeps/s390/s390-32/memset.S: New asm code.
18019 * sysdeps/s390/s390-32/memcmp.S: New asm code.
18020
3b05db33
MP
180212012-07-17 Marek Polacek <polacek@redhat.com>
18022
18023 [BZ #14349]
18024 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
18025 * sysdeps/s390/s390-64/configure.in: Likewise.
18026 * sysdeps/sparc/configure.in: Likewise.
18027 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
18028 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
18029 * sysdeps/i386/configure.in: Likewise.
18030 * sysdeps/x86_64/configure.in: Likewise.
18031 * sysdeps/sh/configure.in: Likewise.
18032 * sysdeps/s390/s390-32/configure: Regenerated.
18033 * sysdeps/s390/s390-64/configure: Likewise.
18034 * sysdeps/x86_64/configure: Likewise.
18035 * sysdeps/sh/configure: Likewise.
18036 * sysdeps/powerpc/powerpc64/configure: Likewise.
18037 * sysdeps/powerpc/powerpc32/configure: Likewise.
18038 * sysdeps/sparc/configure: Likwise.
18039 * sysdeps/i386/configure: Likewise.
18040
a66877c6
MP
18041 * elf/dl-open.c: Comment fixes.
18042
cfc82fd8
JM
180432012-07-17 Joseph Myers <joseph@codesourcery.com>
18044
bd29910a
JM
18045 * Makefile [CXX] (check-data): Remove.
18046 [CXX] (c++-types.data): New vpath directive.
18047 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
18048 vpath. Do not allow for C++ type data being missing.
18049 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
18050 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
18051 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
18052 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
18053 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
18054 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
18055 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
18056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
18057 ... here.
18058 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
18059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
18060 ... here.
18061 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
18062 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
18063 ... here.
18064 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
18065 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
18066 ... here.
18067 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
18068 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
18069 ... here.
18070 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
18071 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
18072 ... here.
18073 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
18074 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
18075 ... here.
18076 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
18077 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
18078
cfc82fd8
JM
18079 * elf/tls-macros.h (TLS_LE): Move architecture-specific
18080 definitions to architecture-specific files.
18081 (TLS_IE): Likewise.
18082 (TLS_LD): Likewise.
18083 (TLS_GD): Likewise.
18084 * sysdeps/i386/tls-macros.h: New file.
18085 * sysdeps/powerpc/tls-macros.h: Likewise.
18086 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
18087 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
18088 * sysdeps/sh/tls-macros.h: Likewise.
18089 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
18090 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
18091 * sysdeps/x86_64/tls-macros.h: Likewise.
18092
f7db3170
TS
180932012-07-17 Thomas Schwinge <thomas@codesourcery.com>
18094
07cbfc23
TS
18095 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
18096 zero value for regular exit case.
18097
f7db3170
TS
18098 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
18099 (__start_context): Preserve zero value for regular exit case.
18100
dc97c227
TS
181012012-07-17 Thomas Schwinge <thomas@codesourcery.com>
18102 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18103
18104 * manual/setjmp.texi (setcontext): Clarify normal process
18105 termination when uc_link is the null pointer.
18106 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
18107 exit call.
18108
d0cd7d02
AS
181092012-07-16 Andreas Schwab <schwab@linux-m68k.org>
18110
18111 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
18112 preprocessor. Test for each exception mask separately.
18113
dd318934
AJ
181142012-07-16 Andreas Jaeger <aj@suse.de>
18115
18116 * po/ru.po: Update from translation team.
18117
8048311a
JM
181182012-07-15 Joseph Myers <joseph@codesourcery.com>
18119
18120 * conform/data/string.h-data (NULL): Use macro-constant. Require
18121 equal to 0.
18122 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18123 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18124 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
18125 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
18126 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18127
b637d46e
AJ
181282012-07-13 Andreas Jaeger <aj@suse.de>
18129
18130 * po/fr.po: Update from translation team.
18131
541428fe
MP
181322012-07-12 Marek Polacek <polacek@redhat.com>
18133
18134 [BZ #14173]
18135 * math/libm-test.inc (yn_test): Add test for BZ #14173.
18136 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
18137 loop condition.
18138
ec332e94
JM
181392012-07-12 Joseph Myers <joseph@codesourcery.com>
18140
18141 [BZ #13717]
18142 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18143 Change to 2.4.1 where previously 2.4.0.
18144 * sysdeps/unix/sysv/linux/configure: Regenerated.
18145 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
18146 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
18147 version.
18148 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
18149 (__ASSUME_AT_CLKTCK): Remove.
18150 (__ASSUME_AT_PAGESIZE): Likewise.
18151 (__ASSUME_AT_XID): Likewise.
18152 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
18153 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
18154 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
18155 unconditionally.
18156 (HAVE_AUX_PAGESIZE): Likewise.
18157 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
18158 [__ASSUME_AT_CLKTCK]: Make code unconditional.
18159 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
18160
7b6e99be
JB
181612012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
18162
18163 [BZ #14307]
18164 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
18165 the temporary buffer used to invoke __gethostbyname2_r,
18166 __gethostbyaddr_r and gethostbyname4_r to make room for struct
18167 host_data / struct gaih_addrtuple.
18168 * resolv/nss_dns/dns-host.c (global scope): Move definition of
18169 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
18170 header file nss/nsswitch.h.
18171 * nss/nsswitch.h (global scope): Add definition of implementation
18172 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
18173 resolv/nss_dns/dns-host.c).
18174
608404eb
AJ
181752012-07-11 Andreas Jaeger <aj@suse.de>
18176
18177 * po/fr.po: Update from translation team.
18178
71220aca
AJ
18179 * po/sv.po: Update from translation team
18180 * po/fr.po: Another update from translation team.
18181
28cfe843
AZ
181822012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18183
18184 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
18185 for subnormals or multiply small sinh result by itself.
18186 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18187 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18188
6b90f981
DM
181892012-07-11 David S. Miller <davem@davemloft.net>
18190
18191 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18192
c6825772
AS
181932012-07-10 Andreas Schwab <schwab@linux-m68k.org>
18194
18195 [BZ #14347]
18196 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
18197 (INTERNAL_MARK): Shift it here.
18198
7b8e0d49
MP
181992012-07-10 Marek Polacek <polacek@redhat.com>
18200
18201 [BZ #14151]
18202 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
18203 libc_cv_asm_global_directive with .globl.
18204 * configure: Regenerated.
18205 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
18206 with .globl.
18207 * sysdeps/i386/configure: Regenerated.
18208 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
18209 with .globl.
18210 * sysdeps/x86_64/configure: Regenerated.
18211 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
18212 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
18213 * elf/tst-unique2mod2.c: Likewise.
18214 * elf/tst-unique2mod1.c: Likewise.
18215 * elf/tst-unique1mod2.c: Likewise.
18216 * elf/tst-unique1mod1.c: Likewise.
18217 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18218 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18219 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18220 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18221 * sysdeps/mach/sysdep.h: Likewise.
18222 * sysdeps/i386/sysdep.h: Likewise.
18223 * sysdeps/i386/i386-mcount.S: Likewise.
18224 * sysdeps/x86_64/_mcount.S: Likewise.
18225 * sysdeps/x86_64/sysdep.h: Likewise.
18226 * sysdeps/sh/_mcount.S: Likewise.
18227 * sysdeps/sh/sysdep.h: Likewise.
18228 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
18229 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
18230 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
18231 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18232 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
18233 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
18234 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
18235 * locale/localeinfo.h: Likewise.
18236 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
18237 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
18238
6c55cda3
RM
182392012-07-09 Roland McGrath <roland@hack.frob.com>
18240
18241 [BZ #14336]
18242 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
18243 system".
18244 * manual/message.texi (The Uniforum approach): Likewise.
18245 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
18246 (glibc iconv Implementation): Likewise.
18247
638a572e
JM
182482012-07-09 Joseph Myers <joseph@codesourcery.com>
18249
18250 [BZ #14337]
18251 * math/s_clog.c (__clog): Avoid scaling a value down where that
18252 could result in underflow.
18253 * math/s_clog10.c (__clog10): Likewise.
18254 * math/s_clog10f.c (__clog10f): Likewise.
18255 * math/s_clog10l.c (__clog10l): Likewise.
18256 * math/s_clogf.c (__clogf): Likewise.
18257 * math/s_clogl.c (__clogl): Likewise.
18258 * math/libm-test.inc (clog_test): Add more tests.
18259 (clog10_test): Likewise.
18260 * sysdeps/i386/fpu/libm-test-ulps: Update.
18261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18262
261f4859
AS
182632012-07-06 Andreas Schwab <schwab@linux-m68k.org>
18264
0abaf3e4
AS
18265 [BZ #14283]
18266 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
18267 by 7 not 8 to examine high bit of fractional part.
18268
261f4859
AS
18269 [BZ #14042]
18270 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
18271 for call to __mcount_internal.
18272 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
18273 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
18274 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
18275
f17ac40d
JM
182762012-07-06 Joseph Myers <joseph@codesourcery.com>
18277
9ad63c23
JM
18278 [BZ #14154]
18279 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
18280 approximation for values within 0x1p-13f of an odd multiple of
18281 pi/4.
18282 * math/libm-test.inc (tan_test): Do not allow spurious underflow
18283 exception. Add more tests.
18284 * sysdeps/i386/fpu/libm-test-ulps: Update.
18285
f17ac40d
JM
18286 [BZ #6778]
18287 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
18288 inputs and return -1 for them. Do not check for +Inf in case not
18289 reachable for +Inf.
18290 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18291 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
18292 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18293 and return -1 for them. Do not check for +Inf in case not
18294 reachable for +Inf.
18295 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
18296 define.
18297 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18298 and return -1 for them. Do not check for +Inf in case not
18299 reachable for +Inf.
18300 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
18301 spurious underflow.
18302 * sysdeps/i386/fpu/libm-test-ulps: Update.
18303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18304
fb21f89b
MF
183052012-07-06 Mike Frysinger <vapier@gentoo.org>
18306
18307 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
18308
cdfe2c5e
JM
183092012-07-05 Joseph Myers <joseph@codesourcery.com>
18310
18311 [BZ #14157]
18312 [BZ #14331]
18313 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
18314 could result in spurious underflow. Scale down values above
18315 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
18316 * math/s_csqrtf.c (__csqrtf): Likewise.
18317 * math/s_csqrtl.c (__csqrtl): Likewise.
18318 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
18319 spurious underflow.
18320 * sysdeps/i386/fpu/libm-test-ulps: Update.
18321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18322
70d35b67
AS
183232012-07-04 Andreas Schwab <schwab@linux-m68k.org>
18324
704bc459
AS
18325 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
18326 xopen-msg.sed.
18327 * catgets/xopen-msg.awk: New file.
18328 * catgets/xopen-msg.sed: Removed.
18329
70d35b67
AS
18330 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
18331 po2text.sed.
18332 * intl/po2test.awk: New file.
18333 * intl/po2test.sed: Removed.
18334
ca61cf32
JM
183352012-07-04 Joseph Myers <joseph@codesourcery.com>
18336
18337 [BZ #14328]
18338 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
18339 or multiply small sinh result by itself.
18340 * math/s_ctanf.c (__ctanf): Likewise.
18341 * math/s_ctanh.c (__ctanh): Likewise.
18342 * math/s_ctanhf.c (__ctanhf): Likewise.
18343 * math/s_ctanhl.c (__ctanhl): Likewise.
18344 * math/s_ctanl.c (__ctanl): Likewise.
18345 * math/libm-test.inc (ctan_test_tonearest): New function.
18346 (ctan_test_towardzero): Likewise.
18347 (ctan_test_downward): Likewise.
18348 (ctan_test_upward): Likewise.
18349 (ctanh_test_tonearest): Likewise.
18350 (ctanh_test_towardzero): Likewise.
18351 (ctanh_test_downward): Likewise.
18352 (ctanh_test_upward): Likewise.
18353 (main): Call these new functions.
18354 * sysdeps/i386/fpu/libm-test-ulps: Update.
18355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18356
ca48a46a
MF
183572012-07-03 Mike Frysinger <vapier@gentoo.org>
18358
18359 * .gitignore: Delete /ports entry.
18360
9d63d37d
AJ
183612012-07-03 Andreas Jaeger <aj@suse.de>
18362
18363 * po/bg.po: Update from translation team.
18364 * po/cs.po: Likewise.
18365 * po/de.po: Likewise.
18366 * po/hr.po: Likewise.
18367 * po/nl.pl: Likewise.
18368 * po/pl.po: Likewise.
18369 * po/vi.po: Likewise.
18370
370ca3d2
JM
183712012-07-03 Joseph Myers <joseph@codesourcery.com>
18372
95f5a9a8
JM
18373 * Makeconfig [!+link] (+link-before-libc): New variable.
18374 [!+link] (+link-after-libc): Likewise.
18375 [!+link] (+link-tests): Likewise.
18376 [!+link] (+link): Define in terms of $(+link-before-libc) and
18377 $(+link-after-libc).
18378 [!+link-static] (+link-static-before-libc): New variable.
18379 [!+link-static] (+link-static-after-libc): Likewise.
18380 [!+link-static] (+link-static-tests): Likewise.
18381 [!+link-static] (+link-static): Define in terms of
18382 $(+link-static-before-libc) and $(+link-static-after-libc).
18383 [build-shared] (link-libc-before-gnulib): New variable.
18384 [build-shared] (link-libc-tests): Likewise.
18385 [build-shared] (link-libc): Define in terms of
18386 $(link-libc-before-gnulib).
18387 [!build-shared] (link-libc-tests): New variable.
18388 (link-libc-static-tests): New variable.
18389 [!gnulib] (gnulib-arch): New variable.
18390 [!gnulib] (gnulib-tests): Likewise.
18391 [!gnulib] (static-gnulib-arch): Likewise.
18392 [!gnulib] (static-gnulib-tests): Likewise.
18393 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
18394 Define with "=" instead of ":=".
18395 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
18396 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
18397 * Rules (binaries-all-notests): New variable.
18398 (binaries-all-tests): Likewise.
18399 (binaries-static-notests): Likewise.
18400 (binaries-static-tests): Likewise.
18401 (binaries-all): Define using $(binaries-all-notests) and
18402 $(binaries-all-tests).
18403 (binaries-static): Define using $(binaries-static-notests) and
18404 $(binaries-static-tests).
18405 (binaries-shared-tests): New variable.
18406 (binaries-shared-notests): Likewise.
18407 (binaries-shared): Remove variable.
18408 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
18409 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
18410 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
18411 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
18412 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
18413 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
18414 * elf/Makefile (sln-modules): New variable.
18415 (extra-objs): Add $(sln-modules:=.o).
18416 (ldconfig-modules): Add static-stubs.
18417 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
18418 * elf/static-stubs.c: New file.
18419
7a845b2c
JM
18420 [BZ #14283]
18421 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
18422 by 7 not 8 to examine high bit of fractional part. Use volatile
18423 variables when splitting into final array of floats if
18424 __FLT_EVAL_METHOD__ != 0.
18425 * math/libm-test.inc (cos_test): Add another test.
18426 (sin_test): Likewise.
18427 * sysdeps/i386/fpu/libm-test-ulps: Update.
18428
e2283f38
JM
18429 [BZ #14273]
18430 * math/libm-test.inc (cosh_test): Add more tests.
18431
370ca3d2
JM
18432 * version.h (RELEASE): Set to "development".
18433 (VERSION): Set to "2.16.90".
18434
ee9247c3
CD
184352012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
18436
18437 * NEWS: Update copyright. Remove last-updated date.
18438 Mention math library bug fixes and timezone data changes.
18439 * README: Mention GNU/Hurd, x32, and HPPA support status.
18440
4648c381
TS
184412012-06-28 Thomas Schwinge <thomas@codesourcery.com>
18442
18443 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
18444
aac78a43
AJ
184452012-06-27 Andreas Jaeger <aj@suse.de>
18446
18447 * manual/contrib.texi (Contributors): Add Samuel Thibault.
18448
ed3dbfad
AJ
184492012-06-25 Andreas Jaeger <aj@suse.de>
18450
18451 * sysdeps/s390/fpu/libm-test-ulps: Update.
18452
4d0ee855
AS
184532012-06-23 Andreas Schwab <schwab@linux-m68k.org>
18454 Thomas Schwinge <thomas@codesourcery.com>
18455
18456 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
18457 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
18458 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
18459 fanotify_mark.
18460
af1bce34
TS
184612012-06-23 Thomas Schwinge <thomas@codesourcery.com>
18462
a9fa33ba
TS
18463 * sysdeps/mach/start.c: Remove file.
18464 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
18465 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
18466 * sysdeps/sh/init-first.c: Likewise.
18467
58f902b8
TS
18468 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
18469 registers for frame unwinding purposes, add CFI directives.
18470 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18471 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
18472 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
18473 Likewise.
18474
1518f58b
TS
18475 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
18476 __fortify_fail returning.
18477 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18478
db9b5059
TS
18479 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
18480 sysdeps/sh/____longjmp_chk.S.
18481 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
18482 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
18483 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
18484 (gen-as-const-headers): Append sigaltstack-offsets.sym.
18485
967705fe
TS
18486 * sysdeps/sh/abort-instr.h: New file.
18487 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
18488 process in case exit returns.
18489
a9def8c4
TS
18490 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
18491 initialize the GOT register before use.
18492
2a649725
TS
18493 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
18494 calculation of ARGC > 4.
18495
af1bce34
TS
18496 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
18497 meaningful names to some local labels.
18498
d230f50a
KK
184992012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18500 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18501
18502 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
18503 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
18504 (__arch_compare_and_exchange_val_16_acq): Likewise.
18505 (__arch_compare_and_exchange_val_32_acq): Likewise.
18506 (atomic_exchange_and_add): Fix gUSA sequence.
18507 (atomic_add): Likewise.
18508 (atomic_add_negative): Likewise.
18509 (atomic_add_zero): Likewise.
18510 (atomic_bit_test_set): Likewise.
18511
0479b305
AS
185122012-06-22 Andreas Schwab <schwab@redhat.com>
18513
18514 [BZ #13579]
18515 * include/link.h (struct link_map): Add l_free_initfini.
18516 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
18517 l_initfini.
18518 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
18519 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
18520 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
18521 set.
18522
0e3933b9
CD
185232012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
18524
18525 * configure.in: Use AC_LANG_SOURCE.
18526 * configure: Regenerate.
18527
4248b1b1
RM
185282012-06-22 Roland McGrath <roland@hack.frob.com>
18529
18530 * configure.in (libc_cv_localstatedir): New substituted variable.
18531 * configure: Regenerated.
18532 * config.make.in (localstatedir): New variable, substituted from
18533 libc_cv_localstatedir.
18534 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
18535 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
18536 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
18537 * sysdeps/gnu/configure: Regenerated.
18538
006dd861
JL
185392012-06-21 Jeff Law <law@redhat.com>
18540
18541 [BZ #14277]
18542 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
18543 free. Simplify list management for _LIBC case.
18544
79662d42
JM
185452012-06-21 Joseph Myers <joseph@codesourcery.com>
18546
b7abb4bf
JM
18547 [BZ #14273]
18548 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
18549 Clear sign bit of 64-bit integer value before comparing against
18550 overflow value.
18551
79662d42
JM
18552 * sysdeps/mach/configure: Regenerated.
18553
1f150908
L
185542012-06-21 H.J. Lu <hongjiu.lu@intel.com>
18555
18556 [BZ #14278]
18557 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
18558
28363bbf
JL
185592012-06-21 Jeff Law <law@redhat.com>
18560
18561 [BZ #13882]
18562 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
18563 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 18564 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
18565 * elf/dl-open.c (dl_open_worker): Likewise.
18566
09615db4
CD
185672012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
18568
18569 * scripts/list-sources.sh: Scan PORTS for translations.
18570 * po/libc.pot: Regenerated.
18571
2174c6dd
AJ
185722012-06-21 Andreas Jaeger <aj@suse.de>
18573
18574 [BZ #12194]
18575 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
18576 warning.
18577 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
18578 * bits/byteswap-16.h (__bswap_16): Likewise.
18579 * bits/byteswap.h (__bswap_constant_16): Likewise.
18580
3ee947b1
L
185812012-06-18 H.J. Lu <hongjiu.lu@intel.com>
18582
18583 [BZ #14117]
a2f34833
L
18584 * sysdeps/i386/fpu_control.h: Removed.
18585 * sysdeps/x86_64/fpu_control.h: Moved to ...
18586 * sysdeps/x86/fpu_control.h: Here.
18587
3ee947b1
L
18588 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
18589 (_FPU_SETCW): Likewise.
18590
ed1825f8
L
185912012-06-15 H.J. Lu <hongjiu.lu@intel.com>
18592
25f1282a
L
18593 [BZ #14117]
18594 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
18595 * sysdeps/x86/fpu/bits/mathinline.h: This.
18596 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
18597
ed1825f8
L
18598 [BZ #14050]
18599 [BZ #14117]
18600 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
18601 functions if __x86_64__ is defined.
18602
36d54b74
CLT
186032012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
18604
18605 * string/endian.h: Add !__ASSEMBLER__ condition for including
18606 conversion interfaces.
18607
10285c21
JM
186082012-06-15 Joseph Myers <joseph@codesourcery.com>
18609
18610 [BZ #14241]
18611 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
18612 of ABS(x) in calculating zero to negative powers other than odd
18613 integers.
18614 * math/libm-test.inc (pow_test): Add more tests.
18615
06c5abbd
AJ
186162012-06-15 Andreas Jaeger <aj@suse.de>
18617
18618 * manual/contrib.texi (Contributors): Update entry of Liubov
18619 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
18620 Machado Filho.
18621
a3aeac40
CH
186222012-06-15 Cyril Hrubis <metan@ucw.cz>
18623
18624 * string/string.h: Add __wur to GNU version of strerror_r.
18625
49bdf4c1
L
186262012-06-14 H.J. Lu <hongjiu.lu@intel.com>
18627
18628 [BZ #14229]
18629 * string/Makefile (tests): Add tst-strtok_r.
18630 * string/tst-strtok_r.c: New file.
18631 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
18632 RAX_LP/RDX_LP on SAVE_PTR.
18633
834f9b8d
RM
186342012-06-14 Roland McGrath <roland@hack.frob.com>
18635
18636 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
18637
75fa1921
JM
186382012-06-14 Joseph Myers <joseph@codesourcery.com>
18639
18640 * libm_test.inc (csqrt_test): Allow more spurious underflow
18641 exceptions.
18642 (j0_test): Likewise.
18643 (j1_test): Likewise.
18644 (y0_test): Likewise.
18645 (y1_test): Likewise.
18646
771766df
CD
186472012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
18648
18649 * po/Makefile (libc.pot): Use UTF-8 charset.
18650
ceb9e56b
PP
186512012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
18652
18653 [BZ #14210]
18654 Suppress sign-conversion warning from FD_SET.
18655 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
18656 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
18657 not unsigned long int.
18658 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
18659
ddb28975
L
186602012-06-12 H.J. Lu <hongjiu.lu@intel.com>
18661
18662 [BZ #14050]
18663 [BZ #14117]
18664 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
18665 __extern_always_inline instead of __extern_inline.
18666 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
18667 (__signbit): Likewise.
18668 (__signbitl): Support C++ namespace.
18669 (lrintf): New inline function.
18670 (lrint): Likewise.
18671 (llrintf): Likewise.
18672 (llrint): Likewise.
18673 (fmaxf): Likewise.
18674 (fmax): Likewise.
18675 (fminf): Likewise.
18676 (fmin): Likewise.
18677 (rint): Likewise.
18678 (rintf): Likewise.
18679 (ceil): Likewise.
18680 (ceilf): Likewise.
18681 (floor): Likewise.
18682 (floorf): Likewise.
18683 (nearbyint): Likewise.
18684 (nearbyintf): Likewise.
18685
d7b4fb26
TS
186862012-06-12 Thomas Schwinge <thomas@codesourcery.com>
18687
18688 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
18689 non-default versions.
18690
eb55f5c2
RM
186912012-06-11 Roland McGrath <roland@hack.frob.com>
18692
18693 [BZ #14218]
18694 * manual/argp.texi (Argp): Reword argp_parse description slightly.
18695
366af02c
TS
186962012-06-09 Thomas Schwinge <thomas@codesourcery.com>
18697
99ff6e5c
TS
18698 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
18699 (FE_UPWARD, FE_DOWNWARD): Don't define.
18700 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
18701 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18702
366af02c
TS
18703 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
18704 reading it.
18705 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18706 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18707
793ea851
KK
187082012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18709
18710 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18711 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
18712 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
18713 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
18714
a728a38f
L
187152012-06-06 H.J. Lu <hongjiu.lu@intel.com>
18716
18717 [BZ #14117]
c08010c7
L
18718 * sysdeps/i386/fpu/bits/fenv.h: Removed.
18719 * sysdeps/i386/fpu/Implies: New file.
18720 * sysdeps/x86_64/fpu/Implies: Likewise.
18721 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
18722 * sysdeps/x86/fpu/bits/fenv.h: This.
18723
a728a38f
L
18724 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
18725 __SSE_MATH__.
18726
6e230d11
SP
187272012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18728
18729 [BZ #14134]
18730 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
18731 character 0xffff that matches the last element of the
18732 conversion table.
18733
1b671feb
AZ
187342012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18735
18736 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
18737 fmodl commit.
18738
6043738b
AZ
187392012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18740
18741 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
18742 values higher than 25.6283.
18743
34ae0b32
AZ
187442012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18745
18746 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
18747 subnormal exponent extraction and add some __builtin_expect.
18748 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
18749 Fix for subnormal mantissa calculation.
18750
1214ec8f
MF
187512012-06-04 Mike Frysinger <vapier@gentoo.org>
18752
18753 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
18754 cpu2 is -1 and errno is not ENOSYS.
18755
f3d1f93c
L
187562012-06-04 H.J. Lu <hongjiu.lu@intel.com>
18757
18758 [BZ #14117]
0e4a3cd7
L
18759 * sysdeps/i386/i486/bits/string.h: Renamed to ...
18760 * sysdeps/x86/bits/string.h: This.
18761 * sysdeps/x86_64/bits/string.h: Removed.
18762
6704c645
L
18763 * sysdeps/i386/i486/bits/string.h: Define inline functions only
18764 if not compiling for x86-64, but compiling for >= i486.
18765
48495318
L
18766 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
18767 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
18768
14adcbfc
L
18769 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
18770 New macro from Linux kernel 3.4.0.
18771 (FP_XSTATE_MAGIC2): Likewise.
18772 (FP_XSTATE_MAGIC2_SIZE): Likewise.
18773 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
18774 (struct _fpx_sw_bytes): New struct.
18775 (struct _xsave_hdr): Likewise.
18776 (struct _ymmh_state): Likewise.
18777 (struct _xstate): Likewise.
18778
68e408ab
L
18779 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
18780 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
18781 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
18782 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
18783 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
18784 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
18785
f3d1f93c
L
18786 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
18787 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
18788 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
18789 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
18790 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
18791 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
18792
d9dc34cd
TMQMF
187932012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18794
18795 [BZ #13743]
18796 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
18797 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
18798 (sysdep_headers): Include sys/platform/ppc.h.
18799 * sysdeps/powerpc/test-gettimebase.c: Test for
18800 __ppc_get_timebase() to catch future ISA opcode/insn changes.
18801 * manual/Makefile (appendices): Include platform.texi.
18802 * manual/contrib.texi (Contributors): Update @node pointers.
18803 * manual/maint.texi (Maintenance): Likewise.
18804 (Platform): New node.
18805 * manual/platform.texi: New file. Document the new features.
18806
4af3879c
SP
188072012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18808 Jakub Jelinek <jakub@redhat.com>
18809
18810 [BZ #14188]
18811 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
18812 where __builtin_expect is unavailable.
18813
2fd6ff13
DM
188142012-06-03 David S. Miller <davem@davemloft.net>
18815
18816 * stdlib/longlong.h: Updated from GCC.
18817
173f7220
AS
188182012-06-02 Andreas Schwab <schwab@linux-m68k.org>
18819
18820 [BZ #14042]
18821 * sysdeps/powerpc/powerpc32/mcount.c: New file.
18822 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
18823 __mcount_internal.
18824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18825 (GLIBC_2.16): Likewise.
18826
f34a1c6f
L
188272012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18828
18829 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
18830
88a4576f
JM
188312012-06-01 Joseph Myers <joseph@codesourcery.com>
18832
ea32bcdd
JM
18833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
18834 (default-abi): New variable.
18835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
18836 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
18837 variable.
18838 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
18839 Likewise.
18840 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
18841 Likewise.
18842 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
18843 Likewise.
18844
88a4576f
JM
18845 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
18846 definition. Document in comment.
18847
402fe938
DM
188482012-06-01 David S. Miller <davem@davemloft.net>
18849
18850 * stdlib/longlong.h: Updated from GCC.
18851
3553723f
L
188522012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18853
18854 [BZ #14117]
3bd872c4
L
18855 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
18856 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
18857 sys/debugreg.h sys/io.h here.
18858 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
18859 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
18860 sys/io.h.
18861 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
18862 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
18863 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
18864 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
18865 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
18866 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
18867
3553723f
L
18868 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
18869 Define only if __x86_64__ is defined.
18870
4842e4fe
JM
188712012-06-01 Joseph Myers <joseph@codesourcery.com>
18872
c5bfe3d5
JM
18873 [BZ #14048]
18874 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
18875 Use int64_t for variable i.
18876 * math/libm-test.inc (fmod_test): Add more tests.
18877
4842e4fe
JM
18878 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
18879 z computation is not scheduled after fetestexcept.
18880 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
18881 Use math_force_eval instead of asm to ensure calculation scheduled
18882 before exception test.
18883 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
18884 Ensure a1 + u.d computation is not scheduled after fetestexcept.
18885
efb73488
AJ
188862012-06-01 Aurelien Jarno <aurelien@aurel32.net>
18887
18888 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
18889 computation is not scheduled after fetestexcept.
18890
29bcce7c
L
188912012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18892
18893 [BZ #14117]
18894 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
18895 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
18896
73a68f94
AZ
188972012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18898
18899 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
18900 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18901
67b6df78
L
189022012-05-31 H.J. Lu <hongjiu.lu@intel.com>
18903
edf2933a 18904 [BZ #14117]
ebc64a18
L
18905 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
18906 <bits/wordsize.h>.
18907 (__WCHAR_MIN): Support __WORDSIZE == 64.
18908 (__WCHAR_MAX): Likewise.
18909
edf2933a
L
18910 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
18911 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
18912
57c6cf40
L
18913 [BZ #14183]
18914 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
18915 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
18916
67b6df78 18917 [BZ #14117]
8eb6281e
L
18918 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
18919 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
18920
aac639f4
L
18921 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
18922 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
18923
67b6df78
L
18924 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
18925 Defined to 1 if __x86_64__ isn't defined.
18926 (_STAT_VER_LINUX_OLD): New.
18927 (st_atime): Remove duplicate.
18928 (st_mtime): Likewise.
18929 (st_ctime): Likewise.
18930
1c2cfe81
DM
189312012-05-31 David S. Miller <davem@davemloft.net>
18932
18933 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
18934 entries.
18935
5be8418c
AS
189362012-06-01 Andreas Schwab <schwab@linux-m68k.org>
18937
e7725326
AS
18938 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
18939 gen-libm-test.pl.
18940
5be8418c
AS
18941 [BZ #14132]
18942 * elf/dl-reloc.c: Include <_itoa.h>.
18943 (_dl_reloc_bad_type): Remove use of INTUSE.
18944 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
18945 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
18946 * stdio-common/psiginfo.c (psiginfo): Likewise.
18947 * stdio-common/psignal.c (psignal): Likewise.
18948 * string/strsignal.c (strsignal): Likewise.
18949 * include/signal.h (_sys_siglist): Declare hidden proto.
18950 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
18951 INTVARDEF with libc_hidden_data_def.
18952 * stdio-common/itoa-udigits.c: Likewise.
18953 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
18954 (_itoa_lower_digits_internal): Remove declaration.
18955 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
18956 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
18957 (_sys_sigabbrev_internal): Remove aliases.
18958 (_sys_siglist): Define hidden alias.
18959
507352f1
MT
189602012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
18961
18962 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18963 bits/sysctl.h.
18964
42bbb1c3
L
189652012-05-31 H.J. Lu <hongjiu.lu@intel.com>
18966
18967 [BZ #14117]
6bd784b6
L
18968 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
18969 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
18970
8bca20f0
L
18971 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
18972 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
18973 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
18974 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
18975 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
18976 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
18977
f9e890a9
L
18978 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
18979 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
18980 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
18981
471101a1
L
18982 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
18983 with __addr.
18984 (insw): Likewise.
18985 (insl): Likewise.
18986 (outsb): Likewise.
18987 (outsw): Likewise.
18988 (outsl): Likewise.
18989
6451c862
L
18990 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
18991 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
18992 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
18993
a254b8c9
L
18994 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
18995 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
18996 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
18997 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
18998 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
18999 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
19000
b8dfdd92
L
19001 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
19002 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
19003
578cd270
L
19004 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
19005 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
19006
de662f5f
L
19007 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
19008 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
19009 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
19010
25653439
L
19011 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
19012 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
19013 to ...
19014 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
19015
6bad24a0
L
19016 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
19017 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
19018 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
19019
42bbb1c3
L
19020 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
19021 for x86-64.
19022 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
19023
2d10d547
JM
190242012-05-31 Joseph Myers <joseph@codesourcery.com>
19025
19026 * math/math.h (M_El): Use two more decimal places.
19027 (M_LOG2El): Likewise.
19028 (M_LOG10El): Likewise.
19029 (M_LN2l): Likewise.
19030 (M_LN10l): Likewise.
19031 (M_PIl): Likewise.
19032 (M_PI_2l): Likewise.
19033 (M_PI_4l): Likewise.
19034 (M_1_PIl): Likewise.
19035 (M_2_PIl): Likewise.
19036 (M_2_SQRTPIl): Likewise.
19037 (M_SQRT2l): Likewise.
19038 (M_SQRT1_2l): Likewise.
19039
f230c29b
DM
190402012-05-31 David S. Miller <davem@davemloft.net>
19041
19042 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
19043 values between float registers.
19044 * sysdeps/sparc/sparc64/memset.S: Likewise.
19045 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
19046
fed806c3
MF
190472012-05-31 Mike Frysinger <vapier@gentoo.org>
19048
19049 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
19050 -D_FORTIFY_SOURCE=1.
19051 (CPPFLAGS-tst-longjmp_chk.c): Define.
19052 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
19053 (CPPFLAGS-tst-longjmp_chk2.c): Define.
19054 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
19055 CFLAGS-tst-wchar-h.c.
19056
30917259
MP
190572012-05-31 Marek Polacek <polacek@redhat.com>
19058
19059 [BZ #14132]
19060 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
19061 __endmntent_internal): Remove declaration.
19062 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
19063 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
19064 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
19065
1c58d5dc
DM
190662012-05-30 David S. Miller <davem@davemloft.net>
19067
19068 * sysdeps/sparc/sparc32/soft-fp/q_util.c
19069 (___Q_simulate_exceptions): Use real FP ops rather than writing
19070 into the %fsr.
19071 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
19072 Likewise.
19073
7dc00e0d
L
190742012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19075
19076 [BZ #14117]
0bd53985
L
19077 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
19078 * sysdeps/x86/bits/xtitypes.h: This.
19079
3a257e66
L
19080 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
19081 * sysdeps/x86/bits/wordsize.h: This.
19082
62f62904
L
19083 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
19084 * sysdeps/x86/bits/huge_vall.h: This.
19085
404fe9d9
L
19086 * sysdeps/i386/bits/select.h: Removed.
19087 * sysdeps/x86_64/bits/select.h: Renamed to ...
19088 * sysdeps/x86/bits/select.h: This.
19089
d48d0446
L
19090 * sysdeps/i386/bits/setjmp.h: Removed.
19091 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
19092 * sysdeps/x86/bits/setjmp.h: This.
19093
7dc00e0d
L
19094 * sysdeps/i386/bits/mathdef.h: Removed.
19095 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
19096 * sysdeps/x86/bits/mathdef.h: This.
19097
03277f8f
AS
190982012-05-30 Andreas Schwab <schwab@linux-m68k.org>
19099
19100 [BZ #14132]
19101 * include/sys/socket.h (__connect_internal)
19102 (__libc_sa_len_internal): Remove declaration.
19103 (__connect, __libc_sa_len): Declare hidden_proto.
19104 (SA_LEN): Remove use of INTUSE.
19105 * socket/connect.c: Add libc_hidden_def.
19106 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
19107 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
19108 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
19109 alias.
19110 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
19111 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
19112 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
19113 of adding _internal alias.
19114
13764867
L
191152012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19116
19117 [BZ #14117]
6bd97696
L
19118 * sysdeps/i386/bits/link.h: Removed.
19119 * sysdeps/i386/bits/linkmap.h: Likewise.
19120 * sysdeps/x86_64/bits/link.h: Renamed to ...
19121 * sysdeps/x86/bits/link.h: This.
19122 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
19123 * sysdeps/x86/bits/linkmap.h: This.
19124
f726f0bb
L
19125 * sysdeps/i386/bits/endian.h: Removed.
19126 * sysdeps/x86_64/bits/endian.h: Renamed to ...
19127 * sysdeps/x86/bits/endian.h: This.
19128
13764867
L
19129 * sysdeps/i386/bits/byteswap.h: Removed.
19130 * sysdeps/i386/bits/byteswap-16.h: Likewise.
19131 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
19132 * sysdeps/x86/bits/byteswap.h: This.
19133 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
19134 * sysdeps/x86/bits/byteswap-16.h: This.
19135 * sysdeps/i386/Implies: Add x86.
19136 * sysdeps/x86_64/Implies: Likewise.
19137
ae251b0b
DM
191382012-05-30 David S. Miller <davem@davemloft.net>
19139
19140 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
19141 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
19142 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
19143 (FP_TRAPPING_EXCEPTIONS): Define.
19144 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
19145 (FP_TRAPPING_EXCEPTIONS): Define.
19146 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
19147 subnormals only when inexact has been signalled or underflow
19148 exceptions are enabled.
19149 (_FP_PACK_CANONICAL): Likewise.
19150
d5c90867
L
191512012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19152
19153 [BZ #14183]
19154 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
19155 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
19156
63f1549e
RH
191572012-05-30 Richard Henderson <rth@twiddle.net>
19158
8d8f2279
RH
19159 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
19160 with #ifndef NOT_IN_libc.
19161
63f1549e
RH
19162 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
19163 marked to avoid plt entry.
19164
0ab0291b
L
191652012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19166
19167 [BZ #14112]
19168 * Makeconfig (default-abi): New macro.
19169 (abi-includes): Likewise.
19170 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
19171 $(abi-$(default-abi)-lib-soname) for soname if defined.
19172 ($(common-objpfx)gnu/lib-names.stmp): Generate from
19173 abi-variants.
19174 * Makefile (installed-stubs): Likewise.
19175 * include/stubs-biarch.h: Removed.
19176 * scripts/lib-names.awk: Only handle one library at a time.
19177 * scripts/soversions.awk: Remove WORDSIZE support.
19178 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
19179 entries.
19180 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
19181 Removed.
19182 (syscall-list-default-condition): Likewise.
19183 (syscall-list-default-condition): Likewise.
19184 (syscall-list-includes): Likewise.
19185 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
19186 syscall-list-* with abi-*. Handle undefined abi-variants.
19187 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
19188 * sysdeps/unix/sysv/linux/i386/Implies: New file.
19189 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
19190 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
19191 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
19192 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
19193 Removed.
19194 (syscall-list-32-options): Likewise.
19195 (syscall-list-32-condition): Likewise.
19196 (syscall-list-64-options): Likewise.
19197 (syscall-list-64-condition): Likewise.
19198 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
19199 macro.
19200 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
19201 Renamed to ...
19202 (abi-*): This.
19203 (abi-64-ld-soname): New macro.
19204 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
19205 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
19206 Renamed to ...
19207 (abi-*): This.
19208 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
19209 * sysdeps/x86_64/x32/shlib-versions: Likewise.
19210
4da0431d
JM
192112012-05-30 Joseph Myers <joseph@codesourcery.com>
19212
3a85279c
JM
19213 * sysdeps/unix/sysv/linux/kernel-features.h
19214 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
19215 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
19216 include <kernel-features.h>.
19217 [!__NR_ftruncate64]: Remove conditional code.
19218 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19219 [__NR_ftruncate64]: Make code unconditional.
19220 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19221 * sysdeps/unix/sysv/linux/truncate64.c: Do not
19222 include <kernel-features.h>.
19223 [!__NR_ftruncate64]: Remove conditional code.
19224 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19225 [__NR_ftruncate64]: Make code unconditional.
19226 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
19228 include <kernel-features.h>.
19229 [!__NR_ftruncate64]: Remove conditional code.
19230 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19231 [__NR_ftruncate64]: Make code unconditional.
19232 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19234 include <kernel-features.h>.
19235 [!__NR_ftruncate64]: Remove conditional code.
19236 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19237 [__NR_ftruncate64]: Make code unconditional.
19238 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19239
4da0431d
JM
19240 * configure.in (libc_cv_fpie): Weaken to a compile test using
19241 LIBC_TRY_CC_OPTION.
19242 * configure: Regenerated.
19243
11ef492c
AK
192442012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19245
19246 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
19247 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
19248 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
19249 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19250 Refreshed.
19251 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
19252 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
19253 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
19254 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
19255 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
19256 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19257 Refreshed.
19258
d66ef399
DM
192592012-05-27 David S. Miller <davem@davemloft.net>
19260
19261 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
19262 (___Q_zero): New.
19263 (__Q_simulate_exceptions): Return void. Change to simulate
19264 exceptions by writing into the %fsr.
19265 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
19266 (__Qp_handle_exceptions): Likewise.
19267 (numbers): Delete.
19268 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
19269 __Qp_handle_exceptions.
19270 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
19271 __Qp_handle_exceptions.
19272 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19273 as unused and give dummy FP_RND_NEAREST initializer.
19274 (FP_INHIBIT_RESULTS): Define.
19275 (___Q_simulate_exceptions): Update declaration.
19276 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
19277 formatting.
19278 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19279 as unused and give dummy FP_RND_NEAREST initializer.
19280 (__Qp_handle_exceptions): Update declaration.
19281 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
19282 formatting.
19283
04fb54b5
TS
192842012-05-27 Thomas Schwinge <thomas@codesourcery.com>
19285
19286 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
19287 the temporary FPU control word.
19288 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19289 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
19290 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
19291 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19292 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19293 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
19294 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
19295 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19296 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19297 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
19298 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19299
3f99608f
KK
193002012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19301
19302 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
19303 fields.
19304
65a4de4e
CLT
193052012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
19306
19307 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
19308 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
19309 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
19310 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
19311 Likewise.
19312 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
19313 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
19314 Likewise.
19315
15749d40
UD
193162012-05-27 Ulrich Drepper <drepper@gmail.com>
19317
19318 * po/h.po: Update from translation team.
19319
25dbcb27
AS
193202012-05-26 Andreas Schwab <schwab@linux-m68k.org>
19321
3d3f8e55
AS
19322 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
19323
25dbcb27
AS
19324 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
19325 handling of denormals.
19326 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19327 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19328 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19329 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19330 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19331 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
19332 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
19333 Likewise.
19334
7ad47a80 193352012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
19336
19337 [BZ #14152]
19338 * math/libm-test.inc (fma_test): Don't always expect underflow
19339 exception.
19340
9c6ea9fa
SP
193412012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19342
19343 [BZ #12416]
19344 * elf/tst-execstack.c: Include stackinfo.h.
19345 (do_test): Adjust test case to ensure that pthread_getattr_np
19346 behaviour remains the same after marking stack executable.
19347
a8239222
JM
193482012-05-25 Joseph Myers <joseph@codesourcery.com>
19349
19350 * sysdeps/unix/sysv/linux/kernel-features.h
19351 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
19352 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
19353 kernel-features.h.
19354 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19355 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19356 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
19357 kernel-features.h.
19358 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19359 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19360
918b5606
L
193612012-05-25 H.J. Lu <hongjiu.lu@intel.com>
19362
19363 * configure.in: Define the default includes to being none.
19364 * configure: Regenerated.
19365
3a097cc7
RM
193662012-05-25 Roland McGrath <roland@hack.frob.com>
19367
8422c9a5
RM
19368 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
19369 * sysdeps/x86_64/setjmp.S: Likewise.
19370 * sysdeps/i386/bsd-setjmp.S: Likewise.
19371 * sysdeps/i386/bsd-_setjmp.S: Likewise.
19372 * sysdeps/i386/setjmp.S: Likewise.
19373 * sysdeps/i386/__longjmp.S: Likewise.
19374 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19375 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
19376
3a097cc7
RM
19377 * include/stap-probe.h: New file.
19378 * configure.in: Handle --enable-systemtap.
19379 * configure: Regenerated.
19380 * config.h.in (USE_STAP_PROBE): New #undef.
19381 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
19382 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
19383 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19384
21708942
JM
193852012-05-25 Joseph Myers <joseph@codesourcery.com>
19386
19387 [BZ #13717]
19388 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19389 to 2.4.0 where earlier.
19390 * sysdeps/unix/sysv/linux/configure: Regenerated.
19391 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19392 <kernel-features.h>.
19393 [__ASSUME_32BITUIDS]: Make code unconditional.
19394 [!__ASSUME_32BITUIDS]: Remove conditional code.
19395 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
19396 <kernel-features.h>.
19397 [__ASSUME_32BITUIDS]: Make code unconditional.
19398 [!__ASSUME_32BITUIDS]: Remove conditional code.
19399 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
19400 [__ASSUME_32BITUIDS]: Make code unconditional.
19401 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
19402 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.c: Do not include
19407 <kernel-features.h>.
19408 [__ASSUME_32BITUIDS]: Make code unconditional.
19409 [!__ASSUME_32BITUIDS]: Remove conditional code.
19410 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
19411 <kernel-features.h>.
19412 [__ASSUME_32BITUIDS]: Make code unconditional.
19413 [!__ASSUME_32BITUIDS]: Remove conditional code.
19414 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
19415 <kernel-features.h>.
19416 [__ASSUME_32BITUIDS]: Make code unconditional.
19417 [!__ASSUME_32BITUIDS]: Remove conditional code.
19418 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19419 <kernel-features.h>.
19420 [__ASSUME_32BITUIDS]: Make code unconditional.
19421 [!__ASSUME_32BITUIDS]: Remove conditional code.
19422 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19423 <kernel-features.h>.
19424 [__ASSUME_32BITUIDS]: Make code unconditional.
19425 [!__ASSUME_32BITUIDS]: Remove conditional code.
19426 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
19427 <kernel-features.h>.
19428 [__ASSUME_32BITUIDS]: Make code unconditional.
19429 [!__ASSUME_32BITUIDS]: Remove conditional code.
19430 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19431 <kernel-features.h>.
19432 [__ASSUME_32BITUIDS]: Make code unconditional.
19433 [!__ASSUME_32BITUIDS]: Remove conditional code.
19434 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19435 <kernel-features.h>.
19436 [__ASSUME_32BITUIDS]: Make code unconditional.
19437 [!__ASSUME_32BITUIDS]: Remove conditional code.
19438 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
19439 <kernel-features.h>.
19440 [__ASSUME_32BITUIDS]: Make code unconditional.
19441 [!__ASSUME_32BITUIDS]: Remove conditional code.
19442 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
19443 <kernel-features.h>.
19444 [__NR_setresgid] (__setresgid): Do not declare.
19445 [__ASSUME_32BITUIDS]: Make code unconditional.
19446 [!__ASSUME_32BITUIDS]: Remove conditional code.
19447 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
19448 <kernel-features.h>.
19449 [__NR_setresuid] (__setresuid): Do not declare.
19450 [__ASSUME_32BITUIDS]: Make code unconditional.
19451 [!__ASSUME_32BITUIDS]: Remove conditional code.
19452 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
19453 <kernel-features.h>.
19454 [__ASSUME_32BITUIDS]: Make code unconditional.
19455 [!__ASSUME_32BITUIDS]: Remove conditional code.
19456 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
19457 <kernel-features.h>.
19458 [__ASSUME_32BITUIDS]: Make code unconditional.
19459 [!__ASSUME_32BITUIDS]: Remove conditional code.
19460 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
19461 <kernel-features.h>.
19462 [__ASSUME_32BITUIDS]: Make code unconditional.
19463 [!__ASSUME_32BITUIDS]: Remove conditional code.
19464 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
19465 <kernel-features.h>.
19466 [__ASSUME_32BITUIDS]: Make code unconditional.
19467 [!__ASSUME_32BITUIDS]: Remove conditional code.
19468 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
19469 <kernel-features.h>.
19470 [__ASSUME_32BITUIDS]: Make code unconditional.
19471 [!__ASSUME_32BITUIDS]: Remove conditional code.
19472 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
19473 <kernel-features.h>.
19474 [__ASSUME_32BITUIDS]: Make code unconditional.
19475 [!__ASSUME_32BITUIDS]: Remove conditional code.
19476 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
19477 <kernel-features.h>.
19478 [__ASSUME_32BITUIDS]: Make code unconditional.
19479 [!__ASSUME_32BITUIDS]: Remove conditional code.
19480 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
19481 <kernel-features.h>.
19482 [__ASSUME_32BITUIDS]: Make code unconditional.
19483 [!__ASSUME_32BITUIDS]: Remove conditional code.
19484 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
19485 <kernel-features.h>.
19486 [__ASSUME_32BITUIDS]: Make code unconditional.
19487 [!__ASSUME_32BITUIDS]: Remove conditional code.
19488 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19489 <kernel-features.h>.
19490 [__ASSUME_32BITUIDS]: Make code unconditional.
19491 [!__ASSUME_32BITUIDS]: Remove conditional code.
19492 * sysdeps/unix/sysv/linux/kernel-features.h
19493 (__ASSUME_SETRESUID_SYSCALL): Remove.
19494 (__ASSUME_SETRESGID_SYSCALL): Likewise.
19495 (__ASSUME_32BITUIDS): Likewise.
19496 (__ASSUME_LDT_WORKS): Likewise.
19497 (__ASSUME_O_DIRECTORY): Likewise.
19498 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
19499 architecture but not kernel version.
19500 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19501 (__ASSUME_MMAP2_SYSCALL): Likewise.
19502 (__ASSUME_STAT64_SYSCALL): Likewise.
19503 (__ASSUME_IPC64): Likewise.
19504 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
19505 <kernel-features.h>.
19506 [__ASSUME_32BITUIDS]: Make code unconditional.
19507 [!__ASSUME_32BITUIDS]: Remove conditional code.
19508 * sysdeps/unix/sysv/linux/opendir.c: Do not include
19509 <kernel-features.h>.
19510 [__ASSUME_O_DIRECTORY]: Make code unconditional.
19511 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
19512 132096]: Remove conditional code.
19513 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
19514 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19515 <kernel-features.h>.
19516 [__ASSUME_32BITUIDS]: Make code unconditional.
19517 [!__ASSUME_32BITUIDS]: Remove conditional code.
19518 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19519 <kernel-features.h>.
19520 [__ASSUME_32BITUIDS]: Make code unconditional.
19521 [!__ASSUME_32BITUIDS]: Remove conditional code.
19522 * sysdeps/unix/sysv/linux/setegid.c: Do not include
19523 <kernel-features.h>.
19524 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
19525 unconditional.
19526 (__setresgid): Do not declare.
19527 [__ASSUME_32BITUIDS]: Make code unconditional.
19528 [!__ASSUME_32BITUIDS]: Remove conditional code.
19529 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
19530 <kernel-features.h>.
19531 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
19532 unconditional.
19533 (__setresuid): Do not declare.
19534 [__ASSUME_32BITUIDS]: Make code unconditional.
19535 [!__ASSUME_32BITUIDS]: Remove conditional code.
19536 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19537 <kernel-features.h>.
19538 [__ASSUME_32BITUIDS]: Make code unconditional.
19539 [!__ASSUME_32BITUIDS]: Remove conditional code.
19540 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
19541 <kernel-features.h>.
19542 [__ASSUME_32BITUIDS]: Make code unconditional.
19543 [!__ASSUME_32BITUIDS]: Remove conditional code.
19544
a386f1cc
RH
195452012-05-25 Richard Henderson <rth@twiddle.net>
19546
19547 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
19548 dl_hwcap to ifunc resolver.
19549 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
19550 elf_ifunc_invoke.
19551 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
19552 dl_hwcap to ifunc resolver.
19553 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
19554
b6550497
JM
195552012-05-24 Joseph Myers <joseph@codesourcery.com>
19556
19557 [BZ #14153]
19558 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
19559 for |x| <= 2**-26, not 2**-57.
19560 * math/libm-test.inc (acos_test): Do not allow spurious underflow
19561 exception.
19562
b0bc23a1
JL
195632012-05-24 Jeff Law <law@redhat.com>
19564
19565 * stdio-common/Makefile (tests): Add bug25.
19566 * stdio-common/bug25.c: New test.
19567
347c92e9
L
195682012-05-24 H.J. Lu <hongjiu.lu@intel.com>
19569
19570 [BZ #13576]
19571 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
19572 multiple of MALLOC_ALIGNMENT in size.
19573 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
19574
6bcc8b3f
JM
195752012-05-24 Joseph Myers <joseph@codesourcery.com>
19576
19577 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
19578 Require >= 256.
19579 (FILENAME_MAX): Use macro-int-constant.
19580 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
19581 (_IOFBF): Use macro-int-constant.
19582 (_IOLBF): Likewise.
19583 (_IONBF): Likewise.
19584 (SEEK_CUR): Likewise.
19585 (SEEK_END): Likewise.
19586 (SEEK_SET): Likewise.
19587 (TMP_MAX): Likewise.
19588 (EOF): Use macro-int-constant. Require < 0.
19589 (NULL): Use macro-constant. Require == 0.
19590 (stdin): Require type to be FILE *.
19591 (stdout): Likewise.
19592 (stderr): Likewise.
19593 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
19594 macro-int-constant.
19595 (EXIT_SUCCESS): Likewise.
19596 (NULL): Use macro-constant. Require == 0.
19597 (RAND_MAX): Use macro-int-constant.
19598 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
19599 [C99-based standards] (strtof): Require function.
19600 [C99-based standards] (strtold): Likewise.
19601 [C99-based standards] (strtoll): Likewise.
19602 [C99-based standards] (strtoull): Likewise.
19603 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19604 [ISO || ISO99 || ISO11] (limits.h): Likewise.
19605 [ISO || ISO99 || ISO11] (math.h): Likewise.
19606 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
19607 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19608 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19609
d18ea0c5
AS
196102012-05-24 Andreas Schwab <schwab@linux-m68k.org>
19611
19612 [BZ #14132]
56d25bb8
AS
19613 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
19614 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
19615 * intl/dgettext.c (DCGETTEXT): Likewise.
19616 * intl/gettext.c (DCGETTEXT): Likewise.
19617 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
19618 * posix/regex_internal.h (gettext): Likewise.
19619 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
19620 Remove declaration.
19621 * include/argz.h (__argz_count_internal)
19622 (__argz_stringify_internal): Remove declaration.
19623 (__argz_count, __argz_stringify): Declare hidden proto.
19624 * intl/dcgettext.c: Remove use of INTDEF.
19625 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
19626 * string/argz-stringify.c: Likewise.
19627 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19628 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19629 Declare hidden proto.
d18ea0c5
AS
19630 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19631 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19632 Declare hidden proto.
19633 * include/stdio.h (__asprintf_internal): Don't declare.
19634 (__asprintf): Don't define as macro. Declare hidden proto.
19635 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
19636 (__fsetlocking): Declare hidden proto.
19637 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
19638 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
19639 hidden proto.
19640 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
19641 (_IO_setlinebuf): Remove use of INTUSE.
19642 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
19643 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
19644 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
19645 Remove declaration.
19646 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
19647 (_IO_do_flush): Remove use of INTUSE.
19648 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
19649 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
19650 (_IO_adjust_column, _IO_least_wmarker)
19651 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
19652 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
19653 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
19654 (_IO_default_doallocate, _IO_wdefault_doallocate)
19655 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
19656 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
19657 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
19658 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
19659 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
19660 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
19661 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
19662 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
19663 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
19664 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
19665 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
19666 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
19667 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
19668 proto.
19669 (_IO_flush_all_internal, _IO_adjust_column_internal)
19670 (_IO_default_uflow_internal, _IO_default_finish_internal)
19671 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
19672 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
19673 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
19674 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
19675 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
19676 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
19677 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
19678 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
19679 (_IO_file_close_internal, _IO_file_close_it_internal)
19680 (_IO_file_underflow_internal, _IO_file_overflow_internal)
19681 (_IO_file_init_internal, _IO_file_attach_internal)
19682 (_IO_file_fopen_internal, _IO_file_read_internal)
19683 (_IO_file_sync_internal, _IO_file_seek_internal)
19684 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
19685 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
19686 (_IO_str_underflow_internal, _IO_str_overflow_internal)
19687 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
19688 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
19689 (_IO_list_all_internal, _IO_link_in_internal)
19690 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
19691 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
19692 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
19693 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
19694 (_IO_do_write_internal, _IO_padn_internal)
19695 (_IO_getline_info_internal, _IO_getline_internal)
19696 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
19697 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
19698 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
19699 (_IO_vfscanf_internal, _IO_vfprintf_internal)
19700 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
19701 (_IO_init_internal, _IO_un_link_internal): Don't declare.
19702 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
19703 with libc_hidden_ver, remove use of INTUSE.
19704 * libio/genops.c: Likewise.
19705 * libio/freopen.c: Likewise.
19706 * libio/freopen64.c: Likewise.
19707 * libio/iofclose.c: Likewise.
19708 * libio/iofdopen.c: Likewise.
19709 * libio/iofflush.c: Likewise.
19710 * libio/iofflush_u.c: Likewise.
19711 * libio/iofgets.c: Likewise.
19712 * libio/iofgets_u.c: Likewise.
19713 * libio/iofopen.c: Likewise.
19714 * libio/iofopncook.c: Likewise.
19715 * libio/iofread.c: Likewise.
19716 * libio/iofread_u.c: Likewise.
19717 * libio/ioftell.c: Likewise.
19718 * libio/iofwrite.c: Likewise.
19719 * libio/iogetline.c: Likewise.
19720 * libio/iogets.c: Likewise.
19721 * libio/iogetwline.c: Likewise.
19722 * libio/iopadn.c: Likewise.
19723 * libio/iopopen.c: Likewise.
19724 * libio/ioseekoff.c: Likewise.
19725 * libio/ioseekpos.c: Likewise.
19726 * libio/iosetbuffer.c: Likewise.
19727 * libio/iosetvbuf.c: Likewise.
19728 * libio/ioungetc.c: Likewise.
19729 * libio/ioungetwc.c: Likewise.
19730 * libio/iovdprintf.c: Likewise.
19731 * libio/iovsprintf.c: Likewise.
19732 * libio/iovsscanf.c: Likewise.
19733 * libio/memstream.c: Likewise.
19734 * libio/obprintf.c: Likewise.
19735 * libio/oldfileops.c: Likewise.
19736 * libio/oldiofclose.c: Likewise.
19737 * libio/oldiofdopen.c: Likewise.
19738 * libio/oldiofopen.c: Likewise.
19739 * libio/oldiopopen.c: Likewise.
19740 * libio/oldstdfiles.c: Likewise.
19741 * libio/putc.c: Likewise.
19742 * libio/setbuf.c: Likewise.
19743 * libio/setlinebuf.c: Likewise.
19744 * libio/stdfiles.c: Likewise.
19745 * libio/strops.c: Likewise.
19746 * libio/vasprintf.c: Likewise.
19747 * libio/vscanf.c: Likewise.
19748 * libio/vsnprintf.c: Likewise.
19749 * libio/vswprintf.c: Likewise.
19750 * libio/wfiledoalloc.c: Likewise.
19751 * libio/wfileops.c: Likewise.
19752 * libio/wgenops.c: Likewise.
19753 * libio/wmemstream.c: Likewise.
19754 * libio/wstrops.c: Likewise.
19755 * libio/__fpurge.c: Likewise.
19756 * libio/__fsetlocking.c: Likewise.
19757 * assert/assert.c: Likewise.
19758 * debug/fgets_chk.c: Likewise.
19759 * debug/fgets_u_chk.c: Likewise.
19760 * debug/fread_chk.c: Likewise.
19761 * debug/fread_u_chk.c: Likewise.
19762 * debug/gets_chk.c: Likewise.
19763 * debug/obprintf_chk.c: Likewise.
19764 * debug/vasprintf_chk.c: Likewise.
19765 * debug/vdprintf_chk.c: Likewise.
19766 * debug/vsnprintf_chk.c: Likewise.
19767 * debug/vsprintf_chk.c: Likewise.
19768 * malloc/mtrace.c: Likewise.
19769 * misc/error.c: Likewise.
19770 * misc/syslog.c: Likewise.
19771 * stdio-common/asprintf.c: Likewise.
19772 * stdio-common/fxprintf.c: Likewise.
19773 * stdio-common/getw.c: Likewise.
19774 * stdio-common/isoc99_fscanf.c: Likewise.
19775 * stdio-common/isoc99_scanf.c: Likewise.
19776 * stdio-common/isoc99_vfscanf.c: Likewise.
19777 * stdio-common/isoc99_vscanf.c: Likewise.
19778 * stdio-common/isoc99_vsscanf.c: Likewise.
19779 * stdio-common/printf-prs.c: Likewise.
19780 * stdio-common/printf_fp.c: Likewise.
19781 * stdio-common/printf_fphex.c: Likewise.
19782 * stdio-common/printf_size.c: Likewise.
19783 * stdio-common/putw.c: Likewise.
19784 * stdio-common/scanf.c: Likewise.
19785 * stdio-common/sprintf.c: Likewise.
19786 * stdio-common/tmpfile.c: Likewise.
19787 * stdio-common/vfprintf.c: Likewise.
19788 * stdio-common/vfscanf.c: Likewise.
19789 * stdlib/strfmon_l.c: Likewise.
19790 * sunrpc/openchild.c: Likewise.
19791 * sunrpc/xdr_stdio.c: Likewise.
19792 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
19793 * sysdeps/mach/hurd/tmpfile.c: Likewise.
19794
d6c33fda
RM
197952012-05-24 Roland McGrath <roland@hack.frob.com>
19796
c1487492
RM
19797 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19798
19799 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
19800 in the third column, to generate for the shared library an IFUNC
19801 that uses _dl_vdso_vsym.
19802 * Makerules (COMPILE.c, compile-stdin.c): New variables.
19803 * Makeconfig (object-suffixes-noshared): New variable.
19804
19805 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
19806 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
19807 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
19808 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
19809
d6c33fda
RM
19810 [BZ #14132]
19811 * include/sys/time.h (__gettimeofday): Remove macro.
19812 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
19813 * time/gettimeofday.c (__gettimeofday): Remove #undef.
19814 Remove INTDEF.
19815 (__gettimeofday): Add libc_hidden_def.
19816 (gettimeofday): Add libc_hidden_weak.
19817 * sysdeps/mach/gettimeofday.c: Likewise.
19818 * sysdeps/posix/gettimeofday.c: Likewise.
19819 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
19820 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
19821 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
19822 (__gettimeofday_internal): Remove strong_alias.
19823 (__gettimeofday): Add libc_hidden_def.
19824 (gettimeofday): Add libc_hidden_weak.
19825 * sysdeps/unix/syscalls.list (gettimeofday):
19826 Remove __gettimeofday_internal alias.
19827
b5a2bbe6
L
198282012-05-24 Daniel Jacobowitz <drow@false.org>
19829 H.J. Lu <hongjiu.lu@intel.com>
19830
19831 [BZ #12495]
19832 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
19833 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
19834 (largebin_index_32_big): New.
19835 (largebin_index): Use it for 16-byte alignment.
19836 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
19837 correction with front_misalign.
19838
cfba4fda
L
198392012-05-24 H.J. Lu <hongjiu.lu@intel.com>
19840
7f907421
L
19841 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
19842 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19843 Likewise.
19844 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
19845 Likewise.
19846 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19847 Likewise.
19848 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
19849 Likewise.
19850 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
19851 Likewise.
19852 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
19853 Likewise.
19854 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
19855 Likewise.
19856 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19857 Likewise.
19858 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
19859 Likewise.
19860 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
19861 Likewise.
19862 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
19863 Likewise.
19864 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
19865 Likewise.
19866
cfba4fda
L
19867 * scripts/data/c++-types-x32-linux-gnu.data: New file.
19868 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
19869
80bad0cc
JM
198702012-05-24 Joseph Myers <joseph@codesourcery.com>
19871
7a25eb06
JM
19872 [BZ #10846]
19873 [BZ #14036]
19874 * math/libm-test.inc (exp_test): Add test from bug 14036.
19875 (pow_test): Add test from bug 10846.
19876
795405f9
JM
19877 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
19878 and other flags.
19879 (special_function): Do not include flags in test name.
19880 (parse_args): Likewise.
19881 * sysdeps/i386/fpu/libm-test-ulps: Update.
19882 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19883 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19884 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19886
80bad0cc
JM
19887 * math/gen-libm-test.pl (%beautify): Add entries for underflow
19888 exceptions.
19889 * math/libm-test.inc ("Philosophy"): Update comment about
19890 exception testing.
19891 (UNDERFLOW_EXCEPTION): New macro.
19892 (UNDERFLOW_EXCEPTION_OK): Likewise.
19893 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
19894 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
19895 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
19896 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
19897 (INVALID_EXCEPTION_OK): Update value.
19898 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19899 (OVERFLOW_EXCEPTION_OK): Likewise.
19900 (IGNORE_ZERO_INF_SIGN): Likewise.
19901 (test_exceptions): Handle underflow exceptions.
19902 (acos_test): Update for underflow exception expectations.
19903 (cexp_test): Likewise.
19904 (clog_test): Likewise.
19905 (clog10_test): Likewise.
19906 (csqrt_test): Likewise.
19907 (ctan_test): Likewise.
19908 (ctanh_test): Likewise.
19909 (exp_test): Likewise.
19910 (exp10_test): Likewise.
19911 (exp2_test): Likewise.
19912 (expm1_test): Likewise.
19913 (fma_test): Likewise.
19914 (j0_test): Likewise.
19915 (jn_test): Likewise.
19916 (nexttoward_test): Likewise.
19917 (pow_test): Likewise.
19918 (scalbn_test): Likewise.
19919 (scalbln_test): Likewise.
19920 (tan_test): Likewise.
19921 (y1_test): Likewise.
19922 * sysdeps/i386/fpu/libm-test-ulps: Update.
19923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19924
9e0e3d0b
DM
199252012-05-23 David S. Miller <davem@davemloft.net>
19926
19927 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19928 (__libc_sigaction): Remove unused local variables.
19929
ccd0a08f
L
199302012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19931
19932 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
19933
62bdf9a6
PE
199342012-05-23 Paul Eggert <eggert@cs.ucla.edu>
19935
f8591f80
PE
19936 mktime: avoid signed integer overflow
19937 * time/mktime.c (__mktime_internal): Do not mishandle the case
19938 where diff == INT_MIN.
19939
94c7d826
PE
19940 mktime: simplify computation of average
19941 * time/mktime.c (ranged_convert): Use new time_t_avg function
19942 instead of rolling our own (probably-slower) code.
19943
ce73d683
PE
19944 mktime: do not assume signed right shift propagates sign bit
19945 * time/mktime.c (isdst_differ): New static function.
19946 (__mktime_internal): No need to normalize tm_isdst now.
19947 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
19948 tm_isdst values.
19949
72a22e59
PE
19950 mktime: merge another wrapv change from gnulib
19951 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
19952 from some compilers.
19953
68605433
PE
19954 mktime: remove incorrect attempt at unusual arithmetics
19955 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
19956 The code didn't really work on such machines anyway.
19957 (TYPE_MINIMUM): Assume two's complement.
19958 (twos_complement_arithmetic): Verify that long_int and time_t
19959 are two's complement (or unsigned, in the latter case).
19960
03cf7fe3
PE
19961 mktime: check signed shifts on long_int and time_t, too
19962 * time/mktime.c (SHR): Check that shifts work as desired
19963 on the types long_int and time_t too, as SHR is used on
19964 such types.
19965
f04dfbc2
PE
19966 mktime: do not assume 'long' is wide enough
19967 * time/mktime.c (verify): Move decl up.
19968 (long_int): New type.
19969 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
19970 to remove assumption in the code that 'long' is wide enough to
19971 store year values. This assumption is not true on x32 and on
19972 some non-glibc platforms.
19973
62bdf9a6
PE
19974 mktime: merge wrapv change from gnulib
19975 * time/mktime.c (WRAPV): New macro.
19976 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
19977 (guess_time_tm, __mktime_internal): Do not assume that signed
19978 integer overflow wraps around; modern compilers generate code
19979 where this assumption is no longer valid.
19980
5e292e4f
L
199812012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19982
19983 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19984 Replace "jmp L(pseudo_end)" with "ret".
19985 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
19986 Likewise.
19987
8caf8c87
AJ
199882012-05-23 Andreas Jaeger <aj@suse.de>
19989
19990 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
19991 * sysdeps/unix/sysv/linux/poll.c: Remove file.
19992
1a09dc56
AJ
199932012-05-23 Andreas Jaeger <aj@suse.de>
19994 Maximilian Attems <max@stro.at>
19995
19996 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
19997 New macros.
19998
1c87aba0
L
199992012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20000
20001 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
20002 code so that pseudo_end is just ret and the stack pointer is
20003 correct also for static library in error case.
20004
40e45bd5
JM
200052012-05-23 Joseph Myers <joseph@codesourcery.com>
20006
c2670533
JM
20007 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
20008 move to syscalls.list.
20009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
20010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
20011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
20012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
20013
40e45bd5
JM
20014 * manual/install.texi (Running make install): Do not mention Linux
20015 kernel version for which pt_chown is not needed.
20016 (Linux): Do not mention problems with nscd with 2.0 kernels.
20017 * INSTALL: Regenerated.
20018
be08eda5
AJ
200192012-05-23 Andreas Jaeger <aj@suse.de>
20020
20021 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
20022 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
20023 macro.
20024 * sysdeps/unix/sysv/linux/s390/bits/mman.h
20025 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20026 * sysdeps/unix/sysv/linux/sh/bits/mman.h
20027 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20028 * sysdeps/unix/sysv/linux/i386/bits/mman.h
20029 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20030 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
20031 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20032 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
20033 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
20034 * sysdeps/unix/sysv/linux/bits/in.h
20035 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
20036
a6a056bb
RM
200372012-05-22 Roland McGrath <roland@hack.frob.com>
20038
20039 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
20040 (PREPARE_VERSION): Just use assert instead, it will be elided
20041 under [NDEBUG] anyway.
20042
c9009328
L
200432012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20044
20045 * sysdeps/unix/sysv/linux/Makefile: Include
20046 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 20047 (sysdep_routines): Remove sysctl.
c9009328
L
20048 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
20049 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
20050 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
20051 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
20052 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
20053
73338355
AJ
200542012-05-22 Andreas Jaeger <aj@suse.de>
20055
20056 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
20057 that pseudo_end is just ret and the stack pointer is correct also
20058 for static library in error case.
20059
d44638b0
PP
200602012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
20061
20062 [BZ #14122]
20063 * nss/nsswitch.c (defconfig_entries): New variable.
20064 (__nss_database_lookup): Don't leak defconfig entries.
20065 (nss_parse_service_list): Don't leak on error paths.
20066 (free_database_entries): New function.
20067 (free_defconfig): New function.
20068 (free_mem): Move common code to free_database_entries.
20069
31a39bd8
L
200702012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20071
da0331a8
L
20072 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
20073 Add arch_prctl.
20074 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
20075
31a39bd8
L
20076 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20077 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
20078 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
20079 New macro.
20080 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
20081 (INTERNAL_SYSCALL_TYPES): Likewise.
20082 (LOAD_ARGS_TYPES_[1-6]): Likewise.
20083 (LOAD_REGS_TYPES_[1-6]): Likewise.
20084 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
20085 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
20086
45470df3
AZ
200872012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20088
20089 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
20090 copysignl for GLIBC_2_0.
20091 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
20092 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
20093 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
20094 logbl for GLIBC_2_0.
20095 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
20096 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
20097
98a61bcb
L
200982012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20099
a4f6e481
L
20100 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
20101 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20102
f63d5db6
L
20103 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
20104 Use "neg %eax".
20105
98a61bcb
L
20106 * time/mktime.c: Update copyright years.
20107
95770f14
PE
201082012-05-22 Paul Eggert <eggert@cs.ucla.edu>
20109
6226efbd
PE
20110 mktime: merge comment-quoting-style change from gnulib
20111 * time/mktime.c: Quote 'like this' in comments.
20112 The GNU coding standards suggest that we no longer quote `like this',
20113 as "`" and "'" are typically rendered asymmetrically nowadays.
20114 The typical gnulib style is to quote 'like this' when quoting
20115 code, and "like this" when quoting English.
20116
b99e4f78
PE
20117 * time/mktime.c (compile-command): Add "-I.".
20118
643e01e6
PE
20119 mktime: merge mktime-internal.h change from gnulib
20120 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
20121
2554247d
PE
20122 mktime: merge time_r change from gnulib
20123 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
20124
826dd0ab
PE
20125 mktime: merge DEBUG change from gnulib
20126 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
20127 case system <time.h> has a #define.
20128
bd83aabe
PE
20129 mktime: merge <sys/types.h> change from gnulib
20130 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
20131 since <time.t> is now guaranteed to define time_t.
20132
95770f14
PE
20133 mktime: merge HAVE_CONFIG_H change from gnulib
20134 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
20135
5e1a27a9
L
201362012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20137
0e44a77e
L
20138 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20139 Use "neg %eax".
20140
5e1a27a9
L
20141 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
20142 __rlim_t cast.
20143 (struct rusage): Use anonymous union to pad each field to
20144 __syscall_slong_t.
20145
46259bec
DM
201462012-05-21 David S. Miller <davem@davemloft.net>
20147
20148 * Makefules (o-iterator): Remove .s cases.
20149 (compile-command.s): Delete.
20150 (COMPILE.s): Delete.
20151 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
20152
59f0c22e
JM
201532012-05-21 Joseph Myers <joseph@codesourcery.com>
20154
20155 * configure.in (libc_cv_predef_stack_protector): Only consider
20156 "foobar" and "__stack_chk_fail" lines in libc_undefs.
20157 * configure: Regenerated.
20158
20c07380
L
201592012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20160
bbb3154b
L
20161 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20162 New macro. Use R*LP on int and pointer.
20163 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
20164 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
20165 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
20166 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
20167
20c07380
L
20168 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
20169 [__WORDSIZE_TIME64_COMPAT32] instead of
20170 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
20171 (struct utmp): Likewise.
20172 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
20173 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
20174 Renamed to ...
20175 (__WORDSIZE_TIME64_COMPAT32): This.
20176 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
20177 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
20178 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
20179 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
20180 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
20181 (__WORDSIZE_TIME64_COMPAT32): New macro.
20182
d8d1017e
AJ
201832012-05-21 Andreas Jaeger <aj@suse.de>
20184
20185 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
20186 only if [SHARED]. Add prototype for __wcschr_ia32.
20187
6c7fb145
RM
201882012-05-21 Roland McGrath <roland@hack.frob.com>
20189
20190 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
20191 of %rbp unmolested in the jmp_buf while mangling the low bits.
20192 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
20193 unmolested high bits of %rbp while demangling the low bits.
20194 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20195
66274218
AJ
201962012-05-21 Andreas Jaeger <aj@suse.de>
20197
07c58f8f
AJ
20198 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
20199 * sunrpc/svc_simple.c: Use it for registerrpc.
20200 * sunrpc/xcrypt.c: Use it for passwd2des.
20201
66274218
AJ
20202 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
20203
61f65140
L
202042012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20205
20206 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
20207 Don't define if [__SYSCALL_WORDSIZE != 32].
20208 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
20209 New macro.
20210
5fefb436
AJ
202112012-05-21 Bruno Haible <bruno@clisp.org>
20212 Andreas Jaeger <aj@suse.de>
20213
20214 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
20215 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
20216 inptr and inend for must_buffer_ch.
20217 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
20218 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
20219 * stdio-common/Makefile (tests): Remove bug15.
20220 (bug15-ENV): Remove macro.
20221 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
20222 anymore.
20223
d8e272ab
AJ
202242012-05-19 Andreas Jaeger <aj@suse.de>
20225 Roland McGrath <roland@hack.frob.com>
20226
20227 * manual/contrib.texi: Completely rewritten. It contains now an
20228 alphabetical list of contributors and their contributions.
20229
4a56a162
RH
202302012-05-21 Richard Henderson <rth@twiddle.net>
20231
20232 * misc/getauxval.c (__getauxval): Use unsigned long int.
20233 * misc/sys/auxv.h: Include <sys/cdefs.h>.
20234 (getauxval): Use unsigned long int.
20235
d024d23c
L
202362012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20237
20238 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20239
cbc00a03
RM
202402012-05-21 Roland McGrath <roland@hack.frob.com>
20241
20242 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
20243 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
20244 __alignof__ (long double).
20245
478143fa
AZ
202462012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20247
20248 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20249
c7683a6d
RH
202502012-05-20 Richard Henderson <rth@twiddle.net>
20251
20252 * misc/getauxval.c: New file.
20253 * misc/sys/auxv.h: New file.
20254 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
20255 (routines): Add getauxval.
20256 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
20257 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
20258 * elf/dl-sysdep.c (_dl_auxv): Remove.
20259 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
20260 * elf/dl-support.c (_dl_auxv): New variable.
20261 (_dl_aux_init): Initialize it.
20262 * manual/startup.texi (Auxiliary Vector): New node.
20263 * sysdeps/generic/bits/hwcap.h: New file.
20264 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
20265 * sysdeps/powerpc/sysdep.h: ... here. Include it.
20266 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
20267 * sysdeps/sparc/sysdep.h: ... here. Include it.
20268 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
20269 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
20270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20271 Update.
c7683a6d
RH
20272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
20273 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
20274 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
20275 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
20276 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20277 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20278 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
20279 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
20280
a6f1845d
AZ
202812012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20282
20283 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20284
cbcbe830
DM
202852012-05-19 David S. Miller <davem@davemloft.net>
20286
20287 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20288
e0b16cc2
JM
202892012-05-19 Joseph Myers <joseph@codesourcery.com>
20290
20291 [BZ #14123]
20292 * math/s_ccosh.c: Include <float.h>
20293 (__ccosh): Avoid internal overflow calculating sinh and cosh
20294 values before multiplying by sin and cos values.
20295 * math/s_ccoshf.c: Likewise.
20296 * math/s_ccoshl.c: Likewise.
20297 * math/s_csin.c: Likewise.
20298 * math/s_csinf.c: Likewise.
20299 * math/s_csinl.c: Likewise.
20300 * math/s_csinh.c: Likewise.
20301 * math/s_csinhf.c: Likewise.
20302 * math/s_csinhl.c: Likewise.
20303 * math/libm-test.inc (ccos_test): Add more tests.
20304 (ccosh_test): Likewise.
20305 (csin_test): Likewise.
20306 (csinh_test): Likewise.
20307 * sysdeps/i386/fpu/libm-test-ulps: Update.
20308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20309
6ad13e08
L
203102012-05-19 H.J. Lu <hongjiu.lu@intel.com>
20311
f66f0ce8
L
20312 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
20313 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20314
6ad13e08
L
20315 * sysdeps/x86_64/x32/_itoa.h: Add comment.
20316
b1d072a7
JM
203172012-05-19 Joseph Myers <joseph@codesourcery.com>
20318
20319 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
20320 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
20321 * sysdeps/powerpc/soft-fp/Versions: Likewise.
20322 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
20323 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
20324 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
20325 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
20326 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
20327 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
20328 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
20329 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
20330 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
20331 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
20332 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
20333 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
20334 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
20335 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
20336 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
20337 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
20338 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
20339 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
20340 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
20341 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
20342 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
20343 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
20344 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
20345 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
20346 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
20347 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
20348 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
20349 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
20350
9eae47cb
AJ
203512012-05-18 Andreas Jaeger <aj@suse.de>
20352
20353 * csu/.gitignore: Delete.
20354
bb07f69f
L
203552012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20356
20357 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
20358 (timex): Use __syscall_slong_t.
20359
e6bdb741
AJ
203602012-05-18 Andreas Jaeger <aj@suse.de>
20361 Carlos O'Donell <carlos_odonell@mentor.com>
20362
20363 * manual/install.texi (Configuring and compiling): Update
20364 description about files modified in the source directory.
d6c33fda 20365 * INSTALL: Regenerated.
e6bdb741 20366
1b74487e
L
203672012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20368
20369 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
20370 value. Use "or" to set return value to -1.
20371 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
20372 negate return value.
20373
a88b64b9
TMQMF
203742012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20375
20376 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
20377 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
20378 failure if the compiler has Graphite support disabled.
20379 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
20380 Likewise.
20381 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
20382 CFLAGS-memmove.c): Likewise.
20383 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
20384 Likewise.
20385
3707636e
L
203862012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20387
610b8622
L
20388 * sysdeps/x86_64/x32/_itoa.h: New file.
20389
7cd195df
L
20390 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
20391 getdents system call only if kernel and user dirents have the
20392 same d_ino and d_off.
20393
94b07d20
L
20394 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20395 LLONG_MAX != LONG_MAX.
20396 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20397 (_fitoa_word): Likewise.
20398
18298070
L
20399 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
20400 years.
20401 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
20402 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
20403 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
20404
553c7ea4
L
20405 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
20406 include <bits/wordsize.h>. Check __x86_64__ instead of
20407 __WORDSIZE.
20408 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
20409 if __x86_64__ is defined. Use anonymous union on fpstate.
20410
3707636e
L
20411 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
20412 anonymous union.
20413
b53ef01a
AS
204142012-05-18 Andreas Schwab <schwab@linux-m68k.org>
20415
37fb1dc0
AS
20416 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
20417 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
20418 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
20419 Refer to _rtld_local_ro instead of _rtld_global_ro.
20420 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
20421 Likewise.
20422 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
20423 Likewise.
20424 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
20425 Likewise.
20426 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
20427 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
20428 of _rtld_global, and rtld_progname instead of _dl_argv[0].
20429
b53ef01a
AS
20430 * sysdeps/powerpc/powerpc32/dl-machine.c
20431 (__elf_machine_runtime_setup) [PROF]: Don't reference
20432 _dl_prof_resolve.
20433
7a185db2
AJ
204342012-05-18 Andreas Jaeger <aj@suse.de>
20435
20436 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
20437 function only available for GCCs before 3.4 since GCC 3.4
20438 introduced a builtin.
20439 (lrint): Likewise.
20440 (llrintf): Likewise.
20441 (llrint): Likewise.
20442 (fmaxf): Likewise.
20443 (fmax): Likewise.
20444 (fminf): Likewise.
20445 (fmin): Likewise.
20446 (rint): Likewise.
20447 (rintf): Likewise.
20448 (nearbyint): Likewise.
20449 (nearbyintf): Likewise.
20450 (ceil): Likewise.
20451 (ceilf): Likewise.
20452 (floor): Likewise.
20453 (floorf): Likewise.
20454
3e5aef87
L
204552012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20456
428bd707
L
20457 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
20458 on both fields and cast pointer to __syscall_ulong_t.
20459
3e5aef87
L
20460 * bits/types.h (__fsword_t): New type.
20461 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
20462 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
20463 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20464 (__FSWORD_T_TYPE): Likewise.
20465 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20466 (__FSWORD_T_TYPE): Likewise.
20467 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20468 (__FSWORD_T_TYPE): Likewise.
20469 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
20470 (__FSWORD_T_TYPE): Likewise.
20471 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
20472 __SWORD_TYPE with __fsword_t.
20473 (statfs64): Likewise.
20474
1ba7c3dc
DM
204752012-05-17 David S. Miller <davem@davemloft.net>
20476
20477 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
20478
59910343
AJ
204792012-05-17 Andreas Jaeger <aj@suse.de>
20480
20481 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
20482 warning.
20483
2e4c1e9e
L
204842012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20485
20486 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
20487
de7f5ce7
AJ
204882012-05-17 Andreas Jaeger <aj@suse.de>
20489
20490 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
20491 when it is used.
20492
286abc3d
CM
204932012-05-17 Chris Metcalf <cmetcalf@tilera.com>
20494
20495 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
20496
477cc68e
L
204972012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20498
20499 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
20500 * sysdeps/x86_64/tst-mallocalign1.c: New file.
20501
1a0994f5
CD
205022012-05-17 Andreas Jaeger <aj@suse.de>
20503 Carlos O'Donell <carlos_odonell@mentor.com>
20504
20505 [BZ #14059]
20506 * sysdeps/x86_64/multiarch/init-arch.h
20507 (bit_YMM_Usable): Rename to...
20508 (bit_AVX_Usable): ... this.
20509 (bit_FMA4_Usable): New macro.
20510 (bit_XMM_state): New macro.
20511 (bit_YMM_state): New macro.
20512 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
20513 [__ASSEMBLER__] (index_AVX_Usable): ... this.
20514 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
20515 (CPUID_OSXSAVE): New macro.
20516 (CPUID_AVX): New macro.
20517 (CPUID_FMA4): New macro.
20518 (index_YMM_Usable): Rename to...
20519 (index_AVX_Usable): ... this.
20520 (HAS_AVX): Use HAS_ARCH_FEATURE.
20521 (HAS_FMA4): Likewise.
20522 (HAS_YMM_USABLE): Remove.
20523 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20524 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
20525 are present.
20526 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
20527 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
20528 * sysdeps/x86_64/multiarch/Makefile: Likewise.
20529 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
20530 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
20531
0af797de
CM
205322012-05-17 Chris Metcalf <cmetcalf@tilera.com>
20533
20534 * math/libm-test.c: Support platforms without multiple rounding modes.
20535 * math/bug-nextafter.c: Support platforms without FP exceptions.
20536 * math/bug-nexttoward.c: Likewise.
20537 * math/test-fenv.c: Likewise.
20538 * math/test-misc.c: Likewise.
20539 * stdlib/bug-getcontext.c: Likewise.
20540
e39745ff
AJ
205412012-05-17 Andreas Jaeger <aj@suse.de>
20542
20543 * manual/examples/search.c (critter_cmp): Change signature to
20544 avoid warnings.
20545 * manual/string.texi (Collation Functions): Likewise.
20546
48970aba
L
205472012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20548
20549 * bits/types.h: Fold copyright years.
20550 * bits/typesizes.h: Likewise.
20551 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
20552 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20553 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
20554 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
20555 * time/time.h: Likewise.
20556
bedee953
PP
205572012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
20558
20559 [BZ #208]
20560 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
20561 in instead of returning them. Return void.
20562 (__libc_mallinfo): Accumulate over all arenas.
20563 (__malloc_stats): Adjust for change in int_mallinfo interface.
20564
61653dfb
RM
205652012-05-16 Roland McGrath <roland@hack.frob.com>
20566
30b99d79
RM
20567 [BZ #10375]
20568 * configure.in (NM): Add AC_CHECK_TOOL for it.
20569 (libc_extra_cflags): New substituted variable.
20570 Check for -fstack-protector being used implicitly.
20571 * configure: Regenerated.
20572 * config.make.in (config-extra-cflags): New variable,
20573 gets @libc_extra_cflags@.
20574 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
20575
61653dfb
RM
20576 [BZ #10375]
20577 * configure.in: Check for _FORTIFY_SOURCE being predefined.
20578 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
20579 * configure: Regenerated.
20580 * config.make.in (CPPUNDEFS): New substituted variable.
20581 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
20582 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
20583 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
20584
661768bb
L
205852012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20586
20587 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
20588 (mq_attr): Use __syscall_slong_t.
20589
d4261567
L
205902012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20591
20592 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
20593 Check __x86_64__ instead of __WORDSIZE.
20594 (_STAT_VER_LINUX): Likewise.
20595 (stat): Check __x86_64__ instead of __WORDSIZE. Use
20596 __syscall_ulong_t and __syscall_slong_t.
20597 (stat64): Likewise.
20598
cf3ff365
L
205992012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20600
20601 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
20602
76cf3e4d
L
206032012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20604
20605 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
20606
a637753a
L
206072012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20608
20609 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
20610 __syscall_ulong_t.
20611
d5e05119
L
20612 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
20613 include <bits/wordsize.h>. Check __x86_64__ instead of
20614 __WORDSIZE.
20615 (greg_t): Use "__extension__ long long int" if __x86_64__ is
20616 defined.
20617 (mcontext_t): Replace "unsigned long" with "unsigned long long".
20618
f62ee380
L
20619 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
20620 include <bits/wordsize.h>. Check __x86_64__ instead of
20621 __WORDSIZE.
20622 (user_regs_struct): Use "__extension__ unsigned long long"
20623 instead of "unsigned long" if __x86_64__ is defined.
20624 (user): Likewise. Pad after pointer field if __ILP32__ is
20625 defined.
20626
4e124ced
JM
206272012-05-16 Joseph Myers <joseph@codesourcery.com>
20628
6a3951a0
JM
20629 * configure.in (makeinfo): Require version 4.5 or later. Allow
20630 versions 5 to 9.
20631 * configure: Regenerated.
20632 * manual/install.texi (texinfo): Increase version requirement to
20633 4.5 or later.
20634 * INSTALL: Regenerated.
20635
4e124ced
JM
20636 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
20637
953ca31a
L
206382012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20639
20640 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
20641
617aca05
L
20642 * sysdeps/x86_64/x32/ffs.c: New file.
20643
5762f7ae
L
20644 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
20645 __syscall_ulong_t.
20646 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
20647 defined. Use __syscall_ulong_t.
20648 (shminfo): Use __syscall_ulong_t.
20649 (shm_info): Likewise.
20650
a26b6856
L
20651 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
20652 __syscall_ulong_t.
20653
cb2b9ef7
L
20654 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
20655 <bits/wordsize.h>.
20656 (msgqnum_t): Use __syscall_ulong_t.
20657 (msglen_t): Likewise.
20658 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
20659 __syscall_ulong_t.
20660
34683bb0
L
20661 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
20662 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20663
84a68786
L
20664 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
20665
48baa5f1
L
20666 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
20667 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
20668
180be88b
L
20669 * sysvipc/sys/msg.h (msgbuf): Replace long int with
20670 __syscall_slong_t.
20671
5e90c8ad
L
20672 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
20673 include <bits/wordsize.h>. Check __x86_64__ instead of
20674 __WORDSIZE.
20675
23dfb58b
L
20676 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
20677 "unsigned long long int" if __x86_64__ is defined.
20678 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
20679
ce5d54b0
L
20680 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
20681 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20682 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
20683
13dc9eac
L
20684 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
20685 <stdint.h>.
20686 (GET_PC): Cast to uintptr_t first.
20687 (GET_FRAME): Likewise.
20688 (GET_STACK): Likewise.
20689
a7895d15
L
20690 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
20691 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
20692 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
20693 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
20694 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
20695 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
20696 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
20697 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
20698 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
20699 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
20700 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
20701 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
20702 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20703 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
20704 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
20705 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
20706 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
20707 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
20708 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
20709 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
20710 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
20711 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
20712 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
20713 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
20714 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
20715 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
20716 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
20717 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
20718 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
20719
656416c9
AS
207202012-05-16 Andreas Schwab <schwab@linux-m68k.org>
20721
5bd66283
AS
20722 * Makerules (+depfiles): Also collect depfiles from .oS in
20723 $(extra-objs).
20724 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
20725 .oS, $(libnldbl-routines)).
20726
656416c9
AS
20727 * Makerules (native-compile-mkdep-flags): Define.
20728 * sunrpc/Makefile (extra-objs): Add $(addprefix
20729 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
20730 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
20731 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
20732 calling $(make-target-directory).
20733
a46f2169
L
207342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20735
20736 * bits/types.h (__snseconds_t): Removed.
20737 * time/time.h (struct timespec): Replace __snseconds_t with
20738 __syscall_slong_t.
20739 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
20740 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
20741 Likewise.
20742 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20743 (__SNSECONDS_T_TYPE): Likewise.
20744 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20745 (__SNSECONDS_T_TYPE): Likewise.
20746 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20747 (__SNSECONDS_T_TYPE): Likewise.
20748
6af6528b
L
207492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20750
20751 * sysdeps/mach/hurd/bits/typesizes.h
20752 (__SYSCALL_SLONG_TYPE): New macro.
20753 (__SYSCALL_ULONG_TYPE): Likewise.
20754
de986b56
L
207552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20756
20757 * bits/types.h (__syscall_slong_t): New type.
20758 (__syscall_ulong_t): Likewise.
20759
20760 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
20761 (__SYSCALL_ULONG_TYPE): Likewise.
20762 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20763 (__SYSCALL_SLONG_TYPE): Likewise.
20764 (__SYSCALL_ULONG_TYPE): Likewise.
20765 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20766 (__SYSCALL_SLONG_TYPE): Likewise.
20767 (__SYSCALL_ULONG_TYPE): Likewise.
20768 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20769 (__SYSCALL_SLONG_TYPE): Likewise.
20770 (__SYSCALL_ULONG_TYPE): Likewise.
20771
85736dc7
L
207722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20773
20774 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
20775 Add sigaltstack-offsets.sym.
20776 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
20777 <sigaltstack-offsets.h>.
20778 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
20779 longjmp_msg pointer.
20780 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
20781 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
20782 signal stack.
20783 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
20784
cc03b296
JM
207852012-05-15 Joseph Myers <joseph@codesourcery.com>
20786
a9538892
JM
20787 * elf/stackguard-macros.h: Remove file.
20788 * sysdeps/generic/stackguard-macros.h: New file.
20789 * sysdeps/i386/stackguard-macros.h: Likewise.
20790 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20791 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20792 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20793 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20794 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20795 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20796 * sysdeps/x86_64/stackguard-macros.h: Likewise.
20797 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
20798 <elf/stackguard-macros.h>.
20799
cc03b296
JM
20800 [BZ #14109]
20801 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
20802 __aligned__ in attribute.
20803 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
20804 (gregset_t): Likewise.
20805
93171016
L
208062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20807
20808 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
20809 * sysdeps/x86_64/64/Implies-after: Here. New file.
20810 * sysdeps/x86_64/x32/Implies-after: New file.
20811
d86813a0
L
208122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20813
20814 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
20815 and access return value for _dl_profile_fixup. Use R10_LP to
20816 load frame size.
20817
2953ec75
L
208182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20819
20820 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
20821
3b550e9e
L
208222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20823
20824 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
20825 * sysdeps/x86_64/x32/sysdep.h: New file.
20826
eda41706
L
208272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20828
20829 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
20830 * sysdeps/x86_64/setjmp.S: Likewise.
20831
9ea01d93
AZ
208322012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20833
20834 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
20835 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
20836 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
20837 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
20838 remove unused global constant.
20839
02a91938
CM
208402012-05-15 Chris Metcalf <cmetcalf@tilera.com>
20841
20842 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
20843 include of <not-cancel.h>.
20844
6540185f
RM
208452012-05-15 Roland McGrath <roland@hack.frob.com>
20846
20847 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
20848
509072a0
AJ
208492012-05-15 Jeff Law <law@redhat.com>
20850 Andreas Jaeger <aj@suse.de>
20851
20852 [BZ #13594]
20853 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
20854 out from...
20855 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
20856 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
20857 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
20858 code changing __hst_map_handle.map.
20859
ba75122d
RM
208602012-05-15 Roland McGrath <roland@hack.frob.com>
20861
20862 * configure.in (sysnames): Look for Implies-before and Implies-after
20863 files.
20864 * configure: Regenerated.
20865
890d8bd8
L
208662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20867
20868 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
20869 8-byte data alignment with LP_SIZE alignment.
20870
f6ee6623
L
208712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20872
20873 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
20874 into R10_LP.
20875
ea2626f6
L
208762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20877
20878 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
20879
085f715e
L
208802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20881
20882 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
20883 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
20884 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
20885 Likewise.
20886 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20887
be8498fc
L
208882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20889
20890 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
20891 (stackinfo_sub_sp): Likewise.
20892
70bc83b9
L
208932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20894
20895 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
20896 RAX_LP.
20897
9bc0b730
L
208982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20899
20900 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
20901 into R*_LP.
20902
6d2850e7
L
209032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20904
20905 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
20906 sizes into R*_LP.
20907
3cb84561
L
209082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20909
20910 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
20911
54e2ed81
L
209122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20913
20914 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
20915 into R11_LP and load __x86_64_shared_cache_size_half into
20916 R8_LP.
20917
8a17f349
L
209182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20919
20920 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
20921 R8_LP.
20922
777b1eea
AZ
209232012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20924
20925 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
20926 logb for POWER7.
20927 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
20928 logbf for POWER7.
20929 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
20930 logbl for POWER7.
20931 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
20932 powerpc32/power7/fpu/s_logb.c via #include.
20933 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
20934 powerpc32/power7/fpu/s_logbf.c via #include.
20935 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
20936 powerpc32/power7/fpu/s_logbl.c via #include.
20937
d20d4ac2
JM
209382012-05-15 Joseph Myers <joseph@codesourcery.com>
20939
20940 * README.libm: Remove file.
20941
6cdef1ab
L
209422012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20943
20944 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
20945 count for x32. Use R*_LP and omit operand-size suffix.
20946
0b254d8f
L
209472012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20948
20949 * shlib-versions: Move x86_64-.*-linux.* entries to ...
20950 * sysdeps/x86_64/64/shlib-versions: Here. New file.
20951 * sysdeps/x86_64/x32/shlib-versions: New file.
20952
ceb809dc
RM
209532012-05-14 Roland McGrath <roland@hack.frob.com>
20954
20955 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
20956 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
20957 Use _dl_fatal_printf instead.
20958
37f1abd4
JM
209592012-05-14 Joseph Myers <joseph@codesourcery.com>
20960
20961 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
20962 set if not set by the user. Do not allow for being unset.
20963 * sysdeps/unix/sysv/linux/configure: Regenerated.
20964
11de3a33
L
209652012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20966
20967 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
20968 the `q' suffix from lea and replace .quad with ASM_ADDR.
20969
e02f153a
L
209702012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20971
20972 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
20973 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
20974 instead of $17.
20975 (PTR_DEMANGLE): Likewise.
20976
520ae0fd
L
209772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20978
20979 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
20980 (LP_OP): Likewise.
20981 (ASM_ADDR): Likewise.
20982 (RAX_LP): Likewise.
20983 (RBP_LP): Likewise.
20984 (RBX_LP): Likewise.
20985 (RCX_LP): Likewise.
20986 (RDI_LP): Likewise.
20987 (RSI_LP): Likewise.
20988 (RSP_LP): Likewise.
20989 (R8_LP): Likewise.
20990 (R9_LP): Likewise.
20991 (R10_LP): Likewise.
20992 (R10_LP): Likewise.
20993 (R11_LP): Likewise.
20994 (R12_LP): Likewise.
20995 (R13_LP): Likewise.
20996 (R14_LP): Likewise.
20997 (R15_LP): Likewise.
20998
b985be81
L
209992012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21000
21001 * sysdeps/x86_64/x32/dl-machine.h: New file.
21002
6a4888ff
AJ
210032012-05-14 Andreas Jaeger <aj@suse.de>
21004
21005 * manual/Makefile (subdir): Remove export of subdir.
21006 (all): Remove target.
21007 (.PHONY): Remove all from list.
21008 (mkinstalldirs): Remove.
21009 (.PHONY): Remove installdirs from list.
21010 ($(inst_infodir)/libc.info): Use make-target-directory.
21011 (installdirs): Remove.
21012 (subdir_%): Remove.
21013 (glibc-targets): Remove.
21014 (lib): Remove.
21015 (stubs): Remove.
21016 ($(objpfx)stubs ../po/manual.pot): Remove.
21017 ($(objpfx)stamp%): Remove.
21018 (make-target-directory): Remove.
21019 (subdir_install): Remove.
21020 (routines): Remove.
21021 (aux): Remove.
21022 (sources): Remove.
21023 (objects): Remove.
21024 (headers): Remove.
21025
21026 [BZ #13750]
21027 * manual/.gitignore: Remove, it's not needed anymore.
21028 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
21029 all files in it.
21030 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
21031 directory.
21032 (texis): Renamed to $(objpfx)texis.
21033 (texis-path): New, contains path to generated files.
21034 (chapters.%): Use texis-path for complete path, add extra argument
21035 libc-texinfo.sh.
21036 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
21037 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
21038 (summary,texi, stamp-summary): Use complete path of
21039 files. Generate files in build dir.
21040 (dir-add.texi): Build in build dir.
21041 (libm-err.texi,stamp-libm-err): Likewise.
21042 (version.texi, stamp-version): Likewise.
21043 (.%c.texi): Likewise.
21044 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
21045 (mostlyclean): Remove target.
21046 (realclean): Remove target.
21047 (generated): Add new variable with contents from mostlyclean and
21048 realclean, remove entries duplicated in common-mostlyclean, add
21049 stamp-libm-err and stamp-version.
21050 (generated-dirs): Add libc directory.
21051 ($(inst_infodir)/libc.info): Install files from build dir.
21052
21053 * manual/install.texi (Configuring and compiling): Adjust since
21054 the info files are not part of the tar ball anymore.
21055
7ac77294
AJ
210562012-05-14 Andreas Jaeger <aj@suse.de>
21057
21058 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
21059 variable.
21060
ffb7875d
JM
210612012-05-14 Joseph Myers <joseph@codesourcery.com>
21062
21063 [BZ #13717]
21064 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21065 to 2.2.0 where earlier.
21066 * sysdeps/unix/sysv/linux/configure: Regenerated.
21067 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
21068 Remove conditional code.
21069 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
21070 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
21071 Remove conditional code.
21072 [!__NR_lchown]: Likewise.
21073 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21074 [__NR_lchown]: Likewise.
21075 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
21076 comment referencing __ASSUME_LCHOWN_SYSCALL.
21077 * sysdeps/unix/sysv/linux/i386/sigaction.c
21078 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21079 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21080 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
21081 Remove conditional code.
21082 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
21083 (__protocol_available): Remove #if 0 code.
21084 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
21085 conditional code.
21086 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
21087 * sysdeps/unix/sysv/linux/kernel-features.h
21088 (__ASSUME_GETCWD_SYSCALL): Don't define.
21089 (__ASSUME_REALTIME_SIGNALS): Likewise.
21090 (__ASSUME_PREAD_SYSCALL): Likewise.
21091 (__ASSUME_PWRITE_SYSCALL): Likewise.
21092 (__ASSUME_POLL_SYSCALL): Likewise.
21093 (__ASSUME_LCHOWN_SYSCALL): Likewise.
21094 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
21095 non-SPARC.
21096 (__ASSUME_SIOCGIFNAME): Don't define.
21097 (__ASSUME_MSG_NOSIGNAL): Likewise.
21098 (__ASSUME_SENDFILE): Define unconditionally.
21099 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
21100 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
21101 conditional code.
21102 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
21103 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
21104 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21105 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21106 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
21107 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
21108 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
21109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
21110 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21111 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
21113 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21114 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
21116 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21117 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
21119 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21120 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
21122 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21123 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
21125 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21126 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
21128 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21129 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
21131 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21132 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21133 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
21134 Remove conditional code.
21135 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21136 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21137 Remove conditional code.
21138 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21139 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
21140 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
21141 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21142 Remove conditional code.
21143 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21144 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
21145 Remove conditional code.
21146 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21147 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
21148 Remove conditional code.
21149 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21150 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21151 Remove conditional code.
21152 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21153 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21154 Remove conditional code.
21155 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21156 * sysdeps/unix/sysv/linux/sh/pwrite64.c
21157 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21158 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21159 * sysdeps/unix/sysv/linux/sigaction.c
21160 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21161 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21162 * sysdeps/unix/sysv/linux/sigpending.c
21163 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21164 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21165 * sysdeps/unix/sysv/linux/sigprocmask.c
21166 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21167 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21168 * sysdeps/unix/sysv/linux/sigsuspend.c
21169 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21170 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21171 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21172 (__libc_missing_rt_sigs): Remove.
21173 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
21174 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
21175 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
21176 Remove conditional code.
21177 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
21178 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
21179 return 1.
21180 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
21181 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
21182 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
21183 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
21184
1bfb7291
AJ
211852012-05-14 Andreas Jaeger <aj@suse.de>
21186
caae5a81
AJ
21187 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
21188 it's not used in glibc.
21189 (__coshm1): Likewise.
21190 (__acosh1p): Likewise.
21191 (__sgn): Likewise.
21192
1bfb7291
AJ
21193 * manual/string.texi (Copying and Concatenation): Add missing
21194 variable in concat example.
21195 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
21196
c044d724
L
211972012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21198
144c5467 21199 [BZ #14103]
c044d724
L
21200 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
21201 __builtin_clzl with __builtin_clzll.
21202
2523c62b
L
212032012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21204
21205 [BZ #14104]
21206 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
21207 libc_freeres_ptr.
21208
d7bb4c42
LD
212092012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21210
21211 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
21212 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
21213 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
21214 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
21215
9dc4e1fb
MF
212162012-05-14 Mike Frysinger <vapier@gentoo.org>
21217
21218 * NEWS: Update ia64 info.
21219
c7df0112
AS
212202012-05-12 Andreas Schwab <schwab@linux-m68k.org>
21221
21222 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
21223 used as bcopy.
21224
dc70356c
TS
212252012-05-12 Thomas Schwinge <thomas@codesourcery.com>
21226
21227 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
21228 * sysdeps/unix/syscalls.list (dup3): Likewise.
21229 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
21230 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
21231
9fb1a21f
L
212322012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21233
21234 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
21235 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
21236
4822a2a5
L
212372012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21238
21239 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
21240 thread pointer.
21241 (TLS_IE): Use mov/add instead of movq/addq to load thread
21242 pointer.
21243 (TLS_GD_PREFIX): New.
21244 (TLS_GD): Use it.
21245
842b81d6
DM
212462012-05-11 David S. Miller <davem@davemloft.net>
21247
21248 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
21249 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
21250 (_FPU_SETCW): Likewise.
21251
1cf463cd
L
212522012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21253
21254 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
21255 is 32-byte aligned.
21256
60cc4a18
AS
212572012-05-11 Andreas Schwab <schwab@linux-m68k.org>
21258
21259 [BZ #11837]
21260 * iconvdata/gb18030.c: Update tables.
21261 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
21262 characters specially.
21263 (BODY for TO_LOOP): Add encoding of missing ranges.
21264
febb44a4
TS
212652012-05-11 Thomas Schwinge <thomas@codesourcery.com>
21266
21267 [BZ #13673]
21268 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
21269 * sysdeps/mach/hurd/dup3.c: Likewise.
21270 * sysdeps/mach/hurd/readlinkat.c: Likewise.
21271 * sysdeps/powerpc/memmove.c:: Likewise.
21272
0a10fb9e
L
212732012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21274
21275 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
21276 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
21277
df8a552f
L
212782012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21279
21280 * elf/elf.h (R_X86_64_RELATIVE64): New.
21281 (R_X86_64_NUM): Updated.
21282 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21283 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
21284 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
21285 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
21286 tst-quad1pie tst-quad2pie
21287 (modules-names): Add tst-quadmod1 tst-quadmod2.
21288 ($(objpfx)tst-quad1): New dependency.
21289 ($(objpfx)tst-quad2): Likewise.
21290 ($(objpfx)tst-quad1pie): Likewise.
21291 ($(objpfx)tst-quad2pie): Likewise.
21292 * sysdeps/x86_64/tst-quad1.c: New file.
21293 * sysdeps/x86_64/tst-quad1pie.c: New file.
21294 * sysdeps/x86_64/tst-quad2.c: Likewise.
21295 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
21296 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
21297 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
21298 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
21299 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
21300
f34d6f84
ST
213012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21302
f42d41d1
ST
21303 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
21304 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
21305 * streams/stropts.h (t_scalar_t): Define type.
21306
3c3571fc
ST
21307 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
21308 (_PATH_PRESERVE): Set to "/var/lib".
21309 (_PATH_RWHODIR): Set to "/var/spool/rwho".
21310
61f06bd3
ST
21311 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
21312 instead of int.
21313
918d4d71
ST
21314 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
21315 if __dir_mkfile succeeded.
21316
f34d6f84
ST
21317 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
21318 checking for _hurd_dtablesize. Unlock it right after having
21319 finished _hurd_dtable allocation.
21320
10589b4a
TS
213212012-05-10 Thomas Schwinge <thomas@schwinge.name>
21322
674cdbc7
TS
21323 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
21324 * sysdeps/mach/hurd/configure: Regenerated.
21325 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
21326 special-casing to...
21327 * sysdeps/gnu/configure.in: ... this new file.
21328 * sysdeps/unix/sysv/linux/configure: Regenerated.
21329 * sysdeps/gnu/configure: New generated file.
21330
8e41b99f
TS
21331 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
21332 for Linux: use nsec instead of usec, as well as:
21333 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
21334 members of type struct timespec.
21335 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
21336 New macros.
21337 (struct stat64): Likewise.
21338 (_STATBUF_ST_NSEC): New macro.
21339 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
21340
10589b4a
TS
21341 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21342 __strtoul_internal rather than strtoul.
21343
63643c85
PT
213442012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21345
21346 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
21347 and reject them.
21348
3faebe6a
ST
213492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21350
21351 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
21352 which preserves existing values.
21353 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
21354
c6474b07
PT
213552012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21356
21357 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
21358 TIMEOUT values. Return EINVAL for NFDS values either negative or
21359 greater than FD_SETSIZE.
21360
1043890b
ST
213612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21362
21363 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
21364 allocated, call __vm_protect to finish enabling the existing space, and
21365 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
21366 allocate the remainder.
21367
37ed8b9b
PT
213682012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21369
21370 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
21371 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
21372
db653660
ST
213732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21374
37ed8b9b
PT
21375 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
21376 sysdeps/mach/hurd/readlink.c.
b29d4053 21377
db653660
ST
21378 * posix/tst-sysconf.c (posix_options): Only use
21379 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
21380 _POSIX_SYNCHRONIZED_IO when they are defined
21381 * sysdeps/mach/hurd/bits/posix_opt.h:
21382 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
21383 (_XOPEN_REALTIME): Undefine macro.
21384 (_XOPEN_REALTIME_THREADS): Undefine macro.
21385 (_XOPEN_SHM): Undefine macro.
21386 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
21387 macro to -1.
21388 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
21389 macro to -1.
21390 (_POSIX_ASYNC_IO): Undefine macro.
21391 (_POSIX_PRIORITIZED_IO): Undefine macro.
21392 (_POSIX_SPIN_LOCKS): Define macro to -1.
21393
ee16e894
ST
21394 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
21395 SA_NODEFER, SA_RESETHAND.
21396 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
21397 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
21398 F_DUPFD_CLOEXEC.
21399
6103ae3b
TS
214002012-05-10 Thomas Schwinge <thomas@schwinge.name>
21401
21402 * elf/Makefile (pldd-modules): Define unconditionally.
21403
80b4e5f3
TS
214042012-05-10 Thomas Schwinge <thomas@schwinge.name>
21405
21406 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
21407
edadcbd6
ST
214082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21409
21410 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
21411 Return ENOENT when name is empty.
21412 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
21413
80694780
TS
214142012-05-10 Thomas Schwinge <thomas@schwinge.name>
21415
1792c087
TS
21416 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
21417
80694780
TS
21418 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
21419
6b645f0d
ST
214202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21421
80694780
TS
21422 Fix mlock in all cases except non-readable pages.
21423 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
21424 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 21425
6b645f0d
ST
21426 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
21427 (__mkdir): When path is `/', just fail with EEXIST.
21428 * sysdeps/mach/hurd/mkdirat.c: Likewise.
21429
e468f8a3
TS
214302012-05-10 Thomas Schwinge <thomas@schwinge.name>
21431
21432 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
21433 <sys/uio.h> (for writev).
21434 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
21435 and <sys/param.h> (for MIN).
21436
a4186cff
PT
214372012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21438
21439 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
21440 REQUESTED_TIME. Properly set the remaining time and return EINTR
21441 if interrupted.
21442
510bbf14
TS
214432012-05-10 Thomas Schwinge <thomas@schwinge.name>
21444
21445 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
21446 Depend on against $(link-rpcuserlibs).
21447
5d5722e8
ST
214482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21449
a4186cff
PT
21450 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
21451 (__libc_stack_end): Do not use attribute_relro.
21452 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
21453 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 21454 to libthread-provided value.
a4186cff
PT
21455 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
21456 attribute_relro.
5d5722e8 21457
37233df9
TS
214582012-05-10 Thomas Schwinge <thomas@schwinge.name>
21459
be971a2b
TS
21460 [BZ #3748]
21461 * bits/libc-lock.h (__libc_once_get): New macro.
21462 * sysdeps/mach/bits/libc-lock.h: Likewise.
21463 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
21464 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
21465 instead of using implementation details.
21466
37233df9
TS
21467 * libio/fileops.c: Unconditionally include <kernel-features.h>.
21468 * libio/freopen.c: Likewise.
21469 * libio/freopen64.c: Likewise.
21470 * misc/syslog.c: Likewise.
21471 * nscd/connections.c: Likewise.
21472 * nscd/netgroupcache.c: Likewise.
21473 * sysdeps/posix/getcwd.c: Likewise.
21474
38de94a5
RM
214752012-05-10 Roland McGrath <roland@hack.frob.com>
21476
21477 * math/w_ilogbf.c: Add #include <limits.h>.
21478
67530489
ST
214792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21480
a4186cff 21481 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
21482 path instead of returning without unlocking.
21483
67530489
ST
21484 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
21485 immediate-write ioctls.
21486 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
21487
5aa3a74a
TS
214882012-05-10 Thomas Schwinge <thomas@schwinge.name>
21489
18bad2ae
TS
21490 * sysdeps/mach/hurd/i386/init-first.c (init): Use
21491 __builtin_frame_address instead of making assumptions about the
21492 location of the return address relative to DATA. Force early load of
21493 the return address.
21494 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
21495 __builtin_frame_address.
21496
5aa3a74a
TS
21497 dup3 for GNU Hurd.
21498 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
21499 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
21500 implement dup3 and do some further code clean-ups.
21501 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
21502 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
21503
ecd0de9a
ST
215042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21505
cd9fa985
ST
21506 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
21507
a4186cff
PT
21508 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
21509 HURD_CRITICAL_END around holding _hurd_dtable_lock.
21510 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
21511 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
21512 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
21513 d->port.lock.
802ca5a5 21514
a4186cff
PT
21515 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
21516 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
21517 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 21518
bcf55240
TS
215192012-05-10 Thomas Schwinge <thomas@schwinge.name>
21520
6960eb42
TS
21521 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
21522 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
21523 definitions.
21524
eb43375f
TS
21525 accept4 for GNU Hurd.
21526 * include/sys/socket.h (__libc_accept4): New prototype.
21527 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
21528 to implement __libc_accept4.
21529 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
21530 __libc_accept4.
21531 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
21532
bcf55240
TS
21533 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
21534 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
21535 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
21536 signal-defines.sym.
21537
6178c55b
ST
215382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21539
a4186cff 21540 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 21541
6f080c2f
TS
215422012-05-10 Thomas Schwinge <thomas@schwinge.name>
21543
21544 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
21545 assertion on O_CLOEXEC flag.
21546 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
21547 * hurd/intern-fd.c: Likewise.
21548 * hurd/port2fd.c: Likewise.
21549
bcfe3a54
ST
215502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21551
21552 [BZ #3906]
21553 * bits/in.h (IPV6_PKTINFO): Define new macro.
21554 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
21555
89c9aa49
AZ
215562012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21557
21558 [BZ #13954]
21559 [BZ #13955]
21560 [BZ #13956]
21561 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
21562 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21563 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
21564 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21565 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21566 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21567 * math/libm-test.inc (logb_test) : Additional logb tests.
21568
021db4be
AJ
215692012-05-09 Andreas Schwab <schwab@linux-m68k.org>
21570 Andreas Jaeger <aj@suse.de>
21571
21572 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
21573 * configure: Regenerated.
21574 * config.h.in (LINK_OBSOLETE_RPC): New macro.
21575 * config.make.in (link-obsolete-rpc): New substituted variable.
21576 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
21577 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
21578 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21579 (shared-only-routines): Don't set it under [link-obsolete-rpc],
21580 so that libc.a contains the symbols.
21581 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21582 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
21583 * sunrpc/auth_none.c: Likewise.
21584 * sunrpc/auth_unix.c: Likewise.
21585 * sunrpc/authdes_prot.c: Likewise.
21586 * sunrpc/authuxprot.c: Likewise.
21587 * sunrpc/clnt_gen.c: Likewise.
21588 * sunrpc/clnt_perr.c: Likewise.
21589 * sunrpc/clnt_raw.c: Likewise.
21590 * sunrpc/clnt_simp.c: Likewise.
21591 * sunrpc/clnt_tcp.c: Likewise.
21592 * sunrpc/clnt_udp.c: Likewise.
21593 * sunrpc/clnt_unix.c: Likewise.
21594 * sunrpc/des_crypt.c: Likewise.
21595 * sunrpc/des_soft.c: Likewise.
21596 * sunrpc/get_myaddr.c: Likewise.
21597 * sunrpc/key_call.c: Likewise.
21598 * sunrpc/key_prot.c: Likewise.
21599 * sunrpc/netname.c: Likewise.
21600 * sunrpc/pm_getmaps.c: Likewise.
21601 * sunrpc/pm_getport.c: Likewise.
21602 * sunrpc/pmap_clnt.c: Likewise.
21603 * sunrpc/pmap_prot.c: Likewise.
21604 * sunrpc/pmap_prot2.c: Likewise.
21605 * sunrpc/pmap_rmt.c: Likewise.
21606 * sunrpc/publickey.c: Likewise.
21607 * sunrpc/rpc_cmsg.c: Likewise.
21608 * sunrpc/rpc_common.c: Likewise.
21609 * sunrpc/rpc_dtable.c: Likewise.
21610 * sunrpc/rpc_prot.c: Likewise.
21611 * sunrpc/rpc_thread.c: Likewise.
21612 * sunrpc/rtime.c: Likewise.
21613 * sunrpc/svc.c: Likewise.
21614 * sunrpc/svc_auth.c: Likewise.
21615 * sunrpc/svc_raw.c: Likewise.
21616 * sunrpc/svc_run.c: Likewise.
21617 * sunrpc/svc_tcp.c: Likewise.
21618 * sunrpc/svc_udp.c: Likewise.
21619 * sunrpc/svc_unix.c: Likewise.
21620 * sunrpc/svcauth_des.c: Likewise.
21621 * sunrpc/xcrypt.c: Likewise.
21622 * sunrpc/xdr.c: Likewise.
21623 * sunrpc/xdr_array.c: Likewise.
21624 * sunrpc/xdr_float.c: Likewise.
21625 * sunrpc/xdr_intXX_t.c: Likewise.
21626 * sunrpc/xdr_mem.c: Likewise.
21627 * sunrpc/xdr_rec.c: Likewise.
21628 * sunrpc/xdr_ref.c: Likewise.
21629 * sunrpc/xdr_sizeof.c: Likewise.
21630 * sunrpc/xdr_stdio.c: Likewise.
21631
b5c086a2
RM
216322012-05-10 Roland McGrath <roland@hack.frob.com>
21633
21634 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
21635 change. Update copyright years.
21636
6d74dd09
JM
216372012-05-10 Joseph Myers <joseph@codesourcery.com>
21638
21639 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
21640
28e72501
MK
216412012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
21642 Joseph Myers <joseph@codesourcery.com>
21643 Paul Pluzhnikov <ppluzhnikov@google.com>
21644
21645 [BZ #14012]
21646 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
21647 requiring rpcgen.
21648 [cross-compiling] (extra-libs): Likewise.
21649 [cross-compiling] (extra-libs-others): Likewise.
21650 [cross-compiling] (librpcsvc-routines): Likewise.
21651 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
21652 [cross-compiling] (omit-deps): Likewise.
21653 (sunrpc-CPPFLAGS): New variable.
21654 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
21655 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
21656 (cross-rpcgen-objs): New variable.
21657 (extra-objs): Append $(cross-rpcgen-objs).
21658 ($(cross-rpcgen-objs)): New rule.
21659 ($(objpfx)cross-rpcgen): Likewise.
21660 (rpcgen-cmd): Define to use $(built-program-file). Expand
21661 comment.
21662 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
21663 ($(objpfx)x%.stmp): Likewise.
21664 * sunrpc/proto.h [IS_IN_build] (_): Define.
21665 [IS_IN_build] (_libc_intl_domainname): Likewise.
21666
c8c59454
L
216672012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21668
21669 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
21670 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
21671 and R_X86_64_TPOFF64.
21672
6f27cd16
JM
216732012-05-10 Joseph Myers <joseph@codesourcery.com>
21674
21675 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
21676 sysdeps/unix/sysv/syscalls.list.
21677 (stime): Likewise.
21678 (utime): Likewise.
21679 * sysdeps/unix/sysv/syscalls.list: Remove file.
21680
02467e1c
PE
216812012-05-10 Paul Eggert <eggert@cs.ucla.edu>
21682
21683 [BZ #3440]
21684 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
21685 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
21686 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
21687 (__LC_IDENTIFICATION): Make these macros useful in #if
21688 expressions, as required by C99.
21689
da392631
AS
216902012-05-10 Andreas Schwab <schwab@linux-m68k.org>
21691
21692 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
21693 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
21694 after this.
21695
8115f29b
L
216962012-05-09 H.J. Lu <hongjiu.lu@intel.com>
21697
21698 * stdlib/longlong.h: Updated from GCC.
21699
bdd74070
AJ
217002012-05-09 Andreas Jaeger <aj@suse.de>
21701
edfe0dbe
AJ
21702 * nscd/nscd.c (run_modes): Make named enum, reorder so that
21703 default is first entry.
21704 (run_mode): Set type.
21705 (main): Remove informal message about syslog.
21706 (options): Fix typo.
21707
bcfe3a54
ST
21708 [BZ #14053]
21709 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 21710 to asm.
bcfe3a54
ST
21711 (lrint): Likewise.
21712 (llrintf): Likewise.
21713 (llrint): Likewise.
21714 (rint): Likewise.
21715 (rintf): Likewise.
21716 (nearbyint): Likewise.
21717 (nearbyintf): Likewise.
bdd74070 21718
91d8d69e
AJ
217192012-05-09 Andreas Jaeger <aj@suse.de>
21720 Pedro Alves <palves@redhat.com>
21721
21722 * nscd/nscd.c (run_mode): Use enum.
21723 (main): Cleanup coding style issue.
21724
bb90b80b
AJ
217252012-05-09 Alexandre Oliva <aoliva@redhat.com>
21726 Andreas Jaeger <aj@suse.de>
21727
bcfe3a54
ST
21728 * nscd/nscd.c (go_background): Replaced with...
21729 (run_mode): ... this.
bb90b80b 21730 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
21731 (options): Add -F --foreground.
21732 (main): Implement it.
21733 (parse_opt): Parse it.
bb90b80b 21734
1a4b75a1
AJ
217352012-05-09 Andreas Jaeger <aj@suse.de>
21736
21737 [BZ #14083]
21738 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
21739 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
21740 -Wconversion warning.
21741 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
21742 Likewise.
21743
b1cc2472
JM
217442012-05-09 Joseph Myers <joseph@codesourcery.com>
21745
21746 * conform/data/locale.h-data (NULL): Use macro-constant. Require
21747 == 0.
21748 (LC_ALL): Use macro-int-constant.
21749 (LC_COLLATE): Likewise.
21750 (LC_CTYPE): Likewise.
21751 (LC_MESSAGES): Likewise.
21752 (LC_MONETARY): Likewise.
21753 (LC_NUMERIC): Likewise.
21754 (LC_TIME): Likewise.
21755 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
21756 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21757 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21758 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
21759 Specify type.
21760 [C99-based standards] (float_t): Expect type.
21761 [C99-based standards] (double_t): Expect type.
21762 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
21763 type.
21764 [C99-based standards] (HUGE_VALL): Likewise.
21765 [C99-based standards] (INFINITY): Likewise.
21766 [C99-based standards] (NAN): Likewise.
21767 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
21768 [C99-based standards] (FP_NAN): Likewise.
21769 [C99-based standards] (FP_NORMAL): Likewise.
21770 [C99-based standards] (FP_SUBNORMAL): Likewise.
21771 [C99-based standards] (FP_ZERO): Likewise.
21772 [C99-based standards] (FP_FAST_FMA): Use
21773 optional-macro-int-constant. Specify type. Require == 1.
21774 [C99-based standards] (FP_FAST_FMAF): Likewise.
21775 [C99-based standards] (FP_FAST_FMAL): Likewise.
21776 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
21777 [C99-based standards] (FP_ILOGBNAN): Likewise.
21778 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
21779 Specify type.
21780 [C99-based standards] (MATH_ERREXCEPT): Likewise.
21781 [C99-based standards] (math_errhandling): Specify type.
21782 [ISO99 || ISO11] (signgam): Do not allow.
21783 [non-C99-based standards] (copysignf): Do not allow.
21784 [non-C99-based standards] (exp2f): Likewise.
21785 [non-C99-based standards] (log2f): Likewise.
21786 [non-C99-based standards] (modff): Allow.
21787 [non-C99-based standards] (erff): Do not allow.
21788 [non-C99-based standards] (erfcf): Likewise.
21789 [non-C99-based standards] (gammaf): Likewise.
21790 [non-C99-based standards] (hypotf): Likewise.
21791 [non-C99-based standards] (j0f): Likewise.
21792 [non-C99-based standards] (j1f): Likewise.
21793 [non-C99-based standards] (jnf): Likewise.
21794 [non-C99-based standards] (lgammaf): Likewise.
21795 [non-C99-based standards] (tgammaf): Likewise.
21796 [non-C99-based standards] (y0f): Likewise.
21797 [non-C99-based standards] (y1f): Likewise.
21798 [non-C99-based standards] (ynf): Likewise.
21799 [non-C99-based standards] (isnanf): Likewise.
21800 [non-C99-based standards] (acoshf): Likewise.
21801 [non-C99-based standards] (asinhf): Likewise.
21802 [non-C99-based standards] (atanhf): Likewise.
21803 [non-C99-based standards] (cbrtf): Likewise.
21804 [non-C99-based standards] (expm1f): Likewise.
21805 [non-C99-based standards] (ilogbf): Likewise.
21806 [non-C99-based standards] (log1pf): Likewise.
21807 [non-C99-based standards] (logbf): Likewise.
21808 [non-C99-based standards] (nextafterf): Likewise.
21809 [non-C99-based standards] (remainderf): Likewise.
21810 [non-C99-based standards] (rintf): Likewise.
21811 [non-C99-based standards] (scalbf): Likewise.
21812 [non-C99-based standards] (copysignl): Likewise.
21813 [non-C99-based standards] (exp2l): Likewise.
21814 [non-C99-based standards] (log2l): Likewise.
21815 [non-C99-based standards] (modfl): Allow.
21816 [non-C99-based standards] (erfl): Do not allow.
21817 [non-C99-based standards] (erfcl): Likewise.
21818 [non-C99-based standards] (gammal): Likewise.
21819 [non-C99-based standards] (hypotl): Likewise.
21820 [non-C99-based standards] (j0l): Likewise.
21821 [non-C99-based standards] (j1l): Likewise.
21822 [non-C99-based standards] (jnl): Likewise.
21823 [non-C99-based standards] (lgammal): Likewise.
21824 [non-C99-based standards] (tgammal): Likewise.
21825 [non-C99-based standards] (y0l): Likewise.
21826 [non-C99-based standards] (y1l): Likewise.
21827 [non-C99-based standards] (ynl): Likewise.
21828 [non-C99-based standards] (isnanl): Likewise.
21829 [non-C99-based standards] (acoshl): Likewise.
21830 [non-C99-based standards] (asinhl): Likewise.
21831 [non-C99-based standards] (atanhl): Likewise.
21832 [non-C99-based standards] (cbrtl): Likewise.
21833 [non-C99-based standards] (expm1l): Likewise.
21834 [non-C99-based standards] (ilogbl): Likewise.
21835 [non-C99-based standards] (log1pl): Likewise.
21836 [non-C99-based standards] (logbl): Likewise.
21837 [non-C99-based standards] (nextafterl): Likewise.
21838 [non-C99-based standards] (remainderl): Likewise.
21839 [non-C99-based standards] (rintl): Likewise.
21840 [non-C99-based standards] (scalbl): Likewise.
21841 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21842 [non-C99-based standards] (FP_*): Do not allow.
21843 [C99-based standards] (FP_*): Change to
21844 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21845 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21846 allow.
21847 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
21848 (SIG_ERR): Likewise.
21849 [X/Open-based standards] (SIG_HOLD): Likewise.
21850 (SIG_IGN): Likewise.
21851 (SIGABRT): Use macro-int-constant. Specify type. Require
21852 positive value.
21853 (SIGFPE): Likewise.
21854 (SIGILL): Likewise.
21855 (SIGINT): Likewise.
21856 (SIGSEGV): Likewise.
21857 (SIGTER): Likewise.
21858 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
21859 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
21860 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
21861 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
21862 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
21863 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
21864 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
21865 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
21866 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
21867 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
21868 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
21869 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
21870 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
21871 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
21872 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
21873 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
21874 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
21875 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
21876 [X/Open-based standards] (SIGTRAP): Likewise.
21877 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
21878 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
21879 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
21880 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
21881 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21882 allow.
21883
b9f1922d
IW
218842012-05-08 Ian Wienand <ianw@vmware.com>
21885
21886 [BZ #14080]
21887 * time/tzset.c (__tzset_parse_tz): Update default rules for
21888 daylight time changes in the Energy Policy Act of 2005.
21889
1db86e88
AJ
218902012-05-09 Andreas Jaeger <aj@suse.de>
21891
21892 [BZ #13983]
21893 * elf/ldconfig.c (parse_conf): Change string to make clear that
21894 ldconfig only issued a warning if ld.so.conf does not exist.
21895
dee4a4e3
DM
218962012-05-08 David S. Miller <davem@davemloft.net>
21897
ee0db190
DM
21898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
21899 movxtod instead of popping the value on the stack.
21900
dee4a4e3
DM
21901 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21902
6a43ec98
CD
219032012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
21904
21905 * config.h.in: Add HAVE_ARM_PCS_VFP.
21906
05c2c961
RMG
219072012-05-08 Roland Mc Grath <roland@hack.frob.com>
21908
bcfe3a54
ST
21909 [BZ #13979]
21910 * include/features.h: Warn if user requests __FORTIFY_SOURCE
21911 checking but the checks are disabled for any reason.
05c2c961 21912
4b30f61a
L
219132012-05-08 H.J. Lu <hongjiu.lu@intel.com>
21914
21915 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
21916 and ELF64_R_TYPE with ELFW(R_TYPE).
21917
eee2bc67
JM
219182012-05-08 Joseph Myers <joseph@codesourcery.com>
21919
7ea5391a
JM
21920 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
21921 (ulimit): Likewise.
21922
eee2bc67
JM
21923 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
21924 (settimeofday): Likewise.
21925
abb66a67
MF
219262012-05-08 Mike Frysinger <vapier@gentoo.org>
21927
21928 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
21929 a struct th_u2 inside the union, and move tu_block/tu_code into
21930 a new th_u3 union of tu_block/tu_code inside of that. Move
21931 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
21932 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
21933 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
21934 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
21935 (th_stuff): Change to th_u1.tu_stuff.
21936 (th_data): Define.
21937 (th_msg): Change to th_u1.th_u2.tu_data.
21938
7f18b530
DM
219392012-05-07 David S. Miller <davem@davemloft.net>
21940
05760585
DM
21941 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21942
7f18b530
DM
21943 [BZ #14074]
21944 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
21945 (SETUP_PIC_REG): Use it.
21946 (SETUP_PIC_REG_LEAF): Use it.
21947
495fd99f
JM
219482012-05-07 Joseph Myers <joseph@codesourcery.com>
21949
21950 [BZ #13885]
21951 [BZ #13923]
21952 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21953 USE_AS_EXPM1L.
21954 (EXPL_FINITE): Likewise.
21955 (FLDLOG): Likewise.
21956 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21957 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21958 e_expl.S.
21959 * sysdeps/x86_64/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/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21965 e_expl.S.
21966 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
21967 test of -max_value argument for long double.
21968 * sysdeps/i386/fpu/libm-test-ulps: Update.
21969 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21970
6693d694
DM
219712012-05-06 David S. Miller <davem@davemloft.net>
21972
21973 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
21974 quad soft-float symbols whose references which are compiler
21975 generated.
21976 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21977
6c23e11c
JM
219782012-05-06 Joseph Myers <joseph@codesourcery.com>
21979
d8b82cad
JM
21980 [BZ #13884]
21981 [BZ #13914]
21982 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21983 USE_AS_EXP10L.
21984 (EXPL_FINITE): Likewise.
21985 (FLDLOG): Likewise.
21986 (c0): Likewise.
21987 (c1): Likewise.
21988 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
21989 Adjust comments for base varying.
21990 (__expl_finite): Change alias to EXPL_FINITE.
21991 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
21992 e_expl.S.
21993 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
21994 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
21995 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21996 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
21997 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21998 USE_AS_EXP10L.
21999 (EXPL_FINITE): Likewise.
22000 (FLDLOG): Likewise.
22001 (c0): Likewise.
22002 (c1): Likewise.
22003 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
22004 Adjust comments for base varying.
22005 (__expl_finite): Change alias to EXPL_FINITE.
22006 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
22007 tests for bugs.
22008 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22009
6c23e11c
JM
22010 [BZ #14064]
22011 * math/libm-test.inc (check_float_internal): Correct ulp
22012 calculation for subnormal expected results.
22013
29ba805c
AJ
220142012-05-06 Andreas Jaeger <aj@suse.de>
22015
22016 * Makeconfig (+math-flags): New, set to -frounding-math.
22017 (+cflags): Add +math-flags so that all of glibc gets compiled with
22018 it.
22019
22020 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
22021
7b17aeda
JM
220222012-05-05 Joseph Myers <joseph@codesourcery.com>
22023
5779f134
JM
22024 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
22025 Disable one test.
22026
41498f4d
JM
22027 [BZ #13787]
22028 [BZ #13922]
22029 [BZ #14036]
22030 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
22031 (__ieee754_expl): Allow for and saturate large arguments.
22032 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
22033 (u_threshold): Likewise.
22034 (__exp): Call __ieee754_exp before checking for overflow and
22035 underflow.
22036 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
22037 (u_threshold): Likewise.
22038 (__expf): Call __ieee754_expf before checking for overflow and
22039 underflow.
22040 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
22041 (u_threshold): Likewise.
22042 (__expl): Call __ieee754_expl before checking for overflow and
22043 underflow.
22044 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
22045 (__ieee754_expl): Allow for and saturate large arguments.
22046 * math/libm-test.inc (exp_test): Add another test. Do not allow
22047 missing overflow exception on overflow.
22048 (expm1_test): Do not allow missing overflow exception on overflow.
22049
6698b8bf
JM
22050 * sysdeps/i386/fpu/e_expl.c: Move to ...
22051 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
22052 rather than using inline asm.
22053 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
22054 * sysdeps/x86_64/fpu/e_expl.S: Copy from
22055 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
22056
7b17aeda
JM
22057 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
22058 (nice): Likewise.
22059 (poll): Likewise.
22060 (signal): Likewise.
22061 (time): Likewise.
22062 (times): Likewise.
22063
f7c85819
JM
220642012-05-04 Joseph Myers <joseph@codesourcery.com>
22065
22066 * sysdeps/unix/syscalls.list (adjtime): Add entry from
22067 sysdeps/unix/common/syscalls.list.
22068 (fchmod): Likewise.
22069 (fchown): Likewise.
22070 (ftruncate): Likewise.
22071 (getrusage): Likewise.
22072 (gettimeofday): Likewise.
22073 (setpgid): Likewise.
22074 (setregid): Likewise.
22075 (setreuid): Likewise.
22076 (sigaction): Likewise.
22077 (truncate): Likewise.
22078 (vhangup): Likewise.
22079 * sysdeps/unix/common/syscalls.list: Remove file.
22080 * sysdeps/unix/bsd/Implies: Don't include unix/common.
22081 * sysdeps/unix/sysv/linux/Implies: Likewise.
22082
336270d0
L
220832012-05-04 H.J. Lu <hongjiu.lu@intel.com>
22084
22085 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
22086 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
22087 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
22088 Moved to ...
22089 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
22090 Here.
22091 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
22092 to ...
22093 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
22094 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
22095 to ...
22096 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
22097 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
22098 to ...
22099 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
22100 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
22101 to ...
22102 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
22103 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
22104 to ...
22105 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
22106 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
22107 to ...
22108 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
22109 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
22110 to ...
22111 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22112 Here.
22113 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
22114 to ...
22115 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
22116 Here.
22117 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
22118 to ...
22119 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
22120 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
22121 Moved to ...
22122 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
22123 Here.
22124 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
22125 to ...
22126 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
22127
d128e450
JM
221282012-05-04 Joseph Myers <joseph@codesourcery.com>
22129
fa8ee516
JM
22130 * sysdeps/unix/common/bits/dirent.h: Remove file.
22131 * sysdeps/unix/common/bits/fcntl.h: Likewise.
22132
d128e450
JM
22133 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
22134 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
22135 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
22136 * sysdeps/unix/bsd/isatty.c: Likewise.
22137 * sysdeps/unix/bsd/tcdrain.c: Likewise.
22138 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
22139 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
22140
ff8faaf0 221412012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 22142
62881be4 22143 [BZ #13563]
31dc8730
AZ
22144 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
22145 long double comparison inaccuracies.
22146 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22147 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22148
6fef930c
AS
221492012-05-04 Andreas Schwab <schwab@linux-m68k.org>
22150
22151 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
22152 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
22153
8f203e6c
JM
221542012-05-04 Joseph Myers <joseph@codesourcery.com>
22155
22156 [BZ #14049]
22157 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
22158 nonzero digits before rounding a hex value.
22159 * stdlib/tst-strtod.c (tests): Add another test.
22160
5197d9c2
AK
221612012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22162
22163 * sysdeps/s390/fpu/libm-test-ulps: Update.
22164
f0c1dedf
AJ
221652012-05-03 Andreas Jaeger <aj@suse.de>
22166
22167 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
22168 does not get optimized out.
22169 (malloc_opt_barrier): New.
22170
a65ef2ae 221712012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 22172 Roland McGrath <roland@hack.frob.com>
a65ef2ae 22173
2b942cb7 22174 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 22175 intermediate file deletion.
2b942cb7 22176 (generated): Add .symlist files.
a65ef2ae 22177
54b71e02
JM
221782012-05-03 Joseph Myers <joseph@codesourcery.com>
22179
22180 [BZ #13775]
22181 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
22182 Redirect under this condition.
22183 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22184 [__USE_GNU] (__dprintf_chk): Not under this condition.
22185 [__USE_GNU] (__vdprintf_chk): Likewise.
22186 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
22187 under this condition.
22188 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22189 [__USE_XOPEN2K8] (dprintf): Define under this condition.
22190 [__USE_XOPEN2K8] (vdprintf): Likewise.
22191 [__USE_GNU] (__dprintf_chk): Not under this condition.
22192 [__USE_GNU] (__vdprintf_chk): Likewise.
22193 [__USE_GNU] (dprintf): Likewise.
22194 [__USE_GNU] (vdprintf): Likewise.
22195
d3dfcc41
RM
221962012-05-03 Roland McGrath <roland@hack.frob.com>
22197
22198 * elf/Makefile (common-generated): Set this instead of generated for
22199 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
22200 $(all-built-dso)-derived lists.
22201
7ac30cc5
AJ
222022012-05-03 Andreas Jaeger <aj@suse.de>
22203
0c51e550
AJ
22204 * sysdeps/i386/fpu/libm-test-ulps: Update.
22205
7ac30cc5
AJ
22206 * FAQ: Removed.
22207 * FAQ.in: Likewise.
22208 * scripts/gen-FAQ.pl: Likewise.
22209 * manual/install.texi (Installation): Point to online location of
22210 FAQ.
22211 * Makefile (files-for-dist): Remove FAQ.
22212 (FAQ): Remove.
22213
d4c2917f
AM
222142012-05-02 Allan McRae <allan@archlinux.org>
22215
22216 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
22217 (LDFLAGS-reldepmod5.so): Likewise.
22218 (LDFLAGS-reldep6mod1.so): Likewise.
22219 (LDFLAGS-reldep6mod4.so): Likewise.
22220 (LDFLAGS-reldep8mod3.so): Likewise.
22221 (LDFLAGS-unload4mod1.so): Likewise.
22222 (LDFLAGS-unload4mod2.so): Likewise.
22223 (LDFLAGS-tst-initorder): Likewise.
22224 (LDFLAGS-tst-initordera2.so): Likewise.
22225 (LDFLAGS-tst-initordera3.so): Likewise.
22226 (LDFLAGS-tst-initordera4.so): Likewise.
22227 (LDFLAGS-tst-initorderb2.so): Likewise.
22228 (LDFLAGS-noload): Likewise.
22229 (LDFLAGS-next): Likewise.
22230 (LDFLAGS-order2mod1.so): Likewise.
22231 (LDFLAGS-order2mod2.so): Likewise.
22232 (LDFLAGS-tst-initorder2): Likewise.
22233 (LDFLAGS-tst-initorder2a.so): Likewise.
22234 (LDFLAGS-tst-initorder2b.so): Likewise.
22235 (LDFLAGS-tst-initorder2c.so): Likewise.
22236 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
22237
d77f993f
DM
222382012-05-02 David S. Miller <davem@davemloft.net>
22239
22240 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22241
171a70b4
PP
222422012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
22243
22244 [BZ #14055]
22245 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
22246
0be196ad
AJ
222472012-05-02 Andreas Jaeger <aj@suse.de>
22248
22249 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
22250 since we manipulate rounding mode.
22251 (CPPFLAGS-test-idouble.c): Likewise.
22252 (CPPFLAGS-test-ifloat.c): Likewise.
22253 (CFLAGS-test-ldouble.c): Likewise.
22254 (CFLAGS-test-double.c): Likewise.
22255 (CFLAGS-test-float.c): Likewise.
22256 (CFLAGS-test-misc.c): Likewise.
22257 (CFLAGS-test-test-fenv.c): Likewise.
22258
4f9d04aa
AZ
222592012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22260
2b942cb7
RM
22261 [BZ #2550]
22262 [BZ #2570]
22263 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
22264 comparisons to determine direction to adjust input.
4f9d04aa 22265
82a79e7d
RM
222662012-05-01 Roland McGrath <roland@hack.frob.com>
22267
f5a01ca9
RM
22268 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
22269 output to the target.
22270
90fe4186
RM
22271 * scripts/localplt.awk: New file.
22272 * elf/Makefile ($(objpfx)check-localplt): Target removed.
22273 (check-localplt-CFLAGS): Variable removed.
22274 ($(all-built-dso:=.jmprel)): New static pattern rule.
22275 (generated): Add those targets.
22276 (localplt-built-dso): New variable.
22277 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
22278
22279 * elf/check-localplt.c: File removed.
22280
82397ed6
RM
22281 * scripts/check-execstack.awk: New file.
22282 * elf/Makefile ($(objpfx)check-execstack): Target removed.
22283 (check-execstack-CFLAGS): Variable removed.
22284 ($(objpfx)check-execstack.h): Target removed.
22285 ($(objpfx)execstack-default): New target.
22286 (generated): Add that instead of check-execstack.h.
22287 ($(all-built-dso:=.phdr)): New static pattern rule.
22288 (generated): Add those targets.
22289 * elf/check-execstack.c: File removed.
22290
82a79e7d
RM
22291 * scripts/check-textrel.awk: New file.
22292 * elf/Makefile ($(objpfx)check-textrel): Target removed.
22293 (check-textrel-CFLAGS): Variable removed.
22294 (all-built-dso): Use := to define.o
22295 ($(all-built-dso:=.dyn)): New static pattern rule.
22296 (generated): Add those targets.
22297 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
22298 * config.make.in (READELF): New substituted variable.
22299 * elf/check-textrel.c: File removed.
22300
62fde54f 223012012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 22302
615605c9
JM
22303 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22304 allow.
22305 * conform/data/ctype.h-data [C99-based standards] (isblank):
22306 Expect function.
22307 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
22308 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
22309 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22310 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
22311 Specify type. Require positive value.
22312 (EILSEQ): Likewise.
22313 (ERANGE): Likewise.
22314 [ISO || POSIX] (EILSEQ): Do not expect.
22315 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
22316 Specify type. Require positive value.
22317 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
22318 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
22319 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
22320 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
22321 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
22322 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
22323 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
22324 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
22325 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
22326 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
22327 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
22328 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
22329 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
22330 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
22331 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
22332 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
22333 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
22334 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
22335 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
22336 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
22337 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
22338 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
22339 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
22340 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
22341 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
22342 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
22343 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
22344 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
22345 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
22346 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
22347 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
22348 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
22349 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
22350 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
22351 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
22352 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
22353 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
22354 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
22355 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
22356 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
22357 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
22358 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
22359 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
22360 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
22361 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
22362 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
22363 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
22364 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
22365 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
22366 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
22367 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
22368 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
22369 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
22370 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
22371 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
22372 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
22373 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
22374 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
22375 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
22376 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
22377 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
22378 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
22379 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
22380 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
22381 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
22382 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
22383 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
22384 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
22385 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
22386 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
22387 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
22388 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
22389 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
22390 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
22391 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
22392 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
22393 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
22394 Require >= 2.
22395 (FLT_ROUNDS): Expect as macro, not constant.
22396 (FLT_MANT_DIG): Use macro-int-constant.
22397 (DBL_MANT_DIG): Likewise.
22398 (LDBL_MANT_DIG): Likewise.
22399 (FLT_DIG): Likewise.
22400 (DBL_DIG): Likewise.
22401 (LDBL_DIG): Likewise.
22402 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
22403 (DBL_MIN_EXP): Likewise.
22404 (LDBL_MIN_EXP): Likewise.
22405 (FLT_MAX_EXP): Use macro-int-constant.
22406 (DBL_MAX_EXP): Likewise.
22407 (LDBL_MAX_EXP): Likewise.
22408 (FLT_MAX_10_EXP): Likewise.
22409 (DBL_MAX_10_EXP): Likewise.
22410 (LDBL_MAX_10_EXP): Likewise.
22411 (FLT_MAX): Use macro-constant.
22412 (DBL_MAX): Likewise.
22413 (LDBL_MAX): Likewise.
22414 (FLT_EPSILON): Use macro-constant. Give upper bound.
22415 (DBL_EPSILON): Likewise.
22416 (LDBL_EPSILON): Likewise.
22417 (FLT_MIN): Likewise.
22418 (DBL_MIN): Likewise.
22419 (LDBL_MIN): Likewise.
22420 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
22421 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
22422 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
22423 [ISO11] (FLT_HAS_SUBNORM): Likewise.
22424 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
22425 [ISO11] (DBL_DECIMAL_DIG): Likewise.
22426 [ISO11] (FLT_DECIMAL_DIG): Likewise.
22427 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
22428 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
22429 [ISO11] (FLT_TRUE_MIN): Likewise.
22430 [ISO11] (LDBL_TRUE_MIN): Likewise.
22431 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22432 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
22433 (SCHAR_MIN): Use macro-int-constant. Specify type.
22434 (SCHAR_MAX): Likewise.
22435 (UCHAR_MAX): Likewise.
22436 (CHAR_MIN): Likewise.
22437 (CHAR_MAX): Likewise.
22438 (MB_LEN_MAX): Use macro-int-constant.
22439 (SHRT_MIN): Use macro-int-constant. Specify type.
22440 (SHRT_MAX): Likewise.
22441 (USHRT_MAX): Likewise.
22442 (INT_MAX): Likewise.
22443 (INT_MIN): Use macro-int-constant. Specify type. Make upper
22444 bound negative.
22445 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
22446 bound with "U".
22447 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
22448 bound with "L".
22449 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
22450 bound negative. Suffix upper bound with "L".
22451 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
22452 bound with "UL".
22453 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
22454 Specify type.
22455 [C99-based standards] (LLONG_MAX): Likewise.
22456 [C99-based standards] (ULLONG_MAX): Likewise.
22457 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
22458 == 0.
22459 [ISO11] (max_align_t): Require type.
22460 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22461
c9140a62
JM
22462 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
22463 from $CFLAGS, without defining away __attribute__ calls.
22464 (checknamespace): Use $CFLAGS_namespace.
22465
9af0bf29
JM
22466 * conform/conformtest.pl (@keywords): Only include C99 keywords
22467 for standards based on C99 or C11.
22468
343222a2
JM
22469 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
22470 Disable tests.
22471 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
22472 UNIX98]: Likewise.
22473
661f8cf0
JM
22474 * conform/conformtest.pl: Handle "macro-int-constant" and test for
22475 usability of symbols in #if.
22476
ee74b9cb
JM
22477 * conform/conformtest.pl: If macro or constant types start
22478 "promoted:", expect the symbol to be of the following type
22479 promoted by the integer promotions.
62fde54f 22480
aafc49b3
JM
22481 * conform/conformtest.pl: Parse all "constant" and "macro" lines
22482 in one place. Also handle "macro-constant".
22483
fefdf574
JM
22484 * conform/conformtest.pl: Only accept expected macro values with
22485 "==". Parse all "macro" lines in one place.
22486 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
22487
f2d922fe
JM
22488 * conform/conformtest.pl: Handle braced types on "constant" lines
22489 instead of handling "typed-constant".
22490 * conform/data/signal.h-data: Use "constant" instead of
22491 "typed-constant".
22492
d22956c9
JM
22493 * conform/conformtest.pl: Handle "optional-" at start of lines in
22494 one place rather than duplicating several cases. Handle each
22495 format of "macro" line with initial "optional-".
22496
028e2e38
JM
22497 * conform/conformtest.pl: Only accept expected constant or
22498 optional-constant values with "==". Parse all "constant" lines in
22499 one place. Parse all "optional-constant" lines in one place.
22500 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
22501 * conform/data/fmtmsg.h-data: Likewise.
22502 * conform/data/netinet/in.h-data: Likewise.
22503 * conform/data/tar.h-data: Likewise.
22504 * conform/data/limits.h-data: Use "==" form on "constant" and
22505 "optional-constant" lines.
22506
1b8f2850
JM
22507 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
22508 Use -std=c99 for XOPEN2K.
22509 (@knownproblems): Remove.
22510 (newtoken): Don't check %isknown.
22511
a05a144b
JM
22512 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
22513 Do not expect macro.
22514 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
22515 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
22516 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
22517 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
22518 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
22519 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
22520 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
22521 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
22522 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
22523 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
22524 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
22525 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
22526 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
22527 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
22528 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
22529 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
22530 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
22531 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
22532 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
22533 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
22534 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
22535 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
22536 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
22537 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
22538 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
22539 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
22540 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
22541 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
22542 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
22543 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
22544 [XPG3] (acosh): Likewise.
22545 [XPG3] (asinh): Likewise.
22546 [XPG3] (atanh): Likewise.
22547 [XPG3] (cbrt): Likewise.
22548 [XPG3] (expm1): Likewise.
22549 [XPG3] (ilogb): Likewise.
22550 [XPG3] (log1p): Likewise.
22551 [XPG3] (logb): Likewise.
22552 [XPG3] (nextafter): Likewise.
22553 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
22554 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
22555 [XPG3] (remainder): Likewise.
22556 [XPG3] (rint): Likewise.
22557 [XPG3 || XPG4 || UNIX98] (round): Likewise.
22558 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
22559 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
22560 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
22561 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
22562 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
22563 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
22564 [UNIX98 || XOPEN2K] (scalb): Expect.
22565 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
22566 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
22567 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
22568 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
22569 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
22570 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
22571 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
22572 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
22573 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
22574 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
22575 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
22576 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
22577 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
22578 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
22579 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
22580 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
22581 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
22582 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
22583 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
22584 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
22585 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
22586 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
22587 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
22588 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
22589 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
22590 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
22591 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
22592 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
22593 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
22594 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
22595 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
22596 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
22597 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
22598 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
22599 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
22600 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
22601 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
22602 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
22603 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
22604 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
22605 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
22606 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
22607 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
22608 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
22609 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
22610 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
22611 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
22612 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
22613 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
22614 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
22615 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
22616 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
22617 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
22618 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
22619 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
22620 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
22621 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
22622 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
22623 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
22624 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
22625 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
22626 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
22627 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
22628 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
22629 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
22630 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
22631 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
22632 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
22633 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
22634 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
22635 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
22636 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
22637 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
22638 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
22639 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
22640 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
22641 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
22642 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
22643 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
22644 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
22645 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
22646 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
22647 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
22648 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
22649 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
22650 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
22651 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
22652 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
22653 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
22654 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
22655 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
22656 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
22657 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
22658 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
22659 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
22660 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
22661 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
22662 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
22663 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
22664 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
22665 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
22666 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
22667 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
22668 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
22669 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
22670 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
22671 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
22672 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
22673 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
22674 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
22675 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
22676 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
22677 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
22678 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
22679 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
22680 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
22681 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
22682 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
22683 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
22684 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
22685 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
22686 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
22687 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
22688 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
22689 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
22690 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
22691 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
22692 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
22693 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
22694 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
22695 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
22696 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
22697 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
22698 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
22699 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
22700 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
22701 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
22702
73c5ebe3
JM
22703 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
22704 _XOPEN_SOURCE_EXTENDED for XPG4.
22705
39c33b6c
JM
22706 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
22707
62fde54f
JM
22708 * Makeconfig (localtime): Remove variable.
22709 (inst_localtime-file): Likewise.
22710
0741d64c
AS
227112012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22712
22713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
22714 Update.
22715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22716 Update.
22717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
22718 Update.
22719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22720 Update.
22721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
22722 Update.
22723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
22724 Update.
22725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22726 Update.
22727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
22728 Update.
22729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22730 Update.
22731
7cb029ee
JM
227322012-05-01 Joseph Myers <joseph@codesourcery.com>
22733
22734 [BZ #2550]
22735 [BZ #2570]
22736 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
22737 comparisons to determine direction to adjust input.
22738 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22739 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
22740 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
22741 Likewise.
22742 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
22743 Likewise.
22744 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22745 Likewise.
22746 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
22747 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22748 Likewise.
22749 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22750 Likewise.
22751 * math/libm-test.inc (nexttoward_test): Add more tests.
22752
412bd966
AS
227532012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22754
22755 [BZ #14040]
22756 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
22757 in version GLIBC_2.1, not GLIBC_2.0.
22758 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
22759 Likewise.
22760
9568c0c2
JM
227612012-04-30 Joseph Myers <joseph@codesourcery.com>
22762
adfbc8ac
JM
22763 [BZ #13942]
22764 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
22765 (1 - x) * (1 + x).
22766 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22767 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
22768 * math/libm-test.inc (acos_test): Add more tests.
22769 (asin_test): Likewise.
22770 * sysdeps/i386/fpu/libm-test-ulps: Update.
22771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22772
5ba3cc69
JM
22773 [BZ #14034]
22774 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
22775 of square root.
22776 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
22777 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22778 * math/libm-test.inc (acos_test_tonearest): New function.
22779 (acos_test_towardzero): Likewise.
22780 (acos_test_downward): Likewise.
22781 (acos_test_upward): Likewise.
22782 (asin_test_tonearest): Likewise.
22783 (asin_test_towardzero): Likewise.
22784 (asin_test_downward): Likewise.
22785 (asin_test_upward): Likewise.
22786 (main): Call the new functions.
22787 * sysdeps/i386/fpu/libm-test-ulps: Update.
22788 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22789
9568c0c2
JM
22790 [BZ #13884]
22791 [BZ #13924]
22792 * math/e_exp10.c: Include <float.h>.
22793 (__ieee754_exp10): Handle underflow here rather than multiplying
22794 large negative argument by M_LN10.
22795 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
22796 of __ieee754_expf.
22797 * math/e_exp10l.c: Include <float.h>.
22798 (__ieee754_exp10l): Handle underflow here rather than multiplying
22799 large negative argument by M_LN10l.
22800 * math/libm-test.inc (exp10_test): Add another test. Do not allow
22801 spurious overflow exception on underflow.
22802
5ac3ea17
MP
228032012-04-29 Marek Polacek <polacek@redhat.com>
22804
22805 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
22806 (__fortify_function): New macro.
22807 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
22808 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
22809 __extern_always_inline.
22810 * libio/bits/stdio2.h: Likewise.
22811 * libio/bits/stdio.h: Likewise.
22812 * string/string.h: Likewise.
22813 * string/bits/string3.h: Likewise.
22814 * include/stdio.h: Likewise.
22815 * stdlib/bits/stdlib.h: Likewise.
22816 * stdlib/stdlib.h: Likewise.
22817 * rt/bits/mqueue2.h: Likewise.
22818 * rt/mqueue.h: Likewise.
22819 * posix/bits/unistd.h: Likewise.
22820 * posix/unistd.h: Likewise.
22821 * io/bits/poll2.h: Likewise.
22822 * io/bits/fcntl2.h: Likewise.
22823 * io/fcntl.h: Likewise.
22824 * io/sys/poll.h: Likewise.
22825 * misc/bits/syslog.h: Likewise.
22826 * misc/bits/syslog-ldbl.h: Likewise.
22827 * misc/sys/syslog.h: Likewise.
22828 * socket/bits/socket2.h: Likewise.
22829 * socket/sys/socket.h: Likewise.
22830 * debug/tst-chk1.c: Likewise.
22831 * wcsmbs/bits/wchar2.h: Likewise.
22832 * wcsmbs/bits/wchar-ldbl.h: Likewise.
22833 * wcsmbs/wchar.h: Likewise.
22834
ecf0ebfb
AJ
228352012-04-29 Andreas Jaeger <aj@suse.de>
22836
22837 * Makerules (tests): Remove enable-check-abi protection.
22838 (check-abi-warn): Remove.
22839 (check-abi-%): Remove check-abi-warn usage.
22840
22841 * configure.in: Remove check-abi configure option.
22842 * configure: Regenerated.
22843 * config.make.in (enable-check-abi): Remove.
22844
6d5c57fa
AS
228452012-04-28 Andreas Schwab <schwab@linux-m68k.org>
22846
24c5d07e 22847 [BZ #14033]
ded5180a
AS
22848 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
22849 double functions to double *_finite functions.
22850
7e0d315d
AS
22851 [BZ #13941]
22852 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
22853 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
22854 LDBL_MIN_EXP.
22855 * stdio-common/Makefile (tests): Add tst-sprintf3.
22856 * stdio-common/tst-sprintf3.c: New file.
22857
6d5c57fa
AS
22858 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
22859 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
22860
0749ff8b
JM
228612012-04-28 Joseph Myers <joseph@codesourcery.com>
22862
22863 * conform/conformtest.pl: Remove duplicate typed-constant
22864 handling.
22865
8dbd5d7b
DM
228662012-04-28 David S. Miller <davem@davemloft.net>
22867
22868 * Makerules (%.abilist): Add vpath on sysdep_dirs.
22869 (check-abi-%): Remove AWK script prerequisite and explicit
22870 abilist directory.
22871 (check-abi): Rewrite to just diff the symlist with the abilist.
22872 (config-tls, config-abi-config): Delete, no longer used.
22873 (update-abi-%): Remove AWK script and explicit abilist directory.
22874 (update-abi): Rewrite to simply compare and conditionally copy the
22875 symlist and the sysdep abilist file. Remove update-abi-config
22876 checks.
22877 * abilist/ld.abilist: Remove.
22878 * abilist/libBrokenLocale.abilist: Remove.
22879 * abilist/libanl.abilist: Remove.
22880 * abilist/libcrypt.abilist: Remove.
22881 * abilist/libdl.abilist: Remove.
22882 * abilist/librt.abilist: Remove.
22883 * abilist/libthread_db.abilist: Remove.
22884 * abilist/libutil.abilist: Remove.
22885 * scripts/extract-abilist.awk: Remove.
22886 * scripts/merge-abilist.awk: Remove.
22887 * sysdeps/generic/libcidn.abilist: New file.
22888 * sysdeps/generic/libnss_compat.abilist: New file.
22889 * sysdeps/generic/libnss_db.abilist: New file.
22890 * sysdeps/generic/libnss_dns.abilist: New file.
22891 * sysdeps/generic/libnss_files.abilist: New file.
22892 * sysdeps/generic/libnss_hesiod.abilist: New file.
22893 * sysdeps/generic/libnss_nis.abilist: New file.
22894 * sysdeps/generic/libnss_nisplus.abilist: New file.
22895 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
22896 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
22897 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
22898 file.
22899 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
22900 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
22901 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
22902 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
22903 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
22904 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
22905 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
22906 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
22907 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
22908 file.
22909 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
22910 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
22911 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
22912 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
22913 file.
22914 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
22915 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
22916 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
22917 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
22918 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
22919 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
22920 file.
22921 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
22922 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
22923 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
22924 file.
22925 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
22926 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
22927 New file.
22928 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
22929 New file.
22930 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
22931 New file.
22932 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
22933 New file.
22934 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
22935 New file.
22936 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
22937 New file.
22938 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
22939 New file.
22940 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
22941 New file.
22942 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
22943 New file.
22944 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
22945 New file.
22946 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
22947 New file.
22948 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
22949 New file.
22950 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
22951 New file.
22952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
22953 file.
22954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
22955 New file.
22956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
22957 New file.
22958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
22959 file.
22960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
22961 New file.
22962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
22963 New file.
22964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
22965 file.
22966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
22967 New file.
22968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22969 New file.
22970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
22971 New file.
22972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
22973 New file.
22974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
22975 New file.
22976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
22977 New file.
22978 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
22979 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
22980 file.
22981 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
22982 New file.
22983 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
22984 file.
22985 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
22986 file.
22987 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
22988 file.
22989 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
22990 file.
22991 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
22992 file.
22993 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22994 New file.
22995 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
22996 file.
22997 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
22998 file.
22999 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
23000 New file.
23001 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
23002 file.
23003 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
23004 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
23005 file.
23006 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
23007 New file.
23008 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
23009 file.
23010 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
23011 file.
23012 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
23013 file.
23014 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
23015 file.
23016 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
23017 file.
23018 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23019 New file.
23020 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
23021 file.
23022 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
23023 file.
23024 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
23025 New file.
23026 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
23027 file.
23028 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
23029 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
23030 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
23031 file.
23032 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
23033 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
23034 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
23035 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
23036 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
23037 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
23038 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
23039 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
23040 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
23041 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
23042 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
23043 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
23044 file.
23045 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
23046 New file.
23047 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
23048 file.
23049 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
23050 file.
23051 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
23052 file.
23053 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
23054 file.
23055 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
23056 file.
23057 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23058 New file.
23059 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
23060 New file.
23061 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
23062 file.
23063 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
23064 New file.
23065 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
23066 file.
23067 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
23068 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
23069 file.
23070 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
23071 New file.
23072 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
23073 file.
23074 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
23075 file.
23076 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
23077 file.
23078 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
23079 file.
23080 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
23081 file.
23082 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23083 New file.
23084 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
23085 New file.
23086 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
23087 file.
23088 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
23089 New file.
23090 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
23091 file.
23092
41d73a1b
JM
230932012-04-28 Joseph Myers <joseph@codesourcery.com>
23094
23095 * conform/conformtest.pl: Fix typo in handling typed-constant from
23096 allow-header.
23097
28aeeda4
JM
230982012-04-27 Joseph Myers <joseph@codesourcery.com>
23099
adae8f5e
JM
23100 * README: Cut down references to pre-2.6 Linux kernels and
23101 Linuxthreads. Update lists of configurations in libc and ports
23102 and sort alphabetically. Say "or newer" with Linux kernel version
23103 requirements.
23104
28aeeda4
JM
23105 * config.h.in [IS_IN_build]: Allow compiling without optimization.
23106
a462cb63
RA
231072012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23108
23109 [BZ #887]
23110 * math/libm-test.inc (logb_test_downward): New test to expose
23111 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
23112 rounding mode.
23113
6ad3493e
JM
231142012-04-27 Joseph Myers <joseph@codesourcery.com>
23115
23116 [BZ #14027]
23117 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
23118 to be done.
23119 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
23120 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
23121
2ce4f015
JM
231222012-04-26 Joseph Myers <joseph@codesourcery.com>
23123
5aeb141a
JM
23124 * sysdeps/unix/i386/brk.S: Remove file.
23125 * sysdeps/unix/i386/dl-brk.S: Likewise.
23126 * sysdeps/unix/i386/pipe.S: Likewise.
23127 * sysdeps/unix/i386/sigreturn.S: Likewise.
23128 * sysdeps/unix/i386/syscall.S: Likewise.
23129 * sysdeps/unix/i386/vfork.S: Likewise.
23130 * sysdeps/unix/i386/wait.S: Likewise.
23131
7143acae
JM
23132 * sysdeps/unix/common/tcsendbrk.c: Move to ...
23133 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
23134
2ce4f015
JM
23135 * configure.in (arm*-none*): Do not allow without
23136 --enable-hacker-mode.
23137 (netbsd*): Remove case setting base_os.
23138 (386bsd*): Likewise.
23139 (freebsd*): Likewise.
23140 (bsdi*): Likewise.
23141 (osf*): Likewise.
23142 (sunos*): Likewise.
23143 (ultrix*): Likewise.
23144 (newsos*): Likewise.
23145 (dynix*): Likewise.
23146 (*bsd*): Likewise.
23147 (sysv*): Likewise.
23148 (isc*): Likewise.
23149 (esix*): Likewise.
23150 (sco*): Likewise.
23151 (minix*): Likewise.
23152 (irix4*): Likewise.
23153 (irix6*): Likewise.
23154 (solaris[2-9]*): Likewise.
23155 (none): Likewise.
23156 * configure: Regenerated.
23157
0ac229c8
AZ
231582012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23159
23160 [BZ #11521]
23161 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
23162 overflow or cancellation in calculating denominator.
23163 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
23164 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
23165 down expression to avoid unexpected rounding in newer GCCs.
23166 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
23167
33f244f4
DM
231682012-04-26 David S. Miller <davem@davemloft.net>
23169
23170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
23171 long-double compat symbols.
23172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
23176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23177 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
23178 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
23179 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
23180 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
23181 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
23182 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
23183 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
23184 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23185
cfa1f3e8
DM
231862012-04-25 David S. Miller <davem@davemloft.net>
23187
23188 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
23189 HWCAP_* values only after the memory barriers have been defined.
23190 (atomic_full_barrier): Define.
23191 (atomic_read_barrier): Define.
23192 (atomic_write_barrier): Define.
23193
6e236b92
SP
231942012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23195
23196 * shlib-versions: Add libgcc_s version information.
23197 * sysdeps/generic/libgcc_s.h: Remove.
23198 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
23199 libgcc_s.h.
23200 * sysdeps/gnu/unwind-resume.c: Likewise.
23201 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
23202
aab39a09
DM
232032012-04-25 David S. Miller <davem@davemloft.net>
23204
23205 * sysdeps/unix/sparc/brk.S: Delete.
23206 * sysdeps/unix/sparc/dl-brk.S: Delete.
23207 * sysdeps/unix/sparc/pipe.S: Delete.
23208 * sysdeps/unix/sparc/sysdep.S: Delete.
23209 * sysdeps/unix/sparc/sysdep.h: Delete.
23210 * sysdeps/unix/sparc/vfork.S: Delete.
23211 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
23212 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
23213 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
23214 ret_ERRVAL, r0, r1, MOVE): Define.
23215 (JUMPTARGET): Remove.
23216 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
23217 sysdeps/unix/sparc/sysdep.h
23218 (ENTRY, END): Remove.
23219 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23220
a3cc4f48
JM
232212012-04-25 Joseph Myers <joseph@codesourcery.com>
23222
2ed8cda2
JM
23223 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
23224 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
23225 -DIS_IN_build.
23226
35d76d59
JM
23227 * timezone/README: Update upstream location and email address for
23228 tzcode and tzdata.
23229 * timezone/zdump.c: Update from tzcode 2012b.
23230 * timezone/zic.c: Likewise.
23231
a3cc4f48
JM
23232 * configure.in (libc_cv_as_needed): Remove test.
23233 * configure: Regenerated.
23234 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
23235 conditional definition.
23236 [$(have-as-needed) != yes] (no-as-needed): Likewise.
23237 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
23238 * config.make.in (have-as-needed): Remove variable.
23239
ceab42c3
SP
232402012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23241 Paul Pluzhnikov <ppluzhnikov@google.com>
23242
23243 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
23244 strings correctly.
23245
3ce2865f
CLT
232462012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
23247
23248 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
23249 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
23250 * sysdeps/sh/strlen.S: Likewise.
23251
f37e0d68
JM
232522012-04-24 Joseph Myers <joseph@codesourcery.com>
23253
ae186e9a
JM
23254 * sysdeps/unix/fork.S: Remove file.
23255 * sysdeps/unix/i386/fork.S: Likewise.
23256 * sysdeps/unix/sparc/fork.S: Likewise.
23257
b96914af
JM
23258 * sysdeps/unix/system.c: Remove file.
23259 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
23260
f37e0d68
JM
23261 * sysdeps/unix/getegid.S: Remove file.
23262 * sysdeps/unix/geteuid.S: Likewise.
23263
87ef29ca
RM
232642012-04-24 Roland McGrath <roland@hack.frob.com>
23265
83bcd236
RM
23266 * scripts/check-localplt.awk: New file.
23267 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
23268 of diff.
23269 * scripts/data/localplt-generic.data: Add a comment.
23270
87ef29ca
RM
23271 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
23272 NODE when __dir_mkfile failed.
23273 * sysdeps/mach/hurd/symlinkat.c: Likewise.
23274 Reported by Ludovic Courtès <ludo@gnu.org>.
23275
e5a6e567
AJ
232762012-04-24 Andreas Jaeger <aj@suse.de>
23277
23278 * Makerules (common-clean): Also remove gen-as-const-headers
23279 files.
23280
c1820385
JM
232812012-04-24 Joseph Myers <joseph@codesourcery.com>
23282
23283 * Makerules (native-compile): Do not change working directory for
23284 build. Use $(OUTPUT_OPTION) in command.
23285 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
23286
94e02fc4
AZ
232872012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23288
23289 [BZ #13886]
23290 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
23291 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
23292 * math/libm-test.inc (floor_test): Add more tests.
23293 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
23294
3a533ca3
JM
232952012-04-24 Joseph Myers <joseph@codesourcery.com>
23296
940ab4b3
JM
23297 * sysdeps/unix/getdents.c: Remove file.
23298 * sysdeps/unix/sysv/getdents.c: Likewise.
23299 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
23300
90e037bd
JM
23301 * sysdeps/unix/syscalls.list (madvise): Add syscall from
23302 sysdeps/unix/mman/syscalls.list.
23303 (mmap): Likewise.
23304 (mprotect): Likewise.
23305 (msync): Likewise.
23306 (munmap): Likewise.
23307 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
23308 * sysdeps/unix/mman/syscalls.list: Remove.
23309 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
23310
3a533ca3
JM
23311 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
23312 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
23313 * configure: Regenerated.
23314 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
23315 $(libgcc_s_suffix).
23316 * config.make.in (libgcc_s_suffix): Remove variable.
23317
1ad743de
JM
233182012-04-23 Joseph Myers <joseph@codesourcery.com>
23319
4ad451e2
JM
23320 * sysdeps/unix/sysv/gethostname.c: Move to ...
23321 * sysdeps/posix/gethostname.c: ... here.
23322
5e37ce39
JM
23323 * sysdeps/unix/execve.S: Remove file.
23324
1ad743de
JM
23325 * sysdeps/unix/_exit.S: Remove file.
23326
4e681b5b
AJ
233272012-04-23 Andreas Jaeger <aj@suse.de>
23328
23329 [BZ #13739]
23330 * manual/Makefile: Remove make dist support, there's no
23331 need for a stand-alone documentation tar ball.
23332 (TEXI2DVI): Define always, it's not in Makeconfig.
23333 (dist): Removed.
23334 (tar-it): Removed.
23335 (edition): Removed.
23336 (glibc-doc-$(edition).tar): Removed
23337 (%.Z): Removed.
23338 (%.gz): Removed.
23339 (%.uu): Removed.
23340 (ETAGS): Remove, it's in Makeconfig.
23341 (move-if-change): Remove, it's in Makeconfig.
23342
38686a03 233432012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
23344
23345 [BZ #13970]
23346 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
23347 (strtod, strtof, strtold, strtol, strtoul, strtoq)
23348 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
23349 (strtod_l, strtof_l, strtold_l): Remove __wur.
23350 It is not necessarily an error to ignore strtol's return value.
23351 One can reliably look at the stored endptr to decide whether
23352 the number had valid syntax.
23353
7c0616fa
AJ
233542012-04-21 Andreas Jaeger <aj@suse.de>
23355
803cb6b7 23356 [BZ #13739]
7c0616fa
AJ
23357 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
23358
b0fe253f
JM
233592012-04-21 Joseph Myers <joseph@codesourcery.com>
23360
23361 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
23362 * sysdeps/unix/sysv/Versions: Remove file.
23363
8280f22d
MT
233642012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
23365
23366 [BZ #13927]
23367 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23368
75ce411f 233692012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
23370
23371 [BZ #7064]
23372 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
23373 version from __vm86.
23374
097d59fa
JM
233752012-04-20 Joseph Myers <joseph@codesourcery.com>
23376
a90f3bcb
JM
23377 * sysdeps/unix/common/lxstat.c: Remove file.
23378 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
23379
edc7ea78
JM
23380 * sysdeps/unix/sysv/Makefile: Remove file.
23381
cb78c221
JM
23382 * sysdeps/unix/sysv/direct.h: Remove file.
23383
efa6a45f
JM
23384 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
23385 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
23386 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
23387 * sysdeps/unix/sysv/bits/signum.h: Likewise.
23388 * sysdeps/unix/sysv/bits/stat.h: Likewise.
23389 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
23390 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
23391
9c9f2d0c
JM
23392 * sysdeps/unix/sysv/setrlimit.c: Remove file.
23393
4541c83b
JM
23394 * sysdeps/unix/xmknod.c: Remove file.
23395 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
23396
f5d153a0
JM
23397 * sysdeps/unix/sysv/settimeofday.c: Remove file.
23398
aa746595
JM
23399 * sysdeps/unix/sysv/i386/time.S: Remove file.
23400
cce5905e
JM
23401 * sysdeps/unix/fxstat.c: Remove file.
23402 * sysdeps/unix/xstat.c: Likewise.
23403 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
23404
37fa3841
JM
23405 * sysdeps/unix/sysv/sigaction.c: Remove file.
23406
ff1962a3
JM
23407 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
23408 (sysdep_headers): Remove variable.
23409 [termio.h not in sysdep_headers] (generated): Likewise.
23410 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
23411 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
23412 * sysdeps/unix/sysv/tcdrain.c: Likewise.
23413 * sysdeps/unix/sysv/tcflow.c: Likewise.
23414 * sysdeps/unix/sysv/tcflush.c: Likewise.
23415 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
23416 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
23417 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
23418 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
23419 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
23420
e7740d31
JM
23421 * sysdeps/unix/siglist.c: Remove file.
23422
ee06f18b
JM
23423 * sysdeps/unix/getppid.S: Remove file.
23424
097d59fa
JM
23425 * sysdeps/unix/mkdir.c: Remove file.
23426 * sysdeps/unix/rmdir.c: Likewise.
23427
ff3d51ec
AS
234282012-04-19 Andreas Schwab <schwab@linux-m68k.org>
23429
23430 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
23431 ERR_MAX value.
23432 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
23433 errlist-compat value.
23434
50f81fd7
DM
234352012-04-18 David S. Miller <davem@davemloft.net>
23436
23437 * sysdeps/generic/memcopy.h (reg_char): Delete.
23438 * debug/strcat_chk.c: Use char, not reg_char.
23439 * debug/strcpy_chk.c: Likewise.
23440 * debug/strncat_chk.c: Likewise.
23441 * debug/strncpy_chk.c: Likewise.
23442 * string/memchr.c: Likewise.
23443 * string/memrchr.c: Likewise.
23444 * string/rawmemchr.c: Likewise.
23445 * string/strcat.c: Likewise.
23446 * string/strchr.c: Likewise.
23447 * string/strchrnul.c: Likewise.
23448 * string/strcmp.c: Likewise.
23449 * string/strcpy.c: Likewise.
23450 * string/strncat.c: Likewise.
23451 * string/strncmp.c: Likewise.
23452 * string/strncpy.c: Likewise.
23453
8ff41c46
WS
234542012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23455
23456 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
23457 __builtin_memcopy is called when src and dest ranges are known to not
23458 overlap.
23459
6b652f46
WS
234602012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23461
23462 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
23463 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
23464 fwd_align_merge macro call.
23465 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
23466 bwd_align_merge macro call.
23467 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23468
b282631e
WS
234692012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23470
23471 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
23472 bwd_align_merge macros.
23473 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
23474 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
23475 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23476
95aa737c
DM
234772012-04-18 David S. Miller <davem@davemloft.net>
23478
23479 * sysdeps/sparc/sparc64/memcopy.h: Delete.
23480
7a99a614
AJ
234812012-04-18 Andreas Jaeger <aj@suse.de>
23482
23483 [BZ# 6794]
23484 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
23485 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
23486 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23487
23488 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
23489 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
23490 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23491
23492 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
23493 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
23494 Adjust for changed ldbl-128 files.
23495
23496 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
23497 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
23498 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23499
e5270c23
DM
235002012-04-17 David S. Miller <davem@davemloft.net>
23501
23502 * sysdeps/sparc/sparc32/memcopy.h: Delete.
23503
fb5e92c9
AS
235042012-04-17 Andreas Schwab <schwab@linux-m68k.org>
23505
23506 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
23507 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
23508 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
23509 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
23510 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23511 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
23512
76da7265
AZ
235132012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23514
23515 [BZ #6794]
23516 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
23517 * math/libm-test.inc: Add ilogb errno and exception tests.
23518 * math/w_ilogb.c: New file: ilogb wrapper.
23519 * math/w_ilogbf.c: New file: ilogbf wrapper.
23520 * math/w_ilogbl.c: New file: ilogbl wrapper.
23521 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
23522 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
23523 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
23524 exception being thrown with 0.0 as argument.
23525 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
23526 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
23527 exception being thrown with 0.0 as argument.
23528 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
23529 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23530 exception being thrown with 0.0 as argument.
23531 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
23532 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23533 exception being thrown with 0.0 as argument.
23534 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
23535 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 23536 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
23537 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
23538 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
23539 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
23540 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
23541 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
23542 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
23543
0396e69d
PB
235442012-04-17 Petr Baudis <pasky@ucw.cz>
23545
23546 * include/sys/uio.h: Change __vector to __iovec to avoid clash
23547 with altivec.
23548
750b5926
MP
235492012-04-16 Marek Polacek <polacek@redhat.com>
23550
23551 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
23552
751728a1
MP
235532012-04-16 Marek Polacek <polacek@redhat.com>
23554
23555 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
23556 operands of fdivp instruction.
23557
34a27407
L
235582012-04-13 H.J. Lu <hongjiu.lu@intel.com>
23559
23560 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
23561 * elf/tst-auditmod3b.c: Likewise.
23562 * elf/tst-auditmod4b.c: Likewise.
23563 * elf/tst-auditmod5b.c: Likewise.
23564 * elf/tst-auditmod6b.c: Likewise.
23565 * elf/tst-auditmod6c.c: Likewise.
23566 * elf/tst-auditmod7b.c: Likewise.
23567 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
23568 * sysdeps/x86_64/preconfigure.in: Likewise.
23569 * sysdeps/x86_64/preconfigure: Regenerated.
23570
7e73e17d
L
235712012-04-13 H.J. Lu <hongjiu.lu@intel.com>
23572
23573 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
23574 __ILP32__.
23575
c7a6ab72
AB
235762012-04-13 Antoine Balestrat <merkil33@gmail.com>
23577
23578 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23579 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
23580
a9e8e0e0
CL
235812012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
23582
23583 [BZ #13973]
23584 * locale/iso-639.def: Fix gl language name. Spotted by
23585 Yaron Shahrabani.
23586
ec98af7d
RM
235872012-04-12 Roland McGrath <roland@hack.frob.com>
23588
23589 [BZ #2074]
23590 * libio/libio.h (__io_write_fn): Update comment.
23591
247c3ede
PB
235922012-04-12 Petr Baudis <pasky@ucw.cz>
23593
23594 [BZ #2074]
23595 * stdio.texi (Hook Functions): The user provided writer function
23596 is not allowed to return -1.
23597
55939d6d
DM
235982012-04-11 David S. Miller <davem@davemloft.net>
23599
23600 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23601
90020f5a
MF
236022012-04-11 Mike Frysinger <vapier@gentoo.org>
23603
23604 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
23605 Add a leading slash to rtkaio.
23606
288f9098
JM
236072012-04-11 Jim Meyering <meyering@redhat.com>
23608
90020f5a
MF
23609 [BZ #11959]
23610 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
23611 It is not necessarily an error to ignore fwrite's return
23612 value. One can reliably use ferror to test for errors after
23613 the fact.
288f9098 23614
4be2b570
L
236152012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23616
23617 * bits/types.h (__snseconds_t): New type.
23618 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
23619
23620 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
23621 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23622 (__SNSECONDS_T_TYPE): Likewise.
23623 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23624 (__SNSECONDS_T_TYPE): Likewise.
23625 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23626 (__SNSECONDS_T_TYPE): Likewise.
23627
288f9098 236282012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
23629
23630 [BZ #2636]
23631 * manual/time.texi (Processor Time): Return type of times is
23632 elapsed real time since an arbitrary point in the past.
23633 (CPU Time): Move CLK_TCK from here...
23634 (Processor Time): ...to here. Correct description.
23635 * manual/conf.texi (Constants for Sysconf): Correct description of
23636 _SC_CLK_TCK.
23637
d7dd4413
DM
236382012-04-10 David S. Miller <davem@davemloft.net>
23639
23640 [BZ #13967]
23641 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
23642 where the is a gap between DT_REL(A) and DT_JMPREL.
23643
b46068fc
L
236442012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23645
23646 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
23647 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23648 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23649
73d65cc3
SP
236502012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23651
23652 * elf/dl-support.c (_dl_inhibit_cache): New variable.
23653 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
23654 (dl_main): Handle --inhibit-cache.
23655 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
23656 _dl_inhibit_cache.
23657 * elf/dl-load.c (_dl_map_object): Use it.
23658 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
23659
bcc8d661
JM
236602012-04-09 Joseph Myers <joseph@codesourcery.com>
23661
8f9a2fae
JM
23662 [BZ #13872]
23663 * sysdeps/i386/fpu/e_powl.S (p78): New object.
23664 (__ieee754_powl): Saturate large exponents rather than testing for
23665 overflow of y*log2(x).
23666 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23667 * math/libm-test.inc (pow_test): Do not permit spurious overflow
23668 exceptions.
23669
bcc8d661
JM
23670 [BZ #11521]
23671 * math/s_ctan.c: Include <float.h>.
23672 (__ctan): Avoid internal overflow or cancellation in calculating
23673 denominator.
23674 * math/s_ctanf.c: Likewise.
23675 * math/s_ctanl.c: Likewise.
23676 * math/s_ctanh.c: Likewise.
23677 * math/s_ctanhf.c: Likewise.
23678 * math/s_ctanhl.c: Likewise.
23679 * math/libm-test.inc (ctan_test): Add more tests.
23680 (ctanh_test): Likewise.
23681 * sysdeps/i386/fpu/libm-test-ulps: Update.
23682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23683
823fbbb4
AJ
236842012-04-09 Andreas Jaeger <aj@suse.de>
23685
03879793
AJ
23686 [BZ #6894]
23687 * manual/filesys.texi (Directory Entries): Mention that d_namlen
23688 is an optional BSD extension.
23689
823fbbb4
AJ
23690 [BZ #10254]
23691 * manual/stdio.texi (Opening Streams): Document additional fopen
23692 parameters.
23693
8de131cb
RM
236942012-04-09 Roland McGrath <roland@hack.frob.com>
23695
23696 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
23697 %eax without telling the compiler.
23698
c0ed9d7d
CD
236992012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
23700
23701 [BZ # 13963]
23702 * manual/install.texi: Use sourceware.org.
23703
c483f6b4
JM
237042012-04-09 Joseph Myers <joseph@codesourcery.com>
23705
d7dd9453
JM
23706 [BZ #13873]
23707 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
23708 (__ieee754_pow): Generate overflow and underflow using huge*huge
23709 and tiny*tiny rather than just returning constant infinity or zero
23710 for large exponents.
23711 * math/libm-test.inc (pow_test): Require overflow exceptions for
23712 applicable cases of large exponents.
23713
c483f6b4
JM
23714 [BZ #706]
23715 * sysdeps/i386/fpu/e_pow.S (p10): New object.
23716 (__ieee754_pow): Use iterative multiplication algorithm only for
23717 integer exponents with absolute value below 1024. Check for odd
23718 integer exponents when using algorithm for real exponents.
23719 * math/libm-test.inc (pow_test): Add more tests.
23720 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23721
d2de7579
JM
237222012-04-08 Joseph Myers <joseph@codesourcery.com>
23723
23724 [BZ #13705]
23725 * math/libm-test.inc (exp_test): Do not allow overflow exception
23726 on underflow test.
23727
f77f1232
AJ
237282012-04-08 Aurelien Jarno <aurelien@aurel32.net>
23729
23730 [BZ #13705]
23731 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
23732 instead of __kernel_standard_f.
23733
3884932b
MF
237342012-04-08 Mike Frysinger <vapier@gentoo.org>
23735
23736 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
23737 * sysdeps/x86_64/memset_chk.S: Likewise.
23738
54472e9c
AJ
237392012-04-08 Andreas Jaeger <aj@suse.de>
23740
6ab0fbfc
AJ
23741 [BZ #10153]
23742 * manual/startup.texi (Environment Access): Describe return value
23743 for putenv and setenv.
23744
61efba8c
AJ
23745 [BZ #6895]
23746 * manual/filesys.texi (Directory Entries): Add description for
23747 DT_LNK.
23748
95c3f29a
AJ
23749 [BZ #6890]
23750 * manual/filesys.texi (Directory Entries): Clarify that it's file
23751 system not operating system in the description of DT_UNKNOWN.
23752
54472e9c
AJ
23753 [BZ #6578]
23754 * manual/syslog.texi (closelog): Fix reference, it's openlog.
23755
624254b1
SC
237562012-04-08 Stephen Compall <s11@member.fsf.org>
23757
23758 [BZ #6649]
23759 * manual/llio.texi (Opening and Closing Files): Add cross
23760 reference to explain mode argument.
23761
1e4920e0
MF
237622012-04-07 Mike Frysinger <vapier@gentoo.org>
23763
23764 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
23765 * sysdeps/x86_64/memset_chk.S: Likewise.
23766
5ed848f3
DM
237672012-04-07 David S. Miller <davem@davemloft.net>
23768
23769 * elf/elf.h (R_SPARC_WDISP10): Define.
23770 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
23771 R_SPARC_SIZE32.
23772 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
23773 R_SPARC_SIZE64 and R_SPARC_H34.
23774
96154cd8
CD
237752012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
23776
23777 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
23778 conditions and remove no longer applicable assertion.
23779
9904dc47
L
237802012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23781
23782 * bits/byteswap.h: Include <features.h>.
23783 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23784 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23785
f8887d0a
L
237862012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23787
23788 * bits/byteswap.h (__bswap_16): Removed.
23789 Include <bits/byteswap-16.h> to get __bswap_16.
23790 * sysdeps/i386/bits/byteswap.h: Likewise.
23791 * sysdeps/s390/bits/byteswap.h: Likewise.
23792 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23793 * bits/byteswap-16.h: New file.
23794 * sysdeps/i386/bits/byteswap-16.h: Likewise.
23795 * sysdeps/s390/bits/byteswap-16.h: Likewise.
23796 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
23797 * string/Makefile (headers): Add bits/byteswap-16.h.
23798
62470f60
PP
237992012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23800
23801 [BZ #13895]
23802 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
23803 extra indirection.
23804 * nss/Makefile (tests-static, tests): Add tst-nss-static.
23805 * nss/tst-nss-static.c: New.
23806
4dad7bab
RM
238072012-04-06 Robert Millan <rmh@gnu.org>
23808
23809 [BZ #6486]
23810 * manual/llio.texi (File Position Primitive): lseek
23811 refers to WHENCE when it really means OFFSET.
23812
e9142a17
AJ
238132012-04-06 Andreas Jaeger <aj@suse.de>
23814
2c040eff
AJ
23815 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
23816 strncmp declarations.
23817
e9142a17
AJ
23818 * abilist/libc.abilist: Add __poll and __ppoll.
23819
ff9f1c5f
DM
238202012-04-05 David S. Miller <davem@davemloft.net>
23821
dcd2ae90
DM
23822 * scripts/check-local-headers.sh: Accept a host triplet in the
23823 path matched by the exclude regexp.
23824
993eb054
DM
23825 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
23826 definition.
23827 * sysdeps/powerpc/powerpc32/dl-machine.h
23828 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
23829 * sysdeps/s390/s390-32/dl-machine.h
23830 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23831 * sysdeps/sparc/sparc32/dl-machine.h
23832 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23833 * sysdeps/sparc/sparc64/dl-machine.h
23834 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23835
ff9f1c5f
DM
23836 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
23837 lazy binding.
48e2e132 23838 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
23839 undefined symbol errors.
23840
48e2e132 23841 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
23842 DT_NEEDED entries.
23843
e80d6f94
MM
238442012-04-05 Michael Matz <matz@suse.de>
23845
23846 [BZ #13592]
23847 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
23848
349fa79f
AJ
238492012-04-05 Andreas Jaeger <aj@suse.de>
23850
23851 [BZ #13908]
23852 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
23853 comment.
23854
f402708f
KK
238552012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23856
23857 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
23858 which ROUND is no valid rounding mode.
23859
2ecccfc9
KK
238602012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23861
23862 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
23863 read again.
23864 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
23865
8a53f50f
KK
238662012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23867
23868 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
23869 an exception using FPU order intentionally.
23870
238712012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23872
23873 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
23874 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
23875 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
23876 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
23877
d653abb7
SJ
238782012-04-05 Simon Josefsson <simon@josefsson.org>
23879
23880 [BZ #12340]
23881 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
23882 EINVAL when BUFLEN is too smal.
23883
c3b1bf7d
TS
238842012-04-05 Thomas Schwinge <thomas@codesourcery.com>
23885
23886 [BZ #13553]
23887 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
23888 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
23889
b1aa60f3
AJ
238902012-04-03 Andreas Jaeger <aj@suse.de>
23891
c3b1bf7d 23892 [BZ #13938]
67f60a26
AJ
23893 * manual/setjmp.texi (System V contexts): Fix sentence.
23894
b1aa60f3
AJ
23895 [BZ #13926]
23896 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
23897 New macro for this case.
23898 [!__GNUC__] (__bswap_64): New inline function for this case.
23899 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23900 * bits/byteswap.h: Likewise.
23901 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
23902 ull, guard with __GLIBC_HAVE_LONG_LONG.
23903
23904 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
23905 __GLIBC_HAVE_LONG_LONG.
23906
23907 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
23908 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
23909
39c59c35
TMQMF
239102012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23911
23912 [BZ #13691]
23913 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
23914 inptr and inend, rather than using last_ch.
23915
135ffda8
DM
239162012-04-02 David S. Miller <davem@davemloft.net>
23917
23918 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
23919 * stdio-common/printf-parse.h (read_int): Change return type to
23920 'int', return -1 on INT_MAX overflow.
23921 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
23922 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
23923 overflows INT_MAX. Check for overflow of in-format-string precision
23924 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
23925 SIZE_MAX not INT_MAX for integer overflow test.
23926 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
23927 skip the construct in the format string but do not record anything.
23928 * stdio-common/bug22.c: Adjust to test both width/prevision
23929 INT_MAX overflow as well as total length INT_MAX overflow. Check
23930 explicitly for proper errno values.
23931
228c019e
TS
239322012-04-02 Thomas Schwinge <thomas@codesourcery.com>
23933
302cadd3
TS
23934 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
23935 CHAR_MAX.
23936 * string/test-strcmp.c [! WIDE]: Likewise.
23937 * time/tst-mktime2.c: Likewise for INT_MAX.
23938 * string/test-string.h: #include <sys/param.h> for MIN.
23939
228c019e
TS
23940 * csu/init-first.c (__libc_init_first): Call __ctype_init.
23941 * sysdeps/i386/init-first.c (init): Likewise.
23942 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
23943 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
23944 * sysdeps/sh/init-first.c (init): Likewise.
23945
cfa633f5
UD
239462012-04-01 Ulrich Drepper <drepper@gmail.com>
23947
23948 * po/ru.po: Update from translation team.
d1635ef8 23949 * po/vi.po: Likewise.
cfa633f5 23950
6cd0a5ea
SP
239512012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23952
23953 * resolv/nss_dns/dns-host.c: Merge copyright years.
23954
4b43400f
LD
239552012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23956
23957 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
23958 Optimize memcpy with prefetch if
23959 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
23960 src, dst pointers have unequal 16 byte alignments.
23961
48c41d04
SP
239622012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23963
23964 [BZ #13928]
23965 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
23966 from a CNAME entry and return the minimum ttl for the query.
23967 (gaih_getanswer_slice): Likewise.
23968
b8dc394d
JL
239692012-03-30 Jeff Law <law@redhat.com>
23970
23971 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
23972 due to long keys.
23973 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
23974 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
23975
2f5a5ed0
JL
23976 * resolv/nss_dns/dns-host.c: Update copyright year.
23977
1d39e359
UD
239782012-03-30 Ulrich Drepper <drepper@gmail.com>
23979
c030f70c 23980 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 23981 requests to save a system call. Fix check that all bytes are sent.
c030f70c 23982
1d39e359
UD
23983 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
23984 comments for sendmmsg.
23985
239862012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
23987
23988 [BZ #13691]
23989 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
23990 with only 1 character between 0x0041 and 0x01b0.
23991 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
23992 * wcsmbs/tst-mbsnrtowcs.c: New file.
23993
20fde227
DM
239942012-03-29 David S. Miller <davem@davemloft.net>
23995
23996 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
23997 small copies by hand.
23998
984a4237
JL
239992012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24000
24001 [BZ #13761]
24002 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
24003 _nss_compat_initgroups_dyn): Fall back to malloc/free
24004 for large group memberships.
24005
18c9d62b
DM
240062012-03-28 David S. Miller <davem@davemloft.net>
24007
88d85d4f
DM
24008 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
24009 that branches into memcpy.
24010 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24011 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
24012 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24013 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
24014 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
24015 bits.
24016 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
24017 implementation too.
24018 * sysdeps/sparc/mempcpy.S: New file.
24019
e5aa83e1
DM
24020 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
24021 the IFUNC routine in the libc case.
24022 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
24023
88570753
DM
24024 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
24025 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
24026 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
24027 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
24028 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
24029 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
24030 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
24031 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
24032
249d7567
DM
24033 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
24034 loop to 256 bytes instead of 64 bytes and fix test signedness.
24035
18c9d62b
DM
24036 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
24037 * sysdeps/sparc/sparc32/Makefile: rather than here...
24038 * sysdeps/sparc/sparc64/Makefile: and here.
24039
05f3d1f6
UD
240402012-03-28 Ulrich Drepper <drepper@gmail.com>
24041
24042 * malloc/mallocbug.c: Avoid warnings about unused variables.
24043
86ae07a8
JL
240442012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24045
24046 [BZ #13760]
24047 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
24048 in the right place. Discard and retry query if response is
24049 larger than input buffer size.
24050
41bf21a1
JM
240512012-03-28 Joseph Myers <joseph@codesourcery.com>
24052
d6270972
JM
24053 [BZ #369]
24054 [BZ #2678]
24055 [BZ #3866]
24056 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
24057 x for large integer exponent.
24058 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
24059 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
24060 sign of result as needed afterwards.
24061 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
24062 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
24063 result for underflowing pow the same as for overflow.
24064 (__kernel_standard_l): Handle powl overflow and underflow here
24065 rather than calling __kernel_standard.
24066 * math/libm-test.inc (pow_test): Add more tests.
24067
414fca03 24068 [BZ #3868]
41bf21a1
JM
24069 [BZ #13879]
24070 [BZ #13910]
24071 [BZ #13911]
24072 [BZ #13912]
24073 [BZ #13913]
24074 [BZ #13915]
24075 [BZ #13916]
24076 [BZ #13917]
24077 [BZ #13918]
24078 [BZ #13919]
24079 [BZ #13920]
24080 [BZ #13921]
24081 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
24082 * sysdeps/ieee754/k_standard.c: Include <float.h>.
24083 (__kernel_standard_l): New function.
24084 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
24085 __kernel_standard.
24086 * math/w_acosl.c (__acosl): Likewise.
24087 * math/w_asinl.c (__asinl): Likewise.
24088 * math/w_atan2l.c (__atan2l): Likewise.
24089 * math/w_atanhl.c (__atanhl): Likewise.
24090 * math/w_coshl.c (__coshl): Likewise.
24091 * math/w_exp10l.c (__exp10l): Likewise.
24092 * math/w_exp2l.c (__exp2l): Likewise.
24093 * math/w_fmodl.c (__fmodl): Likewise.
24094 * math/w_hypotl.c (__hypotl): Likewise.
24095 * math/w_j0l.c (__j0l, __y0l): Likewise.
24096 * math/w_j1l.c (__j1l, __y1l): Likewise.
24097 * math/w_jnl.c (__jnl, __ynl): Likewise.
24098 * math/w_lgammal.c (__lgammal): Likewise.
24099 * math/w_log10l.c (__log10l): Likewise.
24100 * math/w_log2l.c (__log2l): Likewise.
24101 * math/w_logl.c (__logl): Likewise.
24102 * math/w_powl.c (__powl): Likewise.
24103 * math/w_remainderl.c (__remainderl): Likewise.
24104 * math/w_scalbl.c (sysv_scalbl): Likewise.
24105 * math/w_sinhl.c (__sinhl): Likewise.
24106 * math/w_sqrtl.c (__sqrtl): Likewise.
24107 * math/w_tgammal.c (__tgammal): Likewise.
24108 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
24109 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
24110 * math/libm-test.inc (acos_test): Add more tests.
24111 (acosh_test): Likewise.
24112 (asin_test): Likewise.
24113 (atanh_test): Likewise.
24114 (exp_test): Likewise.
24115 (exp10_test): Likewise.
24116 (exp2_test): Likewise.
24117 (expm1_test): Likewise.
24118 (lgamma_test): Likewise.
24119 (log_test): Likewise.
24120 (log10_test): Likewise.
24121 (log1p_test): Likewise.
24122 (log2_test): Likewise.
24123 (pow_test): Do not allow some spurious overflow exceptions.
24124 (sqrt_test): Add more tests.
24125 (tgamma_test): Likewise.
24126 (y0_test): Likewise.
24127 (y1_test): Likewise.
24128 (yn_test): Likewise.
24129
dd62fda6
AB
241302012-03-27 Anton Blanchard <anton@samba.org>
24131
24132 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
24133 MAP_HUGETLB.
24134 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24135 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24136 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24137
1e3cdfda
AJ
241382012-03-27 David S. Miller <davem@davemloft.net>
24139
b855ab85
DM
24140 * conform/Makefile: Run run-conformtest.sh using $(BASH).
24141
1e3cdfda
AJ
24142 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
24143 have-as-vis3 check.
24144
241452012-03-27 Andreas Jaeger <aj@suse.de>
24146
24147 * sysdeps/x86_64/elf/configure.in: Moved to ...
24148 * sysdeps/x86_64/configure.in: ... here.
24149 * sysdeps/x86_64/elf/start.S: Moved to ...
24150 * sysdeps/x86_64/start.S: ... here.
24151 * sysdeps/x86_64/elf/configure: Delete.
24152
24153 * sysdeps/x86_64/configure.in: Merge contents from
24154 sysdeps/i386/configure.in (without i686 check).
24155
24156 * sysdeps/i386/elf/Versions: Merge into ...
24157 * sysdeps/i386/Versions: ... this.
24158 * sysdeps/i386/elf/Versions: Delete file.
24159 * sysdeps/i386/elf/start.S: Moved to ...
24160 * sysdeps/i386/start.S: ...here.
24161 * sysdeps/i386/elf/configure.in: Merge into...
24162 * sysdeps/i386/configure.in: ...here.
24163 * sysdeps/i386/elf/configure.in: Delete file.
24164 * sysdeps/i386/elf/configure: Delete file.
24165
24166 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
24167 * debug/backtracesyms.c: ... here.
24168 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
24169 * debug/backtracesymsfd.c: ... here.
24170 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
24171 * sysdeps/generic/ifunc-sel.h: ... here.
24172
24173 * sysdeps/unix/i386/start.c: Delete file.
24174 * sysdeps/unix/sparc/start.c: Delete file.
24175 * sysdeps/unix/start.c: Delete file.
24176
24177 * sysdeps/sh/elf/configure.in: Moved to ...
24178 * sysdeps/sh/configure.in: ... here.
24179 * sysdeps/sh/elf/start.S: Moved to ...
24180 * sysdeps/sh/start.S: ... here.
24181 * sysdeps/sh/elf/configure: Delete file.
24182
24183 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
24184 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
24185 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
24186 * sysdeps/powerpc/powerpc64/entry.h: ... here.
24187 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
24188 * sysdeps/powerpc/powerpc64/start.S: here.
24189 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
24190 * sysdeps/powerpc/powerpc64/Makefile: ... this.
24191 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
24192 * sysdeps/powerpc/powerpc64/configure.in: ... this.
24193 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
24194
24195 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
24196 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
24197 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
24198 * sysdeps/powerpc/powerpc32/start.S: ... here.
24199 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
24200 * sysdeps/powerpc/powerpc32/configure.in: ... this.
24201 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
24202
24203 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
24204 * sysdeps/powerpc/ifunc-sel.h: ... here.
24205 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
24206 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
24207
24208 * sysdeps/sparc/elf/configure.in: Moved to ...
24209 * sysdeps/sparc/configure.in: ... here.
24210 * sysdeps/sparc/elf/configure: Delete file.
24211 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
24212 * sysdeps/sparc/sparc32/start.S: ... here.
24213 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
24214 * sysdeps/sparc/sparc64/start.S: ... here.
24215 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
24216 * sysdeps/sparc/sparc32/Makefile: ... this.
24217 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
24218 * sysdeps/sparc/sparc64/Makefile: ... this.
24219
24220 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
24221 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
24222 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
24223 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
24224 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
24225 * sysdeps/s390/s390-32/setjmp.S: ... here.
24226 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
24227 * sysdeps/s390/s390-32/configure.in: ... here.
24228 * sysdeps/s390/s390-32/elf/configure: Delete file.
24229 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
24230 * sysdeps/s390/s390-32/start.S: ... here.
24231
24232 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
24233 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
24234 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
24235 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
24236 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
24237 * sysdeps/s390/s390-64/setjmp.S: ... here.
24238 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
24239 * sysdeps/s390/s390-64/configure.in: ... here
24240 * sysdeps/s390/s390-64/elf/configure: Delete file.
24241 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
24242 * sysdeps/s390/s390-64/start.S: ... here.
24243 * sysdeps/s390/s390-64/elf/configure: Delete.
24244
24245 * configure.in: Remove support for elf directories in sysdeps.
24246
24247 * configure: Regenerated.
24248 * sysdeps/i386/configure: Regenerated.
24249 * sysdeps/powerpc/powerpc32/configure: Regenerated.
24250 * sysdeps/powerpc/powerpc64/configure: Regenerated.
24251 * sysdeps/s390/s390-32/configure: Regenerated.
24252 * sysdeps/s390/s390-64/configure: Regenerated.
24253 * sysdeps/sh/configure: Regenerated.
24254 * sysdeps/sparc/configure: Regenerated.
24255 * sysdeps/x86_64/configure: Regenerated.
24256
a3f61311
AS
242572012-03-26 Andreas Schwab <schwab@linux-m68k.org>
24258
c876e002
AS
24259 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24260
a3f61311
AS
24261 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
24262 denormal result into account.
24263
ac4c54f0
RM
242642012-03-25 Roland McGrath <roland@hack.frob.com>
24265
24266 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
24267 Reported by Allan McRae <allan@archlinux.org>.
24268
6a9b9c02
JL
242692012-03-23 Jeff Law <law@redhat.com>
24270
24271 * nss/getnssent.c (__nss_getent): Fix typo.
24272
4c42a0c1
DM
242732012-03-23 David S. Miller <davem@davemloft.net>
24274
24275 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24276
1532c7ac
L
242772012-03-23 H.J. Lu <hongjiu.lu@intel.com>
24278
24279 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
24280 to pad to uint64_t for each field.
24281 (dl_tls_index): Replace unsigned long with uint64_t.
24282
3ff42526
PP
242832012-03-23 Daniel Jacobowitz <dmj@google.com>
24284 Paul Pluzhnikov <ppluzhnikov@google.com>
24285
24286 [BZ #6528]
24287 * grp/Makefile (otherlibs): Don't set it.
24288 * inet/Makefile (otherlibs): Likewise.
24289 * login/Makefile (otherlibs): Likewise.
24290 * nscd/Makefile (otherlibs): Likewise.
24291 * posix/Makefile (otherlibs): Likewise.
24292 * pwd/Makefile (otherlibs): Likewise.
24293 * rt/Makefile (otherlibs): Likewise.
24294 * sunrpc/Makefile (otherlibs): Likewise.
24295 * nss/Makefile (otherlibs): Likewise.
24296 Add libnss_files to routines and static-only-routines.
24297 ($(objpfx)getent): Remove rule.
24298 * resolv/Makefile: Add libnss_dns and libresolv to routines and
24299 static-only-routines.
24300
7c69cd14
JM
243012012-03-22 Joseph Myers <joseph@codesourcery.com>
24302
24303 [BZ #13892]
24304 * math/s_cexp.c: Include <float.h>.
24305 (__cexp): Handle exp result overflowing not necessarily
24306 overflowing both real and imaginary parts of result.
24307 * math/s_cexpf.c: Likewise.
24308 * math/s_cexpl.c: Likewise.
24309 * math/libm-test.inc (cexp_test): Add more tests.
24310 * sysdeps/i386/fpu/libm-test-ulps: Update.
24311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24312
81b035fe
L
243132012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24314
24315 * include/link.h (ELFW): New macro.
24316 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
24317 Replace ELF64_R_TYPE with ELFW(R_TYPE).
24318
1da7940c
L
243192012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24320
24321 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
24322 with uint64_t.
24323
b749dbb9
L
243242012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24325
24326 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
24327 declaration.
24328 (struct La_x32_retval): Likewise.
24329
2ff87f3f
L
243302012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24331
24332 * sysdeps/x86_64/preconfigure.in: New file.
24333 * sysdeps/x86_64/preconfigure: New generated file.
24334
c0df8e69
JM
243352012-03-22 Joseph Myers <joseph@codesourcery.com>
24336
48e44791
JM
24337 [BZ #13824]
24338 * math/e_exp2l.c: Include <float.h>.
24339 (__ieee754_exp2l): Handle overflow and underflow cases
24340 separately. Only pass fractional part of argument to
24341 __ieee754_expl.
24342 * math/libm-test.inc (exp2_test): Add more tests.
24343
c0df8e69
JM
24344 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
24345 negating x to take absolute value.
24346 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
24347 Likewise.
24348 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24349 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
24350 Likewise.
24351 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
24352 computing low part if x was negated.
24353 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24354
c8e43ba7
L
243552012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24356
24357 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
24358 la_x32_gnu_pltexit.
24359 (pltexit): Cast int_retval to ptrdiff_t.
24360 * elf/tst-auditmod3b.c: Likewise.
24361 * elf/tst-auditmod4b.c: Likewise.
24362 * elf/tst-auditmod5b.c: Likewise.
24363 * elf/tst-auditmod6b.c: Likewise.
24364 * elf/tst-auditmod6c.c: Likewise.
24365 * elf/tst-auditmod7b.c: Likewise.
24366
24367 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
24368 and x32_gnu_pltexit.
24369
24370 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
24371 __ELF_NATIVE_CLASS.
24372 (La_x32_regs): New macro.
24373 (La_x32_retval): Likewise.
24374 (la_x32_gnu_pltenter): New function prototype.
24375 (la_x32_gnu_pltexit): Likewise.
24376
7998fa78
AS
243772012-03-21 Andreas Schwab <schwab@linux-m68k.org>
24378
dcb33988
AS
24379 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
24380 exponent.
24381
233fc563
AS
24382 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24383
7998fa78
AS
24384 * configure.in (libc_cv_cc_nofma): Check for option to disable
24385 generation of FMA instructions.
24386 * configure: Regenerate.
24387 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
24388 * sysdeps/ieee754/dbl-64/Makefile: New file.
24389 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24390 Remove brandred-fma4.
24391 (CFLAGS-brandred-fma4.c): Remove.
24392 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
24393 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
24394 define.
24395 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
24396 define.
24397
8e95c99a
L
243982012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24399
24400 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24401 LLONG_MAX != LONG_MAX.
24402 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24403 (_fitoa_word): Likewise.
24404 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
24405 LLONG_MAX != LONG_MAX.
24406 * stdio-common/_itowa.h: Include <_itoa.h>.
24407 (_itowa_word): Use _ITOA_WORD_TYPE on value.
24408 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
24409 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
24410 only if not defined.
24411 (_ITOA_WORD_TYPE): Likewise.
24412 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24413 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
24414
6f4db457
DM
244152012-03-21 David S. Miller <davem@davemloft.net>
24416
24417 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24418
7785fe5a
L
244192012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24420
24421 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
24422 of x86_64 when setting libc_cv_slibdir, libdir and
24423 libc_cv_localedir.
24424 * sysdeps/unix/sysv/linux/configure: Regenerated.
24425
4535cd55
JM
244262012-03-21 Joseph Myers <joseph@codesourcery.com>
24427
24428 * manual/lang.texi (Old Varargs): Remove section.
24429 (How Variadic): Update menu.
24430 (va_start): Do not mention varargs.h.
24431
17228132
TS
244322012-03-21 Thomas Schwinge <thomas@codesourcery.com>
24433 Joseph Myers <joseph@codesourcery.com>
24434
24435 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
24436 link test.
24437 * configure: Regenerated.
24438
8149f976
TS
244392012-03-21 Thomas Schwinge <thomas@codesourcery.com>
24440
05f3d1f6
UD
24441 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
24442 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
24443 conformtest.pl
8149f976 24444
1a4ac776
JM
244452012-03-21 Joseph Myers <joseph@codesourcery.com>
24446
be22ce65
JM
24447 * NOTES: Remove.
24448 * Makefile (files-for-dist): Remove NOTES.
24449 (NOTES): Remove rule.
24450 * README: Don't refer to NOTES.
24451 * manual/creature.texi: Don't include macros.texi.
24452 * manual/intro.texi (creature.texi): Remove comment referring to
24453 NOTES.
24454
40b601fb
JM
24455 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
24456 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
24457 * configure: Regenerated.
24458 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
24459 LIBC_TRY_CC_OPTION.
24460 (libc_cv_as_i686): Likewise.
24461 (libc_cv_cc_avx): Likewise.
24462 (libc_cv_cc_sse2avx): Likewise.
24463 (libc_cv_cc_fma4): Likewise.
24464 (libc_cv_cc_novzeroupper): Likewise.
24465 * sysdeps/i386/configure: Regenerated.
24466
1a4ac776
JM
24467 [BZ #13883]
24468 * sysdeps/i386/fpu/s_cexp.S: Remove.
24469 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24470 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24471 * math/libm-test.inc (cexp_test): Add more tests.
24472 * sysdeps/i386/fpu/libm-test-ulps: Update.
24473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24474
a458e7fe
AM
244752012-03-21 Allan McRae <allan@archlinux.org>
24476
24477 * timezone/Makefile: Do not install iso3166.tab and zone.tab
24478
0cb7efc5
JM
244792012-03-21 Joseph Myers <joseph@codesourcery.com>
24480
24481 [BZ #13871]
24482 * math/w_exp2.c: Do not include <float.h>.
24483 (o_threshold, u_threshold): Remove.
24484 (__exp2): Calculate result before checking finiteness and calling
24485 __kernel_standard.
24486 * math/w_exp2f.c: Likewise.
24487 * math/w_exp2l.c: Likewise.
24488 * math/libm-test.inc (exp2_test): Require overflow exception for
24489 1e6 input.
2460d3aa
JM
24490
24491 [BZ #3866]
24492 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
24493 range of signed 64-bit integers before using fistpll. Remove
24494 checks for whether integers fit in mantissa bits.
24495 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
24496 the range of signed 32-bit integers before using fistpl. Remove
24497 checks for whether integers fit in mantissa bits.
24498 * sysdeps/i386/fpu/e_powl.S (p64): New object.
24499 (__ieee754_powl): Test for y outside the range of signed 64-bit
24500 integers before using fistpll. Reduce 64-bit values to 63-bit
24501 ones as needed.
24502 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
24503 divide-by-zero is raised for zero to large negative powers.
24504 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
24505 (__ieee754_powl): Test for y outside the range of signed 64-bit
24506 integers before using fistpll. Reduce 64-bit values to 63-bit
24507 ones as needed.
24508 * math/libm-test.inc (pow_test): Add more tests.
24509
eb96ffb0
L
245102012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24511
24512 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
24513 <stdio-common/_itoa.h>.
24514 * debug/segfault.c: Likewise.
24515 * elf/dl-cache.c: Likewise.
24516 * elf/dl-minimal.c: Likewise.
24517 * elf/dl-misc.c: Likewise.
24518 * elf/dl-sysdep.c: Likewise.
24519 * elf/dl-version.c: Likewise.
24520 * elf/rtld.c: Likewise.
24521 * hurd/hurdsock.c: Likewise.
24522 * hurd/lookup-retry.c: Likewise.
24523 * malloc/malloc.c: Likewise.
24524 * malloc/mtrace.c: Likewise.
24525 * nscd/nscd_getgr_r.c: Likewise.
24526 * nscd/nscd_getpw_r.c: Likewise.
24527 * nscd/nscd_getserv_r.c: Likewise.
24528 * posix/getopt_init.c: Likewise.
24529 * posix/wordexp.c: Likewise.
24530 * stdio-common/_itoa.c: Likewise.
24531 * stdio-common/printf_fphex.c: Likewise.
24532 * stdio-common/vfprintf.c: Likewise.
24533 * string/_strerror.c: Likewise.
24534 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
24535 * sysdeps/i386/i686/hp-timing.h: Likewise.
24536 * sysdeps/mach/_strerror.c: Likewise.
24537 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
24538 * sysdeps/mach/hurd/sethostid.c: Likewise.
24539 * sysdeps/mach/hurd/xmknodat.c: Likewise.
24540 * sysdeps/mach/xpg-strerror.c: Likewise.
24541 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24542 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24543 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
24544 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
24545 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24546 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
24547 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
24548 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
24549 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
24550 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
24551 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
24552 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24553 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
24554 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24555 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24556 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
24557 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
24558 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
24559 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
24560 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
24561 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
24562
24563 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
24564
24565 * stdio-common/_itoa.h: Moved to ...
24566 * sysdeps/generic/_itoa.h: Here.
24567
24568 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
24569
24570 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
24571 instead of "_itoa.h" and "_itowa.h".
24572 * stdio-common/vfprintf.: Likewise.
24573
d1af992d
L
245742012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24575
24576 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
24577 <bits/wordsize.h>.
24578 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
24579 (__signbit): Likwise.
24580 (llrintf): Likwise.
24581 (llrint): Likwise.
24582
114883e0
L
245832012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24584
24585 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
24586 __WORDSIZE != 64.
24587
c135cc1b
JM
245882012-03-20 Joseph Myers <joseph@codesourcery.com>
24589
24590 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
24591 OVERFLOW_EXCEPTION_OK.
24592 * math/libm-test.inc ("Philosophy"): Update comment about
24593 exception testing.
24594 (OVERFLOW_EXCEPTION): Define.
24595 (OVERFLOW_EXCEPTION_OK): Likewise.
24596 (INVALID_EXCEPTION_OK): Renumber.
24597 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24598 (IGNORE_ZERO_INF_SIGN): Likewise.
24599 (test_exceptions): Handle FE_OVERFLOW.
24600 (exp10_test): Expect overflow exceptions.
24601 (exp2_test): Likewise.
24602 (expm1_test): Likewise.
24603 (nextafter_test): Likewise.
24604 (pow_test): Likewise.
24605 (scalbn_test): Likewise.
24606 (scalbln_test): Likewise.
24607
95443d88
L
246082012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24609
24610 * sysdeps/x86_64/bits/atomic.h
24611 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
24612 64bit integer.
24613 (atomic_exchange_acq): Likewise.
24614 (__arch_exchange_and_add_body): Likewise.
24615 (__arch_add_body): Likewise.
24616 (atomic_add_negative): Likewise.
24617 (atomic_add_zero): Likewise.
24618
490df6c4
L
246192012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24620
c2722551 24621 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
24622 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
24623
5e52b189
L
246242012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24625
24626 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
24627 Check __x86_64__ instead of __WORDSIZE.
24628
a9879d4c
L
246292012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24630
24631 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
24632
5df98260
DM
246332012-03-19 David S. Miller <davem@davemloft.net>
24634
e1497744
DM
24635 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24636
5df98260
DM
24637 * sysdeps/sparc/fpu/fenv_private.h: New file.
24638 * sysdeps/sparc/fpu/math_private.h: Use it.
24639 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
24640 Remove.
24641 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
24642 (libc_feholdexcept_setroundl): Remove.
24643 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
24644 Remove.
24645 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
24646 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
24647
b4c35121
L
246482012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24649
24650 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
24651 int64_t instead of long int.
24652 (INSERT_WORDS64): Likwise.
24653
56965fd7
L
246542012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24655
24656 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
24657 _Unwind_GetCFA return to _Unwind_Ptr first.
24658
83d1aec8
JM
246592012-03-19 Joseph Myers <joseph@codesourcery.com>
24660
1897ad44
JM
24661 [BZ #13629]
24662 * math/s_clog.c: Include <float.h>.
24663 (__clog): Scale large or subnormal inputs.
24664 * math/s_clogf.c: Likewise.
24665 * math/s_clogl.c: Likewise.
24666 * math/s_clog10.c: Include <float.h>.
24667 (M_LOG10_2): Define.
24668 (__clog10): Scale large or subnormal inputs.
24669 * math/s_clog10f.c: Likewise.
24670 * math/s_clog10l.c: Likewise.
24671 * math/libm-test.inc (clog_test): Add more tests.
24672 (clog10_test): Likewise.
24673 * sysdeps/i386/fpu/libm-test-ulps: Update.
24674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24675
7726d6a9
JM
24676 [BZ #11451]
24677 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
24678 x and y.
24679 * math/libm-test.inc (atan2_test): Add another test.
24680
83d1aec8
JM
24681 * Makerules (common-objdir-compile): Remove.
24682 * sysdeps/unix/Makefile (config-generated): Do not add
24683 $(unix-generated) to variable.
24684 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
24685 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
24686 Remove rule.
24687 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
24688 Likewise.
24689 [generic bits/local_lim.h] (before-compile): Do not append to
24690 variable.
24691 [generic bits/local_lim.h] (common-generated): Likewise.
24692 [generic sys/param.h] (before-compile): Do not append to variable.
24693 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
24694 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
24695 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
24696 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
24697 include.
24698 [generic sys/param.h] (sys/param.h-includes): Remove variable.
24699 [generic sys/param.h] (sys/param.h-includes): Remove rule.
24700 [generic sys/param.h] ($(addprefix
24701 $(common-objpfx),$(sys/param.h-includes))): Likewise.
24702 [generic sys/param.h] (common-generated): Do not append to
24703 variable.
24704 [generic sys/param.h] (sysdep_headers): Likewise.
24705 [generic bits/errno.h] (before-compile): Do not append to
24706 variable.
24707 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
24708 rule.
24709 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
24710 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
24711 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
24712 [generic bits/errno.h] (common-generated): Do not append to
24713 variable.
24714 [generic bits/ioctls.h] (before-compile): Do not append to
24715 variable.
24716 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
24717 rule.
24718 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
24719 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
24720 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
24721 rule.
24722 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
24723 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
24724 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
24725 [generic bits/ioctls.h] (common-generated): Do not append to
24726 variable.
24727 [generic sys/syscall.h] (syscall.h): Remove variable.
24728 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
24729 rule.
24730 [generic sys/syscall.h] (before-compile): Do not append to
24731 variable.
24732 [generic sys/syscall.h] (common-generated): Likewise.
24733 * sysdeps/unix/errnos-tmpl.c: Remove file.
24734 * sysdeps/unix/errnos.awk: Likewise.
24735 * sysdeps/unix/ioctls-tmpl.c: Likewise.
24736 * sysdeps/unix/ioctls.awk: Likewise.
24737 * sysdeps/unix/mk-local_lim.c: Likewise.
24738 * sysdeps/unix/snarf-ioctls: Likewise.
24739
4851a949
RH
247402012-03-19 Richard Henderson <rth@twiddle.net>
24741
bd37f2ee
RH
24742 * sysdeps/i386/fpu/fenv_private.h: New file.
24743 * sysdeps/i386/fpu/math_private.h: Use it.
24744 (math_opt_barrier, math_force_eval): Remove.
24745 (libc_feholdexcept_setround_53bit): Remove.
24746 (libc_feupdateenv_53bit): Remove.
24747 * sysdeps/x86_64/fpu/math_private.h: Likewise.
24748 (math_opt_barrier, math_force_eval): Remove.
24749 (libc_feholdexcept): Remove.
24750 (libc_feholdexcept_setround): Remove.
24751 (libc_fetestexcept, libc_fesetenv): Remove.
24752 (libc_feupdateenv_test): Remove.
24753 (libc_feupdateenv, libc_feholdsetround): Remove.
24754 (libc_feresetround): Remove.
24755
d0adc922
RH
24756 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
24757 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24758
0fe0f1f8
RH
24759 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
24760 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
24761 (libc_feupdateenv_testl): New.
24762 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
24763 (libc_feupdateenv_testf): New.
24764 (libc_feupdateenv): Use libc_feupdateenv_test.
24765 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
24766 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
24767
eb92c487
RH
24768 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
24769 (libc_feholdsetroundf, libc_feholdsetroundl): New.
24770 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
24771 (libc_feresetround_noex): New.
24772 (libc_feresetround_noexf): New.
24773 (libc_feresetround_noexl): New.
24774 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
24775 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
24776 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
24777 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
24778 SET_RESTORE_ROUND.
24779 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24780 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
24781 (__cos): Likewise.
24782 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
24783 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
24784 SET_RESTORE_ROUND_NOEX.
24785 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
24786 SET_RESTORE_ROUND_NOEXF.
24787 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
24788 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
24789 (libc_feholdsetroundf): New.
24790 (libc_feresetround, libc_feresetroundf): New.
24791
7d2e8012
RH
24792 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
24793 (libc_feholdexcept_setround_53bit): Convert from macro to function.
24794 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
24795
b4dabbb4
RH
24796 * sysdeps/generic/math_private.h: Include <fenv.h>.
24797 (default_libc_feholdexcept): New.
24798 (default_libc_feholdexcept_setround): New.
24799 (default_libc_fesetenv, default_libc_feupdateenv): New.
24800 (libc_feholdexcept): Only define if undefined.
24801 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
24802 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
24803 (libc_feholdexcept_setroundl): Likewise.
24804 (libc_feholdexcept_setround_53bit): Likewise.
24805 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
24806 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
24807 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
24808 (libc_feupdateenv_53bit): Likewise.
24809 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
24810 (libc_feholdexcept): Convert from macro to inline function.
24811 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
24812 (libc_fesetenv, libc_feupdateenv): Likewise.
24813
4851a949
RH
24814 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
24815 not previously defined.
24816 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
24817 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
24818 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
24819 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
24820 * sysdeps/ieee754/flt-32/math_private.h: New file.
24821 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
24822 math_private.h below SET_FLOAT_WORD.
24823 (__isnan, __isinf_ns, __finite): Remove.
24824 (__isnanf, __isinf_nsf, __finitef): Remove.
24825
e79d442e
AS
248262012-03-18 Andreas Schwab <schwab@linux-m68k.org>
24827
24828 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24829
90b80344
DM
248302012-03-17 David S. Miller <davem@davemloft.net>
24831
24832 [BZ #6471]
24833 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
24834 for 2.16.
24835
edc21804
DM
248362012-03-16 David S. Miller <davem@davemloft.net>
24837
77e927af
DM
24838 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
24839 warnings.
24840
374976dd
DM
24841 [BZ #6471]
24842 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
24843 properly.
24844 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
24845 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
24846 sysdep_routines when subdir is sysvipc.
24847 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
24848 __getshmlba helper.
24849
edc21804
DM
24850 * sysdeps/sparc/fpu/libm-test/ulps: Update.
24851
473c3ef3
L
248522012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24853
24854 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
24855 [__LP64__].
24856
eb0f39b6
L
248572012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24858
24859 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
24860 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
24861 (__lround): Renamed to ...
24862 (__llround): This. Replace long int with long long int.
24863 Define lround functions as aliases of llround functions.
24864 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
24865
6b6cd74b
L
248662012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24867
24868 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
24869 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
24870 adresses to uintptr_t. Replace "long int" and "unsigned long
24871 int" with "greg_t" on va_arg.
24872
f1a77b01
L
248732012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24874
24875 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
24876 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
24877
24878 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
24879 Move e_machine check before EI_CLASS check. Handle x32
24880 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
24881 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
24882 SKIP_EM_IA_64 and include
24883 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
24884
24885 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
24886 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
24887 (add_system_dir): New macro.
24888
24889 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
24890 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
24891
11b90b9f
JM
248922012-03-16 Joseph Myers <joseph@codesourcery.com>
24893
c36e1d23
JM
24894 [BZ #2551]
24895 [BZ #2552]
24896 [BZ #2553]
24897 [BZ #2554]
24898 [BZ #2562]
24899 [BZ #2563]
24900 [BZ #2565]
24901 [BZ #2566]
24902 [BZ #2576]
24903 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
24904 (y0): Likewise.
24905 * math/w_j0f.c (j0f): Likewise.
24906 (y0f): Likewise.
24907 * math/w_j0l.c (__j0l): Likewise.
24908 (__y0l): Likewise.
24909 * math/w_j1.c (j1): Likewise.
24910 (y1): Likewise.
24911 * math/w_j1f.c (j1f): Likewise.
24912 (y1f): Likewise.
24913 * math/w_j1l.c (__j1l): Likewise.
24914 (__y1l): Likewise.
24915 * math/w_jn.c (jn): Likewise.
24916 (yn): Likewise.
24917 * math/w_jnf.c (jnf): Likewise.
24918 (ynf): Likewise.
24919 * math/w_jnl.c (__jnl): Likewise.
24920 (__ynl): Likewise.
24921 * math/libm-test.inc (j0_test): Add more tests.
24922 (j1_test): Likewise.
24923 (jn_test): Likewise. Add trailing semicolon to existing test.
24924 (y0_test): Likewise.
24925 (y1_test): Likewise.
24926 * sysdeps/i386/fpu/libm-test-ulps: Update.
24927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24928
11b90b9f
JM
24929 [BZ #13851]
24930 [BZ #13854]
24931 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
24932 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
24933 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
24934 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
24935 (__tanl): Set errno for infinite argument.
24936 * sysdeps/i386/fpu/mptan.c: Remove.
24937 * sysdeps/i386/fpu/s_tan.S: Likewise.
24938 * sysdeps/i386/fpu/s_tanl.S: Likewise.
24939 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
24940 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
24941 * math/libm-test.inc (tan_test): Add more tests and enable more
24942 tests for double and long double.
24943 * sysdeps/i386/fpu/libm-test-ulps: Update.
24944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24945
6a1bd2a1
JK
249462012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
24947
24948 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
24949 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
24950
10a803e0
RM
249512012-03-16 Roland McGrath <roland@hack.frob.com>
24952
24953 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
24954 * configure.in: Use it for both main tree and add-ons.
24955 * configure: Regenerated.
24956
f196c7f7
L
249572012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24958
24959 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
24960
8848d99d
JM
249612012-03-16 Joseph Myers <joseph@codesourcery.com>
24962
96cbe7f4
JM
24963 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
24964 in comment.
24965
8848d99d
JM
24966 [BZ #13851]
24967 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
24968 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
24969 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
24970 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
24971 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
24972 infinite argument.
24973 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
24974 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
24975 != 0 for prec == 2.
24976 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
24977 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
24978 * sysdeps/i386/fpu/s_cosl.S: Likewise.
24979 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
24980 * sysdeps/i386/fpu/s_sinl.S: Likewise.
24981 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
24982 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
24983 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
24984 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
24985 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
24986 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
24987 * math/libm-test.inc (cos_test): Add more tests and enable more
24988 tests for long double.
24989 (sin_test): Likewise.
24990 (sincos_test): Likewise.
24991 * sysdeps/i386/fpu/libm-test-ulps: Update.
24992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24993
dd7f4703
DM
249942012-03-16 David S. Miller <davem@davemloft.net>
24995
24996 * sysdeps/sparc/fpu/math_private.h: New file.
24997
006f1daa
DM
249982012-03-15 David S. Miller <davem@davemloft.net>
24999
c0c83bc8
DM
25000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
25001 file.
e6a62e18 25002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
25003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
25004 file.
e6a62e18
DM
25005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
25006 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
25007 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
25008 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
25009 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
25010 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
25011 sysdep routines.
25012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25013
88cb87d9
DM
25014 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
25015 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
25016
006f1daa 25017 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
25018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
25019 sparc-ifunc.h
006f1daa 25020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
25021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
25022 Likewise.
25023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
25024 Likewise.
006f1daa
DM
25025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
25026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
25027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
25028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25029 Likewise.
006f1daa
DM
25030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
25032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
25034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
25035 Likewise.
25036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
25037 Likewise.
006f1daa
DM
25038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
25040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
25041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
25042 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25043 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25044 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
25045 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
25046 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25047 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25048 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
25049 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
25050 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
25051 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
25052 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
25053 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
25054 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
25055 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
25056 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
25057 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
25058 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
25059 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
25060 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
25061 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
25062
11e0098e
AS
250632012-03-15 Andreas Schwab <schwab@linux-m68k.org>
25064
25065 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
25066 scaling.
25067 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25068
e85b09d0
AJ
250692012-03-15 Andreas Jaeger <aj@suse.de>
25070
25071 [BZ #13852]
25072 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
25073 ieee754/flt-32 implementation for sin, cos and sincos.
25074 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
25075 * sysdeps/i386/fpu/s_cosf.S: Likewise.
25076 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
25077 * sysdeps/i386/fpu/s_sinf.S: Likewise.
25078 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
25079 ieee754/flt-32 implementation for tan.
25080
25081 * math/libm-test.inc (cos_test): Enable some large input tests for
25082 float as well
25083 (sin_test): Likewise.
25084 (sincos_test): Likewise.
25085 (tan_test): Add tests for large input.
25086
25087 * sysdeps/i386/fpu/libm-test-ulps: Update.
25088
81c64153
AJ
250892012-03-15 Andreas Jaeger <aj@suse.de>
25090
25091 [BZ #13658]
25092 * math/libm-test.inc (cos_test): Add more test cases.
25093 (sin_test): Likewise.
25094 (sincos_test): Likewise.
25095
7bbfa5c6
AJ
250962012-03-15 Andreas Jaeger <aj@suse.de>
25097
25098 [BZ #13837]
25099 * math/libm-test.inc (cos_test): Add a test case for large input
25100 value.
25101 (sin_test): Likewise.
25102 (sincos_test): Likewise.
25103
251042012-03-15 Andreas Jaeger <aj@suse.de>,
25105 Joseph Myers <joseph@codesourcery.com>
25106
25107 [BZ #13658]
0671f479 25108 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
25109 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
25110 * sysdeps/i386/fpu/branred.c: Likewise.
25111 * sysdeps/i386/fpu/dosincos.c: Likewise.
25112 * sysdeps/i386/fpu/mpa.c: Likewise.
25113 * sysdeps/i386/fpu/s_cos.S: Likewise.
25114 * sysdeps/i386/fpu/s_sin.S: Likewise.
25115 * sysdeps/i386/fpu/s_sincos.S: Likewise.
25116 * sysdeps/i386/fpu/sincos32.c: Likewise.
25117
25118 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
25119 Define.
25120 (libc_feupdateenv_53bit): Define.
25121 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
25122 Define.
25123 (libc_feupdateenv_53bit): Define.
25124
25125 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
25126 53 bit (without extend i386 double precision).
25127
25128 * math/libm-test.inc (sincos_test): Add tests for large input.
25129 (sin): Likewise.
25130 (cos): Likewise.
25131
25132 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
25133
9cad04ea
AS
251342012-03-15 Andreas Schwab <schwab@linux-m68k.org>
25135
25136 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25137
f7062b9a
DM
251382012-03-15 David S. Miller <davem@davemloft.net>
25139
25140 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
25141 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
25142 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
25143 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
25144 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
25145 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
25146 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
25147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
25148 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
25149 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
25150 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
25151 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
25152 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
25153 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
25154 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
25155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
25156 file.
f7062b9a 25157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
25158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
25159 file.
f7062b9a 25160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
25161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
25162 file.
f7062b9a 25163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
25164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
25165 file.
f7062b9a
DM
25166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
25167 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
25168 fmin/fmax sysdep routines.
25169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25170
7bd951ff
DM
251712012-03-14 David S. Miller <davem@davemloft.net>
25172
559398ab
DM
25173 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
25174 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
25175 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
25176 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
25177 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
25178 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
25179 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
25180 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
25181 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
25182 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
25183 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
25184 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
25185 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
25186 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
25187 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
25188 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
25189 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
25190 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
25191 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
25192 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
25193 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
25194 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
25195 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
25196 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
25197 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
25198 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
25199 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
25200 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
25201 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
25202 routines.
25203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
25204 file.
559398ab 25205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
25206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
25207 file.
559398ab 25208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
25209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
25210 file.
559398ab 25211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
25212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
25213 file.
559398ab 25214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
25215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
25216 file.
559398ab 25217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
25218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
25219 file.
25220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
25221 file.
25222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
25223 file.
25224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
25225 file.
25226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
25227 New file.
25228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
25229 file.
25230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
25231 file.
559398ab 25232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
25233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
25234 file.
559398ab 25235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
25236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
25237 file.
559398ab 25238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
25239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
25240 file.
559398ab 25241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
25242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
25243 VIS3 routines.
559398ab
DM
25244
25245 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25246 New file.
25247
5a1c1e32
DM
25248 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25249
eae47a36
DM
25250 * sysdeps/sparc/configure.in: New file.
25251 * sysdeps/sparc/configure: Generate.
25252 * configure.in (libc_cv_sparc_as_vis3): Substitute.
25253 * configure: Regenerate.
25254 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
25255 * config.make.in (have-as-vis3): New.
25256 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
25257 available use -Av9d instead of -Av9a.
25258 * sysdeps/sparc/sparc64/Makefile: Likewise.
25259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
25260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
25261 New file.
25262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
25263 file.
25264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
25265 New file.
25266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
25267 file.
eae47a36
DM
25268 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
25269 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
25270 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
25271 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
25272 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
25273
c0c83bc8
DM
25274 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
25275 fzeros/fnegs to load 0x80000000 into a float register instead of
25276 using the stack.
7bd951ff
DM
25277 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
25278
bd951ccb
JM
252792012-03-14 Joseph Myers <joseph@codesourcery.com>
25280
25281 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25282 bits/syscall.h.
25283 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
25284 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
25285 ($(inst_includedir)/bits/syscall.h): Remove rule.
25286 ($(objpfx)bits/syscall.d): Include instead of
25287 $(objpfx)syscall-list.d.
25288 (generated): Change syscall-list.h and syscall-list.d to
25289 bits/syscall.h and bits/syscall.d.
25290
bb4e6db2
RM
252912012-03-14 Roland McGrath <roland@hack.frob.com>
25292
25293 [BZ #13846]
25294 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
25295
aa4a2ae1
JM
252962012-03-14 Joseph Myers <joseph@codesourcery.com>
25297
e456826d
JM
25298 [BZ #13841]
25299 * math/s_csqrt.c: Include <float.h>.
25300 (__csqrt): Scale large or subnormal inputs.
25301 * math/s_csqrtf.c: Likewise.
25302 * math/s_csqrtl.c: Likewise.
25303 * math/libm-test.inc (csqrt_test): Add more tests.
25304 * sysdeps/i386/fpu/libm-test-ulps: Update.
25305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25306
aa4a2ae1
JM
25307 [BZ #13840]
25308 * math/libm-test.inc (hypot_test): Add more tests.
25309
7c10fd35
DM
253102012-03-13 David S. Miller <davem@davemloft.net>
25311
25312 [BZ #13840]
25313 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
25314 double-precision for the calculation instead of scaling.
25315
f453b98b
JM
253162012-03-13 Joseph Myers <joseph@codesourcery.com>
25317
25318 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
25319 manipulate bits before adding and subtracting TWO52[sx].
25320 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
25321 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
25322 Likewise.
25323 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
25324
09a3453f
DM
253252012-03-13 David S. Miller <davem@davemloft.net>
25326
8e59da90
DM
25327 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
25328 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
25329 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
25330 rtld-global-offsets.h
25331 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25332
2a8ab7f2
DM
25333 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
25334 large parameters.
25335
10f62770
DM
25336 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
25337
5f0bdb18
DM
25338 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
25339 'err' in the ifdef scope in which it is actually used.
25340
09a3453f
DM
25341 * nss/nss_db/db-init.c: Include string.h
25342
b4b2eb5e
DM
253432012-03-12 David S. Miller <davem@davemloft.net>
25344
98bb2f1c
DM
25345 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25346 masking out of the most significant byte of random value used.
25347 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25348 Fix coding style in previous change.
25349
b4b2eb5e
DM
25350 * sysdeps/unix/sysv/linux/kernel-features.h
25351 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
25352 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
25353 expression.
25354 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
25355 later.
25356
6e226b09
DM
253572012-03-11 David S. Miller <davem@davemloft.net>
25358
a1bcbd40
DM
25359 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25360 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
25361 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
25362 for 'resultvar' otherwise things get truncated on 64-bit.
25363
cb9d6174
DM
25364 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25365 Fix masking out of the most significant byte of random value used.
25366
6e226b09
DM
25367 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25368
058c132d
AS
253692012-03-10 Andreas Schwab <schwab@linux-m68k.org>
25370
25371 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25372
2d2cd515
DM
253732012-03-09 David S. Miller <davem@davemloft.net>
25374
25375 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
25376 variables with appropriate CPP guards.
25377 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
25378 frame pointer, not the stack pointer. Correct layout comments. Fix test
25379 on resulting framesize and the management of the outregs buffer for pltexit.
25380 Preserve floating point return values across _dl_call_pltexit call.
25381 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
25382 framesize and the management of the outregs buffer for pltexit.
25383 Preserve floating point return values across _dl_call_pltexit
25384 call.
25385 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
25386 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
25387 (print_exit): Fix format string for return register value.
25388
9a07f9d0
JM
253892012-03-10 Joseph Myers <joseph@codesourcery.com>
25390
25391 * sunrpc/Makefile (others): Add rpcgen.
25392 ($(objpfx)rpcgen): Remove special build rule and dependency on
25393 libc.
25394 * sunrpc/rpcgen.c: New file.
25395
547b5e30
PE
253962012-03-09 Paul Eggert <eggert@cs.ucla.edu>
25397
c524201a
PE
25398 [BZ #13673]
25399 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
25400 * stdio-common/bug-vfprintf-nargs.c: Likewise.
25401 * sysdeps/i386/crti.S: Likewise.
25402 * sysdeps/i386/crtn.S: Likewise.
25403 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
25404 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
25405 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
25406 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
25407 * sysdeps/sh/crti.S: Likewise.
25408 * sysdeps/sh/crtn.S: Likewise.
25409 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25410
7b6235f2
PE
25411 [BZ #13673]
25412 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
25413 with URL.
25414 * locale/programs/locfile-kw.gperf: Likewise.
25415 * locale/programs/charmap-kw.h: Regenerated.
25416 * locale/programs/locfile-kw.h: Likewise.
25417
547b5e30
PE
25418 [BZ #13673]
25419 * intl/plural.y: Replace FSF snail mail address with URL.
25420 * intl/plural.c: Regenerated.
25421
5f0a5dae
RH
254222012-03-09 Richard Henderson <rth@twiddle.net>
25423
25424 * include/math_private.h: Remove file.
25425 * math/math_private.h: Move file ...
25426 * sysdeps/generic/math_private.h: ... here.
25427
b8c03620
RH
25428 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
25429 * sysdeps/powerpc/fpu/math_private.h: Likewise.
25430 * sysdeps/x86_64/fpu/math_private.h: Likewise.
25431
4e234f5d 25432 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
25433 and <math_private.h>.
25434 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25435 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25436 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25437 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25438 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25439 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
25440 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25441 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25442 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25443 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25444 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25445 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25446 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25447 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25448 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25449 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25450 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25451 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25452 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25453 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
25454 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25455 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25456 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25457 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25458 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
25459 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25460 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25461 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25462 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25463 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25464 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25465 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25466 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25467 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25468 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25469 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25470 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25471 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25472 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25473 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25474 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
25475 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25476 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25477 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25478 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25479 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25480 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
25481 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25482 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25483 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25484 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25485 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
25486 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25487 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25488 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25489 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25490 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25491 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25492 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25493 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
25494 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25495 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25496 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25497 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25498 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
25499 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25500 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25501 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25502 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
25503 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
25504 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25505 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25506 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25507 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25508 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
25509 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25510 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
25511 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25512 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
25513 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
25514 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25515 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
25516 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25517 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25518 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25519 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
25520 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
25521 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
25522 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
25523 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25524 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25525 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
25526 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25527 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
25528 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
25529 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
25530 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25531 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25532 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25533 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
25534 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
25535 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
25536 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
25537 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
25538 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25539 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
25540 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
25541 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
25542 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25543 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25544 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25545 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25546 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
25547 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25548 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
25549 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25550 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25551 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25552 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25553 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25554 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25555 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25556 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25557 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
25558 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25559 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25560 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
25561 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
25562 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25563 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
25564 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
25565 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25566 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25567 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
25568 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
25569 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25570 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25571 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25572 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
25573 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25574 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25575 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25576 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25577 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
25578 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
25579 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25580 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25581 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25582 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
25583 * sysdeps/ieee754/k_standard.c: Likewise.
25584 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
25585 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
25586 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25587 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
25588 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
25589 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
25590 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
25591 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
25592 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25593 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25594 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25595 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25596 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
25597 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
25598 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
25599 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
25600 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25601 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
25602 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
25603 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
25604 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
25605 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
25606 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25607 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25608 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25609 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
25610 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25611 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25612 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25613 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25614 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25615 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25616 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25617 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25618 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25619 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25620 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25621 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
25622 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
25623 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25624 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25625 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25626 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25627 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25628 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25629 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25630 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25631 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25632 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25633 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25634 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25635 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25636 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25637 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
25638 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25639 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25640 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
25641 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
25642 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25643 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25644 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25645 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25646 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25647 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
25648 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25649 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25650 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
25651 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
25652 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
25653 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
25654 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
25655 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25656 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
25657 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
25658 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
25659 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
25660 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
25661 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
25662 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25663 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25664 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25665 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25666 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25667 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25668 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
25669 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25670 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25671 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25672 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25673 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25674 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
25675 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25676 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
25677 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25678 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25679 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25680 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
25681 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
25682 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
25683 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
25684 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25685 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25686 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25687 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25688 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
25689 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25690 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25691 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
25692 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
25693 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25694 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25695 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25696 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
25697 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25698 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
25699 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25700 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
25701 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25702 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25703 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25704 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25705 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
25706 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25707 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
25708 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25709 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
25710 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25711 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25712 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25713 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25714 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25715 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25716 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25717 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25718 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25719 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25720 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
25721 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25722 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25723 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
25724 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
25725 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25726 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
25727 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
25728 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25729 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25730 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25731 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25732 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25733 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
25734 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25735 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25736 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25737 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25738 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
25739 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
25740 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25741 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25742 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25743 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
25744 * sysdeps/ieee754/s_lib_version.c: Likewise.
25745 * sysdeps/ieee754/s_matherr.c: Likewise.
25746 * sysdeps/ieee754/s_signgam.c: Likewise.
25747 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25748 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25749 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
25750 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
25751 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
25752 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25753 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
25754 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
25755 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
25756 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
25757 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25758 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
25759 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25760 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25761 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
25762 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25763 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25764 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25765 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25766 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25767 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 25768
1991fa03
JM
257692012-03-09 Joseph Myers <joseph@codesourcery.com>
25770
25771 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
25772 * sunrpc/rpc_main.c: Likewise.
25773 * sunrpc/rpc_svcout.c: Likewise.
25774
60d6f5a6
DM
257752012-03-09 David S. Miller <davem@davemloft.net>
25776
25777 * include/math_private.h: New file.
25778
4962050e
JM
257792012-03-09 Joseph Myers <joseph@codesourcery.com>
25780
02a6f887
JM
25781 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
25782 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
25783 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
25784 from <bits/socket_type.h>.
25785 (enum __socket_type): Don't define here.
25786 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
25787 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25788 bits/socket_type.h.
25789
c6e013c1
JM
25790 [BZ #13566]
25791 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
25792 checking __USE_GNU.
25793
4962050e
JM
25794 * Makerules ($(inst_includedir)/%.h): New rule.
25795 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
25796 (install-others): Remove variable setting.
25797 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
25798
38842f45
RH
257992012-03-08 Richard Henderson <rth@twiddle.net>
25800
67bb6da6
RH
25801 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
25802 from macro to inline function; merge with the
25803 !__LIBC_INTERNAL_MATH_INLINES version.
25804 (__ieee754_sqrtf): Likewise.
25805
15194b4b
RH
25806 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
25807 to inline function.
25808 (__rintf, __floor, __floorf): Likewise.
25809
64e21ede
RH
25810 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
25811 macro to inline function.
25812 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
25813
38842f45
RH
25814 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
25815 not <math/math_private.h>.
25816
c64bf5fe
DM
258172012-03-08 David S. Miller <davem@davemloft.net>
25818
25819 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
25820 copyright year.
25821 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
25822
82d86f28
TS
258232012-03-08 Thomas Schwinge <thomas@codesourcery.com>
25824
25825 * resolv/gai_misc.c (handle_requests): Fix struct timespec
25826 normalization.
25827 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
25828 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
25829
aea5d727
UD
258302012-03-08 Ulrich Drepper <drepper@gmail.com>
25831
25832 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
25833 be defined individually, they must be defined as a block. Define
25834 S for printing a string instead of hidint the different by using a
25835 macro for adding the 'l'.
25836 * stdio-common/tst-fphex-wide.c: Adjust.
25837
70bca0a3
MP
258382012-03-07 Marek Polacek <polacek@redhat.com>
25839
25840 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
25841
65b81130
MP
258422012-03-08 Marek Polacek <polacek@redhat.com>
25843
25844 [BZ #13806]
25845 * stdio-common/Makefile (tests): Add tst-fphex-wide.
25846 * stdio-common/tst-fphex.c: Define a few macros to make the
25847 test reusable. Use them.
25848 * stdio-common/tst-fphex-wide.c: New file.
25849
07037eeb
JM
258502012-03-08 Joseph Myers <joseph@codesourcery.com>
25851
a7a93d50
JM
25852 [BZ #6911]
25853 * manual/macros.texi (gnusystems): New macro.
25854 (nongnusystems): Likewise.
25855 (gnulinuxhurdsystems): Likewise.
25856 (gnuhurdsystems): Likewise..
25857 (gnulinuxsystems): Likewise.
25858 * manual/charset.texi: Use new macros or @theglibc{} to refer to
25859 variants of the GNU system, not "GNU system".
25860 * manual/conf.texi: Likewise.
25861 * manual/errno.texi: Likewise. Update example of errno macro
25862 expansion.
25863 * manual/filesys.texi: Likewise.
25864 (getumask): Document as specific to GNU/Hurd.
25865 * manual/install.texi: Likewise. Reword some references to
25866 GNU/Linux.
25867 * manual/intro.texi: Likewise.
25868 * manual/io.texi: Likewise.
25869 (File Name Portability): Detail which constraints are inapplicable
25870 to all GNU systems and which are only inapplicable to GNU/Hurd.
25871 * manual/job.texi: Likewise.
25872 * manual/llio.texi: Likewise.
25873 (O_NOCTTY): Document as present on GNU/Linux.
25874 * manual/maint.texi: Likewise.
25875 * manual/memory.texi: Likewise.
25876 * manual/pattern.texi: Likewise.
25877 * manual/pipe.texi: Likewise.
25878 * manual/process.texi: Likewise.
25879 * manual/resource.texi: Likewise.
25880 (RUSAGE_CHILDREN): Remove statement about specifying a particular
25881 child on GNU/Hurd.
25882 * manual/setjmp.texi: Likewise.
25883 * manual/signal.texi: Likewise.
25884 * manual/startup.texi: Likewise.
25885 * manual/stdio.texi: Likewise.
25886 * manual/terminal.texi: Likewise.
25887 (ONLCR): Document as POSIX.
25888 (OXTABS): Document availability on GNU/Linux as XTABS.
25889 (ONOEOT): Document availability separately from other bits.
25890 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
25891 * manual/time.texi: Likewise.
25892 * manual/users.texi: Likewise.
25893 * INSTALL: Regenerated.
25894 * sysdeps/gnu/errlist.c: Regenerated.
25895
07037eeb
JM
25896 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
25897 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
25898 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
25899 puts.
25900 * configure: Regenerated.
25901
d1d3431a
JM
259022012-03-07 Joseph Myers <joseph@codesourcery.com>
25903
af6a1e37
JM
25904 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
25905 default includes instead of AC_HEADER_CHECK.
25906 * sysdeps/i386/configure: Regenerated.
25907
d1d3431a
JM
25908 [BZ #10716]
25909 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
25910 * math/s_cacoshf.c (__cacoshf): Likewise.
25911 * math/s_cacoshl.c (__cacoshl): Likewise.
25912 * math/s_casinh.c (__casinh): Set signs of result from argument.
25913 * math/s_casinhf.c (__casinhf): Likewise.
25914 * math/s_casinhl.c (__casinhl): Likewise.
25915 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
25916 (casinh_test): Add more tests.
25917 * sysdeps/i386/fpu/libm-test-ulps: Update.
25918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25919
482ff4da
UD
259202012-03-07 Ulrich Drepper <drepper@gmail.com>
25921
872fda05
UD
25922 * po/zh_TW.po: Update from translation team.
25923
a4300c7a
UD
25924 * login/Makefile (distribute): Remove variable.
25925 * catgets/Makefile: Likewise.
25926 * mach/Makefile: Likewise.
25927 * malloc/Makefile: Likewise.
25928 * misc/Makefile: Likewise.
25929 * iconv/Makefile: Likewise.
25930 * nscd/Makefile: Likewise.
25931 * hurd/Makefile: Likewise.
25932 * manual/Makefile: Likewise.
25933 * locale/Makefile: Likewise.
25934 * intl/Makefile: Likewise.
25935 * conform/Makefile: Likewise.
25936 * nss/Makefile: Likewise.
25937 * time/Makefile: Likewise.
25938 * soft-fp/Makefile: Likewise.
25939 * dirent/Makefile: Likewise.
25940 * gmon/Makefile: Likewise.
25941 * po/Makefile: Likewise.
25942 * rt/Makefile: Likewise.
25943 * socket/Makefile: Likewise.
25944 * math/Makefile: Likewise.
25945 * signal/Makefile: Likewise.
25946 * debug/Makefile: Likewise.
25947 * elf/Makefile: Likewise.
25948 * timezone/Makefile: Likewise.
25949 * stdlib/Makefile: Likewise.
25950 * iconvdata/Makefile: Likewise.
25951 * sunrpc/Makefile: Likewise.
25952 * io/Makefile: Likewise.
25953 * argp/Makefile: Likewise.
25954 * inet/Makefile: Likewise.
25955 * hesiod/Makefile: Likewise.
25956 * grp/Makefile: Likewise.
25957 * csu/Makefile: Likewise.
25958 * wctype/Makefile: Likewise.
25959 * crypt/Makefile: Likewise.
25960 * libio/Makefile: Likewise.
25961 * string/Makefile: Likewise.
25962 * nis/Makefile: Likewise.
25963 * resolv/Makefile: Likewise.
25964 * stdio-common/Makefile: Likewise.
25965 * wcsmbs/Makefile: Likewise.
25966 * dlfcn/Makefile: Likewise.
25967 * posix/Makefile: Likewise.
25968
3b7c4e74 25969 [BZ #6959]
482ff4da
UD
25970 * timezone/Makefile: Don't install timezone files, just the programs
25971 and scripts.
25972
f72ed77d
UD
259732012-03-06 Ulrich Drepper <drepper@gmail.com>
25974
a000466f
UD
25975 * nss/databases.def: Add missing gshadow entry.
25976
f72ed77d
UD
25977 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
25978
a53b7a4e
MP
259792012-03-06 Marek Polacek <polacek@redhat.com>
25980
25981 [BZ #13726]
25982 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
25983 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
25984 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
25985 * stdio-common/tst-long-dbl-fphex.c: New file.
25986
e9258400
DM
259872012-03-06 David S. Miller <davem@davemloft.net>
25988
25989 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25990 (set_obp_int): New function.
25991 (get_obp_int): New function.
25992 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
25993 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
25994 Avoid unused variable warnings on 'val' and use builtin_expect.
25995 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
25996 __builtin_expect.
e9258400
DM
25997 (INLINE_CLONE_SYSCALL): Likewise.
25998
3bd2c723
DM
259992012-03-05 David S. Miller <davem@davemloft.net>
26000
26001 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26002
bbb78d03
AS
260032012-03-05 Andreas Schwab <schwab@linux-m68k.org>
26004
884c5db4
AS
26005 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26006
bbb78d03
AS
26007 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
26008 only for |x| >= 40.
26009 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26010
1c9f702a 260112012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
26012
26013 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
26014 Replace gettimeofday with __vdso_gettimeofday.
26015
7be16f82
RM
26016 * sysdeps/unix/sysv/linux/x86_64/init-first.c
26017 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
26018 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
26019
26020 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
26021 time with __vdso_time.
26022
ed58a00f
JM
260232012-03-05 Joseph Myers <joseph@codesourcery.com>
26024
26025 * manual/lang.texi (size_t): Note types to which size_t may be
26026 equivalent with the GNU C Library, but do not describe when
26027 differences between them are significant.
26028
30ee4ced
AJ
260292012-03-05 Andreas Jaeger <aj@suse.de>
26030
26031 * sysdeps/i386/fpu/libm-test-ulps: Update.
26032
b7cd39e8
JM
260332012-03-05 Joseph Myers <joseph@codesourcery.com>
26034
26035 [BZ #3976]
26036 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
26037 (__ieee754_pow): Save and restore rounding mode and use
26038 round-to-nearest for main computations.
26039 * math/libm-test.inc (pow_test_tonearest): New function.
26040 (pow_test_towardzero): Likewise.
26041 (pow_test_downward): Likewise.
26042 (pow_test_upward): Likewise.
26043 (main): Call the new functions.
26044 * sysdeps/i386/fpu/libm-test-ulps: Update.
26045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
26046
26047 [BZ #3976]
26048 * math/libm-test.inc (cosh_test_tonearest): New function.
26049 (cosh_test_towardzero): Likewise.
26050 (cosh_test_downward): Likewise.
26051 (cosh_test_upward): Likewise.
26052 (sinh_test_tonearest): Likewise.
26053 (sinh_test_towardzero): Likewise.
26054 (sinh_test_downward): Likewise.
26055 (sinh_test_upward): Likewise.
26056 (main): Call the new functions.
26057 * sysdeps/i386/fpu/libm-test-ulps: Update.
26058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26059
6c6a98c9
TV
260602012-03-05 Tom de Vries <tom@codesourcery.com>
26061
26062 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
26063 default stack guard is set in last bytes.
26064 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
26065
21bb2d2e 260662012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 26067
21bb2d2e 26068 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 26069
21bb2d2e
AJ
26070 [BZ #13656]
26071 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
26072 possibly allocate from heap instead of stack.
26073 * stdio-common/bug-vfprintf-nargs.c: New file.
26074 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 26075
c6922934
AS
260762012-03-03 Andreas Schwab <schwab@linux-m68k.org>
26077
26078 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26079
bc957d53
MP
260802012-03-03 Marek Polacek <polacek@redhat.com>
26081
26082 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
26083 * math/math_private.h: Likewise.
26084 * stdlib/tst-strtod.c: Likewise.
26085 * sysdeps/i386/i486/bits/atomic.h: Likewise.
26086 * sysdeps/x86_64/bits/atomic.h: Likewise.
26087
6358490d
DM
260882012-03-02 David S. Miller <davem@davemloft.net>
26089
26090 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
26091 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
26092 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
26093 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
26094 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
26095 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
26096 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
26097 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
26098
01ae168d
RM
260992012-03-02 Roland McGrath <roland@hack.frob.com>
26100
d9a17c07
RM
26101 [BZ #13792]
26102 * manual/examples/README: New file, says the example source files
26103 can be used under GPL>=2.
26104 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
26105 line containing just "*/".
26106 * manual/examples/add.c: Add copyright header (GPL>=2).
26107 * manual/examples/argp-ex1.c: Likewise.
26108 * manual/examples/argp-ex2.c: Likewise.
26109 * manual/examples/argp-ex3.c: Likewise.
26110 * manual/examples/argp-ex4.c: Likewise.
26111 * manual/examples/atexit.c: Likewise.
26112 * manual/examples/db.c: Likewise.
26113 * manual/examples/dir.c: Likewise.
26114 * manual/examples/dir2.c: Likewise.
26115 * manual/examples/execinfo.c: Likewise.
26116 * manual/examples/filecli.c: Likewise.
26117 * manual/examples/filesrv.c: Likewise.
26118 * manual/examples/fmtmsgexpl.c: Likewise.
26119 * manual/examples/genpass.c: Likewise.
26120 * manual/examples/inetcli.c: Likewise.
26121 * manual/examples/inetsrv.c: Likewise.
26122 * manual/examples/isockad.c: Likewise.
26123 * manual/examples/longopt.c: Likewise.
26124 * manual/examples/memopen.c: Likewise.
26125 * manual/examples/memstrm.c: Likewise.
26126 * manual/examples/mkfsock.c: Likewise.
26127 * manual/examples/mkisock.c: Likewise.
26128 * manual/examples/mygetpass.c: Likewise.
26129 * manual/examples/pipe.c: Likewise.
26130 * manual/examples/popen.c: Likewise.
26131 * manual/examples/rprintf.c: Likewise.
26132 * manual/examples/search.c: Likewise.
26133 * manual/examples/select.c: Likewise.
26134 * manual/examples/setjmp.c: Likewise.
26135 * manual/examples/sigh1.c: Likewise.
26136 * manual/examples/sigusr.c: Likewise.
26137 * manual/examples/stpcpy.c: Likewise.
26138 * manual/examples/strdupa.c: Likewise.
26139 * manual/examples/strftim.c: Likewise.
26140 * manual/examples/strncat.c: Likewise.
26141 * manual/examples/subopt.c: Likewise.
26142 * manual/examples/swapcontext.c: Likewise.
26143 * manual/examples/termios.c: Likewise.
26144 * manual/examples/testopt.c: Likewise.
26145 * manual/examples/testpass.c: Likewise.
26146 * manual/examples/timeval_subtract.c: Likewise.
26147
01ae168d
RM
26148 [BZ #13792]
26149 * manual/time.texi (Elapsed Time): Move timeval_subtract example
26150 function to ...
26151 * manual/timeval_subtract.c.texi: ... here, new file.
26152
49efa33d
DM
261532012-03-02 David S. Miller <davem@davemloft.net>
26154
26155 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
26156
28afd92d
JM
261572012-03-02 Joseph Myers <joseph@codesourcery.com>
26158
804360ed
JM
26159 [BZ #3976]
26160 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
26161 (__sin): Save and restore rounding mode and use round-to-nearest
26162 for all computations.
26163 (__cos): Save and restore rounding mode and use round-to-nearest
26164 for all computations.
26165 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
26166 <fenv.h>.
26167 (tan): Save and restore rounding mode and use round-to-nearest for
26168 all computations.
26169 * math/libm-test.inc (cos_test_tonearest): New function.
26170 (cos_test_towardzero): Likewise.
26171 (cos_test_downward): Likewise.
26172 (cos_test_upward): Likewise.
26173 (sin_test_tonearest): Likewise.
26174 (sin_test_towardzero): Likewise.
26175 (sin_test_downward): Likewise.
26176 (sin_test_upward): Likewise.
26177 (tan_test_tonearest): Likewise.
26178 (tan_test_towardzero): Likewise.
26179 (tan_test_downward): Likewise.
26180 (tan_test_upward): Likewise.
26181 (main): Call the new functions.
26182 * sysdeps/i386/fpu/libm-test-ulps: Update.
26183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26184
a6d06d7b
JM
26185 [BZ #10135]
26186 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
26187 small n, then large n, before computing and testing k+n.
26188 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
26189 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
26190 Likewise.
26191 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
26192 Likewise.
26193 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
26194 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
26195 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
26196 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
26197 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
26198 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
26199 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
26200 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
26201 * math/libm-test.inc (scalbn_test): Add more tests.
26202 (scalbln_test): Likewise.
26203
07e12bb3
JM
26204 * manual/filesys.texi (mode_t): Describe constraints on size and
26205 signedness, not exact equivalence to a particular type.
26206 (ino_t): Likewise.
26207 (ino64_t): Likewise.
26208 (dev_t): Likewise.
26209 (nlink_t): Likewise.
26210 (blkcnt_t): Likewise.
26211 (blkcnt64_t): Likewise.
26212 * manual/llio.texi (off_t): Likewise.
26213
28afd92d
JM
26214 [BZ #3976]
26215 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
26216 (__ieee754_exp): Save and restore rounding mode and use
26217 round-to-nearest for all computations.
26218 * math/libm-test.inc (exp_test_tonearest): New function.
26219 (exp_test_towardzero): Likewise.
26220 (exp_test_downward): Likewise.
26221 (exp_test_upward): Likewise.
26222 (main): Call the new functions.
26223 * sysdeps/i386/fpu/libm-test-ulps: Update.
26224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26225
b1eeb65d
CD
262262012-03-01 Chris Demetriou <cgd@google.com>
26227
26228 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
26229 have predictable order.
26230
53362a4b
DM
262312012-03-01 David S. Miller <davem@davemloft.net>
26232
3c969083
DM
26233 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
26234
759707de
DM
26235 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
26236 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
26237 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
26238 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
26239
dfdb8ff2
DM
26240 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
26241 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
26242 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
26243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
26244 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
26245 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
26246 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
26247 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
26248 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
26249
ead89f96
DM
26250 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26251
7f66bd07
DM
26252 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
26253 * sysdeps/sparc/fpu/libm-test-ulps: to here.
26254 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
26255
53362a4b
DM
26256 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
26257 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26258 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26259 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
26260 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
26261 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
26262 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
26263 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26264 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26265 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
26266 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
26267 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26268 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26269 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26270 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26271 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26272 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
26273 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
26274 * sysdeps/sparc/elf/configure: Regenerated.
26275
7b1902cb
JM
262762012-03-01 Joseph Myers <joseph@codesourcery.com>
26277
bec039bc
JM
26278 * configure.in (AS, LD): Require binutils 2.20 or later.
26279 * configure: Regenerated.
26280 * manual/install.texi (Tools for Compilation): Give binutils 2.20
26281 as required minimum version.
26282 * INSTALL: Regenerated.
26283
7b1902cb
JM
26284 [BZ #2541]
26285 [BZ #4108]
26286 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
26287 before squaring exponent.
26288 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
26289 bottom long double and 27 bits of top long double before squaring
26290 exponent.
26291 * math/libm-test.inc (erfc_test): Add more tests.
26292 * sysdeps/i386/fpu/libm-test-ulps: Update.
26293 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26295
f775c276
KT
262962012-03-01 Kai Tietz <ktietz@redhat.com>
26297
26298 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
26299 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
26300 containing bit-fields.
26301 * soft-fp/extended.h (_FP_UNION_E): Likewise.
26302 * soft-fp/single.h (_FP_UNION_S): Likewise.
26303 * soft-fp/double.h (_FP_UNION_D): Likewise.
26304
5b8a4d4a
JM
263052012-02-29 Joseph Myers <joseph@codesourcery.com>
26306
0bab47b6
JM
26307 [BZ #13786]
26308 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
26309 not include ../strcmp.S.
26310 [USE_AS_STRNCASECMP_L]: Likewise.
26311 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
26312 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
26313 * sysdeps/i386/i686/multiarch/strncase_l-c.c
26314 (__strncasecmp_l_ia32): Define as alias to
26315 __strncasecmp_l_nonascii.
26316
0fcad3e2
JM
26317 [BZ #5794]
26318 * math/libm-test.inc (expm1_test): Add test for bug 5794.
26319 * sysdeps/i386/fpu/libm-test-ulps: Update.
26320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26321
5b8a4d4a
JM
26322 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
26323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26324
8fdceb2e
JL
263252012-02-29 Jeff Law <law@redhat.com>
26326
26327 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
26328 out of bounds read.
26329
1f393a11
MP
263302012-02-29 Marek Polacek <polacek@redhat.com>
26331
26332 [BZ #13706]
26333 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
26334 * elf/Makefile: Add rules to run tst-unused-dep.out.
26335
8847f037
DM
263362012-02-28 David S. Miller <davem@davemloft.net>
26337
26338 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
26339 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
26340 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
26341 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
26342 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
26343 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
26344
169d7f11
JM
263452012-02-29 Joseph Myers <joseph@codesourcery.com>
26346
26347 * math/libm-test.inc (llround_test): Move one test from
26348 lround_test. Use TEST_f_L in moved test.
26349 (lround_test): Move misplaced test to llround_test. Add testcase
26350 from bug 2561.
26351
39adf059
UD
263522012-02-28 Ulrich Drepper <drepper@gmail.com>
26353
26354 * sysdeps/x86_64/fpu/e_expf.S: New file.
26355 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
26356
71b5d1c5
SB
263572012-02-28 Stanislav Brabec <sbrabec@suse.cz>
26358
26359 [BZ #13637]
26360 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
26361 of remain_len that may cause incomplete multi-byte character and
26362 false match.
26363 * posix/bug-regex33.c: New file.
26364 * posix/Makefile (tests): Add bug-regex33.
26365
1f77f049
JM
263662012-02-28 Joseph Myers <joseph@codesourcery.com>
26367
26368 * manual/macros.texi: New file.
26369 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
26370 * manual/libc.texinfo: Include macros.texi.
26371 * manual/creatute.texi: Likewise.
26372 * manual/install.texi: Likewise.
26373 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
26374 @glibcadj{} in references to the GNU C Library.
26375 * manual/charset.texi: Likewise.
26376 * manual/conf.texi: Likewise.
26377 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
26378 when not using those macros.
26379 * manual/creature.texi: Likewise.
26380 * manual/crypt.texi: Likewise.
26381 * manual/errno.texi: Likewise.
26382 * manual/filesys.texi: Likewise.
26383 * manual/header.texi: Likewise.
26384 * manual/install.texi: Likewise.
26385 * manual/intro.texi: Likewise.
26386 * manual/io.texi: Likewise.
26387 * manual/job.texi: Likewise.
26388 * manual/lang.texi: Likewise.
26389 * manual/libc.texiinfo: Likewise.
26390 * manual/llio.texi: Likewise.
26391 * manual/locale.texi: Likewise.
26392 * manual/maint.texi: Likewise.
26393 * manual/math.texi: Likewise.
26394 * manual/memory.texi: Likewise.
26395 * manual/message.texi: Likewise.
26396 * manual/nss.texi: Likewise.
26397 * manual/pattern.texi: Likewise.
26398 * manual/process.texi: Likewise.
26399 * manual/resource.texi: Likewise.
26400 * manual/search.texi: Likewise.
26401 * manual/setjmp.texi: Likewise.
26402 * manual/signal.texi: Likewise.
26403 * manual/socket.texi: Likewise.
26404 * manual/startup.texi: Likewise.
26405 * manual/stdio.texi: Likewise.
26406 * manual/string.texi: Likewise.
26407 * manual/sysinfo.texi: Likewise.
26408 * manual/syslog.texi: Likewise.
26409 * manual/terminal.texi: Likewise.
26410 * manual/time.texi: Likewise.
26411 * manual/users.texi: Likewise.
26412 * INSTALL: Regenerated.
26413 * NOTES: Regenerated.
d40c5d54 26414 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 26415
450bf206
AS
264162012-02-28 Andreas Schwab <schwab@linux-m68k.org>
26417
26418 * include/dirent.h: Include <dirstream.h> before
26419 <dirent/dirent.h>.
26420
741a235b
DM
264212012-02-28 David S. Miller <davem@davemloft.net>
26422
26423 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
26424 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
26425 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
26426 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
26427
d6b5aa58
DM
264282012-02-27 David S. Miller <davem@davemloft.net>
26429
1aff59a3
DM
26430 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
26431 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
26432 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
26433 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
26434
d6b5aa58
DM
26435 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
26436 frame pointer instead of stack pointer relative arg slot.
26437 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26438 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26439 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26440
433f48bf
CD
264412012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
26442
26443 [BZ #3992]
26444 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
26445
d674b76d
DM
264462012-02-27 David S. Miller <davem@davemloft.net>
26447
26448 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
26449 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26450 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
26452 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26453 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26454 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
26455 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
26456
0e7727f7
JM
264572012-02-27 Joseph Myers <joseph@codesourcery.com>
26458
26459 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
26460 later. Allow versions 5-9.
43be4ca2 26461 * configure: Regenerated.
0e7727f7
JM
26462 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
26463 required minimum version and 4.6 as recommended version. Do not
26464 mention bugs in GCC 2.7 and 2.8.
43be4ca2 26465 * INSTALL: Regenerated.
0e7727f7 26466
a78bc654
DM
264672012-02-27 David S. Miller <davem@davemloft.net>
26468
428d5830
DM
26469 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
26470 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
26471 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
26472 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
26473 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
26474 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
26475 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
26476 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
26477
a78bc654
DM
26478 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
26479 manipulate bits before adding and subtracting TWO112[sx].
26480 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26481
4579f81c
RM
264822012-02-27 Roland McGrath <roland@hack.frob.com>
26483
36c8acb4
RM
26484 [BZ #13775]
26485 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
26486 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
26487 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
26488 being in POSIX, because they are in 1003.1-2008.
26489
84ad622b
RM
26490 * rt/tst-aio.c: Include <fcntl.h>.
26491 * rt/tst-aio7.c: Likewise.
26492 * rt/tst-aio64.c: Likewise.
26493
4579f81c
RM
26494 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
26495
abd923db
JM
264962012-02-27 Joseph Myers <joseph@codesourcery.com>
26497
26498 * manual/install.texi (--with-headers): Describe headers as
26499 interface headers, not private headers.
26500 (Specific advice for GNU/Linux systems): Describe use of headers
26501 from "make headers_install", not private headers from older
26502 kernels.
43be4ca2 26503 * INSTALL: Regenerated.
abd923db
JM
26504 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
26505 Change to 2.6.19.
26506 * sysdeps/unix/sysv/linux/configure: Regenerated.
26507
6664049b
JM
26508 * manual/llio.texi (fclean): Remove documentation.
26509
bb8b6697
JM
26510 * manual/Makefile (libc-texi-generated): New variable. Include
26511 version.texi.
26512 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
26513 $(libc-texi-generated), not duplicated list of files.
26514 (version.texi, stamp-version): New rules.
26515 (realclean): Remove $(libc-texi-generated), not individual files
26516 from that list. Do not remove dir-add.texinfo.
26517 * manual/libc.texinfo: Comment out uses of edition numbers and
26518 references to printed manual. Remove last-updated dates.
26519 (EDITION): Comment out.
26520 (ISBN): Likewise.
26521 (VERSION, UPDATED): Remove.
26522 (version.texi): Include.
26523
12e5c3b9
AS
265242012-02-27 Andreas Schwab <schwab@linux-m68k.org>
26525
26526 * sysdeps/posix/spawni.c: Include <signal.h>.
26527 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
26528 * sysdeps/pthread/aio_fsync.c: Likewise.
26529
4efeffc1 265302012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 26531
ba63ba08
UD
26532 * conform/Makefile (tests): Run only when not cross-compiling and
26533 when fast-check is not defined.
26534
d94a4670
UD
26535 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
26536 * conform/data/limits.h-data: Fixes for POSIX2008.
26537 * conform/run-conformtest.sh: Run all tests.
26538 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
26539 headers.
26540 * include/bits/dlfcn.h: Likewise.
26541 * include/langinfo.h: Likewise.
26542 * include/monetary.h: Likewise.
26543 * include/sys/poll.h: Likewise.
26544
26545 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
26546 for __USE_GNU.
26547 * posix/spawn.h: Define __need_sigset_t.
26548 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
26549 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
26550 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
26551 to get sigevent_t only.
26552 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
26553 only for __USE_GNU.
26554 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26555 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26556 process_vm_writev only for __USE_GNU.
26557 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
26558
26559 * conform/Makefile: For now ignore errors from run-conformtest.
26560 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
26561 POSIX to avoid namespace pollution. Don't prepend headers.
26562 * conform/data/aio.h-data: Fixes for POSIX testing.
26563 * conform/data/fcntl.h-data: Likewise.
26564 * conform/data/glob.h-data: Likewise.
26565 * conform/data/grp.h-data: Likewise.
26566 * conform/data/pthread.h-data: Likewise.
26567 * conform/data/pwd.h-data: Likewise.
26568 * conform/data/signal.h-data: Likewise.
26569 * conform/data/spawn.h-data: Likewise.
26570 * conform/data/stdio.h-data: Likewise.
26571 * conform/data/stdlib.h-data: Likewise.
26572 * conform/data/stropts.h-data: Likewise.
26573 * conform/data/sys/mman.h-data: Likewise.
26574 * conform/data/sys/stat.h-data: Likewise.
26575 * conform/data/sys/types.h-data: Likewise.
26576 * conform/data/sys/wait.h-data: Likewise.
26577 * conform/data/time.h-data: Likewise.
26578 * conform/data/unistd.h-data: Likewise.
26579 * conform/data/utime.h-data: Likewise.
26580
26581 * io/sys/stat.h: fchmod was always in POSIX.
26582 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
26583 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
26584 * rt/aio.h: Define __need_timespec before including <time.h>.
26585 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
26586 struct. Add forward declaration of pthread_attr_t and use it in
26587 sigevent.
26588 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26589 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26590 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
26591 always remove CLK_TCK definition.
26592
c20105c3
AS
265932012-02-26 Andreas Schwab <schwab@linux-m68k.org>
26594
26595 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
26596
7a270350
UD
265972012-02-25 Ulrich Drepper <drepper@gmail.com>
26598
31341567
UD
26599 * conform/run-conformtest.sh: New file.
26600 * conform/Makefile: Run run-conformtest for tests.
26601 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
26602 support.
26603
26604 * conform/data/uchar.h-data: New file.
26605 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
26606 * conform/data/arpa/inet.h-data: Likewise.
26607 * conform/data/assert.h-data: Likewise.
26608 * conform/data/complex.h-data: Likewise.
26609 * conform/data/cpio.h-data: Likewise.
26610 * conform/data/ctype.h-data: Likewise.
26611 * conform/data/dirent.h-data: Likewise.
26612 * conform/data/dlfcn.h-data: Likewise.
26613 * conform/data/errno.h-data: Likewise.
26614 * conform/data/fcntl.h-data: Likewise.
26615 * conform/data/float.h-data: Likewise.
26616 * conform/data/fmtmsg.h-data: Likewise.
26617 * conform/data/fnmatch.h-data: Likewise.
26618 * conform/data/ftw.h-data: Likewise.
26619 * conform/data/glob.h-data: Likewise.
26620 * conform/data/grp.h-data: Likewise.
26621 * conform/data/iconv.h-data: Likewise.
26622 * conform/data/inttypes.h-data: Likewise.
26623 * conform/data/langinfo.h-data: Likewise.
26624 * conform/data/libgen.h-data: Likewise.
26625 * conform/data/limits.h-data: Likewise.
26626 * conform/data/locale.h-data: Likewise.
26627 * conform/data/math.h-data: Likewise.
26628 * conform/data/monetary.h-data: Likewise.
26629 * conform/data/mqueue.h-data: Likewise.
26630 * conform/data/ndbm.h-data: Likewise.
26631 * conform/data/net/if.h-data: Likewise.
26632 * conform/data/netdb.h-data: Likewise.
26633 * conform/data/netinet/in.h-data: Likewise.
26634 * conform/data/nl_types.h-data: Likewise.
26635 * conform/data/poll.h-data: Likewise.
26636 * conform/data/pthread.h-data: Likewise.
26637 * conform/data/pwd.h-data: Likewise.
26638 * conform/data/regex.h-data: Likewise.
26639 * conform/data/sched.h-data: Likewise.
26640 * conform/data/search.h-data: Likewise.
26641 * conform/data/semaphore.h-data: Likewise.
26642 * conform/data/setjmp.h-data: Likewise.
26643 * conform/data/signal.h-data: Likewise.
26644 * conform/data/spawn.h-data: Likewise.
26645 * conform/data/stdarg.h-data: Likewise.
26646 * conform/data/stdio.h-data: Likewise.
26647 * conform/data/stdlib.h-data: Likewise.
26648 * conform/data/string.h-data: Likewise.
26649 * conform/data/strings.h-data: Likewise.
26650 * conform/data/stropts.h-data: Likewise.
26651 * conform/data/sys/ipc.h-data: Likewise.
26652 * conform/data/sys/mman.h-data: Likewise.
26653 * conform/data/sys/msg.h-data: Likewise.
26654 * conform/data/sys/resource.h-data: Likewise.
26655 * conform/data/sys/select.h-data: Likewise.
26656 * conform/data/sys/sem.h-data: Likewise.
26657 * conform/data/sys/shm.h-data: Likewise.
26658 * conform/data/sys/socket.h-data: Likewise.
26659 * conform/data/sys/stat.h-data: Likewise.
26660 * conform/data/sys/statvfs.h-data: Likewise.
26661 * conform/data/sys/time.h-data: Likewise.
26662 * conform/data/sys/timeb.h-data: Likewise.
26663 * conform/data/sys/times.h-data: Likewise.
26664 * conform/data/sys/types.h-data: Likewise.
26665 * conform/data/sys/uio.h-data: Likewise.
26666 * conform/data/sys/un.h-data: Likewise.
26667 * conform/data/sys/utsname.h-data: Likewise.
26668 * conform/data/sys/wait.h-data: Likewise.
26669 * conform/data/syslog.h-data: Likewise.
26670 * conform/data/tar.h-data: Likewise.
26671 * conform/data/termios.h-data: Likewise.
26672 * conform/data/utime.h-data: Likewise.
26673 * conform/data/utmpx.h-data: Likewise.
26674 * conform/data/varargs.h-data: Likewise.
26675 * conform/data/wchar.h-data: Likewise.
26676 * conform/data/wctype.h-data: Likewise.
26677 * conform/data/wordexp.h-data: Likewise.
26678
26679 * include/stropts.h: New file.
26680 * include/uchar.h: New file.
26681 * include/aio.h: Changes to allow conformtest.pl to use the headers.
26682 * include/assert.h: Likewise.
26683 * include/ctype.h: Likewise.
26684 * include/dirent.h: Likewise.
26685 * include/dlfcn.h: Likewise.
26686 * include/fcntl.h: Likewise.
26687 * include/fnmatch.h: Likewise.
26688 * include/glob.h: Likewise.
26689 * include/grp.h: Likewise.
26690 * include/libio.h: Likewise.
26691 * include/locale.h: Likewise.
26692 * include/math.h: Likewise.
26693 * include/net/if.h: Likewise.
26694 * include/netdb.h: Likewise.
26695 * include/netinet/in.h: Likewise.
26696 * include/pthread.h: Likewise.
26697 * include/pwd.h: Likewise.
26698 * include/regex.h: Likewise.
26699 * include/sched.h: Likewise.
26700 * include/search.h: Likewise.
26701 * include/setjmp.h: Likewise.
26702 * include/signal.h: Likewise.
26703 * include/stdio.h: Likewise.
26704 * include/stdlib.h: Likewise.
26705 * include/string.h: Likewise.
26706 * include/sys/cdefs.h: Likewise.
26707 * include/sys/mman.h: Likewise.
26708 * include/sys/msg.h: Likewise.
26709 * include/sys/resource.h: Likewise.
26710 * include/sys/select.h: Likewise.
26711 * include/sys/socket.h: Likewise.
26712 * include/sys/stat.h: Likewise.
26713 * include/sys/statvfs.h: Likewise.
26714 * include/sys/time.h: Likewise.
26715 * include/sys/times.h: Likewise.
26716 * include/sys/uio.h: Likewise.
26717 * include/sys/utsname.h: Likewise.
26718 * include/sys/wait.h: Likewise.
26719 * include/termios.h: Likewise.
26720 * include/time.h: Likewise.
26721 * include/ulimit.h: Likewise.
26722 * include/unistd.h: Likewise.
26723 * include/utime.h: Likewise.
26724 * include/wchar.h: Likewise.
26725 * include/wctype.h: Likewise.
26726 * include/wordexp.h: Likewise.
26727
26728 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
26729
7a270350
UD
26730 * time/time.h: TIME_UTC must be a macro.
26731 Make timespec_get available for ISO C11 only as well.
26732
7724defc
UD
267332012-02-24 Ulrich Drepper <drepper@gmail.com>
26734
26735 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
26736 Reported by Peng Haitao <penght@cn.fujitsu.com>.
26737
6b1d1d46
JM
267382012-02-24 Joseph Myers <joseph@codesourcery.com>
26739
26740 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 26741
0f8bbd69
JM
267422012-02-24 Joseph Myers <joseph@codesourcery.com>
26743
26744 * manual/texinfo.tex: Update to version 2012-01-19.16.
26745
66ab80bc
JM
267462012-02-24 Joseph Myers <joseph@codesourcery.com>
26747
26748 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
26749
74981cc5
RM
267502012-02-24 Roland McGrath <roland@hack.frob.com>
26751
ee968201
RM
26752 [BZ #13738]
26753 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
26754 * manual/fdl-1.3.texi: New file.
26755 * manual/fdl-1.1.texi: File removed.
26756
74981cc5
RM
26757 [BZ #13738]
26758 * manual/libc.texinfo (FDL_VERSION): New @set.
26759 Use it for mention of FDL in cover text.
26760 (Documentation License): Use it in @include file name.
26761
7bb764bc
JM
267622012-02-22 Joseph Myers <joseph@codesourcery.com>
26763 Roland McGrath <roland@hack.frob.com>
26764
26765 [BZ #5461]
26766 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
26767 not LONG_LONG_MAX and LONG_LONG_MIN.
26768 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
26769 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
26770 name.
26771 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
26772
6cbeae47
JM
267732012-02-22 Joseph Myers <joseph@codesourcery.com>
26774
26775 [BZ #2547]
26776 [BZ #11365]
26777 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
26778 manipulate bits before adding and subtracting TWO23[sx].
26779 * math/libm-test.inc (nearbyint_test): Add more tests.
26780
fe45ce09
JM
267812012-02-22 Joseph Myers <joseph@codesourcery.com>
26782
26783 [BZ #2548]
26784 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
26785 bits before adding and subtracting TWO23[sx].
26786 * math/libm-test.inc (rint_test): Add more tests.
26787 (rint_test_tonearest): Likewise.
26788 (rint_test_towardzero): Likewise.
26789 (rint_test_downward): Likewise.
26790 (rint_test_upward: Likewise.
26791
ff3b3d82
JM
267922012-02-22 Joseph Myers <joseph@codesourcery.com>
26793
26794 [BZ #10110]
26795 * include/stdc-predef.h: New file. Extracted from features.h.
26796 * include/features.h: Include stdc-predef.h.
26797 * Makefile (headers): Add stdc-predef.h.
26798 * CONFORMANCE (Compiler limitations): Update.
26799
ef0aab35
JM
268002012-02-22 Joseph Myers <joseph@codesourcery.com>
26801
26802 * manual/libc.texinfo (VERSION, UPDATED): Revert.
26803
58639409
DM
268042012-02-21 David S. Miller <davem@davemloft.net>
26805
26806 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
26807 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26808
c0e70b25
DM
268092012-02-20 David S. Miller <davem@davemloft.net>
26810
26811 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
26812 using a normal save/restore sequence, rather than allocating a
26813 dummy stack frame just to store a frame pointer and restore.
26814 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26815
fb06851d
JM
268162012-02-21 Joseph Myers <joseph@codesourcery.com>
26817
26818 * manual/install.texi: Fix stray word in line-wrapped comment.
26819
7a8b71c3
DM
268202012-02-20 David S. Miller <davem@davemloft.net>
26821
d510c123
DM
26822 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
26823 both binutils and gcc support GOTDATA.
26824
0722d7c2
DM
26825 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
26826 "rd %pc" in the PIC register setup sequences.
26827
3d2b3019
DM
26828 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
26829 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
26830 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26831 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
26832 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26833 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26834 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26835 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26836 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
26837 (SYSCALL_ERROR_HANDLER): Likewise.
26838 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26839 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26840 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
26841 (SYSCALL_ERROR_HANDLER): Likewise.
26842
c80098a9
DM
26843 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
26844 (HAVE_GCC_GOTDATA): New.
26845 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
26846 relocation support in both binutils and gcc.
26847 * sysdeps/sparc/elf/configure: Regenerate.
26848
3a2545a0
DM
26849 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
26850 * sysdeps/sparc/sparc32/elf/configure: Delete.
26851 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
26852 * sysdeps/sparc/sparc64/elf/configure: Delete.
26853 * sysdeps/sparc/elf/configure.in: New file.
26854 * sysdeps/sparc/elf/configure: Generate.
26855
7a8b71c3
DM
26856 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
26857 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
26858 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
26859 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
26860 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
26861
f1e86fca
JM
268622012-02-21 Joseph Myers <joseph@codesourcery.com>
26863
26864 * manual/install.texi: Do not mention specific glibc version
26865 numbers.
26866 * manual/libc.texinfo (VERSION, UPDATED): Update.
26867 (@copying): Use @copyright{} and range of years.
26868
0e7dfaef
JM
268692012-02-21 Joseph Myers <joseph@codesourcery.com>
26870
26871 [BZ #13695]
26872 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
26873 [crti.S not in sysdirs] (generated): Do not append.
26874 [crti.S not in sysdirs] (omit-deps): Likewise.
26875 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
26876 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
26877 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
26878 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
26879 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
26880 Likewise.
26881 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
26882 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
26883 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
26884 * csu/defs.awk: Remove file.
26885 * sysdeps/generic/initfini.c: Likewise.
26886 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
26887 variable.
26888 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
26889 Likewise.
26890
599af3ca
JM
268912012-02-20 Joseph Myers <joseph@codesourcery.com>
26892
26893 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
26894 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
26895 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
26896 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
26897 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26898 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
26899 <bits/epoll.h>.
26900 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
26901 (__EPOLL_PACKED): Define to empty if not defined by
26902 <bits/epoll.h>.
26903 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
26904 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26905 bits/epoll.h.
26906
0e499750
JM
269072012-02-20 Joseph Myers <joseph@codesourcery.com>
26908
26909 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
26910 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
26911 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
26912 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
26913 <bits/timerfd.h>.
26914 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
26915 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26916 bits/timerfd.h.
26917
5ad91f6e
JM
269182012-02-20 Joseph Myers <joseph@codesourcery.com>
26919
26920 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
26921 in C locale.
26922 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26923 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26924 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
26925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26926
06b99b02
AJ
269272012-02-20 Aurelien Jarno <aurelien@aurel32.net>
26928
26929 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26930 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26931
7638c0fd
AS
269322012-02-19 Andreas Schwab <schwab@linux-m68k.org>
26933
26934 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
26935 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
26936 defined.
26937 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
26938 Likewise.
26939 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
26940 entry for 2.16.
26941
92221550
AJ
269422012-02-19 Aurelien Jarno <aurelien@aurel32.net>
26943
26944 * math/w_acos.c: Use non-signaling floating-point comparisons.
26945 * math/w_acosf.c: Likewise.
26946 * math/w_acosh.c: Likewise.
26947 * math/w_acoshf.c: Likewise.
26948 * math/w_acoshl.c: Likewise.
26949 * math/w_acosl.c: Likewise.
26950 * math/w_asin.c: Likewise.
26951 * math/w_asinf.c: Likewise.
26952 * math/w_asinl.c: Likewise.
26953 * math/w_atanh.c: Likewise.
26954 * math/w_atanhf.c: Likewise.
26955 * math/w_atanhl.c: Likewise.
26956 * math/w_exp2.c: Likewise.
26957 * math/w_exp2f.c: Likewise.
26958 * math/w_exp2l.c: Likewise.
26959 * math/w_j0.c: Likewise.
26960 * math/w_j0f.c: Likewise.
26961 * math/w_j0l.c: Likewise.
26962 * math/w_j1.c: Likewise.
26963 * math/w_j1f.c: Likewise.
26964 * math/w_j1l.c: Likewise.
26965 * math/w_jn.c: Likewise.
26966 * math/w_jnf.c: Likewise.
26967 * math/w_log.c: Likewise.
26968 * math/w_log10.c: Likewise.
26969 * math/w_log10f.c: Likewise.
26970 * math/w_log10l.c: Likewise.
26971 * math/w_log2.c: Likewise.
26972 * math/w_log2f.c: Likewise.
26973 * math/w_log2l.c: Likewise.
26974 * math/w_logf.c: Likewise.
26975 * math/w_logl.c: Likewise.
26976 * math/w_sqrt.c: Likewise.
26977 * math/w_sqrtf.c: Likewise.
26978 * math/w_sqrtl.c: Likewise.
26979 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26980 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
26981 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26982 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26983 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26984
ebaf36eb
JM
269852012-02-19 Joseph Myers <joseph@codesourcery.com>
26986
26987 [BZ #9739]
26988 * manual/string.texi (strnlen): Use correct parameter name in
26989 equivalent expression.
26990
71c254a6
JM
269912012-02-19 Joseph Myers <joseph@codesourcery.com>
26992
26993 [BZ #11174]
26994 * manual/users.texi (seteuid): Consistently use neweuid for
26995 argument name.
26996
16d2c631
JM
269972012-02-19 Joseph Myers <joseph@codesourcery.com>
26998
26999 [BZ #13704]
27000 * manual/nss.texi (Services in the NSS configuration): Correct
27001 list of services in example configuration file.
27002
cd837b09
NB
270032012-02-19 Nick Bowler <nbowler@draconx.ca>
27004
27005 [BZ #11322]
27006 * manual/arith.texi: Remove statements about negative zero
27007 behaving identically to zero.
27008
02c4bbad
JM
270092012-02-18 Joseph Myers <joseph@codesourcery.com>
27010
27011 [BZ #5993]
27012 * manual/install.texi: Do not document upgrading from libc5.
27013
366842e7
JM
270142012-02-18 Joseph Myers <joseph@codesourcery.com>
27015
27016 [BZ #4596]
27017 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
27018
dd54084d
DM
270192012-02-18 David S. Miller <davem@davemloft.net>
27020
27021 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
27022 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
27023 %o7 across the call.
27024 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
27025 instead.
27026 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
27027 SETUP_PIC_REG_LEAF.
27028 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27029 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
27030 * sysdeps/sparc/crtn.S: Likewise.
27031
2bcc53a3
UD
270322012-02-17 Ulrich Drepper <drepper@gmail.com>
27033
27034 * aout/Makefile: Remove.
27035
09c093b5
RK
270362012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
27037
27038 [BZ #13058]
27039 * manual/examples/argp-ex1.c (main): Format definition in GNU
27040 style.
27041 * manual/examples/argp-ex2.c (main): Likewise.
27042 * manual/examples/argp-ex3.c (main): Likewise.
27043 * manual/examples/argp-ex4.c (main): Likewise.
27044 * manual/examples/longopt.c (main): Use new-style prototype
27045 definition.
27046 * manual/examples/strncat.c (main): Specify return type and use
27047 (void) for arguments.
27048 * manual/examples/subopt.c (main): Use char **argv argument.
27049
2ee633a2
JM
270502012-02-17 Joseph Myers <joseph@codesourcery.com>
27051
27052 [BZ #5077]
27053 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
27054 rounding modes.
27055
0520adde
FB
270562012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
27057
27058 [BZ #6907]
27059 * manual/string.texi (strchr): Change when strchrnul is
27060 recommended.
27061
3f4081cd
DGM
270622012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
27063
27064 [BZ #174]
27065 * manual/locale.texi (setlocale): Document LOCPATH.
27066
d1b10e78
JM
270672012-02-17 Joseph Myers <joseph@codesourcery.com>
27068
27069 [BZ #10210]
27070 * manual/process.texi (execle): Move @dots{} before last argument.
27071
79c6869c
PB
270722012-02-17 Paul Bolle <pebolle@tiscali.nl>
27073
27074 [BZ #12047]
27075 * manual/charset.texi (Generic Charset Conversion): Fix typo
27076 (LC_TYPE -> LC_CTYPE).
27077
cc6e48bc
NB
270782012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
27079
27080 [BZ #5805]
27081 * manual/arith.texi (scalbn): Use @var{} on parameter names.
27082 (scalbnf): Likewise.
27083 (scalbnl): Likewise.
27084 (scalbln): Likewise.
27085 (scalblnf): Likewise.
27086 (scalblnl): Likewise.
27087 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
27088 (vwarnx): Likewise.
27089 (verr): Likewise.
27090 (verrx): Likewise.
27091 * manual/filesys.texi (telldir): Use braces around return type.
27092 * manual/llio.texi (mmap): Add space after comma.
27093 (mmap64): Likewise.
27094 * manual/math.texi (jn): Use @var{} on parameter names.
27095 (jnf): Likewise.
27096 (jnl): Likewise.
27097 (yn): Likewise.
27098 (ynf): Likewise.
27099 (ynl): Likewise.
27100 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
27101 line.
27102 * manual/resource.texi (ulimit): Use @dots{} instead of literal
27103 "...".
27104 (sched_get_priority_min): Remove semicolon on @deftypefun line.
27105 (sched_get_priority_max): Likewise.
27106 * manual/signal.texi (sigvec): Add space after comma.
27107 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
27108 names.
27109 (if_indextoname): Likewise.
27110 (if_freenameindex): Likewise.
27111 (sendto): Use ',' instead of '.' in prototype.
27112 * manual/startup.texi (syscall): Use @dots{} instead of literal
27113 "...".
27114 * manual/stdio.texi (__fpending): Separate initial words of
27115 paragraph from @deftypefun line.
27116 * manual/syslog.texi (syslog): Use @dots{} instead of literal
27117 "...".
27118 (vsyslog): Use @var{} on parameter names.
27119 * manual/terminal.texi (stty): Use @var{} on parameter names.
27120 * manual/users.texi (getutmp): Use @var{} on parameter names.
27121 (getutmpx): Likewise.
27122
5b23062f
JM
271232012-02-17 Joseph Myers <joseph@codesourcery.com>
27124
27125 [BZ #6884]
27126 * manual/stdio.texi (fopen): Fix typos in description of
27127 ",ccs=STRING".
27128
8dee4833
AJ
271292012-02-17 Aurelien Jarno <aurelien@aurel32.net>
27130
27131 [BZ #4026]
27132 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
27133 get clock_id definition.
27134
9078ce93
TS
271352012-02-17 Thomas Schwinge <thomas@schwinge.name>
27136
27137 [BZ #4822]
27138 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
27139 (madvise): Cast every argument to void on its own.
27140
3835c55f
JM
271412012-02-17 Joseph Myers <joseph@codesourcery.com>
27142
27143 [BZ #9902]
27144 * manual/startup.texi (Exit Status): Fix typo.
27145
35c47e37
JM
271462012-02-17 Joseph Myers <joseph@codesourcery.com>
27147
27148 [BZ #10140]
27149 * manual/examples/argp-ex1.c: Include <stdlib.h>.
27150 * manual/examples/argp-ex2.c: Likewise.
27151 * manual/examples/argp-ex3.c: Likewise.
27152
e3b69ca7
RH
271532012-02-16 Richard Henderson <rth@redhat.com>
27154
27155 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
27156 * sysdeps/s390/s390-32/initfini.c: Remove.
27157 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
27158 * sysdeps/s390/s390-64/initfini.c: Remove.
27159
df83af67
KK
271602012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27161
27162 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
27163 compiler output for sysdeps/generic/initfini.c.
27164 * sysdeps/sh/elf/initfini.c: Remove file.
27165
f63f3380
DM
271662012-02-16 David S. Miller <davem@davemloft.net>
27167
fb59b3a4
DM
27168 [BZ #11494]
27169 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
27170
f63f3380
DM
27171 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
27172 * sysdeps/sparc/crti.S: New file.
27173 * sysdeps/sparc/crtn.S: New file.
27174 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
27175 * sysdeps/sparc/sparc64/Makefile: Likewise.
27176
df6a4a4a
MF
271772012-02-15 Mike Frysinger <vapier@gentoo.org>
27178
6dd8f3dc 27179 [BZ #3335]
df6a4a4a
MF
27180 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
27181
1cac7236
RM
271822012-02-15 Roland McGrath <roland@hack.frob.com>
27183
d2c736f8
RM
27184 [BZ #4822]
27185 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
27186
1cac7236
RM
27187 * mach/devstream.c (cookie_io_functions_t): Macro removed.
27188 (write, read, close): Likewise.
27189 Patch by Aurelien Jarno <aurelien@aurel32.net>.
27190
8e475601
JM
271912012-02-15 Joseph Myers <joseph@codesourcery.com>
27192
27193 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
27194 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
27195 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
27196 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
27197 <bits/signalfd.h>.
27198 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
27199 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27200 bits/signalfd.h.
27201
ed656b40
MP
272022012-02-14 Marek Polacek <polacek@redhat.com>
27203
27204 * sysdeps/x86_64/crti.S: New file.
27205 * sysdeps/x86_64/crtn.S: New file.
27206 * sysdeps/x86_64/elf/initfini.c: Remove file.
27207
2a979d3a
JM
272082012-02-13 Joseph Myers <joseph@codesourcery.com>
27209
27210 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
27211 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
27212 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
27213 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
27214 <bits/inotify.h>.
27215 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
27216 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27217 bits/inotify.h.
27218
2a418ac3
JM
272192012-02-13 Joseph Myers <joseph@codesourcery.com>
27220
27221 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
27222 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
27223 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
27224 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
27225 <bits/eventfd.h>.
27226 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
27227 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27228 bits/eventfd.h.
27229
fb779be7
TS
272302012-02-10 Thomas Schwinge <thomas@codesourcery.com>
27231
e19e83c5
RM
27232 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
27233 __feraiseexcept instead of feraiseexcept.
7c35ffed 27234
fb779be7
TS
27235 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
27236 nanosleep invocations.
27237 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
27238 strings, and add error checking for a nanosleep invocations.
27239
59ba27a6
PE
272402012-02-09 Paul Eggert <eggert@cs.ucla.edu>
27241
27242 Replace FSF snail mail address with URLs, as per GNU coding standards.
27243 Most of the snail mail addresses were wrong anyway, and omitting
27244 them makes the source code easier to maintain. Almost all of the
27245 changes are to license notices and to locale LC_IDENTIFICATION
27246 addresses, except for this one:
27247 * manual/libc.texinfo: In "Published by", give the FSF's URL,
27248 not its snail mail address.
27249
57b957eb
RH
272502012-02-09 Richard Henderson <rth@twiddle.net>
27251
af850b1c
RH
27252 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
27253 of kernel-features.h.
27254
57b957eb
RH
27255 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
27256
6b73181a
MP
272572012-02-08 Marek Polacek <polacek@redhat.com>
27258
27259 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
27260 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
27261 * sysdeps/gnu/_G_config.h: Likewise.
27262 * sysdeps/generic/_G_config.h: Likewise.
27263
26ecc33a
AS
272642012-02-08 Andreas Schwab <schwab@linux-m68k.org>
27265
6c6dbc63
AS
27266 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
27267 tests.
27268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27269
e216c012
AS
27270 * sysdeps/powerpc/powerpc32/crti.S: New file.
27271 * sysdeps/powerpc/powerpc32/crtn.S: New file.
27272 * sysdeps/powerpc/powerpc64/crti.S: New file.
27273 * sysdeps/powerpc/powerpc64/crtn.S: New file.
27274
26ecc33a
AS
27275 * Makeconfig (have-initfini): Don't set.
27276 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
27277 * configure.in (nopic_initfini): Don't substitute.
27278 * config.h.in (HAVE_INITFINI): Don't #undef.
27279 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
27280 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
27281
3add8e13
JM
272822012-02-08 Joseph Myers <joseph@codesourcery.com>
27283
27284 Support crti.S and crtn.S provided directly by architectures.
27285 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
27286 [crti.S in sysdirs] (omit-deps): Likewise.
27287 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
27288 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
27289 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
27290 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
27291 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
27292 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
27293 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
27294 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
27295 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
27296 compiler output for sysdeps/generic/initfini.c.
27297 * sysdeps/i386/elf/Makefile: Remove file.
27298 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
27299
a22f12b4
MP
273002012-02-07 Marek Polacek <polacek@redhat.com>
27301
27302 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
27303 * sysdeps/gnu/_G_config.h: Likewise.
27304 * sysdeps/mach/hurd/_G_config.h: Likewise.
27305
148cf100
MP
273062012-02-07 Marek Polacek <polacek@redhat.com>
27307
27308 * math/Makefile (tests): Add tst-CMPLX2.
27309 * math/tst-CMPLX2.c: New file.
27310
cfdc0dd7
AS
273112012-02-07 Andreas Schwab <schwab@linux-m68k.org>
27312
84ba42c4
AS
27313 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27314
cfdc0dd7
AS
27315 * math/libm-test.inc (jn_test): Add missing L suffix.
27316
622c86f4
MP
273172012-02-06 Marek Polacek <polacek@redhat.com>
27318
27319 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
27320 * sysdeps/i386/fpu/e_powf.S: Likewise.
27321 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27322 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27323 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27324 * sysdeps/i386/fpu/e_pow.S: Likewise.
27325 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27326 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27327 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27328 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27329 * sysdeps/i386/fpu/e_log2.S: Likewise.
27330 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27331 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27332 * sysdeps/i386/fpu/e_powl.S: Likewise.
27333 * sysdeps/i386/fpu/s_log1p.S: Likewise.
27334 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27335 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27336 * sysdeps/i386/fpu/e_logl.S: Likewise.
27337 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27338 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
27339 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27340 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27341 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27342 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27343 * sysdeps/i386/fpu/e_log.S: Likewise.
27344 * sysdeps/i386/fpu/s_cexp.S: Likewise.
27345 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27346 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
27347 * sysdeps/i386/fpu/e_logf.S: Likewise.
27348 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27349 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27350 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
27351 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27352 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27353 * sysdeps/i386/fpu/e_log10.S: Likewise.
27354 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27355 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27356 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27357 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27358 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27359 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27360 * sysdeps/i386/asm-syntax.h: Likewise.
27361 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27362 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27363 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27364 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
27365 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
27366 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27367 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27368 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27369 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27370 * sysdeps/powerpc/sysdep.h: Likewise.
27371 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
27372 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27373
d4a54ac6
JM
273742012-02-06 Joseph Myers <joseph@codesourcery.com>
27375
27376 [BZ #411]
27377 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
27378
314054ea
JM
273792012-02-06 Joseph Myers <joseph@codesourcery.com>
27380
27381 * sysdeps/i386/sysdep.h: Include <features.h>.
27382 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
27383 version.
27384
d8e0ca50
JM
273852012-02-05 Joseph Myers <joseph@codesourcery.com>
27386
27387 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
27388 Define.
27389 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
27390 LOAD_PIC_REG_STR.
27391
b1da7dd9
JM
273922012-02-03 Joseph Myers <joseph@codesourcery.com>
27393
27394 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
27395 (SETUP_PIC_REG): Use GET_PC_THUNK.
27396 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
27397 macro.
27398
9a1d9254
JM
273992012-02-03 Joseph Myers <joseph@codesourcery.com>
27400
27401 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
27402 for non-PIC compilation.
27403 (SETUP_PIC_REG): Add .p2align directive.
27404 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
27405 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
27406 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27407 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27408 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27409 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27410 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
27411 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27412 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27413 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27414 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27415 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27416 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27417 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27418 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27419 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27420 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27421 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27422 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27423 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27424 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27425 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27426 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27427 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27428 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27429 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27430 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27431 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27432 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27433 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27434 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27435 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27436 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27437 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27438 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27439 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27440 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27441 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27442 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27443 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27444 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27445
65dc3b75
JM
274462012-02-03 Joseph Myers <joseph@codesourcery.com>
27447
27448 * math/tst-CMPLX.c: Include <stdio.h>.
27449
d55bf177
JM
274502012-01-31 Joseph Myers <joseph@codesourcery.com>
27451
27452 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
27453 float.
27454 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27455 * sysdeps/sparc/bits/mathdef.h: Likewise.
27456
69db4f8f
MP
274572012-01-31 Marek Polacek <polacek@redhat.com>
27458
27459 * libio/libio.h: Don't define _PARAMS.
27460 * locale/programs/config.h: Don't define PARAMS.
27461 * stdlib/strtol_l.c: Likewise.
27462 (__strtol_l): Remove PARAMS from the prototype.
27463
41b81892
UD
274642012-01-31 Ulrich Drepper <drepper@gmail.com>
27465
3b49edc0
UD
27466 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
27467 names. Just use the correct names. Remove unnecessary wrapper
27468 functions.
27469 * malloc/arena.c: Likewise.
27470 * malloc/hooks.c: Likewise.
27471
41b81892
UD
27472 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
27473 ARENA_TEST says not to. Simplify test for creation of a new arena.
27474 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
27475
27a25b6e
UD
274762012-01-30 Ulrich Drepper <drepper@gmail.com>
27477
27478 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
27479 into tail calls.
27480 (update_get_addr): New function.
27481 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
27482 GET_ADDR_MODULE parameter.
27483
c8a89e7d
JM
274842012-01-30 Joseph Myers <joseph@codesourcery.com>
27485
27486 * crypt/cert.c: Remove __STDC__ conditionals.
27487 * crypt/crypt-entry.c: Likewise.
27488 * crypt/crypt_util.c: Likewise.
27489 * libio/filedoalloc.c: Likewise.
27490 * libio/fileops.c: Likewise.
27491 * libio/genops.c: Likewise.
27492 * libio/iofclose.c: Likewise.
27493 * libio/iofdopen.c: Likewise.
27494 * libio/iofopen.c: Likewise.
27495 * libio/iofopen64.c: Likewise.
27496 * libio/iogetdelim.c: Likewise.
27497 * libio/iopopen.c: Likewise.
27498 * libio/obprintf.c: Likewise.
27499 * libio/oldfileops.c: Likewise.
27500 * libio/oldiofclose.c: Likewise.
27501 * libio/oldiofdopen.c: Likewise.
27502 * libio/oldiofopen.c: Likewise.
27503 * libio/oldiopopen.c: Likewise.
27504 * libio/wfiledoalloc.c: Likewise.
27505 * libio/wgenops.c: Likewise.
27506 * locale/programs/xmalloc.c: Likewise.
27507 * misc/syslog.c: Likewise.
27508 * stdio-common/xbug.c: Likewise.
27509 * string/memchr.c: Likewise.
27510 * string/memcmp.c: Likewise.
27511 * string/memrchr.c: Likewise.
27512 * string/rawmemchr.c: Likewise.
27513 * sysdeps/posix/getcwd.c: Likewise.
27514 * time/strftime_l.c: Likewise.
27515
3b100462
JM
275162012-01-30 Joseph Myers <joseph@codesourcery.com>
27517
27518 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
27519 * config.make.in (config-cflags-sse2avx): Define.
27520 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
27521 Fix typo.
27522
607998af
CM
275232012-01-29 Chris Metcalf <cmetcalf@tilera.com>
27524
27525 * scripts/config.guess: Update from upstream config git repository.
27526 * scripts/config.sub: Likewise.
27527
3601428f
CM
275282012-01-28 Chris Metcalf <cmetcalf@tilera.com>
27529
3ac8b282
CM
27530 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
27531 (EM_NUM): Update.
27532 (R_TILEPRO_*, R_TILEGX_*): New macros.
27533
e034841e
CM
27534 * scripts/firstversions.awk: Fix bug in version range handling.
27535
540d7568
CM
27536 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
27537
3601428f
CM
27538 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
27539
463de862
CM
27540 * include/sys/epoll.h: New file.
27541 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
27542 libc_hidden_def.
27543
73139a76
UD
275442012-01-28 Ulrich Drepper <drepper@gmail.com>
27545
96bc5b45
UD
27546 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
27547 Avoid unnecessary __WORDSIZE == 64 test.
27548 (fmaxf): Use VEX format if possible.
27549 (fmax): Likewise.
27550 (fminf): Likewise.
27551 (fmin): Likewise.
27552
56f6f6a2
UD
27553 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
27554 * math/math_private.h: Remove libc_fegetround* and
27555 libc_fesetround*.
27556 * sysdeps/i386/configure.in: Check for -msse2avx.
27557 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
27558 also if SSE2AVX is defined.
27559 Remove libc_fegetround* and libc_fesetround*.
27560 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
27561 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
27562 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
27563 of HAS_YMM_USABLE.
27564 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27565 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27566 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27567 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27568 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27569
73139a76
UD
27570 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
27571
d73f93a4
AZ
275722012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27573
27574 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
27575 size is not set.
27576 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27577
6ee65ed6
UD
275782012-01-27 Ulrich Drepper <drepper@gmail.com>
27579
27580 [BZ #13618]
27581 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
27582 relocation.
27583 * Makeconfig (libm): Define.
27584 * elf/Makefile: Add rules to build and run tst-relsort1.
27585 * elf/tst-relsort1.c: New file.
27586 * elf/tst-relsort1mod1.c: New file.
27587 * elf/tst-relsort1mod2.c: New file.
27588
8db21882
JM
275892012-01-27 Joseph Myers <joseph@codesourcery.com>
27590
27591 * math/s_ldexp.c: Remove __STDC__ conditionals.
27592 * math/s_ldexpf.c: Likewise.
27593 * math/s_ldexpl.c: Likewise.
27594 * math/s_nextafter.c: Likewise.
27595 * math/s_nexttowardf.c: Likewise.
27596 * math/s_significand.c: Likewise.
27597 * math/s_significandf.c: Likewise.
27598 * math/s_significandl.c: Likewise.
27599 * math/w_jnl.c: Likewise.
27600 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27601 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27602 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27603 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27604 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27605 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27606 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
27607 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27608 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27609 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27610 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27611 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27612 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27613 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27614 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27615 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27616 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27617 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27618 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27619 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27620 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27621 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27622 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27623 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27624 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27625 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27626 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27627 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27628 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27629 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27630 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27631 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27632 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27633 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27634 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27635 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27636 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27637 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27638 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27639 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27640 * sysdeps/ieee754/k_standard.c: Likewise.
27641 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27642 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27643 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27644 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27645 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27646 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27647 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27648 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27649 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27650 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27651 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27652 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27653 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27654 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27655 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27656 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27657 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27658 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27659 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27660 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27661 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27662 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27663 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27664 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27665 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27666 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27667 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27668 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27669 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27670 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27671 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27672 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
27673 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27674 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27675 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27676 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27677 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
27678 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27679 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27680 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
27681 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
27682 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27683 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
27684 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
27685 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27686 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27687 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27688 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27689 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27690 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
27691 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
27692 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27693 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27694 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27695 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27696 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27697 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
27698 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27699 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27700 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27701 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27702 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27703 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27704 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27705 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27706 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27707 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27708 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27709 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27710 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27711 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27712 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27713 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27714 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27715 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27716 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27717 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27718 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27719 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27720 * sysdeps/ieee754/s_matherr.c: Likewise.
27721 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27722 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27723 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27724 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27725
965a54a4
JM
277262012-01-26 Joseph Myers <joseph@codesourcery.com>
27727
27728 * crypt/md5.h: Remove __STDC__ conditionals.
27729 * libio/libioP.h: Likewise.
27730 * locale/programs/config.h: Likewise.
27731 * sysdeps/generic/sysdep.h: Likewise.
27732 * sysdeps/i386/asm-syntax.h: Likewise.
27733 * sysdeps/s390/asm-syntax.h: Likewise.
27734 * sysdeps/unix/sysdep.h: Likewise.
27735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27737
7071ad79
JM
277382012-01-26 Joseph Myers <joseph@codesourcery.com>
27739
27740 * libio/libio.h: Remove __STDC__ conditionals.
27741 * malloc/obstack.h: Likewise.
27742 * math/complex.h: Likewise.
27743 * math/math.h: Likewise.
27744 * sysdeps/generic/_G_config.h: Likewise.
27745 * sysdeps/gnu/_G_config.h: Likewise.
27746 * sysdeps/mach/hurd/_G_config.h: Likewise.
27747 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27748 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27749 * sysdeps/sparc/bits/mathdef.h: Likewise.
27750
afc5ed09
UD
277512012-01-26 Ulrich Drepper <drepper@gmail.com>
27752
27753 [BZ #13583]
27754 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 27755 Clean up HAS_* macros.
afc5ed09 27756 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
27757 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
27758 possible.
27759 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
27760 HAS_AVX.
27761 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27762 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27763 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27764 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27765 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 27766
bdb6de1d
JM
277672012-01-25 Joseph Myers <joseph@codesourcery.com>
27768
27769 * elf/tst-unique3.cc (gets): Remove declaration.
27770 * elf/tst-unique3lib.cc (gets): Likewise.
27771 * elf/tst-unique3lib2.cc (gets): Likewise.
27772 * elf/tst-unique4.cc (gets): Likewise.
27773
b15549e6
UD
277742012-01-24 Ulrich Drepper <drepper@gmail.com>
27775
27776 * include/stdio.h: Add C++ protection. Add gets declarations and
27777 definitions.
27778 * debug/tst-chk1.c: Don't declare gets here.
27779 * stdio-common/tst-gets.c: Likewise.
27780
a037381f
JM
277812012-01-24 Joseph Myers <joseph@codesourcery.com>
27782
27783 * posix/glob: Remove directory.
27784
f1d4aa75
JM
277852012-01-24 Joseph Myers <joseph@codesourcery.com>
27786
27787 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
27788
81c0c964
PT
277892012-01-22 Pino Toscano <toscano.pino@tiscali.it>
27790
27791 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
27792 of the non-standard EPFNOSUPPORT.
27793
0ea698ae
ST
277942011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
27795
27796 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
27797 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
27798 ANYWHERE set to 1 only on KERN_NO_SPACE error.
27799
d220b117
UD
278002012-01-21 Ulrich Drepper <drepper@gmail.com>
27801
27802 * wcsmbs/uchar.h: Test __STDC_VERSION__.
27803
3e1aa84e
UD
278042012-01-20 Ulrich Drepper <drepper@gmail.com>
27805
27806 * nscd/aicache.c (addhstaiX): Do not cache negative results of
27807 transient errors.
27808 * nscd/grpcache.c (cache_addgr): Likewise.
27809 * nscd/hstcache.c (cache_addhst): Likewise.
27810 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27811 * nscd/pwdcache.c (cache_addpw): Likewise.
27812 * nscd/servicescache.c (cache_addserv): Likewise.
27813
400aa020
UD
278142012-01-16 Ulrich Drepper <drepper@gmail.com>
27815
d77e7869
UD
27816 * malloc/malloc.c: Various cleanups.
27817 * malloc/hooks.c: Likewise.
27818
400aa020
UD
27819 * stdlib/Makefile (tests): Add bug-fmtmsg1.
27820 * stdlib/bug-fmtmsg1.c: New file.
27821
27822 * stdlib/fmtmsg.c (init): Add missing unlock.
27823 Patch by Peng Haitao <penght@cn.fujitsu.com>.
27824
e0a309cf
MP
278252012-01-12 Marek Polacek <polacek@redhat.com>
27826
27827 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
27828 and _GNU_SOURCE.
27829
929d11c7
WS
278302012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27831
27832 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
27833 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
27834 macro to ensure uniqueness of label name.
27835 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27836 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27837
41d0e869
UD
278382012-01-11 Ulrich Drepper <drepper@gmail.com>
27839
0cc5ed3b
UD
27840 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
27841
41d0e869
UD
27842 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
27843 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27844 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27845 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
27846
a47a831a
UD
278472012-01-10 Ulrich Drepper <drepper@gmail.com>
27848
daa891c0
UD
27849 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
27850
27851 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
27852 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27853 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27854
e58ef0f2
UD
27855 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
27856
a47a831a 27857 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
27858 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27859 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 27860 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
27861
27862 * math/bits/math-finite.h: Add ldexp support.
27863
a0bfc9c7
MP
278642012-01-10 Marek Polacek <polacek@redhat.com>
27865
27866 * locale/programs/localedef.h (show_archive_content): Add noreturn
27867 attribute.
27868
d6e97a1d
UD
278692012-01-09 Ulrich Drepper <drepper@gmail.com>
27870
27871 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
27872
d5835c26
UD
278732012-01-08 Ulrich Drepper <drepper@gmail.com>
27874
e5f484c6
UD
27875 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
27876
d5835c26
UD
27877 * io/Makefile (headers): Add bits/poll2.h.
27878
d1f741e9
WS
278792011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
27880
27881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
27882 typo #include statement.
27883
ec09c1c4
UD
278842012-01-08 Ulrich Drepper <drepper@gmail.com>
27885
27886 * include/sys/cdefs.h: Define __attribute_alloc_size.
27887 * catgets/gencat.c: Add alloc_size attribute and apply consistently
27888 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
27889 * elf/pldd.c: Likewise.
27890 * iconv/iconv_charmap.c: Likewise.
27891 * iconv/iconvconfig.c: Likewise.
27892 * iconv/strtab.c: Likewise.
27893 * locale/programs/locale.c: Likewise.
27894 * locale/programs/localedef.h: Likewise.
27895 * locale/programs/simple-hash.c: Likewise.
27896 * nscd/nscd.h: Likewise.
27897 * nss/makedb.c: Likewise.
27898 * sysdeps/generic/ldconfig.h: Likewise.
27899 * locale/programs/localedef.c: Remove xmalloc prototype.
27900 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
27901
20b38e03
PP
279022012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27903
27904 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
27905 appropriate.
27906
a0da5fe1
UD
279072012-01-08 Ulrich Drepper <drepper@gmail.com>
27908
1d5a644a 27909 * math/Makefile (tests): Add tst-CMPLX.
669704fd 27910 * math/tst-CMPLX.c: New file.
1d5a644a 27911
8784a6db
UD
27912 * math/complex.h (CMPLXL): Fix typo.
27913
d9a216c0
UD
27914 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
27915 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
27916 GLIBC_2.16.
27917 * debug/tst-chk1.c: Add poll and ppoll tests.
27918 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
27919 * include/sys/poll.h: Add hidden proto for ppoll.
27920 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
27921 * sysdeps/mach/hurd/ppoll.c: Likewise.
27922 * io/ppoll.c: Likewise.
27923 * debug/poll_chk.c: New file.
27924 * debug/ppoll_chk.c: New file.
27925 * include/bits/poll2.h: New file.
27926 * io/bits/poll2.h: New file.
27927
ac097f5c
UD
27928 [BZ #1350]
27929 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
27930
2119dcfa
UD
27931 * configure.in: static is always set to yes. Remove.
27932 * config.make.in: Don't set build-static.
27933 * Makeconfig: Remove use of build-static.
27934 * dlfcn/Makefile: Likewise.
27935 * elf/Makefile: Likewise.
27936 * math/Makefile: Likewise.
27937 * misc/Makefile: Likewise.
27938 * nptl/Makefile: Likewise.
27939 * sysdeps/mach/hurd/Makefile: Likewise.
27940
121766a9
UD
27941 * configure.in: PWD_P is not used anymore.
27942 * config.make.in: Remove PWD_P entry.
27943
51a1d39c 27944 * configure.in: Remove last remnants of RANLIB.
8720d066 27945 No need to check for signed size_t anymore.
215f4bdc
UD
27946 Don't set libc_commonpagesize and libc_relro_required here for Alpha
27947 and IA-64.
3857022a 27948 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
27949 * aclocal.m4: Likewise.
27950
d3ed7225
UD
27951 * wcsmbs/mbrtoc16.c: Implement using towc function.
27952 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
27953 * wcsmbs/wcsmbsload.c: Likewise.
27954 * iconv/gconv_simple.c: Likewise.
27955 * iconv/gconv_int.h: Likewise.
27956 * iconv/gconv_builtin.h: Likewise.
27957 * iconv/iconv_prog.c: Remove CHAR16 handling.
27958
27959 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
27960
27961 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
27962
a0da5fe1
UD
27963 * configure.in: Remove --with-elf and --enable-bounded options.
27964 Dont set base_machine for ia64. More non-ELF conditions removed.
27965 Remove testing and setting of leading underscore information.
27966 * config.make.in (build-bounded): Set to no.
27967 * config.h.in: Remove NO_UNDERSCORES entry.
27968 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
27969 them.
27970 * csu/start.c: Remove !NO_UNDERSCORE code.
27971 * locale/localeinfo.h: Likewise.
27972 * sysdeps/generic/machine-gmon.h: Likewise.
27973 * sysdeps/generic/sysdep.h: Likewise.
27974 * sysdeps/i386/sysdep.h: Likewise.
27975 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27976 * sysdeps/mach/sysdep.h: Likewise.
27977 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27978 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27979 * sysdeps/sh/sysdep.h: Likewise.
27980 * sysdeps/sparc/sparc32/alloca.S: Likewise.
27981 * sysdeps/unix/i386/sysdep.S: Likewise.
27982 * sysdeps/unix/sparc/start.c: Likewise.
27983 * sysdeps/unix/sparc/sysdep.S: Likewise.
27984 * sysdeps/unix/sparc/sysdep.h: Likewise.
27985 * sysdeps/unix/start.c: Likewise.
27986 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27987 * sysdeps/x86_64/sysdep.h: Likewise.
27988
df78418a
UD
279892012-01-07 Ulrich Drepper <drepper@gmail.com>
27990
a784e502
UD
27991 [BZ #13553]
27992 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
27993 for non-gcc.
27994 * argp/argp-fmtstream.h: Use const instead __const.
27995 * argp/argp.h: Likewise.
27996 * assert/assert.h: Likewise.
27997 * bits/fenv.h: Likewise.
27998 * bits/sched.h: Likewise.
27999 * bits/sigset.h: Likewise.
28000 * bits/sigthread.h: Likewise.
28001 * catgets/nl_types.h: Likewise.
28002 * conform/data/pthread.h-data: Likewise.
28003 * crypt/crypt-private.h: Likewise.
28004 * crypt/crypt.h: Likewise.
28005 * crypt/crypt_util.c: Likewise.
28006 * ctype/ctype.h: Likewise.
28007 * debug/execinfo.h: Likewise.
28008 * debug/mbsnrtowcs_chk.c: Likewise.
28009 * debug/mbsrtowcs_chk.c: Likewise.
28010 * debug/wcsnrtombs_chk.c: Likewise.
28011 * debug/wcsrtombs_chk.c: Likewise.
28012 * debug/wcstombs_chk.c: Likewise.
28013 * dirent/dirent.h: Likewise.
28014 * dlfcn/dlfcn.h: Likewise.
28015 * elf/neededtest4.c: Likewise.
28016 * grp/grp.h: Likewise.
28017 * gshadow/gshadow.h: Likewise.
28018 * iconv/gconv.h: Likewise.
28019 * iconv/gconv_int.h: Likewise.
28020 * iconv/gconv_simple.c: Likewise.
28021 * iconv/iconv.h: Likewise.
28022 * iconv/loop.c: Likewise.
28023 * iconv/skeleton.c: Likewise.
28024 * include/aio.h: Likewise.
28025 * include/aliases.h: Likewise.
28026 * include/argz.h: Likewise.
28027 * include/arpa/inet.h: Likewise.
28028 * include/assert.h: Likewise.
28029 * include/dirent.h: Likewise.
28030 * include/dlfcn.h: Likewise.
28031 * include/execinfo.h: Likewise.
28032 * include/fcntl.h: Likewise.
28033 * include/fenv.h: Likewise.
28034 * include/glob.h: Likewise.
28035 * include/grp.h: Likewise.
28036 * include/libintl.h: Likewise.
28037 * include/mntent.h: Likewise.
28038 * include/netdb.h: Likewise.
28039 * include/pwd.h: Likewise.
28040 * include/rpc/netdb.h: Likewise.
28041 * include/sched.h: Likewise.
28042 * include/search.h: Likewise.
28043 * include/shadow.h: Likewise.
28044 * include/signal.h: Likewise.
28045 * include/stdio.h: Likewise.
28046 * include/stdlib.h: Likewise.
28047 * include/string.h: Likewise.
28048 * include/sys/socket.h: Likewise.
28049 * include/sys/stat.h: Likewise.
28050 * include/sys/statfs.h: Likewise.
28051 * include/sys/statvfs.h: Likewise.
28052 * include/sys/syslog.h: Likewise.
28053 * include/sys/time.h: Likewise.
28054 * include/sys/uio.h: Likewise.
28055 * include/time.h: Likewise.
28056 * include/unistd.h: Likewise.
28057 * include/utmp.h: Likewise.
28058 * include/wchar.h: Likewise.
28059 * include/wctype.h: Likewise.
28060 * inet/aliases.h: Likewise.
28061 * inet/arpa/inet.h: Likewise.
28062 * inet/netinet/ether.h: Likewise.
28063 * inet/netinet/in.h: Likewise.
28064 * intl/libintl.h: Likewise.
28065 * io/bits/fcntl2.h: Likewise.
28066 * io/fcntl.h: Likewise.
28067 * io/ftw.h: Likewise.
28068 * io/sys/poll.h: Likewise.
28069 * io/sys/stat.h: Likewise.
28070 * io/sys/statfs.h: Likewise.
28071 * io/sys/statvfs.h: Likewise.
28072 * io/utime.h: Likewise.
28073 * libio/bits/stdio.h: Likewise.
28074 * libio/bits/stdio2.h: Likewise.
28075 * libio/libio.h: Likewise.
28076 * libio/libioP.h: Likewise.
28077 * libio/stdio.h: Likewise.
28078 * locale/lc-ctype.c: Likewise.
28079 * locale/locale.h: Likewise.
28080 * login/utmp.h: Likewise.
28081 * malloc/arena.c: Likewise.
28082 * malloc/malloc.c: Likewise.
28083 * malloc/malloc.h: Likewise.
28084 * malloc/mcheck.c: Likewise.
28085 * malloc/mtrace.c: Likewise.
28086 * math/bits/mathcalls.h: Likewise.
28087 * math/fenv.h: Likewise.
28088 * math/math_private.h: Likewise.
28089 * misc/bits/error.h: Likewise.
28090 * misc/bits/syslog.h: Likewise.
28091 * misc/err.h: Likewise.
28092 * misc/error.h: Likewise.
28093 * misc/fstab.h: Likewise.
28094 * misc/mntent.h: Likewise.
28095 * misc/regexp.h: Likewise.
28096 * misc/search.h: Likewise.
28097 * misc/sgtty.h: Likewise.
28098 * misc/sys/mman.h: Likewise.
28099 * misc/sys/syslog.h: Likewise.
28100 * misc/sys/uio.h: Likewise.
28101 * misc/sys/xattr.h: Likewise.
28102 * misc/ttyent.h: Likewise.
28103 * nis/rpcsvc/ypclnt.h: Likewise.
28104 * nss/nss.h: Likewise.
28105 * posix/bits/unistd.h: Likewise.
28106 * posix/fnmatch.h: Likewise.
28107 * posix/glob.h: Likewise.
28108 * posix/sched.h: Likewise.
28109 * posix/spawn.h: Likewise.
28110 * posix/sys/wait.h: Likewise.
28111 * posix/unistd.h: Likewise.
28112 * posix/wordexp.h: Likewise.
28113 * pwd/pwd.h: Likewise.
28114 * resolv/netdb.h: Likewise.
28115 * resource/sys/resource.h: Likewise.
28116 * rt/aio.h: Likewise.
28117 * rt/bits/mqueue2.h: Likewise.
28118 * rt/mqueue.h: Likewise.
28119 * shadow/shadow.h: Likewise.
28120 * signal/signal.h: Likewise.
28121 * socket/send.c: Likewise.
28122 * socket/sendto.c: Likewise.
28123 * socket/sys/socket.h: Likewise.
28124 * stdio-common/printf.h: Likewise.
28125 * stdlib/bits/stdlib.h: Likewise.
28126 * stdlib/fmtmsg.h: Likewise.
28127 * stdlib/monetary.h: Likewise.
28128 * stdlib/stdlib.h: Likewise.
28129 * stdlib/ucontext.h: Likewise.
28130 * streams/stropts.h: Likewise.
28131 * string/argz.h: Likewise.
28132 * string/bits/string2.h: Likewise.
28133 * string/string.h: Likewise.
28134 * string/strings.h: Likewise.
28135 * sunrpc/rpc/auth.h: Likewise.
28136 * sunrpc/rpc/auth_des.h: Likewise.
28137 * sunrpc/rpc/clnt.h: Likewise.
28138 * sunrpc/rpc/netdb.h: Likewise.
28139 * sunrpc/rpc/pmap_clnt.h: Likewise.
28140 * sunrpc/rpc/xdr.h: Likewise.
28141 * sysdeps/generic/inttypes.h: Likewise.
28142 * sysdeps/generic/net/if.h: Likewise.
28143 * sysdeps/generic/sys/swap.h: Likewise.
28144 * sysdeps/gnu/net/if.h: Likewise.
28145 * sysdeps/gnu/utmpx.h: Likewise.
28146 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
28147 * sysdeps/i386/i486/bits/string.h: Likewise.
28148 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
28149 * sysdeps/s390/bits/string.h: Likewise.
28150 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
28151 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
28152 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
28153 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
28154 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
28155 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
28156 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
28157 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
28158 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
28159 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28160 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
28161 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28162 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
28163 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28164 * sysdeps/unix/sysv/linux/readv.c: Likewise.
28165 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
28166 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28167 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28168 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
28169 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
28170 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28171 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
28172 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
28173 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
28174 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
28175 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
28176 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
28177 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28178 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
28179 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
28180 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
28181 * sysvipc/sys/ipc.h: Likewise.
28182 * sysvipc/sys/msg.h: Likewise.
28183 * sysvipc/sys/sem.h: Likewise.
28184 * sysvipc/sys/shm.h: Likewise.
28185 * termios/termios.h: Likewise.
28186 * time/sys/time.h: Likewise.
28187 * time/time.h: Likewise.
28188 * wcsmbs/bits/wchar2.h: Likewise.
28189 * wcsmbs/uchar.h: Likewise.
28190 * wcsmbs/wchar.h: Likewise.
28191 * wctype/wctype.h: Likewise.
28192
0269750c
UD
28193 [BZ #13551]
28194 * Makeconfig: Remove all but ELF support including AIX support.
28195 * Makerules: Likewise.
28196 * config.h.in: Likewise.
28197 * config.make.in: Likewise.
28198 * configure: Likewise.
28199 * configure.in: Likewise.
28200 * csu/Makefile: Likewise.
28201 * csu/version.c: Likewise.
28202 * debug/Makefile: Likewise.
28203 * dlfcn/Makefile: Likewise.
28204 * elf/Makefile: Likewise.
28205 * extra-lib.mk: Likewise.
28206 * iconv/Makefile: Likewise.
28207 * include/libc-symbols.h: Likewise.
28208 * include/shlib-compat.h: Likewise.
28209 * resolv/Makefile: Likewise.
28210 * resolv/res_libc.c: Likewise.
28211 * rt/Makefile: Likewise.
28212 * sysdeps/i386/asm-syntax.h: Likewise.
28213 * sysdeps/i386/sysdep.h: Likewise.
28214 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28215 * sysdeps/mach/sysdep.h: Likewise.
28216 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
28217 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
28218 * sysdeps/s390/asm-syntax.h: Likewise.
28219 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28220 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28221 * sysdeps/sh/sysdep.h: Likewise.
28222 * sysdeps/unix/sparc/sysdep.h: Likewise.
28223 * sysdeps/wordsize-32/divdi3.c: Likewise.
28224 * sysdeps/x86_64/sysdep.h: Likewise.
28225
00bbd29b
UD
28226 * argp/Versions: Remove _argp_unlock_xxx.
28227
28228 [BZ #13559]
28229 * abilist/ld.abilist: Update. Adjust for removal of tls option.
28230 * abilist/libBrokenLocale.abilist: Likewise.
28231 * abilist/libanl.abilist: Likewise.
28232 * abilist/libc.abilist: Likewise.
28233 * abilist/libcrypt.abilist: Likewise.
28234 * abilist/libdl.abilist: Likewise.
28235 * abilist/libm.abilist: Likewise.
28236 * abilist/libnsl.abilist: Likewise.
28237 * abilist/libpthread.abilist: Likewise.
28238 * abilist/libresolv.abilist: Likewise.
28239 * abilist/librt.abilist: Likewise.
28240 * abilist/libthread_db.abilist: Likewise.
28241 * abilist/libutil.abilist: Likewise.
28242 * abilist/libnss_db.abilist: New file.
28243
28244 * scripts/abilist.awk: Add support for indirect functions.
28245
a2693a0e
UD
28246 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
28247
3f05895f
UD
28248 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
28249
ecb6fb48
UD
28250 * shlib-versions: Remove entries for ports architectures.
28251
664f8cb9
UD
28252 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
28253 files in ports.
28254 * elf/stackguard-macros.h: Remove support for IA-64.
28255 * elf/tst-auditmod1.c: Likewise.
28256 * sysdeps/generic/ldsodefs.h: Likewise.
28257
7ae81d88
UD
28258 * sysdeps/unix/sysv/linux/configure.in: Ports should define
28259 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
28260 configure files.
28261
bdeba135
UD
28262 [BZ #13552]
28263 * configure.in: Remove --enable-omitfp support.
28264 * FAQ.in: Adjust.
28265 * config.make.in: Likewise.
28266 * Makeconfig: Likewise.
28267 * manual/install.texi: Likewise.
28268
d75a0a62
UD
28269 In case anyone cares, the IA-64 architecture could move to ports.
28270 * sysdeps/ia64/*: Removed.
28271 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 28272 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 28273
dcc9756b
UD
28274 [BZ #13555]
28275 * configure.in: Remove entries for unsupported architectures.
28276
d3761ebc 28277 [BZ #13533]
9954432e
UD
28278 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
28279 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
28280 routines.
28281 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
28282 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
28283 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
28284 fall back to using wcrtomb.
28285 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
28286 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
28287 renaming.
28288 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
28289 * wcsmbs/tst-c16c32-1.c: New file.
28290
28291 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
28292 local variable.
28293
c3a87236
UD
28294 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
28295
28926a1b
UD
28296 * elf/tst-unique3.cc: Add explicit declaration of gets.
28297 * elf/tst-unique3lib.cc: Likewise.
28298 * elf/tst-unique3lib2.cc: Likewise.
28299 * elf/tst-unique4.cc: Likewise.
28300
df78418a
UD
28301 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
28302
8ecd6b2a
JM
283032012-01-06 Joseph Myers <joseph@codesourcery.com>
28304
28305 [BZ #13566]
28306 * assert/assert.h (static_assert): Don't define for C++.
28307 * libio/stdio.h (gets): Do declare for C++ <= C++11.
28308 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
28309
9f115170
UD
283102012-01-03 Ulrich Drepper <drepper@gmail.com>
28311
5e0d0300
UD
28312 * iconv/loop.c (single loop): Fix assertion in storing of
28313 remaining bytes.
28314
9f115170
UD
28315 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
28316
81fb02b0
UD
283172012-01-01 Ulrich Drepper <drepper@gmail.com>
28318
28319 * posix/getconf.c: Update copyright year.
28320 * nss/getent.c: Likewise.
a316c1f6 28321 * nss/makedb.c: Likewise.
81fb02b0
UD
28322 * iconv/iconvconfig.c: Likewise.
28323 * iconv/iconv_prog.c: Likewise.
28324 * elf/ldconfig.c: Likewise.
a316c1f6
UD
28325 * elf/pldd.c: Likewise.
28326 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
28327 * catgets/gencat.c: Likewise.
28328 * csu/version.c: Likewise.
28329 * elf/ldd.bash.in: Likewise.
28330 * elf/sprof.c (print_version): Likewise.
28331 * locale/programs/locale.c: Likewise.
28332 * locale/programs/localedef.c: Likewise.
a316c1f6 28333 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
28334 * nscd/nscd.c (print_version): Likewise.
28335 * debug/xtrace.sh: Likewise.
28336 * malloc/memusage.sh: Likewise.
28337 * malloc/mtrace.pl: Likewise.
28338 * debug/catchsegv.sh: Likewise.
28339
2ba92745
JJ
283402011-12-30 Jakub Jelinek <jakub@redhat.com>
28341
28342 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
28343 pure attribute.
28344
dadebdae
UD
283452011-12-24 Ulrich Drepper <drepper@gmail.com>
28346
d3761ebc 28347 [BZ #13533]
db6af3eb
UD
28348 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
28349 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
28350 transformations.
28351 * iconv/gconv_int.h: Likewise.
28352 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
28353 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
28354 from libc for GLIBC_2.16.
28355 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
28356 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
28357 * wcsmbs/uchar.h: Really define mbstate_t.
28358 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
28359 * wcsmbs/c16rtomb.c: New file.
28360 * wcsmbs/mbrtoc16.c: New file.
28361 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
28362 for C/POSIX locale.
28363 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
28364 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
28365
dadebdae
UD
28366 * wcsmbs/wchar.h: Add missing __restrict.
28367
67371b56
UD
283682011-12-23 Ulrich Drepper <drepper@gmail.com>
28369
74033a25
UD
28370 [BZ #13532]
28371 * time/Makefile (routines): Add timespec_get.
28372 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
28373 * time/time.h: Define TIME_UTC and declare timespec_get. Define
28374 timespec for ISO C11.
28375 * time/timespec_get.c: New file.
28376 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
28377 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
28378
380d7e87
UD
28379 [BZ #13531]
28380 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
28381 * stdlib/stdlib.h: Declare aligned_alloc.
28382 * Versions.def: Add GLIBC_2.16 for libc.
28383 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
28384
4e9e7a35
UD
28385 [BZ 13527]
28386 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
28387 ISO C11.
28388
380d7e87 28389 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
28390 code.
28391
03a71829
UD
28392 [BZ #13528]
28393 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
28394
839e283e
UD
28395 [BZ #13529]
28396 * assert/assert.h (static_assert): Define.
28397
ce5294e2 28398 * version.h: Update for 2.16 development version.
90fa7312 28399
8d44e150 28400 [BZ #13526]
d7809905
UD
28401 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
28402 _ISOC11_SOURCE.
28403
c0da14cd
UD
28404 * version.h (RELEASE): Bump for 2.15 release.
28405 * include/features.h (__GLIBC_MINOR__): Bump to 15.
28406
530a3249
MP
28407 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
28408 Patch by Marek Polacek <mpolacek@redhat.com>.
28409
67371b56
UD
28410 * bits/byteswap.h: Protect long long constants with __extension__.
28411 * sysdeps/i386/bits/byteswap.h: Likewise.
28412 * sysdeps/ia64/bits/byteswap.h: Likewise.
28413 * sysdeps/s390/bits/byteswap.h: Likewise.
28414 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28415
15db4de1
LD
284162011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28417
28418 [BZ #13540]
bbe315ea
LD
28419 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
28420 destination buffer.
15db4de1
LD
28421 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
28422
2b2596b1
MP
284232011-12-23 Marek Polacek <polacek@redhat.com>
28424
28425 * elf/dl-addr.c (determine_info): Add inline keyword.
28426 * elf/tst-auditmod4b.c (check_avx): Likewise.
28427 * elf/tst-auditmod6b.c (check_avx): Likewise.
28428 * elf/tst-auditmod6c.c (check_avx): Likewise.
28429 * elf/tst-auditmod7b.c (check_avx): Likewise.
28430
70c6c246
UD
284312011-12-23 Ulrich Drepper <drepper@gmail.com>
28432
28433 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
28434 !__SSE_MATH__.
28435
c044cf14
LD
284362011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28437
15db4de1 28438 [BZ #13540]
c044cf14
LD
28439 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
28440 processing for last bytes.
28441
6b13d9d9
BH
284422011-08-06 Bruno Haible <bruno@clisp.org>
28443
d455f537
BH
28444 [BZ #13061]
28445 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
28446 U+0385, not to U+1FEE.
28447
6b13d9d9
BH
28448 [BZ #13062]
28449 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
28450 entry for U+00A5 U+0301.
28451
db910efd
UD
284522011-12-22 Ulrich Drepper <drepper@gmail.com>
28453
27deeafc
UD
28454 [BZ #13166]
28455 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
28456 buffer for the output is too small.
28457
aed9d171
UD
28458 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
28459 optimization.
28460
db910efd
UD
28461 [BZ #13185]
28462 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
28463 SSE flags if possible.
28464
2bd779ae
LD
284652011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28466
e7f9dac3 28467 [BZ #13540]
2bd779ae
LD
28468 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
28469 processing for last bytes.
28470
154bfc16
JM
284712011-12-22 Joseph Myers <joseph@codesourcery.com>
28472
28473 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
28474 (syscall-list-default-options, syscall-list-default-condition)
28475 (syscall-list-includes): Define.
28476 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
28477 list of ABIs and options and #if conditions for each ABI. Do not
28478 handle common syscalls between ABIs specially.
28479 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
28480 Remove.
28481 (syscall-list-variants, syscall-list-32bit-options)
28482 (syscall-list-32bit-condition, syscall-list-64bit-options)
28483 (syscall-list-64bit-condition): Define.
28484 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
28485 (syscall-list-variants, syscall-list-32bit-options)
28486 (syscall-list-32bit-condition, syscall-list-64bit-options)
28487 (syscall-list-64bit-condition): Define.
28488 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
28489 Remove.
28490 (syscall-list-variants, syscall-list-32bit-options)
28491 (syscall-list-32bit-condition, syscall-list-64bit-options)
28492 (syscall-list-64bit-condition): Define.
28493 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
28494 Remove.
28495 (syscall-list-variants, syscall-list-32bit-options)
28496 (syscall-list-32bit-condition, syscall-list-64bit-options)
28497 (syscall-list-64bit-condition): Define.
28498
21eaf3a5
UD
284992011-12-22 Ulrich Drepper <drepper@gmail.com>
28500
16c6f992
UD
28501 * locale/iso-639.def: Add brx entry.
28502
41043168
UD
28503 [BZ #13328]
28504 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
28505 Proposed by Mariusz_Cukr <marcukr@op.pl>.
28506
21eaf3a5
UD
28507 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
28508 __feraiseexcept_renamed.
28509
e3a851a2
UD
285102011-12-21 Ulrich Drepper <drepper@gmail.com>
28511
4920765e
UD
28512 [BZ #13538]
28513 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
28514 EPOLLET with unsigned values.
28515 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28516 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28517
e3a851a2
UD
28518 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
28519 to large cancellation.
28520 * math/s_cacoshf.c: Likewise.
28521 * math/s_cacoshl.c: Likewise.
28522
b27e24b8
RK
285232011-11-18 Richard B. Kreckel <kreckel@ginac.de>
28524
28525 [BZ #13305]
aebefeee 28526 [BZ #12786]
b27e24b8
RK
28527 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
28528 * math/s_cacoshf.c: Likewise.
28529 * math/s_cacoshl.c: Likewise.
28530
ee190f67
UD
285312011-12-21 Ulrich Drepper <drepper@gmail.com>
28532
28533 [BZ #13439]
28534 * iconv/gconv.h: Define __GCONV_SWAP.
28535 * iconvdata/unicode.c: The swap bit must be stored in __flags.
28536 * iconvdata/utf-16.c: Likewise.
28537 * iconvdata/utf-32.c: Likewise.
28538
707f25df
AS
285392011-12-21 Andreas Schwab <schwab@linux-m68k.org>
28540
28541 [BZ #13524]
28542 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
28543 numerator after shifting it by one limb.
28544
d2daaa1e
RÁE
285452011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
28546
28547 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
28548 under [__USE_EXTERN_INLINES].
28549
a4647e72
UD
285502011-12-17 Ulrich Drepper <drepper@gmail.com>
28551
28552 [BZ #13446]
28553 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
28554
f0b264f1
AZ
285552011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28556
28557 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
28558 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
28559 optimized code.
28560 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
28561 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
28562 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
28563 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
28564 for strncasecmp/strncasecmp_l compilation.
28565 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
28566 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
28567
8ef4f244
MP
285682011-12-08 Marek Polacek <mpolacek@redhat.com>
28569
28570 [BZ #13484]
28571 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
28572 of __asm__.
28573
97ac2654
UD
285742011-12-17 Ulrich Drepper <drepper@gmail.com>
28575
28576 [BZ #13506]
28577 * time/tzfile.c (__tzfile_read): Check values from file header.
28578
91d2a845
WS
285792011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28580
28581 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
28582 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
28583 * powerpc/powerpc32/dl-start.S: Likewise.
28584 * powerpc/powerpc32/elf/start.S: Likewise.
28585 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28586 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
28587 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
28588 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
28589 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
28590 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
28591 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
28592 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28593 * powerpc/powerpc32/fpu/s_round.S: Likewise.
28594 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
28595 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
28596 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
28597 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
28598 * powerpc/powerpc32/memset.S: Likewise.
28599 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
28600 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28601 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28602 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28603 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28604 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28605 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28606 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28607 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
28608 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
28609 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
28610 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28611 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28612
a1267ba1
AZ
286132011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28614
28615 * math/libm-test.inc: Added more nearbyint tests.
28616 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
28617 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
28618 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
28619 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
28620
ad8ac1bd
RL
286212011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
28622
28623 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
28624 FD_CLOEXEC.
28625
1d3e4b61
UD
286262011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28627
28628 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
28629 Add wcscpy-ssse3 wcscpy-c.
28630 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
28631 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
28632 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
28633 * sysdeps/x86_64/wcschr.S: New file.
28634 * sysdeps/x86_64/wcsrchr.S: New file.
28635 * string/test-strcmp.c: Remove checking of wcscmp function for
28636 wrong alignments.
28637 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
28638 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
28639 wcsrchr-sse2 wcsrchr-c.
28640 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
28641 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
28642 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
28643 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
28644 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
28645 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
28646 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
28647 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
28648 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
28649 * wcsmbc/wcschr.c (WCSCHR): New macro.
28650
5b330a2d
UD
286512011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28652
28653 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
28654 * wcsmbs/test-wcsrchr.c: New file.
28655 * string/test-strrchr.c: Add wcsrchr support.
28656 (WIDE): New macro.
28657 * wcsmbs/test-wcscpy.c: New file.
28658 * string/test-strcpy.c: Add wcscpy support.
28659 (WIDE): New macro.
26428b7c 28660
f039c043
UD
286612011-12-10 Ulrich Drepper <drepper@gmail.com>
28662
28663 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
28664 the inner loop.
28665
850fb039
AS
286662011-12-06 Andreas Schwab <schwab@linux-m68k.org>
28667
28668 [BZ #13472]
28669 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
28670
4efbd5cb
UD
286712011-12-04 Ulrich Drepper <drepper@gmail.com>
28672
52ff5dd0 28673 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 28674 Minor optimizations.
52ff5dd0 28675
4efbd5cb
UD
28676 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
28677 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
28678 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
28679
8a426e12
UD
286802011-12-03 Ulrich Drepper <drepper@gmail.com>
28681
aff2453d
UD
28682 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
28683 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
28684 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
28685 for gcc to avoid warnings.
28686 * inet/Makefile (tests): Add tst-checks.
28687 * inet/tst-checks.c: New file.
28688
28689 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
28690 warning.
28691
28692 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
28693 __wmemcmp_sse2.
28694
28695 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
28696 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
28697
8a426e12
UD
28698 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
28699
9bea3473
UD
287002011-12-02 Ulrich Drepper <drepper@gmail.com>
28701
3a965496
UD
28702 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
28703 problem.
28704
9bea3473
UD
28705 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
28706
f101631b
UD
287072011-11-29 Joseph Myers <joseph@codesourcery.com>
28708
28709 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
28710 conditional on GCC version.
28711 (__arch_compare_and_exchange_val_8_acq)
28712 (__arch_compare_and_exchange_val_16_acq)
28713 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
28714 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
28715 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
28716
a98275aa
UD
287172011-12-02 Joseph Myers <joseph@codesourcery.com>
28718
28719 * sysdeps/sh/backtrace.c: New file.
28720
d4cc29a2
AS
287212011-12-02 Andreas Schwab <schwab@redhat.com>
28722
28723 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
28724 parenthesis.
28725
6257af2d
AS
287262011-12-01 Andreas Schwab <schwab@redhat.com>
28727
28728 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
28729 falling back to utime.
28730
b5f44c1a
AS
287312011-11-30 Andreas Schwab <schwab@redhat.com>
28732
28733 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
28734 expectations for float.
28735
f3a6cc0a
AS
287362011-11-29 Andreas Schwab <schwab@redhat.com>
28737
28738 * locale/weight.h (findidx): Add parameter len.
28739 * locale/weightwc.h (findidx): Likewise.
28740 * posix/fnmatch_loop.c (FCT): Adjust caller.
28741 * posix/regcomp.c (build_equiv_class): Likewise.
28742 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
28743 * posix/regexec.c (check_node_accept_bytes): Likewise.
28744 * string/strcoll_l.c (STRCOLL): Likewise.
28745 * string/strxfrm_l.c (STRXFRM): Likewise.
28746
9d65ea3a
UD
287472011-11-17 Ulrich Drepper <drepper@gmail.com>
28748
28749 * Makefile.in: Remove CVSOPT handling.
28750 * configure.in: Remove use of AC_REVISION.
28751 * iconvdata/Makefile (distribute): No need to filter out CVS.
28752 * scripts/list-sources.sh: Remove CVS, subversion and monotone
28753 handling.
28754
5583a086
AS
287552011-11-16 Andreas Schwab <schwab@redhat.com>
28756
28757 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
28758 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
28759 [USE_AS_STRNCASECMP_L]: Likewise.
28760 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
28761 NO_TLS_DIRECT_SEG_REFS.
28762 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
28763 Fix argument offsets for non-PIC.
28764 [USE_AS_STRNCASECMP_L]: Likewise.
28765 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
28766 NO_TLS_DIRECT_SEG_REFS.
28767
d62a8200
UD
287682011-11-15 Ulrich Drepper <drepper@gmail.com>
28769
9d65ea3a 28770 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
28771 O_CLOEXEC.
28772 * locale/loadlocale.c (_nl_load_locale): Likewise.
28773
09f93bd3
AS
287742011-11-15 Andreas Schwab <schwab@redhat.com>
28775
446514f9
AS
28776 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
28777 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
28778 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
28779 (SYSCALL_GETTIME): Set errno on error.
28780
09f93bd3
AS
28781 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
28782 count references to noai6ai_cached.
28783
312be3f9
UD
287842011-11-15 Ulrich Drepper <drepper@gmail.com>
28785
28786 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
28787
28788 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
28789 FD_CLOEXEC for /proc/self/maps.
28790
28791 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
28792 FD_CLOEXEC for /proc/meminfo.
28793
28794 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
28795 gai.conf.
28796
28797 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
28798 FD_CLOEXEC for given file.
28799
28800 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
28801
28802 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
28803 FD_CLOEXEC for /etc/hosts.
28804 (_gethtent): Likewise.
28805
28806 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
28807
28808 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
28809 cancellation and set FD_CLOEXEC for /etc/netgroup.
28810
28811 * nss/nss_files/files-key.c (search): Don't allow cancellation when
28812 reading /etc/publickey.
28813
28814 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
28815 allow cancellation when reading /etc/group.
28816
28817 * nss/nss_files/files-alias.c (internal_setent): Don't allow
28818 cancellation.
28819 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
28820
28821 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
28822 when using data file.
28823
28824 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
28825
28826 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
28827 (write_nis_obj): Use "c" and "e" in fopen.
28828
28829 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
28830
28831 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
28832
28833 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
28834
28835 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
28836
28837 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
28838 locale.alias.
28839
28840 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
28841
28842 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
28843
28844 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
28845
28846 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
28847 file parsing and set FD_CLOEXEC.
28848
82af0fa8
UD
288492011-11-14 Ulrich Drepper <drepper@gmail.com>
28850
28851 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
28852
a5fb313c
AS
288532011-11-14 Andreas Schwab <schwab@redhat.com>
28854
28855 * malloc/arena.c (arena_get2): Don't call reused_arena when
28856 _int_new_arena failed.
28857
6abf3465
UD
288582011-11-14 Ulrich Drepper <drepper@gmail.com>
28859
28860 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
28861 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
28862 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
28863 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28864 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28865 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
28866 to compile strcasecmp and strncasecmp.
28867 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
28868 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
28869
28870 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
28871
76e3966e
UD
288722011-11-13 Ulrich Drepper <drepper@gmail.com>
28873
28874 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
28875 locale-defines.sym to gen-as-const-headers.
28876 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
28877 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
28878 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
28879 to compile strcasecmp and strncasecmp.
28880 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
28881 strcasecmp_l and strncasecmp_l.
28882 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
28883 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
28884 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
28885 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
28886 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
28887 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
28888 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
28889 * sysdeps/i386/i686/multiarch/strncase.S: New file.
28890 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
28891 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
28892 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
28893
ab26144e
UD
288942011-11-12 Ulrich Drepper <drepper@gmail.com>
28895
7edb22ef
UD
28896 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
28897 result of SYSDEP_GETTIME_CPU to retval.
28898 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
28899 parameter list to macro. Remove trailing semicolon. Adjust users.
28900
9694fc44
UD
28901 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
28902 variable.
28903
8ad89ef8
UD
28904 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
28905 mantissa words.
28906 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
28907
0c822ef9
UD
28908 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
28909 from unused variable.
28910
874e0564
UD
28911 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
28912 DWARF definitions.
28913 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
28914 for assembling.
28915
3a2edc79
UD
28916 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
28917 over namespaces.
28918
f3c2577f
UD
28919 * sunrpc/rpc_prot.c (rejected): Fix case value.
28920
294ce126
UD
28921 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
28922 unsigned long long int to avoid warnings in shift.
28923
5e2b63c6
UD
28924 * posix/regex_internal.c (re_string_reconstruct): Actually use result
28925 of use of trans.
28926 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
28927 variable tmp.
28928
e7f4b08e
UD
28929 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
28930 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
28931 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
28932
ab26144e
UD
28933 * nis/nis_table.c (nis_list): Use variable of correct type for
28934 result of __follow_path call.
28935
8a6d5255
AZ
289362011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28937
28938 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
28939 of math functions ceil, trunc, floor, round, and sqrt, when
28940 avaliable on the platform.
28941 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
28942 name clash.
28943 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28944 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28945 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28946
aaddc98c
MP
289472011-10-30 Marek Polacek <mpolacek@redhat.com>
28948
28949 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
28950 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28951
95b7042b
RM
289522011-11-11 Roland McGrath <roland@hack.frob.com>
28953
28954 * include/unistd.h: Fix __readlink return type.
28955 Reported by Chris Metcalf <cmetcalf@tilera.com>.
28956
57769839
UD
289572011-11-11 Ulrich Drepper <drepper@gmail.com>
28958
28959 * stdlib/ucontext.h: Undo last change for makecontext.
28960
edc5984d
AS
289612011-11-11 Andreas Schwab <schwab@redhat.com>
28962
98591e58
AS
28963 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
28964
edc5984d
AS
28965 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
28966 * setjmp/setjmp.h: Mark functions as non-leaf.
28967 * setjmp/bits/setjmp2.h: Likewise.
28968 * stdlib/ucontext.h: Likewise.
28969
77cdc054
AS
289702011-11-10 Andreas Schwab <schwab@redhat.com>
28971
28972 * malloc/arena.c (_int_new_arena): Don't increment narenas.
28973 (reused_arena): Don't check arena limit.
28974 (arena_get2): Atomically check arena limit.
28975
fe72eebd
UD
289762011-11-08 Ulrich Drepper <drepper@gmail.com>
28977
5f078c32
UD
28978 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
28979 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
28980
fe72eebd
UD
28981 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
28982 instructions.
28983
ae1bc2fa
AS
289842011-11-07 Andreas Schwab <schwab@redhat.com>
28985
7583a88d
AS
28986 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
28987 handler when locking.
28988
ae1bc2fa
AS
28989 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28990 Fix size of allocated buffer.
28991
10fb0bfa
AS
289922011-11-04 Andreas Schwab <schwab@redhat.com>
28993
998832a4
AS
28994 [BZ #10103]
28995 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
28996 declarations for long double functions.
28997 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
28998
10fb0bfa
AS
28999 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
29000
3d7ba52b
AS
290012011-11-03 Andreas Schwab <schwab@redhat.com>
29002
a9ae54a1
AS
29003 * nscd/nscd.c (main): Don't start AVC thread until credentials are
29004 installed.
29005
3d7ba52b
AS
29006 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
29007 is disabled.
29008
bc8db248
ST
290092011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
29010
29011 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
29012
45b96dd6
AS
290132011-11-01 Andreas Schwab <schwab@linux-m68k.org>
29014
647776f6
AS
29015 * include/alloca.h (stackinfo_alloca_round): Define.
29016 (extend_alloca): Use it.
29017 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
29018 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
29019 here.
29020
d91a8b93
AS
29021 * scripts/check-local-headers.sh: Ignore libaudit.h.
29022
45b96dd6
AS
29023 * nscd/Makefile (extra-objs): Make recursively expanded.
29024
432d41ce
UD
290252011-11-01 Ulrich Drepper <drepper@gmail.com>
29026
34372fc6
UD
29027 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
29028 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29029
fadb59f8
UD
29030 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
29031 * posix/tst-rfc3484-2.c: Likewise.
29032 * posix/tst-rfc3484-3.c: Likewise.
29033
78239589
UD
29034 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
29035 process_vm_writev.
29036 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
29037 process_vm_writev.
29038 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
29039 process_vm_writev from libc using GLIBC_2.15 version.
29040
432d41ce
UD
29041 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
29042
02f9c6cf
PP
290432011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
29044
29045 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
29046 stack usage.
29047
3a2c0242
UD
290482011-10-31 Ulrich Drepper <drepper@gmail.com>
29049
f4ec4833
UD
29050 [BZ #13367]
29051 * nss/getent.c (initgroups_keys): Show error message in case no group
29052 names are given.
29053
3a2c0242
UD
29054 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
29055 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
29056 __bump_nl_timestamp.
29057 * nscd/connections (nscd_init): When host database is served open
29058 netlink socket and request notification about configuration changes.
29059 (main_loop_poll): Track netlink file descriptor and bump timestamp
29060 in case data becomes available.
29061 (main_loop_epoll): Likewise.
29062 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
29063 (database_pers_head): Add extra_data fileds.
29064 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
29065 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
29066 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
29067 Adjust caller.
29068 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
29069 in6ai data, call __free_in6ai.
29070 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
29071 Add -DHAVE_NETLINK.
29072 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
29073 interface information. Reuse previous data if netlink timestamp
29074 is not changed.
29075 (__bump_nl_timestamp): New function.
29076 (__free_in6ai): New function.
29077
636064eb
UD
290782011-10-30 Ulrich Drepper <drepper@gmail.com>
29079
29080 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
29081 close_not_cancel_no_status here.
29082 (__check_pf): Reorganize code a bit to not call close twice if OOM.
29083
9beb2334
UD
290842011-10-29 Ulrich Drepper <drepper@gmail.com>
29085
6ef76f3b
UD
29086 [BZ #13276]
29087 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
29088 return value.
29089
0ffc4f3e 29090 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
29091 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
29092 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
29093
cb95113e
UD
290942011-07-03 Andreas Jaeger <aj@suse.de>
29095
29096 [BZ #10709]
29097 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
29098 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
29099 * math/libm-test.inc (sin_test): Add test case.
29100
a1b560ff
UD
291012011-10-29 Ulrich Drepper <drepper@gmail.com>
29102
c9aaface
UD
29103 [BZ #13337]
29104 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
29105 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29106
d272e7f1
UD
29107 * elf/chroot_canon.c (chroot_canon): Cleanups.
29108
1bc33071
UD
29109 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
29110
1760874d
TJ
29111 [BZ #13335]
29112 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
29113 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
29114
51d91b18
UD
29115 * string/test-strchr.c: Make usable for strchrnul testing.
29116 * string/test-strchrnul.c: New file.
29117 * string/Makefile (strop-tests): Add strchrnul.
29118
a1b560ff 29119 * po/it.po: Update from translation team.
b611fb81 29120 * po/es.po: Likewise.
a1b560ff 29121
a5b81e1f
UD
291222011-10-28 Ulrich Drepper <drepper@gmail.com>
29123
fd52bc6d
UD
29124 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
29125 the three constants needed as parameters. Drop the others.
29126 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
29127 __m128i_strloadu_tolower.
52e4b9eb
UD
29128 Create and initialize variable zero and use it in all the places
29129 where _mm_setzero_si128 was used.
fd52bc6d 29130
a5b81e1f
UD
29131 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
29132 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
29133 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
29134 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
29135 anymore.
29136 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
29137 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
29138 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
29139 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
29140 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
29141 __mpranred, __mptan.
29142 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
29143 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
29144 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
29145 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
29146 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
29147 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
29148 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
29149 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
29150 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
29151
b4343346
AS
291522011-10-28 Andreas Schwab <schwab@redhat.com>
29153
0c92d8a8
AS
29154 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
29155 redefine if SHARED.
29156 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
29157
b4343346
AS
29158 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
29159 wide char related routines to wcsmbs subdir.
29160
3871f58f
AS
291612011-10-27 Andreas Schwab <schwab@redhat.com>
29162
29163 [BZ #13344]
29164 * misc/sys/cdefs.h (__THROWNL): Define.
29165 * posix/unistd.h: Use __THREADNL instead of __THREAD
29166 for memory synchronization functions.
29167
94d44d9f
RM
291682011-10-26 Roland McGrath <roland@hack.frob.com>
29169
21b64b15 29170 [BZ #13349]
94d44d9f
RM
29171 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
29172 doesn't exist.
29173 * manual/stdio.texi (Obstack Streams): Node removed.
29174
f6ce9294
AS
291752011-10-26 Andreas Schwab <schwab@redhat.com>
29176
80479147
AS
29177 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
29178 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29179 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29180
f6ce9294
AS
29181 * math/math_private.h (math_force_eval): Allow non-addressable
29182 arguments.
29183 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
29184
618280a1
UD
291852011-10-25 Ulrich Drepper <drepper@gmail.com>
29186
e0016b11
UD
29187 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
29188 file is not needed.
29189
29190 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
29191 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
29192 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29193 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29194 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29195 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29196 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29197 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
29198 Add AVX variants.
29199 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
29200 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
29201 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
29202 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
29203 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
29204 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
29205 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
29206 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
29207 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
29208 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
29209 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
29210 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
29211 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
29212 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
29213 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
29214 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
29215 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
29216 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
29217 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
29218
29219 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
29220 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
29221
618280a1
UD
29222 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
29223 place. Use VEX encoding when compiling for AVX.
29224
37822576
AS
292252011-10-25 Andreas Schwab <schwab@redhat.com>
29226
1f1e1947
AS
29227 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
29228 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29229
37822576
AS
29230 * string/test-strchr.c (do_test): Don't generate NUL bytes.
29231
31ea014d
UD
292322011-10-25 Ulrich Drepper <drepper@gmail.com>
29233
d7826aa1 29234 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 29235 useless if() expression.
d7826aa1
UD
29236 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29237 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29238 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29239 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29240 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29241 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29242 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29243 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29244 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29245 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29246 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29247 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29248 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29249 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29250 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29251 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29252 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29253 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29254 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29255
31ea014d
UD
29256 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
29257
16437fec
AS
292582011-10-25 Andreas Schwab <schwab@redhat.com>
29259
29260 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
29261 condition.
29262 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29263
31d3cc00
UD
292642011-10-25 Ulrich Drepper <drepper@gmail.com>
29265
29266 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
29267 .text section. Avoid duplicate constants.
29268 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29269 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29270 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29271 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29272 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29273 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29274 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29275 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29276 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29277 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
29278 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29279 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29280 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29281 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29282 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29283 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29284 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29285 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29286 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29287 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29288 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29289 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29290 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29291 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
29292 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
29293 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
29294 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
29295 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
29296 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
29297 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
29298 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
29299 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
29300 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29301 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
29302 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
29303 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
29304 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
29305 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
29306 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
29307 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
29308 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
29309 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
29310 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
29311 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
29312 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
29313
58985aa9
UD
293142011-10-24 Ulrich Drepper <drepper@gmail.com>
29315
202c9deb
UD
29316 * sysdeps/x86_64/dla.h: Move to ...
29317 * sysdeps/x86_64/fpu/dla.h: ...here.
29318 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
29319 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 29320
af968f62
UD
29321 * config.make.in: Add have-mfma4 entry.
29322 * configure.in: Substitute libc_cv_cc_fma4.
29323 * math/Makefile (dbl-only-routines): Add sincostab.
29324 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
29325 Use __sincostab not sincos.
29326 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
29327 name is a macro.
29328 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29329 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29330 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29331 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
29332 using __copysign.
29333 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
29334 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
29335 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
29336 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
29337 and __inv.
29338 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
29339 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
29340 __copysign.
29341 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
29342 define aliases when function name is a macro.
29343 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
29344 sysdeps/ieee754/dbl-64/sincos.tbl.
29345 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
29346 fma4-enabled routines.
29347 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
29348 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
29349 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
29350 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
29351 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
29352 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
29353 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
29354 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
29355 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
29356 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
29357 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
29358 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
29359 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
29360 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
29361 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
29362 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
29363 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
29364 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
29365 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
29366 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
29367 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
29368 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
29369 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
29370 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
29371 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
29372 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
29373 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
29374 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
29375 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
29376 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
29377
58985aa9
UD
29378 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
29379 rename.
29380 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29381 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29382 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29383 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29384 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29385 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29386 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29387 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29388
a201fbcf
AS
293892011-10-24 Andreas Schwab <schwab@redhat.com>
29390
29391 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
29392
fc2ee42a
LD
293932011-10-23 Ulrich Drepper <drepper@gmail.com>
29394
bb3129bd
UD
29395 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
29396
0275fff8
UD
29397 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
29398 prediction.
29399 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
29400
2fa2ae85
UD
29401 * string/strnlen.c: Don't define STRNLEN, reverse logic.
29402 Remove unused variable magic_bits.
29403 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
29404
fc2ee42a
LD
29405 * string/strnlen.c: Define and use STRNLEN macro.
29406 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
29407 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
29408 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
29409 * wcsmbs/wcslen.c: Define and use WCSLEN.
29410 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
29411 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
29412 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
29413 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
29414 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
29415 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
29416 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29417
ce7dd29f
LD
294182011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29419
29420 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29421 strnlen-sse2-no-bsf.
29422 Rename strlen-no-bsf to strlen-sse2-no-bsf.
29423 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
29424 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
29425 Add strnlen support.
29426 (USE_AS_STRNLEN): New macro.
29427 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
29428 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
29429 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
29430 * sysdeps/x86_64/wcslen.S: New file.
29431
979c70a3
MZ
294322011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
29433
29434 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
29435 XMM-moves are used for copying on small sizes.
29436
2d09f82f
LD
294372011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29438
29439 * wcsmbs/Makefile (strop-tests): Add wcschr.
29440 * wcsmbs/test-wcschr.c: New file.
29441 * string/test-strchr.c: Update.
29442 Add wcschr support.
29443 (WIDE): New macro.
29444
619fccca
LD
294452011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29446
2d09f82f 29447 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
29448 * wcsmbs/test-wcslen.c: New file.
29449 * string/test-strlen.c: Update.
29450 Add wcslen support.
29451 (WIDE): New macro.
29452
09f699ea
UD
294532011-10-23 Ulrich Drepper <drepper@gmail.com>
29454
29455 * po/it.po: Update from translation team.
29456
95584d3b
LD
294572011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29458
29459 * sysdeps/x86_64/wcscmp.S: Update.
29460 Fix wrong comparison semantics.
29461 wcscmp shall use signed comparison not unsigned.
29462 Don't use substraction to avoid overflow bug.
29463 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
29464 * wcsmbc/wcscmp.c: Likewise.
29465 * string/test-strcmp.c: Likewise.
29466 Add new tests to check cases with negative values.
29467
c8b3296b
UD
294682011-10-23 Ulrich Drepper <drepper@gmail.com>
29469
29470 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
29471 * sysdeps/x86_64/dla.h: ...here. New file.
29472 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
29473 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29474 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29475 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29476 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29477 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29478 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29479 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29480 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29481
246ad57a
AS
294822011-10-23 Andreas Schwab <schwab@linux-m68k.org>
29483
29484 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
29485 __ynl_finite aliases.
29486
a1a87169
UD
294872011-10-22 Ulrich Drepper <drepper@gmail.com>
29488
0d355eb7
UD
29489 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29490
a1a87169
UD
29491 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
29492 define DLA_FMA.
29493 [DLA_FMA] (EMULV): Use DLA_FMA.
29494 [DLA_FMA] (MUL12): Use EMULV.
29495 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
29496 that are not needed.
29497 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29498 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29499 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29500 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29501 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29502 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29503 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29504
ee2aafe0
AS
295052011-10-22 Andreas Schwab <schwab@linux-m68k.org>
29506
29507 * math/s_nan.c: Undef __nan.
29508 * math/s_nanf.c: Undef __nanf.
29509 * math/s_nanl.c: Undef __nanl.
29510 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
29511 "math_private.h".
29512
bc62c2fb
UD
295132011-10-22 Ulrich Drepper <drepper@gmail.com>
29514
77425c63
UD
29515 * math/s_catan.c: Add branch predictions.
29516 * math/s_catanf.c: Likewise.
29517 * math/s_catanh.c: Likewise.
29518 * math/s_catanhf.c: Likewise.
29519 * math/s_catanhl.c: Likewise.
29520 * math/s_catanl.c: Likewise.
29521 * math/s_cexp.c: Likewise.
29522 * math/s_cexpf.c: Likewise.
29523 * math/s_cexpl.c: Likewise.
29524 * math/s_clog.c: Likewise.
29525 * math/s_clog10.c: Likewise.
29526 * math/s_clog10f.c: Likewise.
29527 * math/s_clog10l.c: Likewise.
29528 * math/s_clogf.c: Likewise.
29529 * math/s_clogl.c: Likewise.
29530 * math/s_csqrt.c: Likewise.
29531 * math/s_csqrtf.c: Likewise.
29532 * math/s_csqrtl.c: Likewise.
29533 * math/s_ctanf.c: Likewise.
29534 * math/s_ctanh.c: Likewise.
29535 * math/s_ctanhf.c: Likewise.
29536 * math/s_ctanhl.c: Likewise.
29537 * math/s_ctanl.c: Likewise.
29538
bc62c2fb
UD
29539 * math/math_private.h: Define __nan, __nanf, __nanl.
29540 * math/s_cacosh.c: Include <math_private.h>.
29541 * math/s_cacoshl.c: Likewise.
29542 * math/s_casinh.c: Likewise.
29543 * math/s_casinhf.c: Likewise.
29544 * math/s_casinhl.c: Likewise.
29545 * math/s_ccos.c: Rely entire on ccosh.
29546 * math/s_ccosf.c: Rely entire on ccoshf.
29547 * math/s_ccosl.c: Rely entirely on ccoshl.
29548 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
29549 Remove tests for FE_INVALID.
29550 * math/s_ccoshf.c: Likewise.
29551 * math/s_ccoshl.c: Likewise.
29552 * math/s_csin.c: Likewise.
29553 * math/s_csinf.c: Likewise.
29554 * math/s_csinh.c Likewise.
29555 * math/s_csinhf.c: Likewise.
29556 * math/s_csinhl.c: Likewise.
29557 * math/s_csinl.c: Likewise.
29558 * math/s_ctan.c: Likewise.
29559 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
29560 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
29561 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
29562
8ec250a4
UD
295632011-10-21 Ulrich Drepper <drepper@gmail.com>
29564
c196fed8
UD
29565 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
29566 compilation problems.
29567
8ec250a4
UD
29568 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
29569 __builtin_expect.
29570
8d4f46c6
UD
295712011-10-20 Ulrich Drepper <drepper@gmail.com>
29572
ed72b654
UD
29573 * sysdeps/i386/configure.in: Test for -mfma4 option.
29574 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
29575 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
29576 COMMON_CPUID_INDEX_80000001.
29577 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
29578 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
29579 use it if FMA3 is not supported.
29580 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
29581
8d4f46c6
UD
29582 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
29583 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
29584
d45c60c2
AS
295852011-10-20 Andreas Schwab <schwab@redhat.com>
29586
29587 [BZ #12892]
29588 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
29589 it would create a cycle with a link time dependency.
29590
d9a4d2ab
UD
295912011-10-19 Ulrich Drepper <drepper@gmail.com>
29592
855d1560
UD
29593 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
29594 instruction.
29595 * string/Makefile (strop-tests): Add rawmemchr.
29596 * string/test-rawmemchr.c: New file.
29597
d9a4d2ab
UD
29598 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
29599 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
29600 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
29601 when compiling str{,n}casecmp and when AVX is available. Hook up
29602 new optimized code in initializers.
29603
8f3b1ffe
AS
296042011-10-19 Andreas Schwab <schwab@redhat.com>
29605
29606 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
29607 __feraiseexcept instead of feraiseexcept.
29608
d38f1dba
UD
296092011-10-18 Ulrich Drepper <drepper@gmail.com>
29610
d9a8d0ab
UD
29611 * math/math_private.h: Define defaults for libc_fetestexcept and
29612 libc_feupdateenv.
29613 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
29614 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
29615 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29616 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29617 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29618 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29619 libc_fetestexcept and libc_feupdateenv.
29620
4855e3dd
UD
29621 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
29622 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
29623 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
29624 * sysdeps/x86_64/fpu/math_private.h: Define special version of
29625 libc_feholdexcept_setround.
29626
581d30e3
UD
29627 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
29628 Add s_nearbyint-c and s_nearbyintf-c.
29629 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
29630 nearbyintf inlines.
29631 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
29632 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
29633 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
29634 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
29635
d38f1dba
UD
29636 * math/math_private.h: Define defaults for libc_fegetround,
29637 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
29638 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
29639 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
29640 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
29641 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
29642 standard functions.
29643 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29644 Remove comments and hacks for old compiler versions.
29645 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29646 libc_fegetround, libc_fesetround, libc_feholdexcept, and
29647 libc_feholdexceptl.
29648
caa6c9d8
AS
296492011-10-18 Andreas Schwab <schwab@redhat.com>
29650
29651 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
29652 (__feraiseexcept_renamed): Add __NTH.
29653 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
29654 namespace violations.
29655
97c066e6
UD
296562011-10-17 Ulrich Drepper <drepper@gmail.com>
29657
99ce7b04
UD
29658 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
29659
1004d182
UD
29660 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
29661
228a984d
UD
29662 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
29663 recently added interfaces.
29664 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
29665
c8553a6a
UD
29666 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
29667 about macro parameter expansion.
29668
ed22dcf6
UD
29669 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
29670 __NO_MATH_INLINES is defined. Cleanups.
29671
29672 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
29673 and __floorf is target has SSE4.1.
29674 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
29675 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
29676 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
29677 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
29678
b171c137
UD
29679 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
29680 name.
29681 (floorf): Likewise.
29682
97c066e6
UD
29683 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
29684
629f62ef
AS
296852011-10-17 Andreas Schwab <schwab@redhat.com>
29686
49a43d80
AS
29687 * misc/sys/cdefs.h: Fix last change.
29688
629f62ef
AS
29689 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
29690 database lookup.
29691
e453f6cd
UD
296922011-10-16 Ulrich Drepper <drepper@gmail.com>
29693
aa78043a
UD
29694 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
29695
ad0f5cad
UD
29696 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
29697 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29698 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29699 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29700 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29701 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29702 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29703 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29704 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29705 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
29706 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
29707 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
29708 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
29709 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
29710 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
29711 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
29712 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
29713 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
29714 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
29715 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
29716 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
29717 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
29718
29719 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
29720 ceil, ceilf, floor, floorf.
29721
29722 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
29723 Perform IRELATIVE relocations last.
29724
e453f6cd
UD
29725 * elf/do-rel.h: Add another parameter nrelative, replacing the
29726 local variable with the same name. Change name of the function
29727 to end in Rel or Rela (uppercase).
29728 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
29729 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
29730 elf_dynamic_do_##reloc function.
29731
fd5bdc09
UD
297322011-10-15 Ulrich Drepper <drepper@gmail.com>
29733
79b195b5
UD
29734 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
29735 is sufficient, at least on modern CPUs.
29736
d4a28569
UD
29737 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
29738
b61099b5
UD
29739 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
29740 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
29741
bcf01e6d
UD
29742 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
29743 __expl_finite.
29744 * math/bits/math-finite.h: Add entries for exp.
29745 * math/e_expl.c: Add __*_finite alias.
29746 * sysdeps/i386/fpu/e_exp.S: Likewise.
29747 * sysdeps/i386/fpu/e_expf.S: Likewise.
29748 * sysdeps/i386/fpu/e_expl.c: Likewise.
29749 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29750 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29751 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29752 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29753 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
29754 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29755 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29756
ba1a0d59
UD
29757 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
29758 is sufficient, at least on modern CPUs.
29759
fd5bdc09
UD
29760 * ctype/ctype-info.c (__ctype_init): Define.
29761 * include/ctype.h (__ctype_init): Declare.
29762 (__ctype_b_loc): The variable is always initialized.
29763 (__ctype_toupper_loc): Likewise.
29764 (__ctype_tolower_loc): Likewise.
29765 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
29766 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
29767
7872cfb0
AS
297682011-10-15 Andreas Schwab <schwab@linux-m68k.org>
29769
b468825a
AS
29770 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
29771
7872cfb0
AS
29772 * configure.in: Also look in $cxxmachine/include for C++ system
29773 headers.
29774
be13f7bf
LD
297752011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29776
29777 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
29778 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
29779 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
29780 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
29781 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
29782 (USE_AS_WMEMCMP): New macro.
29783 Fixing indents.
29784 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
29785 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
29786 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
29787 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
29788 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29789 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
29790 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
29791 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
29792 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
29793 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
29794 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
29795 (USE_AS_WMEMCMP): New macro.
29796 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
29797 * sysdeps/string/test-memcmp.c: Update.
29798 Fix simple_wmemcmp.
29799 Add new tests.
29800 * wcsmbs/wmemcmp.c: Update.
29801 (WMEMCMP): New macro.
29802 Fix overflow bug.
29803
556a2007
AJ
298042011-10-12 Andreas Jaeger <aj@suse.de>
29805
29806 [BZ #13268]
29807 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
29808
538faaa7
UD
298092011-10-15 Ulrich Drepper <drepper@gmail.com>
29810
ab6737ff
UD
29811 * libio/iofwide.c (do_length): Avoid warning.
29812
538faaa7
UD
29813 * ctype/ctype.h (__isctype_f): Add missing __THROW.
29814
396a21b1
UD
298152011-10-14 Ulrich Drepper <drepper@gmail.com>
29816
cdf2901f
UD
29817 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
29818
38ad40ce
UD
29819 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
29820 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
29821 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
29822 * sysdeps/i386/i686/fpu/e_log.S: New file.
29823 * sysdeps/i386/i686/fpu/e_logf.S: New file.
29824 * sysdeps/i386/i686/fpu/e_logl.S: New file.
29825
396a21b1
UD
29826 * ctype/ctype.h: Add support for inlined isXXX functions when
29827 compiling C++ code.
29828
6b1f68c9
AS
298292011-10-14 Andreas Schwab <schwab@redhat.com>
29830
349290c0
AS
29831 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29832
6b1f68c9
AS
29833 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
29834
f2282d42
RM
298352011-10-13 Roland McGrath <roland@hack.frob.com>
29836
29837 [BZ #13291]
29838 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
29839
5298ffa8
AS
298402011-10-13 Andreas Schwab <schwab@redhat.com>
29841
714fad23
AS
29842 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
29843 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
29844 feraiseexcept.
29845
81dcc7fb
AS
29846 * sysdeps/x86_64/memrchr.S: Check for zero size.
29847
5298ffa8
AS
29848 * string/stratcliff.c: Add memrchr tests.
29849
951fbcec
LD
298502011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29851
29852 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29853 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
29854 rawmemchr-sse2 rawmemchr-sse2-bsf.
29855 * sysdeps/i386/i686/multiarch/memchr.S: New file.
29856 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
29857 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
29858 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
29859 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
29860 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
29861 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
29862 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
29863 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
29864 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
29865 * string/memrchr.c (MEMRCHR): New macro.
29866
0ac5ae23
UD
298672011-10-12 Ulrich Drepper <drepper@gmail.com>
29868
29869 Add integration with gcc's -ffinite-math-only and optimize wrapper
29870 functions in libm.
29871 * Versions.def: Define GLIBC_2.15 version for libm.
29872 * math/Makefile (headers): Add bits/math-finite.h.
29873 * math/bits/math-finite.h: New file.
29874 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
29875 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
29876 * math/e_acoshl.c: Add __*_finite alias.
29877 * math/e_acosl.c: Likewise.
29878 * math/e_asinl.c: Likewise.
29879 * math/e_atan2l.c: Likewise.
29880 * math/e_atanhl.c: Likewise.
29881 * math/e_coshl.c: Likewise.
29882 * math/e_exp10.c: Likewise.
29883 * math/e_exp10f.c: Likewise.
29884 * math/e_exp10l.c: Likewise.
29885 * math/e_exp2l.c: Likewise.
29886 * math/e_fmodl.c: Likewise.
29887 * math/e_gammal_r.c: Likewise.
29888 * math/e_hypotl.c: Likewise.
29889 * math/e_j0l.c: Likewise.
29890 * math/e_j1l.c: Likewise.
29891 * math/e_jnl.c: Likewise.
29892 * math/e_lgammal_r.c: Likewise.
29893 * math/e_log10l.c: Likewise.
29894 * math/e_log2l.c: Likewise.
29895 * math/e_logl.c: Likewise.
29896 * math/e_powl.c: Likewise.
29897 * math/e_sinhl.c: Likewise.
29898 * math/e_sqrtl.c: Likewise.
29899 * math/e_scalb.c: Completely rewritten and optimized.
29900 * math/e_scalbf.c: Likewise.
29901 * math/e_scalbl.c: Likewise.
29902 * math/w_acos.c: Likewise.
29903 * math/w_acosf.c: Likewise.
29904 * math/w_acosl.c: Likewise.
29905 * math/w_acosh.c: Likewise.
29906 * math/w_acoshf.c: Likewise.
29907 * math/w_acoshl.c: Likewise.
29908 * math/w_asin.c: Likewise.
29909 * math/w_asinf.c: Likewise.
29910 * math/w_asinl.c: Likewise.
29911 * math/w_atan2.c: Likewise.
29912 * math/w_atan2f.c: Likewise.
29913 * math/w_atan2l.c: Likewise.
29914 * math/w_atanh.c: Likewise.
29915 * math/w_atanhf.c: Likewise.
29916 * math/w_atanhl.c: Likewise.
29917 * math/w_exp10.c: Likewise.
29918 * math/w_exp10f.c: Likewise.
29919 * math/w_exp10l.c: Likewise.
29920 * math/w_fmod.c: Likewise.
29921 * math/w_fmodf.c: Likewise.
29922 * math/w_fmodl.c: Likewise.
29923 * math/w_j0.c: Likewise.
29924 * math/w_j0f.c: Likewise.
29925 * math/w_j0l.c: Likewise.
29926 * math/w_j1.c: Likewise.
29927 * math/w_j1f.c: Likewise.
29928 * math/w_j1l.c: Likewise.
29929 * math/w_jn.c: Likewise.
29930 * math/w_jnf.c: Likewise.
29931 * math/w_log.c: Likewise.
29932 * math/w_logf.c: Likewise.
29933 * math/w_logl.c: Likewise.
29934 * math/w_log10.c: Likewise.
29935 * math/w_log10f.c: Likewise.
29936 * math/w_log10l.c: Likewise.
29937 * math/w_log2.c: Likewise.
29938 * math/w_log2f.c: Likewise.
29939 * math/w_log2l.c: Likewise.
29940 * math/w_pow.c: Likewise.
29941 * math/w_powf.c: Likewise.
29942 * math/w_powl.c: Likewise.
29943 * math/w_remainder.c: Likewise.
29944 * math/w_remainderf.c: Likewise.
29945 * math/w_remainderl.c: Likewise.
29946 * math/w_scalb.c: Likewise.
29947 * math/w_scalbf.c: Likewise.
29948 * math/w_scalbl.c: Likewise.
29949 * math/w_sqrt.c: Likewise.
29950 * math/w_sqrtf.c: Likewise.
29951 * math/w_sqrtl.c: Likewise.
29952 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
29953 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
29954 used.
29955 * math/math_private.h: Declare __kernel_standard_f.
29956 * math/w_cosh.c: Remove cruft and optimize a bit.
29957 * math/w_coshf.c: Likewise.
29958 * math/w_coshl.c: Likewise.
29959 * math/w_exp2.c: Likewise.
29960 * math/w_exp2f.c: Likewise.
29961 * math/w_exp2l.c: Likewise.
29962 * math/w_hypot.c: Likewise.
29963 * math/w_hypotf.c: Likewise.
29964 * math/w_hypotl.c: Likewise.
29965 * math/w_lgamma.c: Likewise.
29966 * math/w_lgamma_r.c: Likewise.
29967 * math/w_lgammaf.c: Likewise.
29968 * math/w_lgammaf_r.c: Likewise.
29969 * math/w_lgammal.c: Likewise.
29970 * math/w_lgammal_r.c: Likewise.
29971 * math/w_sinh.c: Likewise.
29972 * math/w_sinhf.c: Likewise.
29973 * math/w_sinhl.c: Likewise.
29974 * math/w_tgamma.c: Likewise.
29975 * math/w_tgammaf.c: Likewise.
29976 * math/w_tgammal.c: Likewise.
29977 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29978 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29979 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
29980 Minor optimizations. Pretty printing. Remove cruft.
29981 * sysdeps/i386/fpu/e_acosf.S: Likewise.
29982 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29983 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29984 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29985 * sysdeps/i386/fpu/e_acosl.c: Likewise.
29986 * sysdeps/i386/fpu/e_asin.S: Likewise.
29987 * sysdeps/i386/fpu/e_asinf.S: Likewise.
29988 * sysdeps/i386/fpu/e_atan2.S: Likewise.
29989 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
29990 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
29991 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29992 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29993 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29994 * sysdeps/i386/fpu/e_exp10.S: Likewise.
29995 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
29996 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
29997 * sysdeps/i386/fpu/e_exp2.S: Likewise.
29998 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
29999 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
30000 * sysdeps/i386/fpu/e_fmod.S: Likewise.
30001 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
30002 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
30003 * sysdeps/i386/fpu/e_hypot.S: Likewise.
30004 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
30005 * sysdeps/i386/fpu/e_log.S: Likewise.
30006 * sysdeps/i386/fpu/e_log10.S: Likewise.
30007 * sysdeps/i386/fpu/e_log10f.S: Likewise.
30008 * sysdeps/i386/fpu/e_log10l.S: Likewise.
30009 * sysdeps/i386/fpu/e_log2.S: Likewise.
30010 * sysdeps/i386/fpu/e_log2f.S: Likewise.
30011 * sysdeps/i386/fpu/e_log2l.S: Likewise.
30012 * sysdeps/i386/fpu/e_logf.S: Likewise.
30013 * sysdeps/i386/fpu/e_logl.S: Likewise.
30014 * sysdeps/i386/fpu/e_pow.S: Likewise.
30015 * sysdeps/i386/fpu/e_powf.S: Likewise.
30016 * sysdeps/i386/fpu/e_powl.S: Likewise.
30017 * sysdeps/i386/fpu/e_remainder.S: Likewise.
30018 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
30019 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
30020 * sysdeps/i386/fpu/e_scalb.S: Likewise.
30021 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30022 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30023 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
30024 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
30025 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
30026 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30027 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30028 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30029 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30030 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30031 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30032 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
30033 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30034 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30035 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30036 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30037 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30038 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30039 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30040 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30041 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30042 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30043 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30044 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30045 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30046 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30047 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30048 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30049 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30050 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30051 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30052 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30053 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30054 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
30055 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
30056 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30057 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30058 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30059 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
30060 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
30061 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
30062 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
30063 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
30064 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
30065 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
30066 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
30067 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
30068 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
30069 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
30070 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30071 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
30072 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
30073 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
30074 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
30075 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
30076 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
30077 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30078 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30079 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30080 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30081 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
30082 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
30083 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
30084 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
30085 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
30086 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
30087 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
30088 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
30089 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
30090 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
30091 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
30092 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
30093 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
30094 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
30095 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
30096 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
30097 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
30098 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
30099 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
30100 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
30101 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
30102 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30103 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
30104 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
30105 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
30106 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30107 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
30108 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
30109 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
30110 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30111 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
30112 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30113 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
30114 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
30115 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
30116 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
30117 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30118 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30119 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
30120 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30121 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30122 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30123 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
30124 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
30125 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
30126 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
30127 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
30128 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
30129 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
30130 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30131 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30132 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30133 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30134 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
30135 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30136 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
30137 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
30138 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
30139 (__isnanf): Likewise.
30140 (__isinf_ns): Likewise.
30141 (__isinf_nsf): Likewise.
30142 (__finite): Likewise.
30143 (__finitef): Likewise.
30144 (__ieee754_sqrt): Define as macro.
30145 (__ieee754_sqrtf): Define as macro.
30146 (__ieee754_sqrtl): Define as macro.
30147 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
30148 inlined copy.
30149 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
30150 __FINITE_MATH_ONLY__ consistent.
30151 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
30152
12cc2fcd
AS
301532011-10-10 Andreas Schwab <schwab@linux-m68k.org>
30154
a843a204
AS
30155 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
30156 of rawmemchr.
30157
12cc2fcd
AS
30158 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
30159
c853acd5
UD
301602011-10-09 Ulrich Drepper <drepper@gmail.com>
30161
30162 * po/ja.po: Update from translation team.
30163
c658d255
RM
301642011-10-08 Roland McGrath <roland@hack.frob.com>
30165
110946e4
RM
30166 * locale/programs/locarchive.c (prepare_address_space): New function.
30167 (create_archive, enlarge_archive, open_archive): Use it.
30168
50604220
RM
30169 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
30170 inside [SHARED], where it is used.
30171
c658d255
RM
30172 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
30173
30174 * nss/getent.c (netgroup_keys): Remove unused variable.
30175 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30176
6a621eb7
UD
301772011-10-08 Ulrich Drepper <drepper@gmail.com>
30178
7edb55ce
UD
30179 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
30180 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
30181 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
30182 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
30183 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
30184 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
30185 * math/Makefile (libm-calls): Add s_isinf_ns.
30186 * math/divtc3.c: Use __isinf_nsl instead of isinf.
30187 * math/multc3.c: Likewise.
30188 * math/s_casin.c: Likewise.
30189 * math/s_casinf.c: Likewise.
30190 * math/s_casinl.c: Likewise.
30191 * math/s_ccos.c: Likewise.
30192 * math/s_ccosf.c: Likewise.
30193 * math/s_ccosl.c: Likewise.
30194 * math/s_ctan.c: Likewise.
30195 * math/s_ctanf.c: Likewise.
30196 * math/s_ctanh.c: Likewise.
30197 * math/s_ctanhf.c: Likewise.
30198 * math/s_ctanhl.c: Likewise.
30199 * math/s_ctanl.c: Likewise.
30200 * math/w_fmod.c: Likewise.
30201 * math/w_fmodf.c: Likewise.
30202 * math/w_fmodl.c: Likewise.
30203 * math/w_remainder.c: Likewise.
30204 * math/w_remainderf.c: Likewise.
30205 * math/w_remainderl.c: Likewise.
30206 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
30207 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
30208 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
30209 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
30210 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
30211 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
30212 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
30213 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
30214
187da0ae
UD
30215 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
30216 of the number.
30217 * stdio-common/printf_fphex.c: Likewise.
30218 * stdio-common/printf_size.c: Likewise.
30219
9277c064
UD
30220 * math/e_exp10.c: Include math_private.h using <...> not "...".
30221 * math/e_exp10f.c: Likewise.
30222 * math/e_exp10l.c: Likewise.
30223 * math/e_exp2l.c: Likewise.
30224 * math/e_j0l.c: Likewise.
30225 * math/e_j1l.c: Likewise.
30226 * math/e_jnl.c: Likewise.
30227 * math/e_lgammal_r.c: Likewise.
30228 * math/e_rem_pio2l.c: Likewise.
30229 * math/e_scalb.c: Likewise.
30230 * math/e_scalbf.c: Likewise.
30231 * math/e_scalbl.c: Likewise.
30232 * math/k_cosl.c: Likewise.
30233 * math/k_sinl.c: Likewise.
30234 * math/k_tanl.c: Likewise.
30235 * math/s_cacoshf.c: Likewise.
30236 * math/s_catan.c: Likewise.
30237 * math/s_catanf.c: Likewise.
30238 * math/s_catanh.c: Likewise.
30239 * math/s_catanhf.c: Likewise.
30240 * math/s_catanhl.c: Likewise.
30241 * math/s_catanl.c: Likewise.
30242 * math/s_ccosh.c: Likewise.
30243 * math/s_ccoshf.c: Likewise.
30244 * math/s_ccoshl.c: Likewise.
30245 * math/s_cexp.c: Likewise.
30246 * math/s_cexpf.c: Likewise.
30247 * math/s_cexpl.c: Likewise.
30248 * math/s_clog.c: Likewise.
30249 * math/s_clog10.c: Likewise.
30250 * math/s_clog10f.c: Likewise.
30251 * math/s_clog10l.c: Likewise.
30252 * math/s_clogf.c: Likewise.
30253 * math/s_clogl.c: Likewise.
30254 * math/s_csin.c: Likewise.
30255 * math/s_csinf.c: Likewise.
30256 * math/s_csinh.c: Likewise.
30257 * math/s_csinhf.c: Likewise.
30258 * math/s_csinhl.c: Likewise.
30259 * math/s_csinl.c: Likewise.
30260 * math/s_csqrt.c: Likewise.
30261 * math/s_csqrtf.c: Likewise.
30262 * math/s_csqrtl.c: Likewise.
30263 * math/s_ctan.c: Likewise.
30264 * math/s_ctanf.c: Likewise.
30265 * math/s_ctanh.c: Likewise.
30266 * math/s_ctanhf.c: Likewise.
30267 * math/s_ctanhl.c: Likewise.
30268 * math/s_ctanl.c: Likewise.
30269 * math/s_ldexp.c: Likewise.
30270 * math/s_ldexpf.c: Likewise.
30271 * math/s_ldexpl.c: Likewise.
30272 * math/s_significand.c: Likewise.
30273 * math/s_significandf.c: Likewise.
30274 * math/s_significandl.c: Likewise.
30275 * math/w_acos.c: Likewise.
30276 * math/w_acosf.c: Likewise.
30277 * math/w_acosh.c: Likewise.
30278 * math/w_acoshf.c: Likewise.
30279 * math/w_acoshl.c: Likewise.
30280 * math/w_acosl.c: Likewise.
30281 * math/w_asin.c: Likewise.
30282 * math/w_asinf.c: Likewise.
30283 * math/w_asinl.c: Likewise.
30284 * math/w_atan2.c: Likewise.
30285 * math/w_atan2f.c: Likewise.
30286 * math/w_atan2l.c: Likewise.
30287 * math/w_atanh.c: Likewise.
30288 * math/w_atanhf.c: Likewise.
30289 * math/w_atanhl.c: Likewise.
30290 * math/w_cosh.c: Likewise.
30291 * math/w_coshf.c: Likewise.
30292 * math/w_coshl.c: Likewise.
30293 * math/w_dremf.c: Likewise.
30294 * math/w_exp10.c: Likewise.
30295 * math/w_exp10f.c: Likewise.
30296 * math/w_exp10l.c: Likewise.
30297 * math/w_exp2.c: Likewise.
30298 * math/w_exp2f.c: Likewise.
30299 * math/w_fmod.c: Likewise.
30300 * math/w_fmodf.c: Likewise.
30301 * math/w_fmodl.c: Likewise.
30302 * math/w_hypot.c: Likewise.
30303 * math/w_hypotf.c: Likewise.
30304 * math/w_hypotl.c: Likewise.
30305 * math/w_j0.c: Likewise.
30306 * math/w_j0f.c: Likewise.
30307 * math/w_j0l.c: Likewise.
30308 * math/w_j1.c: Likewise.
30309 * math/w_j1f.c: Likewise.
30310 * math/w_j1l.c: Likewise.
30311 * math/w_jn.c: Likewise.
30312 * math/w_jnf.c: Likewise.
30313 * math/w_jnl.c: Likewise.
30314 * math/w_lgamma.c: Likewise.
30315 * math/w_lgamma_r.c: Likewise.
30316 * math/w_lgammaf.c: Likewise.
30317 * math/w_lgammaf_r.c: Likewise.
30318 * math/w_lgammal.c: Likewise.
30319 * math/w_lgammal_r.c: Likewise.
30320 * math/w_log.c: Likewise.
30321 * math/w_log10.c: Likewise.
30322 * math/w_log10f.c: Likewise.
30323 * math/w_log10l.c: Likewise.
30324 * math/w_log2.c: Likewise.
30325 * math/w_log2f.c: Likewise.
30326 * math/w_log2l.c: Likewise.
30327 * math/w_logf.c: Likewise.
30328 * math/w_logl.c: Likewise.
30329 * math/w_pow.c: Likewise.
30330 * math/w_powf.c: Likewise.
30331 * math/w_powl.c: Likewise.
30332 * math/w_remainder.c: Likewise.
30333 * math/w_remainderf.c: Likewise.
30334 * math/w_remainderl.c: Likewise.
30335 * math/w_scalb.c: Likewise.
30336 * math/w_scalbf.c: Likewise.
30337 * math/w_scalbl.c: Likewise.
30338 * math/w_sinh.c: Likewise.
30339 * math/w_sinhf.c: Likewise.
30340 * math/w_sinhl.c: Likewise.
30341 * math/w_sqrt.c: Likewise.
30342 * math/w_sqrtf.c: Likewise.
30343 * math/w_sqrtl.c: Likewise.
30344 * math/w_tgamma.c: Likewise.
30345 * math/w_tgammaf.c: Likewise.
30346 * math/w_tgammal.c: Likewise.
30347
6a621eb7
UD
30348 * po/ja.po: Update from translation team.
30349
bf582445
AJ
303502011-09-29 Andreas Jaeger <aj@suse.de>
30351
f9efbf3a
AJ
30352 [BZ #13179]
30353 * sunrpc/netname.c (netname2host): Fix logic.
30354
bf582445
AJ
30355 [BZ #6779]
30356 [BZ #6783]
30357 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
30358 correctly.
30359 * math/w_remainder.c (__remainder): Likewise.
30360 * math/w_remainderf.c (__remainderf): Likewise.
30361 * math/libm-test.inc (remainder_test): Add test cases.
30362
48693bea
AK
303632011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30364
30365 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
30366 sdiv_qrnnd.
30367
42622229
LD
303682011-10-07 Ulrich Drepper <drepper@gmail.com>
30369
30370 * string/test-memcmp.c: Avoid unncessary #defines.
30371 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30372
093ecf92
LD
303732011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30374
30375 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
30376 Use new sse2 version for core i3 - i7 as it's faster
30377 than sse42 version.
30378 (bit_Prefer_PMINUB_for_stringop): New.
30379 * sysdeps/x86_64/rawmemchr.S: Update.
30380 Replace with faster SSE2 version.
30381 * sysdeps/x86_64/memrchr.S: New file.
30382 * sysdeps/x86_64/memchr.S: Update.
30383 Replace with faster SSE2 version.
30384
fde56e5c
MP
303852011-09-12 Marek Polacek <mpolacek@redhat.com>
30386
30387 * elf/dl-load.c (lose): Add cast to avoid warning.
30388
21fd49a9
UD
303892011-10-07 Ulrich Drepper <drepper@gmail.com>
30390
5a06e643
UD
30391 * po/ca.po: Update from translation team.
30392
684ae515
UD
30393 * inet/getnetgrent_r.c: Hook up nscd.
30394 * nscd/Makefile (routines): Add nscd_netgroup.
30395 (nscd-modules): Add netgroupcache.
30396 (CFLAGS-netgroupcache.c): Define.
30397 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
30398 (cache_search): Add const to second parameter.
30399 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
30400 INNETGR.
30401 (dbs): Add netgrdb entry.
30402 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
30403 (verify_persistent_db): Handle netgrdb.
30404 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
30405 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
30406 GETFDNETGR.
30407 (netgroup_response_header): Define.
30408 (innetgroup_response_header): Define.
30409 (datahead): Add netgroup_response_header and innetgroup_response_header
30410 elements.
30411 * nscd/nscd.conf: Add entries for netgroup cache.
30412 * nscd/nscd.h (dbtype): Add netgrdb.
30413 (_PATH_NSCD_NETGROUP_DB): Define.
30414 (netgroup_iov_disabled): Declare.
30415 (xmalloc, xcalloc, xrealloc): Move declarations here.
30416 (cache_search): Adjust prototype.
30417 Add netgroup-related prototypes.
30418 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
30419 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
30420 (__nscd_innetgr): Declare.
30421 * nscd/selinux.c (perms): Use access_vector_t as element type and
30422 add netgroup-related initializers.
30423 * nscd/netgroupcache.c: New file.
30424 * nscd/nscd_netgroup.c: New file.
30425 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
30426 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
30427 For four parameters use innetgr.
30428 * nss/nss_files/files-init.c: Add definition and callback for netgr.
30429 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
30430 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
30431 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
30432
21fd49a9
UD
30433 * nscd/connections.c (register_traced_file): Don't register file
30434 for disabled databases.
30435
054c0457
UD
304362011-10-06 Ulrich Drepper <drepper@gmail.com>
30437
32b63198
UD
30438 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
30439
054c0457
UD
30440 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
30441 from tree and freeing node.
30442
64031225
JO
304432011-09-25 Jiri Olsa <jolsa@redhat.com>
30444
30445 * nss/nsswitch.c (__nss_database_lookup): Handle
30446 nss_parse_service_list out of memory case.
30447
0490345c
JO
304482011-09-15 Jiri Olsa <jolsa@redhat.com>
30449
30450 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
30451 out of memory case.
30452
3a62d00d
AS
304532011-10-04 Andreas Schwab <schwab@redhat.com>
30454
30455 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
30456 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
30457 pass it down.
30458 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
30459 elf_machine_rela, elf_machine_lazy_rel.
30460 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
30461 (ELF_DYNAMIC_DO_REL): Likewise.
30462 (ELF_DYNAMIC_DO_RELA): Likewise.
30463 (ELF_DYNAMIC_RELOCATE): Likewise.
30464 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
30465 to ELF_DYNAMIC_DO_REL.
30466 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
30467 (dl_main): In trace mode always set __RTLD_NOIFUNC.
30468 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
30469 elf_machine_rela.
30470 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
30471 skip_ifunc, don't call ifunc function if non-zero.
30472 (elf_machine_rela): Likewise.
30473 (elf_machine_lazy_rel): Likewise.
30474 (elf_machine_lazy_rela): Likewise.
30475 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
30476 (elf_machine_lazy_rel): Likewise.
30477 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
30478 Likewise.
30479 (elf_machine_lazy_rel): Likewise.
30480 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30481 Likewise.
30482 (elf_machine_lazy_rel): Likewise.
30483 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
30484 (elf_machine_lazy_rel): Likewise.
30485 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
30486 (elf_machine_lazy_rel): Likewise.
30487 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30488 (elf_machine_lazy_rel): Likewise.
30489 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30490 (elf_machine_lazy_rel): Likewise.
30491 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30492 (elf_machine_lazy_rel): Likewise.
30493 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
30494 (elf_machine_lazy_rel): Likewise.
30495
68577918
UD
304962011-09-28 Ulrich Drepper <drepper@gmail.com>
30497
30498 * nss/nss_files/files-init.c (_nss_files_init): Use static
30499 initialization for all the *_traced_file variables.
30500
68822d74
AS
305012011-09-28 Andreas Schwab <schwab@redhat.com>
30502
30503 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30504
2056100b
RM
305052011-09-27 Roland McGrath <roland@hack.frob.com>
30506
30507 [BZ #13226]
30508 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
30509
32c76b63
AS
305102011-09-27 Andreas Schwab <schwab@redhat.com>
30511
30512 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30513 Reread the line before reparsing it.
30514
bf972c9d
AS
305152011-09-26 Andreas Schwab <schwab@redhat.com>
30516
30517 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
30518
e057a1b5
JM
305192011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
30520 Maxim Kuvyrkov <maxim@codesourcery.com>
30521 Joseph Myers <joseph@codesourcery.com>
30522
30523 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
30524 if needed for __stack_chk_guard.
30525
bc7e1c36
RM
305262011-09-19 Roland McGrath <roland@hack.frob.com>
30527
ecb1482f
RM
30528 * sysdeps/posix/spawni.c (script_execute): Always define it.
30529 It will be optimized away if unused.
30530 (maybe_script_execute): New function.
30531 (__spawni): Call it.
30532
bc7e1c36
RM
30533 * Makerules: Don't include tls.make.
30534 (config-tls): Always set to thread.
30535 * tls.make.c: File removed.
30536
1c3b002b
MF
305372011-09-19 Mike Frysinger <vapier@gentoo.org>
30538
30539 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
30540 * config.make.in (CPPFLAGS-config): New substituted variable.
30541
2840865d
UD
305422011-09-15 Ulrich Drepper <drepper@gmail.com>
30543
88738eb6
UD
30544 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
30545
cbf645a6 30546 [BZ #13192]
2840865d
UD
30547 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
30548 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
30549
b402e91a
RM
305502011-09-15 Roland McGrath <roland@hack.frob.com>
30551
30552 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
30553 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
30554 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30555 (CALL_FAIL): Likewise.
30556 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
30557 (CALL_FAIL): Macro removed.
30558 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
30559
4c1a1f71
UD
305602011-09-15 Ulrich Drepper <drepper@gmail.com>
30561
30562 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
30563 for __FINITE_MATH_ONLY__ == 1.
30564
edc121be
AS
305652011-09-15 Andreas Schwab <schwab@redhat.com>
30566
30567 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
30568 __ieee754_sqrt instead of sqrt.
30569 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
30570 __ieee754_sqrtf instead of sqrtf.
30571 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
30572 __floorf instead of floorf.
30573 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
30574 __floorf, __truncf instead of floorf, truncf.
30575
cd205654
UD
305762011-09-14 Ulrich Drepper <drepper@gmail.com>
30577
ee4d0315
UD
30578 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
30579
cd205654
UD
30580 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
30581 __extern_always_inline.
30582 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
30583 32-bit.
30584
48b67d71
AS
305852011-09-14 Andreas Schwab <schwab@redhat.com>
30586
30587 * elf/rtld.c (dl_main): Also relocate in dependency order when
30588 doing symbol dependency testing.
30589
1ae12c75
AS
305902011-09-13 Andreas Schwab <schwab@linux-m68k.org>
30591
30592 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30593 Always define `refsym'.
30594
995a80df
AS
305952011-09-13 Andreas Schwab <schwab@redhat.com>
30596
e529793b
AS
30597 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
30598 (__FD_ELT): Renamed from __FDELT.
30599 * misc/bits/select2.h (__FD_ELT): Likewise.
30600 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
30601 __FD_MASK instead of __FDELT, __FDMASK.
30602 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30603 Likewise.
30604 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30605 Likewise.
30606
52d4fef8
AS
30607 * elf/Makefile (gen-ldd): Fix pattern.
30608
995a80df
AS
30609 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
30610 (init_tls): Likewise.
30611
8682f8b0
UD
306122011-09-12 Ulrich Drepper <drepper@gmail.com>
30613
30614 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
30615
de82006d
AS
306162011-09-12 Andreas Schwab <schwab@redhat.com>
30617
a7c8e6a1
AS
30618 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
30619 `struct cmsghdr *' instead of `void *'.
30620 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
30621 Likewise.
30622
0f31fe77
AS
306232011-09-11 Andreas Schwab <schwab@linux-m68k.org>
30624
30625 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
30626 if non-absolute.
30627 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
30628 ldd_rewrite_script.
0f31fe77 30629
32b4c839
UD
306302011-09-11 Ulrich Drepper <drepper@gmail.com>
30631
83cd1420
UD
30632 * configure.in: Remove --with-tls option.
30633 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
30634 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
30635 out in case it is missing.
30636 * sysdeps/ia64/elf/configure.in: Likewise.
30637 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
30638 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
30639 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
30640 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
30641 * sysdeps/sh/elf/configure.in: Likewise.
30642 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
30643 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30644 * sysdeps/x86_64/elf/configure.in: Likewise.
30645 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
30646 * sysdeps/mach/hurd/tls.h: Likewise.
30647
633f745d
UD
30648 [BZ #13067]
30649 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
30650
f318beb8
UD
30651 [BZ #13090]
30652 * configure.in: Fix use of AC_INIT.
30653
32b4c839
UD
30654 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
30655
3ce1f295
UD
306562011-09-10 Ulrich Drepper <drepper@gmail.com>
30657
bb016596
UD
30658 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
30659 __set_errno.
8e58439c
UD
30660 * malloc/hooks.c: Likewise.
30661
aebae053 30662 [BZ #11929]
02d46fc4
UD
30663 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
30664 variables statically.
30665 (narenas): Initialize.
30666 (list_lock): Initialize.
bb016596
UD
30667 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
30668 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
30669 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
30670 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
30671 Add initializers to main_arena and mp_.
30672 (malloc_state): Remove pagesize member. Change all users to use
30673 GLRO(dl_pagesize).
30674
30675 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
30676 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
30677 is always initialized.
30678
22a89187
UD
30679 * malloc/malloc.c: Removed unused configurations and dead code.
30680 * malloc/arena.c: Likewise.
30681 * malloc/hooks.c: Likewise.
02d46fc4 30682 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 30683
d063d164
UD
30684 * include/tls.h: Removed. USE___THREAD must always be defined.
30685 * bits/libc-tsd.h: Don't handle !USE___THREAD.
30686 * elf/dl-libc.c: Likewise.
30687 * elf/dl-tsd.c: Likewise.
30688 * include/errno.h: Likewise.
30689 * include/netdb.h: Likewise.
30690 * include/resolv.h: Likewise.
30691 * inet/herrno-loc.c: Likewise.
30692 * inet/herrno.c: Likewise.
30693 * malloc/arena.c: Likewise.
30694 * malloc/hooks.c: Likewise.
30695 * malloc/malloc.c: Likewise.
30696 * resolv/res-state.c: Likewise.
30697 * resolv/res_libc.c: Likewise.
30698 * sysdeps/i386/dl-machine.h: Likewise.
30699 * sysdeps/ia64/dl-machine.h: Likewise.
30700 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
30701 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30702 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
30703 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
30704 * sysdeps/sh/dl-machine.h: Likewise.
30705 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30706 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30707 * sysdeps/unix/i386/sysdep.S: Likewise.
30708 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30709 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
30710 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
30711 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30712 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
30713 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30714 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30715 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30716 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30717 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30718 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30719 * sysdeps/x86_64/dl-machine.h: Likewise.
30720 * tls.make.c: Likewise.
30721
3ce1f295
UD
30722 * configure.in: Remove --with-__thread option. Make tests for
30723 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
30724 tls_model attribute fail if no support is available. Remove
30725 USE_IN_LIBIO.
30726 * Makeconfig: Adjust for dropped configure option. All features are
30727 now mandatory.
30728 * Makerules: Likewise.
30729 * Versions.def: Likewise.
30730 * argp/argp-fmtstream.c: Likewise.
30731 * argp/argp-fmtstream.h: Likewise.
30732 * argp/argp-help.c: Likewise.
30733 * assert/assert.c: Likewise.
30734 * config.h.in: Likewise.
30735 * config.make.in: Likewise.
30736 * configure: Likewise.
30737 * configure.in: Likewise.
30738 * csu/Versions: Likewise.
30739 * csu/init.c: Likewise.
30740 * elf/tst-audit2.c: Likewise.
30741 * elf/tst-tls10.c: Likewise.
30742 * elf/tst-tls10.h: Likewise.
30743 * elf/tst-tls11.c: Likewise.
30744 * elf/tst-tls12.c: Likewise.
30745 * elf/tst-tls14.c: Likewise.
30746 * elf/tst-tlsmod11.c: Likewise.
30747 * elf/tst-tlsmod12.c: Likewise.
30748 * elf/tst-tlsmod13.c: Likewise.
30749 * elf/tst-tlsmod13a.c: Likewise.
30750 * elf/tst-tlsmod14a.c: Likewise.
30751 * elf/tst-tlsmod15b.c: Likewise.
30752 * elf/tst-tlsmod16a.c: Likewise.
30753 * elf/tst-tlsmod16b.c: Likewise.
30754 * elf/tst-tlsmod7.c: Likewise.
30755 * elf/tst-tlsmod8.c: Likewise.
30756 * elf/tst-tlsmod9.c: Likewise.
30757 * gmon/gmon.c: Likewise.
30758 * grp/fgetgrent_r.c: Likewise.
30759 * grp/putgrent.c: Likewise.
30760 * hurd/fopenport.c: Likewise.
30761 * include/libc-symbols.h: Likewise.
30762 * include/tls.h: Likewise.
30763 * intl/gettextP.h: Likewise.
30764 * intl/loadinfo.h: Likewise.
30765 * locale/global-locale.c: Likewise.
30766 * locale/localeinfo.h: Likewise.
30767 * mach/devstream.c: Likewise.
30768 * malloc/arena.c: Likewise.
30769 * malloc/set-freeres.c: Likewise.
30770 * misc/err.c: Likewise.
30771 * misc/getttyent.c: Likewise.
30772 * misc/mntent_r.c: Likewise.
30773 * posix/getopt.c: Likewise.
30774 * posix/wordexp.c: Likewise.
30775 * pwd/fgetpwent_r.c: Likewise.
30776 * resolv/Versions: Likewise.
30777 * resolv/res_hconf.c: Likewise.
30778 * shadow/fgetspent_r.c: Likewise.
30779 * shadow/putspent.c: Likewise.
30780 * stdio-common/printf_fphex.c: Likewise.
30781 * stdio-common/tmpfile.c: Likewise.
30782 * stdlib/abort.c: Likewise.
30783 * stdlib/fmtmsg.c: Likewise.
30784 * sunrpc/auth_unix.c: Likewise.
30785 * sunrpc/clnt_perr.c: Likewise.
30786 * sunrpc/clnt_tcp.c: Likewise.
30787 * sunrpc/clnt_udp.c: Likewise.
30788 * sunrpc/clnt_unix.c: Likewise.
30789 * sunrpc/openchild.c: Likewise.
30790 * sunrpc/svc_simple.c: Likewise.
30791 * sunrpc/svc_tcp.c: Likewise.
30792 * sunrpc/svc_udp.c: Likewise.
30793 * sunrpc/svc_unix.c: Likewise.
30794 * sunrpc/xdr.c: Likewise.
30795 * sunrpc/xdr_array.c: Likewise.
30796 * sunrpc/xdr_rec.c: Likewise.
30797 * sunrpc/xdr_ref.c: Likewise.
30798 * sunrpc/xdr_stdio.c: Likewise.
30799
1248c1c4
PB
308002011-09-09 Ulrich Drepper <drepper@gmail.com>
30801
30802 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30803
308042011-07-03 Andreas Jaeger <aj@suse.de>
30805
30806 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
30807 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
30808 regenerate with gen-libm-tests.pl.
30809
308102010-05-12 Petr Baudis <pasky@suse.cz>
30811
30812 [BZ #11589]
30813 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
30814 around j0() zero points by switching to j1().
30815 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30816 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30817 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30818 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30819
f22e1074
UD
308202011-09-09 Ulrich Drepper <drepper@gmail.com>
30821
f19009c1
UD
30822 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
30823 instead of 0.
30824 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 30825 instead of 0.
f19009c1
UD
30826 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30827 Patch in part by Pavel Roskin <proski@gnu.org>.
30828
3f8cc204
UD
30829 [BZ #13138]
30830 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
30831 realloc.
30832 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
30833 Free memory block if necessary.
30834
f22e1074
UD
30835 [BZ #12847]
30836 * libio/genops.c (INTDEF): For string streams the _lock pointer can
30837 be NULL. Don't lock in this case.
30838
0a2349f9
RM
308392011-09-09 Roland McGrath <roland@hack.frob.com>
30840
30841 * elf/elf.h (ELFOSABI_GNU): New macro.
30842 (ELFOSABI_LINUX): Define to that.
30843
f3cdd467
DZ
308442011-07-29 Denis Zaitceff <zaitceff@gmail.com>
30845
30846 * string/strncat.c (strncat): Undef the symbol in case it has been
30847 defined in bits/string.h.
30848
74718d13
UD
308492011-09-09 Ulrich Drepper <drepper@gmail.com>
30850
633e9e0f
UD
30851 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
30852
0a2349f9 30853 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
30854 link map.
30855
f9924780
AJ
308562011-08-17 Andreas Jaeger <aj@suse.de>
30857
30858 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
30859
7f5517aa
PP
308602011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
30861 Ian Lance Taylor <iant@google.com>
30862
30863 * math/libm-test.inc (lround_test): New testcase.
30864 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
30865
762011fe
UD
308662011-09-08 Ulrich Drepper <drepper@gmail.com>
30867
92963737
UD
30868 * Makefile: Remove support for automatic cvs check-ins.
30869 * Makerules: Likewise.
30870 * config.make.in: Likewise.
30871 * configure.in: Likewise.
30872 * intl/Makefile: Likewise.
30873 * locale/Makefile: Likewise.
30874 * po/Makefile: Likewise.
30875 * posix/Makefile: Likewise.
30876 * sysdeps/gnu/Makefile: Likewise.
30877 * sysdeps/mach/hurd/Makefile: Likewise.
30878 * sysdeps/sparc/sparc32/Makefile: Likewise.
30879
b0727fd8
JS
30880 [BZ #13118]
30881 * posix/Makefile (bug-regex32-ENV): Define.
30882 Patch by John Stanley <jpsinthemix@verizon.net>.
30883
a0f33f99
UD
30884 * misc/Makefile (headers): Add bits/select2.h.
30885 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
30886 * misc/bits/select2.h: New file.
30887 * include/bits/select2.h: New file.
30888 * debug/Makefile (routines): Add fdelt_chk.
30889 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
30890 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
30891 FD_ISSET.
30892 * debug/fdelt_chk.c: New file.
30893
762011fe
UD
30894 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
30895 * wcsmbs/test-wmemcmp.c: Likewise.
30896 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 30897 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
30898
308992011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30900
30901 * string/Makefile (strop-tests): Add memcmp.
30902 * string/test-wmemcmp.c: New file.
30903 * string/test-memcmp.c: Add wmemcmp support.
30904
7f513ec8
RM
309052011-09-08 Roland McGrath <roland@hack.frob.com>
30906
0442afb4
RM
30907 [BZ #13153]
30908 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
30909 2011-07-19 change.
30910
7f513ec8
RM
30911 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
30912 garbage value in a __mach_port_mod_refs call in the cases of the
30913 task-self and thread-self ports.
30914
a12b2239
ST
309152011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
30916
30917 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
30918
610f9ab4
AS
309192011-09-08 Andreas Schwab <schwab@redhat.com>
30920
7f513ec8 30921 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 30922
48882a1a
LD
309232011-09-07 Ulrich Drepper <drepper@gmail.com>
30924
b49865be
UD
30925 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
30926
fdc86bc9
UD
30927 * elf/dl-libc.c (dlerror_run): Pass back error code from
30928 dl_catch_error.
30929
c966526a
UD
30930 [BZ #13123]
30931 * elf/dl-load.c (lose): Free l_origin if it is valid.
30932
48882a1a
LD
30933 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
30934 names.
30935 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
30936 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30937 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30938 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30939 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
30940 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
30941
77a2a8b4
AZ
309422011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30943
30944 * sysdeps/powerpc/fpu/e_hypot.c: New file.
30945 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
30946 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
30947 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
30948 * sysdeps/powerpc/fpu/k_cosf.c: New file.
30949 * sysdeps/powerpc/fpu/k_sinf.c: New file.
30950 * sysdeps/powerpc/fpu/s_cosf.c: New file.
30951 * sysdeps/powerpc/fpu/s_sinf.c: New file.
30952 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
30953 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
30954
24f579d8
AM
309552011-08-15 Alan Modra <amodra@gmail.com>
30956
30957 [BZ #13092]
30958 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
30959 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
30960 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
30961 ppc_mcount to static-only-routines.
30962 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
30963 __mcount_internal.
30964 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
30965 __mcount_internal with usual JUMPTARGET. Remove useless nop.
30966
3d4837df
UD
309672011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
30968
30969 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
30970 for finite and infinity parameters.
30971
22700377
WS
309722011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30973
30974 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
30975 and add nop instructions for throughput optimization.
30976 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30977
5025581e
WS
309782011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
30979
30980 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
30981 aligned copy for power7 with vector-scalar instructions.
30982 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30983
08a300c9
L
309842011-07-24 H.J. Lu <hongjiu.lu@intel.com>
30985
30986 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
30987 AVX check.
30988
59178ef9
AS
309892011-09-07 Andreas Schwab <schwab@redhat.com>
30990
30991 [BZ #13144]
30992 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
30993 last change.
30994
e38ba7ab
UD
309952011-09-07 Ulrich Drepper <drepper@gmail.com>
30996
30997 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30998 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
30999 syscall wrapper around clock_gettime in __vdso_clock_gettime.
31000 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
31001 clock_gettime.
31002
d53a73ac
UD
310032011-09-06 Ulrich Drepper <drepper@gmail.com>
31004
fc8bffcc
UD
31005 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
31006 Forgot to demangle the pointer.
31007
ceaa0c5d
UD
31008 * sysdeps/i386/sysdep.h: Define atom_text_section.
31009 * sysdeps/x86_64/sysdep.h: Likewise.
31010 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
31011 section with atom_text_section.
31012 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31013 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31014 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
31015 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31016 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
31017
a77d3c17
UD
31018 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
31019 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
31020 already be defined. Change to take two parameters and don't assign
31021 result to variable. Adjust all users.
31022 Define INTERNAL_GETTIME if not already defined.
31023 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
31024 call.
31025 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
31026 HAVE_CLOCK_GETTIME_VSYSCALL.
31027 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
31028
d53a73ac
UD
31029 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
31030 gettimeofday vsyscall, just use time.
31031
a8f84144
AS
310322011-09-06 Andreas Schwab <schwab@redhat.com>
31033
31034 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
31035 <errno.h>.
31036
ef606249
UD
310372011-09-06 Ulrich Drepper <drepper@gmail.com>
31038
31039 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
31040 syscall on x86-64.
31041 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
31042 syscall.
31043 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
31044 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
31045 syscall if possible.
31046
6585cb60
UD
310472011-09-05 Ulrich Drepper <drepper@gmail.com>
31048
31049 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
31050 e_ident. Don't pass to find_mapsXX.
31051 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
31052
a5f524e4
LD
310532011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31054
31055 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31056 strchr-sse2-no-bsf strrchr-sse2-no-bsf
31057 * sysdeps/x86_64/multiarch/strchr.S: Update.
31058 Check bit_slow_BSF bit.
31059 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
31060 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
31061 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
31062
554881ef
UD
310632011-09-05 Ulrich Drepper <drepper@gmail.com>
31064
d96de963
UD
31065 [BZ #13134]
31066 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
31067 before glibc 2.15.
31068 (tryshell): Define.
31069 (__spawni): Change last parameter to be flag. Test
31070 SPAWN_XFLAGS_USE_PATH flag to use path or not.
31071 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
31072 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
31073 * posix/spawni.c: Likewise.
31074 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
31075 * posix/spawnp.c: Likewise. Change normal version to use
31076 SPAWN_XFLAGS_USE_PATH.
31077 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
31078 SPAWN_XFLAGS_TRY_SHELL.
31079
d48e5868
UD
31080 [BZ #13150]
31081 * posix/glob.h: Remove gcc 1.x support.
31082
554881ef
UD
31083 [BZ #13068]
31084 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
31085
693fb948
LD
310862011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31087
31088 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31089 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
31090 strrchr-sse2-bsf
31091 * sysdeps/i386/i686/multiarch/strchr.S: New file.
31092 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
31093 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
31094 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
31095 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
31096 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
31097
1b48c537
UD
310982011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31099
49d42c37
UD
31100 * sysdeps/x86_64/wcscmp.S: New file.
31101
1b48c537
UD
31102 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
31103 wcscmp-c wcscmp-sse2
31104 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
31105 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
31106 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
31107 * wcsmbs/wcscmp.c: Allow renaming.
31108
15c95c5d
DM
311092011-09-05 David S. Miller <davem@davemloft.net>
31110
31111 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
31112 stack slot, rather than the struct return pointer slot.
31113 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
31114 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
31115 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
31116 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
31117
2f0ad8f3
UD
311182011-09-05 Ulrich Drepper <drepper@gmail.com>
31119
d88ae418
UD
31120 * po/ja.po: Update from translation team.
31121
2f0ad8f3
UD
31122 [BZ #13144]
31123 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
31124 kernel in 64-bit binaries.
31125
5f4318d1
DM
311262011-09-01 David S. Miller <davem@davemloft.net>
31127
31128 * elf/elf.h (HWCAP_SPARC_*): Move to..
31129 * sysdeps/sparc/sysdep.h: this new file and add new values.
31130 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
31131 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
31132 _DL_HWCAP_COUNT to 24.
31133 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31134 entries.
31135 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
31136 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
31137 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
31138 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
31139 instead of magic constants.
31140 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31141
3ba57516
DM
311422011-08-31 David S. Miller <davem@davemloft.net>
31143
31144 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
31145 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
31146 Reimplement to do errno handling inline.
31147 (SYSCALL_ERROR_HANDLER): New macro.
31148 (__SYSCALL_STRING): Do not do errno handling in asm.
31149 (__CLONE_SYSCALL_STRING): Delete.
31150 (__INTERNAL_SYSCALL_STRING): Delete.
31151 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
31152 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
31153 (PSEUDO): Reimplement to do errno handling inline.
31154 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
31155 (SYSCALL_ERROR_HANDLER): New macro.
31156 (__SYSCALL_STRING): Do not do errno handling in asm.
31157 (__CLONE_SYSCALL_STRING): Delete.
31158 (__INTERNAL_SYSCALL_STRING): Delete.
31159 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
31160 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
31161 i386.
31162 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
31163 (inline_syscall*): Add 'err' argument.
31164 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
31165 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
31166 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
31167 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
31168
31169 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
31170 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31171
2bc17433
AS
311722011-08-30 Andreas Schwab <schwab@redhat.com>
31173
31174 * elf/rtld.c (dl_main): Relocate objects in dependency order.
31175
fbeb5f4d
JO
311762011-08-29 Jiri Olsa <jolsa@redhat.com>
31177
31178 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
31179 directive.
31180
ad69cc26
DM
311812011-08-24 David S. Miller <davem@davemloft.net>
31182
31183 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
31184
39dd69df
AS
311852011-08-24 Andreas Schwab <schwab@redhat.com>
31186
31187 * elf/Makefile: Add rules to build and run unload8 test.
31188 * elf/unload8.c: New file.
31189 * elf/unload8mod1.c: New file.
31190 * elf/unload8mod1x.c: New file.
31191 * elf/unload8mod2.c: New file.
31192 * elf/unload8mod3.c: New file.
31193
31194 * elf/dl-close.c (_dl_close_worker): Reset private search list if
31195 it wasn't used.
31196
2c0b250a
DM
311972011-08-23 David S. Miller <davem@davemloft.net>
31198
31199 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
31200 subtract stack bias.
31201 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
31202 %sp not %fp in calculations.
31203 (_JMPBUF_UNWINDS_ADJ): Likewise.
31204
22044b48
DM
31205 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
31206 (aio_suspend): Call it to force an exception region around the
31207 AIO_MISC_WAIT() invocation.
31208
2cae4995
AS
312092011-08-23 Andreas Schwab <schwab@redhat.com>
31210
31211 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
31212 backslash.
31213
873a772e
AJ
312142011-07-04 Aurelien Jarno <aurelien@aurel32.net>
31215
31216 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
31217 protection macro.
31218 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
31219 and <dl-machine.h>.
31220 (Elf64_FuncDesc): Remove.
31221
25ad0df1
DM
312222011-08-22 David S. Miller <davem@davemloft.net>
31223
31224 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
31225 sigaltstack check, add missing cfi directives.
31226 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
31227 missing cfi directives, and sigaltstack handling.
31228
e888bcbe
AS
312292011-08-16 Andreas Schwab <schwab@redhat.com>
31230
31231 [BZ #11724]
31232 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
31233 object is seen twice.
31234 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31235
31236 * elf/Makefile (distribute): Add tst-initorder2.c.
31237 (tests): Add tst-initorder2.
31238 (modules-names): Add tst-initorder2a tst-initorder2b
31239 tst-initorder2c tst-initorder2d. Add rules to build them.
31240 ($(objpfx)tst-initorder2.out): New rule.
31241 * elf/tst-initorder2.c: New file.
31242 * elf/tst-initorder2.exp: New file.
31243
87162f46
AS
312442011-08-22 Andreas Schwab <schwab@redhat.com>
31245
70538b7f
AS
31246 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
31247
f55ffe58
AS
31248 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
31249 dependencies back to end of function.
31250
87162f46
AS
31251 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31252 $(elfobjdir)/ld.so.
31253
91b392a4
UD
312542011-08-21 Ulrich Drepper <drepper@gmail.com>
31255
31256 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
31257 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
31258 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
31259 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
31260 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
31261 of __vdso_gettimeofday.
31262 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
31263 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
31264 attribute_hidden.
31265 (_libc_vdso_platform_setup): Remove initialization of
31266 __vdso_gettimeofday and __vdso_time.
31267
5c43483f
UD
312682011-08-20 Ulrich Drepper <drepper@gmail.com>
31269
775a77e7
UD
31270 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
31271 and fgetc_unlocked.
31272 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
31273 getc_unlocked.
89f447ed 31274
49c74ba9
UD
31275 * elf/dl-open.c (add_to_global): Report additions to the global scope
31276 for LD_DEBUG=scopes.
31277 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 31278 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 31279
5c43483f
UD
31280 [BZ #13114]
31281 * stdio-common/Makefile (tests): Add bug24.
31282 * stdio-common/bug24.c: New file.
31283
a101b025
AJ
312842011-08-19 Andreas Jaeger <aj@suse.de>
31285
31286 [BZ #13114]
31287 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
31288 non-existant file when using close-on-exec mode.
31289
c88f1766
UD
312902011-08-20 Ulrich Drepper <drepper@gmail.com>
31291
0276a718
UD
31292 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
31293 the very first instruction.
31294
c88f1766
UD
31295 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
31296 the CFI state in the end.
31297 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
31298 inclusion of dl-trampoline.h.
31299 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
31300
51ccffa0
AS
313012011-08-19 Andreas Schwab <schwab@redhat.com>
31302
94d7165f
AS
31303 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
31304 expectations for long double.
31305
51ccffa0
AS
31306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
31307 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
31308
fd708658 313092011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
31310
31311 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
31312 artificual limit depends upon the system page size.
31313
44f0a71e
UD
313142011-08-17 Ulrich Drepper <drepper@gmail.com>
31315
31316 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
31317 * resolv/Makefile: Define CFLAGS-libresolv.
31318
8de79a24
AS
313192011-08-17 Andreas Schwab <schwab@redhat.com>
31320
31321 * nss/makedb.c (compute_tables): Make variables used in nested
31322 function static.
31323
27724598
UD
313242011-08-17 Ulrich Drepper <drepper@gmail.com>
31325
c5305d88
UD
31326 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
31327 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
31328 if buffer was too small.
31329
27724598
UD
31330 * elf/pldd.c (main): Attach to all threads in the process.
31331 Rewrite /proc handling to use *at functions.
31332
076fe015
UD
313332011-08-16 Ulrich Drepper <drepper@gmail.com>
31334
174baab3
UD
31335 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
31336 specifies first scope to show.
31337 (dl_open_worker): Update callers. Move printing scope of new
31338 object to before the relocation.
44f0a71e 31339 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
31340 * sysdeps/generic/ldsodefs.h: Update declaration.
31341
076fe015
UD
31342 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
31343 string for the scope number.
31344
a60df2c3
UD
313452011-08-14 Ulrich Drepper <drepper@gmail.com>
31346
31347 * nscd/servicescache.c (cache_addserv): Make sure written is always
31348 initialized.
31349
5e4287d1
RM
313502011-08-14 Roland McGrath <roland@hack.frob.com>
31351
85ae0589
RM
31352 * sysdeps/i386/i486/bits/atomic.h
31353 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
31354 statement expression, so as to suppress "set but not used" warning.
31355 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
31356
69f63097
RM
31357 * string/strncat.c (STRNCAT): Use prototype definition.
31358
675456ef
RM
31359 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
31360 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
31361 -Iprograms here.
31362 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
31363 (localedef-modules): Add localedef.
31364 (locale-modules): Add locale.
31365
5e4287d1
RM
31366 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
31367 * elf/rtld.c (dl_main): Invert order of assignment in last change,
31368 to avoid a warning.
31369
9c96ff23
DM
313702011-08-14 David S. Miller <davem@davemloft.net>
31371
31372 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
31373 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
31374
f9ddf089
UD
313752011-08-13 Ulrich Drepper <drepper@gmail.com>
31376
44f0a71e 31377 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
31378 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
31379 * elf/rtld.c (dl_main): Set l_name of vDSO.
31380 Call _dl_show_scope when DL_DEBUG_SCOPES.
31381 (process_dl_debug): Recognize scopes flag and also set it for all.
31382 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
31383 Declare _dl_show_scope.
31384
1dc27704
UD
31385 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
31386 (do_dlopen): Pass caller_dlopen to dl_open.
31387 (__libc_dlopen_mode): Initialize caller_dlopen.
31388
f9ddf089
UD
31389 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
31390 of libc. Make tolower call locale-independent. Optimize a bit by
31391 using isdigit instead of isalnum.
31392 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
31393
9ac533d3
UD
313942011-08-12 Ulrich Drepper <drepper@gmail.com>
31395
31396 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
31397 was a dependency or dynamically loaded.
31398
89edf2e9
UD
313992011-08-11 Ulrich Drepper <drepper@gmail.com>
31400
8e999d29
UD
31401 * intl/l10nflist.c: Allow architecture-specific pop function.
31402 * sysdeps/x86_64/l10nflist.c: New file.
31403
89edf2e9
UD
31404 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
31405 classification.
31406
14d96785
AS
314072011-08-10 Andreas Schwab <schwab@redhat.com>
31408
31409 * include/dirent.h: Add libc_hidden_proto for scandirat and
31410 scandirat64. Don't declare __scandirat64.
31411 * dirent/scandirat.c: Add libc_hidden_def.
31412 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
31413 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
31414
6761ac04
DM
314152011-08-10 David S. Miller <davem@davemloft.net>
31416
31417 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
31418 enum.
31419 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31420 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31421 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31422
c55fbd1e
UD
314232011-08-09 Ulrich Drepper <drepper@gmail.com>
31424
31425 * Versions.def [libc]: Add GLIBC_2.15.
31426 * dirent/Makefile (routines): Add scandirat and scandirat64.
31427 * dirent/Versions [libc]: Export scandirat and scandirat64 for
31428 GLIBC_2.15.
31429 * dirent/dirent.h: Declare scandirat and scandirat64.
31430 * dirent/scandirat.c: New file.
31431 * dirent/scandirat64.c: New file.
31432 * sysdeps/wordsize-64/scandirat.c: New file.
31433 * sysdeps/wordsize-64/scandirat64.c: New file.
31434 * dirent/opendir.c: Define opendirat.
31435 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
31436 using scandirat.
31437 * dirent/scandir64.c: Adjust for scandir.c change.
31438 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
31439 __scandirat64, and __scandir_cancel_handler.
31440 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
31441 additional parameter and use openat instead of open (outside of ld.so).
31442 Add new __opendir as wrapper around __opendirat.
31443 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
31444 here without requiring old scandirat implementation.
31445
879165f2
UD
314462011-08-08 Ulrich Drepper <drepper@gmail.com>
31447
31448 * dirent/scandir.c (cancel_handler): Renamed to
31449 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
31450 defined. Adjust users.
31451 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
31452 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
31453
cb7e923b
UD
314542011-08-04 Ulrich Drepper <drepper@gmail.com>
31455
16292edd
UD
31456 * string/test-string.h (IMPL): Use __STRING to expand name and then
31457 stringify it.
31458
cb7e923b
UD
31459 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
31460 of cleanups.
31461
cff82933
LD
314622011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31463
31464 * string/Makefile: Update.
31465 (strop-tests): Append strncat.
31466 * string/test-wcscmp.c: New file.
31467 New comprehensive test for wcscmp.
31468 * string/test-strcmp.c: Update.
31469 (WIDE): New define.
31470
9be9bfcc
AS
314712011-07-22 Andreas Schwab <schwab@redhat.com>
31472
31473 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
31474 line.
31475
2e96f1c7
AS
314762011-07-26 Andreas Schwab <schwab@redhat.com>
31477
31478 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31479 encoding to ACE if AI_IDN.
31480
85188888
JJ
314812011-08-01 Jakub Jelinek <jakub@redhat.com>
31482
31483 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
31484 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
31485
5fa16e9b
LD
314862011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31487
31488 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
31489 Fix overflow bug in strncat.
31490 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
31491
31492 * string/test-strncat.c: Update.
31493 Add new tests for checking overflow bugs.
31494
314952011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31496
31497 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31498 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
31499 * sysdeps/i386/i686/multiarch/strcat.S: New file.
31500 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
31501 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
31502 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
31503 * sysdeps/i386/i686/multiarch/strncat.S: New file.
31504 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
31505 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
31506
31507 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
31508 (USE_AS_STRCAT): Define.
31509 Add strcat and strncat support.
31510 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31511
8c1a459f
AS
315122011-07-25 Andreas Schwab <schwab@redhat.com>
31513
31514 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
31515 __n bigger than INT_MAX+1.
31516 (__strncmp_g): Likewise.
31517
bba33c28
UD
315182011-07-23 Ulrich Drepper <drepper@gmail.com>
31519
798be72d
UD
31520 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
31521 * libio/stido.h: Likewise.
31522
8accd4dc
UD
31523 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
31524 (AF_NFC): Define.
31525 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
31526 (AF_NFC): Define.
31527
cbff0d96
UD
31528 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
31529 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31530 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31531 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31532 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31533
9191c04a
UD
31534 [BZ #13021]
31535 * scripts/test-installation.pl: Don't expect libnss_test1 to be
31536 installed.
31537
bba33c28
UD
31538 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
31539 typo.
31540 (_dl_x86_64_save_sse): Likewise.
31541
90f139dd
UD
315422011-07-22 Ulrich Drepper <drepper@gmail.com>
31543
1aae088a
UD
31544 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
31545 OSXSAVE.
31546 (_dl_x86_64_save_sse): Likewise.
31547
8e2045f5
UD
31548 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
31549
90f139dd
UD
31550 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
31551
1d002f25
AS
315522011-07-21 Andreas Schwab <schwab@redhat.com>
31553
31554 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
31555 change.
31556 (_dl_x86_64_save_sse): Use correct AVX check.
31557
21137f89
UD
315582011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31559
31560 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
31561 bug in strncpy/strncat.
31562 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
31563
a65c0b7a
UD
315642011-07-21 Ulrich Drepper <drepper@gmail.com>
31565
31566 * string/tester.c (test_strcat): Add tests for different alignments
31567 of source and destination.
31568 (test_strncat): Likewise.
31569
6986b98a
UD
315702011-07-20 Ulrich Drepper <drepper@gmail.com>
31571
90bb2039
UD
31572 [BZ #12852]
31573 * posix/glob.c (glob): Check passed in values before using them in
31574 expressions to avoid some overflows.
31575 (glob_in_dir): Likewise.
31576
5644ef54
UD
31577 [BZ #13007]
31578 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
31579 check for AVX enablement so that we don't crash with old kernels and
31580 new hardware.
31581 * elf/tst-audit4.c: Add same checks here.
31582 * elf/tst-audit6.c: Likewise.
31583
31584 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 31585
bfc9dc9b
AS
315862011-07-09 Andreas Schwab <schwab@linux-m68k.org>
31587
31588 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
31589
702e64bb
UD
315902011-07-20 Ulrich Drepper <drepper@gmail.com>
31591
31592 * po/cs.po: Update from translation team.
31593 * po/bg.po: Likewise.
31594
295e904f
MP
315952011-07-12 Marek Polacek <mpolacek@redhat.com>
31596
31597 * misc/sys/cdefs.h: Add support for const attribute.
31598 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
31599 to gnu_dev_{major,minor,makedev} functions.
31600
3ff94596
MP
316012011-07-20 Marek Polacek <mpolacek@redhat.com>
31602
31603 * intl/dcigettext.c (get_output_charset): Add missing bracket.
31604
28b59fca
AS
316052011-07-20 Andreas Schwab <schwab@redhat.com>
31606
31607 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
31608 strlen results.
31609
19df733e
AK
316102011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31611
31612 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
31613 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
31614 register in order to avoid conflicts with the soft frame pointer
31615 being held in r11 when necessary.
31616 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
31617 (INTERNAL_VSYSCALL_NCS): Likewise.
31618
c8835729
MP
316192011-07-14 Marek Polacek <mpolacek@redhat.com>
31620
31621 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
31622 * elf/dl-fini.c (_dl_fini): Adjust caller.
31623 * elf/dl-close.c (_dl_close_worker): Likewise.
31624 * sysdeps/generic/ldsodefs.h: Adjust declaration.
31625
b902330c
MP
316262011-07-15 Marek Polacek <mpolacek@redhat.com>
31627
8991e135
MP
31628 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
31629 "aux_cache->nlibs < 0".
31630
b902330c
MP
31631 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
31632 in the reload-count case.
31633
99710781
LD
316342011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31635
31636 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31637 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
31638 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
31639 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
31640 * sysdeps/x86_64/multiarch/strcat.S: New file.
31641 * sysdeps/x86_64/multiarch/strncat.S: New file.
31642 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
31643 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
31644 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
31645 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
31646 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
31647 (USE_AS_STRCAT): Define.
31648 Add strcat and strncat support.
31649 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31650 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31651 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
31652 * string/strncat.c: Update.
31653 (USE_AS_STRNCAT): Define.
31654 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31655 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
31656 and i7.
31657 * sysdeps/x86_64/multiarch/init-arch.h
31658 (bit_Prefer_PMINUB_for_stringop): New.
31659 (index_Prefer_PMINUB_for_stringop): Likewise.
31660 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
31661 bit_Prefer_PMINUB_for_stringop.
31662
7dc6bd90
UD
316632011-07-19 Ulrich Drepper <drepper@gmail.com>
31664
31665 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
31666 buffer64.
31667 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
31668 of casting of buffer.
31669 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
31670 buffer32 and buffer64.
31671 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
31672 writes instead of casting of buffer.
31673 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
31674 buffer32.
31675 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
31676 casting of buffer.
31677
e0e72284
AS
316782011-07-19 Andreas Schwab <schwab@redhat.com>
31679
31680 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
31681
feb1eb0b
UD
316822011-07-19 Ulrich Drepper <drepper@gmail.com>
31683
31684 * nscd/nscd.c (termination_handler): Don't do anything for a database
31685 if it has not yet been initialized.
31686
298711ff
UD
316872011-07-18 Ulrich Drepper <drepper@gmail.com>
31688
31689 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31690
316912011-07-15 Marek Polacek <mpolacek@redhat.com>
31692
31693 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31694
f9d68389
UD
316952011-07-18 Ulrich Drepper <drepper@gmail.com>
31696
31697 * po/nl.po: Update from translation team.
31698 * po/sv.po: Likewise.
31699
db290cf5
RM
317002011-07-16 Roland McGrath <roland@hack.frob.com>
31701
31702 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
31703 now disallowed by GCC.
5c550700 31704
fd5e21c7
RM
31705 * configure.in (use-default-link): Default to yes if a test -shared
31706 link meets our qualifications.
31707 * configure: Regenerated.
31708
5c550700
RM
31709 * config.make.in (output-format): New variable.
31710 * configure.in: Check for ld --print-output-format support.
31711 * configure: Regenerated.
31712 * Makerules ($(common-objpfx)format.lds)
31713 [$(output-format) != unknown]: Just use $(output-format),
31714 instead of the linker-script munging.
31715
9fa2c032
RM
317162011-07-14 Roland McGrath <roland@hack.frob.com>
31717
a6928d51
RM
31718 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
31719 of $(common-objpfx)shlib.lds.
31720 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
31721
661607b3
RM
31722 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
31723 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
31724
9fa2c032
RM
31725 * configure.in (-z relro check): Adjust test code to add a large
31726 writable data section after it.
31727 * configure: Regenerated.
31728
defe9061
RM
317292011-07-11 Roland McGrath <roland@hack.frob.com>
31730
31731 * configure.in (-z relro check): Fix test code to make the variable
31732 truly const.
31733 * configure: Regenerated.
31734
319b9ad4
UD
317352011-07-11 Ulrich Drepper <drepper@gmail.com>
31736
31737 * nscd/nscd.h (struct traced_file): Define.
31738 (struct database_dyn): Remove inotify_descr, reset_res, and filename
31739 elements. Add traced_files.
31740 (inotify_fd): Declare.
31741 (register_traced_file): Declare.
31742 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
31743 (inotify_fd): Export.
31744 (resolv_conf_descr): Remove.
31745 (nscd_init): Move inotify descriptor creation to main.
31746 Don't register files for notification here.
31747 (register_traced_file): New function.
31748 (invalidate_cache): Don't use reset_res to determine whether to call
31749 res_init, go through the list of registered files.
31750 (main_loop_poll): The inotify descriptors are now stored in the
31751 structures for the traced files.
31752 (main_loop_epoll): Likewise
31753 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
31754 to __nss_disable_nscd.
31755 * nscd/cache.c (prune_cache): There is no single inotify descriptor
31756 for a database anymore. Check the records for all the registered
31757 files instead.
31758 * nss/Makefile (libnss_files-routines): Add files-init.
31759 (libnss_db-routines): Add db-init.
31760 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
31761 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
31762 * nss/nss_db/db-init.c: New file.
31763 * nss/nss_files/files-init.c: New file.
31764 * nss/nsswitch.c (nss_load_library): New function. Broken out of
31765 __nss_lookup_function.
31766 (__nss_lookup_function): Call nss_load_library.
31767 (nss_load_all_libraries): New function.
31768 (__nss_disable_nscd): Take parameter with callback function for files
31769 to register. Set is_nscd. Load all the DSOs for the NSS modules
31770 used for the cached services.
31771 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
31772 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
31773 options for features to all the files in nscd.
31774
31775 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
31776
23bee3e8
RM
317772011-07-10 Roland McGrath <roland@hack.frob.com>
31778
31779 * csu/elf-init.c (__libc_csu_init): Comment typo.
31780
46a5b7f0
UD
317812011-07-09 Ulrich Drepper <drepper@gmail.com>
31782
31783 * po/pl.po: Update from translation team.
31784 * po/ja.po: Likewise.
31785 * po/ru.po: Likewise.
31786 * po/ko.po: Likewise.
31787 * po/fr.po: Likewise.
31788
d30cf5bb
RM
317892011-07-09 Roland McGrath <roland@hack.frob.com>
31790
113ddea4
RM
31791 * configure.in (.ctors/.dtors header and trailer check):
31792 Use an empirical test on a built program.
31793 * configure: Regenerated.
31794
574920b4
RM
31795 * configure.in (-z relro check): Use an empirical test on a built DSO.
31796 Detect, but do not require, on ia64.
31797 * configure: Regenerated.
31798
d30cf5bb
RM
31799 * configure.in (READELF): Find it with AC_CHECK_TOOL.
31800 Update tests that use readelf to use $READELF instead.
31801 * configure: Regenerated.
31802
8538fdb3
UD
318032011-07-08 Ulrich Drepper <drepper@gmail.com>
31804
31805 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
31806 if the result is not used.
31807
04d08991
AJ
318082011-07-05 Andreas Jaeger <aj@suse.de>
31809
31810 [BZ#9696]
31811 * stdlib/tst-strtod.c: Add testcase.
31812
de283087
AD
318132011-07-07 Ulrich Drepper <drepper@gmail.com>
31814
4e5f31c8 31815 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 31816 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
31817 The latter has a higher limit. Take additional parameter to pass to
31818 the new function.
31819 (__pathconf): Pass file to __statfs_link_max.
31820 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
31821 __statfs_link_max.
31822 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
31823 __statfs_link_max.
31824
de283087
AD
31825 [BZ #12868]
31826 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
31827 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31828 Handle Lustre.
31829 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
31830 (__statfs_filesize_max): Likewise.
31831 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
31832
c75fa153
AJ
318332011-07-05 Andreas Jaeger <aj@suse.de>
31834
31835 * resolv/res_comp.c (dn_skipname): Remove unused variable.
31836
1a544854
UD
318372011-07-06 Marek Polacek <mpolacek@redhat.com>
31838
31839 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
31840 `status' variable.
31841 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
31842 Likewise.
31843
6f0eec67
UD
318442011-07-04 H.J. Lu <hongjiu.lu@intel.com>
31845
31846 * Makefile (strop-tests): Add strncat.
31847 * string/test-strncat.c: New file.
31848
aae30307
UD
318492011-06-30 Marek Polacek <mpolacek@redhat.com>
31850
31851 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
31852
c0cfb5eb
UD
318532011-06-21 Andreas Jaeger <aj@suse.de>
31854
31855 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
31856 Copy rule from iconvdata/Makefile.
31857
01636b21
UD
318582011-07-06 Ulrich Drepper <drepper@gmail.com>
31859
31860 [BZ #12922]
31861 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
31862 but no long options are defined, just return 'W'.
31863
9895c8bc
UD
318642011-06-22 Marek Polacek <mpolacek@redhat.com>
31865
31866 [BZ #9696]
31867 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
31868
5d4cf042
UD
318692011-07-06 Ulrich Drepper <drepper@gmail.com>
31870
31871 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
31872 netgroups to read.
960e5535 31873 (innetgr): Likewise.
5d4cf042 31874
751eb97e
RM
318752011-07-05 Roland McGrath <roland@hack.frob.com>
31876
31877 * config.make.in (install_root): Default to $(DESTDIR).
31878
f15f1e45
UD
318792011-07-05 Ulrich Drepper <drepper@gmail.com>
31880
31881 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
31882
4e34ac6a
RM
318832011-07-02 Roland McGrath <roland@hack.frob.com>
31884
5e9b6af4
RM
31885 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
31886
84f9ea0f
RM
31887 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
31888 containing directory rather than embedding absolute directory names.
31889
ea5ee9f7
RM
31890 * scripts/check-local-headers.sh: Rewritten using awk.
31891 Match by word, not by line. Print error messages for matches.
31892 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
31893
1b74661a
RM
31894 * Makerules [shlib-lds-flags empty]:
31895 ($(common-objpfx)libc_pic.opts): New target.
31896 ($(common-objpfx)libc_pic.os.clean): New target.
31897 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
31898
31899 * config.make.in (OBJCOPY): New variable.
31900 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
31901 * configure: Regenerated.
31902
f781ef40
RM
31903 * config.make.in (use-default-link): New variable.
31904 * configure.in (use_default_link): Grok --with-default-link to set it.
31905 * configure: Regenerated.
31906 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
31907 (shlib-lds, shlib-lds-flags): Define to empty.
31908
2d4fa81e
RM
31909 * Makerules (shlib-lds): New variable.
31910 (shlib-lds-flags): New variable.
31911 (build-shlib, build-moduile, build-module-asneeded): Use it.
31912 ($(common-objpfx)libc.so): Use $(shlib-lds).
31913 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
31914 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
31915
31fffa6b
RM
31916 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
31917 DT_FLAGS/DT_FLAGS_1 with zero flags.
31918
4e34ac6a
RM
31919 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
31920 linker script munging.
31921
fcfc776b
UD
319222011-07-02 Ulrich Drepper <drepper@gmail.com>
31923
31924 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
31925 as 128-bit value.
31926 * crypt/sha512.c (sha512_process_block): Perform total addition using
31927 128-bit if possible.
31928 (__sha512_finish_ctx): Likewise.
31929 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
31930 as 64-bit value.
31931 * crypt/sha256.c (SWAP64): Define.
31932 (sha256_process_block): Perform total addition using 64-bit if
31933 possible.
31934 (__sha256_finish_ctx): Likewise.
31935
99231d9a
UD
319362011-07-01 Ulrich Drepper <drepper@gmail.com>
31937
31938 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
31939 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31940 * nscd/hstcache.c (cache_addhst): Likewise.
31941 * nscd/grpcache.c (cache_addgr): Likewise.
31942 * nscd/aicache.c (addhstaiX): Likewise
31943 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
31944
445b4a53
TK
319452011-07-01 Thorsten Kukuk <kukuk@suse.de>
31946
31947 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
31948 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31949 * nscd/hstcache.c (cache_addhst): Likewise.
31950 * nscd/grpcache.c (cache_addgr): Likewise.
31951 * nscd/aicache.c (addhstaiX): Likewise
31952
6d4d8e8e
AS
319532011-07-01 Andreas Schwab <schwab@redhat.com>
31954
31955 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
31956 domain only when needed.
31957
89f654c5
AS
319582011-06-30 Andreas Schwab <schwab@redhat.com>
31959
31960 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
31961 is always restored.
31962
cf3b23ff
UD
319632011-06-29 Ulrich Drepper <drepper@gmail.com>
31964
31965 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
31966 are re-adding the entry.
31967 * nscd/servicescache.c (cache_addserv): Likewise.
31968
751626f9
AJ
319692011-06-30 Aurelien Jarno <aurelien@aurel32.net>
31970
31971 * sysdeps/generic/dl-irel.h: fix protection against multiple
31972 inclusions.
31973 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
31974
9113ea1f
UD
319752011-06-28 Ulrich Drepper <drepper@gmail.com>
31976
5c0b8d90
UD
31977 [BZ #12935]
31978 * malloc/memusage.sh: Fix quoting in message.
31979 * debug/xtrace.sh: Likewise.
31980
9113ea1f
UD
31981 * configure.in: Remove support for --experimental-malloc option, make
31982 it the default.
31983 * config.make.in: Likewise.
31984 * malloc/Makefile: Likewise.
31985
a4172181
AS
319862011-06-27 Andreas Schwab <schwab@redhat.com>
31987
31988 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
31989 two-byte characters.
31990
78a7eee7
RM
319912011-06-27 Roland McGrath <roland@hack.frob.com>
31992
62bede13
RM
31993 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
31994 AC_CACHE_CHECK invocation.
31995 * configure: Regenerated.
31996
78a7eee7
RM
31997 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
31998
5ce33a62
UD
319992011-06-27 Ulrich Drepper <drepper@gmail.com>
32000
034807a9
UD
32001 [BZ #12350]
32002 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
32003 bit from old_res_options.
32004
4902da17
UD
32005 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
32006
5ce33a62
UD
32007 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
32008 value type for setfct.
32009
c2344f56
L
320102011-06-23 H.J. Lu <hongjiu.lu@intel.com>
32011
32012 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32013 __gettimeofday instead of gettimeofday.
32014
68468076
UD
320152011-06-26 Ulrich Drepper <drepper@gmail.com>
32016
32017 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
32018
acb0d739
L
320192011-06-24 H.J. Lu <hongjiu.lu@intel.com>
32020
32021 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
32022
32023 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
32024 info.
32025
8912479f
L
320262011-06-22 H.J. Lu <hongjiu.lu@intel.com>
32027
32028 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32029 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32030 strcpy-sse2-unaligned strncpy-sse2-unaligned
32031 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
32032 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
32033 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
32034 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
32035 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
32036 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
32037 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
32038 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
32039 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
32040 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
32041 (STRCPY): Support SSE2 and SSSE3 versions.
32042
d5495a11
UD
320432011-06-24 Ulrich Drepper <drepper@gmail.com>
32044
32045 [BZ #12874]
32046 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
32047 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
32048 kernels which artificially limit size of requests.
32049
0b1cbaae
L
320502011-06-22 H.J. Lu <hongjiu.lu@intel.com>
32051
32052 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32053 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
32054 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
32055 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
32056 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
32057 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
32058 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
32059 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
32060 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
32061 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
32062 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
32063 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
32064 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
32065 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
32066 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
32067 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32068 Enable unaligned load optimization for Intel Core i3, i5 and i7
32069 processors.
32070 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
32071 Define.
32072 (index_Fast_Unaligned_Load): Define.
32073 (HAS_FAST_UNALIGNED_LOAD): Define.
32074
07f494a0
MP
320752011-06-23 Marek Polacek <mpolacek@redhat.com>
32076
32077 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
32078
fa3fc0fe
UD
320792011-06-22 Ulrich Drepper <drepper@gmail.com>
32080
32081 [BZ #12907]
32082 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
32083 until it is clear that the information is realy needed.
32084 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
32085
e12df166
AS
320862011-06-22 Andreas Schwab <schwab@redhat.com>
32087
32088 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
32089
852eb34d
UD
320902011-06-22 Ulrich Drepper <drepper@gmail.com>
32091
84e2a551
UD
32092 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
32093 /sys/devices/system/cpu/online if it is usable.
32094
852eb34d
UD
32095 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
32096 reading the information from the /proc filesystem to once a second.
32097
6e502e19
UD
320982011-06-21 Andreas Jaeger <aj@suse.de>
32099
32100 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
32101 NULL after inclusion of kernel headers.
32102
75d39ff2
UD
321032011-06-21 Ulrich Drepper <drepper@gmail.com>
32104
51f9aa6a
UD
32105 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
32106 calls to internal_setent.
32107
c0244a9d
UD
32108 [BZ #12885]
32109 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
32110 addresses using gethostbyname4_r ignore IPv4 addresses.
32111
c5e3c2ae
UD
32112 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
32113 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
32114
75d39ff2
UD
32115 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
32116
42675c6f
DM
321172011-06-20 David S. Miller <davem@davemloft.net>
32118
32119 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
32120 inclusions.
32121 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
32122
32123 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
32124 (elf_irel): Use it.
32125 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
32126 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
32127 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
32128 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
32129 * sysdeps/x86_64/dl-irel.h: Likewise.
32130
32131 * elf/dl-runtime.c: Use elf_ifunc_invoke.
32132 * elf/dl-sym.c: Likewise.
32133
57912a71
UD
321342011-06-15 Ulrich Drepper <drepper@gmail.com>
32135
32136 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
32137 need to dereference resplen2.
32138
ee22793d
AS
321392011-06-14 Andreas Schwab <schwab@redhat.com>
32140
32141 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
32142
a9e836b0
UD
321432011-06-15 Ulrich Drepper <drepper@gmail.com>
32144
77fb9117
UD
32145 * Makeconfig: Define vardbdir and inst_vardbdir.
32146 * nss/Makefile: Add rules to install db-Makefile.
32147
40c1b22c
UD
32148 * nss/nss_db/db-XXX.c: Cleanup.
32149
9f2da732
UD
32150 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
32151 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
32152 GLIBC_PRIVATE.
32153 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
32154 * nss/makedb.c: Implement -g option to specify that value strings
32155 are generated and should not be added to table iterated over for
32156 get*ent calls.
32157 * nss/nss_db/db-initgroups.c: New file.
32158
82e9a1f7
UD
32159 * nss/getent.c: Add support for initgroups lookups through getgrouplist
32160 interface.
32161
c41af17e
UD
32162 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
32163 (internal_getgrouplist): Adjust to name change.
32164 Update use_initgroups_entry if this is not the first call.
32165 * nss/databases.def: Add initgroups entry.
32166
a9e836b0
UD
32167 * nss/makedb.c (compute_tables): Check result of multiple hash table
32168 sizes to minimize maximum chain length.
32169
2666d441
UD
321702011-06-14 Ulrich Drepper <drepper@gmail.com>
32171
32172 * Versions.def: Add entry for libnss_db.
32173 * shlib-versions: Likewise.
32174 * nss/Makefile: Add rules to build libnss_db.
32175 * nss/Versions: Add libnss_db information. Organize libnss_files
32176 entries better.
32177 * nss/db-Makefile: Add gshadow support. Change rules for the new
32178 makedb progra. Some minor improvements to generate smaller files.
32179 * nss/nss_db/nss_db.h: Move NSS database header data structures to
32180 here from...
32181 * nss/makedb.c: ...here.
32182 Improve database format to be smaller and require less memory at
32183 runtime.
32184 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
32185 db anymore.
32186 * nss/nss_db/db-netgrp.c: Likewise.
32187 * nss/nss_db/db-open.c: Likewise.
32188 * nss/nss_files/flies-XXX.x: Adjust comments.
32189 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
32190 * nss/nss_files/files-grp.c: Likewise.
32191 * nss/nss_files/files-hosts.c: Likewise.
32192 * nss/nss_files/files-network.c: Likewise.
32193 * nss/nss_files/files-proto.c: Likewise.
32194 * nss/nss_files/files-pwd.c: Likewise.
32195 * nss/nss_files/files-rpc.c: Likewise.
32196 * nss/nss_files/files-service.c: Likewise.
32197 * nss/nss_files/files-sgrp.c: Likewise.
32198 * nss/nss_files/files-spwd.c: Likewise.
32199 * nss/nss_db/db-alias.c: Removed.
32200 * nss/nss_db/dummy-db.h: Removed.
32201
9ee76b5a
UD
322022011-06-02 Ulrich Drepper <drepper@gmail.com>
32203
32204 * nss/makedb.c: Rewritten to not use database library.
32205 * nss/Makefile: Update to build new makedb program.
32206
c71ca1f8
AJ
322072011-06-14 Andreas Jaeger <aj@suse.de>
32208
32209 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
32210 memset declaration.
32211
3154bfb8
UD
322122011-06-10 Andreas Schwab <schwab@redhat.com>
32213
32214 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
32215 tmpbuf.
32216
b350afab
RM
322172011-06-10 Roland McGrath <roland@hack.frob.com>
32218
decd4e50
RM
32219 * Makerules (shlib.lds): Fail if the linker script comes out empty.
32220 * elf/Makefile ($(objpfx)ld.so): Likewise.
32221
5615eaf2
RM
32222 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
32223 Don't list ld.so twice in dependencies.
32224
32225 * posix/bug-regex31.c: Include <stdlib.h>.
32226
32227 * nscd/hstcache.c (cache_addhst): Remove unused variable.
32228
32229 * nis/nss_compat/compat-spwd.c
32230 (getspent_next_nss_netgr): Remove unused variable.
32231 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
32232
32233 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
32234 nonmembers" output to use the right array.
32235
32236 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
32237
32238 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
32239
32240 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
32241 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
32242 * catgets/gencat.c (read_input_file): Likewise.
32243 * locale/programs/locarchive.c (enlarge_archive): Likewise.
32244
32245 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
32246 variable definition inside #if's controlling its use.
32247
32248 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
32249
32250 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
32251
32252 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
32253
32254 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
32255 unreachable code.
32256
32257 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
32258
b68e08db
RM
32259 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
32260 * configure: Regenerated.
32261
b350afab
RM
32262 * Makerules: Revert last change.
32263 * elf/Makefile: Likewise.
32264
28368601
RM
322652011-06-09 Roland McGrath <roland@hack.frob.com>
32266
32267 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
32268 * elf/Makefile ($(objpfx)librtld.os): Likewise.
32269 (reloc-link): Likewise.
32270
11988f8f
UD
322712011-06-09 Ulrich Drepper <drepper@gmail.com>
32272
32273 * elf/Makefile: Add rules to build pldd.
32274 * elf/pldd.c: New file.
32275 * elf/pldd-xx.c: New file.
32276
e80fab37
UD
322772011-06-07 Ulrich Drepper <drepper@gmail.com>
32278
32279 * version.h: Update for 2.15 development version.
32280
9b849836
DM
322812011-06-07 David S. Miller <davem@davemloft.net>
32282
32283 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
32284 ifuncs.
32285 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
32286 elf_machine_lazy_rel): Likewise.
32287 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
32288 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
32289 elf_machine_lazy_rel): Likewise.
32290 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
32291 dl_hwcap via passed in argument.
32292 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
32293 Likewise.
32294
5a31b283
AK
322952011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32296
32297 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
32298
069e52f8
RM
322992011-06-06 Roland McGrath <roland@hack.frob.com>
32300
32301 [BZ #12849]
32302 * manual/fdl-1.1.texi: New file, verbatim from:
32303 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
32304 * manual/lgpl-2.1.texi: New file, verbatim from:
32305 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
32306 * manual/Makefile (licenses): New variable, list those new file names.
32307 (texis): Use it.
32308 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
32309
32310 * manual/fdl.texi: File removed.
32311 * manual/lesser.texi: File removed.
32312 * manual/libc.texinfo (Copying, Documentation License):
32313 Use new @include file names, put @appendix directive before @include.
32314
f16846a5
JJ
323152011-06-04 Jakub Jelinek <jakub@redhat.com>
32316
32317 [BZ #12841]
32318 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
32319 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
32320 (mq_open): Add __NTH.
32321
3d29045b
L
323222011-06-02 H.J. Lu <hongjiu.lu@intel.com>
32323
32324 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32325 Assume Intel Core i3/i5/i7 processor if AVX is available.
32326
8c297311
UD
323272011-05-31 Ulrich Drepper <drepper@gmail.com>
32328
32329 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32330 typo.
32331
c8fc0c91
UD
323322011-05-31 Andreas Schwab <schwab@redhat.com>
32333
32334 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
32335 memory. Use alloca_account. Fix memory leak when retrying.
32336
5b27a807
UD
323372011-05-31 Ulrich Drepper <drepper@gmail.com>
32338
356f8bc6
UD
32339 * version.h (RELEASE): Bump for 2.14 release.
32340 * include/features.h (__GLIBC_MINOR__): Bump to 14.
32341
5b27a807
UD
32342 * config.make.in (RANLIB): Remove entry.
32343
01f16ab0
UD
323442011-05-30 Ulrich Drepper <drepper@gmail.com>
32345
41fce8bd
UD
32346 * po/Makefile (po-sed-cmd): Add ksh to extensions.
32347 (libc.pot): Work around missing support for .ksh extension in xgettext.
32348
4769ae77
UD
32349 [BZ #12684]
32350 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
32351 if both request failed.
32352 (send_dg): In case of server errors clear resplen or *resplen2.
32353
6b1e7d19
UD
32354 [BZ #12454]
32355 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
32356 when there are multiple maps.
32357 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
32358 (_dl_fini): Remove test here.
32359
01f16ab0
UD
32360 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
32361
b1ebd700
UD
323622011-05-29 Ulrich Drepper <drepper@gmail.com>
32363
7ae22829
UD
32364 [BZ #12350]
32365 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
32366 bit from old_res_options.
32367 (gaih_inet): Likewise.
32368
553149f6 32369 [BZ #11099]
18a84741 32370 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
32371 as signed.
32372
652ffab1
UD
32373 * resolv/res_init.c (res_setoptions): Make the code more compact.
32374
16985fd0
UD
32375 [BZ #11558]
32376 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
32377 set RES_USEVC.
32378
0464f746
UD
32379 [BZ #11634]
32380 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
32381
7d17596c
UD
32382 * malloc/malloc.h: Mark malloc hook variables as deprecated.
32383
cf6bbbd7
UD
32384 [BZ #11781]
32385 * malloc/malloc.h: Declare malloc hook variables as volatile.
32386
13f1ab36
UD
32387 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
32388 in last patch.
32389
b1ebd700
UD
32390 [BZ #11799]
32391 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 32392 raise in the comment.
80e2212d
UD
32393 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
32394 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32395 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 32396
ce67228d
UD
323972011-05-28 Ulrich Drepper <drepper@gmail.com>
32398
8887a920
UD
32399 [BZ #12811]
32400 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
32401 grow the buffers more if it already has to be sufficient.
32402 (build_wcs_upper_buffer): Likewise.
32403 * posix/regexec.c (check_matching): Likewise.
32404 (clean_state_log_if_needed): Likewise.
32405 (extend_buffers): Don't enlarge buffers beyond size of the input
32406 buffer.
32407 Patches mostly by Emil Wojak <emil@wojak.eu>.
32408 * posix/bug-regex32.c: New file.
32409 * posix/Makefile (tests): Add bug-regex32.
32410
4f031072
UD
32411 * locale/findlocale.c (_nl_find_locale): Return right away if
32412 _nl_explode_name failed.
32413 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
32414
d0478f0c
UD
32415 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
32416
de81b246
UD
32417 * debug/xtrace.sh: Unify messages.
32418 * malloc/memusage.sh: Likewise.
32419
c738465a
UD
32420 [BZ #12813]
32421 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
32422 time symbol from vDSO. Substitute with vsyscall if not available.
32423 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
32424 __vdso_time.
32425
f1f929d7
UD
32426 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
32427 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
32428 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
32429 Add sendmmsg and internal_sendmmsg.
32430 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
32431 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
32432 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
32433
ce67228d
UD
32434 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
32435 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
32436 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
32437
e57420c6
UD
324382011-05-27 Ulrich Drepper <drepper@gmail.com>
32439
a8509ca5
UD
32440 [BZ #12813]
32441 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
32442 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
32443 available.
32444 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
32445 __vdso_getcpu.
32446
e57420c6
UD
32447 [BZ #12814]
32448 * iconvdata/Makefile (tests): Add bug-iconv9.
32449 * iconvdata/bug-iconv9.c: New file.
32450
4d07db15
AS
324512011-05-27 Andreas Schwab <schwab@redhat.com>
32452
32453 [BZ #12814]
32454 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
32455
ea486f69
JJ
324562011-05-25 Jakub Jelinek <jakub@redhat.com>
32457
32458 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32459 (struct user_regs_struct): Change intcs field back to cs.
32460
6f038433
UD
324612011-05-25 Ulrich Drepper <drepper@gmail.com>
32462
32463 * po/ja.po: Update from translation team.
32464
67f86a25
UD
324652011-05-23 Ulrich Drepper <drepper@gmail.com>
32466
32467 [BZ #12795]
32468 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
32469 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
32470
def7fbd6
AS
324712011-05-20 Andreas Schwab <schwab@redhat.com>
32472
32473 * stdlib/longlong.h: Update from GCC.
32474
f50ef8f1
AS
324752011-05-23 Andreas Schwab <schwab@redhat.com>
32476
32477 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
32478 parameter name.
32479 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
32480 Add parameter name.
32481 (__sysconf): Pass it down.
32482
de7ce8f1
UD
324832011-05-22 Ulrich Drepper <drepper@gmail.com>
32484
f2962a71
UD
32485 [BZ #12671]
32486 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
32487 some situations.
32488 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32489 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
32490 add in in __libc_use_alloca calls. Adjust callers.
32491 (glob): Use malloc in some situations.
32492
de7ce8f1
UD
32493 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
32494 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
32495 pltexit.
32496
aec84f53
UD
324972011-05-21 Ulrich Drepper <drepper@gmail.com>
32498
05bb4a68
UD
32499 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
32500 and CLOCK_BOOTTIME_ALARM.
32501
7ea72f99
UD
32502 [BZ #12782]
32503 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
32504 is returned.
32505
7e4afad5
UD
32506 * string/_strerror.c (__strerror_r): Print negative errors as signed
32507 numbers.
32508
8e211fec
UD
32509 [BZ #12777]
32510 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
32511 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
32512 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
32513
f7d82dc9
UD
32514 * configure.in: Fix typo in redirection and correct removal of test
32515 files in two cases.
32516
cc9e536d
UD
32517 [BZ #12788]
32518 * locale/setlocale.c (new_composite_name): Fix test to check for
32519 identical name of all categories.
32520
aec84f53
UD
32521 [BZ #12792]
32522 * libio/filedoalloc.c (local_isatty): New function.
32523 (_IO_file_doallocate): Use local_isatty.
32524 * stdio-common/perror.c (perror): In case a new stream is used
32525 forward the stream error.
32526 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
32527 error flag.
32528
78e64fdc
RT
325292011-05-20 Ulrich Drepper <drepper@gmail.com>
32530
34a9094f
UD
32531 [BZ #11869]
32532 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
32533 alloca.
32534 * include/alloca.h (extend_alloca_account): Define.
32535
78e64fdc
RT
32536 [BZ #11857]
32537 * posix/regex.h: Fix comments with documentation of user-accessible
32538 fields after compilation and describe correct free'ing of pattern
32539 after re_compile_pattern.
32540 Patch by Reuben Thomas <rrt@sc3d.org>.
32541
457bddfc
RA
325422011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
32543
32544 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
32545 and -mno-altivec to prevent the compiler from using Altivec and/or
32546 VSX instructions when the corresponding registers are not available.
32547
a4527b51
AS
325482011-05-19 Andreas Schwab <schwab@redhat.com>
32549
32550 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
32551
ed690b2f
UD
325522011-05-19 Ulrich Drepper <drepper@gmail.com>
32553
32554 * libio/freopen.c (freopen): Use __dup2, not dup2.
32555 * libio/freopen64.c (freopen64): Likewise.
32556
8db73634
L
325572011-05-17 H.J. Lu <hongjiu.lu@intel.com>
32558
32559 [BZ #12775]
32560 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
32561 * math/Makefile (tests): Add test-powl.
32562 (CFLAGS-test-powl.c): Define.
32563 * math/test-powl.c: New file.
32564
0a197a9d
L
325652011-05-16 H.J. Lu <hongjiu.lu@intel.com>
32566
32567 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
32568
ee30c380
UD
325692011-05-17 Ulrich Drepper <drepper@gmail.com>
32570
32571 [BZ #11837]
32572 * iconvdata/gb18030.c: Update to GB18020-2005.
32573
6ce75379
UD
325742011-05-16 Ulrich Drepper <drepper@gmail.com>
32575
a4b89fd8
AR
32576 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
32577 RE_SYNTAX_POSIX_AWK): Update to match recent development.
32578 Patch by Aharon Robbins <arnold@skeeve.com>.
32579
ea389b12
UD
32580 [BZ #11892]
32581 * stdlib/putenv.c (putenv): Don't always create copy of the variable
32582 on the stack.
32583
68a3f91f
UD
32584 [BZ #11895]
32585 * misc/pselect.c (__pselect): Handle timeout value errors hidden
32586 through underflows.
32587
15cc7dd1
UD
32588 [BZ #12766]
32589 * misc/error.c (error_at_line): Ensure file_name and old_file_name
32590 point to strings before performing equality test for error_one_per_line
32591 mode.
32592
f3799213
UD
32593 [BZ #11697]
32594 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
32595
d79a9c94
UD
32596 [BZ #11820]
32597 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32598 (struct user_fpregs_struct): Avoid __uint*_t types.
32599
56e5eb46
UD
32600 [BZ #6420]
32601 * malloc/mtrace.c (tr_where): Add additional parameter to point to
32602 symbol info. Use it instead of calling _dl_addr locally.
32603 (lock_and_info): New function.
32604 (tr_freehook): Call lock_and_info and pass symbol info as additional
32605 parameter to tr_where.
32606 (tr_mallochook): Likewise.
32607 (tr_reallochook): Likewise.
32608 (tr_memalignhook): Likewise.
32609
6ce75379
UD
32610 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
32611 used and couldn't be at all thread-safe.
32612
f8a3b5bf
UD
326132011-05-15 Ulrich Drepper <drepper@gmail.com>
32614
94b7cc37
UD
32615 * libio/freopen.c (freopen): Don't close old file descriptor
32616 before the new one is opened. Instead dup the new file descriptor
32617 to the old one after the new stream is created.
32618 * libio/freopen64.c (freopen64): Likewise.
32619 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
32620 * libio/fileops.c (_IO_new_file_close_it): Handle new
32621 _IO_FLAGS2_NOCLOSE flag.
32622 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
32623 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
32624 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
32625 _IO_FLAGS2_NOCLOSE flag.
32626 * include/unistd.h: Add hidden_proto for dup3.
32627 Define __have_dup3.
32628 * io/dup3.c: Define hidden symbol.
32629 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
32630
bd25564e
UD
32631 [BZ #7101]
32632 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
32633 when an incomplete long option is used.
32634 * posix/tst-getopt_long1.c: New file.
32635 * posix/Makefile (tests): Add tst-getopt_long1.
32636
c84cfef4
UD
32637 [BZ #10138]
32638 * scripts/config.guess: Update from autoconf-2.68.
32639 * scripts/config.sub: Likewise.
32640
3b85df27
UD
32641 [BZ #10157]
32642 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
32643 tests into ...
32644 (has_cpuclock): ...this. New function.
32645 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
32646 macro here based on has_cpuclock code.
32647
15a856b1
UD
32648 [BZ #10149]
32649 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32650 First byte (not low byte) is now always NUL.
32651 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
32652
05f399e6
UD
32653 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32654 Use non-cancelable interfaces.
32655
10a52685 32656 [BZ #9809]
94ecc67d
UD
32657 * locale/iso-639.def: Add entry for Sorani.
32658
f8a3b5bf
UD
32659 [BZ #11901]
32660 * include/stdlib.h: Move include protection to the right place.
32661 Define abort_msg_s. Declare __abort_msg with it.
32662 * stdlib/abort.c (__abort_msg): Adjust type.
32663 * assert/assert.c (__assert_fail_base): New function. Majority
32664 of code from __assert_fail. Allocate memory for __abort_msg with
32665 mmap.
32666 (__assert_fail): Now call __assert_fail_base.
32667 * assert/assert-perr.c: Remove bulk of implementation. Use
32668 __assert_fail_base.
32669 * include/assert.hL Declare __assert_fail_base.
32670 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
32671 mmap.
32672 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
32673
1af4e298
UD
326742011-05-14 Ulrich Drepper <drepper@gmail.com>
32675
f8a3b5bf 32676 [BZ #11952]
d26dfc60
MG
32677 [BZ #12453]
32678 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
32679 until all modules are registered in the DTV.
32680 * elf/Makefile: Add rules to build and run tst-tls19.
32681 * elf/tst-tls19.c: New file.
32682 * elf/tst-tls19mod1.c: New file.
32683 * elf/tst-tls19mod2.c: New file.
32684 * elf/tst-tls19mod3.c: New file.
32685 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
32686
2fc54d6f
UD
32687 [BZ #12083]
32688 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
32689 correctly.
32690
98d76b46
UD
32691 [BZ #12601]
32692 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
32693 two-byte sequence errors.
32694 * iconvdata/Makefile (tests): Add bug-iconv8.
32695 * iconvdata/bug-iconv8.c: New file.
32696
da3c19ef
UD
32697 [BZ #12626]
32698 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
32699 buf2 definition.
32700
ca408c15
UD
32701 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
32702
d6f67f7d
UD
32703 [BZ #12432]
32704 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
32705 (dummy_getcfa): New function.
32706 (init): Get _Unwind_GetCFA address, use dummy if not found.
32707 (backtrace_helper): In recursion check, also check whether CFA changes.
32708 (__backtrace): Completely initialize arg.
32709
1af4e298 32710 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
32711 storing incomplete byte sequence in state object. Avoid testing for
32712 guaranteed too small input if we know there is enough data available.
1af4e298 32713
da62f81b
AS
327142011-05-11 Andreas Schwab <schwab@redhat.com>
32715
32716 * Makeconfig (+link-pie): Indent.
32717 * Rules (binaries-pie): Define if $(have-fpie) and
32718 $(build-shared).
32719 (binaries-shared): Also filter out $(binaries-pie).
32720 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
32721 * nscd/Makefile (others-pie): Add nscd.
32722 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
32723 ($(objpfx)nscd): Remove command override.
32724 * login/Makefile (others-pie): Add pt_chown.
32725 ($(objpfx)pt_chown): Remove command override.
32726 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
32727 remove command overrides.
32728
fcabc0f8
UD
327292011-05-13 Ulrich Drepper <drepper@gmail.com>
32730
20030ae6
UD
32731 * libio/tst_putwc.c: Fix error messages.
32732
fcabc0f8
UD
32733 [BZ #12724]
32734 * libio/fileops.c (_IO_new_file_close_it): Always flush when
32735 currently writing and seek to current position when not.
32736 * libio/Makefile (tests): Add bug-fclose1.
32737 * libio/bug-fclose1.c: New file.
32738
320a5dc0
PB
327392011-05-12 Ulrich Drepper <drepper@gmail.com>
32740
32741 [BZ #12511]
32742 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
32743 don't set DF_1_NODELETE here.
32744 (do_lookup_x): When entering new entry test for copy relocation
32745 and if necessary set DF_1_NODELETE flag.
32746 * elf/tst-unique4.cc: New file.
32747 * elf/tst-unique4.h: New file.
32748 * elf/tst-unique4lib.cc: New file.
32749 * elf/Makefile: Add rules to build and run tst-unique4.
32750 Patch by Piotr Bury <pbury@goahead.com>.
32751
22836f52
UD
327522011-05-11 Ulrich Drepper <drepper@gmail.com>
32753
f574184a
UD
32754 [BZ #12052]
32755 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
32756
e1fb097f
UD
32757 [BZ #12625]
32758 * misc/mntent_r.c (addmntent): Flush the stream after the output
32759
22836f52
UD
32760 [BZ #12393]
32761 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
32762 (is_trusted_path_normalize): Skip initial colon. Append slash
32763 to empty buffer. Duplicate is_trusted_path code but allow
32764 constructed patch to be prefix.
32765 (is_dst): Allow $ORIGIN followed by /.
32766 (_dl_dst_substitute): Correct clearing of check_for_trusted.
32767 Correct testing of result of is_trusted_path_normalize
32768 (decompose_rpath): Fix warning.
32769
7b3b0b2a
UD
327702011-05-10 Ulrich Drepper <drepper@gmail.com>
32771
32772 [BZ #11257]
32773 * grp/initgroups.c (internal_getgrouplist): When we found the service
32774 list through the initgroups entry in nsswitch.conf do not always
32775 continue on a successful lookup. Don't always use the
eac80ce2 32776 __nss_group_database value if it is set.
7b3b0b2a
UD
32777 * nss/nsswitch.conf (initgroups): Change action for successful db
32778 lookup to continue for compatibility.
32779
2a81eaa5
UD
327802011-05-09 Ulrich Drepper <drepper@gmail.com>
32781
be97a69e
UD
32782 [BZ #11532]
32783 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
32784 and CP774 modules.
32785 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
32786 and CP774 modules.
32787 * iconvdata/tst-tables.sh: Likewise.
32788 * iconvdata/cp770.c: New file.
32789 * iconvdata/cp771.c: New file.
32790 * iconvdata/cp772.c: New file.
32791 * iconvdata/cp773.c: New file.
32792 * iconvdata/cp774.c: New file.
32793 * iconvdata/testdata/CP770: New file.
32794 * iconvdata/testdata/CP770..UTF8: New file.
32795 * iconvdata/testdata/CP771: New file.
32796 * iconvdata/testdata/CP771..UTF8: New file.
32797 * iconvdata/testdata/CP772: New file.
32798 * iconvdata/testdata/CP772..UTF8: New file.
32799 * iconvdata/testdata/CP773: New file.
32800 * iconvdata/testdata/CP773..UTF8: New file.
32801 * iconvdata/testdata/CP774: New file.
32802 * iconvdata/testdata/CP774..UTF8: New file.
32803
32804 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
32805 END CHARMAP line.
32806 * iconvdata/gen-8bit-gap.sh: Likewise.
32807 * iconvdata/gen-8bit.sh: Likewise.
32808
c1e9e399
UD
32809 * locale/iso-639.def: Add ary entry.
32810
24c55fb3 32811 [BZ #11258]
96b4b1b0
UD
32812 * locale/C-translit.h.in: Add U20A1 transliteration.
32813
bdc2f971
KB
32814 [BZ #12178]
32815 * locale/iso-639.def: Add wae entry.
32816 Patch by Kevin Bortis <bortis@translate-wae.ch>.
32817
2952b117
UD
32818 [BZ #12545]
32819 * locale/programs/localedef.c (construct_output_path): Use ssize_t
32820 for n.
32821
2a81eaa5
UD
32822 [BZ #12711]
32823 * locale/C-translit.h.in: Add entry for U20B9.
32824 Patch by pravin.d.s@gmail.com.
32825
28377d1b
UD
328262011-05-08 Ulrich Drepper <drepper@gmail.com>
32827
7fb90fb8
UD
32828 [BZ #12713]
32829 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
32830 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
32831 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
32832 in rtld. Use *stat64.
7fb90fb8 32833 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 32834 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 32835 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
32836 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
32837 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
32838 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
32839 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
32840 __fstatat64 macros.
7fb90fb8
UD
32841 * include/dirent.h: Add libc_hidden_proto for rewinddir.
32842 * dirent/rewinddir.c: Add libc_hidden_def.
32843 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 32844 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 32845
28377d1b
UD
32846 * include/dirent.h (__alloc_dir): Add flags parameter.
32847 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
32848 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
32849 __alloc_dir.
32850 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
32851 from fdopendir if O_CLOEXEC is already set.
32852
66bdbaa4
AM
328532011-03-15 Alan Modra <amodra@gmail.com>
32854
32855 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
32856 l_tls_firstbyte_offset non-zero. Save padding offset in
32857 l_tls_firstbyte_offset for later use.
32858 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
32859 freeing static tls block.
32860
95721191
JN
328612011-03-05 Jonathan Nieder <jrnieder@gmail.com>
32862
32863 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
32864 where #ifdef was intended. The intent is to prevent ARG_MAX from
32865 being defined by the kernel headers.
32866
f87dfb1f
UD
328672011-05-07 Ulrich Drepper <drepper@gmail.com>
32868
32869 [BZ #12734]
32870 * resolv/resolv.h: Define RES_NOTLDQUERY.
32871 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
32872 no-tld-query and set RES_NOTLDQUERY.
32873 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
32874 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
32875 modern BIND to search name as TLD unless forbidden.
32876
47c3cd7a
UD
328772011-05-07 Petr Baudis <pasky@suse.cz>
32878 Ulrich Drepper <drepper@gmail.com>
32879
32880 [BZ #12393]
32881 * elf/dl-load.c (fillin_rpath): Move trusted path check...
32882 (is_trusted_path): ...to here.
c1e9ea35 32883 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 32884 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 32885 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 32886
8a35c912
PP
328872011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32888
32889 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
32890 __BEGIN/__END_DECLS.
32891
acd41f47
UD
328922011-05-06 Ulrich Drepper <drepper@gmail.com>
32893
32894 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
32895 NSS_STATUS_NOTFOUND if no record was found.
32896
597df647
AS
328972011-05-05 Andreas Schwab <schwab@redhat.com>
32898
32899 * sunrpc/Makefile (headers): Add rpc/netdb.h.
32900 (headers-not-in-tirpc): Remove rpc/netdb.h
32901 * resolv/netdb.h: Revert last change.
32902
b9af1301
PP
329032011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
32904
32905 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
32906 circular dependency between libgcc.a and libc.a.
32907
4e34d5f5
AS
329082011-05-05 Andreas Schwab <schwab@redhat.com>
32909
32910 * resolv/netdb.h: Don't include <rpc/netdb.h>.
32911 * nis/Makefile: Don't install rpcsvc/*.
32912 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
32913 instead of <rpc/types.h>.
32914 (MAXHOSTNAMELEN): Define.
32915
00ee369c
AS
329162011-05-03 Andreas Schwab <schwab@redhat.com>
32917
32918 * elf/ldconfig.c (add_dir): Don't crash on empty path.
32919
0b592a30
MB
329202011-04-28 Maciej Babinski <mbabinski@google.com>
32921
32922 [BZ #12714]
32923 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
32924 gethostbyname4_r when IPv6 results are possible.
32925
6e04cbbe
UD
329262011-05-02 Ulrich Drepper <drepper@gmail.com>
32927
32928 [BZ #12723]
32929 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
32930 _PC_PIPE_BUF handling.
32931
e4ecafe0
BH
329322011-04-30 Bruno Haible <bruno@clisp.org>
32933
32934 [BZ #12717]
32935 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
32936 * resolv/netdb.h (getnameinfo): Change type of flags parameter
32937 to 'int'.
32938 * inet/getnameinfo.c (getnameinfo): Likewise.
32939
125ee683
UD
329402011-04-29 Ulrich Drepper <drepper@gmail.com>
32941
32942 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
32943 to groups setting in database lookup.
32944 * nss/nsswitch.conf: Add initgroups entry.
32945
b722481a
EB
329462011-04-22 Ulrich Drepper <drepper@gmail.com>
32947
32948 [BZ #12685]
32949 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
32950 mode string.
32951 Patch by Eric Blake <eblake@redhat.com>.
32952
4df46dbd
L
329532011-04-20 H.J. Lu <hongjiu.lu@intel.com>
32954
32955 * sunrpc/Makefile (need-export-routines): Add svc_run.
32956 (routines): Remove svc_run.
32957 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
32958 * sunrpc/clnt_perr.c (clnt_perrno): Export.
32959 * sunrpc/svc_run.c (svc_run): Likewise.
32960 * sunrpc/svc_udp.c (svcudp_create): Likewise.
32961
e84142d2
UD
329622011-04-21 Ulrich Drepper <drepper@gmail.com>
32963
32964 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
32965 problem in reallocation in last patch.
32966
877175d8
UD
329672011-04-20 Ulrich Drepper <drepper@gmail.com>
32968
32969 * sunrpc/Makefile: Move inclusion of Rules.
32970
ab8eed78
UD
329712011-04-19 Ulrich Drepper <drepper@gmail.com>
32972
32973 * nss/nss_files/files-initgroups.c: New file.
32974 * nss/Makefile (libnss_files-routines): Add files-initgroups.
32975 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
32976 _nss_files_initgroups_dyn.
32977
e3d8f584
RS
329782011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
32979
32980 * elf/elf.h (R_ARM_IRELATIVE): Define.
32981
af190f45
UD
329822011-04-19 Ulrich Drepper <drepper@gmail.com>
32983
32984 * po/ru.po: Update from translation team.
32985
53cf59ef
UD
329862011-04-17 Ulrich Drepper <drepper@gmail.com>
32987
32988 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
32989 dependencies.
32990
4c559bcd
MF
329912011-02-06 Mike Frysinger <vapier@gentoo.org>
32992
32993 [BZ #12653]
32994 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
32995 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
32996 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32997 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32998 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32999
4420675c
AS
330002011-03-28 Andreas Schwab <schwab@linux-m68k.org>
33001
33002 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
33003 differing bytes.
33004 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33005 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33006 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33007
75ea32ab
UD
330082011-04-17 Ulrich Drepper <drepper@gmail.com>
33009
33010 [BZ #12420]
33011 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
33012 storing it.
33013 * stdlib/bug-getcontext.c: New file.
33014 * stdlib/Makefile: Add rules to build and run bug-getcontext.
33015
27390476
AK
330162011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33017
33018 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
33019 instructions into .machine "z9-109".
33020 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
33021 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
33022
10442705
AK
330232011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33024
33025 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
33026 between environment variables and auxiliary vector.
33027
7b57bfe5
UD
330282011-04-16 Ulrich Drepper <drepper@gmail.com>
33029
33030 * Makefile: Add rules to build linkobj/libc.so.
33031 * include/libc-symbols.h: Define libc_hidden_nolink.
33032 * include/rpc/auth.h: Mark functions which are to be hidden.
33033 * include/rpc/auth_des.h: Likewise.
33034 * include/rpc/auth_unix.h: Likewise.
33035 * include/rpc/clnt.h: Likewise.
33036 * include/rpc/des_crypt.h: Likewise.
33037 * include/rpc/key_prot.h: Likewise.
33038 * include/rpc/pmap_clnt.h: Likewise.
33039 * include/rpc/pmap_prot.h: Likewise.
33040 * include/rpc/pmap_rmt.h: Likewise.
33041 * include/rpc/rpc_msg.h: Likewise.
33042 * include/rpc/svc.h: Likewise.
33043 * include/rpc/svc_auth.h: Likewise.
33044 * include/rpc/xdr.h: Likewise.
33045 * nis/Makefile: Link all DSOs against linkobj/libc.so.
33046 * nss/Makefile: Likewise.
33047 * sunrpc/Makefile: Don't install headers. Build library with normal
33048 entry points. Don't build rpcinfo. Link RPC tests appropriately.
33049 * sunrpc/auth_des.c: Hide exported symbols by default, export some
33050 for the compat linking library. Remove use of INTDEF/INTUSE.
33051 * sunrpc/auth_none.c: Likewise.
33052 * sunrpc/auth_unix.c: Likewise.
33053 * sunrpc/authdes_prot.c: Likewise.
33054 * sunrpc/authuxprot.c: Likewise.
33055 * sunrpc/clnt_gen.c: Likewise.
33056 * sunrpc/clnt_perr.c: Likewise.
33057 * sunrpc/clnt_raw.c: Likewise.
33058 * sunrpc/clnt_simp.c: Likewise.
33059 * sunrpc/clnt_tcp.c: Likewise.
33060 * sunrpc/clnt_udp.c: Likewise.
33061 * sunrpc/clnt_unix.c: Likewise.
33062 * sunrpc/des_crypt.c: Likewise.
33063 * sunrpc/des_soft.c: Likewise.
33064 * sunrpc/get_myaddr.c: Likewise.
33065 * sunrpc/key_call.c: Likewise.
33066 * sunrpc/key_prot.c: Likewise.
33067 * sunrpc/netname.c: Likewise.
33068 * sunrpc/pm_getmaps.c: Likewise.
33069 * sunrpc/pm_getport.c: Likewise.
33070 * sunrpc/pmap_clnt.c: Likewise.
33071 * sunrpc/pmap_prot.c: Likewise.
33072 * sunrpc/pmap_prot2.c: Likewise.
33073 * sunrpc/pmap_rmt.c: Likewise.
33074 * sunrpc/publickey.c: Likewise.
33075 * sunrpc/rpc_cmsg.c: Likewise.
33076 * sunrpc/rpc_common.c: Likewise.
33077 * sunrpc/rpc_dtable.c: Likewise.
33078 * sunrpc/rpc_prot.c: Likewise.
33079 * sunrpc/rpc_thread.c: Likewise.
33080 * sunrpc/rtime.c: Likewise.
33081 * sunrpc/svc.c: Likewise.
33082 * sunrpc/svc_auth.c: Likewise.
33083 * sunrpc/svc_authux.c: Likewise.
33084 * sunrpc/svc_raw.c: Likewise.
33085 * sunrpc/svc_run.c: Likewise.
33086 * sunrpc/svc_simple.c: Likewise.
33087 * sunrpc/svc_tcp.c: Likewise.
33088 * sunrpc/svc_udp.c: Likewise.
33089 * sunrpc/svc_unix.c: Likewise.
33090 * sunrpc/svcauth_des.c: Likewise.
33091 * sunrpc/xcrypt.c: Likewise.
33092 * sunrpc/xdr.c: Likewise.
33093 * sunrpc/xdr_array.c: Likewise.
33094 * sunrpc/xdr_float.c: Likewise.
33095 * sunrpc/xdr_intXX_t.c: Likewise.
33096 * sunrpc/xdr_mem.c: Likewise.
33097 * sunrpc/xdr_rec.c: Likewise.
33098 * sunrpc/xdr_ref.c: Likewise.
33099 * sunrpc/xdr_sizeof.c: Likewise.
33100 * sunrpc/xdr_stdio.c: Likewise.
33101
e6c61494
UD
331022011-04-10 Ulrich Drepper <drepper@gmail.com>
33103
33104 [BZ #12650]
33105 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
33106 * sysdeps/ia64/dl-tls.h: Likewise.
33107 * sysdeps/powerpc/dl-tls.h: Likewise.
33108 * sysdeps/s390/dl-tls.h: Likewise.
33109 * sysdeps/sh/dl-tls.h: Likewise.
33110 * sysdeps/sparc/dl-tls.h: Likewise.
33111 * sysdeps/x86_64/dl-tls.h: Likewise.
33112 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
33113
34fe483e
AS
331142011-03-14 Andreas Schwab <schwab@redhat.com>
33115
33116 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
33117 rpath element also skip the following colon.
33118 (expand_dynamic_string_token): Add is_path parameter and pass
33119 down to DL_DST_REQUIRED and _dl_dst_substitute.
33120 (decompose_rpath): Call expand_dynamic_string_token with
33121 non-zero is_path. Ignore empty rpaths.
33122 (_dl_map_object_from_fd): Call expand_dynamic_string_token
33123 with zero is_path.
33124
f12a32e6
AS
331252011-04-08 Andreas Schwab <schwab@linux-m68k.org>
33126
33127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33128 Make cancelable.
33129
38a7d692
UD
331302011-04-09 Ulrich Drepper <drepper@gmail.com>
33131
33132 [BZ #12655]
33133 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
33134 Patch by Filipe David Manana <fdmanana@apache.org>.
33135
e451d22b
AS
331362011-04-07 Andreas Schwab <schwab@redhat.com>
33137
33138 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
33139 Maintain aligned stack.
33140 (CHECK_RSP): Remove unused macro.
33141
dedc7c7b
UD
331422011-04-03 Ulrich Drepper <drepper@gmail.com>
33143
33144 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
33145 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
33146
94521213
UD
331472011-04-02 Ulrich Drepper <drepper@gmail.com>
33148
33149 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
33150
8cb700c0 33151 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 33152
0354e355
L
331532011-03-26 H.J. Lu <hongjiu.lu@intel.com>
33154
33155 [BZ #12518]
33156 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
33157 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
33158 * sysdeps/x86_64/memmove.c: New file.
33159 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
33160 (memcpy): Renamed to ...
33161 (__new_memcpy): This.
33162 (memcpy): Provide GLIBC_2_14 memcpy.
33163 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
33164 (memcpy): Provide GLIBC_2_2_5 memcpy.
33165
8593482f
UD
331662011-04-01 Ulrich Drepper <drepper@gmail.com>
33167
33168 [BZ #12631]
33169 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
33170
81a5726b
AS
331712011-03-30 Andreas Schwab <schwab@redhat.com>
33172
33173 * misc/syncfs.c: New file.
33174 * misc/Makefile (routines): Add syncfs.
33175 * posix/unistd.h: Declare syncfs.
33176 * sysdeps/unix/syscalls.list: Add syncfs.
33177
00e5419f
AS
331782011-04-01 Andreas Schwab <schwab@redhat.com>
33179
33180 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
33181 open_by_handle_at.
33182 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33183 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33184 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33185 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33186 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33187 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
33188 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33189
748876bf
UD
331902011-04-01 Ulrich Drepper <drepper@gmail.com>
33191
658e451d
UD
33192 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
33193 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33194 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
33195 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33196 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33197 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33198 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33199
748876bf
UD
33200 * io/Makefile: Compile fallocate.c, fallocate64.c, and
33201 sync_file_range.c with -fexceptions.
33202 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
33203 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
33204 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
33205 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
33206 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
33207 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33208 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
33209 sync_file_range as cancellation point
33210 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
33211 now a wrapper around __call_sync_file_range with cancellation handling.
33212 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
33213 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
33214 function name to __call_sync_file_range.
33215 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
33216 Add call_sync_file_range.
748876bf 33217
6e63d5e1
AS
332182011-04-01 Andreas Schwab <schwab@redhat.com>
33219
33220 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 33221 bits/timex.h.
6e63d5e1 33222
46998f74
UD
332232011-04-01 Ulrich Drepper <drepper@gmail.com>
33224
4c1423ed
UD
33225 * iconv/iconv.h: Fix typo in comment.
33226 * io/fcntl.h: Likewise.
33227 * libio/stdio.h: Likewise.
33228 * posix/spawn.h: Likewise.
33229 * posix/unistd.h: Likewise.
33230 * stdlib/stdlib.h: Likewise.
33231 * time/time.h: Likewise.
33232 * wcsmbs/wchar.h: Likewise.
33233
158648c0
UD
33234 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
33235 open_by_handle): Add.
33236 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
33237 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
33238 Augment a few comments.
33239 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33240 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33241 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33242 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33243 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33244 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
33245 open_by_handle.
33246
46998f74
UD
33247 * io/fcntl.h (AT_EMPTY_PATH): Define.
33248
83fe108b
UD
332492011-03-30 Ulrich Drepper <drepper@gmail.com>
33250
33251 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
33252 * sysdeps/unix/sysv/linux/bits/time.h: New file.
33253 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
33254 to...
33255 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
33256 * Versions.def: Add GLIBC_2.14.
33257 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
33258 Export.
83fe108b 33259
bb242059
UD
332602011-03-22 Ulrich Drepper <drepper@gmail.com>
33261
33262 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
33263 round counter.
33264 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33265
c97a1282
L
332662011-03-20 H.J. Lu <hongjiu.lu@intel.com>
33267
33268 [BZ #12597]
33269 * string/test-strncmp.c (do_page_test): New function.
33270 (check2): Likewise.
33271 (test_main): Call check2.
33272 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
33273
2a115601
UD
332742011-03-20 Ulrich Drepper <drepper@gmail.com>
33275
33276 [BZ #12587]
33277 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
33278 Handle cache information in CPU leaf 4.
33279 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33280
8126d904
UD
332812011-03-18 Ulrich Drepper <drepper@gmail.com>
33282
042c49c6 33283 [BZ #12583]
8126d904
UD
33284 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
33285 character representation.
33286 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
33287
ccfe366e
RA
332882011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
33289
33290 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
33291 END(__isnan) to END(__isnanf) to match function entry point/label
33292 EALIGN(__isnanf,...).
33293
c6e13027
JJ
332942011-03-10 Jakub Jelinek <jakub@redhat.com>
33295
33296 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
33297
33f85a3f
UD
332982011-03-10 Ulrich Drepper <drepper@gmail.com>
33299
028478fa
UD
33300 [BZ #12510]
33301 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
33302 copy from the symbol referenced in the relocation to initialize the
33303 used variable.
33304 Patch by Piotr Bury <pbury@goahead.com>.
33305 * elf/Makefile: Add rules to build and tst-unique3.
33306 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
33307 * elf/tst-unique3.cc: New file.
33308 * elf/tst-unique3.h: New file.
33309 * elf/tst-unique3lib.cc: New file.
33310 * elf/tst-unique3lib2.cc: New file.
33311
33f85a3f
UD
33312 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
33313
03592fc7
MF
333142011-03-10 Mike Frysinger <vapier@gentoo.org>
33315
33316 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
33317 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
33318 to _start.
03592fc7 33319
6a5ee102
UD
333202011-03-06 Ulrich Drepper <drepper@gmail.com>
33321
33322 * elf/dl-load.c (_dl_map_object): If we are looking for the first
33323 to-be-loaded object along a path to loader is ld.so.
33324
7e4ba49c
HJ
333252011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
33326 Ulrich Drepper <drepper@gmail.com>
33327
33328 * sysdeps/x86_64/memset.S: After aligning destination, code
33329 branches to different locations depending on the value of
33330 misalignment, when multiarch is enabled. Fix this.
33331
333322011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
33333
33334 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
33335 Set _x86_64_preferred_memory_instruction for AMD processsors.
33336 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33337 Set bit_Prefer_SSE_for_memop for AMD processors.
33338
13a804de
UD
333392011-03-04 Ulrich Drepper <drepper@gmail.com>
33340
33341 * libio/fmemopen.c (fmemopen): Optimize a bit.
33342
9d25c392
AS
333432011-03-03 Andreas Schwab <schwab@redhat.com>
33344
33345 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
33346
a5543c6a
RM
333472011-03-03 Roland McGrath <roland@redhat.com>
33348
33349 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
33350
012d35f7
DM
333512011-02-28 Aurelien Jarno <aurelien@aurel32.net>
33352
7e4ba49c 33353 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
33354 __bzero_ultra1 instead of __memset_ultra1.
33355
4bff6e01
AS
333562011-02-23 Andreas Schwab <schwab@redhat.com>
33357 Ulrich Drepper <drepper@gmail.com>
33358
33359 [BZ #12509]
33360 * include/link.h (struct link_map): Add l_orig_initfini.
33361 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
33362 returning unsuccessfully.
33363 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
33364 close of a file loaded at startup, restore the original l_initfini
33365 list.
33366 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
33367 list, store the pointer.
33368 * elf/Makefile ($(objpfx)noload-mem): New rule.
33369 (noload-ENV): Define.
33370 (tests): Add $(objpfx)noload-mem.
33371 * elf/noload.c: Include <memcheck.h>.
33372 (main): Call mtrace. Close all opened handles.
33373
f2092faf
AS
333742011-02-17 Andreas Schwab <schwab@redhat.com>
33375
33376 [BZ #12454]
33377 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
33378 dependencies are missing.
33379
6c8a2e88
ST
333802011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
33381
f2092faf 33382 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
33383 Hurd needs munmap.
33384 * sysdeps/mach/hurd/ifreq.h: New file.
33385
84a42118
PB
333862011-01-27 Petr Baudis <pasky@suse.cz>
33387 Ulrich Drepper <drepper@gmail.com>
33388
071f805e 33389 [BZ 12445]#
84a42118
PB
33390 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
33391 to extend_alloca().
33392 * stdio-common/bug23.c: New file.
33393 * stdio-common/Makefile (tests): Add bug23.
33394
e23fe25b
AS
333952010-09-28 Andreas Schwab <schwab@redhat.com>
33396 Ulrich Drepper <drepper@gmail.com>
33397
33398 [BZ #12489]
33399 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
33400 before performing relro protection. At old place add assertion
33401 to make sure nothing changed.
33402
d3f02e10
NS
334032011-02-17 Nathan Sidwell <nathan@codesourcery.com>
33404 Glauber de Oliveira Costa <glommer@gmail.com>
33405
33406 * elf/elf.h: Add new ARM TLS relocs.
33407
d55fd7a5
RA
334082011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
33409
33410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
33411 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
33412 cast from r3.
33413 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
33414 'tests' variable.
33415 * sysdeps/wordsize-64/tst-writev.c: New file.
33416
2206397e
RA
334172011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
33418
33419 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
33420 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
33421 insns in _dl_start to prevent a TOC reference before relocs are
33422 resolved.
33423
e9433893
UD
334242011-02-15 Ulrich Drepper <drepper@gmail.com>
33425
33426 [BZ #12469]
33427 * Makeconfig: Remove RANLIB definition.
33428 * Makerules: Don't use RANLIB.
33429 * aclocal.m4: Remove ranlib test.
33430 * configure.in: No need to check for ranlib.
33431 * elf/rtld-Rules: Don't use RANLIB.
33432
f75286c6
ST
334332011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
33434
8e31c82d
ST
33435 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
33436 protection macro.
33437 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
33438 inclusion protection macro.
33439
f75286c6
ST
33440 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
33441 SIGRTMIN and SIGRTMAX and print information in that case only when
33442 SIGRTMIN is defined.
33443
c1d0e639
JJ
334442011-02-11 Jakub Jelinek <jakub@redhat.com>
33445
33446 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
33447 arginfo fn returning -1.
33448
33449 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
33450 and thousands string is zero terminated.
33451
edf9294e
AS
334522011-02-03 Andreas Schwab <schwab@redhat.com>
33453
33454 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
33455 sysdeps/unix/sysv/linux/bits/socket.h.
33456
2b7e92df
ST
334572011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
33458
edf9294e
AS
33459 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
33460 (__CPU_COUNT): Remove old macros.
33461 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
33462 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
33463 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
33464 (__sched_cpualloc, __sched_cpufree): Add declarations.
33465
a4c7ea7b
UD
334662011-02-05 Ulrich Drepper <drepper@gmail.com>
33467
33468 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
33469 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
33470 * nscd/aicache.c (addhstaiX): Return timeout of added value.
33471 (readdhstai): Return value of addhstaiX call.
33472 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
33473 (addgrbyX): Return value returned by cache_addgr.
33474 (readdgrbyname): Return value returned by addgrbyX.
33475 (readdgrbygid): Likewise.
33476 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
33477 (addpwbyX): Return value returned by cache_addpw.
33478 (readdpwbyname): Return value returned by addhstbyX.
33479 (readdpwbyuid): Likewise.
33480 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
33481 (addservbyX): Return value returned by cache_addserv.
33482 (readdservbyname): Return value returned by addservbyX:
33483 (readdservbyport): Likewise.
33484 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
33485 (addhstbyX): Return value returned by cache_addhst.
33486 (readdhstbyname): Return value returned by addhstbyX.
33487 (readdhstbyaddr): Likewise.
33488 (readdhstbynamev6): Likewise.
33489 (readdhstbyaddrv6): Likewise.
33490 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
33491 (readdinitgroups): Return value returned by addinitgroupsX.
33492 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
33493 (prune_cache): Keep track of timeout value of re-added entries.
33494 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
33495 * nscd/nscd.h: Adjust prototypes of readd* functions.
33496
a0bf67cc
RM
334972011-02-04 Roland McGrath <roland@redhat.com>
33498
33499 * nis/nis_server.c (nis_servstate): Use the right name for 0.
33500 (nis_stats): Likewise.
33501 * nis/nis_modify.c (nis_modify): Likewise.
33502 * nis/nis_remove.c (nis_remove): Likewise.
33503 * nis/nis_add.c (nis_add): Likewise.
33504
33505 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
33506
33507 * posix/fnmatch_loop.c: Add some consts.
33508
33509 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
33510
435b95eb
L
335112011-02-02 H.J. Lu <hongjiu.lu@intel.com>
33512
33513 [BZ #12460]
33514 * config.make.in (config-cflags-novzeroupper): Define.
33515 * configure.in: Substitute libc_cv_cc_novzeroupper.
33516 * elf/Makefile (AVX-CFLAGS): Define.
33517 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
33518 (CFLAGS-tst-auditmod4a.c): Likewise.
33519 (CFLAGS-tst-auditmod4b.c): Likewise.
33520 (CFLAGS-tst-auditmod6b.c): Likewise.
33521 (CFLAGS-tst-auditmod6c.c): Likewise.
33522 (CFLAGS-tst-auditmod7b.c): Likewise.
33523 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
33524
8517b15e
UD
335252011-02-02 Ulrich Drepper <drepper@gmail.com>
33526
33527 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
33528 function to the callback.
33529 Patch partly by Jiri Olsa <jolsa@redhat.com>.
33530
10a656fe
AS
335312011-02-02 Andreas Schwab <schwab@redhat.com>
33532
33533 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
33534 of errno.
33535
968dad0a
UD
335362011-01-19 Ulrich Drepper <drepper@gmail.com>
33537
9f94d2ea 33538 [BZ #11724]
968dad0a
UD
33539 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
33540 of constructors.
33541 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
33542 of destructors.
33543 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
33544
33545 [BZ #11724]
33546 * elf/Makefile: Add rules to build and run new test.
33547 * elf/tst-initorder.c: New file.
33548 * elf/tst-initorder.exp: New file.
33549 * elf/tst-initordera1.c: New file.
33550 * elf/tst-initordera2.c: New file.
33551 * elf/tst-initordera3.c: New file.
33552 * elf/tst-initordera4.c: New file.
33553 * elf/tst-initorderb1.c: New file.
33554 * elf/tst-initorderb2.c: New file.
33555 * elf/tst-order-a1.c: New file.
33556 * elf/tst-order-a2.c: New file.
33557 * elf/tst-order-a3.c: New file.
33558 * elf/tst-order-a4.c: New file.
33559 * elf/tst-order-b1.c: New file.
33560 * elf/tst-order-b2.c: New file.
33561 * elf/tst-order-main.c: New file.
33562 New test case by George Gensure <werkt0@gmail.com>.
33563
86e92359
UD
335642010-10-01 Andreas Schwab <schwab@redhat.com>
33565
33566 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33567 decoding ACE if AI_CANONIDN.
33568
5d5732b0
UD
335692011-01-18 Ulrich Drepper <drepper@gmail.com>
33570
33571 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
33572
a77e8cbc
UD
335732011-01-17 Ulrich Drepper <drepper@gmail.com>
33574
6392473f
UD
33575 * version.h (RELEASE): Bump for 2.13 release.
33576 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
33577
620a0529
UD
33578 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
33579
18ba70a5
UD
33580 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
33581 MADV_NOHUGEPAGE.
32465c3e
UD
33582 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
33583 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
33584 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33585 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33586 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33587 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33588
c0dafcf1
UD
33589 * posix/getconf.c: Update copyright year.
33590 * catgets/gencat.c: Likewise.
33591 * csu/version.c: Likewise.
33592 * debug/catchsegv.sh: Likewise.
33593 * debug/xtrace.sh: Likewise.
33594 * elf/ldconfig.c: Likewise.
33595 * elf/ldd.bash.in: Likewise.
33596 * elf/sprof.c (print_version): Likewise.
33597 * iconv/iconv_prog.c: Likewise.
33598 * iconv/iconvconfig.c: Likewise.
33599 * locale/programs/locale.c: Likewise.
33600 * locale/programs/localedef.c: Likewise.
33601 * malloc/memusage.sh: Likewise.
33602 * malloc/mtrace.pl: Likewise.
33603 * nscd/nscd.c (print_version): Likewise.
33604 * nss/getent.c: Likewise.
33605
a77e8cbc
UD
33606 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
33607 PF_CAIF, and PF_ALG.
33608 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33609
77e8bddf
AS
336102011-01-16 Andreas Schwab <schwab@linux-m68k.org>
33611
1f20b93a
AS
33612 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
33613 (modules-names): Use them.
33614 (ifunc-test-modules, ifunc-pie-tests): Define.
33615 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
33616 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
33617 (test-extras): Likewise.
33618 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
33619 $(compile-command.c).
33620 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
33621 (all-built-dso): Define.
33622 (check-textrel.out, check-execstack.out): Depend on it.
33623
77e8bddf
AS
33624 * configure.in: Don't override --enable-multi-arch.
33625
bc425b33
UD
336262011-01-15 Ulrich Drepper <drepper@gmail.com>
33627
33628 [BZ #6812]
33629 * nscd/hstcache.c (tryagain): Define.
33630 (cache_addhst): Return tryagain not notfound for temporary errors.
33631 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
33632 failed.
33633
794c3ad3
UD
336342011-01-14 Ulrich Drepper <drepper@gmail.com>
33635
70181fdd
UD
33636 [BZ #10563]
33637 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
33638 to make the syscall.
33639 * sysdeps/unix/sysv/linux/setgroups.c: New file.
33640
794c3ad3
UD
33641 [BZ #12378]
33642 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
33643 and fall back to matching as normal character if the string ends before
33644 the matching ']' is found. This is what POSIX requires.
33645 * posix/testfnm.c: Adjust test result.
33646 * posix/globtest.sh: Adjust test result. Add new test.
33647 * posix/tst-fnmatch.input: Likewise.
33648 * posix/tst-fnmatch2.c: Add new test.
33649
68dc9497
AS
336502010-12-28 Andreas Schwab <schwab@linux-m68k.org>
33651
33652 * elf/Makefile (check-execstack): Revert last change. Depend on
33653 check-execstack.h.
33654 (check-execstack.h): New target.
33655 (generated): Add check-execstack.h.
33656 * elf/check-execstack.c: Include "check-execstack.h".
33657 (main): Revert last change.
33658 (handle_file): Return zero if GNU_STACK is absent and
33659 DEFAULT_STACK_PERMS doesn't include PF_X.
33660
451f001b
UD
336612011-01-13 Ulrich Drepper <drepper@gmail.com>
33662
cfa28e56
UD
33663 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
33664 in child fails because the descriptor is already closed.
8cf8ce17
UD
33665 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
33666 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
33667 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 33668
1086d70d
UD
33669 [BZ #12397]
33670 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
33671 syscall.
33672
451f001b
UD
33673 [BZ #10484]
33674 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
33675 temporary buffer used to handle multi lookups locally.
a85b5cb4 33676 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 33677
08769175
UD
336782011-01-12 Ulrich Drepper <drepper@gmail.com>
33679
33680 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
33681 loader is ld.so.
33682
5e49c52e
UD
336832011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
33684
33685 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
33686 alignment for SSE2.
33687
60522a5f
UD
336882011-01-12 Ulrich Drepper <drepper@gmail.com>
33689
33690 [BZ #12394]
33691 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
33692 characters. When rounding increased number of integer digits recompute
33693 number of groups.
33694 * stdio-common/tst-grouping.c: New file.
33695 * stdio-common/Makefile: Add rules to build and run tst-grouping.
33696
f257bbd7
UD
336972011-01-09 Ulrich Drepper <drepper@gmail.com>
33698
33699 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
33700 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
33701
33702 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
33703 void.
33704 * bits/select.h: Likewise.
33705
fa9c15cb
UD
337062011-01-08 Ulrich Drepper <drepper@gmail.com>
33707
33708 * po/ja.po: Update from translation team.
33709
16c2895f
DM
337102011-01-04 David S. Miller <davem@sunset.davemloft.net>
33711
33712 [BZ #11155]
33713 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
33714 implementation just like for lxstat, fxstatat, et al.
33715
2543fef2
JM
337162010-12-27 Jim Meyering <meyering@redhat.com>
33717
33718 [BZ #12348]
33719 * posix/regexec.c (build_trtable): Return failure indication upon
33720 calloc failure. Otherwise, re_search_internal could infloop on OOM.
33721
98727dbe
UD
337222010-12-25 Ulrich Drepper <drepper@gmail.com>
33723
5bd6dc5c
UD
33724 [BZ #12201]
33725 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
33726 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
33727 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
33728 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
33729
97983464
UD
33730 [BZ #12207]
33731 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
33732
98727dbe
UD
33733 [BZ #12204]
33734 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
33735 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
33736
4a531bb0
L
337372010-12-15 H.J. Lu <hongjiu.lu@intel.com>
33738
33739 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
33740 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
33741 script has SORT_BY_INIT_PRIORITY.
33742 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
33743 NO_CTORS_DTORS_SECTIONS is defined.
33744 * elf/soinit.c: Likewise.
33745 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
33746 NO_CTORS_DTORS_SECTIONS is defined.
33747 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
33748 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
33749 * sysdeps/sh/init-first.c: Likewise.
33750 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
33751
07eb4b71
UD
337522010-12-24 Ulrich Drepper <drepper@gmail.com>
33753
33754 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
33755 always use the slow path.
33756
30950a5f
RA
337572010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
33758
33759 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
33760 similar rule which adds the sysdep directories to the header search in
33761 order to pick up the correct platform stackinfo.h.
33762 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
33763 perform test if it is, otherwise return successfully without testing.
33764 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
33765 DEFAULT_STACK_PERMS define in stackinfo.h.
33766 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
33767 defined in stackinfo.h.
33768 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
33769 DEFAULT_STACK_PERMS defined in stackinfo.h.
33770 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
33771 * sysdeps/ia64/stackinfo.h: Likewise.
33772 * sysdeps/s390/stackinfo.h: Likewise.
33773 * sysdeps/sh/stackinfo.h: Likewise.
33774 * sysdeps/sparc/stackinfo.h: Likewise.
33775 * sysdeps/x86_64/stackinfo.h: Likewise.
33776 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
33777 PF_X for powerpc64. Retain PF_X for powerpc32.
33778
db753e2c
UD
337792010-12-19 Ulrich Drepper <drepper@gmail.com>
33780
14b697f7
UD
33781 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
33782 accurately.
db753e2c
UD
33783 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
33784 GETDENTS_64BIT_ALIGNED.
33785
28300719
UD
337862010-12-14 Ulrich Drepper <dreper@gmail.com>
33787
14b697f7 33788 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 33789
4f197237
AS
337902010-12-10 Andreas Schwab <schwab@redhat.com>
33791
dbb0472f
AS
33792 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
33793 _GNU_SOURCE.
33794
4f197237
AS
33795 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
33796 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
33797 Remove __restrict.
33798 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
33799 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
33800
fb88ac72
UD
338012010-12-09 Ulrich Drepper <drepper@gmail.com>
33802
33803 [BZ #11655]
33804 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
33805 are initialized.
33806
42acbb92
JJ
338072010-12-09 Jakub Jelinek <jakub@redhat.com>
33808
33809 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
33810
c038d98d
UD
338112010-12-03 Ulrich Drepper <drepper@gmail.com>
33812
33813 * po/it.po: Update from translation team.
33814
3a4a2499
L
338152010-12-01 H.J. Lu <hongjiu.lu@intel.com>
33816
33817 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
33818 unused codes.
33819
1e24cf6e
UD
338202010-11-30 Ulrich Drepper <drepper@gmail.com>
33821
33822 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
33823
a7690819
AS
338242010-11-24 Andreas Schwab <schwab@redhat.com>
33825
33826 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
33827 specially.
33828 (gaih_getanswer_slice): Likewise.
33829
3bf8d1b1
JJ
338302010-10-20 Jakub Jelinek <jakub@redhat.com>
33831
33832 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
33833
6db52fbb
PB
338342010-05-31 Petr Baudis <pasky@suse.cz>
33835
33836 [BZ #11149]
33837 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
33838 silently even in the chroot mode.
33839
eaca7569
UD
338402010-11-22 Ulrich Drepper <drepper@gmail.com>
33841
33842 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
33843 last patch a bit. Pretty printing
33844
3056dcdb
UD
338452010-05-31 Petr Baudis <pasky@suse.cz>
33846
33847 [BZ #10085]
33848 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
33849 initialization of skip_initgroups_dyn.
33850
cf7c9078
UD
338512010-11-19 Ulrich Drepper <drepper@gmail.com>
33852
33853 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
33854 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33855
a1fb5e3e
UD
338562010-11-16 Ulrich Drepper <drepper@gmail.com>
33857
33858 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
33859
3540d66b
AS
338602010-11-11 Andreas Schwab <schwab@redhat.com>
33861
33862 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
33863 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
33864 (tst-fnmatch-ENV): Set MALLOC_TRACE.
33865 ($(objpfx)tst-fnmatch-mem): New rule.
33866 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
33867 * posix/tst-fnmatch.c (main): Call mtrace.
33868
13b69574
L
338692010-11-11 H.J. Lu <hongjiu.lu@intel.com>
33870
33871 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33872 Support Intel processor model 6 and model 0x2c.
33873
da93d214
LM
338742010-11-10 Luis Machado <luisgpm@br.ibm.com>
33875
33876 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
33877 signed comparison.
33878
8ca52c6e
L
338792010-11-09 H.J. Lu <hongjiu.lu@intel.com>
33880
33881 [BZ #12205]
33882 * string/test-strncasecmp.c (check_result): New function.
33883 (do_one_test): Use it.
33884 (check1): New function.
33885 (test_main): Use it.
33886 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
33887 Support strcasecmp and strncasecmp.
33888
69da074d
UD
338892010-11-08 Ulrich Drepper <drepper@gmail.com>
33890
33891 [BZ #12194]
33892 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
33893 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33894
ff02d528
L
338952010-11-07 H.J. Lu <hongjiu.lu@intel.com>
33896
33897 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
33898 IFUNC support.
33899 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33900 memset-x86-64.
33901 * sysdeps/x86_64/multiarch/bzero.S: New file.
33902 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
33903 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
33904 * sysdeps/x86_64/multiarch/memset.S: New file.
33905 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
33906 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33907 Set bit_Prefer_SSE_for_memop for Intel processors.
33908 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
33909 Define.
33910 (index_Prefer_SSE_for_memop): Define.
33911 (HAS_PREFER_SSE_FOR_MEMOP): Define.
33912
344d0b54
LM
339132010-11-04 Luis Machado <luisgpm@br.ibm.com>
33914
33915 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
33916 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
33917
c0dde15b
UD
339182010-11-03 H.J. Lu <hongjiu.lu@intel.com>
33919
33920 [BZ #12191]
33921 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33922 (__x86_64_raw_data_cache_size_half): Likewise.
33923 (__x86_64_raw_shared_cache_size): Likewise.
33924 (__x86_64_raw_shared_cache_size_half): Likewise.
33925
33926 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33927 (__x86_64_raw_data_cache_size_half): Likewise.
33928 (__x86_64_raw_shared_cache_size): Likewise.
33929 (__x86_64_raw_shared_cache_size_half): Likewise.
33930 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
33931 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
33932 and __x86_64_raw_shared_cache_size_half. Round
33933 __x86_64_data_cache_size_half, __x86_64_data_cache_size
33934 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
33935 to multiple of 256 bytes.
33936
0e516e0e
MS
339372010-11-03 Ulrich Drepper <drepper@gmail.com>
33938
33939 [BZ #12167]
33940 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
33941 of inacessible symlinks. Verify result of symlink before returning it.
33942 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
33943 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
33944
0e012e87
ER
339452010-10-28 Erich Ritz <erichritz@gmail.com>
33946
33947 * math/math.h (isinf): Fix typo in comment.
33948
de0ff7bc
UD
339492010-11-01 Ulrich Drepper <drepper@gmail.com>
33950
33951 * po/da.po: Update from translation team.
33952
fa41c84d
UD
339532010-10-26 Ulrich Drepper <drepper@gmail.com>
33954
33955 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
33956 is added to the list.
33957
f0967738
AK
339582010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33959 Ulrich Drepper <drepper@gmail.com>
33960
33961 * elf/dl-object.c (_dl_new_object): Don't append the new object to
33962 the global list here. Move code to...
33963 (_dl_add_to_namespace_list): ...here. New function.
33964 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
33965 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
33966 * elf/dl-load.c (lose): Don't remove the element from the list.
33967 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
33968 (_dl_map_object): Likewise.
33969
339702010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
33971
33972 [BZ #12159]
33973 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
33974 into all bytes of SSE register.
33975 Patch by Richard Li <richardpku@gmail.com>.
33976
f0967738 339772010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
33978
33979 [BZ #12140]
33980 * malloc/malloc.c (_int_free): Fill correct number of bytes when
33981 perturbing.
33982
d0b9e94f
MB
339832010-10-20 Michael B. Brutman <brutman@us.ibm.com>
33984
33985 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
33986 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
33987 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
33988 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
33989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
33990 submachine.
33991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
33992
8e9f92e9
AS
339932010-10-22 Andreas Schwab <schwab@redhat.com>
33994
33995 * include/dlfcn.h (__RTLD_SECURE): Define.
33996 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
33997 mode & __RTLD_SECURE instead.
33998 (open_path): Rename preloaded parameter to secure.
33999 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
34000 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
34001 * elf/dl-deps.c (openaux): Likewise.
34002 * elf/rtld.c (struct map_args): Remove is_preloaded.
34003 (map_doit): Don't use it.
34004 (dl_main): Likewise.
34005 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
34006 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
34007
bc96fbda
AS
340082010-09-09 Andreas Schwab <schwab@redhat.com>
34009
34010 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
34011 (sysd-rules-targets): Remove duplicates.
34012 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
34013 rtld-%.$o dependency.
34014
22cd1c9b
AS
340152010-10-18 Andreas Schwab <schwab@redhat.com>
34016
34017 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
34018 _dl_map_object do it.
34019
18edac48
UD
340202010-10-19 Ulrich Drepper <drepper@gmail.com>
34021
34022 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
34023 fast fma builtins, define the macros in the C99 standard.
34024 (FP_FAST_FMAF): Likewise.
34025 (FP_FAST_FMAL): Likewise.
34026 * sysdeps/x86_64/bits/mathdef.h: Likewise.
34027
34028 * bits/mathdef.h: Update copyright year.
34029 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34030
d2050124
MM
340312010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
34032
34033 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
34034 builtins, define the macros in the C99 standard.
34035 (FP_FAST_FMAF): Likewise.
34036 (FP_FAST_FMAL): Likewise.
34037 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
34038 multiply/add.
34039 (FP_FAST_FMAF): Likewise.
34040
475facd1
JJ
340412010-10-15 Jakub Jelinek <jakub@redhat.com>
34042
34043 [BZ #3268]
34044 * math/libm-test.inc (fma_test): Some new testcases.
34045 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
34046 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
34047 y and infinite z. Do multiplication by C already in long double.
34048 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
34049 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
34050 y and infinite z. Do bitwise or of inexact bit into u.d.
34051 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
34052 * sysdeps/i386/fpu/s_fmaf.S: Removed.
34053 * sysdeps/i386/fpu/s_fma.S: Removed.
34054 * sysdeps/i386/fpu/s_fmal.S: Removed.
34055
7c08a05c
JJ
340562010-10-16 Jakub Jelinek <jakub@redhat.com>
34057
34058 [BZ #3268]
34059 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
34060 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
34061 computation is not scheduled after fetestexcept. Fix value
34062 of minimum denormal long double.
34063
f3f7372d
JJ
340642010-10-14 Jakub Jelinek <jakub@redhat.com>
34065
34066 [BZ #3268]
34067 * math/libm-test.inc (fma_test): Add some more tests.
34068 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
34069 correctly.
34070
14d43591
AS
340712010-10-15 Andreas Schwab <schwab@redhat.com>
34072
34073 * scripts/data/localplt-s390-linux-gnu.data: New file.
34074 * scripts/data/localplt-s390x-linux-gnu.data: New file.
34075
5e908464
JJ
340762010-10-13 Jakub Jelinek <jakub@redhat.com>
34077
34078 [BZ #3268]
34079 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
34080 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
34081 instead of dbl-64.
34082 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
34083 inlines.
34084 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
34085 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
34086 if one of x and y is very large and the other is subnormal.
34087 * sysdeps/s390/fpu/s_fmaf.c: New file.
34088 * sysdeps/s390/fpu/s_fma.c: New file.
34089 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
34090 * sysdeps/powerpc/fpu/s_fma.S: New file.
34091 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
34092 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
34093 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
34094
340952010-10-12 Jakub Jelinek <jakub@redhat.com>
34096
34097 [BZ #3268]
34098 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
34099 fma tests.
34100 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
34101 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
34102 * sysdeps/i386/i686/multiarch/s_fma.c: Include
34103 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
34104 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
34105 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
34106 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
34107
b833d51f
UD
341082010-10-12 Ulrich Drepper <drepper@redhat.com>
34109
34110 [BZ #12078]
34111 * posix/regcomp.c (parse_branch): One more memory leak plugged.
34112 * posix/bug-regex31.input: Add test case.
34113
1751705d
UD
341142010-10-11 Ulrich Drepper <drepper@gmail.com>
34115
e9b9cbf5
UD
34116 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
34117 * posix/bug-regex31.input: New file.
34118
34119 [BZ #12078]
34120 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
34121 (parse_sub_exp): Fix last change, use postorder.
34122
ef06edbe
UD
34123 * posix/bug-regex31.c: New file.
34124 * posix/Makefile: Add rules to build and run bug-regex31.
34125
a129c80d
UD
34126 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
34127
34128 [BZ #12078]
34129 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
34130
b76b818e
UD
34131 [BZ #12108]
34132 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
34133 to have entries in sys_siglist.
34134
1751705d
UD
34135 [BZ #12093]
34136 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
34137 be NULL.
34138
9ff8d36f
JJ
341392010-10-07 Jakub Jelinek <jakub@redhat.com>
34140
34141 [BZ #3268]
34142 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
34143 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
34144 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
34145 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
34146 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34147 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
34148 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
34149 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
34150 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
34151 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
34152 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
34153 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
34154 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
34155 * math/ftestexcept.c (fetestexcept): Likewise.
34156 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
34157 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
34158 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
34159 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
34160 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
34161 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
34162 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34163
af325969
UD
341642010-10-11 Ulrich Drepper <drepper@gmail.com>
34165
c579b202 34166 [BZ #12107]
af325969
UD
34167 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
34168 newline.
34169
67a67b95
UD
341702010-10-06 Ulrich Drepper <drepper@gmail.com>
34171
34172 * string/bug-strstr1.c: New file.
34173 * string/Makefile: Add rules to build and run bug-strstr1.
34174
5fb308bc
EB
341752010-10-05 Eric Blake <eblake@redhat.com>
34176
34177 [BZ #12092]
34178 * string/str-two-way.h (two_way_long_needle): Always clear memory
34179 when skipping input due to the shift table.
34180
45db99c7
UD
341812010-10-03 Ulrich Drepper <drepper@gmail.com>
34182
3b111893
UD
34183 [BZ #12005]
34184 * malloc/mcheck.c: Handle large requests.
34185
45db99c7
UD
34186 [BZ #12077]
34187 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
34188 for strncmp and strncasecmp.
34189 * string/stratcliff.c: Add tests for strcmp and strncmp.
34190 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
34191
cf7a1eb8
NI
341922010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34193
34194 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
34195 __set_fpscr.
34196
6484ba5e
AJ
341972010-09-30 Andreas Jaeger <aj@suse.de>
34198
34199 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
34200 (CGROUP_SUPER_MAGIC): Define.
34201 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34202 Handle btrfs and cgroup file systems.
34203 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
34204 Likewise.
34205
91c42559
LM
342062010-09-27 Luis Machado <luisgpm@br.ibm.com>
34207
34208 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
34209 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
34210
87a97932
AK
342112010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34212
34213 [BZ #12067]
34214 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
34215 trying to locate the ELF header.
34216
c21cc9bc
AS
342172010-09-27 Andreas Schwab <schwab@redhat.com>
34218
34219 [BZ #11611]
34220 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
34221 Mask out sign-bit copies when constructing f_fsid.
34222
315970f6
PB
342232010-09-24 Petr Baudis <pasky@suse.cz>
34224
34225 * debug/stack_chk_fail_local.c: Add missing licence exception.
34226 * debug/warning-nop.c: Likewise.
34227
1ac7a2c7
JM
342282010-09-15 Joseph Myers <joseph@codesourcery.com>
34229
34230 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
34231 implementing getdents64 using getdents syscall, set d_type if
34232 __ASSUME_GETDENTS32_D_TYPE.
34233
56801c50
AS
342342010-09-16 Andreas Schwab <schwab@redhat.com>
34235
34236 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
34237 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
34238
dda51327
UD
342392010-09-21 Ulrich Drepper <drepper@redhat.com>
34240
34241 [BZ #12037]
34242 * posix/unistd.h: Undo change of feature selection for ftruncate from
34243 2010-01-11.
34244
8ffcee4a
UD
342452010-09-20 Ulrich Drepper <drepper@redhat.com>
34246
a545ecd9 34247 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
34248 detection.
34249
e24f0a8b
AS
342502010-09-20 Andreas Schwab <schwab@redhat.com>
34251
34252 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
34253 fanotify_mark.
34254 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34255
7291c56f
AS
342562010-09-14 Andreas Schwab <schwab@redhat.com>
34257
34258 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
34259 variables after CHECK_SP call.
34260 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
34261
bc5fb037
AS
342622010-09-13 Andreas Schwab <schwab@redhat.com>
34263 Ulrich Drepper <drepper@redhat.com>
34264
34265 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
34266 re-relocationg ld.so.
34267 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
34268 _dl_init_paths call.
34269 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
34270 here anymore.
34271
e66e7419
UD
342722010-09-14 Ulrich Drepper <drepper@redhat.com>
34273
34274 * resolv/res_init.c (__res_vinit): Count the default server we added.
34275
c044aa75
CLT
342762010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
34277 Ulrich Drepper <drepper@redhat.com>
34278
34279 [BZ #11968]
34280 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34281 (____longjmp_chk): Use %ebx for saving value across system call.
34282 Add unwind info.
34283
32cf4069
AS
342842010-09-06 Andreas Schwab <schwab@redhat.com>
34285
34286 * manual/Makefile: Don't mix pattern rules with normal rules.
34287
817328ee
AS
342882010-09-05 Andreas Schwab <schwab@linux-m68k.org>
34289
34290 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
34291 operation.
34292 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
34293 * libio/iofopncook.c (_IO_cookie_init): Likewise.
34294 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
34295 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
34296 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34297 Likewise.
34298
29fddf61
UD
342992010-09-04 Ulrich Drepper <drepper@redhat.com>
34300
34301 [BZ #11979]
34302 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
34303 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
34304
0959ffc9
UD
343052010-09-02 Ulrich Drepper <drepper@redhat.com>
34306
34307 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
34308 * sysdeps/x86_64/addmul_1.S: Likewise.
34309 * sysdeps/x86_64/lshift.S: Likewise.
34310 * sysdeps/x86_64/mul_1.S: Likewise.
34311 * sysdeps/x86_64/rshift.S: Likewise.
34312 * sysdeps/x86_64/sub_n.S: Likewise.
34313 * sysdeps/x86_64/submul_1.S: Likewise.
34314
ece29840
ST
343152010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
34316
0959ffc9
UD
34317 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
34318 Define __sched_param instead of SCHED_* and sched_param when
ece29840 34319 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 34320 * bits/sched.h [__need_schedparam]
ece29840 34321 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
34322 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
34323 (__defined_schedparam): Define to 1.
ece29840
ST
34324 (__sched_param): New structure, identical to sched_param.
34325 (__need_schedparam): Undefine.
34326
e53a31fe
MF
343272010-08-31 Mike Frysinger <vapier@gentoo.org>
34328
fdc0c10d
MF
34329 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
34330 (epoll_create1): Declare.
34331
e53a31fe
MF
34332 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
34333
a726d796
AS
343342010-08-31 Andreas Schwab <schwab@redhat.com>
34335
34336 [BZ #7066]
34337 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
34338 shifting retval into place.
34339
2f3e3dc7
UD
343402010-09-01 Ulrich Drepper <drepper@redhat.com>
34341
f2933da9
UD
34342 * nis/rpcsvc/nis.h: Update copyright notice.
34343 * nis/rpcsvc/nis.x: Likewise.
34344 * nis/rpcsvc/nis_callback.h: Likewise.
34345 * nis/rpcsvc/nis_callback.x: Likewise.
34346 * nis/rpcsvc/nis_object.x: Likewise.
34347 * nis/rpcsvc/nis_tags.h: Likewise.
34348 * nis/rpcsvc/yp.h: Likewise.
34349 * nis/rpcsvc/yp.x: Likewise.
34350 * nis/rpcsvc/ypupd.h: Likewise.
34351 * nis/yp_xdr.c: Likewise.
34352 * nis/ypupdate_xdr.c: Likewise.
34353
2f3e3dc7
UD
34354 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
34355 mainly the body of pmap_getport. Add parameters to specify timeouts.
34356 (pmap_getport): Use __libc_rpc_getport.
34357 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
34358 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
34359 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
34360
f3dcc2f9
AS
343612010-08-31 Andreas Schwab <schwab@linux-m68k.org>
34362
34363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
34364 fanotify_mark.
34365
6d34eb5b
RM
343662010-08-27 Roland McGrath <roland@redhat.com>
34367
34368 * sysdeps/i386/i686/multiarch/Makefile
34369 (CFLAGS-varshift.c): New variable.
34370
9ea3de11
UD
343712010-08-27 Ulrich Drepper <drepper@redhat.com>
34372
c96d23fc
UD
34373 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
34374 * sysdeps/i386/i686/multiarch/varshift.c: New file.
34375
9ea3de11
UD
34376 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
34377
34378 * sysdeps/x86_64/strlen.S: Minimal code improvement.
34379
623aac7f
L
343802010-08-26 H.J. Lu <hongjiu.lu@intel.com>
34381
34382 * sysdeps/x86_64/strlen.S: Unroll the loop.
34383 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34384 strlen-sse2 strlen-sse2-bsf.
34385 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
34386 __strlen_no_bsf if bit_Slow_BSF is set.
34387 (__strlen_sse42): Removed.
34388 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
34389 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
34390
8b2b7715
RM
343912010-08-25 Roland McGrath <roland@redhat.com>
34392
34393 * sysdeps/x86_64/multiarch/varshift.S: File removed.
34394 * sysdeps/x86_64/multiarch/varshift.c: New file.
34395 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
34396 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
34397 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
34398 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34399
e73015f2
L
344002010-08-25 H.J. Lu <hongjiu.lu@intel.com>
34401
34402 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34403 strlen-sse2 strlen-sse2-bsf.
34404 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
34405 __strlen_sse2_bsf if bit_Slow_BSF is unset.
34406 (__strlen_sse2): Removed.
34407 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
34408 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
34409 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
34410 bit_Slow_BSF for Atom.
34411 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
34412 (index_Slow_BSF): Define.
34413 (HAS_SLOW_BSF): Define.
34414
df24a73e
UD
344152010-08-25 Ulrich Drepper <drepper@redhat.com>
34416
34417 [BZ #10851]
34418 * resolv/res_init.c (__res_vinit): When no server address at all
34419 is given default to loopback.
34420
f2ac4868
RM
344212010-08-24 Roland McGrath <roland@redhat.com>
34422
09055553
RM
34423 * configure.in: Remove config-name.h generation.
34424 * configure: Regenerated.
34425 * config-name.in: File removed.
34426 * scripts/config-uname.sh: New file.
34427 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
34428 ($(objdir)config-name.h): New target.
34429
f2ac4868
RM
34430 * sunrpc/rpc_parse.h: Avoid nested comment.
34431
73f27d5e
RH
344322010-08-24 Richard Henderson <rth@redhat.com>
34433 Ulrich Drepper <drepper@redhat.com>
34434 H.J. Lu <hongjiu.lu@intel.com>
34435
34436 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
34437 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
34438 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
34439 Replace _mm_srli_si128 with __m128i_shift_right. Replace
34440 _mm_alignr_epi8 with _mm_loadu_si128.
34441 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
34442 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
34443 (__m128i_shift_right): Removed.
34444 * sysdeps/i386/i686/multiarch/varshift.h: New file.
34445 * sysdeps/i386/i686/multiarch/varshift.S: New file.
34446 * sysdeps/x86_64/multiarch/varshift.h: New file.
34447 * sysdeps/x86_64/multiarch/varshift.S: New file.
34448
84b9230c
MF
344492010-08-21 Mike Frysinger <vapier@gentoo.org>
34450
34451 * configure.in: Move assembler checks to before sysdep dir checking.
34452
9bbd0ddc
PB
344532010-08-20 Petr Baudis <pasky@suse.cz>
34454
34455 * LICENSES: Sync the sunrpc license.
34456
9da4bb31
UD
344572010-08-19 Ulrich Drepper <drepper@redhat.com>
34458
a7ab6ec8
UD
34459 * sunrpc/auth_des.c: Update copyright notice once again.
34460 * sunrpc/auth_none.c: Likewise.
34461 * sunrpc/auth_unix.c: Likewise.
34462 * sunrpc/authdes_prot.c: Likewise.
34463 * sunrpc/authuxprot.c: Likewise.
34464 * sunrpc/bindrsvprt.c: Likewise.
34465 * sunrpc/clnt_gen.c: Likewise.
34466 * sunrpc/clnt_perr.c: Likewise.
34467 * sunrpc/clnt_raw.c: Likewise.
34468 * sunrpc/clnt_simp.c: Likewise.
34469 * sunrpc/clnt_tcp.c: Likewise.
34470 * sunrpc/clnt_udp.c: Likewise.
34471 * sunrpc/clnt_unix.c: Likewise.
34472 * sunrpc/des_crypt.c: Likewise.
34473 * sunrpc/des_soft.c: Likewise.
34474 * sunrpc/get_myaddr.c: Likewise.
34475 * sunrpc/getrpcport.c: Likewise.
34476 * sunrpc/key_call.c: Likewise.
34477 * sunrpc/key_prot.c: Likewise.
34478 * sunrpc/openchild.c: Likewise.
34479 * sunrpc/pm_getmaps.c: Likewise.
34480 * sunrpc/pm_getport.c: Likewise.
34481 * sunrpc/pmap_clnt.c: Likewise.
34482 * sunrpc/pmap_prot.c: Likewise.
34483 * sunrpc/pmap_prot2.c: Likewise.
34484 * sunrpc/pmap_rmt.c: Likewise.
34485 * sunrpc/rpc/auth.h: Likewise.
34486 * sunrpc/rpc/auth_unix.h: Likewise.
34487 * sunrpc/rpc/clnt.h: Likewise.
34488 * sunrpc/rpc/des_crypt.h: Likewise.
34489 * sunrpc/rpc/key_prot.h: Likewise.
34490 * sunrpc/rpc/netdb.h: Likewise.
34491 * sunrpc/rpc/pmap_clnt.h: Likewise.
34492 * sunrpc/rpc/pmap_prot.h: Likewise.
34493 * sunrpc/rpc/pmap_rmt.h: Likewise.
34494 * sunrpc/rpc/rpc.h: Likewise.
34495 * sunrpc/rpc/rpc_des.h: Likewise.
34496 * sunrpc/rpc/rpc_msg.h: Likewise.
34497 * sunrpc/rpc/svc.h: Likewise.
34498 * sunrpc/rpc/svc_auth.h: Likewise.
34499 * sunrpc/rpc/types.h: Likewise.
34500 * sunrpc/rpc/xdr.h: Likewise.
34501 * sunrpc/rpc_clntout.c: Likewise.
34502 * sunrpc/rpc_cmsg.c: Likewise.
34503 * sunrpc/rpc_common.c: Likewise.
34504 * sunrpc/rpc_cout.c: Likewise.
34505 * sunrpc/rpc_dtable.c: Likewise.
34506 * sunrpc/rpc_hout.c: Likewise.
34507 * sunrpc/rpc_main.c: Likewise.
34508 * sunrpc/rpc_parse.c: Likewise.
34509 * sunrpc/rpc_parse.h: Likewise.
34510 * sunrpc/rpc_prot.c: Likewise.
34511 * sunrpc/rpc_sample.c: Likewise.
34512 * sunrpc/rpc_scan.c: Likewise.
34513 * sunrpc/rpc_scan.h: Likewise.
34514 * sunrpc/rpc_svcout.c: Likewise.
34515 * sunrpc/rpc_tblout.c: Likewise.
34516 * sunrpc/rpc_util.c: Likewise.
34517 * sunrpc/rpc_util.h: Likewise.
34518 * sunrpc/rpcinfo.c: Likewise.
34519 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
34520 * sunrpc/rpcsvc/key_prot.x: Likewise.
34521 * sunrpc/rpcsvc/klm_prot.x: Likewise.
34522 * sunrpc/rpcsvc/mount.x: Likewise.
34523 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
34524 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
34525 * sunrpc/rpcsvc/rex.x: Likewise.
34526 * sunrpc/rpcsvc/rstat.x: Likewise.
34527 * sunrpc/rpcsvc/rusers.x: Likewise.
34528 * sunrpc/rpcsvc/sm_inter.x: Likewise.
34529 * sunrpc/rpcsvc/spray.x: Likewise.
34530 * sunrpc/rpcsvc/yppasswd.x: Likewise.
34531 * sunrpc/rtime.c: Likewise.
34532 * sunrpc/svc.c: Likewise.
34533 * sunrpc/svc_auth.c: Likewise.
34534 * sunrpc/svc_authux.c: Likewise.
34535 * sunrpc/svc_raw.c: Likewise.
34536 * sunrpc/svc_run.c: Likewise.
34537 * sunrpc/svc_simple.c: Likewise.
34538 * sunrpc/svc_tcp.c: Likewise.
34539 * sunrpc/svc_udp.c: Likewise.
34540 * sunrpc/svc_unix.c: Likewise.
34541 * sunrpc/svcauth_des.c: Likewise.
34542 * sunrpc/xcrypt.c: Likewise.
34543 * sunrpc/xdr.c: Likewise.
34544 * sunrpc/xdr_array.c: Likewise.
34545 * sunrpc/xdr_float.c: Likewise.
34546 * sunrpc/xdr_mem.c: Likewise.
34547 * sunrpc/xdr_rec.c: Likewise.
34548 * sunrpc/xdr_ref.c: Likewise.
34549 * sunrpc/xdr_sizeof.c: Likewise.
34550 * sunrpc/xdr_stdio.c: Likewise.
34551
9da4bb31
UD
34552 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
34553 handling.
34554
bdaa77bc
AS
345552010-08-19 Andreas Schwab <schwab@redhat.com>
34556
34557 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
34558
fe2f79db
LM
345592010-08-19 Luis Machado <luisgpm@br.ibm.com>
34560
34561 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
34562 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
34563 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
34564 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
34565 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
34566 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
34567 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
34568 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
34569 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
34570 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
34571 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
34572 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
34573 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
34574 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
34575
b9b42ee0
AB
345762010-07-26 Anton Blanchard <anton@samba.org>
34577
34578 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
34579 * malloc/arena.c (heap_trim): Likewise.
34580
1c06ba31
UD
345812010-08-16 Ulrich Drepper <drepper@redhat.com>
34582
34583 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
34584 here. Not...
34585 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
34586 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
34587
f8392f40
L
345882010-08-12 H.J. Lu <hongjiu.lu@intel.com>
34589
34590 * sysdeps/i386/elf/Makefile: New file.
34591
3162f12e
AS
345922010-08-14 Andreas Schwab <schwab@linux-m68k.org>
34593
34594 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
34595 from fanotify_init.
34596 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
34597 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34598
28c90b2c
UD
345992010-08-15 Ulrich Drepper <drepper@redhat.com>
34600
34601 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
34602 of strncasecmp_l.
1feccb6c 34603 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 34604
ca6bb004
UD
346052010-08-14 Ulrich Drepper <drepper@redhat.com>
34606
e9f82e0d
UD
34607 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34608 strncase_l-nonascii.
34609 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34610 Add strncase_l-ssse3.
34611 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
34612 * sysdeps/x86_64/strcmp.S: Likewise.
34613 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
34614 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
34615 * sysdeps/x86_64/strncase.S: New file.
34616 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
34617 * sysdeps/x86_64/strncase_l.S: New file.
34618 * string/Makefile (strop-tests): Add strncasecmp.
34619 * string/test-strncasecmp.c: New file.
34620
34621 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
34622 warning.
34623
ca6bb004
UD
34624 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
34625 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
34626
052fa7b3
AS
346272010-08-14 Andreas Schwab <schwab@linux-m68k.org>
34628
34629 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
34630
962dba78
UD
346312010-08-12 Ulrich Drepper <drepper@redhat.com>
34632
34633 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
34634 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
34635 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
34636
bebff237
AM
346372010-05-01 Alan Modra <amodra@gmail.com>
34638
34639 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
34640 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
34641 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
34642 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
34643 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
34644 tidying. Don't tail-call __sigjmp_save for static lib.
34645 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
34646 save location.
34647 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
34648 (CALL_MCOUNT): Add eh info, and nop after bl.
34649 (TAIL_CALL_SYSCALL_ERROR): New macro.
34650 (PSEUDO_RET): Use it.
34651 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
34652 Correct save location of integer regs and cr.
34653 (_dl_profile_resolve): Correct cr save location. Delete nops
34654 after bl when SHARED. Reduce cfi size a little by better
34655 placement of cfi directives.
34656 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
34657 make a stack frame. Instead use parm save area as a temp.
34658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
34659 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
34660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
34661 Don't make a stack frame for parent, use parm save area.
34662 Increase child stack frame to 112 bytes. Don't save unused reg,
34663 and adjust reg usage. Set up cfi on error recovery and
34664 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
34665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34666 (__makecontext): Add dummy nop after jump to exit.
34667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
34668 Use correct parm save area and cr save, reduce stack frame.
34669 Correct cfi for possible PSEUDO_RET frame setup.
34670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
34671 Branch to local label emitted by PSEUDO_RET rather than
34672 __syscall_error.
34673
02637374
AS
346742010-08-12 Andreas Schwab <schwab@redhat.com>
34675
34676 [BZ #11904]
34677 * locale/programs/locale.c (print_assignment): New function.
34678 (show_locale_vars): Use it.
34679
c3e2f19b
UD
346802010-08-11 Ulrich Drepper <drepper@redhat.com>
34681
3cdaa6ad
UD
34682 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
34683 field.
34684 (struct statfs64): Likewise.
34685 (_STATFS_F_FLAGS): Define.
34686 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
34687 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34688 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
34689 (ST_VALID): Define locally.
34690 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
34691 __statvfs_getflags, use the provided value.
34692 * sysdeps/unix/sysv/linux/kernel-features.h: Define
34693 __ASSUME_STATFS_F_FLAGS.
34694
754f7da3
UD
34695 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
34696
10b3bedc
UD
34697 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
34698 Add sys/fanotify.h.
34699 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
34700 fanotify_mask for GLIBC_2.13.
34701 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
34702 fanotify_init and fanotify_mark.
34703 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34704 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
34705
c08fb0d7
UD
34706 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
34707 Add prlimit.
34708 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
34709 prlimit64 for GLIBC_2.13.
34710 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
34711 prlimit64.
34712 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
34713 syscall.
34714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
34715 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34716 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
34717 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
34718 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
34719 add prlimit alias.
34720 * sysdeps/unix/sysv/linux/prlimit.c: New file.
34721
15bac72b
UD
34722 [BZ #11903]
34723 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
34724 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
34725
c3e2f19b
UD
34726 * nss/Makefile: Add rules to build and run tst-nss-test1.
34727 * shlib-versions: Add entry for libnss_test1.
34728 * nss/nss_test1.c: New file.
34729 * nss/tst-nss-test1.c: New file.
34730
34731 * nss/nsswitch.c (__nss_database_custom): Define new variable.
34732 (__nss_configure_lookup): Set appropriate entry in
34733 __nss_configure_lookup to true.
34734 * nss/nsswitch.h: Define enum with indeces of databases in
34735 databases and __nss_database_custom arrays. Declare
34736 __nss_database_custom.
34737 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
34738 to avoid using nscd when custom rules are installed.
34739 * nss/getXXbyYY_r.c: Likewise.
34740 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
34741
34742 * nss/nss_files/files-parse.c: Whitespace fixes.
34743
f15ce4d8
UD
347442010-08-09 Ulrich Drepper <drepper@redhat.com>
34745
34746 [BZ #11883]
34747 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
34748 * posix/fnmatch_loop.c: Likewise.
34749
d22e4cc9
AK
347502010-07-17 Andi Kleen <ak@linux.intel.com>
34751
34752 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
34753 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
34754 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
34755 * Versions.def [GLIBC_2.13]: Add.
34756
805bc17d
UD
347572010-08-06 Ulrich Drepper <drepper@redhat.com>
34758
34759 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34760 Also fail if tpwd after pwuid call is NULL.
34761
5a42321d
ST
347622010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
34763
34764 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
34765 when converting to ms.
34766
fd3ebeda
ST
347672010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34768
34769 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
34770 EOPNOTSUPP errors with ENOTTY.
34771 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
34772 EOPNOTSUPP errors with ENOTTY.
34773
73507d3a
UD
347742010-07-31 Ulrich Drepper <drepper@redhat.com>
34775
34776 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34777 Add strcasecmp_l-ssse3.
34778 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
34779 strcasecmp.
34780 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
34781 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
34782 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
34783
fe36dd02
UD
347842010-07-30 Ulrich Drepper <drepper@redhat.com>
34785
66f6765a
UD
34786 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
34787
42e08a54
UD
34788 * string/Makefile (strop-tests): Add strcasecmp.
34789 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34790 strcasecmp_l-nonascii.
34791 (gen-as-const-headers): Add locale-defines.sym.
34792 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
34793 * sysdeps/x86_64/strcasecmp.S: New file.
34794 * sysdeps/x86_64/strcasecmp_l.S: New file.
34795 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
34796 * sysdeps/x86_64/locale-defines.sym: New file.
34797 * string/test-strcasecmp.c: New file.
34798
fe36dd02
UD
34799 * string/test-strcasestr.c: Test both ends of the range of characters.
34800 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
34801
48cbc0d6
RM
348022010-07-29 Roland McGrath <roland@redhat.com>
34803
76e6d6bc 34804 [BZ #11856]
48cbc0d6
RM
34805 * manual/locale.texi (Yes-or-No Questions): Fix example code.
34806
880113d9
UD
348072010-07-27 Ulrich Drepper <drepper@redhat.com>
34808
34809 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
34810 for ld.so.
34811
deb9cabb
AS
348122010-07-27 Andreas Schwab <schwab@redhat.com>
34813
34814 * manual/memory.texi (Malloc Tunable Parameters): Document
34815 M_PERTURB.
34816
1c7570ff
RM
348172010-07-26 Roland McGrath <roland@redhat.com>
34818
34819 [BZ #11840]
34820 * configure.in (-fgnu89-inline check): Set and substitute
34821 gnu89_inline, not libc_cv_gnu89_inline.
34822 * configure: Regenerated.
34823 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
34824
24fb0f88
UD
348252010-07-26 Ulrich Drepper <drepper@redhat.com>
34826
34827 * string/test-strnlen.c: New file.
34828 * string/Makefile (strop-tests): Add strnlen.
34829 * string/tester.c (test_strnlen): Add a few more test cases.
34830 * string/tst-strlen.c: Better error reporting.
34831
34832 * sysdeps/x86_64/strnlen.S: New file.
34833
8e96b93a
UD
348342010-07-24 Ulrich Drepper <drepper@redhat.com>
34835
34836 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
34837 lower-latency instructions.
34838
dbc676d4
UD
348392010-07-23 Ulrich Drepper <drepper@redhat.com>
34840
34841 * string/test-strcasestr.c: New file.
34842 * string/test-strstr.c: New file.
34843 * string/Makefile (strop-tests): Add strstr and strcasestr.
34844 * string/str-two-way.h: Don't undefine MAX.
34845 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
34846
f6a31e0e
AS
348472010-07-21 Andreas Schwab <schwab@redhat.com>
34848
34849 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34850 strcasestr-nonascii.
34851 (CFLAGS-strcasestr-nonascii.c): Define.
34852 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
34853 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
34854 Remove unused attribute.
34855
5dbc3b6c
RM
348562010-07-20 Roland McGrath <roland@redhat.com>
34857
34858 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
34859 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
34860 ld.so.cache was broken. With it, there is no way to disable dsocaps
34861 like LD_HWCAP_MASK can disable hwcaps.
34862
23d101d8
EPM
348632010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
34864
34865 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
34866
cc9f2e47
UD
348672010-07-16 Ulrich Drepper <drepper@redhat.com>
34868
34869 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
34870 call in strcasestr.
34871 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
34872 __strcasestr_sse42_nonascii.
34873 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
34874 strcasestr-nonascii.c.
34875 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
34876
77c1b069
LM
348772010-06-15 Luis Machado <luisgpm@br.ibm.com>
34878
34879 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
34880 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
34881 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
34882 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
34883
440566c3
UD
348842010-07-09 Ulrich Drepper <drepper@redhat.com>
34885
34886 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
34887 fcntl.
34888
5be9d05d
AS
348892010-07-06 Andreas Schwab <schwab@redhat.com>
34890
c30b7ee2 34891 [BZ #11577]
5be9d05d
AS
34892 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
34893 dl_signal_cerror.
34894
8a492a67
UD
348952010-07-06 Ulrich Drepper <drepper@redhat.com>
34896
34897 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
34898 _PC_PIPE_BUF using F_GETPIPE_SZ.
34899
713df3d5
RM
349002010-07-05 Roland McGrath <roland@redhat.com>
34901
34902 * manual/arith.texi (Rounding Functions): Fix rint description
34903 implicit in round description.
34904
702e8f14
UD
349052010-07-02 Ulrich Drepper <drepper@redhat.com>
34906
34907 * elf/Makefile: Fix linking for a few tests to make recent linker
34908 happy.
34909
52ed8be9
AS
349102010-06-30 Andreas Schwab <schwab@redhat.com>
34911
34912 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34913 $(common-objpfx)libc_nonshared.a.
34914
f47c9a11
LM
349152010-06-21 Luis Machado <luisgpm@br.ibm.com>
34916
34917 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
34918 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
34919 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34920 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34921 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
34922 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
34923 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34924 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
34926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
34927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
34928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
34930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
34932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
34933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
34934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
34935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
34937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
34939 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
34940 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
34941 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
34942 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
34943 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
34944 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
34945 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
34946 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
34947 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
34948 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
34949 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
34950 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
34951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
34952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
34953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
34954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
34955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
34956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
34957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
34958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
34959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
34960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
34961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
34962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
34963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
34964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
34965
6fb8cbcb
L
349662010-06-25 H.J. Lu <hongjiu.lu@intel.com>
34967
34968 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
34969 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
34970 * string/memmove.c (memmove): Renamed to ...
34971 (MEMMOVE): ...this. Default to memmove.
34972 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
34973 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
34974 (END_CHK): Define.
34975 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34976 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
34977 mempcpy-ssse3-back memmove-ssse3-back.
34978 * sysdeps/x86_64/multiarch/bcopy.S: New file .
34979 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
34980 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
34981 * sysdeps/x86_64/multiarch/memcpy.S: New file.
34982 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
34983 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
34984 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
34985 * sysdeps/x86_64/multiarch/memmove.c: New file.
34986 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
34987 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
34988 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
34989 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
34990 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
34991 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
34992 Define.
34993 (index_Fast_Copy_Backward): Define.
34994 (HAS_ARCH_FEATURE): Define.
34995 (HAS_FAST_REP_STRING): Define.
34996 (HAS_FAST_COPY_BACKWARD): Define.
34997
4e733bac 349982010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
34999
35000 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35001 Restore proper fallback handling.
35002
63c4ed22
UD
350032010-06-19 Ulrich Drepper <drepper@redhat.com>
35004
ac2b484c
UD
35005 [BZ #11701]
35006 * posix/group_member.c (__group_member): Correct checking loop.
35007
63c4ed22
UD
35008 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
35009 OOM in getpwuid_r correctly. Return error number when the caller
35010 should return, otherwise -1.
35011 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
35012 call returning > 0 value.
35013 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
35014
765ade4b
AS
350152010-06-07 Andreas Schwab <schwab@redhat.com>
35016
35017 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
35018 libc_nonshared.a from targets in modules-names.
35019
80da2e09
KS
350202010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
35021
35022 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
35023 requires it.
35024
158db122
LM
350252010-06-10 Luis Machado <luisgpm@br.ibm.com>
35026
35027 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
35028 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
35029 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
35030 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
35031
caa78cf8
AS
350322010-06-02 Andreas Schwab <schwab@redhat.com>
35033
35034 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
35035
b2ef2c01
UD
350362010-06-14 Ulrich Drepper <drepper@redhat.com>
35037
35038 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
35039 and F_GETPIPE_SZ.
35040 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35041 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35042 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35043 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35044 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35045 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
35046
fbd643b6
RM
350472010-06-14 Roland McGrath <roland@redhat.com>
35048
35049 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
35050
f32f2869
JJ
350512010-06-07 Jakub Jelinek <jakub@redhat.com>
35052
35053 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
35054 __REDIRECT followed by __THROW.
35055 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
35056 * posix/getopt.h (getopt): Likewise.
35057
2a50c078
EPM
350582010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
35059
35060 * hurd/lookup-at.c (__file_name_lookup_at): Accept
35061 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
35062 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
35063 in AT_FLAGS.
35064 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
35065 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
35066
eb5ad2eb
LM
350672010-05-28 Luis Machado <luisgpm@br.ibm.com>
35068
35069 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
35070
3c88fe1e
L
350712010-05-26 H.J. Lu <hongjiu.lu@intel.com>
35072
35073 [BZ #11640]
35074 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35075 Properly check family and model.
35076
d2f73151
TY
350772010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
35078
35079 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
35080
ebd2e13d
LM
350812010-05-24 Luis Machado <luisgpm@br.ibm.com>
35082
35083 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
35084
b32b8b45
UD
350852010-05-21 Ulrich Drepper <drepper@redhat.com>
35086
35087 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
35088 symbol reference.
35089
9acbe24d
AS
350902010-05-19 Andreas Schwab <schwab@redhat.com>
35091
35092 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
35093 symbol reference.
35094
f0ccf6ea
AS
350952010-05-21 Andreas Schwab <schwab@redhat.com>
35096
3d04ff3a
AS
35097 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
35098 and internal_recvmmsg.
35099 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
35100 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
35101 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
35102 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
35103
f0ccf6ea
AS
35104 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
35105 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35106 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35107
5b08ac57
AS
351082010-05-20 Andreas Schwab <schwab@redhat.com>
35109
35110 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
35111
4828935d
LM
351122010-05-17 Luis Machado <luisgpm@br.ibm.com>
35113
35114 POWER7 optimizations.
35115 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
35116 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
35117
373d545e
UD
351182010-05-19 Ulrich Drepper <drepper@redhat.com>
35119
35120 * version.h: Update for 2.13 development version.
35121
21a2b1ae
AS
351222010-05-12 Andrew Stubbs <ams@codesourcery.com>
35123
35124 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
35125 exceptions. Return 0.
35126
3f7dcb2b
RM
351272010-05-07 Roland McGrath <roland@redhat.com>
35128
35129 * elf/ldconfig.c (main): Add a const.
35130
5f24d53a 351312010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 35132
a160f8d8
UD
35133 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
35134 (args_options): Add no-idn option.
35135 (ahosts_keys_int): Add idn_flags to ai_flags.
35136 (parse_option): Handle 'i' option to clear idn_flags.
35137
5f24d53a
UD
35138 * malloc/malloc.c (_int_free): Possible race in the most recently
35139 added check. Only act on the data if no current modification
35140 happened.
265bb1ce
UD
35141
35142See ChangeLog.17 for earlier changes.
This page took 4.915 seconds and 5 git commands to generate.